"use strict";this.default_b=this.default_b||{};(function(__){var window=this;
try{
/*

 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 (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.
*/
/*
 Copyright The Closure Library Authors.
 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 The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
/*

 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 {!_ZonePrivate} api
 @param {?} target
 @param {string} targetName
 @param {string} method
 @param {!Array<string>} callbacks
 @return {void}
*/
/*

 SPDX-License-Identifier: Apache-2.0
*/
var f,aa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,aa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.reportErrorToServer=!0},aaa=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");aa.call(this,c+a[d])},baa=function(a){ba.setTimeout(function(){throw a;},0)},ca=function(){var a=ba.navigator;return a&&(a=a.userAgent)?a:""},caa=function(a){return da?fa?fa.brands.some(function(b){return(b=
b.brand)&&ha(b,a)}):!1:!1},ia=function(a){return ha(ca(),a)},ka=function(){return da?!!fa&&0<fa.brands.length:!1},daa=function(){return ka()?!1:ia("Opera")},eaa=function(){return ka()?!1:ia("Trident")||ia("MSIE")},faa=function(){return ia("Firefox")||ia("FxiOS")},haa=function(){return ia("Safari")&&!(gaa()||(ka()?0:ia("Coast"))||daa()||(ka()?0:ia("Edge"))||(ka()?caa("Microsoft Edge"):ia("Edg/"))||(ka()?caa("Opera"):ia("OPR"))||faa()||ia("Silk")||ia("Android"))},gaa=function(){return ka()?caa("Chromium"):
(ia("Chrome")||ia("CriOS"))&&!(ka()?0:ia("Edge"))||ia("Silk")},iaa=function(){return ia("Android")&&!(gaa()||faa()||daa()||ia("Silk"))},jaa=function(){var a=ca();if(eaa()){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),"7.0"==c[1])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},kaa=function(){if(ka()){var a=
fa.brands.find(function(b){return"Internet Explorer"===b.brand});if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=jaa();if(""===a)return NaN;a=a.split(".")}return 0===a.length?NaN:Number(a[0])},la=function(){return da?!!fa&&!!fa.platform:!1},laa=function(){return la()?"Android"===fa.platform:ia("Android")},maa=function(){return ia("iPhone")&&!ia("iPod")&&!ia("iPad")},ma=function(){return maa()||ia("iPad")||ia("iPod")},naa=function(){return la()?"macOS"===fa.platform:ia("Macintosh")},na=
function(a){return a[a.length-1]},oaa=function(a,b){var c=0;oa(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c},paa=function(a,b){for(var c="string"===typeof a?a.split(""):a,d=a.length-1;0<=d;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1},pa=function(a,b){return 0<=qaa(a,b)},raa=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},qa=function(a,b){b=qaa(a,b);var c;(c=0<=b)&&saa(a,b);return c},saa=function(a,b){Array.prototype.splice.call(a,b,1)},
ra=function(a,b){a:{for(var c=a.length,d="string"===typeof a?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}0<=b&&saa(a,b)},ta=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},taa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ua(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}},vaa=function(a,b,c,d){return Array.prototype.splice.apply(a,uaa(arguments,
1))},uaa=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},waa=function(a,b,c){b=b||a;var d=function(r){return wa(r)?"o"+xa(r):(typeof r).charAt(0)+r};c=c||d;for(var e=d=0,g={};e<a.length;){var h=a[e++],m=c(h);Object.prototype.hasOwnProperty.call(g,m)||(g[m]=!0,b[d++]=h)}b.length=d},yaa=function(a,b){a.sort(b||xaa)},zaa=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||xaa;yaa(c,function(g,h){return e(g.value,
h.value)||g.index-h.index});for(b=0;b<a.length;b++)a[b]=c[b].value},xaa=function(a,b){return a>b?1:a<b?-1:0},Aaa=function(){for(var a=[],b=0;5>b;b+=1)a.push(b);return a},Baa=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},Eaa=function(a){if(!Caa)return Daa(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)},Gaa=function(a){return Faa[a]||
""},Jaa=function(a){if(!Caa)return Haa(a);Iaa.test(a)&&(a=a.replace(Iaa,Gaa));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},ya=function(a){return Kaa&&null!=a&&a instanceof Uint8Array},Maa=function(){return Laa||(Laa=new Uint8Array(0))},Naa=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},Oaa=function(a){return 0==a.length?Aa():new Ba(a,Ca)},Paa=function(a){if("string"===typeof a)return{buffer:Jaa(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===Ba)return{buffer:Da(a)||Maa(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("I");},Raa=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&
(c=k(Qaa(c,a)),b=c.next().value,a=c.next().value,c=b);Ea=c>>>0;Fa=a>>>0},Saa=function(a,b){return 4294967296*b+(a>>>0)},Taa=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=Saa(a,b);return c?-a:a},Waa=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Uaa?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+6777216*c+6710656*b,c+=8147497*b,b*=2,1E7<=a&&(c+=Math.floor(a/1E7),a%=1E7),1E7<=c&&(b+=Math.floor(c/
1E7),c%=1E7),c=b+Vaa(c)+Vaa(a));return c},Vaa=function(a){a=String(a);return"0000000".slice(a.length)+a},Xaa=function(a){if(16>a.length)Raa(Number(a));else if(Uaa)a=BigInt(a),Ea=Number(a&BigInt(4294967295))>>>0,Fa=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);Fa=Ea=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)),Fa*=1E6,Ea=1E6*Ea+d,4294967296<=Ea&&(Fa+=Ea/4294967296|0,Ea%=4294967296);b&&(b=k(Qaa(Ea,Fa)),a=b.next().value,b=b.next().value,Ea=a,Fa=b)}},Qaa=
function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},Ga=function(a){return Array.prototype.slice.call(a)},Yaa=function(a){var b=Ha(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=Ga(a)),Ia(a,b|1));return a},Zaa=function(a,b){Object.isFrozen(a)&&(a=Ga(a));Ia(a,b);return a},La=function(a){Ka(a,1);return a},Ma=function(a){Ka(a,34);return a},$aa=function(a){Ka(a,32);return a},aba=function(a,b){Ia(b,(a|0)&-99)},bba=function(a,b){Ia(b,(a|34)&-73)},cba=function(a){a=a>>11&1023;return 0===a?536870912:a},Na=function(a){return null!==
a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object},Oa=function(a,b,c){if(null!=a)if("string"===typeof a)a=a?new Ba(a,Ca):Aa();else if(a.constructor!==Ba)if(ya(a))a=c?Oaa(a):a.length?new Ba(new Uint8Array(a),Ca):Aa();else{if(!b)throw Error();a=void 0}return a},dba=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Ha(a);if(d&1)return!0;if(!b||!b.includes(c))return!1;Ia(a,d|1);return!0},Ra=function(a){if(a&2)throw Error();},Ta=function(a,b){if("number"!==typeof b||0>b||b>=
a.length)throw Error();},eba=function(a,b){if("number"!==typeof b||0>b||b>a.length)throw Error();},fba=function(a,b){(b=Ua?b[Ua]:void 0)&&(a[Ua]=Ga(b))},gba=function(a){return~~a},iba=function(a){return hba(a)},hba=function(a){if("number"!==typeof a)throw Error("J`"+typeof a+"`"+a);return a},Va=function(a){if(null!=a&&"number"!==typeof a)throw Error("K`"+typeof a+"`"+a);return a},jba=function(a){if(null==a)return a;if("number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a)return Number(a)},
Ya=function(a){if(null!=a){if("boolean"!==typeof a)throw Error("L`"+Xa(a)+"`"+a);a=!!a}return a},kba=function(a){if(null==a)return a;if("boolean"===typeof a||"number"===typeof a)return!!a},$a=function(a){return a},lba=function(a){return a},bb=function(a){if("number"!==typeof a)throw Error();return a},mba=function(a){return null==a?a:bb(a)},db=function(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}return"number"===typeof a?a:void 0},eb=function(a){if(null!=a&&"number"!==typeof a)throw Error();
return a},gb=function(a){return a},nba=function(a){return a},oba=function(a){return a},hb=function(a){return a},ib=function(a){if("string"!==typeof a)throw Error();return a},pba=function(a){if(null!=a&&"string"!==typeof a)throw Error();return a},qba=function(a){return null==a||"string"===typeof a?a:void 0},sba=function(a,b,c,d){var e=!1;if(null!=a&&"object"===typeof a&&!(e=Array.isArray(a))&&a.messagePrototypeMarker===kb)return a;if(!e)return c?d&2?rba(b):new b:void 0;e=c=Ha(a);0===e&&(e|=d&32);e|=
d&2;e!==c&&Ia(a,e);return new b(a)},rba=function(a){var b=a[tba];if(b)return b;b=new a;Ma(b.internalArray_);return a[tba]=b},uba=function(a){return a},lb=function(a,b,c){return"boolean"===typeof a||"number"===typeof a?!!a:c?!1:void 0},vba=function(a,b,c){b=typeof a;return"number"===b||"string"===b?gba(a):c?0:void 0},mb=function(a,b,c){b=typeof a;a="number"===b||"string"===b?a:c?0:void 0;return"string"===typeof a&&(c=+a,Number.isSafeInteger(c))?c:a},nb=function(a,b,c){return"string"===typeof a?a:c?
"":void 0},xba=function(a,b){wba=b;a=new a(b);wba=void 0;return a},yba=function(a){switch(typeof a){case "number":return 0<a?void 0:[-a,void 0];case "string":return[0,a];case "object":return a}},l=function(a,b,c){null==a&&(a=wba);wba=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-2095105|(b&1023)<<11)}else{if(!Array.isArray(a))throw Error();d=Ha(a);if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error();a:{c=a;var e=c.length;if(e){var g=e-1,h=c[g];if(Na(h)){d|=256;b=(d>>9&1)-1;e=
g-b;1024<=e&&(zba(c,b,h),e=1023);d=d&-2095105|(e&1023)<<11;break a}}b&&(h=(d>>9&1)-1,b=Math.max(b,e-h),1024<b&&(zba(c,h,{}),d|=256,b=1023),d=d&-2095105|(b&1023)<<11)}}Ia(a,d);return a},zba=function(a,b,c){for(var d=1023+b,e=a.length,g=d;g<e;g++){var h=a[g];null!=h&&h!==c&&(c[g-b]=h)}a.length=d+1;a[d]=c},Aba=function(a,b,c,d,e,g){a=sba(a,d,c,g);e&&(a=ob(a));return a},Bba=function(a){return a},Cba=function(a,b){if(a.size!=b.size)return!1;var c=!0;a.forEach(function(d,e){pb(d,b.get(e))||(c=!1)});return c},
Dba=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},Eba=function(a,b){if(null==b)return 0===a.size;if(!Array.isArray(b)||a.size>b.length)return!1;b=Array.prototype.slice.call(b);b.sort(Dba);for(var c=0,d=void 0,e=b.length-1;0<=e;e--){var g=b[e];if(!g||!Array.isArray(g)||2!==g.length)return!1;var h=g[0];if(h!==d){if(!pb(a.get(h),g[1]))return!1;d=h;c++}}return c===a.size},Fba=function(a){return[a,this.get(a)]},Gba=function(a,b){if("string"===typeof b)try{b=
Jaa(b)}catch(c){return!1}return ya(b)&&Naa(a,b)},Hba=function(a,b){if(a.messagePrototypeMarker===kb){var c=a.constructor.repeatedFields_;a=a.internalArray_}else if(!Array.isArray(a))return!1;if(b.messagePrototypeMarker===kb)c=c||b.constructor.repeatedFields_,b=b.internalArray_;else if(!Array.isArray(b))return!1;return pb(a,b,c)},pb=function(a,b,c){if(a===b||null==a&&null==b)return!0;if(a instanceof qb)return Iba(a,b);if(b instanceof qb)return Iba(b,a);if(null==a||null==b)return!1;if(a instanceof Ba)return Jba(a,
b);if(b instanceof Ba)return Jba(b,a);if(ya(a))return Gba(a,b);if(ya(b))return Gba(b,a);var d=typeof a,e=typeof b;if("object"!==d||"object"!==e)return Number.isNaN(a)||Number.isNaN(b)?String(a)===String(b):"string"===d&&"number"===e||"number"===d&&"string"===e?+a===+b:"boolean"===d&&"number"===e||"number"===d&&"boolean"===e?!a===!b:!1;if(a.messagePrototypeMarker===kb||b.messagePrototypeMarker===kb)return Hba(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){var g=a.length,h=
b.length,m=Math.max(g,h);d=((Ha(a)|Ha(b))>>9&1)-1;e=g&&a[g-1];var r=h&&b[h-1];Na(e)||(e=null);Na(r)||(r=null);g=g-d-+!!e;h=h-d-+!!r;for(var v=0;v<m;v++)if(!Kba(v-d,a,e,g,b,r,h,d,c))return!1;if(e)for(var y in e){m=a;v=e;var A=b,G=r,N=c,Q=+y;if(!(!Number.isFinite(Q)||Q<g||Q<h||Kba(Q,m,v,g,A,G,h,d,N)))return!1}if(r)for(var Z in r)if((y=e&&Z in e)||(y=a,m=e,v=b,A=r,G=c,N=+Z,y=!Number.isFinite(N)||N<g||N<h?!0:Kba(N,y,m,g,v,A,h,d,G)),!y)return!1;return!0}if(a.constructor===Object)return pb([a],[b]);throw Error();
},Kba=function(a,b,c,d,e,g,h,m,r){b=Lba(a,b,c,d,m);e=Lba(a,e,g,h,m);return null==e&&dba(b,r,a)||null==b&&dba(e,r,a)?!0:pb(b,e)},Lba=function(a,b,c,d,e){var g;return null!=(g=a<d?b[a+e]:void 0)?g:null==c?void 0:c[a]},Nba=function(a,b){return Mba(b)},Mba=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a&&!Array.isArray(a)){if(ya(a))return Eaa(a);if(a instanceof Ba)return rb(a);if(a instanceof qb)return Oba(a)}}return a},Pba=function(a,
b,c){var d=Ga(a),e=d.length,g=b&256?d[e-1]:void 0;e+=g?-1:0;for(b=b&512?1:0;b<e;b++)d[b]=c(d[b]);if(g){b=d[b]={};for(var h in g)b[h]=c(g[h])}fba(d,a);return d},Rba=function(a,b,c,d,e,g){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&Ha(a)&1?void 0:g&&Ha(a)&2?a:Qba(a,b,c,void 0!==d,e,g);else if(Na(a)){var h={},m;for(m in a)h[m]=Rba(a[m],b,c,d,e,g);a=h}else a=b(a,d);return a}},Qba=function(a,b,c,d,e,g){var h=d||c?Ha(a):0;d=d?!!(h&32):void 0;for(var m=Ga(a),r=0;r<m.length;r++)m[r]=Rba(m[r],b,c,d,
e,g);c&&(c(h,m),fba(m,a));return m},Tba=function(a){return Rba(a,Sba,void 0,void 0,!1,!1)},Sba=function(a){return a.messagePrototypeMarker===kb?a.toJSON():a instanceof qb?Oba(a,Tba):Mba(a)},Uba=function(a){return Qba(a,Sba,void 0,void 0,!1,!1)},Vba=function(a,b,c){c=void 0===c?bba:c;if(null!=a){if(Kaa&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=Ha(a);if(d&2)return a;if(b&&!(d&64)&&(d&32||0===d))return Ia(a,d|34),a;a=Qba(a,Vba,d&4?bba:c,!0,!1,!0);b=Ha(a);b&4&&b&
2&&Object.freeze(a);return a}a.messagePrototypeMarker===kb?(b=a.internalArray_,c=tb(b),a=c&2?a:xba(a.constructor,Wba(b,c,!0))):a instanceof qb&&(b=Ma(Xba(a,Vba)),a=new qb(b,a.valueCtor,a.keyToApi,a.valueToApi));return a}},Wba=function(a,b,c){var d=c||b&2?bba:aba,e=!!(b&32);a=Pba(a,b,function(g){return Vba(g,e,d)});Ka(a,32|(c?2:0));return a},ub=function(a){var b=a.internalArray_,c=tb(b);return c&2?xba(a.constructor,Wba(b,c,!1)):a},ob=function(a){var b=ub(a);if(b===a)return a;b.internalCachedImmutable_=
a;Ka(b.internalArray_,1024);return b},vb=function(a,b,c,d,e){var g=cba(b);if(c>=g||e){e=b;if(b&256)g=a[a.length-1];else{if(null==d)return;g=a[g+((b>>9&1)-1)]={};e|=256}g[c]=d;e&=-1025;e!==b&&Ia(a,e)}else a[c+((b>>9&1)-1)]=d,b&256&&(d=a[a.length-1],c in d&&delete d[c]),b&1024&&Ia(a,b&-1025)},Zba=function(a,b,c,d,e){var g=b&2,h=wb(a,b,c,e);Array.isArray(h)||(h=xb);var m=Ha(h);m&1||La(h);if(g)m&2||Ma(h),d&1||Object.freeze(h);else{g=!(d&2);var r=m&2;d&1||!r?g&&m&32&&!r&&Yba(h,32):(h=La(Ga(h)),vb(a,b,
c,h,e))}return h},zb=function(a,b,c,d,e){a=a.internalArray_;var g=tb(a),h=g&2,m=Zba(a,g,b,e||1,d),r=Ha(m);if(!(r&4)){Object.isFrozen(m)&&(m=La(Ga(m)),vb(a,g,b,m,d));for(var v=0,y=0;v<m.length;v++){var A=c(m[v]);null!=A&&(m[y++]=A)}y<v&&(m.length=y);r|=5;h&&(r|=34);Ia(m,r);r&2&&Object.freeze(m)}if(2===e)return m;!h&&(r&2||Object.isFrozen(m))&&(m=Ga(m),Ka(m,5),vb(a,g,b,m,d));return m},$ba=function(a){return Oa(a,!0,!0)},aca=function(a){return Oa(a,!0,!1)},dca=function(){var a;return null!=(a=bca)?a:
bca=new qb(Ma([]),void 0,void 0,void 0,cca)},eca=function(a,b,c,d,e,g,h){var m=b&2;a:{var r=c,v=b&2;c=!1;if(null==r){if(v){a=dca();break a}r=[]}else if(r.constructor===qb){if(0==(r.arrayState&2)||v){a=r;break a}r=Xba(r)}else Array.isArray(r)?c=!!(Ha(r)&2):r=[];if(v){if(!r.length){a=dca();break a}c||(c=!0,Ma(r))}else if(c){c=!1;v=Ga(r);for(r=0;r<v.length;r++){var y=v[r]=Ga(v[r]);Array.isArray(y[1])&&(y[1]=Ma(y[1]))}r=v}c||(Ha(r)&64?Yba(r,32):32&b&&$aa(r));g=new qb(r,e,g,h);vb(a,b,d,g,!1);a=g}if(null==
a)return a;!m&&e&&(a.callToMutableOnAccess=!0);return a},Ab=function(a,b,c){a=a.internalArray_;var d=tb(a);return eca(a,d,wb(a,d,b),b,void 0,nb,c)},Bb=function(a,b,c,d){a=a.internalArray_;var e=tb(a);return eca(a,e,wb(a,e,b),b,c,d)},Cb=function(a,b,c,d){var e=a.internalArray_,g=tb(e);Ra(g);if(null==c)return vb(e,g,b),a;var h=Ha(c);if(!(h&4)){if(h&2||Object.isFrozen(c))c=Ga(c);for(var m=0;m<c.length;m++)c[m]=d(c[m]);Ia(c,h|5)}vb(e,g,b,c);return a},Db=function(a,b,c,d){var e=a.internalArray_,g=tb(e);
Ra(g);vb(e,g,b,c!==d?c:void 0);return a},Eb=function(a,b,c,d){var e=a.internalArray_,g=tb(e);Ra(g);b=Zba(e,g,b,2);void 0!=d?b.splice(d,0,c):b.push(c);g&1024&&Ia(e,g&-1025);return a},Fb=function(a,b,c,d,e){var g=a.internalArray_,h=tb(g);Ra(h);b=e(a,b,!1,2);eba(b,c);b[c]=d;h&1024&&Ia(g,h&-1025);return a},fca=function(a,b,c){for(var d=0,e=0;e<c.length;e++){var g=c[e];null!=wb(a,b,g)&&(0!==d&&vb(a,b,d),d=g)}return d},gca=function(a,b,c,d,e,g){var h=!!(b&2),m=Zba(a,b,d,1,e);if(m===xb||!(Ha(m)&4)){var r=
m;m=!!(b&2);var v=!!(Ha(r)&2);h=r;!m&&v&&(r=Ga(r));var y=b|(v?2:0);v=v||void 0;for(var A=0,G=0;A<r.length;A++){var N=sba(r[A],c,!1,y);void 0!==N&&(v=v||tb(N.internalArray_)&2,r[G++]=N)}G<A&&(r.length=G);c=r;r=Ha(c);y=r|5;v=v?y&-9:y|8;r!=v&&(c=Zaa(c,v));r=c;h!==r&&vb(a,b,d,r,e);(m&&2!==g||1===g)&&Object.freeze(r);return r}if(3===g)return m;h?2===g&&(g=Ha(m),m=Ga(m),Ia(m,g),vb(a,b,d,m,e)):(h=Object.isFrozen(m),1===g?h||Object.freeze(m):(g=Ha(m),c=g&-35,h&&(m=Ga(m),g=0,vb(a,b,d,m,e)),g!==c&&Ia(m,c)));
return m},Hb=function(a,b,c,d,e,g,h){a=a.internalArray_;var m=tb(a);Ra(m);b=gca(a,m,c,b,g,2);c=null!=d?d:new c;h&&eba(b,e);void 0!=e?b.splice(e,h,c):b.push(c);c.isImmutable()&&Yba(b,8);m&1024&&Ia(a,m&-1025);return c},Ib=function(a,b,c){return Db(a,b,Ya(c),!1)},Kb=function(a,b,c){return Db(a,b,mba(c),0)},Nb=function(a,b,c){return Db(a,b,c,0)},Ob=function(a,b){return null!=a?a:b},hca=function(a,b,c){var d=a.constructor.repeatedFields_,e=cba(tb(c?a.internalArray_:b)),g=!1;if(d){if(!c){b=Ga(b);var h;
if(b.length&&Na(h=b[b.length-1]))for(g=0;g<d.length;g++)if(d[g]>=e){Object.assign(b[b.length-1]={},h);break}g=!0}e=b;c=!c;h=tb(a.internalArray_);a=cba(h);h=(h>>9&1)-1;for(var m,r,v=0;v<d.length;v++)if(r=d[v],r<a){r+=h;var y=e[r];null==y?e[r]=c?xb:La([]):c&&y!==xb&&Yaa(y)}else m||(y=void 0,e.length&&Na(y=e[e.length-1])?m=y:e.push(m={})),y=m[r],null==m[r]?m[r]=c?xb:La([]):c&&y!==xb&&Yaa(y)}d=b.length;if(!d)return b;var A;if(Na(m=b[d-1])){a:{var G=m;e={};c=!1;for(var N in G)a=G[N],Array.isArray(a)&&
a!=a&&(c=!0),null!=a?e[N]=a:c=!0;if(c){for(var Q in e){G=e;break a}G=null}}G!=m&&(A=!0);d--}for(;0<d;d--){m=b[d-1];if(null!=m)break;var Z=!0}if(!A&&!Z)return b;var Y;g?Y=b:Y=Array.prototype.slice.call(b,0,d);b=Y;g&&(b.length=d);G&&b.push(G);return b},nca=function(a){var b=a[ica];if(!b){var c=jca(a),d=c.messageSetReader;b=d?function(e,g){return d(e,g,c)}:function(e,g){for(;kca(g)&&4!=g.nextWireType_;){var h=g.nextField_,m=c[h];if(!m){var r=c.extensions;r&&(r=r[h])&&(m=c[h]=lca(r))}m&&m(g,e,h)||(m=
g,h=m.fieldCursor_,mca(m),m.discardUnknownFields?m=void 0:(r=m.decoder_.getCursor()-h,m.decoder_.cursor_=h,m=m.decoder_.readByteString(r)),h=e,m&&(Ua||(Ua=Symbol()),(r=h[Ua])?r.push(m):h[Ua]=[m]))}};a[ica]=b}return b},oca=function(a){if(a=a.binaryFieldsInitializer)return nca(a)},lca=function(a){var b=oca(a),c=a.readerWriterSelector.$$binaryReaderFn;if(b){var d=jca(a.binaryFieldsInitializer).messageMetadata;return function(e,g,h){return c(e,g,h,d,b)}}return function(e,g,h){return c(e,g,h)}},pca=function(a,
b){var c=a[b];"function"==typeof c&&(c=c(),a[b]=c);(a=Array.isArray(c))&&!(a=Pb in c||Rb in c)&&(a=0<c.length)&&(a=c[0],b=yba(a),null!=b&&b!==a&&(c[0]=b),a=null!=b);return a?c:void 0},qca=function(a,b,c,d){b.messageMetadata=yba(a[0]);var e=1;if(a.length>e&&"number"!==typeof a[e]){var g=a[e++];if(Array.isArray(g))return b.messageSetReader=g[0],b.extensions=g[1],b;b.extensions=g}for(g=0;e<a.length;){g+=a[e++];for(var h=e+1;h<a.length&&"number"!==typeof a[h];)h++;var m=a[e++];h-=e;switch(h){case 0:b[g]=
c(m);break;case 1:(h=pca(a,e))?(e++,b[g]=d(m,h)):b[g]=c(m,a[e++]);break;case 2:h=g;var r=e++;r=pca(a,r);b[h]=d(m,r,a[e++]);break;default:throw Error("U`"+h);}}return b},uca=function(a){var b=a[rca];if(!b){var c=sca(a);b=function(d,e){return tca(d,e,c)};a[rca]=b}return b},vca=function(a){return a.$$binaryWriterFn},wca=function(a,b){var c,d,e=a.$$binaryWriterFn;return function(g,h,m){return e(g,h,m,d||(d=sca(b).messageMetadata),c||(c=uca(b)))}},sca=function(a){var b=a[Rb];if(b)return b;b=qca(a,a[Rb]=
{},vca,wca);Pb in a&&Rb in a&&(a.length=0);return b},xca=function(a,b){var c=a.$$binaryReaderFn;return b?function(d,e,g){return c(d,e,g,b)}:c},yca=function(a,b,c){var d=a.$$binaryReaderFn,e,g;return function(h,m,r){return d(h,m,r,g||(g=jca(b).messageMetadata),e||(e=nca(b)),c)}},jca=function(a){var b=a[Pb];if(b)return b;b=qca(a,a[Pb]={},xca,yca);Pb in a&&Rb in a&&(a.length=0);return b},zca=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){var d=c.binaryFieldsInitializer,e=c.readerWriterSelector.$$binaryWriterFn;
if(d){var g=uca(d),h=sca(d).messageMetadata;c=function(m,r,v){return e(m,r,v,h,g)}}else c=e;return a[b]=c}},tca=function(a,b,c){for(var d=tb(a),e=(d>>9&1)-1,g=a.length,h=g+(d&256?-1:0),m=d&512?1:0;m<h;m++){var r=a[m];if(null!=r){var v=m-e,y=zca(c,v);y&&y(b,r,v)}}if(d&256){d=a[g-1];for(var A in d)e=+A,Number.isNaN(e)||(g=d[A],null!=g&&(h=zca(c,e))&&h(b,g,e))}if(a=Ua?a[Ua]:void 0)for(Aca(b,b.encoder_.end()),c=0;c<a.length;c++)Aca(b,Da(a[c])||Maa())},Sb=function(a,b){return new Bca(a,b)},Tb=function(a,
b,c,d){return new Cca(a,b,c,d)},Ub=function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(b(a[d]));return c},Vb=function(a,b,c){for(var d in c){var e=c[d],g=e.isRepeated?a.getExtension(e):Dca(a,e);if(null!=g){var h=void 0;for(h in e.fieldName)if(e.fieldName.hasOwnProperty(h))break;var m=e.toObjectFn;b[h]=m?e.isRepeated?Ub(g,m):m(g):g}}},Eca=function(a){null!=a&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));return a},Wb=function(a,b){var c=[];a.forEach(b?function(d,e){c.push([e,b(d)])}:
function(d,e){c.push([e,d])});return c},n=function(a){return null===a?void 0:a},Xb=function(a){return null==a?void 0:Array.isArray(a)?a.map(function(b){return rb(b)}):rb(a)},Fca=function(a){a=p(a,2);if(null==a)return"";if("string"===typeof a)return a;if(ya(a))return Eaa(a);if(Array.isArray(a))return Uba(a);if(a instanceof Ba)return rb(a);if(a instanceof q)return a.toJSON();throw Error("V`"+a);},Gca=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("T`"+Xa(b)+"`"+b);Ma(b);
return new a(b)}},Yb=function(a){return function(b){return Hca(a,b)}},t=function(a){if(Ha(a.internalArray_)&2)throw Error("Y");},Zb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},$b=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Ica=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},Jca=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Kca=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Lca=function(a,
b){return null!==a&&b in a},Mca=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Nca=function(a,b){return(b=Mca(a,b))&&a[b]},ac=function(a){for(var b in a)return!1;return!0},Oca=function(a){for(var b in a)delete a[b]},bc=function(a,b){b in a&&delete a[b]},Pca=function(a,b){return null!==a&&b in a?a[b]:void 0},cc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Rca=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 g=0;g<Qca.length;g++)c=
Qca[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Sca=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Sca.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},Zca=function(a){if(a instanceof dc)return'url("'+ec(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof fc)a=hc(a);else{a=String(a);var b=a.replace(Tca,"$1").replace(Tca,"$1").replace(Uca,"url");if(Vca.test(b)){if(b=!Wca.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=
a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&Xca(a)}a=b?Yca(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new aaa("Value does not allow [{;}], got: %s.",[a]);return a},Xca=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b},Yca=function(a){return a.replace(Uca,function(b,c,d,e){var g="";d=d.replace(/^(['"])(.*)\1$/,function(h,m,r){g=m;return r});
b=($ca(d)||ada).getTypedStringValue();return c+g+b+g+e})},bda=function(a,b){return Zone.current.wrap(a,b)},cda=function(a,b){for(var c=a.length-1;0<=c;c--)"function"===typeof a[c]&&(a[c]=bda(a[c],b+"_"+c));return a},eda=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={$jscomp$loop$prop$name$2017498421$1:d.$jscomp$loop$prop$name$2017498421$1},e++){d.$jscomp$loop$prop$name$2017498421$1=b[e];var g=a[d.$jscomp$loop$prop$name$2017498421$1];if(g){var h=
ic(a,d.$jscomp$loop$prop$name$2017498421$1);dda(h)&&(a[d.$jscomp$loop$prop$name$2017498421$1]=function(m){return function(r){var v=function(){return r.apply(this,cda(arguments,c+"."+m.$jscomp$loop$prop$name$2017498421$1))};jc(v,r);return v}}(d)(g))}}},dda=function(a){return a?!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},ida=function(a,b,c){var d=ic(a,b);!d&&c&&ic(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=kc("on"+b+"patched"),!a.hasOwnProperty(c)||
!a[c])){delete d.writable;delete d.value;var e=d.get,g=d.set,h=b.slice(2),m=fda[h];m||(m=fda[h]=kc("ON_PROPERTY"+h));d.set=function(r){var v=this;v||a!==lc||(v=lc);v&&("function"===typeof v[m]&&v.removeEventListener(h,gda),g&&g.call(v,null),v[m]=r,"function"===typeof r&&v.addEventListener(h,gda,!1))};d.get=function(){var r=this;r||a!==lc||(r=lc);if(!r)return null;var v=r[m];return v?v:e&&(v=e.call(this))?(d.set.call(this,v),"function"===typeof r.removeAttribute&&r.removeAttribute(b),v):null};hda(a,
b,d);a[c]=!0}},jda=function(a,b,c){if(b)for(var d=0;d<b.length;d++)ida(a,"on"+b[d],c);else{b=[];for(d in a)"on"==d.slice(0,2)&&b.push(d);for(d=0;d<b.length;d++)ida(a,b[d],c)}},nc=function(a){var b=lc[a];if(b){lc[kc(a)]=b;lc[a]=function(){var e=cda(arguments,a);switch(e.length){case 0:this[mc]=new b;break;case 1:this[mc]=new b(e[0]);break;case 2:this[mc]=new b(e[0],e[1]);break;case 3:this[mc]=new b(e[0],e[1],e[2]);break;case 4:this[mc]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("pa");}};
jc(lc[a],b);var c=new b(function(){}),d;for(d in c)"XMLHttpRequest"===a&&"responseBlob"===d||function(e){"function"===typeof c[e]?lc[a].prototype[e]=function(){return this[mc][e].apply(this[mc],arguments)}:hda(lc[a].prototype,e,{set:function(g){"function"===typeof g?(this[mc][e]=bda(g,a+"."+e),jc(this[mc][e],g)):this[mc][e]=g},get:function(){return this[mc][e]}})}(d);for(d in b)"prototype"!==d&&b.hasOwnProperty(d)&&(lc[a][d]=b[d])}},oc=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=kda(d);
!d&&a[b]&&(d=a);a=kc(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var g=d&&ic(d,b);if(dda(g)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};jc(d[b],e)}}return e},lda=function(a,b,c){function d(g){var h=g.data;h.args[h.cbIdx]=function(){g.invoke.apply(this,arguments)};e.apply(h.target,h.args);return g}var e=null;e=oc(a,b,function(g){return function(h,m){var r=c(h,m);return 0<=r.cbIdx&&"function"===typeof m[r.cbIdx]?Zone.current.scheduleMacroTask(r.name,m[r.cbIdx],r,
d):g.apply(h,m)}})},jc=function(a,b){a[kc("OriginalDelegate")]=b},oda=function(){if(mda)return nda;mda=!0;try{var a=pc.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))nda=!0}catch(b){}return nda},pda=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=qc+c;b=qc+b;rc[a]={};rc[a]["false"]=c;rc[a]["true"]=b},wda=function(a,b,c,d){function e(ea,ja,va){if(ja=ja||a.event){ea=ea||ja.target||a;var za=ea[rc[ja.type][va?"true":"false"]];if(za){va=
[];if(1===za.length)(ja=G(za[0],ea,ja))&&va.push(ja);else{za=za.slice();for(var Pa=0;Pa<za.length&&(!ja||!0!==ja[qda]);Pa++){var Sa=G(za[Pa],ea,ja);Sa&&va.push(Sa)}}if(1===va.length)throw va[0];ja={};for(ea=0;ea<va.length;ja={$jscomp$loop$prop$err$2079053653$6$2079053653$14:ja.$jscomp$loop$prop$err$2079053653$6$2079053653$14},ea++)ja.$jscomp$loop$prop$err$2079053653$6$2079053653$14=va[ea],b.nativeScheduleMicroTask(function(Wa){return function(){throw Wa.$jscomp$loop$prop$err$2079053653$6$2079053653$14;
}}(ja))}}}function g(ea,ja){if(!ea)return!1;var va=!0;ja&&void 0!==ja.useG&&(va=ja.useG);var za=ja&&ja.vh,Pa=!0;ja&&void 0!==ja.chkDup&&(Pa=ja.chkDup);var Sa=!1;ja&&void 0!==ja.rt&&(Sa=ja.rt);for(var Wa=ea;Wa&&!Wa.hasOwnProperty(h);)Wa=kda(Wa);!Wa&&ea[h]&&(Wa=ea);if(!Wa||Wa[y])return!1;var Qb=ja&&ja.eventNameToString,Gb={},cb=Wa[y]=Wa[h],sa=Wa[kc(m)]=Wa[m];ea=Wa[kc(r)]=Wa[r];var Ja=Wa[kc(v)]=Wa[v],Qa;ja&&ja.prepend&&(Qa=Wa[kc(ja.prepend)]=Wa[ja.prepend]);var fb=function(sb){if(!sb.isRemoved){var Jb=
rc[sb.eventName],Lb;Jb&&(Lb=Jb[sb.capture?"true":"false"]);if(Jb=Lb&&sb.target[Lb])for(var Fc=0;Fc<Jb.length;Fc++)if(Jb[Fc]===sb){Jb.splice(Fc,1);sb.isRemoved=!0;0===Jb.length&&(sb.allRemoved=!0,sb.target[Lb]=null);break}}if(sb.allRemoved)return sa.call(sb.target,sb.eventName,sb.capture?Q:N,sb.options)},Za=function(sb){return cb.call(Gb.target,Gb.eventName,sb.invoke,Gb.options)},Yc=function(sb){return Qa.call(Gb.target,Gb.eventName,sb.invoke,Gb.options)},jb=function(sb){return sa.call(sb.target,sb.eventName,
sb.invoke,sb.options)};Za=va?function(){if(!Gb.isExisting)return cb.call(Gb.target,Gb.eventName,Gb.capture?Q:N,Gb.options)}:Za;fb=va?fb:jb;jb=function(sb,Jb){var Lb=typeof Jb;return"function"===Lb&&sb.callback===Jb||"object"===Lb&&sb.originalDelegate===Jb};var yb=ja&&ja.diff?ja.diff:jb,ab=Zone[kc("UNPATCHED_EVENTS")],Mb=a[kc("PASSIVE_EVENTS")];jb=function(sb,Jb,Lb,Fc,Sc,pg){Sc=void 0===Sc?!1:Sc;pg=void 0===pg?!1:pg;return function(){var Rd=this||a,He=arguments[0];ja&&ja.transferEventName&&(He=ja.transferEventName(He));
var ek=arguments[1];if(!ek||rda&&"uncaughtException"===He)return sb.apply(this,arguments);var Kia=!1;if("function"!==typeof ek){if(!ek.handleEvent)return sb.apply(this,arguments);Kia=!0}if(!za||za(sb,ek,Rd,arguments)){var fu=sc&&!!Mb&&-1!==Mb.indexOf(He);var Xg=arguments[2];Xg=!sc&&"object"===typeof Xg&&Xg?!!Xg.capture:sc&&fu?"boolean"===typeof Xg?{capture:Xg,passive:!0}:Xg?"object"===typeof Xg&&!1!==Xg.passive?Object.assign({},Xg,{passive:!0}):Xg:{passive:!0}:Xg;if(ab)for(var HU=0;HU<ab.length;HU++)if(He===
ab[HU])return fu?sb.call(Rd,He,ek,Xg):sb.apply(this,arguments);fu=Xg?"boolean"===typeof Xg?!0:Xg.capture:!1;HU=Xg&&"object"===typeof Xg?Xg.once:!1;var fFb=Zone.current,gu=rc[He];gu||(pda(He,Qb),gu=rc[He]);var ky=gu[fu?"true":"false"];gu=Rd[ky];var lL=!1;if(gu){if(lL=!0,Pa)for(ky=0;ky<gu.length;ky++)if(yb(gu[ky],ek))return}else gu=Rd[ky]=[];var wn;ky=Rd.constructor.name;var iVa=sda[ky];iVa&&(wn=iVa[He]);wn||(wn=ky+Jb+(Qb?Qb(He):He));Gb.options=Xg;HU&&(Gb.options.once=!1);Gb.target=Rd;Gb.capture=fu;
Gb.eventName=He;Gb.isExisting=lL;if(lL=va?tda:void 0)lL.taskData=Gb;wn=fFb.scheduleEventTask(wn,ek,lL,Lb,Fc);Gb.target=null;lL&&(lL.taskData=null);HU&&(Xg.once=!0);if(sc||"boolean"!==typeof wn.options)wn.options=Xg;wn.target=Rd;wn.capture=fu;wn.eventName=He;Kia&&(wn.originalDelegate=ek);pg?gu.unshift(wn):gu.push(wn);if(Sc)return Rd}}};Wa[h]=jb(cb,A,Za,fb,Sa);Qa&&(Wa.prependListener=jb(Qa,".prependListener:",Yc,fb,Sa,!0));Wa[m]=function(){var sb=this||a,Jb=arguments[0];ja&&ja.transferEventName&&(Jb=
ja.transferEventName(Jb));var Lb=arguments[2],Fc=Lb?"boolean"===typeof Lb?!0:Lb.capture:!1;Lb=arguments[1];if(!Lb)return sa.apply(this,arguments);if(!za||za(sa,Lb,sb,arguments)){var Sc=rc[Jb],pg;Sc&&(pg=Sc[Fc?"true":"false"]);if(Fc=pg&&sb[pg])for(Sc=0;Sc<Fc.length;Sc++){var Rd=Fc[Sc];if(yb(Rd,Lb)){Fc.splice(Sc,1);Rd.isRemoved=!0;0===Fc.length&&(Rd.allRemoved=!0,sb[pg]=null,"string"===typeof Jb&&(sb[qc+"ON_PROPERTY"+Jb]=null));Rd.zone.cancelTask(Rd);if(Sa)return sb;return}}return sa.apply(this,arguments)}};
Wa[r]=function(sb){var Jb=this||a,Lb=sb;ja&&ja.transferEventName&&(Lb=ja.transferEventName(Lb));sb=[];Jb=uda(Jb,Qb?Qb(Lb):Lb);for(Lb=0;Lb<Jb.length;Lb++){var Fc=Jb[Lb];sb.push(Fc.originalDelegate?Fc.originalDelegate:Fc.callback)}return sb};Wa[v]=function(sb){var Jb=this||a;if(sb){ja&&ja.transferEventName&&(sb=ja.transferEventName(sb));var Lb=rc[sb];if(Lb){var Fc=Jb[Lb["false"]];Jb=Jb[Lb["true"]];if(Fc)for(Fc=Fc.slice(),Lb=0;Lb<Fc.length;Lb++){var Sc=Fc[Lb];this[m].call(this,sb,Sc.originalDelegate?
Sc.originalDelegate:Sc.callback,Sc.options)}if(Jb)for(Jb=Jb.slice(),Fc=0;Fc<Jb.length;Fc++)Lb=Jb[Fc],this[m].call(this,sb,Lb.originalDelegate?Lb.originalDelegate:Lb.callback,Lb.options)}}else{sb=Object.keys(Jb);for(Jb=0;Jb<sb.length;Jb++)(Fc=(Fc=vda.exec(sb[Jb]))&&Fc[1])&&"removeListener"!==Fc&&this[v].call(this,Fc);this[v].call(this,"removeListener")}if(Sa)return this};jc(Wa[h],cb);jc(Wa[m],sa);Ja&&jc(Wa[v],Ja);ea&&jc(Wa[r],ea);return!0}for(var h=d&&d.add||"addEventListener",m=d&&d.rm||"removeEventListener",
r=d&&d.listeners||"eventListeners",v=d&&d.rmAll||"removeAllListeners",y=kc(h),A="."+h+":",G=function(ea,ja,va){if(!ea.isRemoved){var za=ea.callback;"object"===typeof za&&za.handleEvent&&(ea.callback=function(Wa){return za.handleEvent(Wa)},ea.originalDelegate=za);try{ea.invoke(ea,ja,[va])}catch(Wa){var Pa=Wa}var Sa=ea.options;Sa&&"object"===typeof Sa&&Sa.once&&ja[m].call(ja,va.type,ea.originalDelegate?ea.originalDelegate:ea.callback,Sa);return Pa}},N=function(ea){return e(this,ea,!1)},Q=function(ea){return e(this,
ea,!0)},Z=[],Y=0;Y<c.length;Y++)Z[Y]=g(c[Y],d);return Z},uda=function(a,b){if(!b){var c=[],d;for(d in a){var e=vda.exec(d);if((e=e&&e[1])&&(!b||e===b)&&(e=a[d]))for(var g=0;g<e.length;g++)c.push(e[g])}return c}c=rc[b];c||(pda(b),c=rc[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},xda=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[qda]=!0;c&&c.apply(d,e)}})},yda=function(a,b){b.patchMethod(a,
"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},tc=function(a,b,c,d){function e(v){var y=v.data;y.args[0]=function(){return v.invoke.apply(this,arguments)};y.handleId=h.apply(a,y.args);return v}function g(v){return m.call(a,v.data.handleId)}var h=null,m=null;b+=d;c+=d;var r={};h=oc(a,b,function(v){return function(y,A){if("function"===typeof A[0]){var G={isPeriodic:"Interval"===d,delay:"Timeout"===d||"Interval"===d?A[1]||0:void 0,args:A},N=
A[0];A[0]=function(){try{return N.apply(this,arguments)}finally{G.isPeriodic||("number"===typeof G.handleId?delete r[G.handleId]:G.handleId&&(G.handleId[zda]=null))}};y=Zone.current.scheduleMacroTask(b,A[0],G,e,g);if(!y)return y;A=y.data.handleId;"number"===typeof A?r[A]=y:A&&(A[zda]=y);A&&A.ref&&A.unref&&"function"===typeof A.ref&&"function"===typeof A.unref&&(y.ref=A.ref.bind(A),y.unref=A.unref.bind(A));return"number"===typeof A||A?A:y}return v.apply(a,A)}});m=oc(a,c,function(v){return function(y,
A){y=A[0];if("number"===typeof y)var G=r[y];else(G=y&&y[zda])||(G=y);G&&"string"===typeof G.type?"notScheduled"!==G.state&&(G.cancelFn&&G.data.isPeriodic||0===G.runCount)&&("number"===typeof y?delete r[y]:y&&(y[zda]=null),G.zone.cancelTask(G)):v.apply(a,A)}})},Ada=function(a,b,c,d,e){var g=Zone.__symbol__(d);if(!b[g]){var h=b[g]=b[d];b[d]=function(m,r,v){r&&r.prototype&&e.forEach(function(y){var A=c+"."+d+"::"+y,G=r.prototype;try{if(G.hasOwnProperty(y)){var N=a.ObjectGetOwnPropertyDescriptor(G,y);
N&&N.value?(N.value=a.wrapWithCurrentZone(N.value,A),a._redefineProperty(r.prototype,y,N)):G[y]&&(G[y]=a.wrapWithCurrentZone(G[y],A))}else G[y]&&(G[y]=a.wrapWithCurrentZone(G[y],A))}catch(Q){}});return h.call(b,m,r,v)};a.attachOriginToPatched(b[d],h)}},Bda=function(a,b,c){if(!c||0===c.length)return b;c=c.filter(function(e){return e.target===a});if(!c||0===c.length)return b;var d=c[0].ignoreProperties;return b.filter(function(e){return-1===d.indexOf(e)})},Cda=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&
2<b.length}).map(function(b){return b.substring(2)})},Jda=function(){Dda=Zone.__symbol__;Eda=Object[Dda("defineProperty")]=Object.defineProperty;Fda=Object[Dda("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;Gda=Object.create;uc=Dda("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[uc]&&a[uc][b])throw new TypeError("ta`"+b+"`"+a);var d=c.configurable;"prototype"!==b&&(c=Hda(a,b,c));return Ida(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(g){Object.defineProperty(a,
g,b[g])});for(var c=k(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;(null==(e=Object.getOwnPropertyDescriptor(b,d))?0:e.enumerable)&&Object.defineProperty(a,d,b[d])}return a};Object.create=function(a,b){"object"!==typeof b||Object.isFrozen(b)||Object.keys(b).forEach(function(c){b[c]=Hda(a,c,b[c])});return Gda(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Fda(a,b);c&&a&&a[uc]&&a[uc][b]&&(c.configurable=!1);return c}},Kda=function(a,b,c){var d=c.configurable;
c=Hda(a,b,c);return Ida(a,b,c,d)},Hda=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[uc]||Object.isFrozen(a)||Eda(a,uc,{writable:!0,value:{}}),a[uc]&&(a[uc][b]=!0));return c},Ida=function(a,b,c,d){try{return Eda(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:c.configurable=d;try{return Eda(a,b,c)}catch(g){d=!1;if("createdCallback"===b||"attachedCallback"===b||"detachedCallback"===b||"attributeChangedCallback"===b)d=!0;if(!d)throw g;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: "+g)}}else throw e;}},Lda=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,g=c.zoneSymbolEventNames,h=c.TRUE_STR,m=c.FALSE_STR,r=c.ZONE_SYMBOL_PREFIX,v="ApplicationCache EventSource FileReader InputMethodContext MediaController MessagePort Node Performance SVGElementInstance SharedWorker TextTrack TextTrackCue TextTrackList WebKitNamedFlow Window Worker WorkerGlobalScope XMLHttpRequest XMLHttpRequestEventTarget XMLHttpRequestUpload IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor DBIndex WebSocket".split(" ");
c=[];var y="Anchor Area Audio BR Base BaseFont Body Button Canvas Content DList Directory Div Embed FieldSet Font Form Frame FrameSet HR Head Heading Html IFrame Image Input Keygen LI Label Legend Link Map Marquee Media Menu Meta Meter Mod OList Object OptGroup Option Output Paragraph Pre Progress Quote Script Select Source Span Style TableCaption TableCell TableCol Table TableRow TableSection TextArea Title Track UList Unknown Video".split(" ");a.wtf?c=y.map(function(ja){return"HTML"+ja+"Element"}).concat(v):
a.EventTarget?c.push("EventTarget"):c=v;var A=a.__Zone_disable_IE_check||!1,G=a.__Zone_enable_cross_context_check||!1,N=b.isIEOrEdge(),Q={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(v=0;v<d.length;v++){var Z=d[v],Y=r+(Z+m),ea=r+(Z+h);g[Z]={};g[Z][m]=Y;g[Z][h]=ea}for(g=0;g<y.length;g++)for(h=
y[g],m=e[h]={},r=0;r<d.length;r++)v=d[r],m[v]=h+".addEventListener:"+v;d=[];for(e=0;e<c.length;e++)y=a[c[e]],d.push(y&&y.prototype);b.patchEventTarget(a,b,d,{vh:function(ja,va,za,Pa){if(!A&&N)if(G)try{var Sa=va.toString();if("[object FunctionWrapper]"===Sa||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Sa)return ja.apply(za,Pa),!1}catch(Wa){return ja.apply(za,Pa),!1}else{if(va=va.toString(),"[object FunctionWrapper]"===va||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==
va)return ja.apply(za,Pa),!1}else if(G)try{va.toString()}catch(Wa){return ja.apply(za,Pa),!1}return!0},transferEventName:function(ja){return Q[ja]||ja}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Mda=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,g=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[g.prototype]);b.WebSocket=function(m,r){var v=1<arguments.length?new g(m,r):new g(m),y=a.ObjectGetOwnPropertyDescriptor(v,"onmessage");if(y&&
!1===y.configurable){var A=a.ObjectCreate(v);var G=v;[d,e,"send","close"].forEach(function(N){A[N]=function(){var Q=a.ArraySlice.call(arguments);if(N===d||N===e){var Z=0<Q.length?Q[0]:void 0;Z&&(Z=Zone.__symbol__("ON_PROPERTY"+Z),v[Z]=A[Z])}return v[N].apply(v,Q)}})}else A=v;a.patchOnProperties(A,["close","error","message","open"],G);return A};c=b.WebSocket;for(var h in g)c[h]=g[h]},Nda=function(a,b){var c=a.getGlobalObjects(),d=c.isMix;if((c.isBrowser||d)&&!a.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,
"onclick")&&"undefined"!==typeof Element){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 g=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[g]},set:function(h){this[g]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[g]===c;a.onreadystatechange=null;return c},Pda=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Oda.length;c={$jscomp$loop$prop$onproperty$1136783852$4:c.$jscomp$loop$prop$onproperty$1136783852$4},
d++){var e=Oda[d];c.$jscomp$loop$prop$onproperty$1136783852$4="on"+e;self.addEventListener(e,function(g){return function(h){h=h.target;var m;for(m=h?h.constructor.name+"."+g.$jscomp$loop$prop$onproperty$1136783852$4:"unknown."+g.$jscomp$loop$prop$onproperty$1136783852$4;h;){if(h[g.$jscomp$loop$prop$onproperty$1136783852$4]&&!h[g.$jscomp$loop$prop$onproperty$1136783852$4][b]){var r=a.wrapWithCurrentZone(h[g.$jscomp$loop$prop$onproperty$1136783852$4],m);r[b]=h[g.$jscomp$loop$prop$onproperty$1136783852$4];
h[g.$jscomp$loop$prop$onproperty$1136783852$4]=r}h=h.parentElement}}}(c),!0)}},vc=function(a){for(var b in a)if(a[b]===vc)return b;throw Error("ua");},Qda=function(a,b){for(var c in b)b.hasOwnProperty(c)&&!a.hasOwnProperty(c)&&(a[c]=b[c])},wc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},xc=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Tda=function(a){var b;(b=a.hasOwnProperty(Rda)?a[Rda]:null)||(b=a.hasOwnProperty(Sda)?a[Sda]:
null);return b},Uda=function(a){return(a=a&&(a[Rda]||a[Sda]))?a:null},Xda=function(a){return a&&(a.hasOwnProperty(Vda)||a.hasOwnProperty(Wda))?a[Vda]:null},yc=function(a){return"string"===typeof a?a:null==a?"":String(a)},zc=function(a){if("string"===typeof a)return a;if(Array.isArray(a))return"["+a.map(zc).join(", ")+"]";if(null==a)return""+a;if(a.overriddenName)return""+a.overriddenName;if(a.name)return""+a.name;a=a.toString();if(null==a)return""+a;var b=a.indexOf("\n");return-1===b?a:a.substring(0,
b)},Yda=function(a,b){return null==a||""===a?null===b?"":b:null==b||""===b?a:a+" "+b},Zda=function(){throw new Ac(-201,!1);},Bc=function(a){var b=$da;$da=a;return b},aea=function(a,b,c){var d=Tda(a);if(d&&"root"==d.providedIn)return void 0===d.value?d.value=d.factory():d.value;if(c&8)return null;if(void 0!==b)return b;Zda(zc(a))},Cc=function(a){a.__forward_ref__=Cc;a.toString=function(){return zc(this())};return a},Dc=function(a){return bea(a)?a():a},bea=function(a){return"function"===typeof a&&a.hasOwnProperty(cea)&&
a.__forward_ref__===Cc},Gc=function(a){var b=Ec;Ec=a;return b},dea=function(a,b){b=void 0===b?0:b;if(void 0===Ec)throw new Ac(-203,!1);return null===Ec?aea(a,void 0,b):Ec.get(a,b&8?null:void 0,b)},u=function(a,b){b=void 0===b?0:b;return($da||dea)(Dc(a),b)},Hc=function(a,b){return u(a,eea(void 0===b?0:b))},eea=function(a){return"undefined"===typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},fea=function(a){for(var b=[],c=0;c<a.length;c++){var d=Dc(a[c]);if(Array.isArray(d)){if(0===
d.length)throw new Ac(900,!1);for(var e=void 0,g=0,h=0;h<d.length;h++){var m=d[h],r=m.__NG_DI_FLAG__;"number"===typeof r?-1===r?e=m.token:g|=r:e=m}b.push(u(e,g))}else b.push(u(d))}return b},Ic=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},gea=function(a,b){for(var c=0,d=a.length;;){c=a.indexOf(b,c);if(-1===c)return c;if(0===c||32>=a.charCodeAt(c-1)){var e=b.length;if(c+e===d||32>=a.charCodeAt(c+e))return c}c+=1}},hea=function(a,b,c){for(var d=0;d<c.length;){var e=c[d];if("number"===
typeof e){if(0!==e)break;d++;e=c[d++];var g=c[d++],h=c[d++];a.setAttribute(b,g,h,e)}else g=c[++d],64===e.charCodeAt(0)?a.setProperty(b,e,g):a.setAttribute(b,e,g),d++}},Jc=function(a,b){if(null!==b&&0!==b.length)if(null===a||0===a.length)a=b.slice();else for(var c=-1,d=0;d<b.length;d++){var e=b[d];"number"===typeof e?c=e:0!==c&&(-1===c||2===c?iea(a,c,e,b[++d]):iea(a,c,e,null))}return a},iea=function(a,b,c,d){var e=0,g=a.length;if(-1===b)g=-1;else for(;e<a.length;){var h=a[e++];if("number"===typeof h)if(h===
b){g=-1;break}else if(h>b){g=e-1;break}}for(;e<a.length;){h=a[e];if("number"===typeof h)break;else if(h===c){null!==d&&(a[e+1]=d);return}e++;null!==d&&e++}-1!==g&&(a.splice(g,0,b),e=g+1);a.splice(e++,0,c);null!==d&&a.splice(e++,0,d)},jea=function(a,b,c){var d=4,e=a.attrs||[],g;a:{for(g=0;g<e.length;g++){var h=e[g];if(3===h||4===h||6===h)break a}g=e.length}h=!1;for(var m=0;m<b.length;m++){var r=b[m];if("number"===typeof r){if(!h&&0!==(d&1)&&0!==(r&1))return!1;h&&0===(r&1)||(h=!1,d=r|d&1)}else if(!h)if(d&
4){if(d=2|d&1,""!==r&&r!==(4!==a.type||c?a.value:"ng-template")||""===r&&1===b.length){if(0===(d&1))return!1;h=!0}}else{var v=d&8?r:b[++m];if(d&8&&null!==a.attrs){a:{r=a.attrs;for(var y=c,A=0,G=!0;A<r.length;){var N=r[A++];if("string"===typeof N&&G){var Q=r[A++];if(y&&"class"===N&&-1!==gea(Q.toLowerCase(),v)){v=!0;break a}}else if(1===N){for(;A<r.length&&"string"==typeof(N=r[A++]);)if(N.toLowerCase()===v){v=!0;break a}break}else"number"===typeof N&&(G=!1)}v=!1}if(!v){if(0===(d&1))return!1;h=!0}}else{a:if(r=
d&8?"class":r,null===e)r=-1;else if(y=0,c||4!==a.type||"ng-template"===a.value){for(A=!1;y<e.length;){G=e[y];if(G===r){r=y;break a}if(3===G||6===G)A=!0;else if(1===G||2===G){for(G=e[++y];"string"===typeof G;)G=e[++y];continue}else if(4===G)break;else if(0===G){y+=4;continue}y+=A?1:2}r=-1}else b:{y=e.indexOf(4);if(-1<y)for(y++;y<e.length;){A=e[y];if("number"===typeof A)break;if(A===r){r=y;break b}y++}r=-1}if(-1===r){if(0===(d&1))return!1;h=!0}else if(""!==v&&(r=r>g?"":e[r+1].toLowerCase(),(y=d&8?r:
null)&&-1!==gea(y,v)||d&2&&v!==r)){if(0===(d&1))return!1;h=!0}}}}return 0===(d&1)||h},kea=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(jea(a,b[d],c))return!0;return!1},lea=function(a){for(var b=a[0],c=1,d=2,e="",g=!1;c<a.length;){var h=a[c];if("string"===typeof h)if(d&2){var m=a[++c];e+="["+h+(0<m.length?'="'+m+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else""!==e&&0!==(h&1)&&(b+=g?":not("+e.trim()+")":e,e=""),d=h,g=g||0!==(d&1);c++}""!==e&&(b+=g?":not("+e.trim()+")":e);return b},
Kc=function(a){return{toString:a}.toString()},Mc=function(a){return Kc(function(){var b=mea(a),c;b=Object.assign({},b,{decls:a.decls,vars:a.vars,template:a.template,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,onPush:0===a.changeDetection,directiveDefs:null,pipeDefs:null,dependencies:b.standalone&&a.dependencies||null,getStandaloneInjector:null,signals:null!=(c=a.signals)?c:!1,data:a.data||{},encapsulation:a.encapsulation||0,styles:a.styles||Lc,_:null,schemas:a.schemas||null,tView:null,
id:""});nea(b);c=a.dependencies;b.directiveDefs=oea(c,!1);b.pipeDefs=oea(c,!0);c=0;var d=[b.selectors,b.ngContentSelectors,b.hostVars,b.hostAttrs,b.consts,b.vars,b.decls,b.encapsulation,b.standalone,b.signals,b.exportAs,JSON.stringify(b.inputs),JSON.stringify(b.outputs),Object.getOwnPropertyNames(b.type.prototype),!!b.contentQueries,!!b.viewQuery].join("|");d=k(d);for(var e=d.next();!e.done;e=d.next())c=Math.imul(31,c)+e.value.charCodeAt(0)<<0;b.id="c"+(c+2147483648);return b})},pea=function(a,b){a=
a.\u0275cmp;a.directiveDefs=oea(b,!1);a.pipeDefs=oea([],!0)},rea=function(a){return a[Nc]||a[qea]||null},sea=function(a){return null!==a},Oc=function(a){return Kc(function(){return{type:a.type,bootstrap:a.bootstrap||Lc,declarations:a.declarations||Lc,imports:a.imports||Lc,exports:a.exports||Lc,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},tea=function(a,b){if(null==a)return Pc;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d],g=e;Array.isArray(e)&&(g=e[1],e=e[0]);c[e]=
d;b&&(b[e]=g)}return c},Qc=function(a){return Kc(function(){var b=mea(a);nea(b);return b})},Rc=function(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,standalone:!0===a.standalone,onDestroy:a.type.prototype.ngOnDestroy||null}},vea=function(a){return a[uea]||null},mea=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||Pc,exportAs:a.exportAs||null,standalone:!0===a.standalone,signals:!0===a.signals,selectors:a.selectors||Lc,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:tea(a.inputs,b),outputs:tea(a.outputs)}},nea=function(a){var b;null==(b=a.features)||b.forEach(function(c){return c(a)})},oea=function(a,b){if(!a)return null;var c=b?vea:rea;return function(){return("function"===typeof a?a():a).map(function(d){return c(d)}).filter(sea)}},
Tc=function(a){return a.hasOwnProperty(wea)?a[wea]:null},xea=function(a,b){a.forEach(function(c){return Array.isArray(c)?xea(c,b):b(c)})},yea=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},zea=function(a,b){for(var c=[],d=0;d<a;d++)c.push(b);return c},Vc=function(a,b,c){var d=Uc(a,b);if(0<=d)a[d|1]=c;else{var e=d=~d,g=a.length;if(g==e)a.push(b,c);else if(1===g)a.push(c,a[0]),a[0]=b;else{g--;for(a.push(a[g-1],a[g]);g>e;)a[g]=a[g-2],g--;a[e]=b;a[e+1]=c}}return d},Aea=function(a,b){b=Uc(a,
b);if(0<=b)return a[b|1]},Uc=function(a,b){for(var c=0,d=a.length>>1;d!==c;){var e=c+(d-c>>1),g=a[e<<1];if(b===g)return e<<1;g>b?d=e:c=e+1}return~(d<<1)},Cea=function(){return{"\u0275providers":Bea(!0,Wc.apply(0,arguments)),"\u0275fromNgModule":!0}},Bea=function(a){var b=[],c=new Set,d;xea(Wc.apply(1,arguments),function(e){Dea(e,b,[],c)&&(d||(d=[]),d.push(e))});void 0!==d&&Eea(d,b);return b},Eea=function(a,b){for(var c={},d=0;d<a.length;c={$jscomp$loop$prop$providers$m1309247897$3:c.$jscomp$loop$prop$providers$m1309247897$3,
$jscomp$loop$prop$ngModule$m1309247897$4:c.$jscomp$loop$prop$ngModule$m1309247897$4},d++){var e=a[d];c.$jscomp$loop$prop$ngModule$m1309247897$4=e.ngModule;c.$jscomp$loop$prop$providers$m1309247897$3=e.providers;Fea(c.$jscomp$loop$prop$providers$m1309247897$3,function(){return function(g){b.push(g)}}(c))}},Dea=function(a,b,c,d){a=Dc(a);if(!a)return!1;var e=null,g=Xda(a),h=!g&&(a[Nc]||null);if(g||h){if(h&&!h.standalone)return!1;e=a}else{var m=a.ngModule;if(g=Xda(m))e=m;else return!1}m=d.has(e);if(h){if(m)return!1;
d.add(e);if(h.dependencies)for(g="function"===typeof h.dependencies?h.dependencies():h.dependencies,g=k(g),m=g.next();!m.done;m=g.next())Dea(m.value,b,c,d)}else if(g){if(null!=g.imports&&!m){d.add(e);var r;xea(g.imports,function(v){Dea(v,b,c,d)&&(r||(r=[]),r.push(v))});void 0!==r&&Eea(r,b)}m||(h=Tc(e)||function(){return new e},b.push({provide:e,useFactory:h,deps:Lc},{provide:Gea,useValue:e,multi:!0},{provide:Hea,useValue:function(){return u(e)},multi:!0}));g=g.providers;null==g||m||Fea(g,function(v){b.push(v)})}else return!1;
return e!==a&&void 0!==a.providers},Fea=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?Fea(c,b):b(c)},Jea=function(a){return null!==a&&"object"==typeof a&&Iea in a},Xc=function(a){return"function"===typeof a},Mea=function(){void 0===Kea&&(Kea=new Lea);return Kea},Oea=function(a){var b=Tda(a);b=null!==b?b.factory:Tc(a);if(null!==b)return b;if(a instanceof Zc)throw new Ac(204,!1);if(a instanceof Function)return Nea(a);
throw new Ac(204,!1);},Nea=function(a){var b=a.length;if(0<b)throw zea(b,"?"),new Ac(204,!1);var c=Uda(a);return null!==c?function(){return c.factory(a)}:function(){return new a}},Rea=function(a){if(Jea(a))return $c(void 0,a.useValue);a=Pea(a);return $c(a,Qea)},Pea=function(a){var b=void 0;if(Xc(a))return b=Dc(a),Tc(b)||Oea(b);if(Jea(a))b=function(){return Dc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,ad(fea(a.deps||[])))};else if(a&&a.useExisting)b=function(){return u(Dc(a.useExisting))};
else{var c=Dc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(ad(fea(a.deps)))))};else return Tc(c)||Oea(c)}return b},$c=function(a,b,c){return{factory:a,value:b,multi:(void 0===c?0:c)?[]:void 0}},Sea=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Sea(c,b):c&&c&&c.\u0275providers?Sea(c.\u0275providers,b):b(c)},Tea=function(a){return function(){var b=Wc.apply(0,arguments);if(a){b=a.apply(null,ad(b));
for(var c in b)this[c]=b[c]}}},bd=function(a){return Kc(function(){function b(){function d(h,m,r){for(m=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;m.length<=r;)m.push(null);(m[r]=m[r]||[]).push(g);return h}var e=Wc.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var g=new (Function.prototype.bind.apply(b,[null].concat(ad(e))));d.annotation=g;return d}var c=Tea(a);return b})},cd=function(a){return Array.isArray(a)&&
"object"===typeof a[1]},dd=function(a){return Array.isArray(a)&&!0===a[1]},ed=function(){return Uea},Uea=function(a){a.type.prototype.ngOnChanges&&(a.setInput=Vea);return Wea},Wea=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===Pc)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},Vea=function(a,b,c,d){c=this.declaredInputs[c];var e;(e=a.__ngSimpleChanges__||null)||(e=a.__ngSimpleChanges__={previous:Pc,current:null});
var g=e;e=g.current||(g.current={});g=g.previous;var h=g[c];e[c]=new Xea(h&&h.currentValue,b,g===Pc);a[d]=b},fd=function(a){for(;Array.isArray(a);)a=a[0];return a},gd=function(a,b){return fd(b[a.index])},hd=function(a,b){a=b[a];return cd(a)?a:a[0]},id=function(a,b){return null===b||void 0===b?null:a[b]},Zea=function(a){a[2]&1024&&(a[2]&=-1025,Yea(a,-1))},Yea=function(a,b){a=a[3];if(null!==a){a[5]+=b;var c=a;for(a=a[3];null!==a&&(1===b&&1===c[5]||-1===b&&0===c[5]);)a[5]+=b,c=a,a=a[3]}},w=function(){return jd.lView},
x=function(a){jd.contextLView=a;return a[8]},z=function(a){jd.contextLView=null;return a},kd=function(){for(var a=jd.currentTNode;null!==a&&64===a.type;)a=a.parent;return a},ld=function(a,b){var c=jd;c.currentTNode=a;c.isParent=b},md=function(){var a=jd,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},nd=function(a){var b=jd,c=b.bindingIndex;b.bindingIndex+=a;return c},$ea=function(a){var b=jd.currentDirectiveIndex;return-1===b?null:a[b]},bfa=function(a,b,c){if(c&
4){for(;!(b=b.parent,null!==b||c&1);){b=a[1];b=2===b.type?b.declTNode:1===b.type?a[6]:null;if(null===b)break;a=a[14];if(b.type&10)break}if(null===b)return!1}c=jd=afa();c.currentTNode=b;c.lView=a;return!0},cfa=function(a){var b=afa(),c=a[1];jd=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},afa=function(){var a=jd,b=null===a?null:a.child;return null===b?dfa(a):b},dfa=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};null!==a&&(a.child=b);return b},efa=function(){var a=jd;jd=a.parent;a.currentTNode=null;a.lView=null;return a},ffa=function(){var a=efa();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},od=function(){var a=jd;return a.tView.data[a.selectedIndex]},pd=function(){jd.currentNamespace="svg"},qd=function(){jd.currentNamespace=null},rd=function(a){var b=gfa;gfa=a;return b},hfa=function(a){var b=rd(null);try{return a()}finally{rd(b)}},ifa=function(a,b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,g=d.ngAfterContentChecked,h=d.ngAfterViewInit,m=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var r=void 0,v=
void 0;(null!=(v=(r=a).contentHooks)?v:r.contentHooks=[]).push(-c,e)}g&&(r=e=void 0,(null!=(r=(e=a).contentHooks)?r:e.contentHooks=[]).push(c,g),r=e=void 0,(null!=(r=(e=a).contentCheckHooks)?r:e.contentCheckHooks=[]).push(c,g));h&&(e=g=void 0,(null!=(e=(g=a).viewHooks)?e:g.viewHooks=[]).push(-c,h));m&&(g=h=void 0,(null!=(g=(h=a).viewHooks)?g:h.viewHooks=[]).push(c,m),g=h=void 0,(null!=(g=(h=a).viewCheckHooks)?g:h.viewCheckHooks=[]).push(c,m));null!=d&&(h=m=void 0,(null!=(h=(m=a).destroyHooks)?h:m.destroyHooks=
[]).push(c,d))}},jfa=function(a,b,c,d){(a[2]&3)===c&&sd(a,b,c,d)},kfa=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&8191)+1)},sd=function(a,b,c,d){for(var e=null!=d?d:-1,g=b.length-1,h=0,m=void 0!==d?a[17]&65535:0;m<g;m++)if("number"===typeof b[m+1]){if(h=b[m],null!=d&&h>=d)break}else{0>b[m]&&(a[17]+=65536);if(h<e||-1==e){var r=0>b[m],v=b[m+1],y=a[r?-b[m]:b[m]];r?a[2]>>13<a[17]>>16&&(a[2]&3)===c&&(a[2]+=8192,lfa(y,v)):lfa(y,v);a[17]=(a[17]&4294901760)+m+2}m++}},lfa=function(a,b){var c=rd(null);try{b.call(a)}finally{rd(c)}},
mfa=function(a,b){for(a>>=16;0<a;)b=b[14],a--;return b},ofa=function(a){var b=nfa;nfa=a;return b},qfa=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(td)&&(d=c[td]);null==d&&(d=c[td]=pfa++);c=d&255;b.data[a+(c>>5)]|=1<<c},ufa=function(a,b){var c=rfa(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,sfa(c.data,a),sfa(b,null),sfa(c.blueprint,null));c=tfa(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=mfa(c,b),g=e[1].data,h=0;8>h;h++)b[a+
h]=e[d+h]|g[d+h];b[a+8]=c;return a},sfa=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},rfa=function(a,b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+8]?-1:a.injectorIndex},tfa=function(a,b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=vfa(c);if(null===b)break;a++;c=c[14];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},ud=function(a){var b=kd();if("class"===a)return b.classes;
if("style"===a)return b.styles;if(b=b.attrs)for(var c=b.length,d=0;d<c;){var e=b[d];if(3===e||4===e||6===e)break;if(0===e)d+=2;else if("number"===typeof e)for(d++;d<c&&"string"===typeof b[d];)d++;else{if(e===a)return b[d+1];d+=2}}return null},wfa=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=Bc();try{return a?a.get(b,d,c&8):aea(b,d,c&8)}finally{Bc(e)}}c&8||void 0!==d?b=d:(Zda(),b=void 0);return b},yfa=function(a,b,c,d,e){d=void 0===d?0:d;if(null!==a){if(b[2]&2048&&!(d&2)){a:{var g=
d;for(var h=vd,m=a,r=b;null!==m&&null!==r&&r[2]&2048&&!(r[2]&512);){var v=xfa(m,r,c,g|2);if(v!==vd){g=v;break a}m=m.parent;if(!m){if(m=r[20])if(m=m.get(c,vd,g),m!==vd){g=m;break a}m=vfa(r);r=r[14]}}g=h}if(g!==vd)return g}a=xfa(a,b,c,d);if(a!==vd)return a}return wfa(b,c,d,e)},xfa=function(a,b,c,d){var e=vd;if("string"===typeof c)var g=c.charCodeAt(0)||0;else g=c.hasOwnProperty(td)?c[td]:void 0,g="number"===typeof g?0<=g?g&255:zfa:g;if("function"===typeof g){if(!bfa(b,a,d))return d&1?d&8||void 0!==
e?b=e:(Zda(),b=void 0):b=wfa(b,c,d,e),b;try{var h=g(d);if(null!=h||d&8)return h;Zda()}finally{efa()}}else if("number"===typeof g){h=null;var m=rfa(a,b),r=d&1?b[15][6]:null;if(-1===m||d&4){var v=-1===m?tfa(a,b):b[m+8];-1===v||d&2?m=-1:(h=b[1],m=v&32767,b=mfa(v,b))}for(;-1!==m;){a=b[1];if(a.data[m+(g>>5)]&1<<g){v=b[1];var y=v.data[m+8],A=Afa(y,v,c,null==h?-1<y.componentOffset&&nfa:h!=v&&0!==(y.type&3),d&1&&r===y);v=null!==A?wd(b,v,A,y):vd;if(v!==vd)return v}v=b[m+8];-1!==v&&!(d&2||d&1&&b[1].data[m+
8]===r)&&b[m+(g>>5)]&1<<g?(h=a,m=v&32767,b=mfa(v,b)):m=-1}}return e},Afa=function(a,b,c,d,e){var g=a.providerIndexes,h=b.data,m=g&1048575;b=a.directiveStart;a=a.directiveEnd;var r=g>>20;g=e?m+r:a;for(d=d?m:m+r;d<g;d++)if(m=h[d],d<b&&c===m||d>=b&&m.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},wd=function(a,b,c,d){var e=a[c],g=b.data;if(e instanceof xd){var h=e;if(h.resolving)throw a=g[c],new Ac(-200,"Circular dependency in DI detected for "+("function"===typeof a?a.name||a.toString():
"object"===typeof a&&null!=a&&"function"===typeof a.type?a.type.name||a.type.toString():yc(a)));var m=ofa(h.canSeeViewProviders);h.resolving=!0;var r=h.injectImpl?Bc(h.injectImpl):null;bfa(a,d,0);try{if(e=a[c]=h.factory(void 0,g,a,d),b.firstCreatePass&&c>=d.directiveStart){var v=g[c],y=v.type.prototype,A=y.ngOnInit,G=y.ngDoCheck;if(y.ngOnChanges){var N=Uea(v),Q;(null!=(Q=b.preOrderHooks)?Q:b.preOrderHooks=[]).push(c,N);var Z;(null!=(Z=b.preOrderCheckHooks)?Z:b.preOrderCheckHooks=[]).push(c,N)}if(A){var Y;
(null!=(Y=b.preOrderHooks)?Y:b.preOrderHooks=[]).push(-c,A)}if(G){var ea;(null!=(ea=b.preOrderHooks)?ea:b.preOrderHooks=[]).push(c,G);var ja;(null!=(ja=b.preOrderCheckHooks)?ja:b.preOrderCheckHooks=[]).push(c,G)}}}finally{null!==r&&Bc(r),ofa(m),h.resolving=!1,efa()}}return e},zfa=function(){return new yd(kd(),w())},zd=function(a){return Kc(function(){var b=a.prototype.constructor;b=b[wea]||Bfa(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[wea]||
Bfa(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(g){return new g}})},Bfa=function(a){return bea(a)?function(){var b=Bfa(Dc(a));return b&&b()}:Tc(a)},vfa=function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:1===c?a[6]:null},Efa=function(a,b,c,d){a=Cfa(a,void 0===b?null:b,void 0===c?null:c,d);Dfa(a);return a},Cfa=function(a,b,c,d,e){b=void 0===b?null:b;e=void 0===e?new Set:e;c=[(void 0===c?null:c)||Lc,Cea(a)];d=d||("object"===typeof a?void 0:zc(a));return new Ad(c,b||Mea(),
d||null,e)},Gfa=function(){if(void 0!==Ffa)return Ffa;if("undefined"!==typeof document)return document;throw new Ac(210,!1);},Cd=function(a,b){return new Bd(gd(a,b))},Hfa=function(a){return a instanceof Bd?a.nativeElement:a},Dd=function(a,b){cd(b)?(a.__ngContext__=b[19],Ifa.set(b[19],b)):a.__ngContext__=b},Jfa=function(a){a=a[3];return dd(a)?a[3]:a},Kfa=function(a){for(;null!==a&&!dd(a);)a=a[4];return a},Lfa=function(a){for(;a;){a[2]|=64;var b=Jfa(a);if(0!==(a[2]&512)&&!b)break;a=b}},Ed=function(a){return a.ownerDocument.defaultView},
Mfa=function(a){return a.ownerDocument},B=function(a){Nfa(jd.tView,w(),jd.selectedIndex+a)},Nfa=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&sd(b,a,3,c)):(a=a.preOrderHooks,null!==a&&jfa(b,a,0,c));jd.selectedIndex=c},C=function(a,b){b=void 0===b?0:b;var c=w();return null===c?u(a,b):yfa(kd(),c,Dc(a),b)},Fd=function(){throw Error("ya");},Qfa=function(){return"".replace(Ofa,function(a){return a.replace(Pfa,"\u200b$1\u200b")})},Gd=function(a,b,c,d,e){if(null!=d){var g=!1;if(dd(d))var h=
d;else cd(d)&&(g=!0,d=d[0]);d=fd(d);if(0===a&&null!==c)null==e?b.appendChild(c,d):b.insertBefore(c,d,e||null,!0);else if(1===a&&null!==c)b.insertBefore(c,d,e||null,!0);else if(2===a){var m=b.parentNode(d);m&&b.removeChild(m,d,g)}else 3===a&&b.destroyNode(d);if(null!=h)for(d=h[7],g=fd(h),d!==g&&Gd(a,b,c,d,e),e=11;e<h.length;e++)g=h[e],Hd(b,a,g[1].firstChild,g,c,d,!1)}},Rfa=function(a,b){a=a[9];var c=a.indexOf(b);Zea(b);a.splice(c,1)},Sfa=function(a,b){if(!(11>=a.length)){var c=11+b,d=a[c];if(d){var e=
d[16];null!==e&&e!==a&&Rfa(e,d);0<b&&(a[c-1][4]=d[4]);a=yea(a,11+b);Hd(d[11],2,d[1].firstChild,d,null,null,!1);d[0]=null;d[6]=null;b=a[18];null!==b&&b.detachView(a[1]);d[3]=null;d[4]=null;d[2]&=-129}return d}},Ufa=function(a,b){if(!(b[2]&256)){var c=b[11],d;null==(d=b[23])||d.destroy();var e;null==(e=b[24])||e.destroy();c.destroyNode&&Hd(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;cd(a)?c=a[12]:(d=a[11])&&(c=d);if(!c){for(;a&&!a[4]&&a!==b;)cd(a)&&Tfa(a[1],a),a=a[3];null===a&&(a=b);
cd(a)&&Tfa(a[1],a);c=a&&a[4]}a=c}else Tfa(b[1],b)}},Tfa=function(a,b){if(!(b[2]&256)){b[2]&=-129;b[2]|=256;var c;if(null!=a&&null!=(c=a.destroyHooks))for(var d=0;d<c.length;d+=2){var e=b[c[d]];if(!(e instanceof xd)){var g=c[d+1];if(Array.isArray(g))for(var h=0;h<g.length;h+=2)g[h+1].call(e[g[h]]);else g.call(e)}}c=a.cleanup;d=b[7];if(null!==c)for(e=0;e<c.length-1;e+=2)if("string"===typeof c[e]){g=c[e+3];if(0<=g)d[g]();else d[-g].unsubscribe();e+=2}else c[e].call(d[c[e+1]]);null!==d&&(b[7]=null);c=
b[21];if(null!==c)for(b[21]=null,d=0;d<c.length;d++)(0,c[d])();1===b[1].type&&b[11].destroy();c=b[16];null!==c&&dd(b[3])&&(c!==b[3]&&Rfa(c,b),c=b[18],null!==c&&c.detachView(a));Ifa.delete(b[19])}},Vfa=function(a,b,c){for(;null!==b&&b.type&40;)b=b.parent;if(null===b)return c[0];var d=b.componentOffset;return-1<d&&(a=a.data[b.directiveStart+d].encapsulation,2===a||0===a)?null:gd(b,c)},Wfa=function(a,b,c,d){a=Vfa(a,d.parent,b);var e=b[11];d=d.parent||b[6];b=d.type&40?gd(d,b):null;if(null!=a)if(Array.isArray(c))for(d=
0;d<c.length;d++){var g=c[d];null!==b?e.insertBefore(a,g,b,!1):e.appendChild(a,g)}else null!==b?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},Yfa=function(a,b){if(null!==b){var c=b.type;if(c&3)return gd(b,a);if(c&4)return Xfa(-1,a[b.index]);if(c&8){c=b.child;if(null!==c)return Yfa(a,c);a=a[b.index];return dd(a)?Xfa(-1,a):fd(a)}if(c&32)return(void 0)(b,a)()||fd(a[b.index]);c=null!==b?a[15][6].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=Jfa(a[15]);return Yfa(a,c)}return Yfa(a,
b.next)}return null},Xfa=function(a,b){a+=12;if(a<b.length){a=b[a];var c=a[1].firstChild;if(null!==c)return Yfa(a,c)}return b[7]},Hd=function(a,b,c,d,e,g,h){for(;null!=c;){var m=d[c.index],r=c.type;h&&0===b&&(m&&Dd(fd(m),d),c.flags|=2);if(32!==(c.flags&32))if(r&8)Hd(a,b,c.child,d,e,g,!1),Gd(b,a,e,m,g);else if(r&32){r=(void 0)(c,d);for(var v;v=r();)Gd(b,a,e,v,g);Gd(b,a,e,m,g)}else r&16?Zfa(a,b,d,c,e,g):Gd(b,a,e,m,g);c=h?c.projectionNext:c.next}},Zfa=function(a,b,c,d,e,g){var h=c[15];c=h[6].projection[d.projection];
if(Array.isArray(c))for(d=0;d<c.length;d++)Gd(b,a,e,c[d],g);else h=h[3],128===(d.flags&128)&&(c.flags|=128),Hd(a,b,c,h,e,g,!0)},$fa=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&hea(a,b,d);null!==e&&(""===e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},aga=function(){null!=Id||(Id=new Jd);return Id},bga=function(a,b){var c;return null!=(c=a[b])?c:aga()},cga=function(a,b){var c=aga();c.hasReadASignal&&(a[b]=Id,c.lView=a,Id=new Jd)},
Ld=function(a){return a instanceof Kd?a.changingThisBreaksApplicationSecurity:a},Md=function(a,b){a=a instanceof Kd&&a.getTypeName()||null;if(null!=a&&a!==b){if("ResourceURL"===a&&"URL"===b)return!0;throw Error("za`"+b+"`"+a);}return a===b},ega=function(){if(void 0===dga&&(dga=null,Nd.trustedTypes))try{dga=Nd.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return dga},fga=function(a){var b;return(null==
(b=ega())?void 0:b.createHTML(a))||a},hga=function(a){a=String(a);return a.match(gga)?a:"unsafe:"+a},Od=function(a){var b={};a=k(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},Pd=function(){for(var a={},b=k(Wc.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},kga=function(a){return a.replace(/&/g,"&amp;").replace(iga,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(jga,
function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},uga=function(a,b){var c=null;try{var d;if(!(d=lga)){var e=new mga(a);try{var g=!!(new window.DOMParser).parseFromString(fga(""),"text/html")}catch(ea){g=!1}d=g?new nga(e):e}lga=d;var h=b?String(b):"";c=lga.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("Ba");a--;h=b;b=c.innerHTML;c=lga.getInertBodyElement(h)}while(h!==b);var m=new oga,r=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?
c.content:null)||c).firstChild;for(h=!0;r;){if(r.nodeType===Node.ELEMENT_NODE){a=m;b=r;var v=b.nodeName.toLowerCase();if(pga.hasOwnProperty(v)){a.buf.push("<");a.buf.push(v);var y=b.attributes;for(b=0;b<y.length;b++){var A=y.item(b),G=A.name,N=G.toLowerCase();if(qga.hasOwnProperty(N)){var Q=A.value;rga[N]&&(Q=hga(Q));a.buf.push(" ",G,'="',kga(Q),'"')}}a.buf.push(">");h=!0}else h=!sga.hasOwnProperty(v)}else r.nodeType===Node.TEXT_NODE&&m.buf.push(kga(r.nodeValue));if(h&&r.firstChild)r=r.firstChild;
else for(;r;){r.nodeType===Node.ELEMENT_NODE&&m.endElement(r);var Z=tga(r,r.nextSibling);if(Z){r=Z;break}r=tga(r,r.parentNode)}}var Y=m.buf.join("");return fga(Y)}finally{if(c)for(c=("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?c.content:null)||c;c.firstChild;)c.removeChild(c.firstChild)}},wga=function(){if(void 0===vga&&(vga=null,Nd.trustedTypes))try{vga=Nd.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},
createScriptURL:function(a){return a}})}catch(a){}return vga},xga=function(a){var b;return(null==(b=wga())?void 0:b.createHTML(a))||a},yga=function(a){var b;return(null==(b=wga())?void 0:b.createScriptURL(a))||a},Qd=function(a){var b=zga();return b?xga(b.sanitize(1,a)||""):Md(a,"HTML")?xga(Ld(a)):uga(Gfa(),yc(a))},Aga=function(a){var b=zga();return b?b.sanitize(2,a)||"":Md(a,"Style")?Ld(a):yc(a)},Sd=function(a){var b=zga();return b?b.sanitize(4,a)||"":Md(a,"URL")?Ld(a):hga(yc(a))},Bga=function(a){var b=
zga();if(b)return yga(b.sanitize(5,a)||"");if(Md(a,"ResourceURL"))return yga(Ld(a));throw new Ac(904,!1);},zga=function(){var a=w();return a&&a[10].sanitizer},Dga=function(a,b,c,d,e,g,h,m,r,v,y){var A=b.blueprint.slice();A[0]=e;A[2]=d|140;if(null!==v||a&&a[2]&2048)A[2]|=2048;A[17]=0;A[3]=A[14]=a;A[8]=c;A[10]=h||a&&a[10];A[11]=m||a&&a[11];A[9]=r||a&&a[9]||null;A[6]=g;A[19]=Cga++;A[22]=y;A[20]=v;A[15]=2==b.type?a[15]:A;return A},Td=function(a,b,c,d,e){var g=a.data[b];if(null===g){g=jd.currentTNode;
var h=jd.isParent,m=a.data,r=h?g:g&&g.parent,v=r?r.injectorIndex:-1,y=0;null!==Ega&&(y|=128);b=m[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:v,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:y,providerIndexes:0,value:d,attrs:e,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:r,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,
classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};null===a.firstChild&&(a.firstChild=b);null!==g&&(h?null==g.child&&null!==b.parent&&(g.child=b):null===g.next&&(g.next=b,b.prev=g));g=b;jd.inI18n&&(g.flags|=32)}else g.type&64&&(g.type=c,g.value=d,g.attrs=e,a=jd,b=a.currentTNode,a=a.isParent?b:b.parent,g.injectorIndex=null===a?-1:a.injectorIndex);ld(g,!0);return g},Fga=function(a,b,c,d){if(0===c)return-1;for(var e=b.length,g=0;g<c;g++)b.push(d),a.blueprint.push(d),
a.data.push(null);return e},Gga=function(a,b,c,d,e){var g=bga(b,23),h=jd.selectedIndex,m=d&2;try{if(jd.selectedIndex=-1,m&&25<b.length&&Nfa(a,b,25),m)g.runInContext(c,d,e);else{var r=rd(null);try{c(d,e)}finally{rd(r)}}}finally{m&&null===b[23]&&cga(b,23),jd.selectedIndex=h}},Hga=function(a,b,c){if(0!==(b.flags&4)){var d=rd(null);try{for(var e=b.directiveEnd,g=b.directiveStart;g<e;g++){var h=a.data[g];h.contentQueries&&h.contentQueries(1,c[g],g)}}finally{rd(d)}}},Mga=function(a,b,c){var d=gd(c,b),e=
c.directiveStart,g=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],m=gd(c,b),r=Iga(h),v=b[10].rendererFactory,y=16;h.signals?y=4096:h.onPush&&(y=64);h=Jga(b,Dga(b,r,null,y,m,c,null,v.createRenderer(m,h),null,null,null));b[c.index]=h}a.firstCreatePass||ufa(c,b);Dd(d,b);d=c.initialInputs;for(h=e;h<g;h++){m=a.data[h];r=wd(b,a,h,c);Dd(r,b);if(null!==d&&(v=d[h-e],null!==v))for(y=0;y<v.length;){var A=v[y++],G=v[y++],N=v[y++];Kga(m,r,A,G,N)}m.template&&(hd(c.index,b)[8]=wd(b,a,
h,c))}64===(c.flags&64)&&Lga(a,b,c)},Nga=function(a,b,c){c=void 0===c?gd:c;var d=b.localNames;if(null!==d)for(var e=b.index+1,g=0;g<d.length;g+=2){var h=d[g+1];h=-1===h?c(b,a):a[h];a[e++]=h}},Iga=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?a.tView=Oga(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},Oga=function(a,b,c,d,e,g,h,m,r,v,y){d=25+d;e=d+e;for(var A=[],G=0;G<e;G++)A.push(G<d?null:Ud);v="function"===typeof v?v():v;return A[1]=
{type:a,blueprint:A,template:c,queries:null,viewQuery:m,declTNode:b,data:A.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:"function"===typeof g?g():g,pipeRegistry:"function"===
typeof h?h():h,firstChild:null,schemas:r,consts:v,incompleteFirstPass:!1,ssrId:y}},Pga=function(a,b,c,d){for(var e in a)if(a.hasOwnProperty(e)){c=null===c?{}:c;var g=a[e];if(null===d){var h=c,m=b,r=e;h.hasOwnProperty(r)?h[r].push(m,g):h[r]=[m,g]}else d.hasOwnProperty(e)&&(h=c,m=b,r=d[e],h.hasOwnProperty(r)?h[r].push(m,g):h[r]=[m,g])}return c},Vd=function(a,b,c,d,e,g,h,m){var r=gd(b,c),v=b.inputs,y;!m&&null!=v&&(y=v[d])?(Qga(a,c,y,d,e),-1<b.componentOffset&&(a=hd(b.index,c),a[2]&16||(a[2]|=64))):b.type&
3&&(d="class"===d?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,e=null!=h?h(e,b.value||"",d):e,g.setProperty(r,d,e))},Tga=function(a,b,c,d){var e=null===d?null:{"":-1};var g=a.directiveRegistry;var h=null,m=null;if(g)for(var r=0;r<g.length;r++){var v=g[r];if(kea(c,v.selectors,!1))if(h||(h=[]),v.template)if(null!==v.findHostDirectiveDefs){var y=[];m=m||new Map;v.findHostDirectiveDefs(v,y,m);h.unshift.apply(h,
[].concat(ad(y),[v]));Rga(a,c,y.length)}else h.unshift(v),Rga(a,c,0);else{m=m||new Map;var A=y=void 0;null==(A=(y=v).findHostDirectiveDefs)||A.call(y,v,h,m);h.push(v)}}g=null===h?null:[h,m];null===g?g=h=null:(h=k(g),g=h.next().value,h=h.next().value);null!==g&&Sga(a,b,c,g,e,h);if(e&&d)for(a=c.localNames=[],b=0;b<d.length;b+=2){g=e[d[b+1]];if(null==g)throw new Ac(-301,!1);a.push(d[b],g)}c.mergedAttrs=Jc(c.mergedAttrs,c.attrs)},Sga=function(a,b,c,d,e,g){for(var h=0;h<d.length;h++){var m=ufa(c,b);qfa(m,
a,d[h].type)}h=a.data.length;m=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=h+m;c.providerIndexes=h;for(h=0;h<d.length;h++)m=d[h],m.providersResolver&&m.providersResolver(m);var r=!1,v=!1;h=Fga(a,b,d.length,null);for(m=0;m<d.length;m++){var y=d[m];c.mergedAttrs=Jc(c.mergedAttrs,y.hostAttrs);var A=a,G=c,N=b,Q=h;A.data[Q]=y;var Z=y.factory||(y.factory=Tc(y.type));Z=new xd(Z,!!y.template);A.blueprint[Q]=Z;N[Q]=Z;var Y=G;N=Fga(A,N,y.hostVars,Ud);if(G=y.hostBindings){Z=A.hostBindingOpCodes;null===
Z&&(Z=A.hostBindingOpCodes=[]);A=~Y.index;a:{for(Y=Z.length;0<Y;){var ea=Z[--Y];if("number"===typeof ea&&0>ea){Y=ea;break a}}Y=0}Y!=A&&Z.push(A);Z.push(Q,N,G)}A=h;if(Q=e){if(y.exportAs)for(N=0;N<y.exportAs.length;N++)Q[y.exportAs[N]]=A;y.template&&(Q[""]=A)}null!==y.contentQueries&&(c.flags|=4);if(null!==y.hostBindings||null!==y.hostAttrs||0!==y.hostVars)c.flags|=64;y=y.type.prototype;!r&&(y.ngOnChanges||y.ngOnInit||y.ngDoCheck)&&(A=r=void 0,(null!=(A=(r=a).preOrderHooks)?A:r.preOrderHooks=[]).push(c.index),
r=!0);v||!y.ngOnChanges&&!y.ngDoCheck||(y=v=void 0,(null!=(y=(v=a).preOrderCheckHooks)?y:v.preOrderCheckHooks=[]).push(c.index),v=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];m=h=null;for(r=c.directiveStart;r<b;r++){v=a[r];A=(y=g?g.get(v):null)?y.outputs:null;h=Pga(v.inputs,r,h,y?y.inputs:null);m=Pga(v.outputs,r,m,A);if(null===h||null===d||4===c.type&&"ng-template"!==c.value)v=null;else{v=h;y=r;A=null;for(Q=0;Q<d.length;)if(N=d[Q],0===N)Q+=4;else{if(5!==N){if("number"===typeof N)break;if(v.hasOwnProperty(N))for(null===
A&&(A=[]),G=v[N],Z=0;Z<G.length;Z+=2)if(G[Z]===y){A.push(N,G[Z+1],d[Q+1]);break}}Q+=2}v=A}e.push(v)}null!==h&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=m},Lga=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,g=c.index;c=jd.currentDirectiveIndex;try{for(jd.selectedIndex=g;d<e;d++){var h=a.data[d],m=b[d];jd.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||null===h.hostBindings||h.hostBindings(1,
m)}}finally{jd.selectedIndex=-1,jd.currentDirectiveIndex=c}},Rga=function(a,b,c){b.componentOffset=c;var d;(null!=(d=a.components)?d:a.components=[]).push(b.index)},Uga=function(a,b,c,d,e,g){var h=gd(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,g):(d=null==e?yc(d):e(d,a||"",c),b.setAttribute(h,c,d,g))},Kga=function(a,b,c,d,e){var g=rd(null);try{var h=a.inputTransforms;null!==h&&h.hasOwnProperty(d)&&(e=h[d].call(b,e));null!==a.setInput?a.setInput(b,e,c,d):b[d]=e}finally{rd(g)}},Vga=function(a,
b){var c=a.contentQueries;if(null!==c)for(var d=0;d<c.length;d+=2){var e=c[d],g=c[d+1];if(-1!==g){var h=a.data[g];jd.currentQueryIndex=e;h.contentQueries(2,b[g],g)}}},Jga=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},Wga=function(a,b,c){jd.currentQueryIndex=0;var d=rd(null);try{b(a,c)}finally{rd(d)}},Xga=function(a,b,c){if(null===a||a.template)a:{for(a=c[b.index];Array.isArray(a);){if("object"===typeof a[1]){c=a;break a}a=a[0]}c=null}return c[11]},Yga=function(a,b){(a=(a=a[9])?a.get(Wd,null):
null)&&a.handleError(b)},Qga=function(a,b,c,d,e){for(var g=0;g<c.length;){var h=c[g++],m=c[g++];Kga(a.data[h],b[h],d,m,e)}},Zga=function(a,b){var c=fd(a[jd.selectedIndex]);a[11].setValue(c,b)},$ga=function(a,b,c){cfa(b);try{var d=a.viewQuery;null!==d&&Wga(1,d,c);var e=a.template;null!==e&&Gga(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);a.staticContentQueries&&Vga(a,b);a.staticViewQueries&&Wga(2,a.viewQuery,c);var g=a.components;if(null!==g)for(c=0;c<g.length;c++){var h=hd(g[c],b),m=h[1];
d=m;e=h;for(var r=e.length;r<d.blueprint.length;r++)e.push(d.blueprint[r]);null!==h[0]&&null===h[22]&&(h[22]=null);$ga(m,h,h[8])}}catch(v){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=!1),v;}finally{b[2]&=-5,ffa()}},aha=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,g=0;if(null!==b)for(var h=0;h<b.length;h++){var m=b[h];if("number"===typeof m)g=m;else if(1==g)e=Yda(e,m);else if(2==g){var r=b[++h];d=Yda(d,m+": "+r+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=
e:a.classesWithoutHost=e},bha=function(a,b,c,d,e){for(e=void 0===e?!1:e;null!==c;){var g=b[c.index];null!==g&&d.push(fd(g));if(dd(g)){for(var h=11;h<g.length;h++){var m=g[h],r=m[1].firstChild;null!==r&&bha(m[1],m,r,d)}g[7]!==g[0]&&d.push(g[7])}g=c.type;if(g&8)bha(a,b,c.child,d);else if(g&32)for(g=(void 0)(c,b);h=g();)d.push(h);else g&16&&(g=null!==c?b[15][6].projection[c.projection]:null,Array.isArray(g)?d.push.apply(d,ad(g)):(h=Jfa(b[15]),bha(h[1],h,g,d,!0)));c=e?c.projectionNext:c.next}return d},
dha=function(a,b,c,d){d=void 0===d?!0:d;var e=b[10].rendererFactory;e.begin&&e.begin();try{cha(a,b,a.template,c)}catch(h){throw d&&Yga(b,h),h;}finally{e.end&&e.end();var g;null!=(g=b[10].effectManager)&&g.flush()}},cha=function(a,b,c,d){var e=b[2];if(256!==(e&256)){var g;null!=(g=b[10].effectManager)&&g.flush();cfa(b);try{b[17]=0;jd.bindingIndex=a.bindingStartIndex;null!==c&&Gga(a,b,c,2,d);if(c=3===(e&3)){var h=a.preOrderCheckHooks;null!==h&&sd(b,h,3,null)}else{var m=a.preOrderHooks;null!==m&&jfa(b,
m,0,null);kfa(b,0)}for(var r=Kfa(b[12]);null!==r;r=Kfa(r[4]))if(r[2]){var v=r[9];for(h=0;h<v.length;h++){var y=v[h];0===(y[2]&1024)&&(y[2]|=1024,Yea(y,1))}}eha(b,2);null!==a.contentQueries&&Vga(a,b);if(c){var A=a.contentCheckHooks;null!==A&&sd(b,A,3)}else{var G=a.contentHooks;null!==G&&jfa(b,G,1);kfa(b,1)}var N=a.hostBindingOpCodes;if(null!==N){var Q=bga(b,24);try{for(r=0;r<N.length;r++){var Z=N[r];if(0>Z)jd.selectedIndex=~Z;else{v=Z;var Y=N[++r],ea=N[++r];y=jd;y.bindingIndex=y.bindingRootIndex=Y;
jd.currentDirectiveIndex=v;Q.runInContext(ea,2,b[v])}}}finally{null===b[24]&&cga(b,24),jd.selectedIndex=-1}}var ja=a.components;if(null!==ja)for(N=0;N<ja.length;N++){var va=hd(ja[N],b);fha(va,0)}var za=a.viewQuery;null!==za&&Wga(2,za,d);if(c){var Pa=a.viewCheckHooks;null!==Pa&&sd(b,Pa,3)}else{var Sa=a.viewHooks;null!==Sa&&jfa(b,Sa,2);kfa(b,2)}!0===a.firstUpdatePass&&(a.firstUpdatePass=!1);b[2]&=-73;Zea(b)}finally{ffa()}}},eha=function(a,b){for(a=Kfa(a[12]);null!==a;a=Kfa(a[4]))for(var c=11;c<a.length;c++)fha(a[c],
b)},fha=function(a,b){if(128===(a[2]&128)){var c=a[1];if(a[2]&80&&0===b||a[2]&1024||2===b)cha(c,a,c.template,a[8]);else if(0<a[5]&&(eha(a,1),b=a[1].components,null!==b))for(c=0;c<b.length;c++){var d=hd(b[c],a);fha(d,1)}}},gha=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push({propName:a[c],templateName:c});return b},hha=function(){ifa(w()[1],kd())},iha=function(a,b,c){return new Xd(a,b,c)},kha=function(a,b,c){return(new jha({providers:a,parent:b,debugName:void 0===c?null:c,runEnvironmentInitializers:!0})).injector},
Yd=function(a){return!!a&&"function"===typeof a.then},lha=function(a){return!!a&&"function"===typeof a.subscribe},Zd=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=mha(b))return a;b=b.split("-")[0];if(a=mha(b))return a;if("en"===b)return nha;throw new Ac(701,!1);},mha=function(a){a in oha||(oha[a]=Nd.ng&&Nd.ng.common&&Nd.ng.common.locales&&Nd.ng.common.locales[a]);return oha[a]},$d=function(a){setTimeout(function(){throw a;},0)},ae=function(a){return"function"===typeof a},pha=function(a){return null!==
a&&"object"===typeof a},qha=function(a){return a instanceof be||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe},rha=function(a){return a.reduce(function(b,c){return b.concat(c instanceof ce?c.errors:c)},[])},sha=function(a){for(;a;){var b=a,c=b.destination,d=b.isStopped;if(b.closed||d)return!1;c&&c instanceof de?a=c:a=null}return!0},ee=function(a){return a},uha=function(){return tha(Wc.apply(0,arguments))},tha=function(a){return 0===a.length?
ee:1===a.length?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},vha=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},wha=function(a){a||(a=fe.Promise||Promise);if(!a)throw Error("Ea");return a},xha=function(a){return new ge(function(b){return a.schedule(function(){return b.complete()})})},yha=function(a,b){return new ge(function(c){var d=new be,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||
d.add(this.schedule()))}));return d})},he=function(a,b){return b?yha(a,b):new ge(zha(a))},ie=function(a){return a&&"function"===typeof a.schedule},Aha=function(){var a=Wc.apply(0,arguments),b=a[a.length-1];return ie(b)?(a.pop(),yha(a,b)):he(a)},Bha=function(a){a.subscriber.error(a.error)},je=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("Fa");},Cha=function(a,b,c){if(a&&"function"===typeof a.lift)return a.lift.call(b,c);throw new TypeError("Fa");},ke=function(){return function(a){return je(a,
new Dha)}},D=function(a){return function(b){if("function"!==typeof a)throw new TypeError("Ga");return je(b,new Eha(a))}},Fha=function(a,b,c){if(b)if(ie(b))c=b;else return function(){return Fha(a,c).apply(null,ad(Wc.apply(0,arguments))).pipe(D(function(d){return le(d)?b.apply(null,ad(d)):b(d)}))};return function(){var d=Wc.apply(0,arguments),e=this,g,h={context:e,subject:void 0,callbackFunc:a,scheduler:c};return new ge(function(m){if(c)return c.schedule(Gha,0,{args:d,subscriber:m,params:h});if(!g){g=
new me;var r=function(){var v=Wc.apply(0,arguments);g.next(1>=v.length?v[0]:v);g.complete()};try{a.apply(e,[].concat(ad(d),[r]))}catch(v){sha(g)?g.error(v):console.warn(v)}}return g.subscribe(m)})}},Gha=function(a){var b=this,c=a.args,d=a.subscriber,e=a.params;a=e.callbackFunc;var g=e.context,h=e.scheduler,m=e.subject;if(!m){m=e.subject=new me;e=function(){var r=Wc.apply(0,arguments);b.add(h.schedule(Hha,0,{value:1>=r.length?r[0]:r,subject:m}))};try{a.apply(g,[].concat(ad(c),[e]))}catch(r){m.error(r)}}this.add(m.subscribe(d))},
Hha=function(a){var b=a.subject;b.next(a.value);b.complete()},Iha=function(a,b,c){if(b)if(ie(b))c=b;else return function(){return Iha(a,c).apply(null,ad(Wc.apply(0,arguments))).pipe(D(function(d){return le(d)?b.apply(null,ad(d)):b(d)}))};return function(){var d=Wc.apply(0,arguments),e={subject:void 0,args:d,callbackFunc:a,scheduler:c,context:this};return new ge(function(g){var h=e.context,m=e.subject;if(c)return c.schedule(Jha,0,{params:e,subscriber:g,context:h});if(!m){m=e.subject=new me;var r=function(){var v=
Wc.apply(0,arguments),y=v.shift();y?m.error(y):(m.next(1>=v.length?v[0]:v),m.complete())};try{a.apply(h,[].concat(ad(d),[r]))}catch(v){sha(m)?m.error(v):console.warn(v)}}return m.subscribe(g)})}},Jha=function(a){var b=this,c=a.params,d=a.subscriber;a=a.context;var e=c.callbackFunc,g=c.args,h=c.scheduler,m=c.subject;if(!m){m=c.subject=new me;c=function(){var r=Wc.apply(0,arguments),v=r.shift();v?b.add(h.schedule(Kha,0,{err:v,subject:m})):b.add(h.schedule(Lha,0,{value:1>=r.length?r[0]:r,subject:m}))};
try{e.apply(a,[].concat(ad(g),[c]))}catch(r){this.add(h.schedule(Kha,0,{err:r,subject:m}))}}this.add(m.subscribe(d))},Lha=function(a){var b=a.subject;b.next(a.value);b.complete()},Kha=function(a){a.subject.error(a.err)},Mha=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},Oha=function(a){return function(b){Nha(a,b).catch(function(c){return b.error(c)})}},Nha=function(a,b){var c,d,e,g,h,m;return ne(function(r){switch(r.nextAddress){case 1:oe(r,2,3);var v=a[Symbol.asyncIterator];
g=void 0!==v?v.call(a):new Pha(k(a));case 5:return r.yield(g.next(),8);case 8:d=r.yieldResult;if(d.done){r.jumpTo(3);break}h=d.value;b.next(h);r.jumpTo(5);break;case 3:pe(r);r.catchAddress_=0;r.finallyAddress_=9;if(!d||d.done||!(e=g.return)){r.jumpTo(9);break}return r.yield(e.call(g),9);case 9:pe(r,0,0,1);if(c)throw c.error;qe(r,10,1);break;case 10:qe(r,4);break;case 2:m=re(r);c={error:m};r.jumpTo(3);break;case 4:b.complete(),se(r)}})},te=function(a,b){if(!b.closed)return a instanceof ge?a.subscribe(b):
Qha(a)(b)},Rha=function(a,b){if(!a)throw Error("Ja");return new ge(function(c){var d=new be;d.add(b.schedule(function(){var e=a[Symbol.asyncIterator]();d.add(b.schedule(function(){var g=this;e.next().then(function(h){h.done?c.complete():(c.next(h.value),g.schedule())})}))}));return d})},Sha=function(a,b){if(!a)throw Error("Ja");return new ge(function(c){var d=new be,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});d.add(b.schedule(function(){e=a[ue]();d.add(b.schedule(function(){if(!c.closed){try{var g=
e.next();var h=g.value;var m=g.done}catch(r){c.error(r);return}m?c.complete():(c.next(h),this.schedule())}}))}));return d})},Tha=function(a,b){return new ge(function(c){var d=new be;d.add(b.schedule(function(){var e=a[ve]();d.add(e.subscribe({next:function(g){d.add(b.schedule(function(){return c.next(g)}))},error:function(g){d.add(b.schedule(function(){return c.error(g)}))},complete:function(){d.add(b.schedule(function(){return c.complete()}))}}))}));return d})},Uha=function(a,b){return new ge(function(c){var d=
new be;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})},Wha=function(a,b){if(null!=a){if(a&&"function"===typeof a[ve])return Tha(a,b);if(Mha(a))return Uha(a,b);if(Vha(a))return yha(a,b);if(a&&"function"===typeof a[ue]||"string"===typeof a)return Sha(a,b);if(Symbol&&Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return Rha(a,
b)}throw new TypeError("Ka`"+(null!==a&&typeof a||a));},we=function(a,b){return b?Wha(a,b):a instanceof ge?a:new ge(Qha(a))},xe=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(xe(function(e,g){return we(a(e,g)).pipe(D(function(h,m){return b(e,h,g,m)}))},c))};"number"===typeof b&&(c=b);return function(d){return je(d,new Xha(a,c))}},ye=function(a){a=void 0===a?Infinity:a;return xe(ee,a)},ze=function(){return ye(1)(Aha.apply(null,ad(Wc.apply(0,arguments))))},
Yha=function(a){return new ge(function(b){try{var c=a()}catch(d){b.error(d);return}return we(c).subscribe(b)})},aia=function(a){return new ge(function(b){var c=a||Zha,d=c.now(),e=function(h){var m=c.now();b.next({timestamp:a?m:h,elapsed:m-d});b.closed||(g=$ha(e))};var g=$ha(e);return function(){return g.unsubscribe()}})},bia=function(a,b){return new ge(function(c){var d=a.length;if(0===d)c.complete();else for(var e=Array(d),g=0,h=0,m={$jscomp$loop$prop$i$m317803966$2:0};m.$jscomp$loop$prop$i$m317803966$2<
d;m={$jscomp$loop$prop$hasValue$m317803966$3:m.$jscomp$loop$prop$hasValue$m317803966$3,$jscomp$loop$prop$i$m317803966$2:m.$jscomp$loop$prop$i$m317803966$2},m.$jscomp$loop$prop$i$m317803966$2++){var r=we(a[m.$jscomp$loop$prop$i$m317803966$2]);m.$jscomp$loop$prop$hasValue$m317803966$3=!1;c.add(r.subscribe({next:function(v){return function(y){v.$jscomp$loop$prop$hasValue$m317803966$3||(v.$jscomp$loop$prop$hasValue$m317803966$3=!0,h++);e[v.$jscomp$loop$prop$i$m317803966$2]=y}}(m),error:function(v){return c.error(v)},
complete:function(v){return function(){g++;g!==d&&v.$jscomp$loop$prop$hasValue$m317803966$3||(h===d&&c.next(b?b.reduce(function(y,A,G){return y[A]=e[G],y},{}):e),c.complete())}}(m)}))}})},cia=function(a,b,c,d){ae(c)&&(d=c,c=void 0);return d?cia(a,b,c).pipe(D(function(e){return le(e)?d.apply(null,ad(e)):d(e)})):new ge(function(e){dia(a,b,function(g){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):e.next(g)},e,c)})},dia=function(a,b,c,d,e){if(a&&"function"===typeof a.addEventListener&&
"function"===typeof a.removeEventListener){a.addEventListener(b,c,e);var g=function(){return a.removeEventListener(b,c,e)}}else if(a&&"function"===typeof a.on&&"function"===typeof a.off)a.on(b,c),g=function(){return a.off(b,c)};else if(a&&"function"===typeof a.addListener&&"function"===typeof a.removeListener)a.addListener(b,c),g=function(){return a.removeListener(b,c)};else if(a&&a.length)for(var h=0,m=a.length;h<m;h++)dia(a[h],b,c,d,e);else throw new TypeError("La");d.add(g)},eia=function(a,b,c){return c?
eia(a,b).pipe(D(function(d){return le(d)?c.apply(null,ad(d)):c(d)})):new ge(function(d){var e=function(){var h=Wc.apply(0,arguments);return d.next(1===h.length?h[0]:h)};try{var g=a(e)}catch(h){d.error(h);return}if(ae(b))return function(){return b(e,g)}})},fia=function(a){var b=a.subscriber,c=a.condition;if(!b.closed){if(a.needIterate)try{a.state=a.iterate(a.state)}catch(g){b.error(g);return}else a.needIterate=!0;if(c){try{var d=c(a.state)}catch(g){b.error(g);return}if(!d){b.complete();return}if(b.closed)return}try{var e=
a.resultSelector(a.state)}catch(g){b.error(g);return}if(!b.closed&&(b.next(e),!b.closed))return this.schedule(a)}},gia=function(a){return!le(a)&&0<=a-parseFloat(a)+1},hia=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)},Ae=function(){},iia=function(){var a=Wc.apply(0,arguments);if(0===a.length)return Be;var b=k(a),c=b.next().value,d=Ce(b);return 1===a.length&&le(c)?iia.apply(null,ad(c)):new ge(function(e){var g=function(){return e.add(iia.apply(null,
ad(d)).subscribe(e))};return we(c).subscribe({next:function(h){e.next(h)},error:g,complete:g})})},jia=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 g=b[c];d.next([g,a[g]]);e.add(this.schedule({keys:b,index:c+1,subscriber:d,subscription:e,obj:a}))}else d.complete()},De=function(a,b){return function(c){return je(c,new kia(a,b))}},lia=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},nia=function(){var a=
Wc.apply(0,arguments);if(1===a.length)if(le(a[0]))a=a[0];else return we(a[0]);return je(he(a),new mia)},oia=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)))},pia=function(a){return a instanceof Date&&!isNaN(a)},ria=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(ie(b)?c=b:d=b);ie(c)||(c=Ee);return new ge(function(e){var g=Math.max(0,pia(a)?+a-c.now():a);return c.schedule(qia,g,{counter:0,period:d,subscriber:e})})},
qia=function(a){var b=a.period,c=a.subscriber,d=a.counter++;c.next(d);if(!c.closed){if(0>b)return c.complete();this.schedule(a,b)}},Fe=function(a){var b;return function(c){var d=void 0,e=void 0,g=null,h;b=null!=(h=b)?h:Ee;if(pia(a))var m=a;else if("number"===typeof a)d=a;else{m=a.first;d=a.each;e=a.with;b=a.scheduler||Ee;var r;g=null!=(r=a.meta)?r:null}var v;e=null!=(v=e)?v:sia;if(null==m&&null==d)throw new TypeError("Na");return je(c,function(y){var A=this,G=new be,N,Q=null,Z=null,Y=0,ea=function(ja){G.add(Q=
b.schedule(function(){var va={meta:g,lastValue:Z,seen:Y};try{var za=we(e(va))}catch(Pa){A.error(Pa);return}N.unsubscribe();G.add(za.subscribe(A))},ja))};G.add(N=y.subscribe({next:function(ja){var va;null==(va=Q)||va.unsubscribe();Q=null;Y++;Z=ja;null!=d&&0<d&&ea(d);A.next(ja)},error:function(ja){return A.error(ja)},complete:function(){return A.complete()}}));y=null!=m?"number"===typeof m?m:+m-b.now():d;ea(y);return G})}},sia=function(a){throw new tia(a);},via=function(a){return a in uia?(delete uia[a],
!0):!1},wia=function(a){return function(b){setTimeout(a,void 0,b)}},xia=function(){},zia=function(a){return function(b){return je(b,new yia(a))}},Ge=function(a,b){b=void 0===b?Ee:b;return zia(function(){return ria(a,b)})},Bia=function(a){return function(b){return je(b,new Aia(a))}},Ie=function(a){return function(b){return je(b,function(c){var d=this,e=new be,g=null,h=!1,m;g=c.subscribe({next:function(r){return d.next(r)},error:function(r){try{m=we(a(r,Ie(a)(c)))}catch(v){d.error(v)}m&&(g?(g.unsubscribe(),
g=null,e.add(m.subscribe(d))):h=!0)},complete:function(){return d.complete()}});h?(g.unsubscribe(),g=null,e.add(m.subscribe(d))):e.add(g);return e})}},Dia=function(){var a=Wc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&le(a[0])&&(a=a[0].slice());return function(c){return Cha(c,we([c].concat(ad(a))),new Cia(b))}},Je=function(){return Dia.apply(null,ad(Wc.apply(0,arguments)))},Eia=function(){var a=Wc.apply(0,arguments);return function(b){return Cha(b,ze.apply(null,
[b].concat(ad(a))))}},Fia=function(){var a=Wc.apply(0,arguments);return function(b){return Cha(b,ze.apply(null,[b].concat(ad(a))))}},Hia=function(a){return function(b){return je(b,new Gia(a))}},Ke=function(a,b){b=void 0===b?Ee:b;return function(c){return je(c,new Iia(a,b))}},Lia=function(a){Jia(a)},Le=function(a){a=void 0===a?null:a;return function(b){return je(b,new Mia(a))}},Me=function(a,b){b=void 0===b?Ee:b;var c=pia(a)?+a-b.now():Math.abs(a);return function(d){return je(d,new Nia(c,b))}},Ne=
function(a){return function(b){return je(b,new Oia(a))}},Oe=function(){if(isNaN(1))throw new TypeError("Oa");return function(a){return je(a,new Pia)}},Sia=function(a){a=void 0===a?Qia:a;return function(b){return je(b,new Ria(a))}},Qia=function(){return new Pe},Qe=function(a){return function(b){return je(b,new Tia(a))}},Re=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?De(function(e,g){return a(e,g,d)}):ee,Oe(),c?Le(b):Sia(function(){return new Pe}))}},Via=function(){return function(a){return je(a,
new Uia)}},Se=function(){if(isNaN(1))throw new TypeError("Oa");return function(a){return je(a,new Wia)}},Xia=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?De(function(e,g){return a(e,g,d)}):ee,Se(),c?Le(b):Sia(function(){return new Pe}))}},Te=function(a){return function(b){return je(b,new Yia(a))}},Ue=function(a,b){var c=!1;2<=arguments.length&&(c=!0);return function(d){return je(d,new Zia(a,b,c))}},$ia=function(a,b){return 2<=arguments.length?function(c){return uha(Ue(a,
b),Se(),Le(b))(c)}:function(c){return uha(Ue(function(d,e,g){return a(d,e,g+1)}),Se())(c)}},bja=function(a){return function(b){var c="function"===typeof a?a:function(){return a};var d=Object.create(b,aja);d.source=b;d.subjectFactory=c;return d}},cja=function(){var a=new Ve(1,void 0,void 0);return function(b){return bja(function(){return a})(b)}},dja=function(){var a=Wc.apply(0,arguments);return function(b){return 0===a.length?b:Cha(b,nia.apply(null,[b].concat(ad(a))))}},eja=function(){return new We},
Xe=function(){return function(a){return ke()(bja(eja)(a))}},Ye=function(a){var b;a&&"object"===typeof a?b=a:b={bufferSize:a,windowTime:void 0,refCount:!1,scheduler:void 0};return function(c){return je(c,fja(b))}},fja=function(a){var b=void 0===a.bufferSize?Infinity:a.bufferSize,c=void 0===a.windowTime?Infinity:a.windowTime,d=a.refCount,e=a.scheduler,g,h=0,m;return function(r){h++;if(g)var v=g.subscribe(this);else g=new Ve(b,c,e),v=g.subscribe(this),m=r.subscribe({next:function(y){g.next(y)},error:function(y){var A=
g;g=m=void 0;A.error(y)},complete:function(){m=void 0;g.complete()}}),m.closed&&(m=void 0);this.add(function(){h--;v.unsubscribe();d&&0===h&&m&&(m.unsubscribe(),g=m=void 0)})}},Ze=function(a){return function(b){return je(b,new gja(a))}},$e=function(){var a=Wc.apply(0,arguments),b=a[a.length-1];return ie(b)?(a.pop(),function(c){return ze(a,c,b)}):function(c){return ze(a,c)}},af=function(a){return function(b){return je(b,new hja(a))}},bf=function(a){return function(b){return je(b,new ija(a))}},kja=
function(a){var b=void 0===b?!1:b;return function(c){return je(c,new jja(a,b))}},cf=function(a,b){return function(c){return je(c,new lja(a,b))}},oja=function(a){var b=void 0===b?mja:b;return function(c){return je(c,new nja(a,!!b.leading,!!b.trailing))}},pja=function(a,b,c){if(0===c)return[b];a.push(b);return a},df=function(){var a=Wc.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return je(b,new qja(a,c))}},rja=function(a){if(0==a._nesting&&!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}}},tja=function(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Nd,function(){a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){a.lastRequestAnimationFrameId=-1;sja(a);a.isCheckStableRunning=
!0;rja(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));a.fakeTopEventTask.invoke()}),sja(a))},vja=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(b,c,d,e,g,h){try{return uja(a),b.invokeTask(d,e,g,h)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===e.type||a.shouldCoalesceRunChangeDetection)&&tja(a),a._nesting--,rja(a)}},onInvoke:function(b,c,d,e,g,h,m){try{return uja(a),b.invoke(d,e,g,h,m)}finally{a.shouldCoalesceRunChangeDetection&&
tja(a),a._nesting--,rja(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,sja(a),rja(a)):"macroTask"==e.change&&(a.hasPendingMacrotasks=e.macroTask))},onHandleError:function(b,c,d,e){b.handleError(d,e);a.runOutsideAngular(function(){return a.onError.emit(e)});return!1}})},sja=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId?
!0:!1},uja=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},yja=function(){var a=Hc(ef),b=!0;return(0,E.merge)(new E.Observable(function(c){b=a.isStable&&!a.hasPendingMacrotasks&&!a.hasPendingMicrotasks;a.runOutsideAngular(function(){c.next(b);c.complete()})}),(new E.Observable(function(c){var d;a.runOutsideAngular(function(){d=a.onStable.subscribe(function(){wja();queueMicrotask(function(){b||a.hasPendingMacrotasks||a.hasPendingMicrotasks||(b=!0,c.next(!0))})})});var e=
a.onUnstable.subscribe(function(){if(!xja())throw new Ac(909,!1);b&&(b=!1,a.runOutsideAngular(function(){c.next(!1)}))});return function(){d.unsubscribe();e.unsubscribe()}})).pipe(Xe()))},Aja=function(a){var b;null==(b=a.get(zja,null))||b.forEach(function(c){return c()})},Eja=function(a,b,c){c=void 0===c?[]:c;var d="Platform: "+b,e=new Zc(d);return function(g){g=void 0===g?[]:g;var h=Bja();if(!h||h.injector.get(Cja,!1))if(g=[].concat(ad(c),ad(g),[{provide:e,useValue:!0}]),a)a(g);else{g=Dja(g,d);if(ff&&
!ff.get(Cja,!1))throw new Ac(400,!1);ff=g;g.get(gf);Aja(g)}g=Bja();if(!g)throw new Ac(401,!1);return g}},Dja=function(a,b){a=void 0===a?[]:a;return hf({name:b,providers:[{provide:Fja,useValue:"platform"},{provide:Gja,useValue:new Set([function(){return ff=null}])}].concat(ad(a))})},Bja=function(){var a,b;return null!=(b=null==(a=ff)?void 0:a.get(gf))?b:null},Hja=function(a){var b,c;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!=(b=null==a?void 0:a.eventCoalescing)?b:!1,shouldCoalesceRunChangeDetection:null!=
(c=null==a?void 0:a.runCoalescing)?c:!1}},Ija=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new jf:"zone.js"===a?new ef(b):a},Jja=function(a,b,c){try{var d=c();return Yd(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;}},Kja=function(a,b){return Array.isArray(b)?b.reduce(Kja,a):Object.assign({},a,b)},Lja=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},Mja=function(){var a=
Hc(ef),b=Hc(Wd);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},Pja=function(a){return[{provide:ef,useFactory:a},{provide:Hea,multi:!0,useFactory:function(){var b=Hc(kf,{optional:!0});return function(){return b.initialize()}}},{provide:Nja,useFactory:Mja},{provide:Oja,useFactory:yja}]},lf=function(a){for(var b=Object.getPrototypeOf(a.type.prototype).constructor,c=!0,d=[a];b;){if(a.template)var e=b.\u0275cmp||b.\u0275dir;else{if(b.\u0275cmp)throw new Ac(903,!1);
e=b.\u0275dir}if(e){if(c){d.push(e);var g=a;g.inputs=Qja(a.inputs);g.inputTransforms=Qja(a.inputTransforms);g.declaredInputs=Qja(a.declaredInputs);g.outputs=Qja(a.outputs);var h=e.hostBindings;h&&Rja(a,h);h=e.viewQuery;var m=e.contentQueries;h&&Sja(a,h);m&&Tja(a,m);Qda(a.inputs,e.inputs);Qda(a.declaredInputs,e.declaredInputs);Qda(a.outputs,e.outputs);null!==e.inputTransforms&&(null===g.inputTransforms&&(g.inputTransforms={}),Qda(g.inputTransforms,e.inputTransforms));e.template&&e.data.animation&&
(g=a.data,g.animation=(g.animation||[]).concat(e.data.animation))}if(e=e.features)for(g=0;g<e.length;g++)(h=e[g])&&h.ngInherit&&h(a),h===lf&&(c=!1)}b=Object.getPrototypeOf(b)}a=0;b=null;for(c=d.length-1;0<=c;c--)e=d[c],e.hostVars=a+=e.hostVars,e.hostAttrs=Jc(e.hostAttrs,b=Jc(b,e.hostAttrs))},Qja=function(a){return a===Pc?{}:a===Lc?[]:a},Sja=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},Tja=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,g){b(d,
e,g);c(d,e,g)}:b},Rja=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},Vja=function(a){return Uja(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Wja=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)},Uja=function(a){return null!==a&&("function"===typeof a||"object"===typeof a)},mf=function(a,b,c){return a[b]=c},nf=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=
c;return!0},of=function(a,b,c,d){c=nf(a,b,c);return nf(a,b+1,d)||c},pf=function(a,b,c,d){var e=w(),g=jd.bindingIndex++;nf(e,g,b)&&(g=od(),Uga(g,e,a,b,c,d));return pf},qf=function(a,b,c,d){return nf(a,jd.bindingIndex++,c)?b+yc(c)+d:Ud},Xja=function(a,b,c,d,e,g){a=of(a,jd.bindingIndex,c,e);nd(2);return a?b+yc(c)+d+yc(e)+g:Ud},rf=function(a,b,c,d,e,g){var h=w();b=qf(h,b,c,d);b!==Ud&&(c=od(),Uga(c,h,a,b,e,g));return rf},sf=function(a,b,c,d,e,g,h,m){var r=w();b=Xja(r,b,c,d,e,g);b!==Ud&&(c=od(),Uga(c,r,
a,b,h,m));return sf},Yja=function(a,b,c,d,e,g,h,m,r,v){var y=w();var A=jd.bindingIndex;var G=of(y,A,c,e);A=nf(y,A+2,h)||G;nd(3);b=A?b+yc(c)+d+yc(e)+g+yc(h)+m:Ud;b!==Ud&&(c=od(),Uga(c,y,a,b,r,v));return Yja},F=function(a,b,c){var d=w(),e=jd.bindingIndex++;if(nf(d,e,b)){e=jd.tView;var g=od();Vd(e,g,d,a,b,d[11],c,!1)}return F},Zja=function(a,b,c,d,e){e=e?"class":"style";Qga(a,c,b.inputs[e],e,d)},$ja=function(a,b,c,d){for(var e=a[c+1],g=null===b,h=d?e>>17&32767:(e&131068)>>2,m=!1;0!==h&&(!1===m||g);){var r=
a[h+1],v=a[h],y=b;if(null===v||null==y||(Array.isArray(v)?v[1]:v)===y||Array.isArray(v)&&"string"===typeof y&&0<=Uc(v,y))m=!0,a[h+1]=d?r|1:r|2;h=d?r>>17&32767:(r&131068)>>2}m&&(a[c+1]=d?e|2:e|1)},aka=function(a,b){var c=tf;if(c===b)return-1;for(b=uf=b;b<c&&32<a.charCodeAt(b);)b++;b=vf=b;return wf(a,b,c)},fka=function(a,b){var c=tf;b=uf=wf(a,b,c);if(c===b)return-1;for(var d;b<c&&(45===(d=a.charCodeAt(b))||95===d||65<=(d&-33)&&90>=(d&-33)||48<=d&&57>=d);)b++;b=vf=b;b=bka(a,b,c);d=b=cka=wf(a,b,c);for(var e=
b=-1,g=-1,h=d,m=h;h<c;){var r=a.charCodeAt(h++);if(59===r)break;else 34===r||39===r?m=h=dka(a,r,h,c):d===h-4&&85===g&&82===e&&76===b&&40===r?m=h=dka(a,41,h,c):32<r&&(m=h);g=e;e=b;b=r&-33}b=eka=m;return bka(a,b,c)},wf=function(a,b,c){for(;b<c&&32>=a.charCodeAt(b);)b++;return b},bka=function(a,b,c){b=wf(a,b,c);b<c&&b++;return b},dka=function(a,b,c,d){for(var e=-1;c<d;){var g=a.charCodeAt(c++);if(g==b&&92!==e)return c;e=92==g&&92===e?0:g}throw Error();},xf=function(a,b,c){gka(a,b,c,!1);return xf},yf=
function(a,b){gka(a,b,null,!0);return yf},ika=function(a,b){var c;eka=cka=vf=uf=0;tf=b.length;for(c=fka(b,wf(b,0,tf));0<=c;c=fka(b,c))hka(a,b.substring(uf,vf),b.substring(cka,eka))},zf=function(a){jka(kka,lka,a,!0)},lka=function(a,b){var c;eka=cka=vf=uf=0;tf=b.length;for(c=aka(b,wf(b,0,tf));0<=c;c=aka(b,c))Vc(a,b.substring(uf,vf),!0)},gka=function(a,b,c,d){var e=w(),g=jd.tView,h=nd(2);g.firstUpdatePass&&mka(g,a,h,d);if(b!==Ud&&nf(e,h,b)){var m=g.data[jd.selectedIndex],r=e[11];null!=b&&""!==b&&("string"===
typeof c?b+=c:"object"===typeof b&&(b=zc(Ld(b))));nka(g,m,e,r,a,e[h+1]=b,d,h)}},jka=function(a,b,c,d){var e=jd.tView,g=nd(2);e.firstUpdatePass&&mka(e,null,g,d);var h=w();if(c!==Ud&&nf(h,g,c)){var m=e.data[jd.selectedIndex];if(0===(m.flags&(d?8:16))||g>=e.expandoStartIndex){var r=h[11],v=h[g+1];if(null==c||""===c)a=Lc;else{var y=[];c=Ld(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(y,c[b],!0);else if("object"===typeof c)for(var A in c)c.hasOwnProperty(A)&&a(y,A,c[A]);else"string"===typeof c&&b(y,
c);a=y}a=h[g+1]=a;v===Ud&&(v=Lc);b=y=0;c=0<v.length?v[0]:null;for(A=0<a.length?a[0]:null;null!==c||null!==A;){var G=y<v.length?v[y+1]:void 0,N=b<a.length?a[b+1]:void 0,Q=null,Z=void 0;c===A?(y+=2,b+=2,G!==N&&(Q=A,Z=N)):null===A||null!==c&&c<A?(y+=2,Q=c):(b+=2,Q=A,Z=N);null!==Q&&nka(e,m,h,r,Q,Z,d,g);c=y<v.length?v[y]:null;A=b<a.length?a[b]:null}}else g=d?m.classesWithoutHost:m.stylesWithoutHost,null!==g&&(c=Yda(g,c?c:"")),Zja(e,m,h,c,d)}},mka=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var g=
e[jd.selectedIndex];a=c>=a.expandoStartIndex;0!==(g.flags&(d?8:16))&&null===b&&!a&&(b=!1);var h=$ea(e),m=d?g.residualClasses:g.residualStyles;if(null===h)0===(d?g.classBindings:g.styleBindings)&&(b=oka(null,e,g,b,d),b=Af(b,g.attrs,d),m=null);else{var r=g.directiveStylingLast;if(-1===r||e[r]!==h)if(b=oka(h,e,g,b,d),null===m)h=d?g.classBindings:g.styleBindings,h=0!==(h&131068)>>2?e[h>>17&32767]:void 0,void 0!==h&&Array.isArray(h)&&(h=oka(null,e,g,h[1],d),h=Af(h,g.attrs,d),e[(d?g.classBindings:g.styleBindings)>>
17&32767]=h);else{m=void 0;h=g.directiveEnd;for(r=1+g.directiveStylingLast;r<h;r++)m=Af(m,e[r].hostAttrs,d);m=Af(m,g.attrs,d)}}void 0!==m&&(d?g.residualClasses=m:g.residualStyles=m);r=b;m=d?g.classBindings:g.styleBindings;b=m>>17&32767;m=(m&131068)>>2;e[c]=r;var v=!1;if(Array.isArray(r)){if(h=r[1],null===h||0<Uc(r,h))v=!0}else h=r;a?0!==m?(a=e[b+1]>>17&32767,e[c+1]=a<<17|b<<2,0!==a&&(e[a+1]=e[a+1]&-131069|c<<2),e[b+1]=e[b+1]&131071|c<<17):(e[c+1]=b<<17|0,0!==b&&(e[b+1]=e[b+1]&-131069|c<<2),b=c):(e[c+
1]=m<<17|0,0===b?b=c:e[m+1]=e[m+1]&-131069|c<<2,m=c);v&&(e[c+1]=e[c+1]|2);$ja(e,h,c,!0);$ja(e,h,c,!1);a=d?g.residualClasses:g.residualStyles;null!=a&&"string"==typeof h&&0<=Uc(a,h)&&(e[c+1]=e[c+1]|1);m=b<<17|m<<2;d?g.classBindings=m:g.styleBindings=m}},oka=function(a,b,c,d,e){var g=c.directiveEnd,h=c.directiveStylingLast;for(-1===h?h=c.directiveStart:h++;h<g;){var m=b[h];d=Af(d,m.hostAttrs,e);if(m===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},Af=function(a,b,c){var d=c?1:2,e=-1;if(null!==
b)for(var g=0;g<b.length;g++){var h=b[g];"number"===typeof h?e=h:e===d&&(Array.isArray(a)||(a=void 0===a?[]:["",a]),Vc(a,h,c?!0:b[++g]))}return void 0===a?null:a},hka=function(a,b,c){Vc(a,b,Ld(c))},kka=function(a,b,c){b=String(b);""===b||b.includes(" ")||Vc(a,b,c)},nka=function(a,b,c,d,e,g,h,m){if(b.type&3){a=a.data;var r=a[m+1];void 0===(1===(r&1)?pka(a,b,c,e,(r&131068)>>2,h):void 0)&&(void 0!==g||2==(r&2)&&(g=pka(a,null,c,e,m,h)),b=fd(c[jd.selectedIndex]),h?g?d.addClass(b,e):d.removeClass(b,e):
(h=-1===e.indexOf("-")?void 0:2,null==g?d.removeStyle(b,e,h):("string"===typeof g&&g.endsWith("!important")&&(g=g.slice(0,-10),h|=1),d.setStyle(b,e,g,h))))}},pka=function(a,b,c,d,e,g){for(var h=null===b,m=void 0;0<e;){var r=a[e],v=Array.isArray(r),y=v?r[1]:r,A=null===y,G=c[e+1];G===Ud&&(G=A?Lc:void 0);y=A?Aea(G,d):y===d?G:void 0;v&&void 0===y&&(y=Aea(r,d));if(void 0!==y&&(m=y,h))return m;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}null!==b&&(a=g?b.residualClasses:b.residualStyles,null!=a&&(m=Aea(a,d)));
return m},Bf=function(a,b,c){a=qf(w(),a,b,c);jka(Vc,lka,a,!0)},H=function(a,b,c,d){var e=w(),g=jd.tView,h=25+a;a=e[11];if(g.firstCreatePass){var m=g.consts;c=id(m,c);c=Td(g,h,2,b,c);Tga(g,e,c,id(m,d));null!==c.attrs&&aha(c,c.attrs,!1);null!==c.mergedAttrs&&aha(c,c.mergedAttrs,!0);null!==g.queries&&g.queries.elementStart(g,c);m=c}else m=g.data[h];Cf=!0;b=a.createElement(b,jd.currentNamespace);e[h]=b;h=1===(m.flags&1);ld(m,!0);$fa(a,b,m);32!==(m.flags&32)&&Cf&&Wfa(g,e,b,m);0===jd.elementDepthCount&&
Dd(b,e);jd.elementDepthCount++;h&&(Mga(g,e,m),Hga(g,m,e));null!==d&&Nga(e,m);return H},I=function(){var a=kd();jd.isParent?jd.isParent=!1:(a=a.parent,ld(a,!1));var b=a;Ega===b&&(Ega=null);jd.elementDepthCount--;var c=jd.tView;c.firstCreatePass&&(ifa(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=b.classesWithoutHost&&0!==(b.flags&8)&&Zja(c,b,w(),b.classesWithoutHost,!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&Zja(c,b,w(),b.stylesWithoutHost,!1);return I},J=function(a,b,c,d){H(a,b,c,d);
I();return J},K=function(a,b,c){var d=w(),e=jd.tView;a+=25;if(e.firstCreatePass){var g=e.consts;var h=id(g,b);b=Td(e,a,8,"ng-container",h);null!==h&&aha(b,h,!0);g=id(g,c);Tga(e,d,b,g);null!==e.queries&&e.queries.elementStart(e,b);g=b}else g=e.data[a];ld(g,!0);Cf=!0;b=d[11].createComment(Qfa());d[a]=b;Cf&&Wfa(e,d,b,g);Dd(b,d);1===(g.flags&1)&&(Mga(e,d,g),Hga(e,g,d));null!=c&&Nga(d,g);return K},L=function(){var a=kd(),b=jd.tView;jd.isParent?jd.isParent=!1:(a=a.parent,ld(a,!1));b.firstCreatePass&&(ifa(b,
a),0!==(a.flags&4)&&b.queries.elementEnd(a));return L},Df=function(a,b,c){K(a,b,c);L();return Df},Ef=function(a,b,c){var d=w(),e=jd.bindingIndex++;if(nf(d,e,b)){e=jd.tView;var g=od();Vd(e,g,d,a,b,d[11],c,!0)}return Ef},Ff=function(a,b,c){var d=w(),e=jd.bindingIndex++;if(nf(d,e,b)){e=jd.tView;var g=od(),h=Xga($ea(e.data),g,d);Vd(e,g,d,a,b,h,c,!0)}return Ff},M=function(a,b,c,d){c=w();qka(jd.tView,c,c[11],kd(),a,b,d);return M},rka=function(a,b){var c=kd(),d=w(),e=jd.tView,g=Xga($ea(e.data),c,d);qka(e,
d,g,c,a,b);return rka},ska=function(a,b,c,d){a=a.cleanup;if(null!=a)for(var e=0;e<a.length-1;e+=2){var g=a[e];if(g===c&&a[e+1]===d)return b=b[7],c=a[e+2],b.length>c?b[c]:null;"string"===typeof g&&(e+=2)}return null},qka=function(a,b,c,d,e,g,h){var m=1===(d.flags&1),r=a.firstCreatePass&&(a.cleanup||(a.cleanup=[])),v=b[7]||(b[7]=[]),y=!0;if(d.type&3||h){var A=gd(d,b),G=h?h(A):A;A=v.length;var N=h?function(Y){return h(fd(Y[d.index]))}:d.index,Q=null;!h&&m&&(Q=ska(a,b,e,d.index));null!==Q?((Q.__ngLastListenerFn__||
Q).__ngNextListenerFn__=g,Q.__ngLastListenerFn__=g,y=!1):(g=tka(d,b,g),a=c.listen(G,e,g),v.push(g,a),r&&r.push(e,N,A,A+1))}else g=tka(d,b,g);a=d.outputs;var Z;if(y&&null!==a&&(Z=a[e])&&(y=Z.length))for(a=0;a<y;a+=2)c=b[Z[a]][Z[a+1]].subscribe(g),m=v.length,v.push(g,c),r&&r.push(e,d.index,m,-(m+1))},uka=function(a,b,c){try{return!1!==b(c)}catch(d){return Yga(a,d),!1}finally{}},tka=function(a,b,c){return function g(e){if(e===Function)return c;var h=-1<a.componentOffset?hd(a.index,b):b;Lfa(h);h=uka(b,
c,e);for(var m=g.__ngNextListenerFn__;m;)h=uka(b,m,e)&&h,m=m.__ngNextListenerFn__;return h}},O=function(a){var b=jd;a=void 0===a?1:a;for(var c=jd.contextLView;0<a;)c=c[14],a--;return(b.contextLView=c)[8]},Gf=function(a){var b=w()[15][6];if(!b.projection){var c=b.projection=zea(a?a.length:1,null),d=c.slice();for(b=b.child;null!==b;){if(a)a:{var e=b;var g=a,h=null;b:{var m=e.attrs;if(null!=m){var r=m.indexOf(5);if(0===(r&1)){m=m[r+1];break b}}m=null}for(r=0;r<g.length;r++){var v=g[r];if("*"===v)h=r;
else{if(null===m)v=kea(e,v,!0);else b:{var y=0;c:for(;y<v.length;y++){var A=v[y];if(m.length===A.length){for(var G=0;G<m.length;G++)if(m[G]!==A[G])continue c;v=!0;break b}}v=!1}if(v){e=r;break a}}}e=h}else e=0;null!==e&&(d[e]?d[e].projectionNext=b:c[e]=b,d[e]=b);b=b.next}}},Hf=function(a,b,c){b=void 0===b?0:b;var d=w(),e=jd.tView;a=Td(e,25+a,16,null,c||null);null===a.projection&&(a.projection=b);jd.isParent=!1;d[22]&&null===Ega||32===(a.flags&32)||(b=d[11],e=Vfa(e,a.parent,d),c=a.parent||d[6],c=c.type&
40?gd(c,d):null,Zfa(b,0,d,a,e,c))},Jf=function(a,b,c){If(a,"",b,"",c);return Jf},If=function(a,b,c,d,e){var g=w();b=qf(g,b,c,d);b!==Ud&&(c=jd.tView,d=od(),Vd(c,d,g,a,b,g[11],e,!1));return If},Kf=function(a,b,c,d,e,g,h){var m=w();b=Xja(m,b,c,d,e,g);b!==Ud&&(c=jd.tView,d=od(),Vd(c,d,m,a,b,m[11],h,!1));return Kf},Lf=function(a){return jd.contextLView[25+a]},P=function(a,b,c,d,e,g,h,m){var r=w(),v=jd.tView,y=a+25;if(v.firstCreatePass){var A=v.consts;e=Td(v,y,4,e||null,id(A,g));Tga(v,r,e,id(A,h));ifa(v,
e);b=e.tView=Oga(2,e,b,c,d,v.directiveRegistry,v.pipeRegistry,null,v.schemas,A,null);null!==v.queries&&(v.queries.template(v,e),b.queries=v.queries.embeddedTView(e));b=e}else b=v.data[y];ld(b,!1);a=vka(v,r,b,a);Cf&&Wfa(v,r,a,b);Dd(a,r);Jga(r,r[y]=[a,!0,!1,r,null,0,b,a,null,null,null]);1===(b.flags&1)&&Mga(v,r,b);null!=h&&Nga(r,b,m)},wka=function(a,b){Cf=!0;return b[11].createComment("")},R=function(a,b){b=void 0===b?"":b;var c=w(),d=jd.tView;a+=25;var e=d.firstCreatePass?Td(d,a,1,b,null):d.data[a];
Cf=!0;b=c[11].createText(b);c[a]=b;Cf&&Wfa(d,c,b,e);ld(e,!1)},Nf=function(a){Mf("",a,"");return Nf},Mf=function(a,b,c){var d=w();a=qf(d,a,b,c);a!==Ud&&Zga(d,a);return Mf},Of=function(a,b,c,d,e){var g=w();a=Xja(g,a,b,c,d,e);a!==Ud&&Zga(g,a);return Of},xka=function(a,b,c,d,e,g,h,m,r){var v=w();var y=jd.bindingIndex;var A=of(v,y,b,d);y=of(v,y+2,g,m)||A;nd(4);a=y?a+yc(b)+c+yc(d)+e+yc(g)+h+yc(m)+r:Ud;a!==Ud&&Zga(v,a);return xka},yka=function(a,b,c,d,e){a=Dc(a);if(Array.isArray(a))for(var g=0;g<a.length;g++)yka(a[g],
b,c,d,e);else{g=jd.tView;var h=w(),m=Xc(a)?a:Dc(a.provide),r=Pea(a),v=kd(),y=v.providerIndexes&1048575,A=v.directiveStart,G=v.providerIndexes>>20;if(Xc(a)||!a.multi)d=new xd(r,e),r=zka(m,b,e?y:y+G,A),-1===r?(r=ufa(v,h),qfa(r,g,m),Aka(g,a,b.length),b.push(m),v.directiveStart++,v.directiveEnd++,e&&(v.providerIndexes+=1048576),c.push(d),h.push(d)):(c[r]=d,h[r]=d);else{A=zka(m,b,y+G,A);y=zka(m,b,y,y+G);var N=0<=A&&c[A];G=0<=y&&c[y];e&&!G||!e&&!N?(A=ufa(v,h),qfa(A,g,m),A=c.length,N=new xd(e?Bka:Cka,e),
N.multi=[],N.index=A,N.componentProviders=0,d&&!e&&N.componentProviders++,N.multi.push(r),!e&&G&&(c[y].providerFactory=N),Aka(g,a,b.length,0),b.push(m),v.directiveStart++,v.directiveEnd++,e&&(v.providerIndexes+=1048576),c.push(N),h.push(N)):(b=c[e?y:A],!e&&d&&b.componentProviders++,b=b.multi.push(r)-1,Aka(g,a,-1<A?A:y,b));!e&&d&&G&&c[y].componentProviders++}}},Aka=function(a,b,c,d){var e=Xc(b),g=!!b.useClass;if(e||g)if(g=(g?Dc(b.useClass):b).prototype.ngOnDestroy)a=a.destroyHooks||(a.destroyHooks=
[]),!e&&b.multi?(b=a.indexOf(c),-1===b?a.push(c,[d,g]):a[b+1].push(d,g)):a.push(c,g)},zka=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},Cka=function(){return Dka(this.multi,[])},Bka=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;d=wd(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);Dka(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],Dka(b,c);return c},Dka=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},
Pf=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var g=jd.tView;g.firstCreatePass&&(d=!!d.template,yka(b,g.data,g.blueprint,d,!0),yka(e,g.data,g.blueprint,d,!1))}}},Eka=function(a){a.getStandaloneInjector=function(b){b=b.get(Qf);if(a.standalone){if(!b.cachedInjectors.has(a)){var c=Bea(!1,a.type);c=0<c.length?kha([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a,c)}b=b.cachedInjectors.get(a)}else b=null;return b}},Rf=function(a,
b){a=md()+a;var c=w();return c[a]===Ud?mf(c,a,b()):c[a]},Sf=function(a,b,c){return Fka(w(),md(),a,b,c)},Tf=function(a,b,c,d){return Gka(w(),md(),a,b,c,d)},Uf=function(a,b,c,d){return Hka(w(),md(),2,a,b,c,d)},Jka=function(a,b,c,d,e,g){var h=Ika,m=md()+8,r=w();var v=of(r,m,a,b);v=of(r,m+2,c,d)||v;return of(r,m+4,e,g)||v?mf(r,m+6,h(a,b,c,d,e,g)):r[m+6]},Kka=function(a,b){a=a[b];return a===Ud?void 0:a},Fka=function(a,b,c,d,e,g){b+=c;return nf(a,b,e)?mf(a,b+1,g?d.call(g,e):d(e)):Kka(a,b+1)},Gka=function(a,
b,c,d,e,g,h){b+=c;return of(a,b,e,g)?mf(a,b+2,h?d.call(h,e,g):d(e,g)):Kka(a,b+2)},Hka=function(a,b,c,d,e,g,h,m){b+=c;c=of(a,b,e,g);return nf(a,b+2,h)||c?mf(a,b+3,m?d.call(m,e,g,h):d(e,g,h)):Kka(a,b+3)},S=function(a,b){var c=jd.tView;a+=25;if(c.firstCreatePass){a:{var d=c.pipeRegistry;if(d)for(var e=d.length-1;0<=e;e--){var g=d[e];if(b===g.name){b=g;break a}}b=void 0}c.data[a]=b;if(b.onDestroy){var h;(null!=(h=c.destroyHooks)?h:c.destroyHooks=[]).push(a,b.onDestroy)}}else b=c.data[a];h=b.factory||
(b.factory=Tc(b.type));b=Bc(C);try{var m=ofa(!1),r=h();ofa(m);var v=w();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=null);v[a]=r}finally{Bc(b)}},T=function(a,b,c){a+=25;var d=w(),e=d[a];return d[1].data[a].pure?Fka(d,md(),b,e.transform,c,e):e.transform(c)},Vf=function(a,b,c,d){a+=25;var e=w(),g=e[a];return e[1].data[a].pure?Gka(e,md(),b,g.transform,c,d,g):g.transform(c,d)},Wf=function(a,b,c,d,e){a+=25;var g=w(),h=g[a];return g[1].data[a].pure?Hka(g,md(),b,h.transform,c,d,e,h):h.transform(c,d,
e)},Lka=function(){return this._results[Symbol.iterator]()},Nka=function(){return Mka(kd(),w())},Mka=function(a,b){return a.type&4?new Xf(b,a,Cd(a,b)):null},Pka=function(){return Oka(kd(),w())},Qka=function(a){return a[8]||(a[8]=[])},Oka=function(a,b){var c=b[a.index];if(dd(c))var d=c;else d=[c,!0,!1,b,null,0,a,null,null,null,null],b[a.index]=d,Jga(b,d);Rka(d,b,a,c);return new Yf(d,a,b)},Ska=function(a,b,c,d){if(!a[7]){if(c.type&8)d=fd(d);else{d=b[11];var e=d.createComment("");c=gd(c,b);b=d.parentNode(c);
c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},Tka=function(a,b,c,d){d=b[18].queries[d];if(null===d.matches){a=a.data;for(var e=c.matches,g=[],h=0;h<e.length;h+=2){var m=e[h];if(0>m)g.push(null);else{var r=g,v=r.push,y=b,A=a[m],G=e[h+1];m=c.metadata.read;-1===G?(m=A,y=m.type&11?Cd(m,y):m.type&4?Mka(m,y):null):-2===G?y=m===Bd?Cd(A,y):m===Zf?Mka(A,y):m===$f?Oka(A,y):void 0:y=wd(y,y[1],G,A);v.call(r,y)}}d.matches=g}return d.matches},Uka=function(a,b,c,d){var e=a.queries.queries[c],g=e.matches;
if(null!==g)for(a=Tka(a,b,e,c),c=0;c<g.length;c+=2){var h=g[c];if(0<h)d.push(a[c/2]);else{e=g[c+1];h=b[-h];for(var m=11;m<h.length;m++){var r=h[m];r[16]===r[3]&&Uka(r[1],r,e,d)}if(null!==h[9])for(h=h[9],m=0;m<h.length;m++)r=h[m],Uka(r[1],r,e,d)}}return d},bg=function(a){var b=w(),c=jd.tView,d=jd.currentQueryIndex;jd.currentQueryIndex=d+1;var e=c.queries.queries[d];return a.dirty&&4===(b[2]&4)===(2===(e.metadata.flags&2))?(null===e.matches?a.reset([]):(b=e.crossesNgTemplate?Uka(c,b,d,[]):Tka(c,b,e,
d),a.reset(b,Hfa),ag(a)),!0):!1},cg=function(a,b,c){var d=jd.tView;d.firstCreatePass&&(Vka(d,new Wka(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));Xka(d,b)},dg=function(a,b,c,d){var e=jd.tView;e.firstCreatePass&&(Vka(e,new Wka(b,c,d),kd().index),b=e.contentQueries||(e.contentQueries=[]),a!==(b.length?b[b.length-1]:-1)&&b.push(e.queries.length-1,a),2===(c&2)&&(e.staticContentQueries=!0));Xka(e,c)},eg=function(){return w()[18].queries[jd.currentQueryIndex].queryList},Xka=function(a,b){var c=w();b=
new fg(4===(b&4));var d=b.destroy,e=c[7]||(c[7]=[]);e.push(b);a.firstCreatePass&&(a.cleanup||(a.cleanup=[])).push(d,e.length-1);null===c[18]&&(c[18]=new Yka);c[18].queries.push(new Zka(b))},Vka=function(a,b,c){null===a.queries&&(a.queries=new $ka);a.queries.track(new gg(b,c))},hg=function(a,b){return Mka(a,b)},ala=function(a){var b=kd(),c=w();-1<b.componentOffset&&16!==(a&16)?(a=hd(b.index,c),a=new ig(a,a)):a=b.type&47?new ig(c[15],c):null;return a},bla=function(a,b,c){a=a.previousIndex;if(null===
a)return a;var d=0;c&&a<c.length&&(d=c[a]);return a+b+d},jg=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},cla=function(a){var b=a[Nc]||null;if(!b)return null;var c=new kg(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}}},dla=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Qa`"+
a+"`"+zc(b));},ela=function(a,b,c){a=Zd(a);b=lg([a[1],a[2]],b);return lg(b,c)},fla=function(a,b,c){a=Zd(a);b=lg([a[3],a[4]],b);return lg(b,c)},gla=function(a,b,c){a=Zd(a);b=lg([a[5],a[6]],b);return lg(b,c)},hla=function(a,b){a=Zd(a)[7];return lg(a,b)},ila=function(a,b){a=Zd(a);return lg(a[10],b)},jla=function(a,b){a=Zd(a);return lg(a[11],b)},kla=function(a,b){a=Zd(a)[12];return lg(a,b)},mg=function(a,b){a=Zd(a);var c=a[13][b];if("undefined"===typeof c){if(12===b)return a[13][0];if(13===b)return a[13][1]}return c},
lla=function(a){if(!a[21])throw Error("Ra`"+a[0]);},nla=function(a){a=Zd(a);lla(a);return(a[21][2]||[]).map(function(b){return"string"===typeof b?mla(b):[mla(b[0]),mla(b[1])]})},ola=function(a,b,c){a=Zd(a);lla(a);b=lg([a[21][0],a[21][1]],b)||[];return lg(b,c)||[]},lg=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Sa");},mla=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},ng=function(){return new Ac(2100,!1)},xla=function(a,
b,c,d){var e=pla(a);b=og(c,b)||b;a=[];for(var g;b;)if(g=qla.exec(b)){if(a=a.concat(g.slice(1)),b=a.pop(),!b)break}else{a.push(b);break}var h=e.getTimezoneOffset();d&&(h=rla(d,h),e=sla(e,d));var m="";a.forEach(function(r){a:if(tla[r])var v=tla[r];else{switch(r){case "G":case "GG":case "GGG":v=qg(3,1);break;case "GGGG":v=qg(3,2);break;case "GGGGG":v=qg(3,0);break;case "y":v=rg(0,1,0,!1,!0);break;case "yy":v=rg(0,2,0,!0,!0);break;case "yyy":v=rg(0,3,0,!1,!0);break;case "yyyy":v=rg(0,4,0,!1,!0);break;
case "Y":v=ula(1);break;case "YY":v=ula(2,!0);break;case "YYY":v=ula(3);break;case "YYYY":v=ula(4);break;case "M":case "L":v=rg(1,1,1);break;case "MM":case "LL":v=rg(1,2,1);break;case "MMM":v=qg(2,1);break;case "MMMM":v=qg(2,2);break;case "MMMMM":v=qg(2,0);break;case "LLL":v=qg(2,1,1);break;case "LLLL":v=qg(2,2,1);break;case "LLLLL":v=qg(2,0,1);break;case "w":v=vla(1);break;case "ww":v=vla(2);break;case "W":v=vla(1,!0);break;case "d":v=rg(2,1);break;case "dd":v=rg(2,2);break;case "c":case "cc":v=
rg(7,1);break;case "ccc":v=qg(1,1,1);break;case "cccc":v=qg(1,2,1);break;case "ccccc":v=qg(1,0,1);break;case "cccccc":v=qg(1,3,1);break;case "E":case "EE":case "EEE":v=qg(1,1);break;case "EEEE":v=qg(1,2);break;case "EEEEE":v=qg(1,0);break;case "EEEEEE":v=qg(1,3);break;case "a":case "aa":case "aaa":v=qg(0,1);break;case "aaaa":v=qg(0,2);break;case "aaaaa":v=qg(0,0);break;case "b":case "bb":case "bbb":v=qg(0,1,1,!0);break;case "bbbb":v=qg(0,2,1,!0);break;case "bbbbb":v=qg(0,0,1,!0);break;case "B":case "BB":case "BBB":v=
qg(0,1,0,!0);break;case "BBBB":v=qg(0,2,0,!0);break;case "BBBBB":v=qg(0,0,0,!0);break;case "h":v=rg(3,1,-12);break;case "hh":v=rg(3,2,-12);break;case "H":v=rg(3,1);break;case "HH":v=rg(3,2);break;case "m":v=rg(4,1);break;case "mm":v=rg(4,2);break;case "s":v=rg(5,1);break;case "ss":v=rg(5,2);break;case "S":v=rg(6,1);break;case "SS":v=rg(6,2);break;case "SSS":v=rg(6,3);break;case "Z":case "ZZ":case "ZZZ":v=wla(0);break;case "ZZZZZ":v=wla(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":v=
wla(1);break;case "OOOO":case "ZZZZ":case "zzzz":v=wla(2);break;default:v=null;break a}tla[r]=v}m+=v?v(e,c,h):"''"===r?"'":r.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return m},yla=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=Zd(a)[0];sg[c]=sg[c]||{};if(sg[c][b])return sg[c][b];var d="";switch(b){case "shortDate":d=ila(a,0);break;case "mediumDate":d=ila(a,1);break;case "longDate":d=ila(a,2);break;case "fullDate":d=ila(a,3);break;case "shortTime":d=
jla(a,0);break;case "mediumTime":d=jla(a,1);break;case "longTime":d=jla(a,2);break;case "fullTime":d=jla(a,3);break;case "short":d=og(a,"shortTime");var e=og(a,"shortDate");d=zla(kla(a,0),[d,e]);break;case "medium":d=og(a,"mediumTime");e=og(a,"mediumDate");d=zla(kla(a,1),[d,e]);break;case "long":d=og(a,"longTime");e=og(a,"longDate");d=zla(kla(a,2),[d,e]);break;case "full":d=og(a,"fullTime"),e=og(a,"fullDate"),d=zla(kla(a,3),[d,e])}d&&(sg[c][b]=d);return d},zla=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,
function(c,d){return null!=b&&d in b?b[d]:c}));return a},tg=function(a,b,c,d,e){c=void 0===c?"-":c;var g="";if(0>a||e&&0>=a)e?a=-a+1:(a=-a,g=c);for(a=String(a);a.length<b;)a="0"+a;d&&(a=a.slice(a.length-b));return g+a},rg=function(a,b,c,d,e){c=void 0===c?0:c;d=void 0===d?!1:d;e=void 0===e?!1:e;return function(g,h){g=Ala(a,g);if(0<c||g>-c)g+=c;if(3===a)0===g&&-12===c&&(g=12);else if(6===a)return tg(g,3).substring(0,b);h=mg(h,5);return tg(g,b,h,d,e)}},Ala=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("Ta`"+a);}},qg=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,g){return Bla(e,g,a,b,c,d)}},Bla=function(a,b,c,d,e,g){switch(c){case 2:return gla(b,e,d)[a.getMonth()];case 1:return fla(b,e,d)[a.getDay()];case 0:var h=a.getHours(),m=a.getMinutes();return g&&(c=nla(b),
a=ola(b,e,d),c=c.findIndex(function(r){if(Array.isArray(r)){var v=k(r);r=v.next().value;v=v.next().value;var y=h>=r.hours&&m>=r.minutes,A=h<v.hours||h===v.hours&&m<v.minutes;if(r.hours<v.hours){if(y&&A)return!0}else if(y||A)return!0}else if(r.hours===h&&r.minutes===m)return!0;return!1}),-1!==c)?a[c]:ela(b,e,d)[12>h?0:1];case 3:return hla(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Ua`"+c);}},wla=function(a){return function(b,c,d){b=-1*d;c=mg(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=
b?"+":"")+tg(e,2,c)+tg(Math.abs(b%60),2,c);case 1:return"GMT"+(0<=b?"+":"")+tg(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+tg(e,2,c)+":"+tg(Math.abs(b%60),2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+tg(e,2,c)+":"+tg(Math.abs(b%60),2,c);default:throw Error("Va`"+a);}}},Cla=function(a){return yla(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))},vla=function(a,b){b=void 0===b?!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=Cla(c);c=e.getFullYear();var g=yla(c,0,1).getDay();c=yla(c,0,1+(4>=g?4:11)-g);e=1+Math.round((e.getTime()-c.getTime())/6048E5)}return tg(e,a,mg(d,5))}},ula=function(a,b){b=void 0===b?!1:b;return function(c,d){c=Cla(c).getFullYear();return tg(c,a,mg(d,5),b)}},rla=function(a,b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},sla=function(a,b){var c=a.getTimezoneOffset();b=rla(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},
pla=function(a){if(a instanceof Date&&!isNaN(a.valueOf()))return a;if("number"===typeof a&&!isNaN(a))return new Date(a);if("string"===typeof a){a=a.trim();if(/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(a)){var b=k(a.split("-").map(function(d){return+d}));a=b.next().value;var c=b.next().value;c=void 0===c?1:c;b=b.next().value;return yla(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(Dla))return Ela(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Wa`"+
a);return b},Ela=function(a){var b=new Date(0),c=0,d=0,e=a[8]?b.setUTCFullYear:b.setFullYear,g=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]));g.call(b,Number(a[4]||0)-c,Number(a[5]||0)-d,Number(a[6]||0),Math.floor(1E3*parseFloat("0."+(a[7]||0))));return b},Fla=function(a,b){a=a.key;b=b.key;if(a===b)return 0;if(void 0===a)return 1;if(void 0===b)return-1;if(null===a)return 1;if(null===b)return-1;if("string"==typeof a&&
"string"==typeof b)return a<b?-1:1;if("number"==typeof a&&"number"==typeof b)return a-b;if("boolean"==typeof a&&"boolean"==typeof b)return a<b?-1:1;a=String(a);b=String(b);return a==b?0:a<b?-1:1},Lla=function(a,b,c,d){var e=void 0===e?!1:e;var g="",h=!1;if(isFinite(a)){h=Gla(a);e&&(h=Hla(h));g=b.minInt;e=b.minFrac;var m=b.maxFrac;if(d){var r=d.match(Ila);if(null===r)throw Error("Xa`"+d);d=r[1];var v=r[3];r=r[5];null!=d&&(g=Jla(d));null!=v&&(e=Jla(v));null!=r?m=Jla(r):null!=v&&e>m&&(m=e)}Kla(h,e,m);
d=h.digits;r=h.integerLen;e=h.exponent;m=[];for(h=d.every(function(y){return!y});r<g;r++)d.unshift(0);for(;0>r;r++)d.unshift(0);0<r?m=d.splice(r,d.length):(m=d,d=[0]);g=[];for(d.length>=b.lgSize&&g.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>b.gSize;)g.unshift(d.splice(-b.gSize,d.length).join(""));d.length&&g.unshift(d.join(""));g=g.join(mg(c,1));m.length&&(g+=mg(c,0)+m.join(""));e&&(g+=mg(c,6)+"+"+e)}else g=mg(c,9);return g=0>a&&!h?b.negPre+g+b.negSuf:b.posPre+g+b.posSuf},Hla=function(a){if(0===
a.digits[0])return a;var b=a.digits.length-a.integerLen;a.exponent?a.exponent+=2:(0===b?a.digits.push(0,0):1===b&&a.digits.push(0),a.integerLen+=2);return a},Gla=function(a){a=Math.abs(a)+"";var b=0,c,d,e,g;-1<(c=a.indexOf("."))&&(a=a.replace(".",""));0<(d=a.search(/e/i))?(0>c&&(c=d),c+=+a.slice(d+1),a=a.substring(0,d)):0>c&&(c=a.length);for(d=0;"0"===a.charAt(d);d++);if(d===(g=a.length)){var h=[0];c=1}else{for(g--;"0"===a.charAt(g);)g--;c-=d;h=[];for(e=0;d<=g;d++,e++)h[e]=Number(a.charAt(d))}22<
c&&(h=h.splice(0,21),b=c-1,c=1);return{digits:h,exponent:b,integerLen:c}},Kla=function(a,b,c){if(b>c)throw Error("Ya`"+b+"`"+c);var d=a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var g=c+a.integerLen,h=d[g];if(0<g){d.splice(Math.max(a.integerLen,g));for(var m=g;m<d.length;m++)d[m]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,g=c+1),d[0]=0,m=1;m<g;m++)d[m]=0;if(5<=h)if(0>g-1){for(h=0;h>g;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[g-1]++;for(;e<
Math.max(0,c);e++)d.push(0);var r=0!==c,v=b+a.integerLen;if(b=d.reduceRight(function(y,A,G,N){A+=y;N[G]=10>A?A:A-10;r&&(0===N[G]&&G>=v?N.pop():r=!1);return 10<=A?1:0},0))d.unshift(b),a.integerLen++},Jla=function(a){var b=parseInt(a);if(isNaN(b))throw Error("Za`"+a);return b},Mla=function(a,b){if(0==a.length)return b;if(0==b.length)return a;var c=0;a.endsWith("/")&&c++;b.startsWith("/")&&c++;return 2==c?a+b.substring(1):1==c?a+b:a+"/"+b},Nla=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},Ola=function(a){return RegExp("^(https?:)?//").test(a)?(a=k(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},Pla=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},Qla=function(a){return function(b){if(Pla(b.value)||Pla(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},Rla=function(a){return Pla(a.value)?{required:!0}:null},
Sla=function(a){return function(b){var c=b.value;return null!=c&&"number"===typeof c.length&&b.value.length>a?{maxlength:{requiredLength:a,actualLength:b.value.length}}:null}},Ula=function(a){if(!a)return Tla;if("string"===typeof a){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(Pla(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},Tla=function(){return null},
Vla=function(a){return null!=a},Wla=function(a){return Yd(a)?(0,E.from)(a):a},Xla=function(a){var b={};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});return 0===Object.keys(b).length?null:b},Yla=function(a,b){return b.map(function(c){return c(a)})},Zla=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},$la=function(a){if(!a)return null;var b=a.filter(Vla);return 0==b.length?null:function(c){return Xla(Yla(c,b))}},ama=function(a){return null!=a?
$la(Zla(a)):null},bma=function(a){if(!a)return null;var b=a.filter(Vla);return 0==b.length?null:function(c){c=Yla(c,b).map(Wla);return(0,E.forkJoin)(c).pipe(D(Xla))}},cma=function(a){return null!=a?bma(Zla(a)):null},dma=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(ad(a),[b]):[a,b]},ema=function(a,b){return[].concat(ad(b.path),[a])},vg=function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":c;fma(a,b);b.valueAccessor.writeValue(a.value);if(a.disabled||"always"===c){var d,e;null==(e=
(d=b.valueAccessor).setDisabledState)||e.call(d,a.disabled)}gma(a,b);hma(a,b);ima(a,b);jma(a,b)},lma=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));kma(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},mma=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},jma=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)})}},fma=function(a,b){var c=a._rawValidators;null!==b.validator?nma(a,dma(c,b.validator)):"function"===typeof c&&nma(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?oma(a,dma(c,b.asyncValidator)):"function"===typeof c&&oma(a,[c]);c=function(){return wg(a)};mma(b._rawValidators,c);mma(b._rawAsyncValidators,c)},kma=function(a,b){var c=!1;if(null!==a){if(null!==b.validator){var d=a._rawValidators;if(Array.isArray(d)&&
0<d.length){var e=d.filter(function(g){return g!==b.validator});e.length!==d.length&&(c=!0,a._assignValidators(e))}}null!==b.asyncValidator&&(d=a._rawAsyncValidators,Array.isArray(d)&&0<d.length&&(e=d.filter(function(g){return g!==b.asyncValidator}),e.length!==d.length&&(c=!0,a._assignAsyncValidators(e))))}a=function(){};mma(b._rawValidators,a);mma(b._rawAsyncValidators,a);return c},gma=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=
!0;"change"===a.updateOn&&pma(a,b)})},ima=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;"blur"===a.updateOn&&a._pendingChange&&pma(a,b);"submit"!==a.updateOn&&qma(a)})},pma=function(a,b){a._pendingDirty&&rma(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},hma=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)})},
sma=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},tma=function(a,b){a._syncPendingControls();b.forEach(function(c){var d=c.control;"submit"===d.updateOn&&d._pendingChange&&(c.viewToModelUpdate(d._pendingValue),d._pendingChange=!1)})},uma=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===xg?b=e:Object.getPrototypeOf(e.constructor)===yg?c=e:d=e});return d?d:c?
c:b?b:null},vma=function(a){return(zg(a)?a.validators:a)||null},zg=function(a){return null!=a&&!Array.isArray(a)&&"object"===typeof a},wma=function(a,b){a._forEachChild(function(c,d){if(void 0===b[d])throw new Ac(1002,"");})},xma=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},Ama=function(){if(yma)return yma;if("object"!==typeof document||!document)return yma=new Set(zma);var a=document.createElement("input");return yma=new Set(zma.filter(function(b){a.setAttribute("type",
b);return a.type===b}))},Bma=function(){if(null==Ag&&"undefined"!==typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Ag=!0}}))}finally{Ag=Ag||!1}return Ag},Bg=function(a){return Bma()?a:!!a.capture},Cma=function(){if(null==Cg){if("object"!==typeof document||!document||"function"!==typeof Element||!Element)return Cg=!1;if("scrollBehavior"in document.documentElement.style)Cg=!0;else{var a=Element.prototype.scrollTo;Cg=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):
!1}}return Cg},Ema=function(){if("object"!==typeof document||!document)return 0;if(null==Dma){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);Dma=0;0===a.scrollLeft&&(a.scrollLeft=1,Dma=0===a.scrollLeft?1:2);a.remove()}return Dma},Gma=function(a){if(null==Fma){var b="undefined"!==
typeof document?document.head:null;Fma=!(!b||!b.createShadowRoot&&!b.attachShadow)}return Fma&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},Dg=function(){for(var a="undefined"!==typeof document&&document?document.activeElement:null;a&&a.shadowRoot;){var b=a.shadowRoot.activeElement;if(b===a)break;else a=b}return a},Eg=function(a){return a.composedPath?a.composedPath()[0]:a.target},Hma=function(){return"undefined"!==typeof __karma__&&
!!__karma__||"undefined"!==typeof jasmine&&!!jasmine||"undefined"!==typeof jest&&!!jest||"undefined"!==typeof Mocha&&!!Mocha},Ima=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},Jma=function(a){if(!Ima(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},Fg=function(a){return Array.isArray(a)?a:[a]},Gg=function(a){return null!=a&&"false"!==""+a},Hg=function(a){return null==a?"":
"string"===typeof a?a:a+"px"},Ig=function(a){return a instanceof Bd?a.nativeElement:a},Jg=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},Kma=function(a){var b=void 0===b?/\s+/:b;var c=[];if(null!=a)for(a=Array.isArray(a)?a:(""+a).split(b),a=k(a),b=a.next();!b.done;b=a.next())(b=(""+b.value).trim())&&c.push(b);return c},Lma=function(a){return 0===a.buttons||0===a.offsetX&&0===a.offsetY},Mma=function(a){a=a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0];
return!!a&&-1===a.identifier&&(null==a.radiusX||1===a.radiusX)&&(null==a.radiusY||1===a.radiusY)},Kg=function(a){var b=Wc.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},Oma=function(a,b){return b.map(function(c){return c.replace(Nma,a)})},Pma=function(a){var b=new Map;0<a.length&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");if(-1==d)var e=[decodeURIComponent(c),""];else e=c.slice(0,d),e=decodeURIComponent(e),
c=c.slice(d+1),c=decodeURIComponent(c),e=[e,c];c=k(e);e=c.next().value;c=c.next().value;d=b.get(e)||[];d.push(c);b.set(e,d)});return b},Sma=function(a){return encodeURIComponent(a).replace(Qma,function(b,c){var d;return null!=(d=Rma[c])?d:b})},Tma=function(a){return""+a},Uma=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer},Vma=function(a){return"undefined"!==typeof Blob&&a instanceof Blob},Wma=function(a){return"undefined"!==typeof FormData&&a instanceof FormData},Xma=
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}},Yma=function(a,b){return b(a)},Zma=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},$ma=function(a,b,c){return function(d,e){return c.runInContext(function(){return b(d,function(g){return a(g,e)})})}},dna=function(a,b){var c=a.url.toLowerCase();if(!Hc(ana)||"GET"===
a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=Hc(bna).getToken();var d=Hc(cna);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},fna=function(a){a:if(ena){try{var b=new URL(a)}catch(c){b="https:";break a}b=b.protocol}else b:{b=document.createElement("a");try{b.href=a}catch(c){b=void 0;break b}b=b.protocol;b=":"===b||""===b?"https:":b}if("javascript:"!==b)return a},gna=function(a){return a instanceof dc?ec(a):fna(a)},Ng=
function(a,b){b=void 0===b?{}:b;if(a instanceof Lg)return a;a=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 Mg(a)},Pg=function(a){return Mg(a.map(function(b){return Og(Ng(b))}).join(""))},jna=function(a){if(!hna.test(a))throw Error("ba");
if(-1!==ina.indexOf(a.toUpperCase()))throw Error("ba");},Qg=function(a,b,c){jna(a);var d="<"+a;b&&(d+=kna(b));Array.isArray(c)||(c=void 0===c?[]:[c]);-1!==lna.indexOf(a.toUpperCase())?d+=">":(b=Pg(c.map(function(e){return e instanceof Lg?e:Ng(String(e))})),d+=">"+b.toString()+"</"+a+">");return Mg(d)},kna=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],g=a[e];if(!hna.test(e))throw Error("ba");if(void 0!==g&&null!==g){if(/^on/i.test(e))throw Error("ba");-1!==mna.indexOf(e.toLowerCase())&&
(g=g instanceof dc?g.toString():fna(String(g))||"about:invalid#zClosurez");e=e+'="'+Ng(String(g))+'"';b+=" "+e}}return b},Sg=function(a){var b=Wc.apply(1,arguments);if(0===b.length)return Rg(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Rg(c)},Tg=function(a){return new nna(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},Vg=function(a){var b=void 0===b?ona:b;a:{b=void 0===b?ona:b;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof nna&&d.isValid(a)){a=
Ug(a);break a}}a=void 0}return a||ada},rna=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==d[0]&&(d=pna(d,b),"function"==typeof d)){c.push(d);d=void 0;break a}var e=d.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==e||4>e.length)b.push(new Ac(3015,!1)),d=c;else{d=e[1];var g=e[2];e=e[3];c.push(qna(d,e));"<"!=g[0]||"*"==d&&"*"==e||c.push(qna(e,d));d=void 0}}return d}):c.push(a);return c},pna=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 Ac(3016,!1)),"* => *"}},qna=function(a,b){var c=sna.has(a)||tna.has(a),d=sna.has(b)||tna.has(b);return function(e,g){var h="*"==a||a==e,m="*"==b||b==g;!h&&c&&"boolean"===typeof e&&(h=e?sna.has(a):tna.has(a));!m&&d&&"boolean"===typeof g&&(m=g?sna.has(b):tna.has(b));return h&&m}},Wg=function(a,
b){return{type:7,name:a,definitions:b,options:{}}},Yg=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},una=function(a){return{type:3,steps:a,options:null}},Zg=function(a){return{type:6,styles:a,offset:null}},$g=function(a,b){return{type:0,name:a,styles:b,options:void 0}},ah=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},bh=function(){return{type:9,options:null}},ch=function(a,b){var c={optional:!0};return{type:11,selector:a,animation:b,options:void 0===
c?null:c}},eh=function(a){switch(a.length){case 0:return new dh;case 1:return a[0];default:return new vna(a)}},yna=function(a,b,c){b=void 0===b?new Map:b;c=void 0===c?new Map:c;var d=[],e=[],g=-1,h=null;a.forEach(function(m){var r=m.get("offset"),v=r==g,y=v&&h||new Map;m.forEach(function(A,G){var N=G;if("offset"!==G)switch(N=wna(N),A){case "!":A=b.get(G);break;case "*":A=c.get(G);break;default:A=xna(N,A,d)}y.set(N,A)});v||e.push(y);h=y;g=r});if(d.length)throw new Ac(3502,!1);return e},Ana=function(a,
b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&zna(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&zna(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&zna(c,"destroy",a))})}},zna=function(a,b,c){var d=c.totalTime;b=Bna(a.element,a.triggerName,a.fromState,a.toState,b||a.phaseName,void 0==d?a.totalTime:d,c.disabled?!0:!1);a=a._data;null!=a&&(b._data=a);return b},Bna=function(a,b,c,d,e,g,h){return{element:a,triggerName:b,fromState:c,toState:d,
phaseName:void 0===e?"":e,totalTime:void 0===g?0:g,disabled:!!h}},fh=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},Cna=function(a){var b=a.indexOf(":"),c=a.substring(1,b);a=a.slice(b+1);return[c,a]},Ena=function(a){a=a.parentNode||a.host||null;return a===Dna?null:a},Fna=function(a,b){for(;b;){if(b===a)return!0;b=Ena(b)}return!1},Gna=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},gh=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);
return!a||2>a.length?0:Hna(parseFloat(a[1]),a[2])},Hna=function(a,b){switch(b){case "s":return 1E3*a;default:return a}},Ina=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,g="";if("string"===typeof a){d=a.match(d);if(null===d){b.push(new Ac(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=Hna(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=Hna(parseFloat(h),d[4]));(d=d[5])&&(g=d)}c||(c=!1,d=b.length,
0>a&&(b.push(new Ac(3100,!1)),c=!0),0>e&&(b.push(new Ac(3101,!1)),c=!0),c&&b.splice(d,0,new Ac(3E3,!1)));b={duration:a,delay:e,easing:g}}return b},hh=function(a){var b=void 0===b?{}:b;Object.keys(a).forEach(function(c){b[c]=a[c]});return b},Jna=function(a){var b=new Map;Object.keys(a).forEach(function(c){b.set(c,a[c])});return b},Kna=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return Jna(b)}):[]},ih=function(a,b,c){b=void 0===b?new Map:b;if(c){c=k(c);for(var d=c.next();!d.done;d=
c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.set(d,e)}}a=k(a);for(c=a.next();!c.done;c=a.next())d=k(c.value),c=d.next().value,d=d.next().value,b.set(c,d);return b},jh=function(a,b,c){b.forEach(function(d,e){var g=wna(e);c&&!c.has(e)&&c.set(e,a.style[g]);a.style[g]=d})},kh=function(a,b){b.forEach(function(c,d){d=wna(d);a.style[d]=""})},lh=function(a){return Array.isArray(a)?1==a.length?a[0]:{type:2,steps:a,options:null}:a},Mna=function(a,b,c){var d=b.params||{};a=Lna(a);a.length&&
a.forEach(function(e){d.hasOwnProperty(e)||c.push(new Ac(3001,!1))})},Lna=function(a){var b=[];if("string"===typeof a){for(var c;c=Nna.exec(a);)b.push(c[1]);Nna.lastIndex=0}return b},mh=function(a,b,c){var d=a.toString(),e=d.replace(Nna,function(g,h){h=b[h];null==h&&(c.push(new Ac(3003,!1)),h="");return h.toString()});return e==d?a:e},Ona=function(a){for(var b=[],c=a.next();!c.done;)b.push(c.value),c=a.next();return b},wna=function(a){return a.replace(Pna,function(){return Wc.apply(0,arguments)[1].toUpperCase()})},
Qna=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,m){d.has(m)||e.push(m);d.set(m,h)});if(e.length){c={};for(var g=1;g<b.length;c={$jscomp$loop$prop$kf$356378672$3:c.$jscomp$loop$prop$kf$356378672$3},g++)c.$jscomp$loop$prop$kf$356378672$3=b[g],e.forEach(function(h){return function(m){var r=h.$jscomp$loop$prop$kf$356378672$3,v=r.set;var y=window.getComputedStyle(a)[m];return v.call(r,m,y)}}(c))}}return b},nh=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 Ac(3004,!1);}},Sna=function(a){var b=a.split(/\s*,\s*/).find(function(c){return":self"==
c})?!0:!1;b&&(a=a.replace(Rna,""));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]},Tna=function(a){if("string"==typeof a)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},Una=function(a,b){if(a.hasOwnProperty("duration"))return a;
if("number"==typeof a)return{duration:Ina(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=Ina(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},oh=function(a){if(a){if(a=hh(a),a.params){var b=a;var c=(c=a.params)?hh(c):null;b.params=c}}else a={};return a},Vna=function(a,b,c,d,e,g,h,m){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,
delay:g,totalTime:e+g,easing:void 0===h?null:h,subTimeline:void 0===m?!1:m}},Xna=function(a,b,c,d,e,g,h,m,r,v){g=void 0===g?new Map:g;h=void 0===h?new Map:h;v=void 0===v?[]:v;return(new Wna).buildKeyframes(a,b,c,d,e,g,h,m,r,v)},Yna=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},Zna=function(a,b){var c=new Map,d;a.forEach(function(e){if("*"===e){d=d||b.keys();e=k(d);for(var g=e.next();!g.done;g=e.next())c.set(g.value,"*")}else ih(e,c)});return c},$na=function(a,b,c,d,e,g,h,m,r,v,y,A,G){return{type:0,
element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:g,toState:d,toStyles:h,timelines:m,queriedElements:r,preStyleProps:v,postStyleProps:y,totalTime:A,errors:G}},aoa=function(a,b,c,d,e){return a.some(function(g){return g(b,c,d,e)})},boa=function(a,b){b=hh(b);for(var c in a)a.hasOwnProperty(c)&&null!=a[c]&&(b[c]=a[c]);return b},coa=function(a,b){return new ph(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},
doa=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))},eoa=function(a){return a&&1===a.nodeType},foa=function(a,b){var c=a.style.display;a.style.display=null!=b?b:"none";return c},hoa=function(a,b,c,d,e){var g=[];c.forEach(function(r){return g.push(foa(r))});var h=[];d.forEach(function(r,v){var y=new Map;r.forEach(function(A){var G=b.computeStyle(v,A,e);y.set(A,G);G&&0!=G.length||(v.__ng_removed=goa,h.push(v))});a.set(v,y)});var m=0;c.forEach(function(r){return foa(r,
g[m++])});return h},ioa=function(a,b){function c(h){if(!h)return 1;var m=g.get(h);if(m)return m;var r=h.parentNode;d.has(r)?m=r:e.has(r)?m=1:m=c(r);g.set(h,m);return m}var d=new Map;a.forEach(function(h){return d.set(h,[])});if(0==b.length)return d;var e=new Set(b),g=new Map;b.forEach(function(h){var m=c(h);1!==m&&d.get(m).push(h)});return d},qh=function(a,b){var c;null==(c=a.classList)||c.add(b)},rh=function(a,b){var c;null==(c=a.classList)||c.remove(b)},joa=function(a,b,c){eh(c).onDone(function(){return sh(a,
b)})},loa=function(a){var b=[];koa(a,b);return b},koa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof vna?koa(d.players,b):b.push(d)}},moa=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},noa=function(a,b,c){var d=c.get(a);if(!d)return!1;var e=b.get(a);e?d.forEach(function(g){return e.add(g)}):b.set(a,d);c.delete(a);return!0},qoa=function(a,b){var c=null,d=
null;Array.isArray(b)&&b.length?(c=ooa(b[0]),1<b.length&&(d=ooa(b[b.length-1]))):b instanceof Map&&(c=ooa(b));return c||d?new poa(a,c,d):null},ooa=function(a){var b=null;a.forEach(function(c,d){if("display"===d||"position"===d)b=b||new Map,b.set(d,c)});return b},roa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},soa=function(a){var b=a.indexOf("."),c=a.substring(0,b);a=a.slice(b+1);return[c,a]},toa=function(a){return{matches:"all"===
a||""===a,media:a,addListener:function(){},removeListener:function(){}}},uoa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},voa=function(){return null},xoa=function(a,b,c){var d=woa(a,b);d.some(function(e){return e.trim()==c.trim()})||(d.push(c.trim()),a.setAttribute(b,d.join(" ")))},th=function(a,b,c){var d=woa(a,b).filter(function(e){return e!=c.trim()});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},
woa=function(a,b){return(a.getAttribute(b)||"").match(/\S+/g)||[]},yoa=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},Aoa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+zoa++)},Boa=function(){return Hc(uh)},Coa=function(a,b){return b.some(function(c){var d=a.top>c.bottom,e=a.right<c.left,g=a.left>c.right;return a.bottom<c.top||d||e||g})},Doa=function(a,b){return b.some(function(c){var d=a.bottom>c.bottom,e=a.left<c.left,g=a.right>c.right;return a.top<c.top||d||e||g})},Eoa=function(a){return a&&
"function"===typeof a.connect&&!(a instanceof E.ConnectableObservable)},vh=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},Goa=function(a){if("number"!==typeof a&&null!=a){var b=k(a.split(Foa));a=b.next().value;return(b=b.next().value)&&"px"!==b?null:parseFloat(a)}return a||null},Hoa=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)}},xh=function(a,b){var c=function(){var d=
a.apply(this,[].concat(ad(Wc.apply(0,arguments))))||this;d.defaultColor=b;d.color=b;return d};U(c,a);wh.Object.defineProperties(c.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(d){d=d||this.defaultColor;d!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),d&&this._elementRef.nativeElement.classList.add("mat-"+d),this._color=d)}}});return c},yh=function(a){var b=function(){var c=a.apply(this,[].concat(ad(Wc.apply(0,
arguments))))||this;c._disableRipple=!1;return c};U(b,a);wh.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=Gg(c)}}});return b},zh=function(a){var b=function(){var c=a.apply(this,[].concat(ad(Wc.apply(0,arguments))))||this;c._disabled=!1;return c};U(b,a);wh.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=
Gg(c)}}});return b},Ioa=function(a){var b=function(){var c=a.apply(this,[].concat(ad(Wc.apply(0,arguments))))||this;c.errorState=!1;return c};U(b,a);b.prototype.updateErrorState=function(){var c=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);c!==this.errorState&&(this.errorState=c,this.stateChanges.next())};return b},Joa=function(a){var b=function(){var c=a.apply(this,[].concat(ad(Wc.apply(0,
arguments))))||this;c._isInitialized=!1;c._pendingSubscribers=[];c.initialized=new E.Observable(function(d){c._isInitialized?c._notifySubscriber(d):c._pendingSubscribers.push(d)});return c};U(b,a);b.prototype._markInitialized=function(){this._isInitialized=!0;this._pendingSubscribers.forEach(this._notifySubscriber);this._pendingSubscribers=null};b.prototype._notifySubscriber=function(c){c.next();c.complete()};return b},Ah=function(a,b){b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(ad(Wc.apply(0,
arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};U(c,a);wh.Object.defineProperties(c.prototype,{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=null!=d?Jg(d):this.defaultTabIndex}}});return c},Koa=function(){return Hc(Bh)},Loa=function(a,b){var c=void 0===c?"mat":c;a.changes.pipe($e(a)).subscribe(function(d){d=d.length;b.nativeElement.classList.toggle(c+"-2-line",!1);b.nativeElement.classList.toggle(c+"-3-line",
!1);b.nativeElement.classList.toggle(c+"-multi-line",!1);2===d||3===d?b.nativeElement.classList.toggle(c+"-"+d+"-line",!0):3<d&&b.nativeElement.classList.toggle(c+"-multi-line",!0)})},Moa=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)},Noa=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},Ooa=function(a,b,c,d){return a<
c?a:a+b>c+d?Math.max(0,a-d+b):c},Poa=function(a){a&1&&(H(0,"tr",3)(1,"td",4),R(2),I()());a&2&&(a=O(),B(1),xf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),pf("colspan",a.numCols),B(1),Mf(" ",a.label," "))},Qoa=function(a){a&1&&(H(0,"td",4),R(1),I());a&2&&(a=O(2),xf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),pf("colspan",a._firstRowOffset),B(1),Mf(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},Roa=function(a,b){if(a&1){var c=w();H(0,"td",8)(1,
"button",9);M("click",function(g){var h=x(c).$implicit,m=O(2);return z(m._cellClicked(h,g))})("focus",function(g){var h=x(c).$implicit,m=O(2);return z(m._emitActiveDateChange(h,g))});H(2,"span",10);R(3);I();J(4,"span",11);I()()}if(a&2){a=b.$implicit;b=b.index;var d=O().index,e=O();xf("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);pf("data-mat-row",d)("data-mat-col",b);B(1);yf("mat-calendar-body-disabled",!a.enabled)("mat-calendar-body-active",e._isActiveCell(d,
b))("mat-calendar-body-range-start",e._isRangeStart(a.compareValue))("mat-calendar-body-range-end",e._isRangeEnd(a.compareValue))("mat-calendar-body-in-range",e._isInRange(a.compareValue))("mat-calendar-body-comparison-bridge-start",e._isComparisonBridgeStart(a.compareValue,d,b))("mat-calendar-body-comparison-bridge-end",e._isComparisonBridgeEnd(a.compareValue,d,b))("mat-calendar-body-comparison-start",e._isComparisonStart(a.compareValue))("mat-calendar-body-comparison-end",e._isComparisonEnd(a.compareValue))("mat-calendar-body-in-comparison-range",
e._isInComparisonRange(a.compareValue))("mat-calendar-body-preview-start",e._isPreviewStart(a.compareValue))("mat-calendar-body-preview-end",e._isPreviewEnd(a.compareValue))("mat-calendar-body-in-preview",e._isInPreview(a.compareValue));F("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);pf("aria-label",a.ariaLabel)("aria-disabled",!a.enabled||null)("aria-pressed",e._isSelected(a.compareValue))("aria-current",e.todayValue===a.compareValue?"date":null)("aria-describedby",e._getDescribedby(a.compareValue));
B(1);yf("mat-calendar-body-selected",e._isSelected(a.compareValue))("mat-calendar-body-comparison-identical",e._isComparisonIdentical(a.compareValue))("mat-calendar-body-today",e.todayValue===a.compareValue);B(1);Mf(" ",a.displayValue," ")}},Soa=function(a,b){a&1&&(H(0,"tr",5),P(1,Qoa,2,6,"td",6),P(2,Roa,5,48,"td",7),I());if(a&2){a=b.$implicit;b=b.index;var c=O();B(1);F("ngIf",0===b&&c._firstRowOffset);B(1);F("ngForOf",a)}},Toa=function(a){return"TD"===(null==a?void 0:a.nodeName)},Uoa=function(a){if(Toa(a))var b=
a;else if(Toa(a.parentNode))b=a.parentNode;else{var c;Toa(null==(c=a.parentNode)?void 0:c.parentNode)&&(b=a.parentNode.parentNode)}var d;return null!=(null==(d=b)?void 0:d.getAttribute("data-mat-row"))?b:null},Voa=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},Woa=function(a,b,c){return null!==b&&b!==c&&a>=b&&a===c},Xoa=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=c},Yoa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},Zoa=function(a,
b){a&1&&(H(0,"th",5)(1,"span",6),R(2),I(),H(3,"span",7),R(4),I()());a&2&&(a=b.$implicit,B(2),Nf(a.long),B(2),Nf(a.narrow))},apa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=$oa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},Ch=function(a,b,c,d){return((a.getYear(b)-$oa(a,c,d))%24+24)%24},$oa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},bpa=function(){},cpa=function(a){if(a&1){var b=w();H(0,"mat-month-view",5);M("activeDateChange",function(c){x(b);
var d=O();return z(d.activeDate=c)})("_userSelection",function(c){x(b);var d=O();return z(d._dateSelected(c))})("dragStarted",function(c){x(b);var d=O();return z(d._dragStarted(c))})("dragEnded",function(c){x(b);var d=O();return z(d._dragEnded(c))});I()}a&2&&(a=O(),F("activeDate",a.activeDate)("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))},dpa=function(a){if(a&1){var b=w();H(0,"mat-year-view",6);M("activeDateChange",function(c){x(b);var d=O();return z(d.activeDate=c)})("monthSelected",function(c){x(b);var d=O();return z(d._monthSelectedInYearView(c))})("selectedChange",function(c){x(b);var d=O();return z(d._goToDateInView(c,"month"))});I()}a&2&&(a=O(),F("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",
a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},epa=function(a){if(a&1){var b=w();H(0,"mat-multi-year-view",7);M("activeDateChange",function(c){x(b);var d=O();return z(d.activeDate=c)})("yearSelected",function(c){x(b);var d=O();return z(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){x(b);var d=O();return z(d._goToDateInView(c,"year"))});I()}a&2&&(a=O(),F("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",
a.dateClass))},fpa=function(a){a&1&&J(0,"mat-pseudo-checkbox",5);a&2&&(a=O(),F("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},gpa=function(a){a&1&&(H(0,"span",6),R(1),I());a&2&&(a=O(),B(1),Mf("(",a.group.label,")"))},hpa=function(){},ipa=function(a,b){for(var c=a.length;c--;)b(a[c])},jpa=function(){},kpa=function(a,b){for(var c=a.nativeElement.parentElement;c&&!c.classList.contains("mat-dialog-container");)c=c.parentElement;return c?b.find(function(d){return d.id===c.id}):null},
lpa=function(a){a&1&&(K(0),H(1,"div",14),J(2,"div",15)(3,"div",16)(4,"div",17),I(),H(5,"div",18),J(6,"div",15)(7,"div",16)(8,"div",17),I(),L())},mpa=function(a){if(a&1){var b=w();H(0,"div",19);M("cdkObserveContent",function(){x(b);var c=O();return z(Dh(c))});Hf(1,1);I()}a&2&&(a=O(),F("cdkObserveContentDisabled","outline"!=a.appearance))},npa=function(a){a&1&&(K(0),Hf(1,2),H(2,"span"),R(3),I(),L());a&2&&(a=O(2),B(3),Nf(a._control.placeholder))},opa=function(a){a&1&&Hf(0,3,["*ngSwitchCase","true"])},
ppa=function(a){a&1&&(H(0,"span",23),R(1," *"),I())},qpa=function(a){if(a&1){var b=w();H(0,"label",20,21);M("cdkObserveContent",function(){x(b);var c=O();return z(Dh(c))});P(2,npa,4,1,"ng-container",12);P(3,opa,1,0,"ng-content",12);P(4,ppa,2,0,"span",22);I()}a&2&&(a=O(),yf("mat-empty",a._control.empty&&!a._shouldAlwaysFloat())("mat-form-field-empty",a._control.empty&&!a._shouldAlwaysFloat())("mat-accent","accent"==a.color)("mat-warn","warn"==a.color),F("cdkObserveContentDisabled","outline"!=a.appearance)("id",
a._labelId)("ngSwitch",a._hasLabel()),pf("for",a._control.id)("aria-owns",a._control.id),B(2),F("ngSwitchCase",!1),B(1),F("ngSwitchCase",!0),B(1),F("ngIf",!a.hideRequiredMarker&&a._control.required&&!a._control.disabled))},rpa=function(a){a&1&&(H(0,"div",24),Hf(1,4),I())},spa=function(a){a&1&&(H(0,"div",25),J(1,"span",26),I());a&2&&(a=O(),B(1),yf("mat-accent","accent"==a.color)("mat-warn","warn"==a.color))},tpa=function(a){a&1&&(H(0,"div"),Hf(1,5),I());a&2&&(a=O(),F("@transitionMessages",a._subscriptAnimationState))},
upa=function(a){a&1&&(H(0,"div",30),R(1),I());a&2&&(a=O(2),F("id",a._hintLabelId),B(1),Nf(a.hintLabel))},vpa=function(a){a&1&&(H(0,"div",27),P(1,upa,2,2,"div",28),Hf(2,6),J(3,"div",29),Hf(4,7),I());a&2&&(a=O(),F("@transitionMessages",a._subscriptAnimationState),B(1),F("ngIf",a.hintLabel))},xpa=function(){if(void 0===wpa&&(wpa=null,"undefined"!==typeof window)){var a=window;void 0!==a.trustedTypes&&(wpa=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return wpa},
ypa=function(a){var b;return(null==(b=xpa())?void 0:b.createHTML(a))||a},zpa=function(){var a=Hc(uh),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},Eh=function(a){a&&"function"==typeof a.dispose&&a.dispose()},Apa=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ua(d)?Apa.apply(null,d):Eh(d)}},Bpa=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;y=v=0}function b(A){for(var G=h,N=0;64>N;N+=
4)G[N/4]=A[N]<<24|A[N+1]<<16|A[N+2]<<8|A[N+3];for(N=16;80>N;N++)A=G[N-3]^G[N-8]^G[N-14]^G[N-16],G[N]=(A<<1|A>>>31)&4294967295;A=e[0];var Q=e[1],Z=e[2],Y=e[3],ea=e[4];for(N=0;80>N;N++){if(40>N)if(20>N){var ja=Y^Q&(Z^Y);var va=1518500249}else ja=Q^Z^Y,va=1859775393;else 60>N?(ja=Q&Z|Y&(Q|Z),va=2400959708):(ja=Q^Z^Y,va=3395469782);ja=((A<<5|A>>>27)&4294967295)+ja+ea+va+G[N]&4294967295;ea=Y;Y=Z;Z=(Q<<30|Q>>>2)&4294967295;Q=A;A=ja}e[0]=e[0]+A&4294967295;e[1]=e[1]+Q&4294967295;e[2]=e[2]+Z&4294967295;e[3]=
e[3]+Y&4294967295;e[4]=e[4]+ea&4294967295}function c(A,G){if("string"===typeof A){A=unescape(encodeURIComponent(A));for(var N=[],Q=0,Z=A.length;Q<Z;++Q)N.push(A.charCodeAt(Q));A=N}G||(G=A.length);N=0;if(0==v)for(;N+64<G;)b(A.slice(N,N+64)),N+=64,y+=64;for(;N<G;)if(g[v++]=A[N++],y++,64==v)for(v=0,b(g);N+64<G;)b(A.slice(N,N+64)),N+=64,y+=64}function d(){var A=[],G=8*y;56>v?c(m,56-v):c(m,64-(v-56));for(var N=63;56<=N;N--)g[N]=G&255,G>>>=8;b(g);for(N=G=0;5>N;N++)for(var Q=24;0<=Q;Q-=8)A[G++]=e[N]>>Q&
255;return A}for(var e=[],g=[],h=[],m=[128],r=1;64>r;++r)m[r]=0;var v,y;a();return{reset:a,update:c,digest:d,digestString:function(){for(var A=d(),G="",N=0;N<A.length;N++)G+="0123456789ABCDEF".charAt(Math.floor(A[N]/16))+"0123456789ABCDEF".charAt(A[N]%16);return G}}},Cpa=function(a){a&1&&(pd(),H(0,"svg",3),J(1,"polygon",4),I())},Dpa=function(a){if(a&1){var b=w();H(0,"div",0);M("keydown",function(c){x(b);var d=O();return z(d._handleKeydown(c))})("click",function(){x(b);var c=O();return z(c.closed.emit("click"))})("@transformMenu.start",
function(c){x(b);var d=O();return z(d._onAnimationStart(c))})("@transformMenu.done",function(c){x(b);var d=O();return z(d._onAnimationDone(c))});H(1,"div",1);Hf(2);I()()}a&2&&(a=O(),F("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),pf("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},Epa=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},
Fpa=function(a){a&1&&(pd(),H(0,"svg",2),J(1,"polygon",3),I())},Gpa=function(a){if(a&1){var b=w();H(0,"div",0);M("keydown",function(c){x(b);var d=O();return z(d._handleKeydown(c))})("click",function(){x(b);var c=O();return z(c.closed.emit("click"))})("@transformMenu.start",function(c){x(b);var d=O();return z(d._onAnimationStart(c))})("@transformMenu.done",function(c){x(b);var d=O();return z(d._onAnimationDone(c))});H(1,"div",1);Hf(2);I()()}a&2&&(a=O(),F("id",a.panelId)("ngClass",a._classList)("@transformMenu",
a._panelAnimationState),pf("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},Fh=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);},Jpa=function(a){var b=Gh(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new Hpa:new Ipa;if(b.startsWith("application/x-protobuf")){a=Gh(a,"Content-Transfer-Encoding");if(!a)return new Hh;if("base64"==
a.toLowerCase())return new Ih}return null},Kpa=function(a,b){if(a.nodeType===Node.ELEMENT_NODE&&b){var c,d;b=((null==(c=a.getAttribute)?void 0:null==(d=c.call(a,"aria-labelledby"))?void 0:d.split(/\s+/g))||[]).reduce(function(r,v){(v=document.getElementById(v))&&r.push(v);return r},[]);if(b.length)return b.map(function(r){return Kpa(r,!1)}).join(" ")}if(a.nodeType===Node.ELEMENT_NODE){var e;if(c=null==(e=a.getAttribute("aria-label"))?void 0:e.trim())return c}if("INPUT"===a.nodeName||"TEXTAREA"===
a.nodeName){var g;if(null==(g=a.labels)?0:g.length)return Array.from(a.labels).map(function(r){return Kpa(r,!1)}).join(" ");var h;if(e=null==(h=a.getAttribute("placeholder"))?void 0:h.trim())return e;var m;if(h=null==(m=a.getAttribute("title"))?void 0:m.trim())return h}return(a.textContent||"").replace(/\s+/g," ").trim()},Lpa=function(){return{color:"accent"}},Mpa=function(a){return"nonprod"===a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":"https://devopsconsole-pa-googleapis.corp.google.com"},
Npa=function(a){a=a.tagName;if("SCRIPT"===a||"STYLE"===a)throw Error("ba");},Opa=function(a,b){a.src=Jh(b).toString()},Kh=function(a,b){a.src=Jh(b);var c,d;(c=(b=null==(d=(c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:d.call(c,"script[nonce]"))?b.nonce||b.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)},Ppa=function(a,b,c){b=gna(b);void 0!==b&&a.open(b,c,void 0)},Lh=function(a){return null==console?!1:"function"===typeof console[a]},Mh=function(){Lh("debug")&&
console.debug.apply(console,Wc.apply(0,arguments))},Nh=function(){Lh("info")&&console.info.apply(console,Wc.apply(0,arguments))},Qpa=function(){Lh("log")&&console.log.apply(console,Wc.apply(0,arguments))},Oh=function(){Lh("warn")&&console.warn.apply(console,Wc.apply(0,arguments))},Rpa=function(){Lh("error")&&console.error.apply(console,Wc.apply(0,arguments))},Spa=function(a){if(null!=a){var b=a.getYear();if(null==b)Oh("No year. dateToJs");else{var c=a.getDay();if(null==c)Oh("No day. dateToJs");else if(a=
a.getMonth(),null==a)Oh("No month. dateToJs");else return{year:b,day:c,month:a}}}},Tpa=function(a){var b=new Ph;Kb(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},Qh=function(a){if(null!=a){var b=a.getSeconds();a=a.getNanos();return{seconds:b,nanos:a}}},Sh=function(a){var b=new Rh;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Upa=function(a){var b=new Th;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Vpa=function(a){if(null!=a)return Number(a.toDate())},Wpa=function(a){var b;
return{changelistNumbers:null!=(b=Uh(a,1))?b:[]}},Ypa=function(a){return{changelists:a.getChangelistsList().map(Xpa),nextPageToken:a.getNextPageToken()}},Xpa=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:Vh(a,2),pending:a.getPending(),timestamp:Qh(a.getTimestamp()),issueIds:null!=(b=a.getIssueIdsList())?b:[],fixedIssueIds:null!=(c=Wh(a,6))?c:[]}},Zpa=function(a){var b;return{author:a.getAuthor(),description:a.getDescription(),pending:a.getPending(),timestamp:a.getTimestamp(),affectedFiles:null!=
(b=Xh(a,5))?b:[]}},$pa=function(a,b){return a.size!==b.size?!1:[].concat(ad(a)).every(function(c){return b.has(c)})},aqa=function(a){var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=k(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},bqa=function(a,b){if(!$pa(a,b)){var c=[].concat(ad(b)).filter(function(e){return!a.has(e)}),d=[].concat(ad(a)).filter(function(e){return!b.has(e)});return{added:c,removed:d}}},cqa=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(ad(a===
c?b:a)).filter(function(d){return c.has(d)}))},dqa=function(a,b){return a.size>=b.size&&[].concat(ad(b)).every(function(c){return a.has(c)})},Yh=function(a,b){if(a===b)return!0;if(null==a||null==b)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(!Yh(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?$pa(a,b):!1;if(a instanceof q||b instanceof q)return a instanceof q&&b instanceof q?a==b||!(!a||!b)&&a instanceof b.constructor&&Hba(a,b):!1;if("object"===typeof a){if("object"!==typeof b)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 g=c[e];if(!eqa.call(b,g)||!Yh(a[g],b[g]))return!1}return!0}return!1},fqa=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=
a.next()){c=c.value;for(var d=!1,e=k(b),g=e.next();!g.done;g=e.next())if(Yh(c,g.value)){d=!0;break}d||b.push(c)}return b},gqa=function(a,b){for(var c=a.length-1;0<=c;c--)Yh(a[c],b)&&a.splice(c,1)},hqa=function(a,b,c){c=void 0===c?Infinity:c;if(a===b)return!0;if((null==a||null==b)&&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 g=d[e];if(a[g]!==b[g]&&("object"!==typeof a[g]||"object"!==typeof b[g]))return!1}return!0},
jqa=function(a){return Object.assign.apply(Object,[{}].concat(ad(iqa.map(function(b){var c={};return c[b]=a[b],c}))))},Zh=function(a){if(null!==a&&void 0!==a&&-1===["boolean","function","number","string"].indexOf(typeof a))if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(Zh(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=k(a);for(c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;
b.set(Zh(c),Zh(d))}a=b}else if(a instanceof q)a=a.clone();else{b={};c=k(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[d]=Zh(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},kqa=function(a){return"number"===typeof a},$h=function(a){return"string"===typeof a},ai=function(a){return Array.isArray(a)&&a.every($h)},lqa=function(a){return Array.isArray(a)&&a.every(kqa)},mqa=function(a){if(null==a)return!1;a=String(a).trim();if(2>=
a.length)return!1;var b=Number(a);return isNaN(b)?!1:String(b).length===a.length},bi=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},ei=function(a){if(a){if(kqa(a)){var b=new Date(a);47E3<b.getFullYear()&&(b=new Date(a/1E3));return new ci(b)}b=a.split("/");if(3===b.length)return a=di(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new ci(a,di(b[0])-1,di(b[1]));if(1===b.length)return ei(Number(a))}return new ci},nqa=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,
"")},oqa=function(a){return!(!a||!fi(a,"text/")&&!fi(a,"image/")&&"application/pdf"!==a)},pqa=function(a,b){return a.map(function(c){return c[b]})},qqa=function(a,b){return a.filter(function(c){return!b.has(c)})},rqa=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())if(!b.has(d.value))return!1;b=k(b);for(d=b.next();!d.done;d=b.next())if(!a.has(d.value))return!1;return!0},gi=function(a,b){return qqa(a,new Set(b))},sqa=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(hi).filter(function(d){return!!d})},
tqa=function(a,b){a=new URL(a);return a.host+a.pathname+b},uqa=function(a){return void 0!==a.user},vqa=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";default:return ii(a.replace(/_/g," ").toLowerCase())}},ji=function(a){return new ci(a.year,a.month-1,a.day)},ki=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},wqa=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},xqa=
function(a){return a?ki(ei(a)):null},yqa=function(a){return a?(a=li(a),isNaN(a)?null:a):null},zqa=function(a){var b=new mi;b.customFieldId=a.customFieldId;b.componentId=a.componentId;b.name=a.name;b.type=a.type;b.description=a.description||"";a.typedDefaultValue&&(b.typedDefaultValue=new ni(a.typedDefaultValue));b.required=!!a.required;b.fieldSignificance=a.fieldSignificance||"MINOR";b.allowedValue=a.allowedValue||null;b.stateOnIssues=a.stateOnIssues;var c=a.enabledOnIssues;b.enabledOnIssues=null==
c?!0:c;b.shared=a.shared;return b},Bqa=function(a){if(a)return{accessLevel:Aqa[a.getAccessLevel()]}},Dqa=function(a){a=Cqa[a.accessLevel];var b=new oi;b.setAccessLevel(a);return b},Eqa=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||"ACTIVE"===a||"UNSPECIFIED"===a},qi=function(a){return a?a.map(pi):[]},ri=function(a){a=qi(a);a.sort();return a},pi=function(a){return a&&a.getUserGaiaStatus?Fqa(si(a)):Fqa(a)},Fqa=function(a){return a?"DELETED"===a.userGaiaStatus?"[Deleted User]":"UNAVAILABLE"===
a.userGaiaStatus?"[Unavailable User]":Eqa(a)?Gqa(a)||"[No Data]":"[No Data]":""},ti=function(a){return a&&a.getUserGaiaStatus?Gqa(si(a)):Gqa(a)},Gqa=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},si=function(a){if(null!=a){var b={},c;if(c=a.getEmailAddress())b.emailAddress=c;if(c=a.getObfuscatedEmailAddress())b.obfuscatedEmailAddress=c;if(c=a.getUserGaiaStatus())b.userGaiaStatus=Hqa[c];(c=a.getAliasesList())&&0<c.length&&(b.aliases=c);return b}},ui=function(a){if(!a)return null;
var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())(c=si(c.value))&&b.push(c);return b},wi=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new vi;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(Iqa[a]);return e},xi=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Jqa=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(xi(c.value));return b},yi=
function(a){if(null!=a&&(a=String(a),""!==a.trim()))return a=Number(a),isNaN(a)?void 0:a},zi=function(a){if(null!=a)return String(a)},Ai=function(a){if(null!=a&&"0"!==a)return a},Bi=function(a){return null==a?void 0:a},Ci=function(a){return null==a?null:a},Di=function(a){return function(b){return null==b?a:b}},Ei=function(a){return null!=a},Kqa=function(a){return{noAccessEmails:Xh(a,1),unknownEmails:Xh(a,2)}},Lqa=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=si(c);if(c=a.getGroup())b.group=
si(c);if(c=a.getAlias())b.alias=c;return b}},Gi=function(a){var b=new Fi;if(uqa(a))return b.setUser(wi(a.user)),b;if(void 0!==a.group)return b.setGroup(wi(a.group)),b;void 0!==a.alias&&b.setAlias(a.alias);return b},Nqa=function(a){var b=Mqa[a.getImplicitAccess()],c,d,e,g,h,m,r,v,y,A;return{admins:Hi(null!=(c=a.getAdminsList())?c:[]),appenders:Hi(null!=(d=a.getAppendersList())?d:[]),editors:Hi(null!=(e=a.getEditorsList())?e:[]),readers:Hi(null!=(g=a.getReadersList())?g:[]),restrictedReaders:Hi(null!=
(h=a.getRestrictedReadersList())?h:[]),restrictedPlusReaders:Hi(null!=(m=a.getRestrictedPlusReadersList())?m:[]),inheritedAdmins:Hi(null!=(r=a.getInheritedAdminsList())?r:[]),implicitAppenders:Hi(null!=(v=a.getImplicitAppendersList())?v:[]),implicitEditors:Hi(null!=(y=a.getImplicitEditorsList())?y:[]),implicitReaders:Hi(null!=(A=a.getImplicitReadersList())?A:[]),implicitAccess:b}},Hi=function(a){return a.map(Lqa).filter(Ei)},Oqa=function(a){switch(a){case 2:return"PII";case 3:return"SPII";case 0:case 1:return"NONE_DETECTED";
default:return Fh(a,"Unexpected pii severity")}},Pqa=function(a){switch(a){case "PII":return 2;case "SPII":return 3;case "NONE_DETECTED":return 1;case "PII_SEVERITY_UNSPECIFIED":return 0;default:return Fh(a,"Unexpected pii severity")}},Ii=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},Qqa=function(a){switch(a){case "NONE_DETECTED":return 1;case "PII":return 2;case "SPII":return 3;default:return 1}},Rqa=function(a){switch(a){case "PII":return"Restricted";case "SPII":return"Restricted+";
default:return""}},Sqa=function(a){var b=Ji(a,1)?Ki(a,1):void 0,c=a.hasResourcePath()?a.getResourcePath():void 0,d=Oqa(a.getSeverity());return{contentJudgementId:b,resourcePath:c,severity:d,judgementReason:a.getJudgementReason(),contentJudge:V(a,5)}},Tqa=function(a){var b=new Li;b.setJudgementReason(a.judgementReason);b.setSeverity(Pqa(a.severity));return b},Uqa=function(a){return String(a)},Mi=function(a){var b=yi(a);if(null==b)throw Error("Ub`"+a);return b},Wqa=function(a){if(null!=a)return{customFieldId:Bi(a.getCustomFieldId()),
standardField:Vqa[a.getStandardField()]}},Yqa=function(a){var b=new Ni;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&b.setStandardField(Xqa[a.standardField]);return b},$qa=function(a){if(a&&(a=Zqa(a)))return zqa(a)},Zqa=function(a){if(null!=a){var b=a.getName();if(null==b)Oh("No name. customFieldToJs");else{var c=yi(a.getCustomFieldId());if(null==c)Oh("No customFieldId. customFieldToJs");else{if(a.hasType())return{name:b,description:Bi(a.getDescription()),required:Bi(a.getRequired()),
enabledOnIssues:!!a.getEnabledOnIssues(),type:ara[a.getType()],customFieldId:c,componentId:yi(a.getComponentId()),allowedValue:Bi(Xh(a,8)),stateOnIssues:bra[a.getStateOnIssues()],fieldSignificance:cra[a.getFieldSignificance()],typedDefaultValue:dra(a.getTypedDefaultValue()),shared:!!a.getShared()};Oh("No type. customFieldToJs")}}}},dra=function(a){if(null!=a){var b=yi(a.getCustomFieldId());if(null==b)Oh("No customFieldId. customFieldValueToJs");else{var c=Bi(Xh(a,12));b={customFieldId:b,displayValues:c};
switch(Oi(a,Pi)){case 4:b.textValue=Bi(a.getTextValue());break;case 5:b.dateValue=Spa(a.getDateValue());break;case 6:b.enumValue=Bi(a.getEnumValue());break;case 7:b.numericValue=Bi(a.getNumericValue());break;case 8:var d,e;b.repeatedTextValue={values:null!=(e=null==(d=a.getRepeatedTextValue())?void 0:d.getValuesList())?e:[]};break;case 10:var g,h;b.repeatedEnumValue={values:null!=(h=null==(g=a.getRepeatedEnumValue())?void 0:g.getValuesList())?h:[]};break;case 11:var m,r;b.repeatedNumericValue={values:null!=
(r=null==(m=a.getRepeatedNumericValue())?void 0:m.getValuesList())?r:[]};break;case 9:var v,y,A,G;b.repeatedDateValue={values:null!=(G=null==(v=a.getRepeatedDateValue())?void 0:null==(y=v.getValuesList())?void 0:null==(A=y.map(Spa))?void 0:A.filter(Ei))?G:[]}}return b}}},era=function(a){var b=new Qi;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));a.displayValues&&Ri(b,12,a.displayValues);if(void 0!==a.textValue)b.setTextValue(a.textValue);else if(void 0!==a.enumValue)b.setEnumValue(a.enumValue);
else if(void 0!==a.numericValue)b.setNumericValue(a.numericValue);else if(void 0!==a.dateValue)b.setDateValue(Tpa(a.dateValue));else if(void 0!==a.repeatedTextValue){var c=new Si;c.setValuesList(a.repeatedTextValue.values);b.setRepeatedTextValue(c)}else void 0!==a.repeatedEnumValue?(c=new Si,c.setValuesList(a.repeatedEnumValue.values),b.setRepeatedEnumValue(c)):void 0!==a.repeatedNumericValue?(c=new Ti,c.setValuesList(a.repeatedNumericValue.values),b.setRepeatedNumericValue(c)):void 0!==a.repeatedDateValue&&
(c=new Ui,c.setValuesList(a.repeatedDateValue.values.map(Tpa)),b.setRepeatedDateValue(c));return b},fra=function(a){return $qa(a.getCustomField())},jra=function(a){var b=new Vi;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(gra[a.type]);b.setRequired(a.required);b.setName(a.name);b.setDescription(a.description);a.typedDefaultValue&&b.setTypedDefaultValue(era(a.typedDefaultValue));a.allowedValue&&Ri(b,8,a.allowedValue);b.setFieldSignificance(hra[a.fieldSignificance]);
b.setStateOnIssues(ira[a.stateOnIssues]);b.setEnabledOnIssues(a.enabledOnIssues);b.setShared(a.shared);return b},nra=function(a){var b=new Wi;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&&kra(b,lra(new Xi,a.numericSpec.multiplier));if(a.enumSpec){var c;mra(b,(new Yi).setOptionsList((null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Zi).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}$i(b,6,a)}return b},pra=function(a){if(a.hasPlainFormat()){var b;var c={plainSection:(null!=(b=a.getPlainFormat().getPlainSectionList())?b:[]).map(ora)}}else c=void 0;return{plainFormat:c,markdownFormat:a.hasMarkdownFormat()?{content:a.getMarkdownFormat().getContent()}:void 0,literalFormat:a.hasLiteralFormat()?{content:a.getLiteralFormat().getContent()}:void 0}},ora=function(a){return{isQuoted:a.getIsQuoted(),content:a.getContent()}},rra=function(a){return(new qra).setIsQuoted(a.isQuoted).setContent(a.content)},
tra=function(a){return{retentionSelection:sra[aj(a,1,0)],retentionPeriodDays:Vh(a,2),piiRetentionSelection:sra[aj(a,3,0)],piiRetentionPeriodDays:Vh(a,4),spiiRetentionPeriodDays:Vh(a,5)}},vra=function(a){var b=new bj;cj(b,1,ura[a.retentionSelection]);null!==a.retentionPeriodDays&&dj(b,2,a.retentionPeriodDays);cj(b,3,ura[a.piiRetentionSelection]);null!==a.piiRetentionPeriodDays&&dj(b,4,a.piiRetentionPeriodDays);null!==a.spiiRetentionPeriodDays&&dj(b,5,a.spiiRetentionPeriodDays);return b},wra=function(a){if(null!=
a){var b=Ci(Qh(a.getRetentionPeriod()));a=Ci(Qh(a.getScheduledDeletionTime()));return{retentionPeriod:b,scheduledDeletionTime:a}}},yra=function(a){if(null!=a){a:{a=W(a,ej,1);if(null!=a){if(a.hasSeverity()){a={severity:xra[a.getSeverity()]};break a}Oh("No severity. piiVerdictToJs")}a=void 0}return{piiVerdict:a}}},zra=function(a){var b;return{paths:null!=(b=Xh(a,1))?b:[]}},Ara=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new fj;b&&e.setEmailAddress(b);
c&&e.setObfuscatedEmailAddress(c);(null==d?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:Fh(a)}return e},Bra=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:b.userGaiaStatus="UNSPECIFIED";
break;case 1:b.userGaiaStatus="ACTIVE";break;case 2:b.userGaiaStatus="DELETED";break;case 3:b.userGaiaStatus="UNAVAILABLE";break;default:Fh(c)}a=a.getAliasesList();if(null==a?0:a.length)b.aliases=a;return b},Cra=function(a){return{startTime:Qh(a.getStartTime()),endTime:Qh(a.getEndTime()),targetTime:Qh(a.getTargetTime())}},Dra=function(a){var b=new gj;a.startTime&&b.setStartTime(Sh(a.startTime));a.endTime&&b.setEndTime(Sh(a.endTime));a.targetTime&&b.setTargetTime(Sh(a.targetTime));return b},Fra=function(a){var b=
new hj;b.setInherit(a.inherit);b.setSource(Era[a.source]);b.setId(a.id);b.setComment(a.comment);cj(b,6,a.sourceComponentId);b.setSourceTeamId(a.sourceTeamId);return b},Gra=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:aj(b,2,0))},Hra=function(a){var b;return 1===(null==(b=W(a,ij,1))?void 0:b.getEffectiveSloEditPolicy())},Ira=function(a){var b=W(a,fj,2);a:{var c=aj(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:Fh(c)}c=void 0}var d=a.getTimeZone(),e=W(a,jj,6);if(null==b)throw Error("Vb");if(null==c)throw Error("Wb");if(null==d)throw Error("Xb");if(null==e)throw Error("Yb");var g=a.getId();b=Bra(b);a=Vh(a,4);var h={id:d.getId()};d.getVersion()&&(h.version=d.getVersion());return{id:g,lead:b,frequency:c,ordinal:a,timeZone:h,timeOfDay:{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()}}},Kra=function(a){var b=(new kj).setId(a.id),c=Ara(a.lead);b=lj(b,fj,2,c).setFrequency(Jra(a.frequency));
b=Kb(b,4,a.ordinal);c=b.setTimeZone;var d=a.timeZone,e=(new mj).setId(d.id);d.version&&e.setVersion(d.version);b=c.call(b,e);a=a.timeOfDay;a=(new jj).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos);return lj(b,jj,6,a)},Nra=function(a){return{metric:Lra[a.getMetric()],matcher:a.getMatcher(),dayType:Mra[a.getDayType()],objective:Qh(a.getObjective()),businessDays:a.getBusinessDays()}},Qra=function(a){var b=new nj;return cj(b,1,Ora[a.metric]).setMatcher(a.matcher).setDayType(Pra[a.dayType]).setObjective(Upa(a.objective)).setBusinessDays(a.businessDays)},
pj=function(a){var b,c;return{sloId:a.getSloId(),version:a.getVersion(),name:a.getName(),description:a.getDescription(),parentId:a.getParentId(),elements:(null!=(b=oj(a,nj,6))?b:[]).map(Nra),effectiveElements:(null!=(c=oj(a,nj,7))?c:[]).map(Nra),isArchived:a.getIsArchived(),alertState:Rra[aj(a,9,0)]}},Tra=function(a){var b=(new qj).setSloId(a.sloId).setVersion(a.version).setName(a.name).setDescription(a.description).setParentId(a.parentId);var c=a.elements.map(Qra);b=rj(b,6,c);c=a.effectiveElements.map(Qra);
b=rj(b,7,c).setIsArchived(a.isArchived);return cj(b,9,Sra[a.alertState])},Ura=function(a){return{author:si(a.getAuthor()),timestamp:Qh(a.getTimestamp()),add:pj(a.getAdd()),remove:pj(a.getRemove()),addMask:zra(a.getAddMask()),removeMask:zra(a.getRemoveMask())}},Jra=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return Fh(a)}},Vra=function(a){if(null!=a)return{tag:a.getTag(),text:a.getText()}},dsa=function(a){if(null!=a){var b,c,d,e,g,h,m,r,v=a.getTitle()||
"",y=Ci(a.getComment()),A=Wra(a.getFormattingMode()),G=Ci(a.getVersion()),N=Ci(a.getCreatedTimeMicros()),Q=!!a.getIsArchived(),Z=!!a.getInProd(),Y=Ci(a.getIsDeleted()),ea=Ci(Xh(a,18)),ja=Ci(a.getPostmortemsList()),va=Ci(Xh(a,19)),za=Ci(Xh(a,20)),Pa=Ci(Xh(a,21)),Sa=Ci(yi(a.getComponentId())),Wa=null!=(h=Ai(Ki(a,15)))?h:null;h=Ci(null==(b=Wh(a,14))?void 0:b.map(yi).filter(Ei));b=Ci(null==(c=Wh(a,16))?void 0:c.map(Ai).filter(Ei));c=Ci(null==(d=Wh(a,17))?void 0:d.map(Ai).filter(Ei));d=Ci(null==(e=a.getHotlistIdList())?
void 0:e.map(yi).filter(Ei));e=Ci(null==(g=Wh(a,30))?void 0:g.map(Ai).filter(Ei));g=null!=(m=Qh(a.getSloStartTime()))?m:null;m=null!=(r=Qh(a.getSloEndTime()))?r:null;r=Ci(si(W(a,vi,36)));var Qb=Ci(si(W(a,vi,37))),Gb=Ci(si(W(a,vi,38))),cb=Ci(si(W(a,vi,39))),sa=Ci(ui(oj(a,vi,40))),Ja=Ci(ui(oj(a,vi,51))),Qa=oj(a,Qi,24).map(dra).filter(Ei),fb=Xra[a.getRetention()],Za=cra[a.getSignificanceOverride()],Yc=Yra[a.getDeletionReason()],jb=a.hasType()?Zra[a.getType()]:null,yb=a.hasPriority()?$ra[a.getPriority()]:
null,ab=a.hasSeverity()?asa[a.getSeverity()]:null,Mb=a.hasStatus()?sj[a.getStatus()]:null,sb=tj(a,52)?bsa[a.getSloSnoozeType()]:null,Jb=a.hasAccessLimitLevel()?csa[a.getAccessLimitLevel()]:null;a.hasEffort()?(a=a.getEffort(),a={specId:uj(a,1),estimate:V(a,2),averageDays:vj(a,3),totalOpen:vj(a,4),totalComplete:vj(a,5)}):a=void 0;return{title:v,comment:y,formattingMode:A,version:G,createdTimeMicros:N,isArchived:Q,inProd:Z,isDeleted:Y,changelist:ea,postmortems:ja,foundInVersion:va,targetedToVersion:za,
verifiedInVersion:Pa,componentId:Sa,duplicateOfIssueId:Wa,attachmentId:h,blockedByIssueId:b,blockingIssueId:c,hotlistId:d,duplicateIssueId:e,sloStartTime:g,sloEndTime:m,authorUser:r,reporterUser:Qb,assigneeUser:Gb,verifierUser:cb,ccUsers:sa,collaboratorsUsers:Ja,customField:Qa,retention:fb,significanceOverride:Za,deletionReason:Yc,type:jb,priority:yb,severity:ab,status:Mb,sloSnoozeType:sb,issueAccessLimitLevel:Jb,effort:a}}},nsa=function(a){var b=new wj;if(a.authorUser){var c=wi(a.authorUser);lj(b,
vi,36,c)}a.createdTimeMicros&&b.setCreatedTimeMicros(a.createdTimeMicros);a.componentId&&b.setComponentId(String(a.componentId));a.version&&b.setVersion(a.version);a.type&&b.setType(esa[a.type]);a.status&&b.setStatus(fsa[a.status]);a.priority&&b.setPriority(gsa[a.priority]);a.severity&&b.setSeverity(hsa[a.severity]);void 0!==a.title&&b.setTitle(a.title);a.reporterUser&&(c=wi(a.reporterUser),lj(b,vi,37,c));a.assigneeUser&&(c=wi(a.assigneeUser),lj(b,vi,38,c));a.verifierUser&&(c=wi(a.verifierUser),lj(b,
vi,39,c));a.ccUsers&&(c=a.ccUsers.map(wi),rj(b,40,c));a.collaboratorsUsers&&(c=a.collaboratorsUsers.map(wi),rj(b,51,c));a.attachmentId&&(c=a.attachmentId.map(Uqa),xj(b,14,c));a.duplicateOfIssueId&&cj(b,15,a.duplicateOfIssueId);a.blockedByIssueId&&xj(b,16,a.blockedByIssueId);a.blockingIssueId&&xj(b,17,a.blockingIssueId);a.changelist&&Ri(b,18,a.changelist);a.postmortems&&b.setPostmortemsList(a.postmortems);a.foundInVersion&&Ri(b,19,a.foundInVersion);a.targetedToVersion&&Ri(b,20,a.targetedToVersion);
a.verifiedInVersion&&Ri(b,21,a.verifiedInVersion);a.hotlistId&&b.setHotlistIdList(a.hotlistId.map(Uqa));a.customField&&(c=a.customField.map(era),rj(b,24,c));a.comment&&b.setComment(a.comment);a.formattingMode&&b.setFormattingMode(isa[a.formattingMode]);a.retention&&b.setRetention(jsa[a.retention]);a.isDeleted&&b.setIsDeleted(a.isDeleted);a.deletionReason&&b.setDeletionReason(ksa[a.deletionReason]);a.significanceOverride&&b.setSignificanceOverride(hra[a.significanceOverride]);a.duplicateIssueId&&xj(b,
30,a.duplicateIssueId);void 0!==a.inProd&&b.setInProd(a.inProd);void 0!==a.isArchived&&b.setIsArchived(a.isArchived);a.sloStartTime&&b.setSloStartTime(Sh(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(Sh(a.sloEndTime));a.sloSnoozeType&&b.setSloSnoozeType(lsa[a.sloSnoozeType]);a.issueAccessLimitLevel&&b.setAccessLimitLevel(msa[a.issueAccessLimitLevel]);if(a.effort){c=b.setEffort;a=a.effort;var d=new yj;a.specId&&Nb(d,1,a.specId);a.estimate&&zj(d,2,a.estimate);a.averageDays&&Db(d,3,Va(a.averageDays),
0);a.totalOpen&&Db(d,4,Va(a.totalOpen),0);a.totalComplete&&Db(d,5,Va(a.totalComplete),0);c.call(b,d)}return b},osa=function(a){var b={targetIssueId:String(uj(a,1))};if(a=uj(a,2))b.afterIssueId=zi(a);return b},psa=function(a,b,c,d){a=(new Aj).setIssueId(a);b&&(b=msa[b])&&(b=(new Bj).setAccessLevel(b),a.setIssueAccessLimit(b));c&&a.setAddedCollaboratorsList(c.map(wi));d&&a.setRemovedCollaboratorsList(d.map(wi));return a},qsa=function(a){var b=new Cj;b.setIssueId(String(a));return b},ssa=function(a){var b=
new rsa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},usa=function(a){var b=new tsa;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},vsa=function(a){return{issueId:Ai(a.getIssueId()),status:sj[a.getStatus()],title:a.getTitle()}},xsa=function(a){var b=new Dj;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&b.setActionType(wsa[a.actionType]);a.customFieldValue&&b.setCustomFieldValue(era(a.customFieldValue));return b},
ysa=function(a){var b=new Ej;b.setIssueId(String(a.issueId));b.setActionsList(a.actions.map(xsa));return b},Asa=function(a){var b=new Fj;b.setAddHotlistIdsList(a.addHotlistIds.map(String));b.setRemoveHotlistIdsList(a.removeHotlistIds.map(String));var c=a.hotlistIssue;a=new Gj;a.setIssueId(String(c.issueId));c.position&&a.setPosition(c.position);if(c.issue){var d=a.setIssue;c=c.issue;var e=new Hj;e.setIssueId(String(c.issueId));var g,h=(null!=(g=c.snapshot)?g:[]).map(nsa);rj(e,2,h);if(c.userData){g=
e.setUserData;h=c.userData;var m=new Ij;h.voted&&m.setVoted(h.voted);h.starred&&m.setStarred(h.starred);h.notificationSubscription&&m.setNotificationSubscription(zsa[h.notificationSubscription]);void 0!==h.lastViewedTimeMicros&&cj(m,5,h.lastViewedTimeMicros);g.call(e,m)}if(c.aggregatedData){h=c.aggregatedData;g=new Jj;g.setVoteCount(h.voteCount);g.setCreatedTimeMicros(h.createdTimeMicros);cj(g,4,h.resolvedTimeMicros);cj(g,5,h.verifiedTimeMicros);g.setModifiedTimeMicros(h.modifiedTimeMicros);g.setLastModifier(wi(h.lastModifier));
g.setSloId(String(h.sloId));g.setTeamId(String(h.teamId));if(h.retentionState){m=g.setRetentionState;var r=h.retentionState,v=new Kj;r.retentionPeriod&&v.setRetentionPeriod(Upa(r.retentionPeriod));r.scheduledDeletionTime&&v.setScheduledDeletionTime(Sh(r.scheduledDeletionTime));m.call(g,v)}h.sloStatus&&(m=g.setSloStatus,h=h.sloStatus,r=new Lj,h.assignmentBounds&&r.setAssignmentBounds(Dra(h.assignmentBounds)),h.responseBounds&&r.setResponseBounds(Dra(h.responseBounds)),h.closureBounds&&r.setClosureBounds(Dra(h.closureBounds)),
m.call(g,r));lj(e,Jj,4,g)}c.accessLimit&&e.setAccessLimit(Dqa(c.accessLimit));e.setCustomFieldsList(c.customFields.map(zqa).map(jra));var y;e.setVisibleFieldsList((null!=(y=c.visibleFields)?y:[]).map(Yqa));cj(e,7,c.majorModifiedTimeMicros);e.setParentIssueIdsList(c.parentIssueIds);if(c.ancestors)for(y=e.getAncestorsMap(),g=k(c.ancestors.entries()),h=g.next();!h.done;h=g.next()){h=k(h.value);v=h.next().value;h=h.next().value;m=y;r=m.set;v=Number(v);var A=new Mj;A.setSourceIssueIdsList(h.sourceIssueIds.map(yi).filter(Ei));
r.call(m,v,A)}e.setChildIssueCount(c.childIssueCount);e.setIsArchived(c.isArchived);d.call(a,e)}lj(b,Gj,3,a);return b},Bsa=function(a){var b;return{issueDigests:(null!=(b=a.getIssueDigestsList())?b:[]).map(vsa),numTotalResults:a.getNumTotalResults()}},Dsa=function(a){var b=new Nj;b.setIssueId(String(a.issueId));var c=a.targetIds.map(String);xj(b,2,c);b.setRelation(Csa[a.relation]);b.setActionType(wsa[a.actionType]);return b},Fsa=function(a){var b=new Esa;b.setIssueId(String(a.issueId));b.setRetention(jsa[a.retention]);
a.significanceOverride&&b.setSignificanceOverride(hra[a.significanceOverride]);return b},Gsa=function(a){var b=new Oj;b.setSnapshot(nsa(a.snapshot));a.attachments&&b.setAttachmentsList(a.attachments);a.templateId&&b.setTemplateId(String(a.templateId));a.contentJudgement&&b.setContentJudgement(Tqa(a.contentJudgement));return b},Hsa=function(a){return{issueId:Ai(a.getIssueId())}},Rj=function(a){return{issueId:Ai(a.getIssueId()),updateText:a.getUpdateText(),formattedText:Pj(a,Qj,3)?pra(W(a,Qj,3)):void 0,
formattingMode:Wra(a.getFormattingMode()),author:Bi(si(a.getAuthor())),updateTime:Bi(Qh(a.getUpdateTime())),version:a.getVersion()}},Wra=function(a){switch(a){case 0:break;case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:return Fh(a)}},Isa=function(a){a:{var b=a.getStatus();switch(b){case 1:b=0;break a;case 2:b=1;break a;case 3:b=2;break a;case 0:throw Error("Zb");default:Fh(b)}b=void 0}return{status:b,summary:V(a,2)}},Jsa=function(a){return{encryptedMedia:rb(Sj(a,1)),errorMessage:a.getErrorMessage()}},
Ksa=function(a){var b=new Tj;cj(b,1,Oa(a.attachment,!1,!1));void 0!==a.contentJudgement&&b.setContentJudgement(Tqa(a.contentJudgement));return b},Msa=function(a){var b;return{attachments:(null!=(b=a.getAttachmentsList())?b:[]).map(Lsa)}},Lsa=function(a){if(null!=a){var b=yi(a.getAttachmentId()),c=V(a,7),d=a.getEtag(),e=a.getContentType(),g=a.getDescription(),h=a.getFilename(),m=a.getLength(),r=Xra[a.getPiiRetention()],v=wra(a.getPiiRetentionState()),y=Nsa(a.getEntityStatus()),A=yra(a.getContentVerdict());
a=W(a,Uj,3);a=null!=a?{filename:Bi(X(a,5)),length:Bi(a.getLength_legacyNullable()),contentType:Bi(X(a,1))}:void 0;return{attachmentId:b,filecompUrl:c,etag:d,contentType:e,description:g,filename:h,length:m,piiRetention:r,piiRetentionState:v,entityStatus:y,contentVerdict:A,media:a}}},Nsa=function(a){if(null!=a)return{reason:Osa[a.getReason()],status:Psa[a.hasStatus()?a.getStatus():0]}},Qsa=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription()}},Ssa=function(a){var b=a.getTeamId(),
c=a.getVersion(),d=a.getName(),e=a.getDescription(),g=a.getPathNamesList(),h=a.getPathIdsList().map(String),m=Xh(a,6),r=a.getMembersList().map(Rsa),v=a.getDeleted(),y=uj(a,9);var A=a.getSlo();A=null!=A?{inherit:A.getInherit(),sloId:A.getSloId(),comment:A.getComment(),sourceTeamId:A.getSourceTeamId()}:void 0;return{teamId:b,version:c,name:d,description:e,pathNames:g,pathIds:h,collapsedPathNames:m,members:r,deleted:v,estimatedComponentCount:y,slo:A,sloLead:si(W(a,vi,12)),defaultSloLead:si(W(a,vi,13))}},
Rsa=function(a){var b;return{user:null!=(b=si(a.getUser()))?b:{},isLead:Vj(a,2)}},Tsa=function(a){var b=new Wj;Xj(b,2,a.isLead);b.setUser(wi(a.user));return b},Usa=function(a){var b=new Yj;if(null==a)return b;b.setInherit(a.inherit);b.setSloId(a.sloId);b.setComment(a.comment);b.setSourceTeamId(a.sourceTeamId);return b},Vsa=function(a){var b=new Zj;b.setInherit(a.inherit);b.setId(String(a.id));return b},Wsa=function(a){return{teamId:a.getId(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),
pathIds:a.getPathIdsList()}},Xsa=function(a){return{teamId:a.getTeamId(),score:a.getScore()}},Zsa=function(a){var b=new Ysa;b.setTeamId(a.teamId);b.setScore(a.score);return b},$sa=function(a){return{author:si(a.getAuthor()),timestamp:Qh(a.getTimestamp()),add:ak(a.getAdd()),remove:ak(a.getRemove()),addMask:zra(a.getAddMask()),removeMask:zra(a.getRemoveMask())}},ata=function(a){var b;return{updates:(null!=(b=a.getUpdatesList())?b:[]).map($sa)}},ak=function(a){var b=a.hasRetentionSettings()?tra(a.getRetentionSettings()):
void 0;if(Pj(a,bk,10)){var c=W(a,bk,10),d,e;var g=(null!=(d=Wh(c,1))?d:[]).map(Mi);d=Xh(c,2);var h=oj(c,Vi,4);if(h){c=[];h=k(h);for(var m=h.next();!m.done;m=h.next())(m=$qa(m.value))&&c.push(m)}else c=void 0;g={componentPathId:g,componentPathName:d,allCustomField:null!=(e=c)?e:[]}}else g=void 0;e=g;a.hasSlo()?(g=a.getSlo(),g={inherit:g.getInherit(),source:bta[g.getSource()],id:g.getId(),sourceComponentId:Ki(g,6),sourceTeamId:g.getSourceTeamId(),comment:g.getComment()}):g=void 0;var r;if(Pj(a,Wi,24)){c=
a.getEffortSpec();d=c.getInherit();h=c.getId();m=c.getName();a:switch(aj(c,6,0)){case 2:var v="MAX";break a;case 1:v="SUM";break a;default:v="AGGREGATION_TYPE_UNSPECIFIED"}d={inherit:d,id:h,name:m,aggregationType:v,customFieldId:c.getCustomFieldId()};if(ck(c,Xi,4,dk)){if(r=fk(c,Xi,4,dk))d.numericSpec={multiplier:vj(r,1)}}else if(ck(c,Yi,5,dk)&&(c=fk(c,Yi,5,dk),d.enumSpec={options:[]},c&&0<(null==c?void 0:null==(r=c.getOptionsList())?void 0:r.length)))for(r=k(c.getOptionsList()),c=r.next();!c.done;c=
r.next())c=c.value,m=h=void 0,null==(h=d.enumSpec)||null==(m=h.options)||m.push({label:c.getLabel(),value:c.getValue()});r=d}else r=void 0;a.hasTeam()?(d=a.getTeam(),d={inherit:d.getInherit(),id:d.getId()}):d=void 0;var y,A;c=Mi(a.getComponentId());h=Mi(Ki(a,2));m=a.getName();v=a.getDescription();var G=a.getArchived(),N=(null!=(y=Wh(a,7))?y:[]).map(Mi);y=Bqa(a.getAccessLimit());var Q=V(a,13),Z=Vj(a,14);var Y=1===aj(a,15,0)?"ENABLED":"DISABLED";return{componentId:c,parentComponentId:h,name:m,description:v,
archived:G,customFieldId:N,componentPathInfo:e,accessLimit:y,emailAlias:Q,userHasEditAccess:Z,commentEditState:Y,defaultTemplateId:Mi(Ki(a,18)),slo:g,bugscopeSloId:Ki(a,20),retentionSettings:b,fieldOrdering:cta[aj(a,23,0)],effortSpec:r,team:d,teamSuggestions:(null!=(A=a.getTeamSuggestionsList())?A:[]).map(Xsa),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0}},dta=function(a){var b=new gk;cj(b,2,String(a.parentComponentId));b.setName(a.name);b.setDescription(a.description);a.commentEditState&&
b.setCommentEditState("ENABLED"===a.commentEditState?1:2);a.retentionSettings&&b.setRetentionSettings(vra(a.retentionSettings));return b},eta=function(a){var b;return(null!=(b=oj(a,gk,1))?b:[]).map(ak)},fta=function(a){return{warningHeader:V(a,1),warning:V(a,2),isAllowed:Vj(a,3),isExternalMove:Vj(a,4)}},gta=function(a){return{templateId:a.getTemplateId(),componentId:Mi(a.getComponentId()),default:!!a.getDefault(),name:a.getName(),description:a.getDescription(),snapshot:dsa(a.getSnapshot())}},hta=
function(a){var b=new hk;b.setTemplateId(a.templateId);b.setComponentId(String(a.componentId));b.setDefault(a.default);b.setName(a.name);b.setDescription(a.description);b.setSnapshot(nsa(a.snapshot));return b},ita=function(a){var b={},c=ik(a,2,Vi).entries();c=k(c);for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;(e=$qa(e))&&(b[Mi(d)]=e)}return{snapshot:dsa(a.getSnapshot()),customFieldMap:b}},jta=function(a){var b;return(null!=(b=oj(a,gk,1))?b:[]).map(ak)},
kta=function(a){var b=tra(a.getRetentionSettings());return{componentPath:a.getComponentPath(),retentionSettings:b}},mta=function(a){return oj(a,lta,2).map(kta)},pta=function(a){if(null!=a){var b=a.getName();if(null==b)Oh("No name. eventDiffToJs");else{b={name:b,displayName:Bi(a.getDisplayName()),timestamp:Vpa(a.getTimestamp()),important:!!Vj(a,5),type:nta[a.getType()]};if(ck(a,jk,6,kk)){var c=fk(a,jk,6,kk);if(ck(c,lk,1,mk)){var d=fk(c,lk,1,mk);b.isUser=!0;b.oldValue=Di("<none>")(ti(null==d?void 0:
W(d,vi,1)));b.newValue=Di("<none>")(ti(null==d?void 0:W(d,vi,2)))}if(ck(c,nk,2,mk)){var e,g;b.oldValue=Bi(null==(e=fk(a,jk,6,kk))?void 0:null==(g=fk(e,nk,2,mk))?void 0:g.getOldValue());var h,m;b.newValue=Bi(null==(h=fk(a,jk,6,kk))?void 0:null==(m=fk(h,nk,2,mk))?void 0:m.getNewValue())}}else if(ck(a,ok,9,kk)){var r;b.customFieldId=Bi(null==(r=fk(a,ok,9,kk))?void 0:r.getCustomFieldId());var v;b.oldValue=Bi(null==(v=fk(a,ok,9,kk))?void 0:v.getOldValue());var y;b.newValue=Bi(null==(y=fk(a,ok,9,kk))?void 0:
y.getNewValue())}else if(ck(a,pk,10,kk))e=fk(a,pk,10,kk),b.isUser=!0,a=(null==e?void 0:e.getAddedList())||[],e=(null==e?void 0:e.getRemovedList())||[],b.added=a.map(function(N){return ti(N)}).map(Di("<none>")),b.removed=e.map(function(N){return ti(N)}).map(Di("<none>"));else if(ck(a,qk,7,kk)){var A;b.added=(null==(A=fk(a,qk,7,kk))?void 0:A.getAddedList())||[];var G;b.removed=(null==(G=fk(a,qk,7,kk))?void 0:G.getRemovedList())||[]}else ck(a,rk,8,kk)?(e=(null==(d=fk(a,rk,8,kk))?void 0:d.getAddedList())||
[],a=(null==(c=fk(a,rk,8,kk))?void 0:c.getRemovedList())||[],b.added=e.map(ota).filter(Ei),b.removed=a.map(ota).filter(Ei)):ck(a,sk,11,kk)?(a=Nsa(fk(a,sk,11,kk).getEntityStatus()),b.statusUpdateDiff={entityStatus:a}):Oh("Unhandled diff type '"+b.type+"'");return b}}},ota=function(a){if(null!=a){var b=a.getValue();if(null==b)Oh("No value. linkedItemToJs");else if(a=a.getHref(),null==a)Oh("No href. linkedItemToJs");else return{value:b,href:a}}},qta=function(a){a=Og(a).toString();var b=new tk;uk(b,2,
a);return b},rta=function(a){if(!a)return null;a=X(a,2);var b;null===a||void 0===a?b=null:b=Mg(a);return b},vk=function(a){if(null!=a){var b=a.getIssueId();if(null==b)Oh("No issueId. issueToJs");else{for(var c=new Map,d=k(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c.set(String(e),{sourceIssueIds:g.getSourceIssueIdsList().map(String)})}var h,m,r,v;d=a.getUserData();if(null!=d){var y;d={voted:Ci(d.getVoted()),starred:Ci(d.getStarred()),
notificationSubscription:sta[d.getNotificationSubscription()],lastViewedTimeMicros:null!=(y=uj(d,5))?y:0}}else d=void 0;y=Bqa(a.getAccessLimit());e=oj(a,wj,2).map(dsa).filter(Ei);g=a.getCustomFieldsList().map(Zqa).filter(Ei);var A=a.getVisibleFieldsList().map(Wqa).filter(Ei);var G=W(a,Jj,4);if(null!=G){var N=void 0;if(G.hasSloStatus()){var Q=G.getSloStatus();N={assignmentBounds:Q.hasAssignmentBounds()?Cra(Q.getAssignmentBounds()):void 0,responseBounds:Q.hasResponseBounds()?Cra(Q.getResponseBounds()):
void 0,closureBounds:Q.hasClosureBounds()?Cra(Q.getClosureBounds()):void 0}}var Z,Y,ea,ja,va;Q={voteCount:null!=(Z=G.getVoteCount())?Z:0,createdTimeMicros:null!=(Y=G.getCreatedTimeMicros())?Y:0,resolvedTimeMicros:null!=(ea=uj(G,4))?ea:0,verifiedTimeMicros:null!=(ja=uj(G,5))?ja:0,modifiedTimeMicros:null!=(va=G.getModifiedTimeMicros())?va:0,lastModifier:si(G.getLastModifier()),sloId:yi(G.getSloId()),teamId:yi(G.getTeamId()),retentionState:wra(G.getRetentionState()),sloStatus:N}}else Q=void 0;return{issueId:b,
userData:d,accessLimit:y,snapshot:e,customFields:g,visibleFields:A,aggregatedData:Q,majorModifiedTimeMicros:null!=(h=uj(a,7))?h:0,parentIssueIds:null!=(m=a.getParentIssueIdsList())?m:[],ancestors:c,childIssueCount:null!=(r=a.getChildIssueCount())?r:0,isArchived:a.getIsArchived(),relatedLinks:(null!=(v=a.getRelatedLinksList())?v:[]).map(tta),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0,statusUpdate:a.hasStatusUpdate()?Rj(a.getStatusUpdate()):void 0}}}},vta=function(a){if(null!=a)if(null==
Vpa(W(a,Rh,4)))Oh("No modifiedDate. issueEventToJs");else{var b;a:{if(null!=a){var c=Vpa(W(a,Rh,4));var d=!!Vj(a,8),e,g=null!=(e=uta(a.getComment()))?e:{};e=a.hasStatusUpdate()?Rj(a.getStatusUpdate()):void 0;var h,m=null==(h=oj(a,wk,2))?void 0:h.map(pta).filter(Ei),r;h=null==(r=oj(a,wk,3))?void 0:r.map(pta).filter(Ei);var v;r=null==(v=oj(a,xk,9))?void 0:v.map(Vra).filter(Ei);v=a.getAttachmentsList().map(Lsa).filter(Ei);var y=ti(W(a,vi,5));y=Di("<none>")(y);var A=si(W(a,vi,5));if(null==c)Oh("No modifiedDate. issueEventToJs");
else{c=Object.assign({},g,{attachments:v,issueId:a.getIssueId(),version:a.getVersion(),modifiedDate:c,preDiffs:m,postDiffs:h,isMajorEvent:d,statusUpdate:e,taggedSummary:r,userPerformingAction:y,userPerformingActionUser:A});break a}}c=void 0}c=null!=(b=c)?b:{};return Object.assign({},c,{isHumanAuthor:!!Vj(a,11),isCollaboratorAuthor:!!Vj(a,12)})}},wta=function(a){var b;var c=a.lastModified;return{version:a.version,unlinkifiedComment:a.unlinkifiedComment,commentNumber:a.commentNumber,commentVersion:a.version,
commentLastModifiedAtDate:null!=c?c/1E3:void 0,commentRedacted:Bi(a.redacted),commentContentVerdict:a.commentContentVerdict,commentRetentionState:a.piiRetentionState,commentDeletionStatus:null==(b=a.entityStatus)?void 0:b.status,commentRetention:a.piiRetention,lastCommentEditorUser:a.lastEditorUser,formattingMode:a.formattingMode,formattedComment:a.formattedComment,commentEtag:a.etag,commentReactions:a.commentReactions}},uta=function(a){return null==a?{}:wta(yk(a))},Ak=function(a){if(null!=a){var b=
vk(a.getIssue());if(null==b)Oh("No issue. issueFetchResponseToJs");else return a=vta(W(a,zk,5)),{issue:b,firstEvent:a}}},xta=function(a){var b=[];a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.getIssueRelationshipsList().map(osa),totalChildCount:d.getTotalSize()})}return b},yta=function(a){var b=new Bk;b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(xsa));return b},zta=function(a){return{issueId:a.getIssueId(),
message:a.getMessage()}},Ata=function(a){for(var b={},c=k(ik(a,1,Hj).entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=vk(e)}c={};d=k(ik(a,3,gk).entries());for(e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c[Number(e)]=ak(g)}var h;a=(null!=(h=oj(a,Ck,2))?h:[]).map(zta);return{affectedIssues:b,componentMap:c,errors:a}},Bta=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(uta)},tta=function(a){var b=
Oi(a,Dk);switch(b){case 2:return b=fk(a,Cta,2,Dk),0!==b.getCommentNumber()?{type:"issueReference",issueId:String(b.getIssueId()),commentNumber:b.getCommentNumber(),sourceCommentNumber:Vh(a,3)}:{type:"issueReference",issueId:String(b.getIssueId()),sourceCommentNumber:Vh(a,3)};case 1:return{type:"hyperlink",href:fk(a,Ek,1,Dk).getHref(),sourceCommentNumber:Vh(a,3)};case 0:throw Error("$b");default:return Fh(b)}},Dta=function(a){return{readTimestamp:uj(a,1)}},Eta=function(a){var b=a.getIssueState();b=
{componentId:b.getComponentId(),type:Zra[b.getType()],status:sj[b.getStatus()],priority:$ra[b.getPriority()],severity:asa[b.getSeverity()],accessLimitLevel:b.hasAccessLimitLevel()?csa[b.getAccessLimitLevel()]:null};return{issueId:String(a.getIssueId()),issueState:b,modifiedTime:Qh(a.getModifiedTime()),teamId:a.getTeamId()}},Fta=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 0;default:return Fh(a,
"Unexpected formatting mode")}},yk=function(a){var b=void 0;Pj(a,Fk,14)&&(b=yra(W(a,Fk,14)));return{issueId:a.getIssueId(),commentNumber:a.getCommentId(),commentContentVerdict:b,formattingMode:Gta[a.getFormattingMode()],formattedComment:a.hasFormattedComment()?pra(a.getFormattedComment()):void 0,lastEditorUser:si(W(a,vi,8)),lastModified:a.getLastModified(),version:a.getVersion(),unlinkifiedComment:V(a,7),entityStatus:Nsa(a.getEntityStatus()),piiRetentionState:wra(a.getPiiRetentionState()),piiRetention:Xra[a.getPiiRetention()],
redacted:a.getRedacted(),etag:a.getEtag(),commentReactions:Hta(a.getCommentReaction())}},Ita=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(yk)},Hta=function(a){var b=null==a?void 0:a.getReactionStatesList();a=new Map;b=k(b||[]);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0,e=null!=(d=Jta[c.getType()])?d:"REACTION_TYPE_UNSPECIFIED",g=d=void 0,h=void 0,m=void 0,r={type:e,hasReacted:null!=(g=c.getHasReacted())?g:!1,count:null!=(h=c.getCount())?h:0,recentResponders:null!=
(m=null==(d=c.getRecentRespondersList())?void 0:d.map(si).filter(Ei))?m:[]};a.set(e,r)}return a},Kta=function(a){return{user:si(W(a,vi,1)),createdTime:Qh(a.getCreatedTime())}},Lta=function(a){return{responders:oj(a,Gk,1).map(Kta),totalSize:a.getTotalSize(),nextPageToken:a.getNextPageToken()}},Mta=function(a){var b=a.getIssuesList();if(b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next())(d=d.value)&&(d=vk(d))&&c.push(d)}else c=[];b=a.getNumTotalResults();var e=a.getComponentsMap();d={};e=k(e.entries());
for(var g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;d[Number(g)]=ak(h)}g=Ab(a,4,vba);if(void 0!==g)for(e={},g=k(g.entries()),h=g.next();!h.done;h=g.next()){var m=k(h.value);h=m.next().value;m=m.next().value;e[Number(h)]=m}else e=void 0;return{issues:c,numTotalResults:b,componentMap:d,positionMap:e,nextPageToken:a.getNextPageToken()}},Nta=function(a){return Hk({id:a.getId(),std_offset:Vh(a,3),names:Xh(a,2),transitions:Uh(a,4)||[]})},Pta=function(a){var b=a.getTrackerId(),
c=a.getName(),d=a.getComponentId(),e=Wh(a,4);var g=W(a,Ik,5);g=null!=g?{logoUrl:g.getLogoUrl(),cocUrl:V(g,3),theme:Ota[g.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:null!=g?g:null,internalBaseUrl:Jk(a,6)?V(a,6):void 0,externalBaseUrl:Jk(a,7)?V(a,7):void 0,collaboratorGroups:0<oj(a,vi,8).length?ui(oj(a,vi,8)):void 0}},Qta=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(Pta)},Rta=function(a){return{trackers:a.getTrackersList().map(Pta),
nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Kk=function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";switch(Sta[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},Mk=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new Lk({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):0===b?a=null:(a={customFieldId:b},a=new Lk({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,
customFieldName:a.name}));return a},Tta=function(a){a=Nk(a);if(Ok(a))return null;var b=a.split(":");if(2!==b.length||Ok(b[1]))return null;a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=Mk(b[0]))&&a?new Pk(b,a):null},dua=function(a){var b={};Qk(a,1)&&(b.showFullHistory=Vj(a,1));Qk(a,2)&&(b.useCodefont=Vj(a,2));Rk(a,5)&&(b.resultsPerPage=Vh(a,5));Qk(a,26)&&(b.showRecentEventsFirst=Vj(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Uta)});if(c=a.getSortColumns())b.sortColumns=
{column:c.getColumnList().map(Vta)};Jk(a,7)&&(b.bannerMessageId=V(a,7));if(c=W(a,Sk,3)){var d={};tj(c,1)&&(d.reportedPriority=Tk[aj(c,1,0)]);tj(c,2)&&(d.assignedPriority=Tk[aj(c,2,0)]);tj(c,3)&&(d.verifiedPriority=Tk[aj(c,3,0)]);tj(c,4)&&(d.ccdPriority=Tk[aj(c,4,0)]);tj(c,9)&&(d.collaboratorPriority=Tk[aj(c,9,0)]);tj(c,5)&&(d.starredPriority=Tk[aj(c,5,0)]);Qk(c,6)&&(d.excludeChangesByMe=Vj(c,6));Qk(c,7)&&(d.unsubscribeFromAll=Vj(c,7));Qk(c,8)&&(d.enableV2Prefs=Vj(c,8));b.notificationPreferences=d}if(d=
W(a,Uk,9)){c={showHotlists:Vj(d,1),showStatusIcons:Vj(d,4),wrapComponents:Vj(d,3),wrapTitles:Vj(d,2),rtlComponentPath:Vj(d,5)};var e=Ab(d,6,nb);c.fieldStatus=Object.fromEntries(e.entries());d=Ab(d,7,nb);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Rk(c,1)&&(d.leftSidebarWidth=Vh(c,1)),Qk(c,2)&&(d.expandIssueSlo=Vj(c,2)),Rk(c,3)&&(d.rightSidebarWidth=Vh(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},Jk(c,1)&&(d.calendarFormat=
V(c,1)),Jk(c,2)&&(d.timeFormat=V(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),tj(c,7)&&(d.sloEtaViewAs=Wta[aj(c,7,0)]),b.dateTimePreferences=d;if(c=W(a,Vk,8))d={},tj(c,1)&&(d.density=Xta[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=Yta(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId()),b.homepagePreferences=d;if(c=W(a,Wk,17))d={},Qk(c,1)&&(d.enableAllHotkeys=Vj(c,1,!0)),b.keyboardPreferences=d;Ji(a,16)&&
(b.newFeaturesAcknowledgedMillis=Ki(a,16));Qk(a,18)&&(b.autoCcOnComment=Vj(a,18));Pj(a,Xk,20)&&(d=W(a,Xk,20),c=aj(d,2,0),d=aj(d,1,0),b.textDisplayPreferences={commentDisplayOverride:Zta(c),lastPublishMode:Zta(d)});Pj(a,Yk,21)&&(c=W(a,Yk,21),d={},Qk(c,2)&&(d.announcementDismissed=Vj(c,2)),Qk(c,1)&&(d.enableBugScreensaver=Vj(c,1)),b.bugScreensaverPreferences=d);Pj(a,Zk,24)&&(c=W(a,Zk,24),d={},$k(c,1)&&(d.announcementDismissedMillis=uj(c,1)),b.g3nPreferences=d);if(c=W(a,al,23))b.teamWarningPreferences=
{componentTeamWarnings:oj(c,bl,1).map($ta)};c=ik(a,25,Rh);c.size&&(b.dismissalTimestamps=aua(c));c=a.getCollapsedMap();c.size&&(b.collapsed=Object.fromEntries(c.entries()));Qk(a,29)&&(b.showInlineImages=a.getShowInlineImages());Pj(a,cl,28)&&(c=W(a,cl,28),d={},tj(c,1)&&(d.commentFilter=bua(aj(c,1,0))),b.commentFilterPreferences=d);Pj(a,dl,30)&&(b.needsAttentionPreferences=cua(W(a,dl,30)));if(c=W(a,el,31))a={},a.workAreaUrls=Xh(c,1),c=c.getCollapsedMap(),c.size&&(a.collapsed=Object.fromEntries(c.entries())),
b.missionControlPreferences=a;return b},Uta=function(a){var b={};a.hasType()&&(b.type=eua[a.getType()]);a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId());return b},Vta=function(a){var b={};if(tj(a,2)){a:{var c=aj(a,2,1);switch(c){case 1:c="ASCENDING";break a;case 2:c="DESCENDING";break a;default:c=Fh(c,"Unknown sortOrder: "+c)}}b.order=c}if(a=a.getColumn())b.column=Uta(a);return b},Zta=function(a){if(0!==a)return Sta[a]},Yta=function(a){switch(a){case 1:return"HOTLIST";case 2:return"SAVED_SEARCH";
case 3:return"BOOKMARK_GROUP";case 4:return"NEEDS_ATTENTION";case 5:return"EXPERIMENTAL_HOMEPAGE";default:return Fh(a,"Unknown resourceType: "+a)}},$ta=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId());$k(a,2)&&(b.dismissMillis=uj(a,2));return b},aua=function(a){a=Array.from(a.entries()).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},bua=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 Fh(a,"Unknown resourceType: "+a)}},cua=function(a){var b={};b.selectedSignals=fl(a,1).map(function(c){return fua[c]});return b},qua=function(a){var b=new gl;null!=a.showFullHistory&&Xj(b,1,a.showFullHistory);null!=a.useCodefont&&Xj(b,2,a.useCodefont);null!=a.resultsPerPage&&dj(b,5,a.resultsPerPage);null!=a.displayColumns&&b.setDisplayColumns(gua(a.displayColumns));if(null!=a.sortColumns){var c=hua(a.sortColumns);lj(b,hl,6,c)}null!=
a.bannerMessageId&&uk(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new Sk;d=cj(d,1,il[c.reportedPriority]);d=cj(d,2,il[c.assignedPriority]);d=cj(d,3,il[c.verifiedPriority]);d=cj(d,4,il[c.ccdPriority]);d=cj(d,9,il[c.collaboratorPriority]);d=cj(d,5,il[c.starredPriority]);d=Xj(d,6,c.excludeChangesByMe);d=Xj(d,7,c.unsubscribeFromAll);c=Xj(d,8,c.unsubscribeFromAll);lj(b,Sk,3,c)}null!=a.listViewPreferences&&(c=a.listViewPreferences,d=new Uk,d=Xj(d,1,c.showHotlists),
d=Xj(d,2,c.wrapTitles),d=Xj(d,3,c.wrapComponents),d=Xj(d,4,c.showStatusIcons),d=Xj(d,5,c.rtlComponentPath),null!=c.fieldStatus&&iua(c.fieldStatus,Ab(d,6,nb)),null!=c.modeForField&&iua(c.modeForField,Ab(d,7,nb)),lj(b,Uk,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,d=new jl,null!=c.leftSidebarWidth&&dj(d,1,c.leftSidebarWidth),null!=c.expandIssueSlo&&Xj(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&dj(d,3,c.rightSidebarWidth),lj(b,jl,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,
d=new kl,d=uk(d,1,c.calendarFormat),d=uk(d,2,c.timeFormat).setTimeZone(c.timeZone),c=cj(d,7,jua[c.sloEtaViewAs]),lj(b,kl,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new Vk).setDensity(kua[c.density]),lj(b,Vk,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,d=new ll,null!=c.resourceType&&d.setResourceType(lua(c.resourceType)),null!=c.resourceId&&d.setResourceId(c.resourceId),lj(b,ll,13,d));null!=a.keyboardPreferences&&(c=a.keyboardPreferences,d=new Wk,c=Xj(d,1,c.enableAllHotkeys),
lj(b,Wk,17,c));null!=a.newFeaturesAcknowledgedMillis&&cj(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&Xj(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,d=new Xk,c.commentDisplayOverride&&cj(d,2,mua(c.commentDisplayOverride)),c.lastPublishMode&&cj(d,1,mua(c.lastPublishMode)),lj(b,Xk,20,d));null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,d=new Yk,null!=c.enableBugScreensaver&&Xj(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&
Xj(d,2,c.announcementDismissed),lj(b,Yk,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new Zk,null!=c.announcementDismissedMillis&&cj(d,1,c.announcementDismissedMillis),lj(b,Zk,24,d));null!=a.teamWarningPreferences&&(c=nua(a.teamWarningPreferences),lj(b,al,23,c));if(null!=a.dismissalTimestamps){c=ik(b,25,Rh);d=k(Object.entries(a.dismissalTimestamps));for(var e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;var h=g.next().value;g=c;var m=g.set,r=new Rh,v=r;h=h.getTime();Number.isFinite(h)||
(h=0);v.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));m.call(g,e,r)}}null!=a.collapsed&&iua(a.collapsed,b.getCollapsedMap());null!=a.showRecentEventsFirst&&Xj(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&Xj(b,29,a.showInlineImages);null!=a.commentFilterPreferences&&(d=a.commentFilterPreferences,c=new cl,null!=d.commentFilter&&(d=oua(d.commentFilter),cj(c,1,d)),lj(b,cl,28,c));null!=a.needsAttentionPreferences&&(d=a.needsAttentionPreferences,c=new dl,d.selectedSignals&&(d=
d.selectedSignals.map(pua),Cb(c,1,d,$a)),lj(b,dl,30,c));null!=a.missionControlPreferences&&(a=a.missionControlPreferences,c=new el,a.workAreaUrls&&Ri(c,1,a.workAreaUrls),a.collapsed&&iua(a.collapsed,c.getCollapsedMap()),lj(b,el,31,c));return b},gua=function(a){return(new ml).setColumnList(a.column.map(function(b){return rua(b)}))},rua=function(a){var b=new nl,c=b.setType,d=a.type;if(!ol.hasOwnProperty(d))throw Error("ac`"+d);b=c.call(b,sua[d]);null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);
return b},hua=function(a){return(new hl).setColumnList(a.column.map(function(b){var c=(new pl).setColumn(rua(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=Fh(b,"Unknown sortOrder: "+b)}return cj(c,2,b)}))},lua=function(a){switch(a){case "HOTLIST":return 1;case "SAVED_SEARCH":return 2;case "BOOKMARK_GROUP":return 3;case "NEEDS_ATTENTION":return 4;case "EXPERIMENTAL_HOMEPAGE":return 5;default:return Fh(a,"Unknown resourceType: "+a)}},mua=function(a){switch(Sta[a]){case 2:return 2;
case 1:return 1;case 3:return 3;default:return 0}},nua=function(a){var b=new al;null!=a.componentTeamWarnings&&tua(b,a.componentTeamWarnings.map(function(c){var d=new bl;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&cj(d,2,c.dismissMillis);return d}));return b},oua=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 Fh(a,"Unknown commentFilterType: "+a)}},pua=function(a){return uua[a]},
iua=function(a,b){a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},xl=function(){var a=vua();var b=a.hasUser()?a.getUser():new ql;b=Vj(b,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=Pj(a,rl,2)?a.getConfig():new rl;for(var d=new Map,e=k(Ab(c,4,lb).entries()),g=e.next();!g.done;g=
e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;d.set(g,h)}c={analyticsId:c.getAnalyticsId(),appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),maxAccurateSearchResults:c.getMaxAccurateSearchResults(),onePickUrl:c.getOnePickUrl(),onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),whitelistedWhitelistDomainPartnerComponentIds:Wh(c,
10),isDogfooder:Vj(c,11),createRestrictedSubresourcesComponentWhitelist:sl(c,13)};d=dua(Pj(a,gl,7)?a.getUserPreferences():new gl);g=Pj(a,tl,9)?W(a,tl,9):new tl;e=oj(g,ul,1).map(Nta);Pj(g,vl,2)?(g=g.getAnnouncement(),g={message:g.getMessage(),messageId:V(g,2),dismissible:Vj(g,3),tags:g.getTagsList()}):g=null;e={timezones:e,announcement:g};g=a.getXsrfToken();h=a.getCspNonce();var m=a.getFrontendAccessMode(),r=a.getMustAcknowledgeTerms(),v=a.getShowNewFeaturesDialog(),y=a.getAppBaseHref(),A=Pj(a,wl,
11)?Pta(a.getTracker()):null;Pj(a,wua,12)?(a=a.getPassiveLoginIframeUrl())?(a=X(a,4),a=null===a||void 0===a?null:Rg(a)):a=null:a=null;return{user:b,config:c,xsrfToken:g,cspNonce:h,frontendAccessMode:m,mustAcknowledgeTerms:r,showNewFeaturesDialog:v,userPreferences:d,preload:e,appBaseHref:y,tracker:A,passiveLoginIframeUrl:a}},vua=function(){null==yl&&(yl=new xua(yua.buganizerSessionJspb));if(!Pj(yl,rl,2)){var a=yl,b=new rl;lj(a,rl,2,b)}Pj(yl,tl,9)||(a=yl,b=new tl,lj(a,tl,9,b));yl.hasUser()||yl.setUser(new ql);
Pj(yl,gl,7)||(a=yl,b=new gl,lj(a,gl,7,b));return yl},zl=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},zua=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":return a;default:return null}},Aua=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;
default:return null}},Bua=function(a){return ii(a.replace(/_/g," ").toLowerCase())},Cua=function(a,b){return Object.entries(a).reduce(function(c,d){var e=k(d);d=e.next().value;e=e.next().value;c[b[d]]=e;return c},{})},Bl=function(a,b,c,d){return{status:a,displayValue:Al[a],open:b,assigneeRequirement:c,sortOrder:d}},Dua=function(a){return a},Dl=function(a){return Cl(a,Dua)},Cl=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},Eua=function(a){return function(b){return Cl(b,
a)}},Gua=function(a){var b=Fua,c=void 0===b?[]:b;a=void 0===a?[]:a;if(0===c.length)return a;b=a.filter(function(d){return 0>c.indexOf(d)});return b.length===a.length?a:b},Hua=function(a,b){if(a.length!==b.length)return!1;a=[].concat(ad(a)).sort();b=[].concat(ad(b)).sort();return a.every(function(c,d){return c===b[d]})},Iua=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)})}},Jua=function(a,b){var c=new Map;
a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),g=void 0,h=null!=(g=c.get(e))?g:[];h.push(d);c.set(e,h)}return[].concat(ad(c.values()))},Kua=function(a){for(var b=[],c=0;c<a.length;c+=100){var d=a.slice(c,c+100);b.push(d)}return b},Lua=function(a){if(null==a)return[0,0];var b=0,c=0;a=k(a.aggregatedStatus);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0===d.issueIds?[]:d.issueIds,g=void 0;(null==(g=El[d.status])?0:g.open)||(b+=e.length);c+=e.length}return[b,c]},Mua=
function(a,b){if(null==a)return 0;var c=0;a=k(a.aggregatedStatus);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0===d.issueIds?[]:d.issueIds;d.status===b&&(c+=e.length)}return c},Nua=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.changelists)?void 0:b.length)?c:0},Oua=function(a){if(null==a)return[];a=[].concat(ad(a.assignees.map(function(b){return b.emailAddress})),ad(a.collaborators.map(function(b){return b.emailAddress})),ad(a.verifiers.map(function(b){return b.emailAddress})),
ad(a.reporters.map(function(b){return b.emailAddress})));return Dl(a).filter(Ei)},Pua=function(a,b){var c;a=null==(c=a.componentPathInfo)?void 0:c.allCustomField;if(!a)return!0;c=k(a);var d=c.next();for(a={};!d.done;a={$jscomp$loop$prop$customField$m1778177483$4:a.$jscomp$loop$prop$customField$m1778177483$4},d=c.next())if(a.$jscomp$loop$prop$customField$m1778177483$4=d.value,a.$jscomp$loop$prop$customField$m1778177483$4.required){d=!!a.$jscomp$loop$prop$customField$m1778177483$4.typedDefaultValue;
var e=void 0,g=void 0,h=null==(e=b)?void 0:null==(g=e.snapshot.customField)?void 0:g.some(function(m){return function(r){return r.customFieldId===m.$jscomp$loop$prop$customField$m1778177483$4.customFieldId}}(a));if(!d&&!h)return!1}return!0},Rua=function(a){return null==a?!1:Qua.has(a.name)},Sua=function(a){return"hotlist"===(null==a?void 0:a.name)},Tua=function(a){return null==a?!1:null!=a.href&&null!=a.value},Uua=function(a){return Array.isArray(a)?a.every(Tua):!1},Fl=function(a){return!!a&&Vua.test(a)&&
!Wua.test(a)},Yua=function(a){a=void 0===a?"":a;return a.endsWith("@prod.google.com")||a.endsWith("-robots@google.com")||Xua(a)},Xua=function(a){return Zua.some(function(b){return a.endsWith(b)})},Gl=function(a){if(!a)return 0;if(a instanceof Rh){var b=a.getSeconds();a=a.getNanos()||0}else b=a.seconds,a=a.nanos;return 1E3*b+a/1E6},$ua=function(a){var b=a+" day"+(1<a?"s":"");if(365>a)return b;a=Math.round(a/365*10)/10;return b+" (~"+(a+" year"+(1<a?"s":""))+")"},ava=function(a){if(a){var b=new Hl;
b.setTime(a.getTime());return b}},bva=function(a){if(null!=a)return new Date(a.year,a.month-1,a.day)},cva=function(a){if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},Il=function(a,b){return function(c,d){return dva(c,a,b,d)}},dva=function(a,b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(ad(a)).sort(function(e,g){var h="asc"===d?1:-1;return c(b(e),b(g))*h})},eva=function(a,b){return null==a||null==b?
null==a&&null==b?0:null==a?1:null==b?-1:0:isNaN(a)&&isNaN(b)?0:isNaN(a)?1:isNaN(b)?-1:a>b?1:a<b?-1:0},fva=function(a,b){return null==a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},Jl=function(a){return!(null==a||!a.commentNumber)},Kl=function(a){var b;return 0<(null==(b=a.attachments)?void 0:b.length)},gva=function(a,b,c){var d=a.findIndex(function(g){return g.commentNumber===b}),e=a[d];if(null==e)return a;c=Object.assign({},e,c);return[].concat(ad(a.slice(0,d)),[c],ad(a.slice(d+
1)))},hva=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},Ml=function(a){var b;return pi(null==(b=Ll(a))?void 0:b.assigneeUser)||void 0},iva=function(a){if(null==a)return"";var b,c,d,e,g=a.etag,h=a.piiRetention;var m=a.piiRetentionState;m=null==m?"":[JSON.stringify(m.retentionPeriod),JSON.stringify(m.scheduledDeletionTime)].join("-");return[g,h,m,null==(b=a.entityStatus)?void 0:b.reason,null==(c=a.entityStatus)?void 0:c.status,null==(d=a.contentVerdict)?
void 0:null==(e=d.piiVerdict)?void 0:e.severity].join("-")},jva=function(a){if(null==a)return"";var b=a.attachments.map(iva).join("-"),c=[];if(a.commentReactions&&0<a.commentReactions.size){var d,e=k(null==(d=a.commentReactions)?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var g=k(d.value);d=g.next().value;g=g.next().value;c.push(d+"-"+g.count)}}c=c.join("-");var h,m;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,null==(h=a.commentContentVerdict)?
void 0:null==(m=h.piiVerdict)?void 0:m.severity,a.commentDeletionStatus,a.commentRetention,"["+c+"]"].join("-")},kva=function(a){return a.map(function(b){return b.commentNumber}).filter(Ei).reduce(function(b,c){return Math.max(b,c)},1)},lva=function(a,b){if(a===b)return!0;if(null==a||null==b||a.length!==b.length)return!1;for(var c=a.length-1;0<=c;c--){var d=a[c],e=b[c];if(d!==e&&(null==d||null==e||jva(d)!==jva(e)))return!1}return!0},Nl=function(a){if(null==a||(null==a?0:a.isArchived))return!1;var b,
c;a=null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.status;if(null==a)return!1;var d,e;return null!=(e=null==(d=El[a])?void 0:d.open)?e:!1},mva=function(a){if(null==a||a.isArchived)return!1;var b,c;a=null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.status;if(null==a)return!1;b=El[a];return null==b?!1:!(null==b?0:b.open)},nva=function(a,b){if(null==a?0:a.isArchived)return!1;var c,d;return b===(null==a?void 0:null==(c=a.snapshot)?void 0:null==(d=c[0])?void 0:d.status)},
Ol=function(a){return null==a.isArchived?!1:!a.isArchived},pva=function(){var a=Pl;return Il(function(b){var c,d;return null!=(d=ova[null==(c=a(b))?void 0:c.snapshot[0].status])?d:0},eva)},qva=function(){var a=Pl;return Il(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},fva)},rva=function(){var a=Pl;return Il(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},fva)},sva=function(){var a=Pl;return Il(function(b){var c,d;return null==
(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?void 0:d.emailAddress},fva)},tva=function(){var a=Pl;return Il(function(b){var c,d,e;return null!=(e=null==(c=a(b))?void 0:null==(d=c.aggregatedData)?void 0:d.createdTimeMicros)?e:0},eva)},uva=function(a){var b;return 0<(null!=(b=a.snapshot[0].version)?b:0)},Ql=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},Ll=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},vva=function(a,
b){a=Ll(a);b=[null==a?void 0:a.authorUser,null==a?void 0:a.reporterUser,null==a?void 0:a.assigneeUser,null==a?void 0:a.verifierUser].concat(ad(b.map(function(c){return c.userPerformingActionUser})));return Cl(b.filter(Ei),ti)},wva=function(a,b){b=vva(a,b);var c,d,e;a=null!=(e=null==(c=Ll(a))?void 0:null==(d=c.ccUsers)?void 0:d.length)?e:0;return b.length+a},Rl=function(a){var b;return"piper-bugupdater@prod.google.com"===(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},
xva=function(a){return function(b){var c,d;return(null!=(d=null==b?void 0:null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}},yva=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},zva=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"}},Ava=function(a){var b=a.newEditors,c=a.newImplicitUsers,d=a.isExternalSession,e=a.issueId,g=a.actionIssueId;a=yva(a.userPrincipals);d="Allow "+(1===a?"members of the group to ":zva(a,d)+" to ")+(0===b.length?"comment?":"edit?");b="Adding "+c.join(", ")+" will allow "+(1===a?"all members of the group":"them")+" to "+(0===b.length?"comment on ":"edit ")+(e===g?"issue "+g:"canonical issue "+g)+".";return{title:d,
content:b}},Bva=function(a){return a.filter(function(b){var c,d;return!!b.signals&&0<(null!=(d=null==(c=b.signals)?void 0:c.length)?d:0)})},Cva=function(a,b){var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0;switch(null==(e=d.resource)?void 0:e.source){case "Critique":e=void 0;var g=null==(e=d.resource)?void 0:e.critiqueResource;g&&(g.ccEmails.includes(b)||g.comments.some(function(h){return h.authorEmail===b}))&&c.push(d)}}return c},Dva=function(){},Eva=function(a){return 0<
Object.values(a).length},Fva=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},Gva=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},Hva=function(a,b){var c=a.getValue(),d={};c=k(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var g=k(e.value);e=g.next().value;g=g.next().value;b.includes(e)||(d[e]=g)}a.next(Object.freeze(d))},Iva=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(ad(a)).sort());
return JSON.stringify(b)},Jva=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},Kva=function(a){a=void 0===a?{}:a;return jqa(a)},Lva=function(a){var b=new E.Subject,c=a.subscribe(b);a=(0,E.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});return a},Mva=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},Nva=function(){return new Promise(function(){})},Pva=function(a){return!!a.match(Ova)&&!a.endsWith("/history")},Sl=function(a){return"hyperlink"===a.type},Qva=
function(a){return Sl(a)&&Pva(a.href)},Sva=function(a){return Sl(a)&&!!a.href.match(Rva)},Tva=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==(b=a.match(Ova))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+a+".png":null},Uva=function(a){return"issueReference"===a.type},Vva=function(a){return Sl(a)&&!Qva(a)&&!(Sl(a)&&a.href.startsWith("mailto:"))},Wva=function(a){return[].concat(ad(a.values())).flatMap(function(b){return b.sourceIssueIds})},Xva=function(a,
b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(ad(a),ad(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},Yva=function(a,b){return"background: conic-gradient(var(--"+(void 0===b?"good-gfx":b)+") "+100*a+"%, var(--divider) 0 100%);"},Tl=function(a){var b,c,d;return null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/by (\w+)@/))?void 0:c[1])?d:""},Zva=function(a,b){var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0;if(!b.has(d.issueId)||
b.get(d.issueId)!==(null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)){c.push(d);var g=e=void 0;b.set(d.issueId,null!=(g=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?g:0)}}return c},$va=function(a){return{emailAddress:Tl(a)+"@google.com"}},awa=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)},bwa=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:
""},cwa=function(a,b){var c;return null==(c=[].concat(ad(a.preDiffs),ad(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue},dwa=function(a,b){var c;return null==(c=[].concat(ad(a.preDiffs),ad(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue},ewa=function(a){return"http://b/issues/"+a},Ul=function(a){if(a.match(/\bhotlists?\b/))return fwa(a)},Vl=function(a){return"hotlist-"+a},Wl=function(a){return"savedsearch-"+a},gwa=function(a){if(a.match(/\bsavedsearch(?:es|)\b/))return fwa(a)},
hwa=function(a){var b=/\bb\/\d+\b/;if(a.match(/\bissues?\b/)||a.match(b))return fwa(a)},Xl=function(a){if(null!=a){if(iwa.includes(a))return a;if(Ul(a))return"hotlist";if(gwa(a))return"savedsearch";var b;(b=hwa(a))||(a=a.trim(),b=3>a.length?!1:a.match(/^\d+$/));if(b)return"issue"}},fwa=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},jwa=function(a){a=a.target;for(var b=[];a.parentNode;){var c=void 0,d=a,e=[];for(c in d.dataset)"true"===d.dataset[c]&&e.push(c);c=e;c=0<c.length?
"["+c.join(",")+"]":"";b.unshift(a.tagName+c);a=a.parentNode}return b.join(" > ")},Yl=function(){var a;return null==(a=document.location.search.match(/\bldap=(.*)\b/))?void 0:a[1]},$l=function(){var a;return null!=(a=Yl())?a:Zl},am=function(a){return(null!=a?a:"").split("@")[0]},kwa=function(a,b){b=void 0===b?Zl:b;var c,d=null==a?void 0:null==(c=a.snapshot)?void 0:c[0];c=am(ti(null==d?void 0:d.assigneeUser));c=b&&b===c;var e=am(ti(null==d?void 0:d.reporterUser));e=b&&b===e;var g;d=(null!=(g=null==
d?void 0:d.ccUsers)?g:[]).map(ti).map(am);b=b&&d.includes(b);var h;g=null==a?void 0:null==(h=a.userData)?void 0:h.voted;var m;h=null==a?void 0:null==(m=a.userData)?void 0:m.starred;var r,v;a=(null!=(v=null==a?void 0:null==(r=a.userData)?void 0:r.lastViewedTimeMicros)?v:0)/1E3;r=Date.now()-a;r=0<r&&864E5>r;v=[];c&&v.push("Assigned");e&&v.push("Reported");b&&v.push("CC'd");g&&v.push("Upvoted");h&&v.push("Starred");r&&v.push("Viewed <24h");return v.join(", ")},lwa=function(a){if(a)return{status:sj[a.getStatus()],
issueIds:a.getIssueIdsList()}},bm=function(a){return!a||"0"===a},mwa=function(a){return gta(W(a,hk,1))},nwa=function(a){return(oj(a,hk,1)||[]).map(gta)},cm=function(){return new owa},pwa=function(a){var b={};if(null==a)return b;a=k(oj(a,dm,1));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},qwa=function(a,b){return a.map(function(c){var d=c.resourceName;c=c.relation;return void 0!==b[d]&&void 0!==b[d][c]?b[d][c]:!1})},rwa=function(a){if(a&1){var b=w();H(0,"div",2)(1,"button",3);M("click",function(){x(b);var c=O();return z(c.action())});R(2);I()()}a&2&&(a=O(),B(2),Nf(a.data.action))},swa=function(){},twa=function(a){a&1&&(H(0,"span",6),R(1),I());a&2&&(a=O(),B(1),Nf(a.data.message))},uwa=function(a){a&1&&J(0,"span",7);a&2&&(a=O(),F("innerHtml",a.data.htmlMessage,Qd))},wwa=
function(a){if(a&1){var b=w();H(0,"button",8);M("click",function(){x(b);var c=O();return z(vwa(c.snackBarRef))});R(1);I()}a&2&&(a=O(),B(1),Mf(" ",a.data.actionLabel," "))},xwa=function(a){if(a&1){var b=w();H(0,"button",8);M("click",function(){x(b);var c=O();return z(c.snackBarRef.dismiss())});R(1);I()}a&2&&(a=O(),B(1),Mf(" ",a.data.dismissLabel," "))},ywa=function(a){if(a&1){var b=w();H(0,"button",9);M("click",function(){x(b);var c=O();return z(c.snackBarRef.dismiss())});J(1,"mat-icon",10);I()}},
zwa=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},em=function(a){return!!a&&wa(a)&&(!!a.data&&void 0!==a.data.message||zwa(a))},fm=function(a){return a.data&&void 0!==a.data.message&&a.data&&a.data.message?a.data.message:zwa(a)&&a.error&&a.error.message?a.error.message:""},gm=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,"+")},Awa=function(a){return new E.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},hm=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("qc`"+a);}},jm=function(a,b){return im("issues/:issueId",{id:a,params:b})},km=function(a,b){return im("issues/:issueId/dependencies",{id:a,params:b})},mm=function(a){return lm("issues",{params:a})},Bwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},Cwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):
null},Dwa=function(a,b){return im("components/:componentId/manage",{id:a,tab:b})},Ewa=function(a){return a?lm("settings/:settingsTab?",{id:a,token:":settingsTab?"}):lm("settings")},im=function(a,b){b=void 0===b?{}:b;return null==b.id?"":lm(a,b)},lm=function(a,b){var c=b=void 0===b?{}:b;b=c.id;var d=c.params,e=c.tab;c=c.token;var g=a;null!=b&&(g=a.replace(c?c:/:\w+/,b.toString()));d&&(g=Fwa(g,d));e&&(g=g+"#"+e);return g},Gwa=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?
"comment"+b:void 0}},nm=function(a,b){b=void 0===b?{}:b;b=void 0===b?{}: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},Hwa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=void 0===a?{}:a;return{path:"/issues/new",queryParams:a}},Iwa=function(a){return{path:"/components/"+a}},Jwa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},Kwa=function(a){return{path:"/slos/"+
a+"/edit"}},Lwa=function(a,b,c){var d=c.path.split("/");if(d.length>a.length||"full"===c.pathMatch&&(b.hasChildren()||d.length<a.length))return null;b={};for(c=0;c<d.length;c++){var e=d[c],g=a[c];if(e.startsWith(":"))b[e.substring(1)]=g;else if(e!==g.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},om=function(a,b){var c=a?Object.keys(a):void 0,d=b?Object.keys(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!Mwa(a[d],b[d]))return!1;return!0},
Mwa=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(ad(a)).sort();var c=[].concat(ad(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},pm=function(a){return(0,E.isObservable)(a)?a:Yd(a)?(0,E.from)(Promise.resolve(a)):(0,E.of)(a)},Pwa=function(a,b,c){return Nwa[c.paths](a.root,b.root,c.matrixParams)&&Owa[c.queryParams](a.queryParams,b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},Qwa=function(a,b){return om(a,
b)},Swa=function(a,b,c){if(!qm(a.segments,b.segments)||!Rwa(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!Swa(a.children[d],b.children[d],c))return!1;return!0},Twa=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return Mwa(a[c],b[c])})},Vwa=function(a,b,c){return Uwa(a,b,b.segments,c)},Uwa=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),
qm(a,c)&&!b.hasChildren()&&Rwa(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!qm(a.segments,c)||!Rwa(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!Vwa(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 qm(a.segments,e)&&Rwa(a.segments,e,d)&&a.children.primary?Uwa(a.children.primary,b,c,d):!1},Rwa=function(a,b,c){return b.every(function(d,e){return Owa[c](a[e].parameters,d.parameters)})},Wwa=function(a,b){return qm(a,
b)&&a.every(function(c,d){return om(c.parameters,b[d].parameters)})},qm=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},Xwa=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"===d&&(c=c.concat(b(e,d)))});Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"!==d&&(c=c.concat(b(e,d)))});return c},$wa=function(a){return a.segments.map(function(b){return Ywa(b.path)+
Zwa(b.parameters)}).join("/")},rm=function(a,b){if(!a.hasChildren())return $wa(a);if(b){b=a.children.primary?rm(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"!==d&&c.push(d+":"+rm(e,!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=Xwa(a,function(d,e){return"primary"===e?[rm(a.children.primary,!1)]:[e+":"+rm(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?$wa(a)+"/"+b[0]:$wa(a)+
"/("+b.join("//")+")"},axa=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},bxa=function(a){return axa(a).replace(/%3B/gi,";")},Ywa=function(a){return axa(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},Zwa=function(a){return Object.keys(a).map(function(b){return";"+Ywa(b)+"="+Ywa(a[b])}).join("")},cxa=function(a){var b=Object.keys(a).map(function(c){var d=a[c];return Array.isArray(d)?d.map(function(e){return bxa(c)+
"="+bxa(e)}).join("&"):bxa(c)+"="+bxa(d)}).filter(function(c){return!!c});return b.length?"?"+b.join("&"):""},exa=function(a){return(a=a.match(dxa))?a[0]:""},fxa=function(a){var b={};return 0<a.segments.length?new sm([],(b.primary=a,b)):a},gxa=function(a){for(var b={},c=k(Object.keys(a.children)),d=c.next();!d.done;d=c.next()){d=d.value;var e=gxa(a.children[d]);if("primary"===d&&0===e.segments.length&&e.hasChildren())for(d=k(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var g=k(e.value);
e=g.next().value;g=g.next().value;b[e]=g}else if(0<e.segments.length||e.hasChildren())b[d]=e}a=new sm(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new sm(a.segments.concat(b.segments),b.children));return a},um=function(a){return a instanceof tm},hxa=function(a){function b(g){for(var h={},m=k(g.children),r=m.next();!r.done;r=m.next()){r=r.value;var v=b(r);h[r.outlet]=v}h=new sm(g.url,h);g===a&&(c=h);return h}var c,d=b(a.root);d=fxa(d);var e;return null!=(e=c)?e:
d},nxa=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(0===b.length)return ixa(e,e,e,c,d);b=jxa(b);if(b.isAbsolute&&1===b.commands.length&&"/"==b.commands[0])return ixa(e,e,new sm([],{}),c,d);var g=e;if(b.isAbsolute)a=new kxa(g,!0,0);else if(a)if(null===a.parent)a=new kxa(a,!0,0);else{g=a;a=a.segments.length-1+(lxa(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;g=g.parent;if(!g)throw new Ac(4005,!1);a=g.segments.length}a=new kxa(g,!1,a-h)}else a=new kxa(g,!1,NaN);b=a.processChildren?
wm(a.segmentGroup,a.index,b.commands):mxa(a.segmentGroup,a.index,b.commands);return ixa(e,a.segmentGroup,b,c,d)},lxa=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},xm=function(a){return"object"===typeof a&&null!=a&&a.outlets},ixa=function(a,b,c,d,e){var g={};d&&Object.entries(d).forEach(function(h){var m=k(h);h=m.next().value;m=m.next().value;g[h]=Array.isArray(m)?m.map(function(r){return""+r}):""+m});a=a===b?c:oxa(a,b,c);a=fxa(gxa(a));return new tm(a,g,e)},oxa=function(a,
b,c){var d={};Object.entries(a.children).forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;d[e]=g===b?c:oxa(g,b,c)});return new sm(a.segments,d)},jxa=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===a[0])return new pxa(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,g){if("object"===typeof e&&null!=e){if(e.outlets){var h={};Object.entries(e.outlets).forEach(function(m){var r=k(m);m=r.next().value;r=r.next().value;h[m]="string"===typeof r?r.split("/"):r});return[].concat(ad(d),
[{outlets:h}])}if(e.segmentPath)return[].concat(ad(d),[e.segmentPath])}return"string"!==typeof e?[].concat(ad(d),[e]):0===g?(e.split("/").forEach(function(m,r){if(0!=r||"."!==m)0==r&&""===m?c=!0:".."===m?b++:""!=m&&d.push(m)}),d):[].concat(ad(d),[e])},[]);return new pxa(c,b,a)},qxa=function(a){if(xm(a[0]))return a[0].outlets;var b={};return b.primary=a,b},mxa=function(a,b,c){a||(a=new sm([],{}));if(0===a.segments.length&&a.hasChildren())return wm(a,b,c);a:{var d=a;for(var e=0,g=b,h={match:!1,pathIndex:0,
commandIndex:0};g<d.segments.length;){if(e>=c.length){d=h;break a}var m=d.segments[g],r=c[e];if(xm(r))break;r=""+r;var v=e<c.length-1?c[e+1]:null;if(0<g&&void 0===r)break;if(r&&v&&"object"===typeof v&&void 0===v.outlets){if(r!=m.path||!om(v,m.parameters)){d=h;break a}e+=2}else{v={};if(r!=m.path||!om(v,m.parameters)){d=h;break a}e++}g++}d={match:!0,pathIndex:g,commandIndex:e}}e=c.slice(d.commandIndex);return d.match&&d.pathIndex<a.segments.length?(b=new sm(a.segments.slice(0,d.pathIndex),{}),b.children.primary=
new sm(a.segments.slice(d.pathIndex),a.children),wm(b,0,e)):d.match&&0===e.length?new sm(a.segments,{}):d.match&&!a.hasChildren()?rxa(a,b,c):d.match?wm(a,0,e):rxa(a,b,c)},wm=function(a,b,c){if(0===c.length)return new sm(a.segments,{});var d=qxa(c),e={};if(!d.primary&&a.children.primary&&1===a.numberOfChildren&&0===a.children.primary.segments.length)return c=wm(a.children.primary,b,c),new sm(a.segments,c.children);Object.entries(d).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;"string"===
typeof h&&(h=[h]);null!==h&&(e[g]=mxa(a.children[g],b,h))});Object.entries(a.children).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;void 0===d[g]&&(e[g]=h)});return new sm(a.segments,e)},rxa=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var g=c[e];if(xm(g))return a=sxa(g.outlets),new sm(d,a);if(0===e&&lxa(c[0]))d.push(new ym(a.segments[b].path,txa(c[0]))),e++;else{g=xm(g)?g.outlets.primary:""+g;var h=e<c.length-1?c[e+1]:null;g&&h&&lxa(h)?(d.push(new ym(g,txa(h))),
e+=2):(d.push(new ym(g,{})),e++)}}return new sm(d,{})},sxa=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;"string"===typeof d&&(d=[d]);null!==d&&(b[c]=rxa(new sm([],{}),0,d))});return b},txa=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},uxa=function(a,b){if(a===b.value)return b;b=k(b.children);for(var c=b.next();!c.done;c=b.next())if(c=uxa(a,c.value))return c;
return null},vxa=function(a,b){if(a===b.value)return[b];for(var c=k(b.children),d=c.next();!d.done;d=c.next())if(d=vxa(a,d.value),d.length)return d.unshift(b),d;return[]},zm=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},yxa=function(){var a=new wxa("",new Am(new Bm([],{},{},"",{},"primary",null,null,{}),[])),b=new Cm(new E.BehaviorSubject([new ym("",{})]),new E.BehaviorSubject({}),new E.BehaviorSubject({}),new E.BehaviorSubject(""),new E.BehaviorSubject({}),
"primary",null,a.root);b.snapshot=a.root;return new xxa(new Am(b,[]),a)},Axa=function(a,b){a=a.pathFromRoot;var c=0;if("always"!==(void 0===b?"emptyOnly":b))for(c=a.length-1;1<=c;){b=a[c];var d=a[c-1];if(b.routeConfig&&""===b.routeConfig.path)c--;else if(d.component)break;else c--}return zxa(a.slice(c))},zxa=function(a){return a.reduce(function(b,c){var d=Object.assign({},b.params,c.params),e=Object.assign({},b.data,c.data),g;b=Object.assign({},c.data,b.resolve,null==(g=c.routeConfig)?void 0:g.data,
c._resolvedData);return{params:d,data:e,resolve:b}},{params:{},data:{},resolve:{}})},Bxa=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return Bxa(a,c)})},Cxa=function(a){var b=0<a.children.length?" { "+a.children.map(Cxa).join(", ")+" } ":"";return""+a.value+b},Dxa=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;om(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);om(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 g=0;g<d.length;++g)if(!om(d[g],e[g])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);om(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},Exa=function(a,b){var c=om(a.params,b.params)&&Wwa(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||Exa(a.parent,b.parent))},Hxa=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,
c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=Fxa(a,b,c);return new Am(d,b)}d=Gxa(b.value);b=b.children.map(function(e){return Hxa(a,e)});return new Am(d,b)},Fxa=function(a,b,c){return b.children.map(function(d){for(var e=k(c.children),g=e.next();!g.done;g=e.next())if(g=g.value,a.shouldReuseRoute(d.value,g.value.snapshot))return Hxa(a,d,g);return Hxa(a,d)})},Gxa=function(a){return new Cm(new E.BehaviorSubject(a.url),new E.BehaviorSubject(a.params),new E.BehaviorSubject(a.queryParams),
new E.BehaviorSubject(a.fragment),new E.BehaviorSubject(a.data),a.outlet,a.component,a)},Jxa=function(a){var b=um(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=b.redirectTo;b=b.navigationBehaviorOptions;a=Ixa(0,a);a.url=c;a.navigationBehaviorOptions=b;return a},Ixa=function(a,b){var c=Error("sc`");c.ngNavigationCancelingError=!0;c.cancellationCode=a;b&&(c.url=b);return c},Kxa=function(a){return a&&a.ngNavigationCancelingError},Lxa=function(a,b){a.providers&&!a._injector&&(a._injector=kha(a.providers,
b,"Route: "+a.path));var c;return null!=(c=a._injector)?c:b},Mxa=function(a){var b=a.children&&a.children.map(Mxa);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===a.outlet||(a.component=Dm);return a},Em=function(a){return a.outlet||"primary"},Nxa=function(a,b){var c=a.filter(function(d){return Em(d)===b});c.push.apply(c,ad(a.filter(function(d){return Em(d)!==b})));return c},Fm=function(a){if(!a)return null;var b;if(null==
(b=a.routeConfig)?0:b._injector)return a.routeConfig._injector;for(a=a.parent;a;a=a.parent){b=a.routeConfig;var c=void 0;if(null==(c=b)?0:c._loadedInjector)return b._loadedInjector;c=void 0;if(null==(c=b)?0:c._injector)return b._injector}return null},Gm=function(){return af(function(a){return(0,E.combineLatest)(a.map(function(b){return b.pipe(Oe(),$e(Oxa))})).pipe(D(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!0!==c){if(c===Oxa)return Oxa;if(!1===c||c instanceof tm)return c}return!0}),
De(function(b){return b!==Oxa}),Oe())})},Hm=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Tda(a)?b.get(a):a:d},Im=function(a,b,c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var g=zm(b);a.children.forEach(function(h){var m=g[h.value.outlet],r=d.concat([h.value]),v=e;v=void 0===v?{canDeactivateChecks:[],canActivateChecks:[]}:v;var y=h.value,A=m?m.value:null,G=c?c.getContext(h.value.outlet):null;if(A&&y.routeConfig===A.routeConfig){var N=Pxa(A,
y,y.routeConfig.runGuardsAndResolvers);N?v.canActivateChecks.push(new Qxa(r)):(y.data=A.data,y._resolvedData=A._resolvedData);y.component?Im(h,m,G?G.children:null,r,v):Im(h,m,c,r,v);N&&G&&G.outlet&&G.outlet.isActivated&&v.canDeactivateChecks.push(new Rxa(G.outlet.component,A))}else A&&Jm(m,G,v),v.canActivateChecks.push(new Qxa(r)),y.component?Im(h,null,G?G.children:null,r,v):Im(h,null,c,r,v);delete g[h.value.outlet]});Object.entries(g).forEach(function(h){var m=k(h);h=m.next().value;m=m.next().value;
return Jm(m,c.getContext(h),e)});return e},Pxa=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!qm(a.url,b.url);case "pathParamsOrQueryParamsChange":return!qm(a.url,b.url)||!om(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!Exa(a,b)||!om(a.queryParams,b.queryParams);default:return!Exa(a,b)}},Jm=function(a,b,c){var d=zm(a),e=a.value;Object.entries(d).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;
e.component?b?Jm(h,b.children.getContext(g),c):Jm(h,null,c):Jm(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new Rxa(b.outlet.component,e)):c.canDeactivateChecks.push(new Rxa(null,e)):c.canDeactivateChecks.push(new Rxa(null,e))},Km=function(a){return"function"===typeof a},Sxa=function(a){return a instanceof E.EmptyError||"EmptyError"===(null==a?void 0:a.name)},Vxa=function(a,b){return xe(function(c){var d=c.targetSnapshot,e=c.currentSnapshot,g=c.guards,h=g.canActivateChecks;
g=g.canDeactivateChecks;return 0===g.length&&0===h.length?(0,E.of)(Object.assign({},c,{guardsResult:!0})):Txa(g,d,e,a).pipe(xe(function(m){return m&&"boolean"===typeof m?Uxa(d,h,a,b):(0,E.of)(m)}),D(function(m){return Object.assign({},c,{guardsResult:m})}))})},Txa=function(a,b,c,d){return(0,E.from)(a).pipe(xe(function(e){return Wxa(e.component,e.route,c,b,d)}),Re(function(e){return!0!==e},!0))},Uxa=function(a,b,c,d){return(0,E.from)(b).pipe(xe(function(e){var g=E.concat;var h=e.route.parent;null!==
h&&d&&d(new Xxa(h));h=(0,E.of)(!0);var m=e.route;null!==m&&d&&d(new Yxa(m));m=(0,E.of)(!0);return g.call(E,h,m,Zxa(a,e.path,c),$xa(a,e.route,c))},1),Re(function(e){return!0!==e},!0))},$xa=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||0===d.length)return(0,E.of)(!0);d=d.map(function(e){return(0,E.defer)(function(){var g,h=null!=(g=Fm(b))?g:c,m=Hm(e,h);g=m&&Km(m.canActivate)?m.canActivate(b,a):h.runInContext(function(){return m(b,a)});return pm(g).pipe(Re())})});return(0,E.of)(d).pipe(Gm())},
Zxa=function(a,b,c){var d=b[b.length-1];b=b.slice(0,b.length-1).reverse().map(function(e){var g=e.routeConfig?e.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:e,guards:g}:null}).filter(function(e){return null!==e}).map(function(e){return(0,E.defer)(function(){var g=e.guards.map(function(h){var m,r=null!=(m=Fm(e.node))?m:c,v=Hm(h,r);h=v&&Km(v.canActivateChild)?v.canActivateChild(d,a):r.runInContext(function(){return v(d,a)});return pm(h).pipe(Re())});return(0,E.of)(g).pipe(Gm())})});
return(0,E.of)(b).pipe(Gm())},Wxa=function(a,b,c,d,e){var g=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!g||0===g.length)return(0,E.of)(!0);g=g.map(function(h){var m,r=null!=(m=Fm(b))?m:e,v=Hm(h,r);h=v&&Km(v.canDeactivate)?v.canDeactivate(a,b,c,d):r.runInContext(function(){return v(a,b,c,d)});return pm(h).pipe(Re())});return(0,E.of)(g).pipe(Gm())},bya=function(a,b,c){var d=b.canLoad;if(void 0===d||0===d.length)return(0,E.of)(!0);d=d.map(function(e){var g=Hm(e,a);e=g&&Km(g.canLoad)?g.canLoad(b,
c):a.runInContext(function(){return g(b,c)});return pm(e)});return(0,E.of)(d).pipe(Gm(),aya())},aya=function(){return(0,E.pipe)(cf(function(a){if(um(a))throw Jxa(a);}),D(function(a){return!0===a}))},cya=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,E.of)(!0);d=d.map(function(e){var g=Hm(e,a);e=g&&Km(g.canMatch)?g.canMatch(b,c):a.runInContext(function(){return g(b,c)});return pm(e)});return(0,E.of)(d).pipe(Gm(),aya())},Lm=function(a){return(0,E.throwError)(new dya(a))},gya=function(a,
b,c,d){var e=eya(a,b,c);if(!e.matched)return(0,E.of)(e);d=Lxa(b,d);return cya(d,b,c).pipe(D(function(g){return!0===g?e:Object.assign({},fya)}))},eya=function(a,b,c){if(""===b.path)return"full"===b.pathMatch&&(a.hasChildren()||0<c.length)?Object.assign({},fya):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||Lwa)(c,a,b);if(!a)return Object.assign({},fya);var d={},e;Object.entries(null!=(e=a.posParams)?e:{}).forEach(function(h){var m=k(h);h=
m.next().value;m=m.next().value;d[h]=m.path});e=0<a.consumed.length?Object.assign({},d,a.consumed[a.consumed.length-1].parameters):d;var g;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),parameters:e,positionalParamSegments:null!=(g=a.posParams)?g:{}}},kya=function(a,b,c,d){if(0<c.length&&hya(a,c,d)){var e=sm;a=new sm(c,a.children);c={};c.primary=a;a=k(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,""===d.path&&"primary"!==Em(d)){var g=new sm([],{});c[Em(d)]=
g}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(0===c.length&&iya(a,c,d)){b=sm;e=a.segments;g=a.children;var h={};d=k(d);for(var m=d.next();!m.done;m=d.next())if(m=m.value,jya(a,c,m)&&!g[Em(m)]){var r=new sm([],{});h[Em(m)]=r}a=Object.assign({},g,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new sm(a.segments,a.children),slicedSegments:c};return c},hya=function(a,b,c){return c.some(function(d){return jya(a,b,d)&&"primary"!==Em(d)})},iya=function(a,b,c){return c.some(function(d){return jya(a,
b,d)})},jya=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},lya=function(a){a.sort(function(b,c){return"primary"===b.value.outlet?-1:"primary"===c.value.outlet?1:b.value.outlet.localeCompare(c.value.outlet)})},mya=function(a){return(a=a.value.routeConfig)&&""===a.path},nya=function(a){var b=[],c=new Set;a=k(a);for(var d=a.next(),e={};!d.done;e={$jscomp$loop$prop$node$380154547$1:e.$jscomp$loop$prop$node$380154547$1},d=a.next())e.$jscomp$loop$prop$node$380154547$1=
d.value,mya(e.$jscomp$loop$prop$node$380154547$1)?(d=b.find(function(g){return function(h){return g.$jscomp$loop$prop$node$380154547$1.value.routeConfig===h.value.routeConfig}}(e)),void 0!==d?(d.children.push.apply(d.children,ad(e.$jscomp$loop$prop$node$380154547$1.children)),c.add(d)):b.push(e.$jscomp$loop$prop$node$380154547$1)):b.push(e.$jscomp$loop$prop$node$380154547$1);a=k(c);for(e=a.next();!e.done;e=a.next())e=e.value,d=nya(e.children),b.push(new Am(e.value,d));return b.filter(function(g){return!c.has(g)})},
pya=function(a,b,c,d,e,g){return xe(function(h){return(new oya(a,b,c,d,h.extractedUrl,void 0===g?"emptyOnly":g,e)).recognize().pipe(D(function(m){return Object.assign({},h,{targetSnapshot:m.state,urlAfterRedirects:m.tree})}))})},rya=function(a,b){return xe(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,E.of)(c);var g=0;return(0,E.from)(e).pipe(xe(function(h){return qya(h.route,d,a,b)},1),cf(function(){return g++}),Se(),xe(function(){return g===e.length?(0,E.of)(c):
E.EMPTY}))})},qya=function(a,b,c,d){var e=a.routeConfig,g=a._resolve;void 0!==(null==e?void 0:e.title)&&"string"!==typeof e.title&&null!==e.title&&(g[Mm]=e.title);return sya(g,a,b,d).pipe(D(function(h){a._resolvedData=h;a.data=Axa(a,c).resolve;!e||"string"!==typeof e.title&&null!==e.title||(a.data[Mm]=e.title);return null}))},sya=function(a,b,c,d){var e=tya(a);if(0===e.length)return(0,E.of)({});var g={};return(0,E.from)(e).pipe(xe(function(h){return uya(a[h],b,c,d).pipe(Re(),cf(function(m){g[h]=m}))}),
Se(),Te(g),Ie(function(h){return Sxa(h)?E.EMPTY:(0,E.throwError)(h)}))},tya=function(a){return[].concat(ad(Object.keys(a)),ad(Object.getOwnPropertySymbols(a)))},uya=function(a,b,c,d){var e,g=null!=(e=Fm(b))?e:d,h=Hm(a,g);a=h.resolve?h.resolve(b,c):g.runInContext(function(){return h(b,c)});return pm(a)},vya=function(a){return af(function(b){var c=a(b);return c?(0,E.from)(c).pipe(D(function(){return b})):(0,E.of)(b)})},wya=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:a},xya=
function(a,b){a.events.pipe(De(function(c){return c instanceof Nm||c instanceof Om||c instanceof Pm||c instanceof Qm}),D(function(c){return c instanceof Nm||c instanceof Qm?0:c instanceof Om&&(0===c.code||1===c.code)?2:1}),De(function(c){return 2!==c}),Oe()).subscribe(function(){b()})},yya=function(a){throw a;},zya=function(a,b){return b.parse("/")},Aya=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},Bya=function(a){for(var b={},c=k(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=
a.getAll(d);b[d]=1<e.length?e:e[0]}return b},Dya=function(a){if(!a.getType())throw Error("xc");var b={type:Cya[a.getType()]};if(a=yi(a.getCustomFieldId()))b.customFieldId=a;return b},Fya=function(a){var b=new Rm;void 0!==a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));void 0!==a.type&&b.setType(Eya[a.type]);return b},Gya=function(a){var b=a.getField();if(!b)throw Error("yc");if(!a.getDirection())throw Error("zc");return{field:Dya(b),direction:1===a.getDirection()?"ASCENDING":"DESCENDING"}},
Hya=function(a){var b=new Sm;b.setField(Fya(a.field));b.setDirection("ASCENDING"===a.direction?1:2);return b},Jya=function(a){return"CUSTOM_FIELD"===a.type?[Iya[Eya[a.type]],a.customFieldId].join(":"):Iya[Eya[a.type]]},Lya=function(a){return a.includes(":")?(a=k(a.split(":")),a.next(),a=a.next().value,{type:"CUSTOM_FIELD",customFieldId:li(a)}):{type:Cya[Kya[a]]}},Mya=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=Xh(a,1))?void 0:b.map(Lya))?c:[]},Nya=function(a){var b=new Tm;a=a.map(Jya);
return Ri(b,1,a)},Oya=function(a){var b=k(a.trim().split(" ")),c=b.next().value;a=b.next().value;Ce(b);b=Lya(c);c="DESCENDING";"asc"===a&&(c="ASCENDING");return{field:b,direction:c}},Pya=function(a){return Jya(a.field)+" "+("ASCENDING"===a.direction?"asc":"desc")},Vm=function(a){return function(){var b=Um.getItem(a);return null==b?!1:!!JSON.parse(b)}},Qya=function(a){return function(b){!0===b?Um.setItem(a,"1"):Um.removeItem(a)}},Sya=function(a,b){Rya()&&!Yh(a,b)&&(console.error("Discrepancy of messages during LeanFE migration.\n    ### obj1: "+
JSON.stringify(a,null,2)+"\n\n    ### obj2: "+JSON.stringify(b,null,2)+"\n    "),console.log({obj1:a,obj2:b}))},Wm=function(a){var b,c;return null!=(c=null==(b=vua().getConfig())?void 0:Ab(b,4,lb).get(a))?c:!1},Uya=function(a){var b=new Xm;b.setHotlistId(""+a.hotlistId);b.setName(a.name);b.setDescription(a.description);b.setArchived(a.archived);b.setCreatedTimeMicros(a.createdTimeMicros);b.setModifiedTimeMicros(a.modifiedTimeMicros);var c;b.setDisplayColumnList((null!=(c=a.displayColumn)?c:[]).map(Fya));
var d;b.setSortOrderList((null!=(d=a.sortOrder)?d:[]).map(Hya));void 0!==a.etag&&b.setEtag(a.etag);if(Tya){var e;c=Nya(null!=(e=a.displayColumn)?e:[]);lj(b,Tm,17,c);var g;e=(null!=(g=a.sortOrder)?g:[]).map(Pya).join(",");uk(b,16,e)}var h;b.setAdminUsersList((null!=(h=a.adminUsers)?h:[]).map(wi));return b},Ym=function(a){if(!a.getHotlistId())throw Error("Ac");if(!a.getName())throw Error("Bc");if(!a.getCreatedTimeMicros())throw Error("Cc");if(!a.getModifiedTimeMicros())throw Error("Dc");var b,c,d,e,
g={hotlistId:Number(a.getHotlistId()),name:a.getName(),description:null!=(b=a.getDescription())?b:"",archived:null!=(c=a.getArchived())?c:!1,createdTimeMicros:a.getCreatedTimeMicros(),modifiedTimeMicros:a.getModifiedTimeMicros(),displayColumn:(null!=(d=a.getDisplayColumnList())?d:[]).map(Dya),sortOrder:(null!=(e=a.getSortOrderList())?e:[]).map(Gya),etag:a.getEtag(),adminUsers:ui(a.getAdminUsersList())};Tya&&Pj(a,Tm,17)&&(b=Mya(W(a,Tm,17)),Sya(g.displayColumn,b),g.displayColumn=b);Tya&&V(a,16)&&(a=
V(a,16).split(",").filter(Boolean).map(Oya),Sya(g.sortOrder,a),g.sortOrder=a);return g},Vya=function(a){var b;return(null!=(b=oj(a,Xm,1))?b:[]).map(Ym)},Xya=function(a){a=a.getFavorite();return{user:si(a.getUser()),resourceType:Wya[a.getResourceType()],resourceId:Number(a.getResourceId()),name:a.getName()}},Zya=function(a){var b,c,d={searchId:Number(Ki(a,1)),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:(null!=(b=a.getSortOrderList())?b:[]).map(Gya),displayColumn:(null!=
(c=a.getDisplayColumnList())?c:[]).map(Dya),adminUsers:ui(a.getAdminUsersList())};if(Yya&&a.hasIt()){a=a.getIt();var e;a={searchId:Number(a.getSavedSearchId()),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(Oya),displayColumn:Mya(a.getDisplayPreferences()),adminUsers:(null!=(e=a.getOwnersList())?e:[]).map(Bra)};Sya(d,a);return a}return d},$ya=function(a){var b;return(null!=(b=oj(a,Zm,1))?b:[]).map(Zya)},aza=function(a){return{id:a.getId(),
name:a.getName(),description:a.getDescription(),adminUsers:ui(a.getAdminUsersList()),starred:a.getStarred(),resourceType:a.getResourceType()}},bza=function(a){var b;return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:ui(a.getAdminUsersList()),starred:a.getStarred(),sublinks:(null!=(b=oj(a,$m,6))?b:[]).map(aza)}},cza=function(a){var b,c,d,e;return{hotlists:(null!=(b=a.getHotlistsList())?b:[]).map(aza),bookmarkGroups:(null!=(c=a.getBookmarkGroupsList())?c:[]).map(bza),archivedHotlists:(null!=
(d=oj(a,$m,3))?d:[]).map(aza),archivedBookmarkGroups:(null!=(e=oj(a,an,4))?e:[]).map(bza)}},eza=function(){var a=window.defrostedResourcesJspb;if(a&&Array.isArray(a)&&(a=oj(new dza(a),bn,1))&&1===a.length)return Ak(a[0])},cn=function(){return fza.performance&&fza.PerformanceObserver&&"function"===typeof window.performance.getEntriesByType&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure},gza=function(a){var b=a.name;if(null!=b&&(a=Math.round(a.duration),
!isNaN(a))){var c=k(b.split(" -> ")),d=c.next().value;c=c.next().value;if(null==d||null==c)console.warn("can't parse 'from' and 'to' in PerformanceEntry: "+b);else return{from:d,to:c,duration:a}}},iza=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(hza);if(null!=b){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},mza=function(){var a=window.performance.getEntries(),b=iza(a);if(null==b)return[];var c=b.startTime;return a.filter(jza).filter(kza).filter(lza).filter(function(d){return d.startTime<=
c})},hza=function(a){var b=a.name;return"measure"===a.entryType&&0===b.indexOf("browserStart")},jza=function(a){return 0!==a.name.indexOf("Zone")},lza=function(a){return"resource"===a.entryType},nza=function(a){return"xmlhttprequest"===a.initiatorType},kza=function(a){return null==a.name.match(/\.html$/)},oza=function(a,b){var c=b.transferSize||0,d=a.count+1,e=a.cacheHits+(0===c?1:0);return{count:d,duration:a.duration+b.duration,transferSize:a.transferSize+c,cacheHits:e,cacheHitRate:e/d}},pza=function(a){if(null!=
a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},rza=function(a){a=a.getEntries().map(gza).map(pza);a=k(a);for(var b=a.next();!b.done;b=a.next())dn(b.value);setTimeout(qza,100)},qza=function(){if(!sza){var a=mza(),b=a.filter(function(c){return!nza(c)}).reduce(oza,tza());en("r-until-cf","asset","count",b.count);en("r-until-cf","asset","transferSize",b.transferSize);en("r-until-cf","asset","duration",b.duration);en("r-until-cf",
"asset","cacheHitRate",b.cacheHitRate);a=a.filter(nza).reduce(oza,tza());en("r-until-cf","xhr","count",a.count);en("r-until-cf","xhr","transferSize",a.transferSize);en("r-until-cf","xhr","duration",a.duration);sza=!0}},en=function(a,b,c,d){fn?uza(a,Object.assign({},void 0!==b?{event_action:b}:{},void 0!==c?{event_label:c}:{},void 0!==d?{event_value:d}:{})):dn(Object.assign({},{hitType:"event",eventCategory:a},void 0!==b?{eventAction:b}:{},void 0!==c?{eventLabel:c}:{},void 0!==d?{eventValue:d}:{}))},
dn=function(a){if(fn){if(a&&a.hitType){var b=a.hitType;var c=a.eventAction;var d=a.eventCategory,e=a.eventLabel;a=a.eventValue;c=Object.assign({},void 0!==c?{event_action:c}:{},void 0!==d?{event_category:d}:{},void 0!==e?{event_label:e}:{},void 0!==a?{event_value:a}:{});uza(b,c)}}else null!=a&&(gn("location","Scrubbed Page URL"),gn("title","Scrubbed Page Title"),"function"===typeof hn.ga&&hn.ga("send",a),vza&&Nh("[stub ga.ts] ga('send')",a))},uza=function(a,b){null!=b&&(wza("page_location","Scrubbed Page URL"),
wza("page_title","Scrubbed Page Title"),"function"===typeof hn.gtag&&hn.gtag("event",a,b),vza&&Nh("[stub gtag.ts] gtag('event')",a,b))},gn=function(a,b){fn?wza(a,b):("function"===typeof hn.ga&&hn.ga("set",a,b),vza&&Nh("[stub ga.ts] ga('set', '"+a+"', "+b+")"))},wza=function(a,b){if("function"===typeof hn.gtag){var c={};hn.gtag("set",(c[a]=b,c))}vza&&Nh("[stub gtag.ts] gtag('set', '{"+a+": "+b+")}")},Bza=function(){var a=void 0===a?en:a;var b=Date.now(),c=jn(b);jn(xza())!==c?a("retention","first-visit"):
(c=jn(b),jn(xza())===c&&1===yza()&&a("retention","second-visit"));a=jn(b);jn(xza())!==a?zza(1):(a=yza()||0,zza(a+1));Aza(b)},jn=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},Cza=function(){return Wc.apply(0,arguments).map(String).join("__")},Dza=function(){for(var a={},b=k(Object.entries(kn)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;1<d&&(a[c]=d)}return a},Eza=function(a,b){return a+b},Fza=function(){var a=Object.values(kn),b=a.map(function(c){return c-
1}).reduce(Eza,0);a=a.reduce(Eza,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},Gza=function(a){for(var b=[];a;){var c=void 0,d=void 0;b.push(null!=(d=null==(c=a.routeConfig)?void 0:c.path)?d:"");c=void 0;a=null==(c=a.children)?void 0:c[0]}return b.join("/")},Hza=function(a){return a instanceof Nm},Iza=function(a){return a instanceof ln},Jza=function(a){return function(b){return new E.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()})})})}},Kza=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},Lza=function(a){var b=Object.assign({},a);a=a.issue;b=(delete b.issue,b);return Object.assign({},b,{issueId:a.issueId})},Mza=function(a){var b=1E3;b=void 0===b?150:
b;var c,d=[];return function(e){d.push(e);c&&clearTimeout(c);c=setTimeout(function(){a(d);d=[];c=void 0},b)}},Nza=function(a){function b(){var e,g,h,m;return ne(function(r){if(1==r.nextAddress){if(d||0===c.length)return r.return();d=!0;e=[].concat(ad(c));c=[];g=k(e);h=g.next()}if(3!=r.nextAddress){if(h.done)return d=!1,r.yield(b(),0);m=h.value;return r.yield(a.apply(null,ad(m.args)).then(m.returnValue.resolve).catch(m.returnValue.reject),3)}h=g.next();return r.jumpTo(2)})}var c=[],d=!1;return function(){var e=
Wc.apply(0,arguments),g=new owa;c.push({args:e,returnValue:g});b();return g.promise}},Oza=function(a){var b=!1;return function(){var c=Wc.apply(0,arguments);if(!b)return b=!0,a.apply(null,ad(c))}},Pza=function(a){return!(null==a||!a.relatedChildren.length)},Rza=function(a,b){var c=[].concat(ad(a));a=new Set(a.map(function(h){return h.targetIssueId}));b=k(b);for(var d=b.next(),e={};!d.done;e={$jscomp$loop$prop$newItem$1533519868$23:e.$jscomp$loop$prop$newItem$1533519868$23},d=b.next())if(e.$jscomp$loop$prop$newItem$1533519868$23=
d.value,!a.has(e.$jscomp$loop$prop$newItem$1533519868$23.targetIssueId)){d=c.findIndex(function(h){return function(m){return m.targetIssueId===h.$jscomp$loop$prop$newItem$1533519868$23.afterIssueId}}(e));var g=void 0;g=e.$jscomp$loop$prop$newItem$1533519868$23.afterIssueId?-1===d?c.length:d+1:0;c.splice(g,0,e.$jscomp$loop$prop$newItem$1533519868$23);a.add(e.$jscomp$loop$prop$newItem$1533519868$23.targetIssueId)}return Qza(c)},Sza=function(a,b){return Qza(a.filter(function(c){return c.targetIssueId!==
b}))},Qza=function(a){for(var b=[],c=k(a.entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;var g=e.next().value;e=void 0;d=Object.assign({},g,{afterIssueId:null==(e=a[d-1])?void 0:e.targetIssueId});null==d.afterIssueId&&delete d.afterIssueId;b.push(d)}return b},Tza=function(a){var b=new Map;a=k(a);for(var c=a.next(),d={};!c.done;d={$jscomp$loop$prop$previousOperation$1533519868$25:d.$jscomp$loop$prop$previousOperation$1533519868$25},c=a.next()){var e=c.value;c=e.issues.map(function(g){return g.issueId}).join(",");
d.$jscomp$loop$prop$previousOperation$1533519868$25=b.get(c);d.$jscomp$loop$prop$previousOperation$1533519868$25?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:d.$jscomp$loop$prop$previousOperation$1533519868$25.issues,eventTimestamps:[].concat(ad(d.$jscomp$loop$prop$previousOperation$1533519868$25.eventTimestamps),ad(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(d.$jscomp$loop$prop$previousOperation$1533519868$25.done.resolve).catch(function(g){return function(h){g.$jscomp$loop$prop$previousOperation$1533519868$25.done.reject(h);
throw h;}}(d)),b.set(c,e)):b.set(c,e)}b=[].concat(ad(b.values()));a=k(b);c=a.next();for(d={};!c.done;d={$jscomp$loop$prop$operation$1533519868$17$1533519868$27:d.$jscomp$loop$prop$operation$1533519868$17$1533519868$27},c=a.next())d.$jscomp$loop$prop$operation$1533519868$17$1533519868$27=c.value,d.$jscomp$loop$prop$operation$1533519868$17$1533519868$27.newRelations=d.$jscomp$loop$prop$operation$1533519868$17$1533519868$27.newRelations.map(function(g){return function(h){return g.$jscomp$loop$prop$operation$1533519868$17$1533519868$27.newParentChildrenSnapshot.find(function(m){return m.targetIssueId===
h.targetIssueId})}}(d));return b.sort(function(g,h){var m=g.newParentChildrenSnapshot,r=h.newParentChildrenSnapshot;g=Math.min.apply(Math,ad(g.issues.map(function(v){return m.findIndex(function(y){return y.targetIssueId===v.issueId})})));h=Math.min.apply(Math,ad(h.issues.map(function(v){return r.findIndex(function(y){return y.targetIssueId===v.issueId})})));return g===h?0:g<h?-1:1})},Uza=function(a){return Zya(a.getSearch())},Vza=function(a){return oj(a,Zm,1).map(Zya)},bAa=function(a){var b=Wza(oj(a,
mn,2));return a.getTasksList().map(function(c){var d=V(c,1);var e=c.getResource();if(e){var g={resourceId:e.getResourceId(),source:V(e,1),title:e.getTitle(),lastModifiedTimestamp:e.getLastModifiedTimestamp(),externalLink:e.getExternalLink()};if(ck(e,nn,8,on))e=pn(e),e={description:e.getDescription(),category:Xza(e.getCategory()),status:Yza(e.getStatus()),reviewerEmails:e.getReviewerEmailsList(),comments:e.getCommentsList().map(Zza),authorEmail:e.getAuthorEmail(),needsAttention:e.getNeedsAttention(),
attentionSetUsers:Xh(e,17),ccEmails:e.getCcEmailsList()},g.critiqueResource=e;else if(ck(e,qn,5,on))e=rn(e),e={type:$za(e.getMimeType()),createdTimestamp:e.getCreatedTimestamp(),createdByMe:Vj(e,2),ownedByMe:e.getOwnedByMe(),sharedWithMe:e.getSharedToMe(),commentsAssignedToMeCount:Vh(e,22),commentsMentioningMeCount:Vh(e,23)},g.driveResource=e;else if(ck(e,sn,9,on))e=tn(e),e={description:e.getDescription(),ownedByMe:e.getOwnedByMe(),needApprovalFromMe:Vj(e,8),creatorEmail:e.getCreatorEmail()},g.launchResource=
e;else throw Error("Gc");}else g=void 0;return{taskId:d,resource:g,createdTimestamp:c.getCreatedTimestamp(),updatedTimestamp:c.getUpdatedTimestamp(),signals:b.has(V(c,1))?aAa(b.get(V(c,1))):void 0}})},Wza=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,b.has(c.getResourceId())){var d=b.get(c.getResourceId());b.set(c.getResourceId(),[].concat(ad(d),[c]))}else b.set(c.getResourceId(),[c]);return b},aAa=function(a){return a.map(function(b){return{resourceId:b.getResourceId(),
timestamp:Qh(b.getTimestamp()),suggestedAction:V(W(b,un,2),4),signalSpec:cAa(W(b,un,2))}}).filter(function(b){return dAa.has(b.signalSpec)})},cAa=function(a){if(null!=vn(a,2,xn))switch(aj(a,yn(a,xn,2),0)){case 0:return"CHANGELIST_SIGNAL_UNSPECIFIED";case 1:return"THREAD_MENTIONS_ME";case 3:return"AUTHOR_GOING_OOO";case 4:return"NEEDS_ATTENTION";case 5:return"NUDGED";default:return"CHANGELIST_SIGNAL_UNSPECIFIED"}else if(null!=vn(a,3,xn))switch(aj(a,yn(a,xn,3),0)){case 0:return"DRIVE_SIGNAL_UNSPECIFIED";
case 1:return"TAGGED_IN_COMMENT";case 2:return"REQUIRES_APPROVAL";case 3:return"COMMENTS_REQUIRE_ATTENTION";default:return"DRIVE_SIGNAL_UNSPECIFIED"}else if(null!=vn(a,5,xn))switch(aj(a,yn(a,xn,5),0)){case 0:return"LAUNCH_SIGNAL_UNSPECIFIED";case 1:return"NEAR_LAUNCH_DATE";default:return"LAUNCH_SIGNAL_UNSPECIFIED"}return"SIGNAL_UNSPECIFIED"},Xza=function(a){switch(a){case 0:return"CATEGORY_UNSPECIFIED";case 1:return"INCOMING";case 2:return"OUTGOING";case 3:return"CC_REVIEW";case 4:return"PENDING_REVIEW";
default:return"CATEGORY_UNSPECIFIED"}},Yza=function(a){switch(a){case 0:return"STATUS_UNSPECIFIED";case 1:return"LGTM";case 2:return"PENDING";case 3:return"UNRESOLVED";case 4:return"REQUIRES_ATTN";case 5:return"SUBMITTED";case 6:return"DELETED";default:return"STATUS_UNSPECIFIED"}},Zza=function(a){return{authorEmail:a.getAuthorEmail()}},$za=function(a){switch(a){case "document":return"Docs";case "spreadsheet":return"Sheets";case "presentation":return"Slides";default:return"File"}},eAa=function(a){switch(a){case "ARIANE":return 3;
case "CRITIQUE":return 1;case "DRIVE":return 4;default:return 0}},fAa=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],deleted:!1,estimatedComponentCount:0}},zn=function(a,b){b=new E.BehaviorSubject(b);a.subscribe(b);return b},An=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},gAa=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},hAa=function(){var a=new Date;a.setDate(a.getDate()-
1);return a.getFullYear()+"-"+(a.getMonth()+1).toString().padStart(2,"0")+"-"+a.getDate().toString().padStart(2,"0")},iAa=function(a,b){if(null==a)return null;a=a.getRequestHook(b);return null==a?null:a},jAa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},kAa=function(a,b){return Bn(b,a)},lAa=function(a,b,c){b[a]=c},mAa=function(){return{}},rAa=function(a,b){var c=new a;return null==b?c:nAa(b,oAa,pAa,qAa,a)},oAa=function(a,
b){return b[a]},pAa=function(a,b,c){b.Serializable$values[a]=c},qAa=function(a){if(null==a)throw Error("Ic");return new a},nAa=function(a,b,c,d,e){e=d(e);for(var g=sAa(a,e),h=g.arrays||{},m=g.objects||{},r=g.objectMaps||{},v=k(g.keys||[]),y=v.next(),A={};!y.done;A={$jscomp$loop$prop$mapMetadata$m192531680$1:A.$jscomp$loop$prop$mapMetadata$m192531680$1},y=v.next()){y=y.value;var G=b(y,a);if(null!=G){var N=void 0;if(h.hasOwnProperty(y)){if(g.emptyArrayIsUnset&&0===G.length)continue;N=tAa(G,b,c,d,!0,
!0,h[y])}else if(m.hasOwnProperty(y))N=tAa(G,b,c,d,!1,!0,m[y]);else if(r.hasOwnProperty(y))A.$jscomp$loop$prop$mapMetadata$m192531680$1=r[y],N=A.$jscomp$loop$prop$mapMetadata$m192531680$1.isPropertyArray?G.map(function(Q){return function(Z){return uAa(Z,Q.$jscomp$loop$prop$mapMetadata$m192531680$1,b,c,d)}}(A)):uAa(G,A.$jscomp$loop$prop$mapMetadata$m192531680$1,b,c,d);else if(Array.isArray(G)){if(g.emptyArrayIsUnset&&0===G.length)continue;N=tAa(G,b,c,d,!0,!1)}else N=G;c(y,e,N)}}return e},uAa=function(a,
b,c,d,e){for(var g={},h=k(Object.keys(a)),m=h.next();!m.done;m=h.next()){m=m.value;var r=a[m];null!=r&&(g[m]=tAa(r,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return g},tAa=function(a,b,c,d,e,g,h){if(g&&null==h)throw Error("Jc");if(null==a)return a;var m;e&&g?m=a.map(function(r){return nAa(r,b,c,d,h)}):e&&!g?m=a.map(function(r){return r}):m=!e&&g?nAa(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return m},sAa=function(a,b){if(b instanceof Cn)a=jAa(b.getPartialClassMetadata());
else if(a instanceof Cn)a=jAa(a.getPartialClassMetadata());else throw Error("Kc");return a},vAa=function(a){if(null!=a.queryParams){var b={},c;for(c in a.queryParams)void 0!==a.queryParams[c]&&(b[c]=a.queryParams[c]);a.queryParams=b}},wAa=function(a,b,c){c=void 0===c?{}:c;b=k(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=k(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},xAa=function(a,b){a&1&&(H(0,"div",1),pd(),H(1,"svg",2)(2,"g"),J(3,"path",3),I()(),qd(),
H(4,"span",4),R(5),I()());a&2&&(a=b.ngIf,pf("aria-label",a)("title",a),B(5),Nf(a))},yAa=function(a){a&1&&J(0,"waldo-availability-chip",1);a&2&&(a=O(),F("user",a.user),pf("coinonly",a.coinonly))},zAa=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new Th;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},Dn=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new Rh;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},AAa=function(a){return a.retentionPeriod&&
(a=zAa(a.retentionPeriod))?$ua(Math.floor(1E3*a.getSeconds()/864E5)):"indefinite"},En=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},BAa=function(a){if(a&1){var b=w();H(0,"button",5);M("click",function(){x(b);var c=O();return z(c.dialogRef.close(!1))});R(1);I()}a&2&&(a=O(),B(1),Mf(" ",a.cancelButtonText," "))},CAa=function(a){var b=[];a=[].concat.apply([],ad(a.map(function(e){return e.actions})));a=k(a);for(var c=a.next(),d={};!c.done;d={$jscomp$loop$prop$action$m255222169$1:d.$jscomp$loop$prop$action$m255222169$1},
c=a.next())d.$jscomp$loop$prop$action$m255222169$1=c.value,b.some(function(e){return function(g){return Yh(e.$jscomp$loop$prop$action$m255222169$1,g)}}(d))||b.push(d.$jscomp$loop$prop$action$m255222169$1);return b},DAa=function(a){return Array.from(new Set([].concat.apply([],ad(a.map(function(b){return b.issueIds})))))},Fn=function(){return Ne(function(a,b){return Yh(a,b)})},EAa=function(){return function(a){return a.pipe(D(function(b){return{event:b,timestamp:Date.now()}}),Bia(a.pipe(Ke(1E4,E.asapScheduler))))}},
IAa=function(a){var b={};a=k(ik(a,1,FAa).entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:GAa[aj(d,1,0)],detailedUserType:HAa[aj(d,2,0)]}}return b},JAa=function(a,b){return a.map(function(c){return b[c]||null})},KAa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},LAa=function(a,b){a&1&&(H(0,"li"),R(1),I());a&2&&(a=b.$implicit,B(1),Nf(a))},MAa=function(a){return a.endsWith("?")?a.slice(0,a.length-
1):a},NAa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},OAa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},PAa=function(a,b){a=new Map(a);b=k(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a.set(c,d)}return a},Gn=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},Hn=function(a,b){return new Map(a.map(function(c){return[c,
b(c)]}))},QAa=function(a,b){return Hn([].concat(ad(a.keys())),function(c){return b(a.get(c))})},RAa=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},SAa=function(a){var b;return null!=(b=yi(a))?b:null},TAa=function(a){var b;return null!=(b=zi(a))?b:null},UAa=function(a){var b,c;return(null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.userData)?void 0:c.starred)||!1},VAa=function(a){var b,c;return(null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.userData)?
void 0:c.lastViewedTimeMicros)||0},WAa=function(a){var b;return null==(b=Ql(a))?void 0:b.title},XAa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.status)?c:void 0},YAa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.priority)?c:void 0},ZAa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.assigneeUser)?c:void 0},$Aa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.reporterUser)?c:void 0},aBa=function(a){var b,c;a=null==a?void 0:null==(b=a.issue)?
void 0:null==(c=b.aggregatedData)?void 0:c.teamId;return zi(a)},bBa=function(a){var b;a=null==(b=Ql(a))?void 0:b.componentId;return zi(a)},cBa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.ccUsers)?c:[]},dBa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.issueAccessLimitLevel)?c:"LIMIT_NONE"},eBa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.collaboratorsUsers)?c:[]},fBa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.type)?c:void 0},gBa=function(a){var b,
c;return null!=(c=null==(b=Ql(a))?void 0:b.foundInVersion)?c:[]},hBa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.targetedToVersion)?c:[]},iBa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.changelist)?c:[]},jBa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.postmortems)?c:[]},kBa=function(a){var b;return(null==(b=Ql(a))?void 0:b.inProd)||!1},lBa=function(a){var b;return null==(b=Ql(a))?void 0:b.effort},mBa=function(a){var b,c;return null==a?void 0:null==
(b=a.issue)?void 0:null==(c=b.aggregatedData)?void 0:c.voteCount},nBa=function(a){var b,c;return(null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.userData)?void 0:c.voted)||!1},pBa=function(a){return oBa(null==a?void 0:a.issue)},oBa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.isDeleted)?c:!1},rBa=function(a){return qBa(null==a?void 0:a.issue)},qBa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},sBa=function(a){var b;return(a=null==a?void 0:
null==(b=a.issue)?void 0:b.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},uBa=function(a){return tBa(null==a?void 0:a.issue)},tBa=function(a){var b,c;return null!=(c=null==(b=Ll(a))?void 0:b.retention)?c:void 0},vBa=function(a){var b,c;return null!=(c=null==(b=Ql(a))?void 0:b.duplicateOfIssueId)?c:void 0},xBa=function(a){return wBa(null==a?void 0:a.issue)},wBa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.retentionState)?c:void 0},yBa=function(a){var b;
return zi(null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.sloId)},zBa=function(a){var b;return null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.createdTimeMicros},ABa=function(a){return null==a?void 0:a.effortSpec},BBa=function(a){a=ABa(a);return!(!a||!a.name&&!a.inherit)},CBa=function(a){return null==a?void 0:a.componentPathInfo},DBa=function(a){if(!a)return{};var b,c=k(null!=(b=a.match(RegExp("comment([0-9]+)")))?b:[]);c.next();b=c.next().value;var d;a=k(null!=(d=a.match(RegExp("comment[0-9]+version([0-9]+)")))?
d:[]);a.next();d=a.next().value;return{commentNumber:yi(b),commentVersion:yi(d)}},EBa=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}},FBa=function(a){return a?ii(a.replace(/_/g," ").toLowerCase()):""},GBa=function(a){return a?a.join(", "):""},HBa=function(a,b){if(!a)return Ng("");if(!b)return Ng(a);b=
b.split(" ").map(nqa);b=b.filter(function(h){return!!h});b=b.map(In);if(0===b.length)return Ng(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,g=d[2];d=d[3];c.push(a.substring(0,e));c.push(Qg("b",{},g));c.push(d);a=a.substring(e+g.length+d.length)}return Pg(c)},IBa=function(a){return a?"Yes":"No"},JBa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},KBa=function(a){if(1073741824<=a){a/=1073741824;
var b="GB"}else 1048576<=a?(a/=1048576,b="MB"):1024<=a?(a/=1024,b="KB"):b="B";a=10>a?Math.round(10*a)/10:Math.round(a);return a+" "+b},LBa=function(a){if(!a)return null;a=null!=a&&a.getSeconds?a.getSeconds():a.seconds;var b=new Hl;b.setTime(1E3*a);return b},Jn=function(a){if(a&&Fl(a))return a},Kn=function(a){return null==a?"":String(a)},MBa=function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},Ln=function(a){return a?ha(a,"@")?a:"[Deleted User]"===
a?a:a+"@google.com":""},NBa=function(a,b){a=void 0===a?"":a;b=void 0===b?48:b;var c=void 0===c?"...":c;var d=[].concat(ad(a));if(d.length<=b)return a;a=b-[].concat(ad(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&(d=d.trimEnd());return d+c},OBa=function(a){a=void 0===a?"":a;var b=new Set([].concat(ad('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(ad(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},PBa=function(a){return a.split("").every(function(b){return 1===
b.length&&0<=b.charCodeAt(0)&&255>=b.charCodeAt(0)})},RBa=function(a){if(null!=a){a=[].concat(ad(a)).slice(0,100);a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=QBa[b.value])return b}},SBa=function(a){if(a.includes('"')||a.includes("'"))return[];var b=[].concat(ad(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=k(c);c.next();c.next();return c.next().value});a=[].concat(ad(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=
k(c);c.next();c.next();return c.next().value}):[]},TBa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},VBa=function(a){if(null==UBa){var b="undefined"!==typeof document?document.head:null;UBa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return UBa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},WBa=function(a){if(a&1){var b=w();H(0,"div",0);M("clickOutside",function(){x(b);var c=O();return z(c.closeHovercard$.next())})("mouseenter",
function(){x(b);O().isOnHover$.next(!0);return z()})("mouseleave",function(){x(b);O().isOnHover$.next(!1);return z()});Hf(1);I()}a&2&&(a=O(),zf(a.className),F("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},XBa=function(a){a&1&&J(0,"img",9);a&2&&(a=O(),F("src",a.person.imageUrl,Sd)("alt",a.person.name+"'s profile picture"))},YBa=function(a){a&1&&(H(0,"div",10),R(1),I());a&2&&(a=O(),B(1),Mf(" ",a.person.email," "))},ZBa=function(a){a&1&&(H(0,"div",11)(1,"onedev-chip",12),J(2,"mat-icon",13),R(3),
I()());a&2&&(a=O(),B(3),Mf("",a.outOfOfficeDescription," "))},$Ba=function(a){a&1&&(H(0,"li"),R(1),I());a&2&&(a=O(2),B(1),Nf(a.person.title))},aCa=function(a){a&1&&J(0,"li",18)},bCa=function(a){a&1&&(H(0,"li"),R(1),I());a&2&&(a=O(2),B(1),Nf(a.person.department))},cCa=function(a){a&1&&(K(0),J(1,"mat-icon",14),H(2,"div",15)(3,"ul",16),P(4,$Ba,2,1,"li",8),P(5,aCa,1,0,"li",17),P(6,bCa,2,1,"li",8),I()(),L());a&2&&(a=O(),B(4),F("ngIf",a.person.title),B(1),F("ngIf",a.person.title&&a.person.department),B(1),
F("ngIf",a.person.department))},dCa=function(a){a&1&&(K(0),J(1,"mat-icon",19),H(2,"div",15),R(3),I(),L());a&2&&(a=O(),B(3),Nf(a.person.location))},eCa=function(a){a&1&&(H(0,"li")(1,"a",21),R(2,"Teams"),I()());a&2&&(a=O(2),B(1),F("href","https://moma.corp.google.com/person/"+a.person.ldap,Sd))},fCa=function(a){a&1&&J(0,"li",18)},gCa=function(a){a&1&&(K(0),J(1,"mat-icon",20),H(2,"div",15)(3,"ul",16),P(4,eCa,3,1,"li",8),P(5,fCa,1,0,"li",17),H(6,"li")(7,"a",21),R(8,"Whostory"),I()(),J(9,"li",18),H(10,
"li")(11,"a",21),R(12,"Calendar"),I()(),J(13,"li",18),H(14,"li")(15,"a",21),R(16,"CLs"),I()(),J(17,"li",18),H(18,"li")(19,"a",21),R(20,"Readability"),I()()()(),L());a&2&&(a=O(),B(4),F("ngIf",a.person.title||a.person.department),B(1),F("ngIf",a.person.title||a.person.department),B(2),F("href","https://whostory.corp.google.com/"+a.person.ldap,Sd),B(4),F("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",Sd),B(4),F("href","https://critique.corp.google.com/"+
a.person.ldap,Sd),B(4),F("href","https://icanread.corp.google.com/s/"+a.person.ldap,Sd))},iCa=function(a){return a&&hCa.test(a)?a.split("@")[0]:""},jCa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},kCa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},lCa=function(a,b){return a.map(function(c){var d,e,g,h=null==(e=null==b?void 0:null==(d=b.matches)?void 0:
d.find(function(N){return N.lookupId===c}))?void 0:null==(g=e.personId)?void 0:g[0];if(!h)return{ldap:iCa(c),name:"",email:c};var m;d=null==b?void 0:null==(m=b.people)?void 0:m[h];var r;h=null==(r=kCa(null==d?void 0:d.email))?void 0:r.value;var v,y;r=null==d?void 0:null==(v=d.name)?void 0:null==(y=v[0])?void 0:y.displayName;var A,G;v=null==d?void 0:null==(A=d.photo)?void 0:null==(G=A[0])?void 0:G.url;y=jCa(null==d?void 0:d.organization);A=null==y?void 0:y.title;G=null==y?void 0:y.department;y=null==
y?void 0:y.location;return{ldap:iCa(h),email:h||c||"",name:r||"",imageUrl:v,title:A,department:G,location:y}})},mCa=function(a,b){a&1&&(H(0,"onedev-person-hovercard-body",1),S(1,"async"),Hf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),Hf(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),I());a&2&&(a=b.ngIf,b=O(),F("person",a)("outOfOfficeDescription",T(1,2,b.outOfOfficeDescription$)))},nCa=function(a){a&1&&(H(0,"onedev-person-hovercard",
1,2),Hf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),I());if(a&2){var b=Lf(1);a=O();F("email",a.email)("enableWaldo",!0)("onedevIsHovercardReady",b.init)}},oCa=function(a){a&1&&Df(0)},pCa=function(a){a&1&&(K(0),H(1,"span",2),P(2,oCa,1,0,"ng-container",3),I(),H(3,"onedev-hovercard",null,4),J(5,"b-person-card",5),I(),L());if(a&2){var b=Lf(4);a=O();var c=Lf(2);B(1);F("onedevHovercardTrigger",b)("onedevHovercardActive",!!a.email);B(1);F("ngTemplateOutlet",c);B(3);F("email",
a.email)}},qCa=function(a){a&1&&Hf(0)},tCa=function(a){if(a&1){var b=w();K(0,3);H(1,"onedev-hovercard-action",4);M("onAction",function(){x(b);var e=O();return z(rCa(e))});S(2,"async");H(3,"span");R(4);I()();H(5,"onedev-hovercard-action",4);M("onAction",function(){x(b);var e=O();return z(sCa(e))});S(6,"async");H(7,"span");R(8);I()();L()}if(a&2){a=O();var c,d;B(1);F("disabled",null!==(c=T(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);B(3);Nf(a.email!==a.currentAssignee?"Set as assignee":
"Remove assignee");B(1);F("disabled",null!==(d=T(6,6,a.actionService.ccUpdating$))&&void 0!==d?d:!1);B(3);Nf(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},uCa=function(a){a&1&&(K(0),J(1,"b-availability-chip",3),L());a&2&&(a=O(2).ngIf,B(1),F("user",a.email))},vCa=function(a){a&1&&(K(0),R(1),L(),P(2,uCa,2,1,"ng-container",0));if(a&2){a=O().ngIf;var b=O();B(1);Nf(a.content);B(1);F("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},wCa=function(a){a&1&&Df(0)},xCa=function(a){a&
1&&(K(0),H(1,"span",4),P(2,wCa,1,0,"ng-container",5),I(),H(3,"onedev-hovercard",null,6),J(5,"b-issue-person-card",7),I(),L());if(a&2){var b=Lf(4);a=O().ngIf;var c=Lf(2),d=O();B(1);F("onedevHovercardTrigger",b);pf("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);B(1);F("ngTemplateOutlet",c);B(3);F("email",a.email)}},yCa=function(a,b){a&1&&(K(0),P(1,vCa,3,2,"ng-template",null,1,hg),P(3,xCa,6,4,"ng-container",2),L());if(a&2){a=b.ngIf;var c=Lf(2);b=O();B(3);F("ngIf",b.hovercardEnabled&&
b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},zCa=function(a){a&1&&Df(0)},ACa=function(a){a&1&&(K(0),H(1,"span",3),P(2,zCa,1,0,"ng-container",4),I(),H(3,"onedev-hovercard",null,5),J(5,"b-issue-person-card",6),I(),L());if(a&2){var b=Lf(4);a=O().ngIf;var c=Lf(3);B(1);F("onedevHovercardTrigger",b);B(1);F("ngTemplateOutlet",c);B(3);F("email",a.email)}},CCa=function(a){a&1&&(K(0),J(1,"img",8),L());a&2&&(a=O(2).ngIf,O(),B(1),F("src",BCa[a.email],Sd))},DCa=function(a){a&1&&J(0,"img",11);a&2&&(a=O(3).ngIf,
F("src",a.src,Sd)("srcset",a.srcset))},ECa=function(a){a&1&&(H(0,"span",9),P(1,DCa,1,2,"img",10),I());a&2&&(a=O(2).ngIf,yf("anonymous",!a.showImage),B(1),F("ngIf",a.showImage))},GCa=function(a){a&1&&(P(0,CCa,2,1,"ng-container",0),P(1,ECa,2,3,"span",7));if(a&2){a=O().ngIf;var b=O();F("ngIf",a.email&&FCa(b,a.email));B(1);F("ngIf",!FCa(b,a.email))}},HCa=function(a,b){a&1&&(K(0),P(1,ACa,6,3,"ng-container",1),P(2,GCa,2,2,"ng-template",null,2,hg),L());if(a&2){a=b.ngIf;var c=Lf(3);b=O();B(1);F("ngIf",b.isNonObfuscatedEmail(a.email))("ngIfElse",
c)}},ICa=function(a){if(a&1){var b=w();H(0,"div",6)(1,"button",7);M("click",function(){x(b);O(2).onDismiss.emit();return z()});H(2,"mat-icon",8);R(3);I()()()}if(a&2){a=O(2);var c;B(1);F("matTooltip",null!==(c=a.dismissTooltip)&&void 0!==c?c:"")("disabled",a.disableDismiss);B(2);Mf(" ",a.dismissIcon," ")}},JCa=function(a){a&1&&(H(0,"span"),R(1,"Unassigned"),I())},KCa=function(a){a&1&&J(0,"b-user-image",12);a&2&&(a=O(3),F("email",(null==a.issue.snapshot[0].assigneeUser?null:a.issue.snapshot[0].assigneeUser.emailAddress)||
""))},LCa=function(a){a&1&&J(0,"b-user-display-name",13);a&2&&(a=O(3),F("email",a.issue.snapshot[0].assigneeUser.emailAddress||""))},MCa=function(a){a&1&&(H(0,"div",9),P(1,JCa,2,0,"span",0),P(2,KCa,1,1,"b-user-image",10),P(3,LCa,1,1,"b-user-display-name",11),I());a&2&&(a=O(2),B(1),F("ngIf",!a.issue.snapshot[0].assigneeUser),B(1),F("ngIf",a.issue.snapshot[0].assigneeUser),B(1),F("ngIf",a.issue.snapshot[0].assigneeUser))},NCa=function(a,b){a&1&&(K(0),H(1,"span"),R(2),I(),L());a&2&&(a=b.$implicit,b=
O(3),B(1),Bf("chippy status-",a," margin-s-right"),B(1),Mf(" ",b.STATUS_JS_TERSE[a]," "))},OCa=function(a){a&1&&J(0,"b-issue-priority-display",16);a&2&&(a=O(3),F("issuePriority",a.issue.snapshot[0].priority))},PCa=function(a){a&1&&(H(0,"span"),R(1),S(2,"enumToHuman"),I());a&2&&(a=O(3),B(1),Mf(" ",T(2,1,a.issue.snapshot[0].type)," "))},QCa=function(a){a&1&&(H(0,"div",14),P(1,NCa,3,4,"ng-container",0),P(2,OCa,1,1,"b-issue-priority-display",15),P(3,PCa,3,3,"span",0),I());a&2&&(a=O(2),B(1),F("ngIf",a.issue.snapshot[0].status),
B(1),F("ngIf",!a.onlyTitle),B(1),F("ngIf",!a.onlyTitle))},RCa=function(a){a&1&&J(0,"mat-icon",20);a&2&&(a=O(3),F("svgIcon",a.moreInfoIconSvg))},SCa=function(a){a&1&&(H(0,"mat-icon",21),R(1),I());a&2&&(a=O(3),B(1),Nf(a.moreInfoIcon))},TCa=function(a){a&1&&(K(0),H(1,"div"),P(2,RCa,1,1,"mat-icon",17),P(3,SCa,2,1,"mat-icon",18),H(4,"span",19),R(5),I()(),L());a&2&&(a=O(2),B(1),Bf("more-info padded-s-top margin-s-top ",a.moreInfoAccentColor,""),B(1),F("ngIf",a.moreInfoIconSvg),B(1),F("ngIf",a.moreInfoIcon),
B(2),Nf(a.moreInfoMessage))},UCa=function(a){a&1&&(K(0),H(1,"div",1)(2,"a",2),R(3),I()(),P(4,ICa,4,3,"div",3),P(5,MCa,4,3,"div",4),P(6,QCa,4,3,"div",5),P(7,TCa,6,6,"ng-container",0),L());a&2&&(a=O(),B(2),If("href","/issues/",a.issue.issueId,"",Sd),B(1),Of(" ",a.issue.snapshot[0].title," (",a.issue.issueId,") "),B(1),F("ngIf",a.dismissIcon),B(1),F("ngIf",!a.onlyTitle),B(1),F("ngIf",!a.onlyTitle),B(1),F("ngIf",a.moreInfoMessage&&!a.onlyTitle))},VCa=function(a,b){a&1&&(K(0),H(1,"time",1),S(2,"async"),
R(3),I(),L());if(a&2){a=b.ngIf;b=O();B(1);var c=qf(w(),"padding-left: ",b.paddingLeftPx,"px");jka(hka,ika,c,!1);F("title",a.title);pf("datetime",T(2,6,b.timestampIso$));B(2);Nf(a.formatted)}},WCa=function(a){a&1&&J(0,"div",2)},XCa=function(a){a&1&&(K(0),Hf(1),L())},YCa=function(a){a&1&&(H(0,"b-person-hovercard",3),R(1),I());a&2&&(a=O(),F("email",a.assignee),B(1),Mf(" ",a.assignee," "))},ZCa=function(a){a&1&&R(0,"--")},$Ca=function(a){a&1&&J(0,"b-formatted-date-time",3);a&2&&(a=O(),F("mode",a.mode)("timestamp",
a.createdTime))},aDa=function(a){a&1&&R(0,"--")},bDa=function(a){a&1&&(H(0,"b-person-hovercard",3),R(1),I());a&2&&(a=O(),F("email",a.reporter),B(1),Mf(" ",a.reporter," "))},cDa=function(a){a&1&&R(0,"--")},dDa=function(a,b){a&1&&(H(0,"div",3),R(1),I());a&2&&(a=b.$implicit,b=O(),Bf("chippy status-",a,""),F("title",b.STATUS_JS_FULL_TEXT[a]),B(1),Mf(" ",b.STATUS_JS_TERSE[a]," "))},eDa=function(a){a&1&&R(0,"--")},fDa=function(a){if(a&1){var b=w();H(0,"a",15);M("click",function(){x(b);var c=O();return z(c.trackClick("viewTeamAssociationOnComponent"))});
H(1,"button",11);R(2,"View team association on component");I()()}a&2&&(a=O(),F("href",a.manageComponentLink(),Sd))},gDa=function(a){if(a&1){var b=w();H(0,"a",6);M("click",function(){x(b);var d=O(2);return z(d.trackClick("viewTeamInMoma"))});H(1,"span");R(2);J(3,"mat-icon",7);I()()}if(a&2){a=O(2);var c=Lf(3);If("href","https://moma.corp.google.com/team/",a.teamId,"",Sd);F("onedevHovercardTrigger",c);pf("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");
B(1);pf("id",a.teamLinkId);B(1);Mf("",a.teamName?a.teamName:a.teamId," ")}},hDa=function(a){a&1&&(H(0,"span",8),R(1),I());if(a&2){a=O(2);var b=Lf(3);F("onedevHovercardTrigger",b);B(1);Nf(a.teamName?a.teamName:a.teamId)}},iDa=function(a){a&1&&(K(0),P(1,gDa,4,6,"a",4),P(2,hDa,2,2,"span",5),L());a&2&&(a=O(),B(1),F("ngIf",a.anchorLinkEnabled),B(1),F("ngIf",!a.anchorLinkEnabled))},jDa=function(a){a&1&&J(0,"span",11)},kDa=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O(2),B(1),Nf(a.teamNotAssignedMessage))},
lDa=function(a){a&1&&(P(0,jDa,1,0,"span",9),P(1,kDa,2,1,"span",10));a&2&&(a=O(),F("ngIf","0"!=a.teamId),B(1),F("ngIf","0"==a.teamId))},mDa=function(a){a&1&&J(0,"b-team-display",3);a&2&&(a=O(),F("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},nDa=function(a){a&1&&R(0,"--")},oDa=function(a){a&1&&(K(0),R(1," Trackers are distinct communities with their own branding. "),L())},pDa=function(a){a&1&&(H(0,"a",12),R(1,"Learn More"),I())},qDa=function(a){a&1&&(K(0),H(1,"button",1),
J(2,"img",2)(3,"img",3),H(4,"span",4),R(5),I()(),H(6,"onedev-hovercard",null,5)(8,"div",6)(9,"div",7)(10,"span",8),R(11),P(12,oDa,2,0,"ng-container",0),I(),H(13,"div",9)(14,"a",10),R(15),I(),P(16,pDa,2,0,"a",11),I()()()(),L());if(a&2){var b=Lf(7);a=O();B(1);yf("xs",a.compactMode);F("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);B(1);F("src",a.logoLight,Sd);B(1);F("src",a.logoDark,Sd);B(2);Nf(a.name);B(6);Mf(" This component or issue is part of ",a.extendedName,". ");B(1);F("ngIf",
!a.isGlobalBuganizer);B(2);F("href",a.redirectUrl,Sd);B(1);Mf("View ",a.extendedName,"");B(1);F("ngIf",!a.isGlobalBuganizer)}},rDa=function(a){a&1&&(J(0,"b-tracker-chip",1),S(1,"async"));a&2&&(a=O(),F("tracker",T(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},sDa=function(a){if(a&1){var b=w();K(0);H(1,"span",4);R(2);I();H(3,"a",5);M("keydown",function(c){x(b);O();"Enter"===c.key&&c.stopPropagation();return z()})("click",
function(c){return c.stopPropagation()});J(4,"mat-icon",6);I();L()}a&2&&(a=O(),B(2),Nf(a.title||"--"),B(1),F("routerLink","/"+a.link)("target",a.anchorTarget))},tDa=function(a){if(a&1){var b=w();H(0,"a",7);M("keydown",function(c){x(b);O();"Enter"===c.key&&c.stopPropagation();return z()})("click",function(c){return c.stopPropagation()});R(1);I()}a&2&&(a=O(),F("routerLink","/"+a.link)("target",a.anchorTarget),B(1),Nf(a.title||"--"))},uDa=function(a){a&1&&(K(0),R(1),S(2,"enumToHuman"),L());a&2&&(a=O(),
B(1),Nf(T(2,1,a.type)))},vDa=function(a){a&1&&R(0,"--")},wDa=function(a){a&1&&(H(0,"button",5,6),J(2,"mat-icon",7),I());if(a&2){a=O();var b=Lf(2);F("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);pf("aria-label",a.buttonLabel);B(2);F("svgIcon",a.buttonIcon)}},xDa=function(a){a&1&&(H(0,"div",8),R(1),I());a&2&&(a=O(),B(1),Nf(a.header))},yDa=function(a){a&1&&J(0,"mat-icon",7);a&2&&(a=O(2).$implicit,F("svgIcon",a.icon))},zDa=function(a){a&1&&(H(0,"span",14),R(1),I());a&2&&(a=O(2).$implicit,B(1),Nf(a.hintText))},
ADa=function(a){a&1&&J(0,"mat-icon",7);a&2&&(a=O(2).$implicit,F("svgIcon",a.icon))},BDa=function(a){a&1&&(H(0,"span",14),R(1),I());a&2&&(a=O(2).$implicit,B(1),Nf(a.hintText))},CDa=function(a){if(a&1){var b=w();H(0,"button",17);M("click",function(d){x(b);var e=O().$implicit,g=O(3);return z(g.onAction(d,e))})("mouseup",function(d){x(b);var e=O().$implicit,g=O(3);return z(g.onAction(d,e))});P(1,ADa,1,1,"mat-icon",11);R(2);P(3,BDa,2,1,"span",12);I()}if(a&2){a=O().$implicit;var c=O(2).$implicit;F("disabled",
a.disabled)("ngClass",c.className);pf("title",a.title);B(1);F("ngIf",a.icon);B(1);Mf(" ",a.label," ");B(1);F("ngIf",a.hintText)}},DDa=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(d){x(b);var e=O().$implicit,g=O(3);return z(g.onAction(d,e))})("mouseup",function(d){x(b);var e=O().$implicit,g=O(3);return z(g.onAction(d,e))});H(1,"span",19);J(2,"mat-icon",20);I();R(3);I()}if(a&2){a=O().$implicit;var c=O(2).$implicit;yf("b-menu-item-checked",a.selected);F("disabled",a.disabled)("ngClass",
c.className);pf("title",a.title);B(3);Mf(" ",a.label," ")}},EDa=function(a,b){a&1&&(K(0),P(1,CDa,4,6,"button",15),P(2,DDa,4,6,"button",16),L());a&2&&(a=b.$implicit,B(1),F("ngIf","action"===a.type),B(1),F("ngIf","select"===a.type))},FDa=function(a){a&1&&(K(0),H(1,"button",10),P(2,yDa,1,1,"mat-icon",11),R(3),P(4,zDa,2,1,"span",12),I(),H(5,"mat-menu",null,13),P(7,EDa,3,2,"ng-container",4),I(),L());if(a&2){var b=Lf(6);a=O().$implicit;var c=O();B(1);F("matMenuTriggerFor",b);B(1);F("ngIf",a.icon);B(1);
Mf(" ",a.label," ");B(1);F("ngIf",a.hintText);B(3);F("ngForOf",a.items)("ngForTrackBy",c.trackByIndex)}},GDa=function(a){a&1&&J(0,"mat-icon",7);a&2&&(a=O(3).$implicit,F("svgIcon",a.icon))},HDa=function(a){a&1&&(H(0,"span",14),R(1),I());a&2&&(a=O(3).$implicit,B(1),Nf(a.hintText))},IDa=function(a){if(a&1){var b=w();H(0,"button",17);M("click",function(c){x(b);var d=O(2).$implicit,e=O();return z(e.onAction(c,d))})("mouseup",function(c){x(b);var d=O(2).$implicit,e=O();return z(e.onAction(c,d))});P(1,GDa,
1,1,"mat-icon",11);R(2);P(3,HDa,2,1,"span",12);I()}a&2&&(a=O(2).$implicit,F("disabled",a.disabled)("ngClass",a.className),pf("title",a.title),B(1),F("ngIf",a.icon),B(1),Mf(" ",a.label," "),B(1),F("ngIf",a.hintText))},JDa=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(c){x(b);var d=O(2).$implicit,e=O();return z(e.onAction(c,d))})("mouseup",function(c){x(b);var d=O(2).$implicit,e=O();return z(e.onAction(c,d))});H(1,"span",19);J(2,"mat-icon",20);I();R(3);I()}a&2&&(a=O(2).$implicit,
yf("b-menu-item-checked",a.selected),F("disabled",a.disabled)("ngClass",a.className),pf("title",a.title)("aria-label",a.label+" results per page"),B(3),Mf(" ",a.label," "))},KDa=function(a){a&1&&(K(0),P(1,IDa,4,6,"button",15),P(2,JDa,4,7,"button",16),L());a&2&&(a=O().$implicit,B(1),F("ngIf","action"===a.type),B(1),F("ngIf","select"===a.type))},LDa=function(a,b){a&1&&(K(0),P(1,FDa,8,6,"ng-container",9),P(2,KDa,3,2,"ng-container",9),L());a&2&&(a=b.$implicit,B(1),F("ngIf","submenu"===a.type),B(1),F("ngIf",
"submenu"!==a.type))},MDa=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}},NDa=function(a,b,c){var d=a.bottom,e=a.left,g=a.right;return c>=a.top&&c<=d&&b>=e&&b<=g},Mn=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},ODa=function(a,b,c){var d=a.right,e=a.bottom,g=a.left,h=.05*a.width,m=.05*a.height;return c>a.top-m&&c<e+m&&b>g-h&&b<d+h},SDa=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");"canvas"===d?PDa(a,b):("input"===d||"select"===d||"textarea"===d)&&QDa(a,b);RDa("canvas",a,b,PDa);RDa("input, textarea, select",a,b,QDa);return b},RDa=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])},QDa=function(a,b){"file"!==b.type&&(b.value=a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+
"-"+TDa++)},PDa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},UDa=function(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];if(e){var g=void 0;a.setProperty(d,e,(null==(g=c)?0:g.has(d))?"important":"")}else a.removeProperty(d)}},Nn=function(a,b){var c=b?"":"none";UDa(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})},
WDa=function(a,b){UDa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},VDa)},XDa=function(a,b){return b&&"none"!=b?a+" "+b:a},YDa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;return parseFloat(a)*b},$Da=function(a){a=getComputedStyle(a);var b=ZDa(a,"transition-property"),c=b.find(function(d){return"transform"===d||"all"===d});if(!c)return 0;b=b.indexOf(c);c=ZDa(a,"transition-duration");a=ZDa(a,"transition-delay");return YDa(c[b])+YDa(a[b])},ZDa=function(a,
b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},aEa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},On=function(a){return"t"===a.type[0]},bEa=function(a,b){a=a.rootNodes;if(1===a.length&&a[0].nodeType===b.ELEMENT_NODE)return a[0];var c=b.createElement("div");a.forEach(function(d){return c.appendChild(d)});return c},cEa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=aEa(b.left,b.top)},Pn=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}},dEa=function(a,b){var c=a.top,d=a.bottom;a=.05*a.height;return b>=c-a&&b<=c+a?1:b>=d-a&&b<=d+a?2:0},eEa=function(a,b){var c=a.left,d=a.right;a=.05*a.width;return b>=c-a&&b<=c+a?1:b>=d-a&&b<=d+a?2:0},fEa=function(a){var b=function(){var c=a.apply(this,[].concat(ad(Wc.apply(0,arguments))))||this;c._sticky=!1;c._hasStickyChanged=!1;return c};U(b,a);b.prototype.hasStickyChanged=
function(){var c=this._hasStickyChanged;this._hasStickyChanged=!1;return c};b.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};wh.Object.defineProperties(b.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(c){var d=this._sticky;this._sticky=Gg(c);this._hasStickyChanged=d!==this._sticky}}});return b},gEa=function(a,b){return a.concat(Array.from(b))},hEa=function(a){a&1&&(H(0,"th",22),R(1," Id "),I())},iEa=function(a,b){a&1&&(H(0,"td",
23),R(1),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.issueId," "))},jEa=function(a){a&1&&(H(0,"th",22),R(1," Priority "),I())},kEa=function(a,b){a&1&&(H(0,"td",23),J(1,"b-issue-priority-display",24),I());a&2&&(a=b.$implicit,B(1),F("issuePriority",a.snapshot[0].priority))},lEa=function(a){a&1&&(H(0,"th",22),R(1," Title "),I())},mEa=function(a,b){a&1&&(H(0,"td",23),J(1,"b-issue-title-cell",25),I());a&2&&(a=b.$implicit,B(1),F("issue",a))},nEa=function(a){a&1&&(H(0,"th",22),R(1," Type "),I())},oEa=function(a,
b){a&1&&(H(0,"td",23),J(1,"b-issue-type-cell",26),I());a&2&&(a=b.$implicit,B(1),F("issue",a))},pEa=function(a){a&1&&(H(0,"th",22),R(1," Status "),I())},qEa=function(a,b){a&1&&(H(0,"td",23),J(1,"b-issue-status-cell",26),I());a&2&&(a=b.$implicit,B(1),F("issue",a))},rEa=function(a){a&1&&(H(0,"th",22),R(1," Team "),I())},sEa=function(a,b){a&1&&(H(0,"td",23),J(1,"b-issue-team-cell",26),I());a&2&&(a=b.$implicit,B(1),F("issue",a))},tEa=function(a){a&1&&(H(0,"th",27),R(1),I());a&2&&(a=O(2),B(1),Mf(" ","avatar-in-progress"===
a.assigneeMode?"":"Assignee"," "))},uEa=function(a){a&1&&(K(0),H(1,"b-person-hovercard",31),R(2),I(),L());if(a&2){a=O(2).$implicit;var b=O(2);B(1);F("email",b.getAssigneeString(a));B(1);Mf(" ",b.ldapOnly(b.getAssigneeString(a))," ")}},vEa=function(a){a&1&&(K(0),P(1,uEa,3,2,"ng-container",0),L());a&2&&(a=O().$implicit,B(1),F("ngIf",a))},wEa=function(a,b){a&1&&J(0,"b-user-image",31);a&2&&F("email",b.$implicit)},xEa=function(a){a&1&&(K(0),P(1,wEa,1,1,"b-user-image",32),L());if(a&2){a=O(2).$implicit;
var b=O(2);B(1);F("ngIf",b.getAssigneeString(a))}},yEa=function(a){a&1&&(K(0),P(1,xEa,2,1,"ng-container",0),L());a&2&&(a=O().$implicit,B(1),F("ngIf",a))},zEa=function(a,b){a&1&&J(0,"b-user-image",31);a&2&&F("email",b.$implicit)},AEa=function(a){a&1&&(K(0),P(1,zEa,1,1,"b-user-image",32),L());if(a&2){a=O(3).$implicit;var b=O(2);B(1);F("ngIf",b.getAssigneeString(a))}},BEa=function(a){a&1&&(K(0),P(1,AEa,2,1,"ng-container",0),L());if(a&2){a=O(2).$implicit;var b=O(2);B(1);F("ngIf",b.isInProgress(a))}},
CEa=function(a){a&1&&(K(0),P(1,BEa,2,1,"ng-container",0),L());a&2&&(a=O().$implicit,B(1),F("ngIf",a))},DEa=function(a){a&1&&J(0,"b-issue-assignee-cell",26);a&2&&(a=O().$implicit,F("issue",a))},EEa=function(a){a&1&&(H(0,"td",23),K(1,28),P(2,vEa,2,1,"ng-container",29),P(3,yEa,2,1,"ng-container",29),P(4,CEa,2,1,"ng-container",29),P(5,DEa,1,1,"b-issue-assignee-cell",30),L(),I());a&2&&(a=O(2),B(1),F("ngSwitch",a.assigneeMode),B(1),F("ngSwitchCase","short"),B(1),F("ngSwitchCase","avatar"),B(1),F("ngSwitchCase",
"avatar-in-progress"))},FEa=function(a){a&1&&(H(0,"th",33),R(1," Reporter "),I())},GEa=function(a,b){a&1&&(H(0,"td",23),J(1,"b-issue-reporter-cell",26),I());a&2&&(a=b.$implicit,B(1),F("issue",a))},HEa=function(a){a&1&&(H(0,"th",34),R(1," Created "),I())},IEa=function(a,b){a&1&&(H(0,"td",23),J(1,"b-issue-created-time-cell",26),I());a&2&&(a=b.$implicit,B(1),F("issue",a))},JEa=function(a){a&1&&(H(0,"th",35),R(1," Last Modified "),I())},KEa=function(a){a&1&&J(0,"b-formatted-date-time",38);a&2&&(a=O().$implicit,
F("timestamp",a.aggregatedData.modifiedTimeMicros/1E3))},LEa=function(a){a&1&&R(0,"--")},MEa=function(a,b){a&1&&(H(0,"td",23),P(1,KEa,1,1,"b-formatted-date-time",36),P(2,LEa,1,0,"ng-template",null,37,hg),I());if(a&2){a=b.$implicit;var c=Lf(3);B(1);F("ngIf",a.aggregatedData.modifiedTimeMicros)("ngIfElse",c)}},NEa=function(a){a&1&&J(0,"th",22)},OEa=function(a,b){a&1&&(H(0,"td",23)(1,"b-actions-menu",39),M("click",function(c){return c.stopPropagation()}),I()());a&2&&(a=b.$implicit,b=O(2),B(1),F("menuItems",
b.getMenuItems(a)))},PEa=function(a){a&1&&(H(0,"th",43),R(1),I());if(a&2){a=O(2).$implicit;var b=O(2);B(1);Mf(" ",b.COLUMN_TITLES.get(a)," ")}},QEa=function(a){a&1&&Df(0)},SEa=function(a,b){a&1&&(H(0,"td",23),P(1,QEa,1,0,"ng-container",44),I());a&2&&(a=b.$implicit,b=O().ngIf,B(1),F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(2,REa,a)))},TEa=function(a){a&1&&(K(0,41),P(1,PEa,2,1,"th",42),P(2,SEa,2,4,"td",4),L());a&2&&(a=O().$implicit,Jf("matColumnDef",a))},UEa=function(a,b){a&1&&(K(0),P(1,TEa,
3,1,"ng-container",40),L());a&2&&(a=b.$implicit,b=O(2),B(1),F("ngIf",b.getViewCellTemplate(a)))},VEa=function(a){a&1&&J(0,"tr",45)},WEa=function(a){a&1&&J(0,"issue-card-compact",26);a&2&&(a=O().$implicit,F("issue",a))},XEa=function(a,b){if(a&1){var c=w();H(0,"tr",46);M("click",function(d){var e=x(c).$implicit,g=O(2);return z(g.navigateToIssue(d,e))})("mouseup",function(d){var e=x(c).$implicit,g=O(2);return z(g.navigateToIssue(d,e))});P(1,WEa,1,1,"issue-card-compact",47);I()}a&2&&(a=b.$implicit,b=
O(2),yf("highlighted",!!b.getUserInvolvement(a)))},ZEa=function(a,b){a&1&&(K(0),H(1,"table",1),K(2,2),P(3,hEa,2,0,"th",3),P(4,iEa,2,1,"td",4),L(),K(5,5),P(6,jEa,2,0,"th",3),P(7,kEa,2,1,"td",4),L(),K(8,6),P(9,lEa,2,0,"th",3),P(10,mEa,2,1,"td",4),L(),K(11,7),P(12,nEa,2,0,"th",3),P(13,oEa,2,1,"td",4),L(),K(14,8),P(15,pEa,2,0,"th",3),P(16,qEa,2,1,"td",4),L(),K(17,9),P(18,rEa,2,0,"th",3),P(19,sEa,2,1,"td",4),L(),K(20,10),P(21,tEa,2,1,"th",11),P(22,EEa,6,4,"td",4),L(),K(23,12),P(24,FEa,2,0,"th",13),P(25,
GEa,2,1,"td",4),L(),K(26,14),P(27,HEa,2,0,"th",15),P(28,IEa,2,1,"td",4),L(),K(29,16),P(30,JEa,2,0,"th",17),P(31,MEa,4,2,"td",4),L(),K(32,18),P(33,NEa,1,0,"th",3),P(34,OEa,2,1,"td",4),L(),P(35,UEa,2,1,"ng-container",19),P(36,VEa,1,0,"tr",20),P(37,XEa,2,2,"tr",21),I(),L());a&2&&(a=b.ngIf,b=O(),B(1),F("dataSource",b.displayedIssues$)("trackBy",b.trackByIssueLastModified)("cdkDropListConnectedTo",Rf(7,YEa))("cdkDropListData",a),B(34),F("ngForOf",b.customColumns),B(1),F("matHeaderRowDef",b.displayedColumns),
B(1),F("matRowDefColumns",b.displayedColumns))},aFa=function(a,b){b?(b=rta(b))?(1===a.nodeType&&Npa(a),a.innerHTML=Og(b)):$Ea(a):$Ea(a)},$Ea=function(a){for(;a.lastChild;)a.lastChild.remove()},bFa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},Qn=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},cFa=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},dFa=function(a){a&1&&(H(0,"div",4),Df(1,5),
I());a&2&&(a=O(),F("onedevIsHovercardReady",a.hovercardReady))},eFa=function(a,b){a&1&&(H(0,"span",9),R(1," by "),J(2,"b-user-display-name",10),I());a&2&&(a=b.ngIf,B(2),F("email",a)("hovercardEnabled",!1))},fFa=function(a,b){a&1&&(H(0,"div")(1,"span"),R(2),I(),J(3,"b-formatted-date-time",11),I());a&2&&(a=b.ngIf,b=O().ngIf,B(2),Nf(b.pending?"Created on: ":"Submitted on: "),B(1),F("timestamp",a))},gFa=function(a,b){a&1&&(K(0),J(1,"br"),R(2),L());a&2&&(a=b.$implicit,B(2),Mf("",a," "))},hFa=function(a,
b){a&1&&(K(0),H(1,"div",3)(2,"a",4),R(3," CL "),H(4,"span"),R(5),I()(),P(6,eFa,3,2,"span",5),J(7,"br")(8,"br"),P(9,fFa,4,2,"div",2),H(10,"div",6),J(11,"div",7)(12,"br"),H(13,"div"),R(14," Affected files: "),P(15,gFa,3,1,"ng-container",8),I()()(),L());a&2&&(a=b.ngIf,b=O(),B(2),F("href","http://critique.corp.google.com/"+b.changelistId,Sd),B(3),Nf(b.changelistId),B(1),F("ngIf",a.author),B(3),F("ngIf",a.timestamp),B(2),F("innerHTML",a.description,Qd),B(4),F("ngForOf",a.affectedFiles))},iFa=function(a){a&
1&&J(0,"b-changelist-card",3,4);if(a&2){var b=Lf(1);a=O();F("onedevIsHovercardReady",b.init)("changelistId",a.changelistId)}},jFa=function(a){a&1&&J(0,"b-user-display-name",2);a&2&&(a=O(),F("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},kFa=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O(),B(1),Nf(a.getDisplayString()))},lFa=function(a){a&1&&(K(0),H(1,"div",9),J(2,"b-user-display",10),R(3,
" submitted "),J(4,"b-changelist-link",11),R(5," for "),H(6,"b-issue-reference-widget",12),R(7),I(),J(8,"b-formatted-date-time",13),I(),H(9,"p",14),R(10),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("model",b.clAuthorToUser(a.event));B(2);F("changelistId",b.getClNumber(a.event));B(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);B(1);Mf("b/",a.issueId,"");B(1);F("timestamp",a.event.modifiedDate);B(2);Nf(b.clEventToClDescription(a.event))}},mFa=function(a){a&1&&(K(0),H(1,"div",
9),J(2,"b-user-display",10),R(3," commented on "),H(4,"b-issue-reference-widget",12),R(5),I(),J(6,"b-formatted-date-time",13),I(),H(7,"p",14),R(8),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("model",a.event.userPerformingActionUser);B(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);B(1);Mf("b/",a.issueId,"");B(1);F("timestamp",a.event.modifiedDate);B(2);Nf(a.event.unlinkifiedComment)}},nFa=function(a){a&1&&(K(0),H(1,"div",9),J(2,"b-user-display",10),R(3," changed priority for "),
H(4,"b-issue-reference-widget",12),R(5),I(),J(6,"b-formatted-date-time",13),I(),H(7,"p",15),R(8,"Priority changed from "),J(9,"b-issue-priority-display",16),R(10," to "),J(11,"b-issue-priority-display",16),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("model",a.event.userPerformingActionUser);B(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);B(1);Mf("b/",a.issueId,"");B(1);F("timestamp",a.event.modifiedDate);B(3);F("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,
"priority")));B(2);F("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},oFa=function(a){a&1&&(K(0),H(1,"div",9),J(2,"b-user-display",10),R(3," changed status for "),H(4,"b-issue-reference-widget",12),R(5),I(),J(6,"b-formatted-date-time",13),I(),H(7,"p",15),R(8),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("model",a.event.userPerformingActionUser);B(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);B(1);Mf("b/",a.issueId,"");B(1);F("timestamp",a.event.modifiedDate);
B(2);Of("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},pFa=function(a){a&1&&(K(0),H(1,"div",9),J(2,"b-user-display",10),R(3," created new issue "),H(4,"b-issue-reference-widget",12),R(5),I(),J(6,"b-formatted-date-time",13),I(),H(7,"p",14),R(8),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("model",a.event.userPerformingActionUser);B(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);B(1);Mf("b/",a.issueId,"");B(1);
F("timestamp",a.event.modifiedDate);B(2);Nf(""===a.event.unlinkifiedComment?"No description":a.event.unlinkifiedComment)}},qFa=function(a){a&1&&(K(0),H(1,"div",9),J(2,"b-user-display",10),R(3," fixed "),H(4,"b-issue-reference-widget",12),R(5),I(),R(6," with "),J(7,"b-changelist-link",11)(8,"b-formatted-date-time",13),I(),H(9,"p",14),R(10),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("model",b.clAuthorToUser(a.event));B(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);B(1);Mf("b/",
a.issueId,"");B(2);F("changelistId",b.getClNumber(a.event));B(1);F("timestamp",a.event.modifiedDate);B(2);Nf(b.clEventToClDescription(a.event))}},rFa=function(a){a&1&&(K(0),H(1,"div",9),J(2,"b-user-display",10),R(3),I(),L());a&2&&(a=O().$implicit,B(2),F("model",a.event.userPerformingActionUser),B(1),Mf(" updated ",a.issueId," "))},sFa=function(a,b){a&1&&(H(0,"div",4)(1,"div"),J(2,"b-user-image",5),I(),H(3,"div"),K(4,6),P(5,lFa,11,7,"ng-container",7),P(6,mFa,9,6,"ng-container",7),P(7,nFa,12,7,"ng-container",
7),P(8,oFa,9,7,"ng-container",7),P(9,pFa,9,6,"ng-container",7),P(10,qFa,11,7,"ng-container",7),P(11,rFa,4,2,"ng-container",8),L(),I()());a&2&&(a=b.$implicit,b=b.last,O(2),yf("margin-xs-bottom",!b),B(2),F("email","changelist"===a.eventType||"changelistFixed"===a.eventType?Tl(a.event)+"@google.com":ti(a.event.userPerformingActionUser)),B(2),F("ngSwitch",a.eventType),B(1),F("ngSwitchCase","changelist"),B(1),F("ngSwitchCase","comment"),B(1),F("ngSwitchCase","priority"),B(1),F("ngSwitchCase","status"),
B(1),F("ngSwitchCase","newIssue"),B(1),F("ngSwitchCase","changelistFixed"))},tFa=function(a,b){a&1&&(K(0),H(1,"p",1),R(2),I(),H(3,"div",2),P(4,sFa,12,10,"div",3),I(),L());a&2&&(a=b.ngIf,b=O(),B(2),Nf(b.title),B(2),F("ngForOf",a)("ngForTrackBy",b.trackByEventModifiedTime))},vFa=function(a){if(a&1){var b=w();K(0);H(1,"button",17);M("click",function(){x(b);var c=O();c.numEventsDisplayed+=3;return z()});R(2);I();L()}a&2&&(a=O(),B(2),Mf("Show ",uFa(a)," more "))},wFa=function(a){a&1&&(pd(),H(0,"svg",11),
J(1,"circle",12),I());a&2&&(a=O(),pf("viewBox",a._viewBox()),B(1),xf("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),pf("r",a._circleRadius()))},xFa=function(){return{diameter:100}},yFa=function(a){a&1&&(pd(),J(0,"circle",4));if(a&2){a=O();var b=Lf(1);xf("animation-name","mat-progress-spinner-stroke-rotate-"+a._spinnerAnimationLabel)("stroke-dashoffset",a._getStrokeDashOffset(),"px")("stroke-dasharray",
a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));pf("r",a._getCircleRadius())}},zFa=function(a){a&1&&(pd(),J(0,"circle",4));if(a&2){a=O();var b=Lf(1);xf("stroke-dashoffset",a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));pf("r",a._getCircleRadius())}},AFa=function(a){a&1&&J(0,"mat-spinner",
2);a&2&&(a=O(),F("diameter",36),pf("aria-label",a.ariaLabel))},BFa=function(a){a&1&&J(0,"mat-spinner",3);a&2&&(a=O(),F("diameter",16)("strokeWidth",2),pf("aria-label",a.ariaLabel))},CFa=function(a){a&1&&(H(0,"div",29),J(1,"img",30),R(2,"\u00a0 "),H(3,"a",31),R(4),I()());if(a&2){a=O().ngIf;var b=O(3);B(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Sd);B(1);Mf("",a.clIds.length+a.pendingChangeLists.length," CLs")}},DFa=function(a,b){a&1&&J(0,"b-user-image",32);a&2&&F("email",b.$implicit)},
EFa=function(a,b){a&1&&(H(0,"div",23)(1,"div",24),P(2,CFa,5,2,"div",25),I(),P(3,DFa,1,1,"b-user-image",26),S(4,"slice"),H(5,"button",27),J(6,"mat-icon",28),I()());if(a&2){a=b.ngIf;O(2);var c=Lf(17);B(2);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);B(1);F("ngForOf",Wf(4,3,a.contributors,0,10));B(2);F("matMenuTriggerFor",c)}},FFa=function(a){a&1&&(K(0),P(1,EFa,7,7,"div",22),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.projectData$)))},GFa=function(a,b){a&1&&(H(0,"div",36),J(1,"div",
37),R(2),S(3,"number"),I());if(a&2){a=b.$implicit;b=O().$implicit;var c=O(3);Kf("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");B(1);pf("style",c.makePie(a/100),Aga);B(1);Mf(" ",Vf(3,4,a,"1.0-0"),"% Complete ")}},IFa=function(a){a&1&&(H(0,"a",31),R(1),I());if(a&2){a=O(2).$implicit;var b=O(3);F("href",b.makeCritiqueUrl(Rf(2,HFa),a.pendingChangeLists),Sd);B(1);Mf("(",a.pendingChangeLists.length," pending)")}},JFa=function(a){a&1&&(H(0,"div",29),J(1,"img",30),R(2,"\u00a0 "),
H(3,"a",31),R(4),I(),R(5," \u00a0 "),P(6,IFa,2,3,"a",38),I());if(a&2){a=O().$implicit;var b=O(3);B(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Sd);B(1);Mf("",a.clIds.length+a.pendingChangeLists.length," CLs");B(2);F("ngIf",0<a.pendingChangeLists.length)}},KFa=function(a,b){a&1&&(H(0,"div",34),P(1,GFa,4,7,"div",35),P(2,JFa,7,3,"div",25),I());a&2&&(a=b.$implicit,B(1),F("ngIf",(a.totalCount-a.openCount)/a.totalCount*100),B(1),F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},
LFa=function(a){a&1&&(K(0),P(1,KFa,3,2,"div",33),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.projectData$)))},MFa=function(a,b){a&1&&(K(0),J(1,"flat-issues-table",42),L());a&2&&(a=b.ngIf,b=O(3),B(1),F("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},NFa=function(a){a&1&&(H(0,"div",39),P(1,MFa,2,3,"ng-container",11),S(2,"slice"),S(3,"async"),H(4,"div",40)(5,"a",41),R(6,"View all issues"),I()()());if(a&2){a=O().ngIf;var b=O();B(1);F("ngIf",Wf(2,2,
T(3,6,b.hotlistIssueIds$),0,10));B(4);If("href","/hotlists/",a.hotlistId,"",Sd)}},OFa=function(a){a&1&&(K(0),J(1,"activity-stream",45),S(2,"async"),L());a&2&&(a=O(3),B(1),F("activityEvents",T(2,1,a.hotlistActivityEvents$)))},PFa=function(a){a&1&&J(0,"b-spinner")},QFa=function(a){a&1&&(H(0,"footer"),J(1,"hr"),P(2,OFa,3,3,"ng-container",43),S(3,"async"),P(4,PFa,1,0,"ng-template",null,44,hg),I());if(a&2){var b=Lf(5);a=O(2);B(2);F("ngIf",T(3,2,a.hotlistActivityEvents$))("ngIfElse",b)}},RFa=function(a,
b){if(a&1){var c=w();H(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);M("click",function(){var d=x(c).ngIf,e=O();return z(Rn(e.hackyPrefs,"hotlist-"+d.hotlistId))});R(5,"Add");I()()();H(6,"div",6)(7,"span",7)(8,"a",8);R(9);I();H(10,"button",9);M("click",function(){var d=x(c).ngIf,e=O();return z(e.hackyPrefs.toggleCollapsed("hotlist-"+d.hotlistId))});J(11,"mat-icon",10);I()()();P(12,FFa,3,3,"ng-container",11);I();P(13,LFa,3,3,"ng-container",11);P(14,NFa,7,8,"div",12);P(15,QFa,6,4,"footer",
11);H(16,"mat-menu",null,13)(18,"button",14);M("click",function(){var d=x(c).ngIf,e=O();return z(e.reorder(d.hotlistId,-1))});J(19,"mat-icon",15);H(20,"span",16);R(21,"Move up");I()();H(22,"button",14);M("click",function(){var d=x(c).ngIf,e=O();return z(e.reorder(d.hotlistId,1))});J(23,"mat-icon",17);H(24,"span",16);R(25,"Move down");I()();J(26,"mat-divider");H(27,"button",18);M("click",function(){var d=x(c).ngIf,e=O();return z(e.removeHotlist(d.hotlistId))});J(28,"mat-icon",19);H(29,"span",16);R(30,
"Remove from My Projects");I()();H(31,"a",20);J(32,"mat-icon",21);H(33,"span",16);R(34,"View Hotlist");I()()()()}a&2&&(a=b.ngIf,b=O(),yf("collapsed",b.isCollapsed(a))("never-collapse-mode",b.neverCollapse)("add-mode",b.addMode),B(8),If("href","/hotlists/",a.hotlistId,"",Sd),B(1),Mf(" ",a.name," "),B(3),F("ngIf",!b.addMode),B(1),F("ngIf",!b.isCollapsed(a)),B(1),F("ngIf",!b.isCollapsed(a)),B(1),F("ngIf",!b.isCollapsed(a)),B(3),F("disabled",!b.canMove(a.hotlistId,-1)),B(4),F("disabled",!b.canMove(a.hotlistId,
1)),B(9),If("href","/hotlists/",a.hotlistId,"",Sd))},SFa=function(a,b){a&1&&(K(0),J(1,"hotlist-as-project-card",9),L());a&2&&(a=b.$implicit,B(1),F("hotlistId",a)("addMode",!0))},TFa=function(a){a&1&&(H(0,"p",3),R(1,"No hotlists found."),I())},UFa=function(a){if(a&1){var b=w();H(0,"button",10);M("click",function(){x(b);var c=O(2);return z(c.suggestionCount=2*c.suggestionCount)});R(1," Show more ");I()}},VFa=function(a,b){a&1&&(K(0),H(1,"div",2)(2,"p",3)(3,"a",4),J(4,"mat-icon",5),I(),R(5," Hotlists from your recent issues. "),
I(),P(6,SFa,2,2,"ng-container",6),S(7,"slice"),P(8,TFa,2,0,"p",7),P(9,UFa,2,0,"button",8),I(),L());a&2&&(a=b.ngIf,b=O(),B(6),F("ngForOf",Wf(7,3,a,b.skipFirstSuggestion?1:0,b.suggestionCount)),B(2),F("ngIf",0===a.length),B(1),F("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},WFa=function(a){a&1&&(H(0,"p",3),J(1,"b-spinner"),R(2," Loading Hotlist suggestions... "),I())},XFa=function(){return Wc.apply(0,arguments).filter(Boolean).join(" AND ")},Sn=function(a,b,c){c=void 0===c?!1:c;if(!b)return"";
Array.isArray(b)||(b=[b]);b=b.filter(Ei);return 0===b.length?"":a+":("+b.join("|")+")"+(c?"+":"")},YFa=function(a){return a instanceof Tn?a:new Tn(a,{})},Un=function(a){a=YFa(a);return new Tn(a.char,Object.assign({},a.modifiers,{shift:!0}))},ZFa=function(a){a=YFa(a);return new Tn(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},$Fa=function(){var a=Un("f");a=YFa(a);return new Tn(a.char,Object.assign({},a.modifiers,{alt:!0}))},bGa=function(a){if(a instanceof Tn){var b=aGa(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(bGa).join(" "):aGa(a)},Vn=function(){return Wc.apply(0,arguments)},aGa=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 Fh(a)}},cGa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},dGa=function(a){if(a&1){var b=w();H(0,"div",0);M("keydown",function(c){x(b);var d=O();return z(d.processKeydown(c))});Hf(1);I()}a&2&&(a=O(),zf(a.className),pf("id",a.id))},eGa=function(a){a&1&&J(0,"mat-icon",3)},
fGa=function(a){a&1&&(H(0,"span",25),R(1),I());a&2&&(a=O(3),B(1),Nf(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},gGa=function(a){a&1&&(H(0,"span",25),R(1),I());a&2&&(a=O(4),B(1),Nf(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},hGa=function(a){if(a&1){var b=w();H(0,"div",11)(1,"label",12);R(2,"Issue shortlink");I();H(3,"input",26,27);M("onHotkey",function(){x(b);var d=Lf(4),e=O(3);return z(Wn(e,d))})("focus",function(){x(b);var d=Lf(4);return z(d.select())});I();P(5,gGa,2,1,"span",15);H(6,"button",28);M("onHotkey",
function(){x(b);var d=Lf(4),e=O(3);return z(Wn(e,d))})("click",function(){x(b);var d=Lf(4),e=O(3);return z(Wn(e,d))});J(7,"mat-icon",17);I()()}if(a&2){var c=Lf(4);a=O(3);B(1);F("htmlFor",c.id);B(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys);pf("value",a.getAppBaseUrl().replace(/^.*?:\/\//,""));B(2);F("ngIf",a.enableHotkeys);B(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys)}},iGa=function(a){a&1&&(H(0,"span",25),R(1),I());a&2&&(a=O(3),
B(1),Nf(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},jGa=function(a){a&1&&(H(0,"span",25),R(1),I());a&2&&(a=O(3),B(1),Nf(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},kGa=function(a){a&1&&(H(0,"span",25),R(1),I());a&2&&(a=O(4),B(1),Nf(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},mGa=function(a){if(a&1){var b=w();H(0,"div",11)(1,"label",12);R(2,"Issue email");I();H(3,"input",29,30);M("onHotkey",function(){x(b);var d=Lf(4),e=O(3);return z(Wn(e,d))})("focus",function(){x(b);var d=Lf(4);return z(d.select())});
I();P(5,kGa,2,1,"span",15);H(6,"button",31);M("onHotkey",function(){x(b);var d=Lf(4),e=O(3);return z(Wn(e,d))})("click",function(){x(b);var d=Lf(4),e=O(3);return z(Wn(e,d))});J(7,"mat-icon",17);I()()}if(a&2){var c=Lf(4);a=O(3);B(1);F("htmlFor",c.id);B(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys);pf("value","buganizer-system"+(lGa(a.activeSession)?"":"-qa")+("+"+a.componentId+"+"+a.issueId)+"@google.com");B(2);F("ngIf",a.enableHotkeys);B(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",
a.enableHotkeys)}},nGa=function(a){a&1&&(H(0,"span",25),R(1),I());a&2&&(a=O(4),B(1),Nf(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},oGa=function(a){if(a&1){var b=w();H(0,"div",11)(1,"label",12);R(2,"TODO comment");I();H(3,"input",32,33);M("onHotkey",function(){x(b);var d=Lf(4),e=O(3);return z(Wn(e,d))})("focus",function(){x(b);var d=Lf(4);return z(d.select())});I();P(5,nGa,2,1,"span",15);H(6,"button",34);M("onHotkey",function(){x(b);var d=Lf(4),e=O(3);return z(Wn(e,d))})("click",function(){x(b);var d=Lf(4),
e=O(3);return z(Wn(e,d))});J(7,"mat-icon",17);I()()}if(a&2){var c=Lf(4);a=O(3);B(1);F("htmlFor",c.id);B(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys);pf("value","TODO("+a.getAppBaseUrl().replace(/^.*?:\/\//,"")+"): "+a.issueTitle);B(2);F("ngIf",a.enableHotkeys);B(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys)}},pGa=function(a){if(a&1){var b=w();H(0,"div",10)(1,"div",11)(2,"label",12);R(3,"Issue ID");I();H(4,"input",13,14);M("onHotkey",function(){x(b);
var g=Lf(5),h=O(2);return z(Wn(h,g))})("focus",function(){x(b);var g=Lf(5);return z(g.select())});I();P(6,fGa,2,1,"span",15);H(7,"button",16);M("onHotkey",function(){x(b);var g=Lf(5),h=O(2);return z(Wn(h,g))})("click",function(){x(b);var g=Lf(5),h=O(2);return z(Wn(h,g))});J(8,"mat-icon",17);I()();P(9,hGa,8,7,"div",18);H(10,"div",11)(11,"label",12);R(12,"Issue URL");I();H(13,"input",19,20);M("onHotkey",function(){x(b);var g=Lf(14),h=O(2);return z(Wn(h,g))})("focus",function(){x(b);var g=Lf(14);return z(g.select())});
I();P(15,iGa,2,1,"span",15);H(16,"button",21);M("onHotkey",function(){x(b);var g=Lf(14),h=O(2);return z(Wn(h,g))})("click",function(){x(b);var g=Lf(14),h=O(2);return z(Wn(h,g))});J(17,"mat-icon",17);I()();H(18,"div",11)(19,"label",12);R(20,"URL and title");I();H(21,"input",22,23);M("onHotkey",function(){x(b);var g=Lf(22),h=O(2);return z(Wn(h,g))})("focus",function(){x(b);var g=Lf(22);return z(g.select())});I();P(23,jGa,2,1,"span",15);H(24,"button",24);M("onHotkey",function(){x(b);var g=Lf(22),h=O(2);
return z(Wn(h,g))})("click",function(){x(b);var g=Lf(22),h=O(2);return z(Wn(h,g))});J(25,"mat-icon",17);I()();P(26,mGa,8,7,"div",18);P(27,oGa,8,7,"div",18);I()}if(a&2){var c=Lf(5),d=Lf(14),e=Lf(22);a=O(2);F("cdkTrapFocusAutoCapture",!0);B(2);F("htmlFor",c.id);B(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);pf("value",a.issueId);B(2);F("ngIf",a.enableHotkeys);B(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);B(2);F("ngIf",a.activeSession.isInternalSession()&&
!a.currentTracker.inTracker);B(2);F("htmlFor",d.id);B(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);pf("value",a.getIssueUrl());B(2);F("ngIf",a.enableHotkeys);B(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);B(3);F("htmlFor",e.id);B(2);F("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);pf("value",a.getAppBaseUrl(a.isExternalIssue)+" "+a.issueTitle);B(2);F("ngIf",a.enableHotkeys);B(1);F("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",
a.enableHotkeys);B(2);F("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);B(1);F("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker)}},qGa=function(a){if(a&1){var b=w();K(0);H(1,"button",4,5);M("onHotkey",function(){x(b);var d=O();d.disabled||d.trigger.open();return z()})("onedevPopupPanelTriggerOpened",function(){x(b);var d=O();return z(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){x(b);var d=O();return z(d.isOpen=!1)})("click",function(){x(b);
var d=O();d.disabled||d.trigger.open();return z()});J(3,"mat-icon",6);I();H(4,"onedev-popup-panel",7,8);P(6,pGa,28,25,"div",9);I();L()}if(a&2){var c=Lf(5);a=O();B(1);F("onedevPopupPanelTriggerFor",c)("hotkey",a.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);pf("aria-label","Show links for the issue "+a.issueId);B(5);F("ngIf",a.isOpen)}},rGa=function(a){a&1&&J(0,"b-issue-id-picker",2);a&2&&(a=O(),F("issueId",a.id)("showCopyOptions",!1))},sGa=function(a){a&1&&(K(0),J(1,"b-issue-priority-display",
3),L());a&2&&(a=O(),B(1),F("issuePriority",a.priority))},tGa=function(a){a&1&&R(0,"--")},uGa=function(a){var b=a.getName(),c,d=k(null!=(c=b.match(/components\/(\d+)\/recommendationSettings/))?c:[]);d.next();c=d.next().value;c=Ci(yi(c));if(!c)throw Error("ed`"+b);return{componentId:c,duplicateAssistanceEnabled:Vj(a,2),optedOutFromDataCollection:Vj(a,4),showSettings:Vj(a,3)}},xGa=function(a){var b=(new Xn).setParent(a.parent);a=a.userEngagement;var c=(new Yn).setType(vGa[a.type]);void 0!==a.rejectionReason&&
cj(c,3,wGa[a.rejectionReason]);return lj(b,Yn,2,c)},BGa=function(a){var b=void 0;switch(Oi(a,yGa)){case 9:b={recommendedIssue:vk(fk(a,Hj,9,yGa))}}return{name:a.getName(),source:a.getSource(),resource:a.getResource(),type:zGa[a.getType()],recommendation:V(a,5),score:a.getScore(),confidence:AGa[a.getConfidence()],createTime:Qh(W(a,Rh,8)),content:b}},CGa=function(a){return{recommendations:oj(a,Zn,1).map(BGa),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},$n=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]]}))})},ao=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,a)})},DGa=function(a){var b=function(){var c=a.apply(this,[].concat(ad(Wc.apply(0,arguments))))||this;c._fitToContent=!1;return c};U(b,a);b.prototype.ngOnInit=function(){this._createInkBarElement()};b.prototype.ngOnDestroy=function(){var c;null==(c=this._inkBarElement)||c.remove();this._inkBarElement=
this._inkBarContentElement=null};b.prototype._createInkBarElement=function(){var c=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=c.createElement("span");this._inkBarContentElement=c.createElement("span");this._inkBarElement.className="mdc-tab-indicator";this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline";this._inkBarElement.appendChild(this._inkBarContentElement);this._appendInkBarElement()};b.prototype._appendInkBarElement=
function(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}},EGa=function(){},FGa=function(){},GGa=function(a){a&1&&Hf(0)},HGa=function(){},IGa=function(a){a&1&&P(0,HGa,0,0,"ng-template",10);a&2&&(a=O().$implicit,F("cdkPortalOutlet",a.templateLabel))},JGa=function(a){a&1&&R(0);a&2&&(a=O().$implicit,Nf(a.textLabel))},KGa=function(a,b){if(a&1){var c=w();H(0,"div",6);M("click",function(){var g=x(c),h=
g.$implicit;g=g.index;var m=O(),r=Lf(1);return z(m._handleClick(h,r,g))})("cdkFocusChange",function(g){var h=x(c).index,m=O();return z(m._tabFocusChanged(g,h))});H(1,"div",7);P(2,IGa,1,1,"ng-template",8);P(3,JGa,1,1,"ng-template",null,9,hg);I()()}if(a&2){a=b.$implicit;b=b.index;var d=Lf(4),e=O();yf("mat-tab-label-active",e.selectedIndex===b);F("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("matRippleDisabled",a.disabled||e.disableRipple);pf("tabIndex",e._getTabIndex(b))("aria-posinset",
b+1)("aria-setsize",e._tabs.length)("aria-controls",e._getTabContentId(b))("aria-selected",e.selectedIndex===b)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null);B(2);F("ngIf",a.templateLabel)("ngIfElse",d)}},LGa=function(a,b){if(a&1){var c=w();H(0,"mat-tab-body",11);M("_onCentered",function(){x(c);var e=O();return z(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){x(c);var g=O();return z(g._setTabBodyWrapperHeight(e))});I()}if(a&
2){a=b.$implicit;b=b.index;var d=O();yf("mat-tab-body-active",d.selectedIndex===b);F("id",d._getTabContentId(b))("ngClass",a.bodyClass)("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);pf("tabindex",null!=d.contentTabIndex&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))}},MGa=function(a){if(!a)return{left:"0",width:"0"};if(a.classList.contains("mat-tab-link")){var b=window.getComputedStyle(a),
c=b.paddingLeft?Number(b.paddingLeft.replace("px",""))||0:0;b=b.paddingRight?Number(b.paddingRight.replace("px",""))||0:0;return{left:a.offsetLeft+c+2+"px",width:a.offsetWidth-c-b-4+"px"}}b=a.querySelector(".mat-tab-label-content");if(!b)return{left:a.offsetLeft+2+"px",width:a.offsetWidth-4+"px"};c=a.offsetWidth;b=Math.min(Math.max(b.offsetWidth-4,24),c-4);return{left:a.offsetLeft+c/2-b/2+"px",width:b+"px"}},NGa=function(a){return void 0===a||null===a?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},
OGa=function(){return{color:"accent"}},PGa=function(){},QGa=function(a){a&1&&P(0,PGa,0,0,"ng-template")},SGa=function(a){a&1&&(K(0),P(1,QGa,1,0,null,19),L());if(a&2){a=O().xapLet;var b=O(2),c=Lf(19);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Tf(2,RGa,a,b.TABS.SIMILAR_ISSUES))}},TGa=function(a){a&1&&(K(0),P(1,SGa,2,5,"ng-container",18),L());if(a&2){O();var b=Lf(1);B(1);F("ngIf",b.isActive)}},UGa=function(a){a&1&&(H(0,"mat-tab",15,16),P(2,TGa,2,1,"ng-container",17),S(3,"async"),I());a&2&&
(a=O(),B(2),F("xapLet",T(3,1,a.similarIssues$)))},VGa=function(){},WGa=function(a){a&1&&P(0,VGa,0,0,"ng-template")},XGa=function(a){a&1&&(K(0),P(1,WGa,1,0,null,19),L());if(a&2){a=O().xapLet;var b=O(2),c=Lf(19);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Tf(2,RGa,a,b.TABS.SEARCH_RESULTS))}},YGa=function(a){a&1&&(K(0),P(1,XGa,2,5,"ng-container",18),L());if(a&2){O();var b=Lf(1);B(1);F("ngIf",b.isActive)}},ZGa=function(a){a&1&&(H(0,"mat-tab",20,16),P(2,YGa,2,1,"ng-container",17),S(3,"async"),
I());a&2&&(a=O(),B(2),F("xapLet",T(3,1,a.searchResults$)))},$Ga=function(){},aHa=function(a){a&1&&P(0,$Ga,0,0,"ng-template")},bHa=function(a){a&1&&(K(0),P(1,aHa,1,0,null,19),L());if(a&2){a=O().xapLet;var b=O(2),c=Lf(19);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Tf(2,RGa,a,b.TABS.ISSUE_IDS))}},cHa=function(a){a&1&&(K(0),P(1,bHa,2,5,"ng-container",18),L());if(a&2){O();var b=Lf(1);B(1);F("ngIf",b.isActive)}},dHa=function(a){a&1&&(H(0,"mat-tab",21,16),P(2,cHa,2,1,"ng-container",17),S(3,"async"),
I());a&2&&(a=O(),B(2),F("xapLet",T(3,1,a.issuesWithIdMatches$)))},eHa=function(a){a&1&&(H(0,"th",43)(1,"span",44),R(2,"Selection"),I()())},fHa=function(a,b){a&1&&(H(0,"td",45),J(1,"mat-radio-button",46),S(2,"async"),I());a&2&&(a=b.$implicit,b=O(3),B(1),F("checked",T(2,3,bo(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},gHa=function(a){a&1&&(H(0,"th",43),R(1," Title "),I())},hHa=function(a,b){a&1&&(H(0,"td",45),J(1,"b-issue-title-cell",47),I());a&2&&(a=b.$implicit,
b=O(3),B(1),F("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0))},iHa=function(a){a&1&&(H(0,"th",43),R(1," Id "),I())},jHa=function(a,b){a&1&&(H(0,"td",45),J(1,"b-issue-id-cell",48),I());a&2&&(a=b.$implicit,B(1),F("id",a.issueId))},kHa=function(a){a&1&&(H(0,"th",43),R(1," Priority "),I())},lHa=function(a,b){a&1&&(H(0,"td",45),J(1,"b-issue-priority-cell",49),I());a&2&&(a=b.$implicit,B(1),F("issue",a))},mHa=function(a){a&1&&(H(0,"th",50),R(1," Status "),I())},nHa=function(a,
b){a&1&&(H(0,"td",45),J(1,"b-issue-status-cell",49),I());a&2&&(a=b.$implicit,B(1),F("issue",a))},oHa=function(a){a&1&&(H(0,"th",43),R(1," Dupes "),I())},pHa=function(a,b){a&1&&(H(0,"td",51),R(1),I());if(a&2){a=b.$implicit;var c;B(1);Mf(" ",null!==(c=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&void 0!==c?c:0," ")}},qHa=function(a){a&1&&(H(0,"th",52)(1,"span",44),R(2,"Votes"),I(),J(3,"mat-icon",53),I())},rHa=function(a,b){a&1&&(H(0,"td",51),R(1),I());a&2&&(a=b.$implicit,
B(1),Mf(" ",a.aggregatedData.voteCount," "))},sHa=function(a){a&1&&(H(0,"th",54),R(1," Created "),I())},tHa=function(a,b){a&1&&(H(0,"td",45),J(1,"b-issue-created-time-cell",55),I());a&2&&(a=b.$implicit,B(1),F("issue",a))},uHa=function(a){a&1&&J(0,"tr",56)},vHa=function(a,b){if(a&1){var c=w();H(0,"tr",57);M("keydown",function(d){var e=x(c),g=e.index;e=e.$implicit;var h=O(3);return z(h.onRowKeydown(g,e,d))})("keydown.enter",function(){var d=x(c).$implicit,e=O(2).tab,g=O();return z(g.selectIssue(d.issueId,
e))})("focusin",function(){var d=x(c).$implicit,e=O(3);return z(co(e.focusManager,d))})("click",function(){var d=x(c),e=d.$implicit;d=d.index;var g=O(2).tab,h=O();h.selectIssue(e.issueId,g);return z(h.focusManager.setActiveItem(d))});I()}a&2&&F("row",b.$implicit)},xHa=function(a){if(a&1){var b=w();H(0,"table",25);M("contentChanged",function(){x(b);var d=O().issues,e=O();return z(wHa(e,d))});K(1,26);P(2,eHa,3,0,"th",27);H(3,"mat-radio-group",28);M("change",function(d){x(b);var e=O().tab,g=O();return z(g.selectIssue(d.value,
e))});P(4,fHa,3,5,"td",29);I();L();K(5,30);P(6,gHa,2,0,"th",27);P(7,hHa,2,3,"td",29);L();K(8,31);P(9,iHa,2,0,"th",27);P(10,jHa,2,1,"td",29);L();K(11,32);P(12,kHa,2,0,"th",27);P(13,lHa,2,1,"td",29);L();K(14,33);P(15,mHa,2,0,"th",34);P(16,nHa,2,1,"td",29);L();K(17,35);P(18,oHa,2,0,"th",27);P(19,pHa,2,1,"td",36);L();K(20,37);P(21,qHa,4,0,"th",38);P(22,rHa,2,1,"td",36);L();K(23,39);P(24,sHa,2,0,"th",40);P(25,tHa,2,1,"td",29);L();P(26,uHa,1,0,"tr",41);P(27,vHa,1,1,"tr",42);I()}if(a&2){a=O().issues;var c=
O();F("dataSource",a)("trackBy",c.trackByIssueId);B(26);F("matHeaderRowDef",c.tableColumns);B(1);F("matRowDefColumns",c.tableColumns)}},yHa=function(a){a&1&&(H(0,"div",58),J(1,"b-spinner",59),I())},zHa=function(a){a&1&&(H(0,"div",58)(1,"span",60),R(2,"No results found"),I()())},AHa=function(a,b){a&1&&(H(0,"div",22),P(1,xHa,28,4,"table",23),P(2,yHa,2,0,"div",24),P(3,zHa,3,0,"div",24),I());a&2&&(a=b.issues,B(1),F("ngIf",a&&a.length),B(1),F("ngIf",!a),B(1),F("ngIf",0===(null==a?null:a.length)))},BHa=
function(a){if(a&1){var b=w();H(0,"button",4);M("click",function(c){x(b);O().expansionChange.emit();c.stopPropagation();return z()});J(1,"b-icon",5);I()}a&2&&(a=O(),yf("collapsed",!a.expanded),pf("aria-label",a.expanded?"Collapse children":"Expand children"))},CHa=function(a){a&1&&J(0,"div",6)},DHa=function(){},GHa=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=EHa?EHa:EHa=FHa(a)},HHa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},FHa=
function(a){a=void 0===a?{}:a;var b;return ne(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):c.yield(IHa(eo(fo("https://apis.google.com/js/api.js")),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("fd");return b.client&&b.client.load?c.jumpTo(3):c.yield(HHa(),3)}return c.return(b)})},JHa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},LHa=function(a,b){b=void 0===b?0:b;var c=a.auth2.getAuthInstance().currentUser.get(),d=c.getAuthResponse(!0);
if(d&&d.expires_at-Date.now()<b){if(KHa.has(a))return KHa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){KHa.delete(a)});KHa.set(a,b);return b}return Promise.resolve()},MHa=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:null!=(c=b.fetchBasicProfile)?c:!0})},NHa=function(a){if(a&1){var b=w();H(0,"div",5);M("clickOutside",function(){x(b);var c=O();return z(c.hide())});
H(1,"div",6);R(2," Relative link may be malformed:\u00a0 ");H(3,"code");R(4);I();H(5,"button",7);M("click",function(){x(b);var c=O();return z(c.copyToClipboard())});J(6,"mat-icon",8);I()();H(7,"div",6);R(8," Force open as: \u00a0 ");H(9,"a",9);M("click",function(c){x(b);var d=O();cFa(c)||(c.preventDefault(),c.stopPropagation(),go(d.domSafe,"http://"+d.originalHref));return z()});R(10);I()()()}a&2&&(a=O(),B(4),Nf(a.originalHref),B(5),If("href","http://",a.originalHref,"",Sd),B(1),Mf(" http://",a.originalHref,
" "))},OHa=function(){return{color:"accent",clickAction:"check-indeterminate"}},PHa=function(a){a&1&&(H(0,"b-glue"),J(1,"mat-icon",5),I())},THa=function(a){if(a&1){var b=w();H(0,"div",6);M("clickOutside",function(){x(b);var c=O();return z(c.hide())});H(1,"span",7)(2,"a",8);M("click",function(c){x(b);var d=O();return z(QHa(d,c))})("keydown",function(c){x(b);var d=O();return z(RHa(d,c))});R(3);I()();H(4,"button",9);M("keydown.Tab",function(c){x(b);var d=O();return z(SHa(d,c))})("click",function(){x(b);
var c=O();return z(c.copyToClipboard())});J(5,"mat-icon",10);I()()}a&2&&(a=O(),B(2),F("href",a.originalHref,Sd)("rel",a.EXTERNAL_LINK_REL),B(1),Nf(a.originalHref))},UHa=function(a){a&1&&(K(0),J(1,"img",3),S(2,"async"),L());if(a&2){a=O(2);var b;B(1);F("src",T(2,2,a.srcRedirected$),Sd);pf("alt",null!==(b=a.alt)&&void 0!==b?b:"user provided image")}},VHa=function(a){a&1&&(K(0),P(1,UHa,3,4,"ng-container",0),S(2,"async"),L());if(a&2){a=O();var b=Lf(3);B(1);F("ngIf",T(2,2,a.showImage$))("ngIfElse",b)}},
WHa=function(a){if(a&1){var b=w();H(0,"a",4);M("click",function(c){x(b);var d=O();return z(d.trigger(c))})("keydown.enter",function(c){x(b);var d=O();return z(d.trigger(c))});S(1,"async");S(2,"async");H(3,"b-glue");J(4,"mat-icon",5);I();K(5);R(6);S(7,"async");L();I()}a&2&&(a=O(),F("href",T(1,3,a.src$),Sd)("title",T(2,5,a.src$)),B(6),Nf(T(7,7,a.srcTruncated$)))},XHa=function(a){a&1&&(J(0,"mat-icon",6),S(1,"async"));a&2&&(a=O(),If("matTooltip","Unable to load image ",T(1,1,a.srcTruncated$),""))},YHa=
function(a){a&1&&(K(0),J(1,"br"),H(2,"a",4),J(3,"b-secure-image-widget",5),I(),J(4,"br"),L());if(a&2){a=O().ngIf;var b=O();B(2);F("href",a,Sd)("rel",b.EXTERNAL_LINK_REL);B(1);F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},ZHa=function(a){a&1&&J(0,"b-secure-image-widget",6);if(a&2){a=O().ngIf;var b=O();F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},$Ha=function(a){a&1&&(K(0)(1,1),S(2,"async"),P(3,YHa,5,5,"ng-container",2),P(4,ZHa,1,3,"b-secure-image-widget",
3),L()());a&2&&(a=O(),B(1),F("ngSwitch",T(2,3,a.displayMode$)),B(2),F("ngSwitchCase",a.DisplayMode.SHOW),B(1),F("ngSwitchCase",a.DisplayMode.COLLAPSE))},aIa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},bIa=function(a,b){a&1&&(K(0),J(1,"b-plain-format-section",2),L());a&2&&(a=b.$implicit,B(1),F("section",a))},cIa=function(a){a&1&&J(0,"b-plain-format-quoted-section",1);a&2&&(a=O(),F("section",a.section))},dIa=function(a){a&1&&J(0,"b-plain-format-unquoted-section",1);a&2&&(a=O(),F("section",
a.section))},fIa=function(a){if(a&1){var b=w();H(0,"a",4);M("click",function(){x(b);var c=O();c.showQuote=!0;eIa(c);return z()});R(1," - Show quoted text - ");I()}a&2&&(a=O(),pf("aria-controls",a.childId))},gIa=function(a){if(a&1){var b=w();H(0,"a",5);M("click",function(){x(b);var c=O();c.showQuote=!1;eIa(c);return z()});R(1," - Hide quoted text - ");I()}a&2&&(a=O(),pf("aria-controls",a.childId))},hIa=function(a,b){a&1&&(K(0),J(1,"b-literal-format-presenter",1),L());a&2&&(a=b.ngIf,B(1),F("content",
a))},iIa=function(a,b){a&1&&(K(0),J(1,"b-markdown-format-presenter",1),L());a&2&&(a=b.ngIf,B(1),F("content",a))},jIa=function(a,b){a&1&&(K(0),J(1,"b-plain-format-presenter",1),L());a&2&&(a=b.ngIf,B(1),F("content",a))},kIa=function(a){switch(a.formattingMode){case "LITERAL":return(0,E.of)({literalFormat:{content:qta(Ng(a.comment))}});case "MARKDOWN":return a={markdownFormat:{content:qta(Ng(""))}},(0,E.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,
content:qta(Ng(a.comment))}]}},(0,E.of)(a);default:return Fh(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},lIa=function(a,b){a&1&&(K(0),H(1,"div",1),J(2,"b-formatted-comment-presenter",2),I(),L());a&2&&(a=b.$implicit,b=O(),B(1),yf("invisible",""===(b.comment||"").trim())("error",a.isFallback),B(1),F("formattedComment",a.formattedComment))},mIa=function(a){a&1&&(H(0,"a",2),J(1,"mat-icon",3),I());a&2&&(a=O(),F("href",a.mdHelpLink,Sd)("disableRipple",!0))},nIa=function(a){a&1&&J(0,
"b-formatted-comment-presenter",4);a&2&&(a=O(),F("formattedComment",a.note.formattedComment))},oIa=function(a){a&1&&J(0,"b-live-preview",5);a&2&&(a=O(),F("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},pIa=function(a,b){if(a&1){var c=w();H(0,"a",8);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.clickSegment.emit(d.name||d.path))});R(1);I()}a&2&&(a=b.$implicit,
F("href",a.path,Sd),B(1),Mf(" ",a.name||a.path," "))},qIa=function(a){a&1&&(K(0),H(1,"button",4),J(2,"mat-icon",5),I(),H(3,"mat-menu",null,6),P(5,pIa,2,2,"a",7),I(),L());if(a&2){var b=Lf(4);a=O();B(1);F("matMenuTriggerFor",b);B(4);F("ngForOf",a.segments)}},rIa=function(a){if(a&1){var b=w();H(0,"button",4);M("click",function(){x(b);var c=O();return z(c.toggle())});J(1,"mat-icon",5);I()}a&2&&(a=O(),yf("isClosed",a.isClosed),F("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),pf("aria-label",
a.toggleButtonLabel),B(1),F("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},sIa=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},tIa=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},uIa=function(a,b,c,d){var e=(d=void 0===d?!1:d)?function(g){return c.partially(g)}:function(g){return c.fully(g)};return(new E.Observable(function(g){g.next(e(a));var h=b(function(m){g.next(m[0].isIntersecting)},d?{threshold:0}:{threshold:1});
h.observe(a);return function(){h.unobserve(a)}})).pipe(Ne())},vIa=function(a,b,c){var d=(void 0===c?0:c)?function(e){return b.partially(e)}:function(e){return b.fully(e)};return(0,E.merge)((0,E.of)(void 0),(0,E.fromEvent)(window,"scroll").pipe(Ke(500))).pipe(D(function(){return d(a)}),Ne())},wIa=function(a){a&1&&(H(0,"span",8),R(1),I());a&2&&(a=O(),B(1),Nf(a.placeholder))},xIa=function(a){a&1&&(H(0,"span",12),R(1),I());a&2&&(a=O(2),B(1),Nf(a.triggerValue))},yIa=function(a){a&1&&Hf(0,0,["*ngSwitchCase",
"true"])},zIa=function(a){a&1&&(H(0,"span",9),P(1,xIa,2,1,"span",10),P(2,yIa,1,0,"ng-content",11),I());a&2&&(a=O(),F("ngSwitch",!!a.customTrigger),B(2),F("ngSwitchCase",!0))},AIa=function(a){if(a&1){var b=w();H(0,"div",13)(1,"div",14,15);M("@transformPanel.done",function(c){x(b);var d=O();return z(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){x(b);var d=O();return z(d._handleKeydown(c))});Hf(3,1);I()()}a&2&&(a=O(),F("@transformPanelWrap",void 0),B(1),Bf("mat-select-panel ",
a._getPanelTheme(),""),xf("transform-origin",a._transformOrigin)("font-size",a._triggerFontSize,"px"),F("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),pf("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},BIa=function(a){a&1&&Df(0)},CIa=function(a){if(a&1){var b=w();H(0,"div",3);M("mouseenter",function(){x(b);var c=O();return z(c.toggle(!0))})("mouseleave",function(){x(b);var c=
O();return z(c.toggle(!1))})("mousemove",function(){x(b);O().activity.next();return z()});P(1,BIa,1,0,"ng-container",4);I()}a&2&&(a=O(),F("ngClass",a.bubbleStyle)("@fade",void 0),B(1),F("ngTemplateOutlet",a.panelTemplate))},DIa=function(a){a&1&&(K(0),H(1,"span",3),R(2),S(3,"toAccessLevelLabel"),I(),L());a&2&&(a=O(2),B(1),yf("xs",a.compactMode),F("ngClass",a.chipClass),B(1),Mf(" ",Vf(3,4,a.accessLevel,a.compactMode)," "))},EIa=function(a){a&1&&(H(0,"div",7),R(1),H(2,"a",8),R(3," Learn more"),I()());
a&2&&(a=O(3),B(1),Mf(" ",a.bubbleText," "),B(1),F("href",ho(a.documentationLinks),Sd))},FIa=function(a){a&1&&(H(0,"xap-bubble",4)(1,"span",5),R(2),S(3,"toAccessLevelLabel"),I(),P(4,EIa,4,2,"ng-template",null,6,hg),I());if(a&2){var b=Lf(5);a=O(2);F("panelTemplate",b);B(1);yf("xs",a.compactMode);F("ngClass",a.chipClass);B(1);Mf(" ",Vf(3,5,a.accessLevel,a.compactMode)," ")}},GIa=function(a){a&1&&(K(0),P(1,DIa,4,7,"ng-container",1),P(2,FIa,6,8,"ng-template",null,2,hg),L());if(a&2){var b=Lf(3);a=O();B(1);
F("ngIf",a.labelOnlyMode)("ngIfElse",b)}},HIa=function(a){a&1&&(K(0),R(1,"Un-"),L())},IIa=function(a){a&1&&(H(0,"span"),R(1," Assigned to "),J(2,"b-user-display",16),I());a&2&&(a=O(2).ngIf,B(2),F("model",a.assigneeUser)("hovercardEnabled",!1))},JIa=function(a){a&1&&(H(0,"span"),R(1," Accepted by "),J(2,"b-user-display",16),I());a&2&&(a=O(2).ngIf,B(2),F("model",a.assigneeUser)("hovercardEnabled",!1))},KIa=function(a){a&1&&(H(0,"span"),R(1," Duplicate of "),H(2,"a",3),R(3),I()());if(a&2){a=O(2).ngIf;
var b=O(),c;B(2);rf("aria-label","Go to issue ",a.duplicateOfIssueId,"");F("href",b.editIssue(null!==(c=a.duplicateOfIssueId)&&void 0!==c?c:void 0),Sd);B(1);Mf(" ",a.duplicateOfIssueId," ")}},LIa=function(a){a&1&&(H(0,"span"),R(1),I());if(a&2){a=O().ngIf;var b=O(2);B(1);Mf(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},MIa=function(a,b){a&1&&(K(0,13),P(1,IIa,3,2,"span",14),P(2,JIa,3,2,"span",14),P(3,KIa,4,3,"span",14),P(4,LIa,2,1,"span",15),L());a&2&&(F("ngSwitch",b.ngIf),B(1),F("ngSwitchCase","ASSIGNED"),B(1),
F("ngSwitchCase","ACCEPTED"),B(1),F("ngSwitchCase","DUPLICATE"))},NIa=function(a,b){a&1&&(K(0),J(1,"b-app-vote-button",17),L());if(a&2){a=b.ngIf;b=O().ngIf;var c=O(2),d;B(1);F("issueId",c.issueId)("voteCount",b.voteCount)("upvoted",null!==(d=a.voted)&&void 0!==d?d:!1)}},OIa=function(a){a&1&&(K(0),P(1,NIa,2,3,"ng-container",1),L());a&2&&(a=O(2),B(1),F("ngIf",a.issue.userData))},QIa=function(a){if(a&1){var b=w();K(0);H(1,"button",18);M("click",function(){x(b);var c=O(2);return z(PIa(c,c.childContextId))});
R(2," Unlink parent ");I();L()}},RIa=function(a,b){a&1&&(H(0,"li"),R(1," Last updated by "),J(2,"b-user-display",16),R(3," on: "),J(4,"b-formatted-date-time",19),I());a&2&&(a=b.ngIf,b=O().ngIf,B(2),F("model",a)("hovercardEnabled",!1),B(2),F("timestamp",b.modifiedTimeMicros/1E3))},SIa=function(a,b){a&1&&(K(0),P(1,RIa,5,3,"li",1),H(2,"li"),R(3," Reported by "),J(4,"b-user-display",16),R(5," on: "),J(6,"b-formatted-date-time",19),I(),L());a&2&&(a=b.ngIf,b=O().ngIf,B(1),F("ngIf",a.lastModifier),B(3),
F("model",b.reporterUser)("hovercardEnabled",!1),B(2),F("timestamp",a.createdTimeMicros/1E3))},TIa=function(a){a&1&&(H(0,"li",20),J(1,"b-note-container",21),I());if(a&2){a=O(2);var b;B(1);F("issueId",a.issueId)("issueAccessLevel",null==a.issue.accessLimit?null:a.issue.accessLimit.accessLevel)("formattingMode",null!==(b=a.firstEvent.formattingMode)&&void 0!==b?b:a.FormattingMode.UNSPECIFIED_FORMATTING_MODE)("note",a.getNote())}},WIa=function(a,b){if(a&1){var c=w();K(0);H(1,"div",2)(2,"h3")(3,"a",3);
R(4);I();R(5," \u00a0 ");H(6,"span",4);R(7);I()();H(8,"ul")(9,"li",5);J(10,"b-access-level-indicator",6);I();H(11,"li",7)(12,"span",8);R(13);I();R(14," \u00a0 ");P(15,MIa,5,4,"ng-container",9);I()();H(16,"div",10)(17,"b-cc-button",11);M("onCc",function(g){x(c);var h=O();h.location&&g&&h.analytics.trackEvent(h.location+"_"+io.ISSUE_CARD,"add","CC");return z()});I();P(18,OIa,2,1,"ng-container",1);P(19,QIa,3,0,"ng-container",1);I();H(20,"ul");P(21,SIa,7,4,"ng-container",1);P(22,TIa,2,4,"li",12);I()();
L()}if(a&2){a=b.ngIf;b=O();var d,e;B(3);rf("aria-label","Go to issue ",b.issueId,"");F("href",b.editIssue(b.issueId),Sd);B(1);Nf(b.issueId);B(3);Nf(a.title);B(3);F("labelOnlyMode",!0)("accessLevel",null==b.issue.accessLimit?null:b.issue.accessLimit.accessLevel);B(2);F("ngClass",b.priorityClass(a.priority));B(1);Nf(b.ISSUE_PRIORITY_TEXT_JS[null!==(d=a.priority)&&void 0!==d?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);B(2);F("ngIf",a.status);B(2);F("issueId",b.issueId)("ccState",UIa(b,null!==(e=a.ccUsers)&&
void 0!==e?e:Rf(15,VIa)));B(1);F("ngIf",b.issue.aggregatedData);B(1);F("ngIf",b.childContextId);B(2);F("ngIf",b.issue.aggregatedData);B(1);F("ngIf",b.firstEvent.unlinkifiedComment)}},XIa=function(a){a&1&&J(0,"b-user-image",5);a&2&&(a=O(),F("email",a.email))},YIa=function(a){a&1&&Df(0)},ZIa=function(a){a&1&&(K(0),H(1,"span",6),P(2,YIa,1,0,"ng-container",7),I(),H(3,"onedev-hovercard",null,8),J(5,"b-issue-person-card",9),I(),L());if(a&2){var b=Lf(4);a=O();var c=Lf(4);B(1);F("onedevHovercardTrigger",
b);B(1);F("ngTemplateOutlet",c);B(3);F("email",a.email)}},$Ia=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O(),B(1),Nf(a.email))},aJa=function(a){a&1&&(H(0,"span",10),J(1,"b-availability-chip",11),I());a&2&&(a=O(),B(1),F("user",a.email))},bJa=function(a){a&1&&J(0,"b-icon",7)},cJa=function(a){a&1&&J(0,"b-user-image",8);a&2&&(a=O(2),F("email",a.email))},dJa=function(a){a&1&&(K(0),P(1,bJa,1,0,"b-icon",5),P(2,cJa,1,1,"ng-template",null,6,hg),L());if(a&2){var b=Lf(3);a=O();B(1);F("ngIf",a.enableGroupIcon&&
a.isGroup)("ngIfElse",b)}},eJa=function(a){a&1&&J(0,"b-user-display-name",9);a&2&&(a=O(),F("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},fJa=function(a){a&1&&Df(0)},gJa=function(a){a&1&&(K(0),H(1,"span",12),P(2,fJa,1,0,"ng-container",13),I(),H(3,"onedev-hovercard",null,14),J(5,"b-issue-person-card",15),I(),L());if(a&2){var b=Lf(4);O();var c=Lf(2);a=O();B(1);F("onedevHovercardTrigger",b);B(1);F("ngTemplateOutlet",c);B(3);F("email",a.email)}},hJa=function(a){a&1&&(H(0,
"span",16),R(1),I());a&2&&(a=O(2),B(1),Nf(a.email))},iJa=function(a){a&1&&(P(0,gJa,6,3,"ng-container",10),P(1,hJa,2,1,"ng-template",null,11,hg));if(a&2){var b=Lf(2);a=O();F("ngIf",a.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},jJa=function(a){a&1&&(J(0,"mat-icon",17),S(1,"async"),S(2,"async"));if(a&2){a=O();var b,c;F("svgIcon",null!==(b=T(1,2,a.iconName$))&&void 0!==b?b:"")("matTooltip",null!==(c=T(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},kJa=function(a){a&1&&(K(0),J(1,"b-availability-chip",18),
L());a&2&&(a=O(),B(1),F("user",a.email))},lJa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}},mJa=function(a,b){a&1&&(H(0,"div",0,1),Hf(2),I());a&2&&(a=b.id,b=O(),F("id",b.id)("ngClass",b._classList),pf("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},nJa=function(a){a&1&&(H(0,"div")(1,"div",9),R(2," An issue cannot reference itself. "),I()())},oJa=function(a){a&1&&(H(0,"mat-option",10)(1,"div",
11),J(2,"b-spinner",12),I()());a&2&&(B(2),F("large",!0))},pJa=function(a){a&1&&(H(0,"mat-option",13),R(1," No issues found. "),I())},qJa=function(a){a&1&&J(0,"mat-icon",24);if(a&2){a=O().$implicit;var b=O();F("svgIcon",b.STATUS_ICON[a.status])}},rJa=function(a){a&1&&J(0,"b-issue-card",25,26);if(a&2){var b=Lf(1);a=O().$implicit;F("onedevIsHovercardReady",b.init)("issueId",a.resourceId)}},tJa=function(a,b){a&1&&(H(0,"mat-option",14)(1,"div",15),P(2,qJa,1,1,"mat-icon",16),H(3,"strong",17),R(4),I(),H(5,
"onedev-hovercard",null,18),P(7,rJa,2,2,"b-issue-card",19),I(),H(8,"a",20),M("click",function(d){return d.stopPropagation()}),J(9,"mat-icon",21),I(),H(10,"span",22),R(11),I(),J(12,"div",23),S(13,"boldPrefixMatches"),I()());if(a&2){a=b.$implicit;var c=Lf(6);b=O();F("value",a);B(1);pf("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");B(1);F("ngIf",a.status);B(1);Jf("title",a.resourceId);B(1);Mf(" ",a.resourceId," ");B(4);F("onedevHovercardTrigger",
c)("href",b.getIssueLink(a),Sd);B(3);Nf(sJa(a));B(1);Jf("title",a.displayText);F("innerHTML",Vf(13,10,a.displayText,b.query),Qd)}},uJa=function(a,b){a&1&&(H(0,"a",13),R(1),I());a&2&&(a=b.$implicit,b=b.last,If("href","issues/",a.resourceId,"",Sd),B(1),Of(" ",a.resourceId,"",b?"":","," "))},vJa=function(a){a&1&&(H(0,"div",11),P(1,uJa,2,3,"a",12),I());a&2&&(a=O(),B(1),F("ngForOf",a.selectedIssues))},wJa=function(a){a&1&&(H(0,"div",11)(1,"a",14)(2,"span",15),R(3),I(),H(4,"span"),J(5,"mat-icon",16),I()()());
a&2&&(a=O(),B(1),If("href","issues/",a.selectedIssues[0].resourceId,"",Sd),B(2),Mf(" ",a.selectedIssues[0].displayText," "))},yJa=function(a){if(a&1){var b=w();H(0,"div",17)(1,"div",18);M("click",function(){x(b);var c=O();return z(xJa(c))})("keyup.space",function(){x(b);var c=O();return z(xJa(c))});I()()}a&2&&(a=O(),B(1),F("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),pf("aria-checked",a.isQueryRestricted))},zJa=function(a,b){return[].concat(ad(b)).map(function(c){return jo[c]}).every(function(c){return c.check(a)})},
AJa=function(a){return!!jo[a]},ko=function(a,b){return a===b?!0:(null==a?void 0:a.type)===(null==b?void 0:b.type)&&!(null==a||!a.ancestorChain.equals(null==b?void 0:b.ancestorChain))},BJa=function(a){a&1&&Hf(0)},CJa=function(a){a&1&&Df(0)},DJa=function(a){if(a&1){var b=w();H(0,"button",7,8);M("click",function(e){x(b);var g=O();return z(g.onClick(e))});P(2,CJa,1,0,"ng-container",9);I()}if(a&2){a=O();var c=Lf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&
void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);B(2);F("ngTemplateOutlet",c)}},EJa=function(a){a&1&&Df(0)},FJa=function(a){if(a&1){var b=w();H(0,"button",10,8);M("click",function(e){x(b);var g=O();return z(g.onClick(e))});P(2,EJa,1,0,"ng-container",9);I()}if(a&2){a=O();var c=Lf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);B(2);F("ngTemplateOutlet",
c)}},GJa=function(a){a&1&&Df(0)},HJa=function(a){if(a&1){var b=w();H(0,"button",11,8);M("click",function(e){x(b);var g=O();return z(g.onClick(e))});P(2,GJa,1,0,"ng-container",9);I()}if(a&2){a=O();var c=Lf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);B(2);F("ngTemplateOutlet",c)}},IJa=function(a){a&1&&Df(0)},JJa=function(a){if(a&1){var b=w();H(0,"button",12,8);M("click",
function(e){x(b);var g=O();return z(g.onClick(e))});P(2,IJa,1,0,"ng-container",9);I()}if(a&2){a=O();var c=Lf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);B(2);F("ngTemplateOutlet",c)}},KJa=function(a){a&1&&Df(0)},LJa=function(a){if(a&1){var b=w();H(0,"button",7,8);M("click",function(e){x(b);var g=O();return z(g.onClick(e))});P(2,KJa,1,0,"ng-container",9);I()}if(a&
2){a=O();var c=Lf(1),d;F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");pf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);B(2);F("ngTemplateOutlet",c)}},MJa=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:Fh(a)}},OJa=function(a,b){var c=function(){return{position:d,rowElement:b}};if(b.classList.contains("dragging")||
b.classList.contains("nodrop")||b.classList.contains("mat-header-row")){var d="none";return c()}var e=NJa(b),g=b.nextElementSibling&&NJa(b.nextElementSibling),h=b.previousElementSibling&&NJa(b.previousElementSibling);if("top"===a){var m;if((null==(m=b.previousElementSibling)?0:m.classList.contains("dragging"))&&h===e)return d="none",c();d="before";return c()}if("bottom"===a){if(null!=g&&e<g){var r;if(null==(r=b.nextElementSibling)?0:r.classList.contains("dragging"))return d="none",c();b=b.nextElementSibling;
d="before";return c()}var v;if((null==(v=b.nextElementSibling)?0:v.classList.contains("dragging"))&&e===g)return d="none",c();d="after";return c()}d="current";return c()},NJa=function(a){return Number(a.dataset.level)},PJa=function(a){var b;return lo(null!=(b=a.dataset.ancestorchain)?b:"")},QJa=function(a){a&1&&J(0,"th",28)},RJa=function(a){if(a&1){var b=w();H(0,"td",29,30);M("click",function(c){x(b);Lf(1).focus();return z(c.stopPropagation())});I()}},SJa=function(a){a&1&&J(0,"th",28)},TJa=function(a){if(a&
1){var b=w();H(0,"td",31,32);M("click",function(c){x(b);Lf(1).focus();return z(c.stopPropagation())})("dragstart",function(c){x(b);var d=O();return z(d.handleDragStart(c))});J(2,"mat-icon",33);I()}},UJa=function(a){a&1&&(H(0,"th",28),R(1," Id "),I())},VJa=function(a,b){a&1&&(H(0,"td",34),J(1,"b-issue-id-cell",35),I());a&2&&(a=b.$implicit,B(1),F("id",a.id))},WJa=function(a){a&1&&(H(0,"th",28),R(1," Id "),I())},XJa=function(a){a&1&&(H(0,"td",34),R(1,"--"),I())},YJa=function(a){a&1&&(H(0,"th",28),R(1,
" Title "),I())},ZJa=function(a,b){if(a&1){var c=w();H(0,"td",34)(1,"b-expandable-issue-title-cell",36);M("expansionChange",function(){var d=x(c).$implicit,e=O();return z(e.toggleExpansion(d))});S(2,"async");S(3,"async");I()()}a&2&&(a=b.$implicit,B(1),F("issue",T(2,4,a.issue$))("expandable",T(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},$Ja=function(a){a&1&&(H(0,"th",28),R(1," Type "),I())},aKa=function(a,b){a&1&&(H(0,"td",34),J(1,"b-issue-type-cell",37),S(2,"async"),I());
a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},bKa=function(a){a&1&&(H(0,"th",28),R(1," Assignee "),I())},cKa=function(a,b){a&1&&(K(0),H(1,"b-person-hovercard",41),R(2),I(),L());a&2&&(a=b.$implicit,b=O(3),B(1),F("email",b.getAssigneeString(a)),B(1),Mf(" ",b.ldapOnly(b.getAssigneeString(a))," "))},dKa=function(a){a&1&&(K(0),P(1,cKa,3,2,"ng-container",21),S(2,"async"),L());a&2&&(a=O().$implicit,B(1),F("ngIf",T(2,1,a.issue$)))},eKa=function(a,b){a&1&&J(0,"b-user-image",41);a&2&&F("email",b.$implicit)},
fKa=function(a,b){a&1&&(K(0),P(1,eKa,1,1,"b-user-image",42),L());a&2&&(a=b.$implicit,b=O(3),B(1),F("ngIf",b.getAssigneeString(a)))},gKa=function(a){a&1&&(K(0),P(1,fKa,2,1,"ng-container",21),S(2,"async"),L());a&2&&(a=O().$implicit,B(1),F("ngIf",T(2,1,a.issue$)))},hKa=function(a,b){a&1&&J(0,"b-user-image",41);a&2&&F("email",b.$implicit)},iKa=function(a){a&1&&(K(0),P(1,hKa,1,1,"b-user-image",42),L());if(a&2){a=O().$implicit;var b=O(3);B(1);F("ngIf",b.getAssigneeString(a))}},jKa=function(a,b){a&1&&(K(0),
P(1,iKa,2,1,"ng-container",21),L());a&2&&(a=b.$implicit,b=O(3),B(1),F("ngIf",b.isInProgress(a)))},kKa=function(a){a&1&&(K(0),P(1,jKa,2,1,"ng-container",21),S(2,"async"),L());a&2&&(a=O().$implicit,B(1),F("ngIf",T(2,1,a.issue$)))},lKa=function(a){a&1&&(J(0,"b-issue-assignee-cell",37),S(1,"async"));a&2&&(a=O().$implicit,F("issue",T(1,1,a.issue$)))},mKa=function(a){a&1&&(H(0,"td",34),K(1,38),P(2,dKa,3,3,"ng-container",39),P(3,gKa,3,3,"ng-container",39),P(4,kKa,3,3,"ng-container",39),P(5,lKa,2,3,"b-issue-assignee-cell",
40),L(),I());a&2&&(a=O(),B(1),F("ngSwitch",a.options.assigneeMode),B(1),F("ngSwitchCase","short"),B(1),F("ngSwitchCase","avatar"),B(1),F("ngSwitchCase","avatar-in-progress"))},nKa=function(a){a&1&&(H(0,"th",28),R(1," Status "),I())},oKa=function(a,b){a&1&&(K(0),H(1,"a",45),R(2," Fix Pending "),I(),L());a&2&&(a=b.$implicit,B(1),If("href","http://cl/",a.changelistNumber,"",Sd),Kf("matTooltip","Open cl/",a.changelistNumber," from ",a.author,""))},pKa=function(a){a&1&&(K(0),P(1,oKa,3,3,"ng-container",
21),L());if(a&2){a=O().$implicit;var b=O();B(1);F("ngIf",null==b.projectData?null:null==b.projectData.bugToPendingFixCl?null:b.projectData.bugToPendingFixCl.get(a.id))}},qKa=function(a){a&1&&(J(0,"b-issue-status-cell",37),S(1,"async"));a&2&&(a=O().$implicit,F("issue",T(1,1,a.issue$)))},sKa=function(a,b){a&1&&(H(0,"td",34),P(1,pKa,2,1,"ng-container",43),P(2,qKa,2,3,"ng-template",null,44,hg),I());if(a&2){a=b.$implicit;var c=Lf(3);b=O();B(1);F("ngIf",b.options.showPendingFixCls&&rKa(b,a.id))("ngIfElse",
c)}},tKa=function(a){a&1&&(H(0,"th",28),R(1," Team "),I())},uKa=function(a,b){a&1&&(H(0,"td",34),J(1,"b-issue-team-cell",37),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},vKa=function(a){a&1&&J(0,"th",28)},wKa=function(a,b){a&1&&(H(0,"td",34)(1,"b-actions-menu",46),M("click",function(c){return c.stopPropagation()}),I()());a&2&&(a=b.$implicit,b=O(),B(1),F("menuItems",b.getMenuItems(a)))},xKa=function(a){a&1&&(H(0,"th",28),R(1," CLs "),I())},yKa=function(a,b){a&1&&(H(0,"b-async-data-placeholder",
48)(1,"a",49),M("click",function(c){return c.stopPropagation()}),J(2,"b-formatted-date-time",50),I()());a&2&&(a=b.ngIf,F("isReady",null!==a.cl),B(1),If("href","http://cl/",null==a.cl?null:a.cl.changelistNumber,"",Sd)("matTooltip","Submitted by ",null==a.cl?null:a.cl.author,""),B(1),F("paddingLeftPx",0)("timestamp",null==a.cl?null:a.cl.timestamp))},AKa=function(a){a&1&&(K(0),P(1,yKa,3,5,"b-async-data-placeholder",47),S(2,"async"),S(3,"mostRecentCL$"),L());a&2&&(a=O().$implicit,B(1),F("ngIf",Sf(5,zKa,
T(2,1,T(3,3,a.issue$)))))},BKa=function(a,b){a&1&&(H(0,"td",34),P(1,AKa,4,7,"ng-container",21),I());a&2&&(a=b.$implicit,B(1),F("ngIf",0<a.level))},CKa=function(a){a&1&&J(0,"th",28)},DKa=function(a){a&1&&(H(0,"b-actions-menu",46),M("click",function(c){return c.stopPropagation()}),I());if(a&2){a=O().$implicit;var b=O();F("menuItems",b.getMenuItemsForDraft(a))}},EKa=function(a){a&1&&J(0,"b-spinner")},FKa=function(a,b){a&1&&(H(0,"td",51),P(1,DKa,1,1,"b-actions-menu",52),P(2,EKa,1,0,"ng-template",null,
53,hg),I());if(a&2){a=b.$implicit;var c=Lf(3);B(1);F("ngIf",!a.saving)("ngIfElse",c)}},GKa=function(a,b){if(a&1){var c=w();H(0,"td",34)(1,"b-async-data-placeholder",48);S(2,"async");H(3,"b-button",54);M("onAction",function(){var d=x(c).$implicit,e=O();return z(e.displayAllSiblings(d))});H(4,"span",55);R(5);I()()()()}a&2&&(a=b.$implicit,b=O(),xf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),pf("colspan",b.tableColumns.length),B(1),F("isReady",!!T(2,5,a.parentIssue$)),B(4),Mf("Display ",a.truncatedSiblingCount,
" more"))},HKa=function(a){a&1&&(H(0,"th",28),R(1," Title "),I())},IKa=function(a,b){if(a&1){var c=w();H(0,"td",34)(1,"div",56)(2,"b-text-input-cell",57);M("valueChange",function(d){var e=x(c).$implicit;return z(e.title=d)})("commit",function(){var d=x(c).$implicit,e=O();return z(e.saveDraft(d))});I();H(3,"b-button",58);M("onAction",function(){var d=x(c).$implicit,e=O();return z(e.saveDraft(d))});R(4," Create ");I();H(5,"b-button",59);M("onAction",function(){var d=x(c).$implicit,e=O();return z(e.cancelDraft(d))});
R(6," Cancel ");I()()()}a&2&&(a=b.$implicit,xf("padding-left",24*(a.level+1),"px"),B(2),F("value",a.title)("readonly",a.saving),B(1),F("disabled",!a.title||a.saving),B(2),F("disabled",a.saving))},JKa=function(a){a&1&&J(0,"tr",61)},KKa=function(a){a&1&&(K(0),P(1,JKa,1,0,"tr",60),L());a&2&&(a=O(),B(1),F("matHeaderRowDef",a.tableColumns))},MKa=function(a,b){if(a&1){var c=w();H(0,"tr",62);M("click",function(d){var e=x(c).$implicit,g=O();return z(g.navigateToIssue(d,e))})("mouseup",function(d){var e=x(c).$implicit,
g=O();return z(g.navigateToIssue(d,e))})("focusin",function(){var d=x(c).$implicit,e=O();return z(co(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,g=O();return z(g.onRowKeydown(e,d))});S(1,"async");S(2,"async");S(3,"async");I()}a&2&&(a=b.$implicit,b=O(),yf("selected",T(1,10,LKa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(T(2,12,a.issue$)))("highlighted",!!b.getUserInvolvement(T(3,14,a.issue$))),F("row",a),pf("data-level",a.level)("data-type",a.type)("data-ancestorchain",
a.ancestorChain.hash()))},NKa=function(a,b){if(a&1){var c=w();H(0,"tr",63);M("focusin",function(){var d=x(c).$implicit,e=O();return z(co(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,g=O();return z(g.onRowKeydown(e,d))});I()}a&2&&(a=b.$implicit,F("row",a),pf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},OKa=function(a,b){if(a&1){var c=w();H(0,"tr",64);M("keydown",function(d){var e=x(c).$implicit,g=O();return z(g.onRowKeydown(e,d))})("keydown.escape",
function(){var d=x(c).$implicit,e=O();return z(e.cancelDraft(d))})("keydown.backspace",function(){var d=x(c).$implicit,e=O();return z(d.title||e.cancelDraft(d))})("focusin",function(){var d=x(c).$implicit,e=O();return z(co(e.focusManager,d))});I()}a&2&&(a=b.$implicit,F("row",a),pf("data-type",a.type))},PKa=function(a){return function(b){return oj(b,mo,1).map(function(c){return{workspaceId:c.getWorkspaceId(),workspaceName:c.getName(),issueId:a}})}},QKa=function(a,b){if(a&1){var c=w();K(0);H(1,"iframe",
6);M("load",function(){x(c);var d=O();return z(d.contentLoaded=!0)});I();L()}a&2&&(a=b.$implicit,b=O(),B(1),yf("loading",!b.contentLoaded),F("src",a,Bga))},RKa=function(a){a&1&&J(0,"mat-spinner",7)},TKa=function(a){return SKa.some(function(b){return b.test(a)})},UKa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},YKa=function(a,b){var c=UKa(a);c=(c&&VKa.includes(c)?UKa(a):"en").replaceAll("-","_").toLowerCase();var d;a=(null==(d=a.initializationData)?0:d.useNightlyRelease)?"nightly":
"live";var e;return(null==b?0:null==(e=b.getEnableAlohaBinarySplit)?0:e.call(b))?Sg(WKa,a):Sg(XKa,a,c)},$Ka=function(a,b,c,d){if(ZKa)return ZKa;var e=YKa(a,d);return ZKa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var m=no(document,"SCRIPT");Kh(m,e);m.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};m.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};
c.body.appendChild(m)})},bLa=function(a,b,c,d){if(aLa)return aLa;var e=YKa(a,d);return aLa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var m=no(document,"SCRIPT");Kh(m,e);m.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};m.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(m)})},cLa=function(a,b,c,d,e){e=void 0===e?!0:e;var g,h,
m,r,v;return ne(function(y){switch(y.nextAddress){case 1:return g=Date.now(),y.yield($Ka(a,c,d,b),2);case 2:h=y.yieldResult;if(!(e||(null==(r=a.initializationData)?0:r.useNightlyRelease)||(null==(v=a.initializationData)?0:v.isLocalServer))){m=h.initializeFeedbackClient(a,g,b);y.jumpTo(3);break}return y.yield(h.initializeFeedbackClientAsync(a,g,b),4);case 4:m=y.yieldResult;case 3:return m.initiateAloha(),y.return(m)}})},dLa=function(a,b,c,d){var e,g,h;return ne(function(m){if(1==m.nextAddress)return e=
Date.now(),m.yield(bLa(a,c,d.document,b),2);if(3!=m.nextAddress)return g=m.yieldResult,m.yield(g.initializeFeedbackClientAsync(a,e,b,d),3);h=m.yieldResult;h.initiateAloha();return m.return(h)})},eLa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,g,h,m,r,v,y,A,G,N;return ne(function(Q){e=c||ba;if(null==(g=b)?0:null==(m=(h=g).getEnableAlohaBinarySplit)?0:m.call(h)){r=e;if(r.isFormOpened)throw v=Error("gd"),v.name="DuplicateFormError",v;r.isFormOpened=!0;a.callbacks=a.callbacks||{};y=a.callbacks.onClose||
function(){};a.callbacks.onClose=function(Z){r.isFormOpened=!1;y(Z)};try{return Q.return(dLa(a,b,r,e))}catch(Z){throw r.isFormOpened=!1,Z;}}else{A=e;if(A.isFormOpened)throw G=Error("gd"),G.name="DuplicateFormError",G;A.isFormOpened=!0;a.callbacks=a.callbacks||{};N=a.callbacks.onClose||function(){};a.callbacks.onClose=function(Z){A.isFormOpened=!1;N(Z)};try{return Q.return(cLa(a,b,A,e.document,d))}catch(Z){throw A.isFormOpened=!1,Z;}}})},iLa=function(a,b){return ne(function(c){return c.return(new Promise(function(d){var e=
fLa(null!=b?b:"")+"/aloha_form_properties?productId="+a;oo(e,function(g){g=g.target;var h=null;try{h=Hca(gLa,JSON.stringify(g.getResponseJson(")]}'\n")))}catch(m){g=new gLa,h=hLa(),h=Ib(h,7,!0),h=Ib(h,10,!0),h=Ib(h,12,!0),h=Ib(h,13,!1),h=Ib(h,14,!0),h=Ib(h,15,!0),h=Ib(h,20,!1),h=lj(g,po,1,h)}d(h)},"GET","",{},2E3,!0)}))})},fLa=function(a){return TKa(a)?a:"https://www.google.com/tools/feedback"},jLa=function(a){a&1&&(H(0,"div",8),J(1,"b-spinner"),I())},kLa=function(a){a&1&&J(0,"code",22);a&2&&(a=O(2).$implicit,
O(2),F("innerHtml",Og(a.formattingModeDiff),Qd))},lLa=function(a){a&1&&(H(0,"code",23),R(1),I());a&2&&(a=O(2).$implicit,B(1),Mf(" ",a.formattingMode," "))},mLa=function(a){a&1&&(H(0,"p",19),R(1," Formatting: "),P(2,kLa,1,1,"code",20),P(3,lLa,2,1,"code",21),I());a&2&&(a=O(3),B(2),F("ngIf",a.diffView),B(1),F("ngIf",!a.diffView))},nLa=function(a){if(a&1){var b=w();H(0,"div")(1,"span",24)(2,"b-person-hovercard",25);S(3,"omitObfuscatedEmail");R(4);S(5,"appendDomain");I()();H(6,"a",26);M("click",function(c){x(b);
var d=O().$implicit,e=O(2);d=d.version;c.stopPropagation();c=e.paths.editIssue(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return z()});R(7);I()()}a&2&&(a=O().$implicit,O(2),B(2),F("email",T(3,5,ti(a.lastEditorUser))),B(2),Mf(" <",T(5,7,ti(a.lastEditorUser)),"> "),B(2),rf("aria-label","Comment version ",a.version,""),If("id","bv2-edit-issue-comment-",a.version,""),B(1),Mf(" #",a.version,""))},oLa=function(a){a&1&&(H(0,"div",30),R(1),I());a&2&&(a=O(2).$implicit,B(1),
Nf(a.preview))},pLa=function(a){a&1&&(H(0,"div",31),R(1,"Comment deleted."),I())},qLa=function(a){a&1&&(H(0,"div",32),R(1,"Comment history restricted."),I())},rLa=function(a){a&1&&(K(0),P(1,oLa,2,1,"div",27),P(2,pLa,2,0,"div",28),P(3,qLa,2,0,"div",29),L());a&2&&(a=O().$implicit,B(1),F("ngIf",!a.restricted&&!a.deleted),B(1),F("ngIf",!a.restricted&&a.deleted),B(1),F("ngIf",a.restricted))},sLa=function(a){a&1&&(H(0,"div",35),R(1,"Comment deleted."),I())},tLa=function(a){a&1&&(H(0,"div",36),S(1,"async"),
I());if(a&2){a=O(2).$implicit;var b=O(2);yf("codefont",T(1,3,b.codefont.codefont$));F("innerHtml",a.unlinkifiedComment,Qd)}},uLa=function(a){a&1&&(H(0,"div",36),S(1,"async"),I());if(a&2){a=O(2).$implicit;var b=O(2);yf("codefont",T(1,3,b.codefont.codefont$));F("innerHtml",Og(a.diff),Qd)}},vLa=function(a){a&1&&(H(0,"div",32),R(1," This comment is not available due to present or past restrictions on the comment. "),I())},wLa=function(a){a&1&&(K(0),P(1,sLa,2,0,"div",33),P(2,tLa,2,5,"div",34),P(3,uLa,
2,5,"div",34),P(4,vLa,2,0,"div",29),L());if(a&2){a=O().$implicit;var b=O(2);B(1);F("ngIf",!a.restricted&&a.deleted);B(1);F("ngIf",!b.diffView&&!a.restricted&&!a.deleted);B(1);F("ngIf",b.diffView&&!a.restricted&&!a.deleted);B(1);F("ngIf",a.restricted)}},xLa=function(a,b){if(a&1){var c=w();H(0,"li",11)(1,"div",12);J(2,"b-user-image",13);I();H(3,"div",14);M("click",function(){var d=x(c).$implicit;return z(d.open=!d.open)});J(4,"b-user-display",15)(5,"b-formatted-date-time",16);P(6,mLa,4,2,"p",17);P(7,
nLa,8,9,"div",18);P(8,rLa,4,3,"ng-container",18);I();P(9,wLa,5,4,"ng-container",18);I()}a&2&&(a=b.$implicit,O(2),yf("comment-version-open",a.open),B(2),F("email",ti(a.lastEditorUser)),B(2),F("model",a.lastEditorUser),B(1),F("timestamp",a.lastModified),B(1),F("ngIf",!a.deleted),B(1),F("ngIf",a.open),B(1),F("ngIf",!a.open),B(1),F("ngIf",a.open))},yLa=function(a){a&1&&(H(0,"ul",9),P(1,xLa,10,9,"li",10),I());a&2&&(a=O(),B(1),F("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},BLa=function(a,b){var c=
new zLa;a=qo(c,a,b);ALa(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return ro("SPAN",{"class":"diff-removed"},d);case 1:return ro("SPAN",{"class":"diff-added"},d);case 0:return ro("SPAN",{"class":null},d);default:throw Error("id`"+e);}});return so(c)},CLa=function(a){var b;return"DELETED"===(null==(b=a.entityStatus)?void 0:b.status)},DLa=function(a){a&1&&(H(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. "),
H(2,"a",13),R(3," Learn more "),I()());a&2&&(a=O(2),B(2),F("href",a.getRestrictedAccessHelpLink(),Sd))},FLa=function(a){a&1&&(K(0),P(1,DLa,4,1,"div",8),L());a&2&&(a=O(),B(1),F("ngIf",ELa(a)))},GLa=function(a){a&1&&(H(0,"div",2)(1,"span",14),R(2," You do not have access to view this attachment. "),I()())},HLa=function(a){a&1&&J(0,"mat-spinner",15)},ILa=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O(),yf("muted",a.isGreyedOut),B(1),Mf(" ",a.displayName,""))},JLa=function(a){if(a&1){var b=w();H(0,
"a",2);M("click",function(c){x(b);var d=O();return z(d.handleClick(c))});R(1);I()}a&2&&(a=O(),F("href",a.linkUrl,Sd)("rel",a.EXTERNAL_LINK_REL),B(1),Mf(" ",a.displayName,""))},MLa=function(a){a&1&&(H(0,"span"),R(1),H(2,"b"),R(3),I(),R(4," on "),H(5,"b"),R(6),S(7,"date"),I(),R(8,". "),I());a&2&&(a=O(4),B(1),Mf(" Currently, the ",a.contentType," is scheduled for deletion in "),B(2),Nf(KLa(LLa(a).getTime(),!0)),B(3),Nf(Vf(7,3,LLa(a),"longDate")))},NLa=function(a){a&1&&(H(0,"span")(1,"b"),R(2,"Retention:"),
I(),R(3),H(4,"b"),R(5),I(),R(6," from the last modification of the issue. "),P(7,MLa,9,6,"span",11),I());if(a&2){a=O(3);var b=Lf(10);B(3);Mf(" This ",a.contentType," has a retention period of ");B(2);Nf(a.getRetentionPeriod());B(2);F("ngIf",!(LLa(a).getTime()<(new ci).getTime()))("ngIfElse",b)}},OLa=function(a){a&1&&(R(0),H(1,"b"),R(2,"overridden"),I(),R(3," retention period set to match the issue retention period. "));a&2&&(a=O(3),Mf(" The ",a.contentType," has an "))},PLa=function(a){a&1&&(H(0,
"p",10),P(1,NLa,8,4,"span",11),P(2,OLa,4,1,"ng-template",12),I());if(a&2){a=O(2);var b=Lf(8);F("ngSwitch",a.retention);B(1);F("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);B(1);F("ngSwitchCase",a.retentionModel.INDEFINITE)}},QLa=function(a){a&1&&(H(0,"div",7)(1,"p")(2,"b"),R(3,"Restricted Access:"),I(),R(4),H(5,"a",8),R(6," Learn More "),I()(),P(7,PLa,3,4,"p",9),I());a&2&&(a=O(),B(4),Mf(" This ",a.contentType," is only available to users with the appropriate permissions. "),
B(1),F("rel",a.EXTERNAL_LINK_REL),pf("href",a.documentationLinks.getRestrictedAccessHelpLink(),Sd),B(2),F("ngIf",a.retentionState))},RLa=function(a){a&1&&(H(0,"b"),R(1,"Retention:"),I(),R(2));a&2&&(a=O(),B(2),Mf(" This ",a.contentType," has an indefinite retention period. "))},SLa=function(a){a&1&&(R(0," The retention has "),H(1,"b"),R(2,"expired"),I(),R(3),H(4,"b"),R(5),S(6,"date"),I(),R(7,". "));a&2&&(a=O(),B(3),Mf(" and the ",a.contentType," was scheduled for deletion on "),B(2),Nf(Vf(6,2,LLa(a),
"longDate")))},TLa=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Nf(a.text))},ULa=function(a){a&1&&(H(0,"span"),J(1,"b-access-level-indicator",2),I());a&2&&(a=O().$implicit,B(1),F("accessLevel",a.accessLevel))},VLa=function(a,b){a&1&&(H(0,"span"),P(1,TLa,2,1,"span",1),P(2,ULa,2,1,"span",1),I());a&2&&(a=b.$implicit,b=O(),B(1),F("ngIf",b.isText(a)),B(1),F("ngIf",!b.isText(a)))},XLa=function(a,b){var c=WLa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,
startOfMatch:a,endOfMatch:a+c.length}:null},YLa=function(a){if(a&1){var b=w();H(0,"div");J(1,"br");H(2,"mat-checkbox",8);M("ngModelChange",function(c){x(b);var d=O();return z(d.acknowledged=c)});I();H(3,"span");R(4,"All information in this issue is suitable for external sharing.");I()()}a&2&&(a=O(),B(2),F("ngModel",a.acknowledged))},ZLa=function(a){if(a&1){var b=w();H(0,"button",9);M("click",function(){x(b);var c=O();return z(c.allow())});R(1," Move Issue ");I()}a&2&&(a=O(),F("disabled",!a.acknowledged))},
$La=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Mf("(",a.disabledReason,")"))},aMa=function(a,b){a&1&&(H(0,"mat-radio-button",8),R(1),P(2,$La,2,1,"span",9),I());a&2&&(a=b.$implicit,F("value",a)("disabled",!a.enabled),B(1),Mf(" ",a.displayText," "),B(1),F("ngIf",!a.enabled))},bMa=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Mf("(",a.disabledReason,")"))},cMa=function(a,b){a&1&&(H(0,"mat-radio-button",8),R(1),P(2,bMa,2,1,"span",9),I());a&2&&(a=b.$implicit,
F("value",a)("disabled",!a.enabled),B(1),Mf(" ",a.displayText," "),B(1),F("ngIf",!a.enabled))},dMa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},eMa=function(a){a&1&&J(0,"mat-icon",7);if(a&2){a:switch(O().reactionType){case "UPVOTE":a="thumb_up_24px";break a;default:a="warning"}F("svgIcon",a)}},fMa=function(a){a&1&&J(0,"b-spinner")},gMa=function(a,b){a&1&&(H(0,"div")(1,"div",9),R(2),I()());a&2&&(a=
b.$implicit,O(2),B(2),Nf(ti(a.user)))},hMa=function(a){a&1&&(K(0),P(1,gMa,3,1,"div",8),L());a&2&&(a=O(),B(1),F("ngForOf",a.allResponders))},iMa=function(a){switch(a){case "PII_SEVERITY_UNSPECIFIED":return 0;case "NONE_DETECTED":return 1;case "PII":return 2;case "SPII":return 3;default:throw Error("jd`"+a);}},jMa=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O(),B(1),Mf("Retain ",a.resource," as long as issue?"))},kMa=function(a){a&1&&(H(0,"span"),R(1,"Apply component retention settings?"),I())},
lMa=function(a){a&1&&(H(0,"span")(1,"p"),R(2),I(),H(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."),I(),J(6,"br"),R(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),I()());a&2&&(a=O(),B(2),Mf("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},
mMa=function(a){a&1&&(H(0,"span")(1,"p"),R(2),I()());a&2&&(a=O(),B(2),Of("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."))},nMa=function(a){if(a&1){var b=w();H(0,"mat-checkbox",9);M("ngModelChange",function(c){x(b);var d=O();return z(d.acknowledgeToMatchIssueRetention=c)});R(1," I acknowledge ");I()}a&2&&(a=O(),F("ngModel",a.acknowledgeToMatchIssueRetention))},
oMa=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},uo=function(a){return new to((a instanceof to?a:new to(a)).value,!0)},pMa=function(a){if(a.oauthTokens){var b=a.oauthTokens;return(0,E.firstValueFrom)(b).then(function(c){c=new E.BehaviorSubject(c);b.subscribe(c);return new vo(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new wo(a.apiKey,a.appAuthTokens)):Promise.resolve(new xo(a.apiKey,a.authUser)):Promise.reject(Error("ud"))},qMa=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}},rMa=function(a){return new E.Observable(function(b){var c=yo(function(){b.next({});b.complete()},a);return function(){zo(c)}})},sMa=function(a){var b=new Ao;b.setName(a);return b},tMa=function(a){a.isPrivateToUser()?(a=new Bo,Co(a,2,Do,Ya(!0))):(a=new Bo,Co(a,1,Do,Ya(!0)));return a},vMa=function(a){var b=
new Eo;a=k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new Fo;if(d.value instanceof Go)d.isDecreasing?Co(c,4,Ho,d.value.toString()):Co(c,2,Ho,d.value.toString());else if("string"===typeof d.value)d.isDecreasing?Io(c,3,Ho,d.value):Io(c,1,Ho,d.value);else if("number"===typeof d.value)d.isDecreasing?Co(c,9,Ho,Va(d.value)):Co(c,10,Ho,Va(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?Co(c,5,Ho,Oa(d.value,!1,!1)):Co(c,7,Ho,Oa(d.value,!1,!1));else if(d.value instanceof
Jo)d.isDecreasing?(d=uMa(d.value),Ko(c,11,Ho,d)):(d=uMa(d.value),Ko(c,12,Ho,d));else if(d.value instanceof Lo){var e=d.value.rep;"number"===typeof e?d.isDecreasing?Co(c,9,Ho,Va(e)):Co(c,10,Ho,Va(e)):"string"===typeof e&&(d.isDecreasing?Co(c,6,Ho,e):Co(c,8,Ho,e))}Mo(b,1,Fo,c)}return b},AMa=function(a,b){if(a instanceof No)return 0<oj(b,Fo,1).length?null:wMa.apply(No,ad(a.parts));a=Array.of.apply(Array,ad(a.root.parts));b=k(oj(b,Fo,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,Oi(c,Ho)){case 4:a.push(uo(Oo(Po(c,
yn(c,Ho,4)))));break;case 2:a.push(new to(Oo(Po(c,yn(c,Ho,2)))));break;case 6:a.push(uo(new Lo(xMa(c,6))));break;case 8:a.push(new to(new Lo(xMa(c,8))));break;case 10:a.push(new to(new Lo(Qo(c,yn(c,Ho,10)))));break;case 9:a.push(uo(new Lo(Qo(c,yn(c,Ho,9)))));break;case 3:a.push(uo(Ro(c,3,Ho)));break;case 1:a.push(new to(Ro(c,1,Ho)));break;case 7:var d=void 0;a.push(new to(null==(d=So(c,yn(c,Ho,7)))?void 0:yMa(d)));break;case 5:d=void 0;a.push(uo(null==(d=So(c,yn(c,Ho,5)))?void 0:yMa(d)));break;case 12:c=
zMa(fk(c,Rh,12,Ho));if(null===c)return null;a.push(new to(c));break;case 11:c=zMa(fk(c,Rh,11,Ho));if(null===c)return null;a.push(uo(c));break;case 0:return null;default:return null}return wMa.apply(No,ad(a))},Uo=function(a){return(null!=a?a:[]).map(To)},Wo=function(a){return(null!=a?a:[]).map(Vo)},To=function(a){if(null==a)return"";var b=a.user,c=a.group;a=a.alias;if(null!=b){var d="USER";var e=b.emailAddress||b.obfuscatedEmailAddress||void 0}else null!=c?(d="GROUP",e=c.emailAddress||c.obfuscatedEmailAddress||
void 0):null!=a&&(d="ALIAS",e=a);return null==d||null==e?"":d+":"+e},Xo=function(a){return(null!=a?a:[]).map(To)},BMa=function(a){return(null!=a?a:[]).map(Vo)},Vo=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("Dd`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("Ed`"+b);}},Yo=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],
restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},Zo=function(a){return{admins:Uo(a.admins),editors:Uo(a.editors),appenders:Uo(a.appenders),readers:Uo(a.readers),restrictedReaders:Uo(a.restrictedReaders),restrictedPlusReaders:Uo(a.restrictedPlusReaders),inheritedAdmins:Uo(a.inheritedAdmins),implicitAccess:a.implicitAccess||null}},$o=function(a){return{admins:Wo(a.admins),editors:Wo(a.editors),appenders:Wo(a.appenders),readers:Wo(a.readers),restrictedReaders:Wo(a.restrictedReaders),
restrictedPlusReaders:Wo(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}},ap=function(a){return null==a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),254>=a.length)?a:""},FMa=function(){var a=bp("gapi.config.get");if((a=ap(a&&a("googleapis.config/sessionIndex")))||(a=ap(ba.__X_GOOG_AUTHUSER))||(a=ap(bp("google.authuser"))))return a;var b=ba.location.href||"",c=CMa.exec(b);try{a=ap(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=DMa.exec(b);try{a=ap(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;
a=EMa.exec(b);return(a=ap(a&&a[1]))?a:""},GMa=function(){var a=bp("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=bp("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}},HMa=function(a){a=void 0===a?"":a;var b;if(!(b=GMa())){b=a;var c=void 0===c?FMa():c;a={};var d=cp([]);d&&(a.Authorization=d);b||(b=(b=bp("gapi.config.get"))&&
b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},IMa=function(a,b){b=void 0===b?0:b;var c;if(c=0===b)c=(c=bp("gapi.config.get"))?(c=c("oauth-flow/authUrl"))&&(0<c.indexOf("staging")||0<c.indexOf("test"))?2:1:0,c=2===c;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=bp("gapi.config.get"))&&
b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},KMa=function(a,b){return 1>a||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return ba.setTimeout(c,b)})).then(function(){return JMa(a-1,2*b)})},JMa=function(a,b){a=void 0===a?0:a;b=void 0===b?5E3:b;var c=ba;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return KMa(a,b);ba.gapi||(ba.gapi=d);return d.client?Promise.resolve(d):new Promise(function(e,g){d.load("client",function(){d.client?e(d):
g("gapi.client missing")})})},LMa=function(){var a=void 0===a?"":a;var b=void 0===b?FMa():b;var c=bp("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)},MMa=function(a){return(new dp).setEventType(2).setRpcType(2).setLookupType(a)},NMa=function(a){a=Math.round(1E3*a);return isFinite(a)?a:null},ep=function(a){var b;return null!=(b=null==a?void 0:a.trim())?b:""},hp=
function(a,b,c,d){fp.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;OMa(this.transport_,this.id_);d&&gp(d.getEventTarget(),"e",this.onContactsChange_,!1,this)},PMa=function(a){var b={};if(a){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.containerType;d=d.id||"";c&&d&&(b[c]=b[c]||d)}}return b},RMa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return QMa(b.name,b.email)}).join(", "):
""},UMa=function(a,b,c){var d=[];a&&(SMa("name",a.name,b,d,c),SMa("phone",a.phone,b,d,c),SMa("photo",a.photo,b,d,c));return d.map(function(e){return new TMa(e)})},SMa=function(a,b,c,d,e){if(b){b=k(b);for(var g=b.next();!g.done;g=b.next())if(g=g.value,"CONTACT"!==bp("metadata.containerType",g)){var h=c,m=d,r=e,v=bp("metadata.encodedContainerId",g),y=bp("metadata.containerType",g);if(h.contains(v,y))var A=h.get(v,y)||0;else A=m.length,h.set(v,y,A),m.push({}),r.push(v);A=m[A];A[a]=A[a]||[];A[a].push(g)}}},
WMa=function(a,b){if(a){a=VMa(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},XMa=function(a,b){if(a){a=a.getPhone();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},YMa=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},
ZMa=function(a){this.query_=a;this.error_=0},jp=function(a,b){b=a(b||$Ma,void 0);a=ip();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=aNa(b),bNa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},aNa=function(a){return wa(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Lg)?a:kp("zSoyz"):kp(String(a))},mp=function(a,b,c,d,e,g,h){this.serverBase_="string"===typeof a?new lp(a):a;this.useApiary_=!!c;this.apiaryClientDeferred_=d;this.onAuthError_=e;this.testGaia_=
!!g;this.contactStoreConfig_=h;this.commonAcParams_={};this.acWrappers_={};this.onAcCompleteListeners_={};this.inputToAcWrapper_={};this.focusedElement_=null},cNa=function(a){a=a.getEmail();if(!a)return!1;for(var b=k(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(0<=a.indexOf(c.value))return!0;return!1},gNa=function(a,b,c){a=a.filter(dNa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=eNa(new fNa(c),b,c.length);
return a.concat(b.map(function(d){return d.contact}))},kNa=function(a){if(a&1){var b=w();H(0,"input",7,8);M("change",function(){x(b);var c=O();if(hNa(c)){var d=np(c);iNa(c);jNa(c,!0);np(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return z()})("keyup",function(c){x(b);var d=O();document.activeElement===op(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,jNa(d,!0),np(d).focus()):
jNa(d));return z()});I()}a&2&&(a=O(),F("value",a.autocompleteUserName))},lNa=function(a){a&1&&J(0,"div",9,10)},mNa=function(a){a&1&&Df(0)},nNa=function(a){a&1&&Df(0)},oNa=function(a){return{matchedPatterns:Xh(a,1)}},pNa=function(a){a&1&&(H(0,"p",12),R(1),I());a&2&&(a=O(),B(1),Mf(" Your comment contains restricted words: ",a.bannedWordsWarning.matchedPatterns.join(", "),". Review your comment before posting. "))},qNa=function(a){a&1&&J(0,"b-live-preview",13);a&2&&(a=O(),F("comment",a.newComment.text)("issueId",
a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},rNa=function(a){if(a&1){var b=w();H(0,"section")(1,"div",14)(2,"b-recaptcha",15);M("onUpdate",function(c){x(b);var d=O();return z(d.recaptchaResponse=c)});I()()()}},sNa=function(a){return function(b){var c,d;return{resourceId:b.issueId,displayText:null!=(c=b.snapshot[0].title)?c:"",status:null!=(d=b.snapshot[0].status)?d:null,relations:[a]}}},tNa=function(a){var b=[],c=new Map;a=k(a);for(var d=
a.next();!d.done;d=a.next())if(d=d.value,""!==d.displayText)if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(ad(e.relations),ad(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},uNa=function(a){a&1&&J(0,"b-restricted-chip",10);a&2&&(a=O(),F("label",a.getRestrictedLabel())("retentionState",null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},vNa=function(a){a&1&&(H(0,"span",11),J(1,"b-actions-menu",12),I());a&2&&(a=O(),B(1),F("menuItems",
a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},zNa=function(a){if(a&1){var b=w();H(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){x(b);var c=O();c.isRestricted()?wNa(c,!1):c.domSafe.openInNewTab(xNa(c,!1));return z()});I()()}a&2&&(a=O(),Bf("bv2-issue-attachment-link ",yNa(a),""),B(1),F("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",xNa(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},ANa=function(a){if(a&1){var b=w();
H(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){x(b);var c=O();c.isRestricted()?wNa(c,!0):c.domSafe.openInNewTab(xNa(c,!0));return z()});I()()}a&2&&(a=O(),Bf("bv2-issue-attachment-link ",yNa(a),""),B(1),F("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",xNa(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},BNa=function(a){a&1&&(H(0,"span",14)(1,"a",15),J(2,"mat-icon",16),I()());a&2&&(a=O(),B(1),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),Sd)("disableRipple",
!0),B(1),F("svgIcon","help-outline"))},CNa=function(a){a&1&&(H(0,"div",17),R(1," You do not have access to this restricted attachment. "),H(2,"a",18),R(3,"Learn more"),I()());a&2&&(a=O(),B(2),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),Sd))},ENa=function(a){if(a&1){var b=w();H(0,"button",20,21);M("click",function(){x(b);var c=O(2);return z(DNa(c))});R(2," Edit ");I()}},FNa=function(a,b){a&1&&(K(0),R(1," on behalf of "),J(2,"b-user-display-name",22),L());a&2&&(a=b.ngIf,B(2),F("email",
a)("showEmail",!1))},GNa=function(a){a&1&&(K(0),P(1,FNa,3,2,"ng-container",12),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.onBehalfOfEmail$)))},HNa=function(a,b){if(a&1){var c=w();H(0,"a",23);M("click",function(d){var e=x(c).$implicit;O(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return z()});R(1);I()}a&2&&(a=b.$implicit,b=O().$implicit,O(),F("routerLinkObj",Gwa(a,{comment:1})),pf("aria-label","Comment number"+b.commentNumber),B(1),Mf(" #",b.commentNumber,""))},
JNa=function(a){a&1&&(K(0),H(1,"span",24),R(2," \u2022 Edited"),I(),L());if(a&2){a=O().$implicit;var b=O();B(1);F("matTooltip",INa(b,a))}},KNa=function(a){a&1&&(K(0),H(1,"p",25),R(2," Description has been deleted. "),I(),L())},LNa=function(a){if(a&1){var b=w();H(0,"b-restricted-comment-placeholder",28);M("onConfirm",function(){x(b);var c=O().ngIf,d=O(3).$implicit,e=O();return z(e.loadRestrictedComment(c,d))});S(1,"async");I()}a&2&&(a=O(5),F("disabled",!T(1,1,a.mayReadPii$)))},MNa=function(a){a&1&&
(K(0),P(1,LNa,2,3,"b-restricted-comment-placeholder",27),S(2,"async"),L());a&2&&(a=O(4),B(1),F("ngIf",T(2,1,a.shouldShowRestrictedPlaceholder$)))},NNa=function(a){a&1&&(K(0),P(1,MNa,3,3,"ng-container",12),S(2,"async"),L());a&2&&(a=O(3),B(1),F("ngIf",T(2,1,a.id$)))},ONa=function(a,b){a&1&&(J(0,"b-note-container",31),S(1,"async"));if(a&2){a=b.$implicit;b=O().ngIf;var c=O(4);F("issueId",b)("issueAccessLevel",T(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},PNa=function(a){a&1&&(K(0),
P(1,ONa,2,6,"b-note-container",30),S(2,"async"),L());if(a&2){a=O(3).$implicit;var b=O();B(1);F("ngIf",""!==a.unlinkifiedComment&&T(2,1,b.firstNote$))}},QNa=function(a){a&1&&(K(0),R(1," Add one."),L())},RNa=function(a){a&1&&(H(0,"p",32),R(1," No description yet."),P(2,QNa,2,0,"ng-container",12),I());a&2&&(a=O(4),B(2),F("ngIf",a.canEditComment()))},SNa=function(a){a&1&&(P(0,PNa,3,3,"ng-container",12),S(1,"async"),P(2,RNa,3,1,"p",29));if(a&2){a=O(2).$implicit;var b=O();F("ngIf",T(1,2,b.id$));B(2);F("ngIf",
""===a.unlinkifiedComment)}},TNa=function(a){a&1&&(P(0,NNa,3,3,"ng-container",17),S(1,"async"),P(2,SNa,3,4,"ng-template",null,26,hg));if(a&2){var b=Lf(3);a=O(2);F("ngIf",T(1,2,a.isRedacted$))("ngIfElse",b)}},UNa=function(a,b){a&1&&(K(0),J(1,"b-attachment-viewer",36),L());if(a&2){a=b.ngIf;b=O().$implicit;var c=O(3);B(1);F("issueId",a)("attachment",b)("attachmentUploader",c.getUserEmailIfAvailable())}},VNa=function(a,b){a&1&&(H(0,"div",35),P(1,UNa,2,3,"ng-container",12),S(2,"async"),I());a&2&&(a=b.$implicit,
b=O(3),If("id","attachment",a.attachmentId,""),B(1),F("ngIf",T(2,2,b.id$)))},WNa=function(a){a&1&&(H(0,"div",33),P(1,VNa,3,4,"div",34),I());a&2&&(a=O().$implicit,B(1),F("ngForOf",a.attachments))},YNa=function(a,b){a&1&&(H(0,"div",2),J(1,"mat-icon",3),H(2,"div",4)(3,"div",5)(4,"div",6)(5,"h4",7),R(6,"Description"),I(),P(7,ENa,3,0,"button",8),J(8,"b-user-display",9),H(9,"onedev-hovercard",null,10),J(11,"b-issue-person-card",11),I(),R(12," created issue "),P(13,GNa,3,3,"ng-container",12),S(14,"async"),
P(15,HNa,2,3,"a",13),S(16,"async"),P(17,JNa,3,1,"ng-container",12),S(18,"async"),I(),H(19,"div"),J(20,"b-formatted-date-time",14)(21,"b-actions-menu",15,16),S(23,"async"),I()(),P(24,KNa,3,0,"ng-container",17),S(25,"async"),P(26,TNa,4,4,"ng-template",null,18,hg),P(28,WNa,2,1,"div",19),I()());if(a&2){a=b.$implicit;var c=Lf(10),d=Lf(27);b=O();var e;B(7);F("ngIf",b.canEditComment());B(1);F("onedevHovercardTrigger",c)("model",a.userPerformingActionUser);B(3);F("email",b.getUserEmailIfAvailable());B(2);
F("ngIf",T(14,13,b.isAuthorNotReporter$));B(2);F("ngIf",a.commentNumber&&T(16,15,b.id$));B(2);F("ngIf",T(18,17,b.isShowCommentHistoryActionInMenu$));B(3);F("timestamp",a.modifiedDate);B(1);F("buttonLabel","Description actions")("menuItems",null!==(e=T(23,19,b.commentActionMenuItems$))&&void 0!==e?e:Rf(23,XNa));B(3);F("ngIf",T(25,21,b.isDeleted$))("ngIfElse",d);B(4);F("ngIf",null==a?null:null==a.attachments?null:a.attachments.length)}},ZNa=function(a){a&1&&J(0,"b-spinner")},$Na=function(a){return(null==
a?void 0:a.emailAddress)||(null==a?void 0:a.obfuscatedEmailAddress)||""},aOa=function(a,b){a&1&&J(0,"b-issue-person-card",7);a&2&&F("email",b.ngIf)},bOa=function(a,b){a&1&&(K(0),H(1,"span",4),R(2),S(3,"shortenEmail"),I(),H(4,"onedev-hovercard",null,5),P(6,aOa,1,1,"b-issue-person-card",6),I(),L());if(a&2){a=b.ngIf;var c=Lf(5);b=O(2);B(1);F("onedevHovercardTrigger",c);B(1);Mf(" ",Vf(3,3,b.userToString(a),30)," ");B(4);F("ngIf",a.emailAddress)}},cOa=function(a,b){if(a&1){var c=w();H(0,"a",8);M("click",
function(d){var e=x(c).ngIf,g=O(2);return z(g.scrollCommentIntoView(d,e))});R(1);I()}a&2&&(a=b.ngIf,b=O(2),rf("aria-label","Comment number ",a,""),F("routerLinkObj",b.getCommentNumberLink(a)),B(1),Mf(" #",a,""))},dOa=function(a){a&1&&(K(0),R(1,","),L())},eOa=function(a,b){a&1&&(H(0,"span",1),P(1,bOa,7,6,"ng-container",2),H(2,"span"),P(3,cOa,2,3,"a",3),P(4,dOa,2,0,"ng-container",2),I()());a&2&&(a=b.$implicit,b=b.last,B(1),F("ngIf",a.userPerformingActionUser),B(2),F("ngIf",a.commentNumber),B(1),F("ngIf",
!b))},fOa=function(a,b){a&1&&(H(0,"div",4)(1,"a",5),S(2,"removePngExtension"),J(3,"b-secure-image-widget",6),I(),J(4,"comments-info",7),I());a&2&&(a=b.$implicit,b=O(3),B(1),Jf("href",T(2,5,a.src),Sd),B(2),F("showByDefault",!0)("src",a.src),B(1),F("issueId",b.issueId)("comments",a.comments))},gOa=function(a){if(a&1){var b=w();H(0,"button",10);M("click",function(){x(b);var c=O(2).ngIf,d=O(2);c=c.length;var e=An(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return z()});
R(1," Load more ");I()}},hOa=function(a){if(a&1){var b=w();H(0,"button",11);M("click",function(){x(b);var c=O(4);return z(c.goToResourcesTab())});R(1," See all screenshots ");I()}},iOa=function(a){a&1&&(K(0),P(1,gOa,2,0,"button",8),P(2,hOa,2,0,"ng-template",null,9,hg),L());if(a&2){var b=Lf(3);a=O(3);B(1);F("ngIf",a.paginate)("ngIfElse",b)}},jOa=function(a,b){a&1&&(K(0),H(1,"div",2),P(2,fOa,5,7,"div",3),S(3,"async"),I(),P(4,iOa,4,2,"ng-container",1),L());if(a&2){a=b.ngIf;b=O().ngIf;var c=O();B(1);
yf("show-all-images",c.paginate);B(1);F("ngForOf",T(3,4,c.imagesToRender$));B(2);F("ngIf",b.length!==a.length)}},kOa=function(a){a&1&&(K(0),P(1,jOa,5,6,"ng-container",1),S(2,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,1,a.imagesToRender$)))},lOa=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=null!=(d=b.get(c.src))?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(g){var h=k(g);g=h.next().value;h=h.next().value;return{src:g,
comments:Dl(h)}})},mOa=function(a){a&1&&(H(0,"span",5),R(1),S(2,"reverse"),I());a&2&&(a=O(),B(1),Nf(T(2,1,a.leftText)))},nOa=function(a){a&1&&(K(0),H(1,"b-external-hyperlink-widget",6),R(2),I(),L());a&2&&(a=O(),B(1),F("href",a.redirectedHref)("originalHref",a.originalHref),B(1),Nf(a.linkText))},oOa=function(a){a&1&&(H(0,"b-issue-reference-widget",9),R(1),I());a&2&&(a=O(2),F("href",a.redirectedHref)("issueId",a.issueId),B(1),Nf(a.linkText))},pOa=function(a){a&1&&(H(0,"a",10),R(1),I());a&2&&(a=O(2),
Jf("href",a.redirectedHref,Sd),B(1),Nf(a.linkText))},qOa=function(a){a&1&&(P(0,oOa,2,3,"b-issue-reference-widget",7),P(1,pOa,2,2,"ng-template",null,8,hg));if(a&2){var b=Lf(2);a=O();F("ngIf",a.issueId)("ngIfElse",b)}},rOa=function(a){a&1&&(H(0,"span",11),R(1),I());a&2&&(a=O(),B(1),Nf(a.rightText))},sOa=function(a){var b=document.createElement("div");if(a=rta(a))1===b.nodeType&&Npa(b),b.innerHTML=Og(a);return b},tOa=function(a){a&1&&(K(0),H(1,"td"),J(2,"b-issue-priority-display",2),I(),H(3,"td",3)(4,
"span",4),R(5),I(),J(6,"mentioned-link-with-context",5),I(),H(7,"td"),J(8,"comments-info",6),S(9,"toComments"),I(),L());if(a&2){a=O().$implicit;var b=O(3),c;B(2);F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);B(2);F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");B(1);Mf(" ",null!==(c=a.title)&&void 0!==c?c:"--"," ");B(1);F("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);B(2);F("issueId",b.issueId)("comments",
T(9,8,a.sourceComments))}},uOa=function(a,b){a&1&&(H(0,"tr"),P(1,tOa,10,10,"ng-container",0),I());a&2&&(a=b.$implicit,B(1),F("ngIf",a.sourceComments&&a.relatedLinks))},vOa=function(a){if(a&1){var b=w();H(0,"button",9);M("click",function(){x(b);var c=O(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return z()});R(1," Load more ");I()}},wOa=function(a){if(a&1){var b=w();H(0,"button",10);M("click",function(){x(b);var c=O(4);return z(c.goToResourcesTab())});R(1,
" See all mentioned issues ");I()}},xOa=function(a){a&1&&(H(0,"div"),P(1,vOa,2,0,"button",7),P(2,wOa,2,0,"ng-template",null,8,hg),I());if(a&2){var b=Lf(3);a=O(3);B(1);F("ngIf",a.paginate)("ngIfElse",b)}},yOa=function(a,b){a&1&&(K(0),H(1,"section")(2,"table"),P(3,uOa,2,1,"tr",1),I(),P(4,xOa,4,2,"div",0),I(),L());a&2&&(a=b.ngIf,b=O().ngIf,B(3),F("ngForOf",b),B(1),F("ngIf",a.length!==b.length))},zOa=function(a){a&1&&(K(0),P(1,yOa,5,2,"ng-container",0),S(2,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,
1,a.allMentionedIssues$)))},AOa=function(a,b){a&1&&(H(0,"div",2),J(1,"mentioned-link-with-context",3)(2,"comments-info",4),S(3,"toComments"),I());a&2&&(a=b.$implicit,b=O(3),B(1),F("sourceComment",a[0].comment)("relatedLink",a[0]),B(1),F("issueId",b.issueId)("comments",T(3,4,a)))},BOa=function(a){if(a&1){var b=w();H(0,"button",7);M("click",function(){x(b);var c=O(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return z()});R(1," Load more ");I()}},COa=function(a){if(a&
1){var b=w();H(0,"button",8);M("click",function(){x(b);var c=O(4);return z(c.goToResourcesTab())});R(1," See all related links ");I()}},DOa=function(a){a&1&&(H(0,"div"),P(1,BOa,2,0,"button",5),P(2,COa,2,0,"ng-template",null,6,hg),I());if(a&2){var b=Lf(3);a=O(3);B(1);F("ngIf",a.paginate)("ngIfElse",b)}},EOa=function(a,b){a&1&&(K(0),P(1,AOa,4,6,"div",1),P(2,DOa,4,2,"div",0),L());if(a&2){a=b.ngIf;b=O().ngIf;var c=O();B(1);F("ngForOf",a)("ngForTrackBy",c.trackByHref);B(1);F("ngIf",b.length!==a.length)}},
FOa=function(a){a&1&&(K(0),P(1,EOa,3,3,"ng-container",0),S(2,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,1,a.linkGroupsToRender$)))},HOa=function(a,b){var c=a.filter(function(d){return Sva(d[0])});a=a.filter(function(d){return!Sva(d[0])});return GOa([].concat(ad(c),ad(a)).slice(0,b),"asc")},JOa=function(a){a&1&&(K(0),J(1,"mat-icon",10),Df(2,11),L());if(a&2){a=O().$implicit;O();var b=Lf(10);B(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(2,IOa,a))}},KOa=function(){},LOa=function(a){a&1&&
P(0,KOa,0,0,"ng-template")},MOa=function(a){a&1&&(K(0),P(1,LOa,1,0,null,12),L());a&2&&(a=O(2).$implicit,B(1),F("ngTemplateOutlet",a.tabIconTemplate))},NOa=function(a){a&1&&(P(0,MOa,2,1,"ng-container",3),Df(1,11));if(a&2){a=O().$implicit;O();var b=Lf(10);F("ngIf",a.tabIconTemplate);B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(3,IOa,a))}},OOa=function(a,b){if(a&1){var c=w();H(0,"button",7);M("click",function(){var e=x(c).$implicit,g=O();e=e.key;g.internalExpandedTabs.has(e)?g.internalExpandedTabs.delete(e):
g.internalExpandedTabs.add(e);g.expandedTabsChanged.emit(new Set(g.internalExpandedTabs));return z()});S(1,"async");S(2,"async");S(3,"async");P(4,JOa,3,4,"ng-container",8);S(5,"async");P(6,NOa,2,5,"ng-template",null,9,hg);I()}if(a&2){a=b.$implicit;var d=Lf(7);b=O();yf("expanded",!!T(1,8,bo(b.internalExpandedTabs,a.key)));rf("aria-controls","expandable-tabs-",a.key,"-content");pf("aria-label",a.ariaLabel)("aria-expanded",!!T(2,10,bo(b.internalExpandedTabs,a.key)))("aria-selected",!!T(3,12,bo(b.internalExpandedTabs,
a.key)));B(4);F("ngIf",T(5,14,bo(b.internalExpandedTabs,a.key)))("ngIfElse",d)}},QOa=function(a,b){if(a&1){var c=w();K(0);H(1,"button",13);M("click",function(){x(c);var d=O();return z(POa(d))});R(2);I();L()}a&2&&(a=b.ngIf,b=O(),B(1),yf("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",!a.allTabsExpanded),pf("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),B(1),Mf(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},ROa=function(){},SOa=function(a){a&1&&
P(0,ROa,0,0,"ng-template")},TOa=function(a){a&1&&(K(0),P(1,SOa,1,0,null,12),L());a&2&&(a=O(2).$implicit,B(1),F("ngTemplateOutlet",a.tabIconTemplate))},UOa=function(){},VOa=function(a){a&1&&P(0,UOa,0,0,"ng-template")},WOa=function(a){a&1&&(K(0),P(1,VOa,1,0,null,12),L());a&2&&(a=O(2).$implicit,B(1),F("ngTemplateOutlet",a.tabContentTemplate))},XOa=function(a){a&1&&(H(0,"div",15)(1,"h4"),P(2,TOa,2,1,"ng-container",3),Df(3,11),I(),P(4,WOa,2,1,"ng-container",3),I());if(a&2){a=O().$implicit;O();var b=Lf(10);
If("id","expandable-tabs-",a.key,"-content");B(2);F("ngIf",a.tabIconTemplate);B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(5,IOa,a));B(1);F("ngIf",a.tabContentTemplate)}},YOa=function(a,b){a&1&&(K(0),P(1,XOa,5,7,"div",14),S(2,"async"),L());a&2&&(a=b.$implicit,b=O(),B(1),F("ngIf",T(2,1,bo(b.internalExpandedTabs,a.key))))},ZOa=function(){},$Oa=function(a){a&1&&P(0,ZOa,0,0,"ng-template")},aPa=function(a){a&1&&(K(0),P(1,$Oa,1,0,null,12),L());a&2&&(a=O().tab,B(1),F("ngTemplateOutlet",a.tabHeaderTemplate))},
bPa=function(a){a&1&&R(0);a&2&&(a=O().tab,Nf(a.key))},cPa=function(a,b){a&1&&(P(0,aPa,2,1,"ng-container",8),P(1,bPa,1,1,"ng-template",null,16,hg));if(a&2){a=b.tab;var c=Lf(2);F("ngIf",a.tabHeaderTemplate)("ngIfElse",c)}},dPa=function(a){a&1&&J(0,"mat-icon",9)},ePa=function(a){a&1&&(R(0),S(1,"async"));if(a&2){a=O(2);var b;Mf("Screenshots (",null!==(b=T(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},hPa=function(a,b){if(a&1){var c=w();H(0,"inline-images-summary",11);M("click",function(){x(c);
var e=O(3);fPa(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return z()});S(1,"async");I()}if(a&2){a=b.ngIf;b=O(3);var d;F("issueId",a)("imageLinks",null!==(d=T(1,2,b.imageLinks$))&&void 0!==d?d:Rf(4,gPa))}},iPa=function(a){a&1&&(P(0,hPa,2,5,"inline-images-summary",10),S(1,"async"));a&2&&(a=O(2),F("ngIf",T(1,1,a.issueId$)))},jPa=function(a){a&1&&J(0,"mat-icon",12)},kPa=function(a){a&1&&(R(0),S(1,"async"));if(a&2){a=O(2);var b;Mf("Mentioned issues (",null!==(b=T(1,1,a.distinctIssuesCount$))&&
void 0!==b?b:0,")")}},lPa=function(a,b){if(a&1){var c=w();H(0,"b-mentioned-issues",14);M("click",function(){x(c);var d=O(3);fPa(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return z()});I()}a&2&&(a=b.ngIf,b=O(3),F("issueReferences",a)("currentIssueId",b.issueId))},mPa=function(a){a&1&&(P(0,lPa,1,2,"b-mentioned-issues",13),S(1,"async"));a&2&&(a=O(2),F("ngIf",T(1,1,a.issues$)))},nPa=function(a){a&1&&J(0,"mat-icon",15)},oPa=function(a){a&1&&(R(0),S(1,"async"));if(a&2){a=O(2);var b;Mf("Links (",
null!==(b=T(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},pPa=function(a){if(a&1){var b=w();H(0,"related-links-widget",16);M("click",function(){x(b);var d=O(2);fPa(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return z()});S(1,"async");I()}if(a&2){a=O(2);var c;F("links",null!==(c=T(1,2,a.otherLinks$))&&void 0!==c?c:Rf(4,gPa))("issueId",a.issueId)}},rPa=function(a,b){if(a&1){var c=w();H(0,"expandable-tabs",2);M("expandedTabsChanged",function(d){var e=x(c).ngIf,g=O();return z(g.onTabExpanded$.emit({expandedTabKeys:d,
allTabKeys:e}))})("contentShownChanged",function(d){x(c);var e=O(),g=e.issueSummaryTracking;e=e.issueId;for(var h=k(qPa),m=h.next();!m.done;m=h.next())m=m.value,d.has(m)?(pp(g.issueInteractionsTracking,e,m+"-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete(m+"-content-not-shown")):(pp(g.issueInteractionsTracking,e,m+"-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete(m+"-content-shown"));0<d.size?(g.recordImpressionOnce(),pp(g.issueInteractionsTracking,
e,"SW-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(pp(g.issueInteractionsTracking,e,"SW-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return z()});H(1,"expandable-tab",3);P(2,dPa,1,0,"ng-template",4);P(3,ePa,2,3,"ng-template",5);P(4,iPa,2,3,"ng-template",6);I();H(5,"expandable-tab",7);P(6,jPa,1,0,"ng-template",4);P(7,kPa,2,3,"ng-template",5);P(8,mPa,2,3,"ng-template",6);I();H(9,"expandable-tab",
8);P(10,nPa,1,0,"ng-template",4);P(11,oPa,2,3,"ng-template",5);P(12,pPa,2,5,"ng-template",6);I()()}a&2&&(a=b.ngIf,b=O(),F("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),B(1),F("key",b.TabKeys.IMAGES),B(4),F("key",b.TabKeys.MENTIONED_ISSUES),B(4),F("key",b.TabKeys.LINKS))},sPa=function(a){a&1&&(H(0,"div",31),J(1,"img",32),R(2,"\u00a0 "),H(3,"a",33),R(4),I()());if(a&2){a=O().$implicit;var b=O(3);B(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Sd);B(1);Mf("",a.clIds.length+a.pendingChangeLists.length,
" CLs")}},tPa=function(a,b){a&1&&J(0,"b-user-image",34);a&2&&F("email",b.$implicit)},uPa=function(a,b){if(a&1){var c=w();H(0,"div",25);M("click",function(){var e=x(c).$implicit,g=O(3);return z(g.log(e))});H(1,"div",26);P(2,sPa,5,2,"div",27);I();P(3,tPa,1,1,"b-user-image",28);S(4,"slice");H(5,"button",29);J(6,"mat-icon",30);I()()}if(a&2){a=b.$implicit;O(2);var d=Lf(16);B(2);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);B(1);F("ngForOf",Wf(4,3,a.contributors,0,10));B(2);F("matMenuTriggerFor",
d)}},vPa=function(a){a&1&&(K(0),P(1,uPa,7,7,"div",24),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.projectData$)))},wPa=function(a,b){a&1&&(H(0,"div",38),J(1,"div",39),R(2),S(3,"number"),I());if(a&2){a=b.$implicit;b=O().$implicit;var c=O(3);Kf("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");B(1);pf("style",c.makePie(a/100),Aga);B(1);Mf(" ",Vf(3,4,a,"1.0-0"),"% Complete ")}},xPa=function(a){a&1&&(H(0,"div",31),J(1,"mat-icon",40),R(2),I());if(a&2){a=O(3).$implicit;
var b=O();B(2);Mf(" Target: ",b.getEndDate(a)," ")}},zPa=function(a){a&1&&(H(0,"a",33),R(1),I());if(a&2){a=O(2).$implicit;var b=O(3);F("href",b.makeCritiqueUrl(Rf(2,yPa),a.pendingChangeLists),Sd);B(1);Mf("(",a.pendingChangeLists.length," pending)")}},APa=function(a){a&1&&(H(0,"div",31),J(1,"img",32),R(2,"\u00a0 "),H(3,"a",33),R(4),I(),R(5," \u00a0 "),P(6,zPa,2,3,"a",41),I());if(a&2){a=O().$implicit;var b=O(3);B(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Sd);B(1);Mf("",a.clIds.length+
a.pendingChangeLists.length," CLs");B(2);F("ngIf",0<a.pendingChangeLists.length)}},BPa=function(a,b){if(a&1){var c=w();H(0,"div",36);M("click",function(){var e=x(c).$implicit,g=O(3);return z(g.log(e))});P(1,wPa,4,7,"div",37);P(2,xPa,3,1,"div",27);P(3,APa,7,3,"div",27);I()}if(a&2){a=b.$implicit;b=O(2).$implicit;var d=O();B(1);F("ngIf",0<a.totalCount&&(a.totalCount-a.openCount)/a.totalCount*100);B(1);F("ngIf",d.getEndDate(b));B(1);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length)}},CPa=function(a){a&
1&&(K(0),P(1,BPa,4,3,"div",35),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.projectData$)))},EPa=function(a){a&1&&(K(0),J(1,"expandable-issues-table",43),S(2,"async"),L());if(a&2){a=O(2).$implicit;var b=O();B(1);If("saveExpansionAtKey","project-expansion-",a.issueId,"");F("rootIssueId",a.issueId)("filters",b.hackyPrefs.prefs.projectFilters)("tableColumns",b.TABLE_COLUMNS)("options",Rf(8,DPa))("projectData",T(2,6,b.projectData$))}},FPa=function(a){a&1&&(K(0),J(1,"b-issue-description",44)(2,
"hr")(3,"issue-summary-card",45,46),S(5,"async"),J(6,"hr"),H(7,"p",47),R(8," No children. "),H(9,"a",48),R(10,"Add Children"),I()(),L());if(a&2){var b=Lf(4);a=O(2).$implicit;B(1);F("id",a.issueId);B(2);yf("hidden",!T(5,6,b.shouldShowSummaryCard$));F("issueId",a.issueId)("alwaysStartCollapsed",!0);B(6);If("href","/issues/",a.issueId,"/dependencies",Sd)}},GPa=function(a){a&1&&(H(0,"div",42),J(1,"hr"),P(2,EPa,3,9,"ng-container",13),P(3,FPa,11,8,"ng-container",13),I());a&2&&(a=O().$implicit,B(2),F("ngIf",
0<a.childIssueCount),B(1),F("ngIf",0===a.childIssueCount))},HPa=function(a,b){a&1&&(K(0),H(1,"a",51),R(2,"Taskflow"),I(),L());a&2&&(a=b.$implicit,B(1),F("href",a,Sd))},IPa=function(a){a&1&&(K(0),H(1,"a",52),R(2),I(),L());if(a&2){a=O().$implicit;var b=O(3);B(1);F("href",b.makeScreenshotViewUrl(a.screenshots),Sd);B(1);Mf("",a.screenshots.length," Screenshots")}},JPa=function(a,b){a&1&&(K(0),P(1,IPa,3,2,"ng-container",13),L());a&2&&(a=b.$implicit,B(1),F("ngIf",3<a.screenshots.length))},KPa=function(a,
b){a&1&&(K(0),J(1,"activity-stream",53),L());a&2&&(a=b.$implicit,B(1),F("activityEvents",a)("title","Project Activity"))},LPa=function(a){a&1&&J(0,"b-spinner")},MPa=function(a){a&1&&(H(0,"footer"),J(1,"hr"),H(2,"a",49),R(3,"Launch"),I(),P(4,HPa,3,1,"ng-container",13),S(5,"async"),P(6,JPa,2,1,"ng-container",13),S(7,"async"),J(8,"hr"),P(9,KPa,2,2,"ng-container",1),S(10,"async"),P(11,LPa,1,0,"ng-template",null,50,hg),I());if(a&2){var b=Lf(12);a=O(2);B(4);F("ngIf",T(5,4,a.taskFlowLink$));B(2);F("ngIf",
T(7,6,a.projectData$));B(3);F("ngIf",T(10,8,a.projectActivityStream$))("ngIfElse",b)}},NPa=function(a,b){if(a&1){var c=w();K(0);H(1,"header",3)(2,"aside",4)(3,"div",5)(4,"button",6);M("click",function(){var d=x(c).$implicit,e=O();return z(Rn(e.hackyPrefs,d.issueId))});R(5,"Add");I()()();H(6,"div",7)(7,"div",3)(8,"div",8)(9,"span",9)(10,"a",10);R(11);I();H(12,"button",11);M("click",function(){var d=x(c).$implicit,e=O();return z(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});J(13,"mat-icon",
12);I()()();P(14,vPa,3,3,"ng-container",13);I()();H(15,"mat-menu",null,14)(17,"button",15);M("click",function(){var d=x(c).$implicit,e=O();return z(qp(e.hackyPrefs,d.issueId,-1))});J(18,"mat-icon",16);H(19,"span",17);R(20,"Move up");I()();H(21,"button",15);M("click",function(){var d=x(c).$implicit,e=O();return z(qp(e.hackyPrefs,d.issueId,1))});J(22,"mat-icon",18);H(23,"span",17);R(24,"Move down");I()();J(25,"mat-divider");H(26,"button",19);M("click",function(){var d=x(c).$implicit,e=O();return z(rp(e.hackyPrefs,
d.issueId))});J(27,"mat-icon",20);H(28,"span",17);R(29,"Remove from My Projects");I()();H(30,"a",21);J(31,"mat-icon",22);H(32,"span",17);R(33,"View Issue Relationships");I()()()();P(34,CPa,3,3,"ng-container",13);P(35,GPa,4,2,"div",23);P(36,MPa,13,10,"footer",13);L()}a&2&&(a=b.$implicit,b=O(),B(10),If("href","/issues/",a.issueId,"/dependencies",Sd),B(1),Mf(" ",a.snapshot[0].title," "),B(3),F("ngIf",!b.addMode),B(3),F("disabled",!sp(b.hackyPrefs,a.issueId,-1)),B(4),F("disabled",!sp(b.hackyPrefs,a.issueId,
1)),B(9),If("href","/issues/",a.issueId,"/dependencies",Sd),B(4),F("ngIf",!b.isCollapsed(a.issueId)),B(1),F("ngIf",!b.isCollapsed(a.issueId)),B(1),F("ngIf",!b.isCollapsed(a.issueId)&&0<a.childIssueCount))},OPa=function(a){a&1&&(K(0),J(1,"b-spinner"),L())},PPa=function(a){if(a&1){var b=w();H(0,"p",55);R(1);H(2,"a",56);M("click",function(){x(b);var c=O(2);return z(rp(c.hackyPrefs,c.issueId))});R(3," Remove ");I()()}a&2&&(a=O(2),B(1),Mf(" b/",a.issueId," "))},QPa=function(a){a&1&&(P(0,OPa,2,0,"ng-container",
1),P(1,PPa,4,1,"ng-template",null,54,hg));if(a&2){var b=Lf(2);a=O();F("ngIf",a.issueFridge.isThinking(a.issueId))("ngIfElse",b)}},SPa=function(a){a=RPa(a);null!=a?(a=a.dateValue,a=new Date(a.year,a.month-1,a.day)):a=void 0;if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},UPa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+TPa+"&description="+a},VPa=function(a,b){a&1&&(K(0),
J(1,"issue-as-project-card",9),L());a&2&&(a=b.$implicit,B(1),F("issueId",a.issueId)("addMode",!0))},WPa=function(a){a&1&&(H(0,"p",3),R(1,"No projects found."),I())},XPa=function(a){if(a&1){var b=w();H(0,"button",10);M("click",function(){x(b);var c=O(2);return z(c.suggestionCount=2*c.suggestionCount)});R(1," Show more ");I()}},YPa=function(a,b){a&1&&(K(0),H(1,"div",2)(2,"p",3)(3,"a",4),J(4,"mat-icon",5),I(),R(5," Issues calculated from parent/child work items. "),I(),P(6,VPa,2,2,"ng-container",6),
S(7,"slice"),P(8,WPa,2,0,"p",7),P(9,XPa,2,0,"button",8),I(),L());a&2&&(a=b.ngIf,b=O(),B(6),F("ngForOf",Wf(7,3,a,0,b.suggestionCount)),B(2),F("ngIf",0===a.length),B(1),F("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},ZPa=function(a){a&1&&(H(0,"p",3),J(1,"b-spinner"),R(2," Loading project suggestions... "),I())},$Pa=function(a){a&1&&(H(0,"p",11),R(1),I());a&2&&(a=O(),B(1),Mf(" ",a.errorMsg," "))},aQa=function(a){if(a&1){var b=w();H(0,"aside",12)(1,"div",13)(2,"h2");R(3,"Hotlist Suggestions");
I();H(4,"suggested-hotlists",14);M("click",function(c){x(b);var d=O();jwa(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return z()});I()();H(5,"div",13)(6,"h2");R(7,"Project Suggestions");I();H(8,"suggested-issue-projects",15);M("click",function(c){x(b);var d=O();jwa(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return z()});I()()()}a&2&&(B(4),F("suggestionCount",5)("disableShowMore",!0),B(4),F("suggestionCount",5)("disableShowMore",!0))},bQa=function(a){if(a&1){var b=w();H(0,"div",3);M("@arrowPosition.start",
function(){x(b);var c=O();return z(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){x(b);var c=O();return z(c._disableViewStateAnimation=!1)});J(1,"div",4);H(2,"div",5);J(3,"div",6)(4,"div",7)(5,"div",8);I()()}a&2&&(a=O(),F("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),B(2),F("@indicator",a._getArrowDirectionState()),B(1),F("@leftPointer",a._getArrowDirectionState()),B(1),F("@rightPointer",a._getArrowDirectionState()))},
cQa=function(a){a&1&&J(0,"th",25)},dQa=function(a){a&1&&J(0,"td",26)},eQa=function(a){a&1&&(H(0,"th",25),R(1," Id "),I())},fQa=function(a,b){a&1&&(H(0,"td",27),J(1,"b-issue-id-cell",28),I());a&2&&(a=b.$implicit,B(1),F("id",a.id))},gQa=function(a){a&1&&(H(0,"th",25),R(1," Title "),I())},hQa=function(a,b){a&1&&(H(0,"td",27),J(1,"b-issue-title-cell",29),S(2,"async"),I());a&2&&(a=b.$implicit,b=O(),B(1),F("issue",T(2,2,a.issue$))("issueUrlFactory",b.issueUrlFactory))},iQa=function(a){a&1&&(H(0,"th",30),
R(1," Type "),I())},jQa=function(a,b){a&1&&(H(0,"td",27),J(1,"b-issue-type-cell",31),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},kQa=function(a){a&1&&Df(0)},lQa=function(a){a&1&&(K(0),R(1,"Assignee"),L())},mQa=function(a){a&1&&(H(0,"th",32),K(1,33),P(2,kQa,1,0,"ng-container",34),P(3,lQa,2,0,"ng-container",35),L(),I());a&2&&(a=O(),B(1),F("ngSwitch",a.options.assigneeMode),B(1),F("ngSwitchCase","avatar-if-open"))},nQa=function(a,b){a&1&&J(0,"b-user-image",38);a&2&&F("email",
b.$implicit)},oQa=function(a){a&1&&(K(0),P(1,nQa,1,1,"b-user-image",37),L());if(a&2){a=O().$implicit;var b=O(3);B(1);F("ngIf",b.getAssigneeString(a))}},pQa=function(a,b){a&1&&(K(0),P(1,oQa,2,1,"ng-container",36),L());a&2&&(a=b.$implicit,b=O(3),B(1),F("ngIf",b.isOpen(a)))},qQa=function(a){a&1&&(K(0),P(1,pQa,2,1,"ng-container",36),S(2,"async"),L());a&2&&(a=O().$implicit,B(1),F("ngIf",T(2,1,a.issue$)))},rQa=function(a){a&1&&(K(0),J(1,"b-issue-assignee-cell",31),S(2,"async"),L());a&2&&(a=O().$implicit,
B(1),F("issue",T(2,1,a.issue$)))},sQa=function(a){a&1&&(H(0,"td",27),K(1,33),P(2,qQa,3,3,"ng-container",34),P(3,rQa,3,3,"ng-container",35),L(),I());a&2&&(a=O(),B(1),F("ngSwitch",a.options.assigneeMode),B(1),F("ngSwitchCase","avatar-if-open"))},tQa=function(a){a&1&&(H(0,"th",39),R(1," Reporter "),I())},uQa=function(a,b){a&1&&(H(0,"td",27),J(1,"b-issue-reporter-cell",31),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},vQa=function(a){a&1&&(H(0,"th",40),R(1," Priority "),I())},
wQa=function(a,b){a&1&&(H(0,"td",27),J(1,"b-issue-priority-display",41),I());a&2&&(a=b.$implicit,b=O(),B(1),F("issuePriority",b.getPriority(a)))},xQa=function(a){a&1&&(H(0,"th",42),R(1," Status "),I())},yQa=function(a,b){a&1&&(H(0,"td",27),J(1,"b-issue-status-cell",31),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},zQa=function(a){a&1&&(H(0,"th",25),R(1," Team "),I())},AQa=function(a,b){a&1&&(H(0,"td",27),J(1,"b-issue-team-cell",31),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),
F("issue",T(2,1,a.issue$)))},BQa=function(a){a&1&&(H(0,"th",43),R(1," Created "),I())},CQa=function(a,b){a&1&&(H(0,"td",27),J(1,"b-issue-created-time-cell",31),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},DQa=function(a){a&1&&(H(0,"th",44),R(1," Last Modified "),I())},EQa=function(a,b){a&1&&(K(0),J(1,"b-formatted-date-time",47),L());a&2&&(a=b.$implicit,B(1),F("timestamp",a/1E3))},FQa=function(a){a&1&&R(0,"--")},GQa=function(a,b){a&1&&(H(0,"td",27),P(1,EQa,2,1,"ng-container",
45),P(2,FQa,1,0,"ng-template",null,46,hg),I());if(a&2){a=b.$implicit;var c=Lf(3);b=O();B(1);F("ngIf",b.getModifiedTimeMicros(a))("ngIfElse",c)}},HQa=function(a){a&1&&J(0,"th",25)},IQa=function(a,b){a&1&&(H(0,"td",27)(1,"b-actions-menu",48),M("click",function(c){return c.stopPropagation()}),I()());a&2&&(a=b.$implicit,b=O(),B(1),F("menuItems",b.getMenuItems(a.id)))},JQa=function(a){a&1&&J(0,"tr",49)},KQa=function(a,b){if(a&1){var c=w();H(0,"tr",50);M("click",function(d){var e=x(c).$implicit,g=O();return z(g.navigateToIssue(d,
e.id))})("mouseup",function(d){var e=x(c).$implicit,g=O();return z(g.navigateToIssue(d,e.id))})("focusin",function(){var d=x(c).$implicit,e=O();return z(co(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,g=O();return z(g.onRowKeydown(e,d))});I()}a&2&&F("row",b.$implicit)},LQa=function(a,b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},Pl=function(a){return An(a.issue$)},MQa=function(a){var b,c,d;return null==(b=An(a.issue$))?void 0:null==(c=b.snapshot)?void 0:null==(d=c[0])?
void 0:d.priority},NQa=function(a){var b,c;return null==(b=An(a.issue$))?void 0:null==(c=b.aggregatedData)?void 0:c.modifiedTimeMicros},OQa=function(a,b){if(!b||!b.direction)return a;switch(b.active){case "status":return pva()(a,b.direction);case "assignee":return qva()(a,b.direction);case "reporter":return sva()(a,b.direction);case "type":return rva()(a,b.direction);case "createdTime":return tva()(a,b.direction);default:return a}},PQa=function(a){a&1&&(H(0,"div"),J(1,"b-slo-time-indicator",1),I());
a&2&&(a=O(),B(1),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},QQa=function(a){a&1&&(H(0,"div"),J(1,"b-slo-time-indicator",2),I());a&2&&(a=O(),B(1),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},RQa=function(a){a&1&&(H(0,"div"),J(1,"b-slo-time-indicator",3),I());a&2&&(a=O(),B(1),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",
!0))},SQa=function(a){a&1&&(H(0,"div",8),J(1,"b-slo-status-summary",9),I());a&2&&(a=O(),B(1),F("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},TQa=function(a){a&1&&(K(0),R(1," No applicable SLO rules "),L())},UQa=function(a){a&1&&(K(0),R(1," No SLO set on issue component "),L())},VQa=function(a){a&1&&(H(0,"div",10),P(1,TQa,2,0,"ng-container",7),P(2,UQa,2,0,"ng-container",7),I());a&2&&(a=O(),B(1),F("ngIf",a.editSloLink),B(1),F("ngIf",!a.editSloLink))},WQa=
function(a){if(a&1){var b=w();H(0,"a",12);M("click",function(){x(b);var c=O(2);return z(c.trackOpenSlo())});R(1);I()}a&2&&(a=O(2),F("href",a.editSloLink,Sd),B(1),Mf(" ",a.sloName," "))},XQa=function(a){a&1&&(H(0,"span"),R(1," (private) "),I())},YQa=function(a){a&1&&(H(0,"span"),R(1," SLO definition: "),P(2,WQa,2,2,"a",11),P(3,XQa,2,0,"span",7),I());a&2&&(a=O(),B(2),F("ngIf",a.sloName),B(1),F("ngIf",!a.sloName))},ZQa=function(a,b){if(a&1){var c=w();H(0,"div",5)(1,"mat-checkbox",6);M("change",function(d){var e=
x(c).$implicit,g=O();e=e.key;d.checked?g.updatedColumns.push(e):g.updatedColumns.splice(g.updatedColumns.indexOf(e),1);return z()});I();R(2);I()}a&2&&(a=b.$implicit,b=O(),B(1),F("checked",b.currentColumns.includes(a.key)),B(1),Mf(" ",a.value," "))},$Qa=function(a){a&1&&(H(0,"div",15),J(1,"img",16),R(2,"\u00a0 "),H(3,"a",17),R(4),I()());if(a&2){a=O().$implicit;var b=O(2);B(3);F("href",b.makeCritiqueUrl(a.clIds),Sd);B(1);Mf("",a.clIds.length," CLs")}},aRa=function(a,b){a&1&&J(0,"b-user-image",18);a&
2&&F("email",b.$implicit)},bRa=function(a,b){if(a&1){var c=w();H(0,"div",11);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.log(d))});H(1,"div",12);P(2,$Qa,5,2,"div",13);I();P(3,aRa,1,1,"b-user-image",14);I()}a&2&&(a=b.$implicit,B(2),F("ngIf",0<a.clIds.length),B(1),F("ngForOf",a.contributors))},cRa=function(a){a&1&&(K(0),J(1,"b-issue-priority-display",20),L());a&2&&(a=O().$implicit,B(1),F("issuePriority",a))},dRa=function(a,b){a&1&&(K(0),P(1,cRa,2,1,"ng-container",10),L());a&2&&(a=b.$implicit,
B(1),F("ngIf","P0"===a||"P1"===a))},eRa=function(a){a&1&&(K(0),H(1,"div"),R(2),H(3,"a",21),R(4,"View as project"),I()(),L());a&2&&(a=O(2).$implicit,B(2),Of(" \ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66 ",a.childIssueCount," ",1===a.childIssueCount?"child":"children",". "))},fRa=function(a){a&1&&(H(0,"div",15),J(1,"img",16),R(2,"\u00a0 "),H(3,"a",17),R(4),I()());if(a&2){a=O().$implicit;var b=O(2);B(3);F("href",b.makeCritiqueUrl(a.clIds),Sd);B(1);Mf("",a.clIds.length," CLs")}},gRa=function(a,b){if(a&
1){var c=w();H(0,"div",19);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.log(d))});P(1,dRa,2,1,"ng-container",10);P(2,eRa,5,2,"ng-container",10);P(3,fRa,5,2,"div",13);I()}a&2&&(a=b.$implicit,b=O().$implicit,B(1),F("ngIf",b.snapshot[0].priority),B(1),F("ngIf",0<b.childIssueCount),B(1),F("ngIf",0<a.clIds.length))},hRa=function(a,b){if(a&1){var c=w();K(0);H(1,"p",22);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.log(d))});R(2," Description: ");I();H(3,"p");R(4);S(5,"slice");
I();L()}a&2&&(a=b.$implicit,B(4),Mf(" ",Wf(5,1,null==a.firstEvent?null:a.firstEvent.unlinkifiedComment,0,300)," "))},iRa=function(a,b){if(a&1){var c=w();H(0,"div",1);M("click",function(){var d=x(c).$implicit,e=O();return z(e.log(d))});H(1,"div",2)(2,"div")(3,"span",3)(4,"a",4);R(5);I();H(6,"i",5);M("click",function(){var d=x(c).$implicit,e=O();return z(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});I()();H(7,"span",6);R(8);I()();P(9,bRa,4,2,"div",7);S(10,"async");I();P(11,gRa,4,3,"div",8);
S(12,"async");H(13,"div",9);P(14,hRa,6,5,"ng-container",10);S(15,"async");I();J(16,"div",2);I()}a&2&&(a=b.$implicit,b=O(),yf("collapsed",b.prefs.collapsed["project-"+a.issueId]),B(4),If("href","/issues/",a.issueId,"/dependencies",Sd),B(1),Mf(" ",a.snapshot[0].title," "),B(3),Mf(" ",a.issueId," "),B(1),F("ngIf",T(10,8,b.projectData$)),B(2),F("ngIf",T(12,10,b.projectData$)),B(3),F("ngIf",T(15,12,b.issueFr$)))},kRa=function(a){a=jRa(a);null!=a?(a=a.dateValue,a=new Date(a.year,a.month-1,a.day)):a=void 0;
if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},mRa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+lRa+"&description="+a},oRa=function(a){if(a&1){var b=w();H(0,"mat-slide-toggle",23);M("ngModelChange",function(c){x(b);var d=O();return z(d.isAssignedToMeOnly=c)})("change",function(c){x(b);var d=O();return z(nRa(d,c.checked))});R(1," Assigned only ");I()}a&2&&(a=O(),F("ngModel",
a.isAssignedToMeOnly))},pRa=function(a,b){a&1&&(K(0),J(1,"flat-issues-table",24),L());a&2&&(a=b.ngIf,b=O(),B(1),F("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},qRa=function(a){a&1&&J(0,"b-spinner")},rRa=function(a){a&1&&(H(0,"div",29),J(1,"img",30),R(2,"\u00a0 "),H(3,"a",31),R(4),I()());if(a&2){a=O().ngIf;var b=O(3);B(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Sd);B(1);Mf("",a.clIds.length+a.pendingChangeLists.length," CLs")}},sRa=function(a,
b){a&1&&J(0,"b-user-image",32);a&2&&F("email",b.$implicit)},tRa=function(a,b){a&1&&(H(0,"div",23)(1,"div",24),P(2,rRa,5,2,"div",25),I(),P(3,sRa,1,1,"b-user-image",26),S(4,"slice"),H(5,"button",27),J(6,"mat-icon",28),I()());if(a&2){a=b.ngIf;O(2);var c=Lf(17);B(2);F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);B(1);F("ngForOf",Wf(4,3,a.contributors,0,10));B(2);F("matMenuTriggerFor",c)}},uRa=function(a){a&1&&(K(0),P(1,tRa,7,7,"div",22),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.savedSearchAggregatedData$)))},
wRa=function(a){a&1&&(H(0,"a",31),R(1),I());if(a&2){a=O(2).$implicit;var b=O(3);F("href",b.makeCritiqueUrl(Rf(2,vRa),a.pendingChangeLists),Sd);B(1);Mf("(",a.pendingChangeLists.length," pending)")}},xRa=function(a){a&1&&(H(0,"div",29),J(1,"img",30),R(2,"\u00a0 "),H(3,"a",31),R(4),I(),R(5," \u00a0 "),P(6,wRa,2,3,"a",35),I());if(a&2){a=O().$implicit;var b=O(3);B(3);F("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),Sd);B(1);Mf("",a.clIds.length+a.pendingChangeLists.length," CLs");B(2);F("ngIf",
0<a.pendingChangeLists.length)}},yRa=function(a,b){a&1&&(H(0,"div",34),P(1,xRa,7,3,"div",25),I());a&2&&(a=b.$implicit,B(1),F("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},zRa=function(a){a&1&&(K(0),P(1,yRa,2,1,"div",33),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.savedSearchAggregatedData$)))},ARa=function(a,b){a&1&&(K(0),J(1,"flat-issues-table",39),L());a&2&&(a=b.ngIf,b=O(3),B(1),F("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},BRa=
function(a){a&1&&(H(0,"div",36),P(1,ARa,2,3,"ng-container",11),S(2,"slice"),S(3,"async"),H(4,"div",37)(5,"a",38),R(6,"View all issues"),I()()());if(a&2){a=O().ngIf;var b=O();B(1);F("ngIf",Wf(2,2,T(3,6,b.savedSearchIssueIds$),0,10));B(4);If("href","/savedsearches/",a.searchId,"",Sd)}},CRa=function(a){a&1&&(K(0),J(1,"activity-stream",42),S(2,"async"),L());a&2&&(a=O(3),B(1),F("activityEvents",T(2,1,a.savedSearchActivityEvents$)))},DRa=function(a){a&1&&J(0,"b-spinner")},ERa=function(a){a&1&&(H(0,"footer"),
J(1,"hr"),P(2,CRa,3,3,"ng-container",40),S(3,"async"),P(4,DRa,1,0,"ng-template",null,41,hg),I());if(a&2){var b=Lf(5);a=O(2);B(2);F("ngIf",T(3,2,a.savedSearchActivityEvents$))("ngIfElse",b)}},FRa=function(a,b){if(a&1){var c=w();H(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);M("click",function(){var d=x(c).ngIf,e=O();return z(Rn(e.hackyPrefs,"savedsearch-"+d.searchId))});R(5,"Add");I()()();H(6,"div",6)(7,"span",7)(8,"a",8);R(9);I();H(10,"button",9);M("click",function(){var d=x(c).ngIf,
e=O();return z(e.hackyPrefs.toggleCollapsed("savedsearch-"+d.searchId))});J(11,"mat-icon",10);I()()();P(12,uRa,3,3,"ng-container",11);I();P(13,zRa,3,3,"ng-container",11);P(14,BRa,7,8,"div",12);P(15,ERa,6,4,"footer",11);H(16,"mat-menu",null,13)(18,"button",14);M("click",function(){var d=x(c).ngIf,e=O();return z(e.reorder(d.searchId,-1))});J(19,"mat-icon",15);H(20,"span",16);R(21,"Move up");I()();H(22,"button",14);M("click",function(){var d=x(c).ngIf,e=O();return z(e.reorder(d.searchId,1))});J(23,"mat-icon",
17);H(24,"span",16);R(25,"Move down");I()();J(26,"mat-divider");H(27,"button",18);M("click",function(){var d=x(c).ngIf,e=O();rp(e.hackyPrefs,Wl(d.searchId));return z()});J(28,"mat-icon",19);H(29,"span",16);R(30,"Remove from My Projects");I()();H(31,"a",20);J(32,"mat-icon",21);H(33,"span",16);R(34,"View Saved Search");I()()()()}a&2&&(a=b.ngIf,b=O(),yf("never-collapse-mode",b.neverCollapse)("collapsed",b.isCollapsed(a)),B(8),If("href","/savedsearches/",a.searchId,"",Sd),B(1),Mf(" ",a.name," "),B(3),
F("ngIf",!b.addMode),B(1),F("ngIf",!b.isCollapsed(a)),B(1),F("ngIf",!b.isCollapsed(a)),B(1),F("ngIf",!b.isCollapsed(a)),B(3),F("disabled",!b.canMove(a.searchId,-1)),B(4),F("disabled",!b.canMove(a.searchId,1)),B(9),If("href","/savedsearches/",a.searchId,"",Sd))},GRa=function(a){a&1&&J(0,"mat-pseudo-checkbox",5);a&2&&(a=O(),F("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},HRa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},up=function(a,
b){b=void 0===b?{}:b;return null==b.id?"":tp(a,b)},tp=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&(a=Fwa(a,b));c&&(a=a+"#"+c);return a},IRa=function(a){if(a&1){var b=w();H(0,"button",7);M("click",function(){x(b);var c=O(2);return z(c.removeHotlist.emit())});J(1,"mat-icon",8);I()}a&2&&(a=O(2),yf("invisible",a.disabled),pf("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},JRa=function(a){a&1&&(K(0),H(1,"span",1)(2,"span",2)(3,"a",3),R(4),I()(),P(5,IRa,
2,4,"button",4),I(),H(6,"onedev-hovercard",null,5),J(8,"b-hotlist-card",6),I(),L());if(a&2){var b=Lf(7);a=O();B(1);xf("padding-right",a.removable?0:"10px");yf("muted",a.disabled);F("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);B(2);F("href",a.pathBuilder.viewHotlist(a.hotlist.hotlistId),Sd);pf("aria-label",a.getAriaLabel(a.hotlist));B(1);Nf(a.hotlist.name);B(1);F("ngIf",a.removable);B(3);F("hotlist",a.hotlist)}},KRa=function(a){a&1&&J(0,"mat-icon",3)},LRa=function(a){a&1&&J(0,
"b-spinner")},MRa=function(a){if(a&1){var b=w();H(0,"b-star-toggle",9);M("starClicked",function(){x(b);var c=O(2);return z(c.starClicked.emit())});S(1,"async");S(2,"async");I()}a&2&&(a=O(2),F("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!T(1,4,bo(a.isSavingStar,a.hotlist.hotlistId)))("starred",T(2,6,bo(a.starredHotlists,a.hotlist.hotlistId))))},NRa=function(a){a&1&&(H(0,"p",10),R(1),I());a&2&&(a=O(2),B(1),Mf(" ",a.hotlist.description," "))},ORa=function(a){a&
1&&(H(0,"div",1)(1,"div",2)(2,"label",3),R(3),I(),H(4,"span",4),P(5,MRa,3,8,"b-star-toggle",5),H(6,"a",6),M("click",function(b){return b.stopPropagation()})("keydown.enter",function(b){return b.stopPropagation()}),J(7,"mat-icon",7),I()()(),P(8,NRa,2,1,"p",8),I());a&2&&(a=O(),B(3),Mf(" ",a.hotlist.name," "),B(2),F("ngIf",a.shouldShowStar(a.hotlist)),B(1),F("routerLink",a.paths.viewHotlist(a.hotlist.hotlistId)),B(2),F("ngIf",!a.isCompact&&a.hotlist.description))},PRa=function(a){a&1&&Df(0)},QRa=function(a){a&
1&&(K(0),P(1,PRa,1,0,"ng-container",6),L());if(a&2){O();var b=Lf(12);B(1);F("ngTemplateOutlet",b)}},RRa=function(a){a&1&&Df(0)},SRa=function(a){a&1&&(K(0),P(1,RRa,1,0,"ng-container",6),L());if(a&2){O();var b=Lf(6);B(1);F("ngTemplateOutlet",b)}},VRa=function(a){if(a&1){var b=w();H(0,"button",7);M("click",function(){x(b);var c=O();return z(TRa(c))});R(1," Create ");I()}a&2&&(a=O(),F("disabled",!(0<URa(a).length)))},WRa=function(a){if(a&1){var b=w();H(0,"button",8);M("click",function(){x(b);var c=O();
return z(vp(c))});R(1);I()}a&2&&(a=O(),F("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),pf("aria-label",a.saveBtnTooltip),B(1),Mf(" ",a.saveBtnLabel," "))},YRa=function(a){if(a&1){var b=w();H(0,"button",19);M("click",function(){x(b);var c=O(2),d=di(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),vp(c)):XRa(c,d);return z()});R(1);S(2,"async");H(3,"span",20);R(4,"(add hotlist by ID)");I()()}a&2&&(a=O(2),B(1),Mf(" ",T(2,1,a.query$)," "))},ZRa=function(a){if(a&
1){var b=w();H(0,"button",21);M("click",function(){x(b);O(2).showCreateNewPane=!0;return z()});R(1);S(2,"async");H(3,"span",20);R(4,"(create new)");I()()}a&2&&(a=O(2),B(1),Mf(" ",T(2,1,a.query$)," "))},$Ra=function(a,b){if(a&1){var c=w();K(0);H(1,"div",25,26);S(3,"async");H(4,"mat-list-option",27);M("focus",function(){x(c);var g=Lf(2);return z(g.show())})("blur",function(){x(c);var g=Lf(2);return z(g.hide())});S(5,"async");H(6,"hotlist-matlist-option",28);M("starClicked",function(){var g=x(c).$implicit,
h=O(3);return z(h.toggleStar(g.hotlistId))});I()()();L()}if(a&2){a=b.$implicit;b=O(3);var d,e;B(1);F("matTooltip",!1===(null==(d=T(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");B(3);xf("height","auto");F("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",!1===(null==(e=T(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);B(2);F("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},aSa=function(a){if(a&1){var b=w();K(0);
H(1,"div",29)(2,"span",20);R(3," The number of hotlists is too large to show at once. ");I();H(4,"button",30);M("click",function(){x(b);var c=O(3);return z(c.forceShowOverflow$.next(!0))});R(5," Show all anyway ");I()();L()}},bSa=function(a,b){if(a&1){var c=w();K(0);H(1,"mat-selection-list",22,23);M("selectionChange",function(d){x(c);var e=O(2);return z(e.onChangeMatList(d))});P(3,$Ra,7,14,"ng-container",24);I();P(4,aSa,6,0,"ng-container",18);S(5,"async");L()}a&2&&(a=b.$implicit,b=O(2),B(3),F("ngForOf",
a)("ngForTrackBy",b.trackByHotlistId),B(1),F("ngIf",T(5,3,b.isOverflowMode$)))},cSa=function(a){if(a&1){var b=w();H(0,"header",9)(1,"h2");R(2,"Search for Hotlists");I();H(3,"div",10);J(4,"mat-icon",11);H(5,"input",12,13);M("input",function(){x(b);var c=Lf(6);O().query$.next(c.value);return z()});I()()();H(7,"section",14,15);P(9,YRa,5,3,"button",16);S(10,"async");P(11,ZRa,5,3,"button",17);S(12,"async");P(13,bSa,6,5,"ng-container",18);S(14,"async");I()}a&2&&(a=O(),B(9),F("ngIf",T(10,3,a.showLoadById$)),
B(2),F("ngIf",T(12,5,a.showCreateNew$)),B(2),F("ngIf",T(14,7,a.visibleHotlists$)))},dSa=function(a){a&1&&(H(0,"header",9)(1,"h2"),R(2,"Create new hotlist"),I()(),H(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",34),R(7,"Name"),I(),J(8,"input",35),H(9,"label",36),R(10,"Description"),I(),J(11,"textarea",37),H(12,"p",20),R(13," Note: Access controls can be adjusted after the hotlist is created. "),I()()()());a&2&&(a=O(),B(5),F("formGroup",a.hotlistUnderEdit))},eSa=function(a,b){return a.name.localeCompare(b.name)},
fSa=function(a,b){if(null==a||""===a.trim())return!1;b=b.map(function(c){var d;return null==(d=c.name)?void 0:d.toLowerCase()});a=a.toLowerCase();return!b.includes(a)},gSa=function(a){var b,c=null!=(b=null==a?void 0:a.added.length)?b:0,d;b=null!=(d=null==a?void 0:a.removed.length)?d:0;return a?0<c&&0===b?["Add ("+c+")","Add "+c+" hotlist(s)"]:0===c&&0<b?["Remove ("+b+")","Remove "+b+" hotlist(s)"]:["Save","Save all changes ("+c+" added, "+b+" removed)"]:["Save","(No changes)"]},hSa=function(a,b){a&
1&&(H(0,"span",11),R(1," of "),H(2,"a",12),R(3),I()());if(a&2){a=b.$implicit;O(2);var c=Lf(12);B(2);If("routerLink","/issues/",a,"");F("onedevHovercardTrigger",c);B(1);Mf(" ",a," ")}},iSa=function(a,b){a&1&&(H(0,"div")(1,"div",9),S(2,"async"),R(3),I(),P(4,hSa,4,3,"span",10),S(5,"async"),I());a&2&&(a=b.$implicit,b=O(),B(1),Bf("chippy ",T(2,6,b.statusCssClass$),""),F("title",b.STATUS_JS_FULL_TEXT[a]),B(2),Mf(" ",b.STATUS_JS_TERSE[a]," "),B(1),F("ngIf",T(5,8,b.canonicalId$)))},jSa=function(a,b){a&1&&
(H(0,"span"),R(1),I());a&2&&(a=b.$implicit,b=O(),Bf("b-chip squared issue-type-",a,""),B(1),Mf(" ",b.ISSUE_TYPE_JS_TEXT[a]," "))},lSa=function(a,b){if(a&1){var c=w();H(0,"b-hotlist-chip-smart",17);M("removeHotlist",function(){var d=x(c).$implicit,e=O(2);return z(kSa(e,d))});I()}a&2&&F("id",b.$implicit)},nSa=function(a,b){if(a&1){var c=w();H(0,"div",13)(1,"button",14);M("onHotkey",function(){x(c);var d=O();return z(mSa(d))})("click",function(){x(c);var d=O();return z(mSa(d))});J(2,"mat-icon",15);R(3);
S(4,"async");I();P(5,lSa,1,1,"b-hotlist-chip-smart",16);I()}a&2&&(a=b.$implicit,b=O(),B(1),F("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),B(2),Mf(" ",T(4,3,b.textOfHotlistBtn$)," "),B(2),F("ngForOf",a))},oSa=function(a){a&1&&(H(0,"div",18),J(1,"smart-full-history-btn"),I())},pSa=function(a){a&1&&(J(0,"b-issue-card",19,20),S(2,"async"));if(a&2){var b=Lf(1);a=O();F("onedevIsHovercardReady",b.init)("issueId",T(2,2,a.canonicalId$))}},qSa=function(a){return null==a?void 0:a.snapshot[0].hotlistId},rSa=function(a){a&
1&&(H(0,"h3",4,5),R(2),I());a&2&&(a=O(),pf("title",a.isLongTitle?a.titlePlain:""),B(2),Mf(" ",a.titleTruncated," "))},tSa=function(a){if(a&1){var b=w();H(0,"mat-form-field")(1,"input",6,7);M("keyup",function(c){x(b);var d=O();return z(sSa(d,c))})("blur",function(){x(b);var c=O();return z(c.bannedWordsService.showWarning(c.bannedWordsWarning)?"":sSa(c,null))});I()()}a&2&&(a=O(),xf("width",a.editModeWidth,"px"),yf("banned-words-warning",a.bannedWordsService.showWarning(a.bannedWordsWarning)),B(1),F("value",
a.titlePlain))},vSa=function(a){if(a&1){var b=w();H(0,"button",8);M("click",function(){x(b);var c=O();return z(uSa(c))});J(1,"mat-icon",9);I()}a&2&&(a=O(),F("disabled",a.disabled))},wSa=function(a){a&1&&(H(0,"p",10),R(1),I());a&2&&(a=O(),B(1),Mf(" ",a.bannedWordsWarning.matchedPatterns.join(", ")," is restricted.\n"))},ySa=function(a,b){if(a&1){var c=w();H(0,"button",1);M("click",function(){x(c);var d=O();return z(xSa(d))});S(1,"async");R(2);I()}a&2&&(a=b.ngIf,b=O(),F("disabled",b.disabled||b.fridge.isSaving(b.internalIssueId)||
!1===T(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),B(2),Mf(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},zSa=function(a){a&1&&(H(0,"p",12),R(1),I());a&2&&(a=O(),B(1),Mf(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},ASa=function(a){a&1&&(H(0,"p",13),R(1),I());a&2&&(a=O(),B(1),Mf(" Your status update contains restricted words: ",a.bannedWordsWarning.matchedPatterns.join(", "),". Review your status update before posting. "))},BSa=
function(a){a&1&&(H(0,"div",14),J(1,"b-live-preview",15),I());a&2&&(a=O(),B(1),F("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},CSa=function(a,b){a&1&&(H(0,"li",6)(1,"div",7),J(2,"b-user-image",8),I(),H(3,"div",9),J(4,"b-user-display",10)(5,"b-formatted-date-time",11),H(6,"p",12),R(7," Formatting: "),H(8,"code",13),R(9),I()(),J(10,"br"),H(11,"span",14)(12,"b-person-hovercard",15),S(13,
"omitObfuscatedEmail"),R(14),S(15,"appendDomain"),I()(),R(16),I(),H(17,"pre"),R(18),I()());a&2&&(a=b.$implicit,b=b.index+1,B(2),F("email",null==a.author?null:a.author.emailAddress),B(2),F("model",a.author),B(1),F("timestamp",a.updateTime),B(4),Mf(" ",a.formattingMode," "),B(3),F("email",T(13,8,null==a.author?null:a.author.emailAddress)),B(2),Mf(" <",T(15,10,null==a.author?null:a.author.emailAddress),"> "),B(2),Mf(" #",b," "),B(2),Nf(a.updateText))},DSa=function(a){if(a&1){var b=w();K(0);H(1,"header",
3)(2,"h4",4);R(3,"Status Update");I();H(4,"p",5);R(5,"No update yet.");I();H(6,"button",6);M("click",function(){x(b);var c=O(2);return z(c.editStatusUpdate())});R(7," Edit ");I()();L()}},FSa=function(a){if(a&1){var b=w();H(0,"button",15);M("click",function(){x(b);var c=O(4);return z(ESa(c))});R(1," Mark as fresh ");I()}},GSa=function(a){a&1&&(K(0),P(1,FSa,2,0,"button",14),S(2,"async"),L());a&2&&(a=O(3),B(1),F("ngIf",T(2,1,a.freshnessIndicator$)===a.Freshness.STALE))},HSa=function(a){a&1&&J(0,"mat-icon",
21)},ISa=function(a,b){a&1&&(K(0),P(1,HSa,1,0,"mat-icon",16),S(2,"async"),R(3," Updated by "),H(4,"span",17),R(5),S(6,"shortenEmail"),I(),J(7,"b-formatted-date-time",18),H(8,"onedev-hovercard",null,19),J(10,"b-issue-person-card",20),I(),L());if(a&2){a=b.ngIf;var c=Lf(9);b=O(3);var d,e;B(1);F("ngIf",T(2,5,b.freshnessIndicator$)===b.Freshness.FRESH);B(3);F("onedevHovercardTrigger",c);B(1);Mf(" ",T(6,7,null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?d:"")," ");B(2);F("timestamp",a.updateTime);
B(3);F("email",null!==(e=null==a.author?null:a.author.emailAddress)&&void 0!==e?e:"")}},JSa=function(a,b){a&1&&J(0,"b-actions-menu",22);a&2&&(a=b.ngIf,F("buttonLabel","Status Update actions")("menuItems",a))},KSa=function(a,b){a&1&&(J(0,"b-note-container",27),S(1,"async"),S(2,"async"));if(a&2){a=b.ngIf;b=O().ngIf;var c=O(3),d;F("issueId",b.issueId)("issueAccessLevel",T(1,4,c.accessLevel$))("note",a)("formattingMode",null!==(d=T(2,6,c.formattingMode$))&&void 0!==d?d:c.FormattingMode.PLAIN)}},LSa=function(a){if(a&
1){var b=w();H(0,"button",28);M("click",function(){x(b);var c=O(4);return z(c.isCollapsed=!1)});R(1," Show More ");I()}},MSa=function(a){a&1&&(K(0),H(1,"div",23)(2,"div",null,24),P(4,KSa,3,8,"b-note-container",25),S(5,"async"),I(),P(6,LSa,2,0,"button",26),I(),L());a&2&&(a=O(3),B(2),yf("collapsed",a.isCollapsed),B(2),F("ngIf",T(5,4,a.statusUpdateAsNote$)),B(2),F("ngIf",a.isCollapsed))},NSa=function(a){if(a&1){var b=w();K(0);H(1,"div",7)(2,"header",8)(3,"div",9)(4,"h4",10);R(5,"Status Update");I();
H(6,"button",11);M("click",function(){x(b);var c=O(2);return z(c.editStatusUpdate())});R(7," Edit ");I();P(8,GSa,3,3,"ng-container",2);S(9,"async");I();H(10,"div",12);P(11,ISa,11,9,"ng-container",2);S(12,"async");P(13,JSa,1,2,"b-actions-menu",13);S(14,"async");I()();P(15,MSa,7,6,"ng-container",2);S(16,"async");I();L()}a&2&&(a=O(2),B(8),F("ngIf",T(9,4,a.currentUserIsAuthoritative$)),B(3),F("ngIf",T(12,6,a.statusUpdate$)),B(2),F("ngIf",T(14,8,a.menuItems$)),B(2),F("ngIf",T(16,10,a.statusUpdate$)))},
PSa=function(a,b){a&1&&(H(0,"div"),S(1,"async"),J(2,"mat-icon",1),P(3,DSa,8,0,"ng-container",2),P(4,NSa,17,12,"ng-container",2),I());a&2&&(a=b.ngIf,b=O(),Bf("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",T(1,9,b.semanticClass$),""),yf("display-none",Tf(11,OSa,b.UiState.LOADING,b.UiState.HIDDEN).includes(a))("short-height",b.UiState.SHOW_EMPTY===a),B(3),F("ngIf",a===b.UiState.SHOW_EMPTY),B(1),F("ngIf",a===b.UiState.NORMAL))},QSa=function(a){switch(a){case 1:return"noUpdate";
case 2:return"noUpdateTeamMember";case 3:return"hasUpdate";case 0:return"";default:return""}},RSa=function(a){a&1&&(H(0,"p",10),R(1),I());a&2&&(a=O().$implicit,B(1),Nf(a.description))},SSa=function(a,b){a&1&&(K(0),H(1,"mat-list-option",6)(2,"div",7)(3,"label",8),R(4),I()(),P(5,RSa,2,1,"p",9),I(),L());a&2&&(a=b.$implicit,b=O(),B(1),xf("height","auto"),F("selected",b.selectedSavedSearches.has(a.searchId))("value",a.searchId),B(3),Nf(a.name),B(1),F("ngIf",a.description))},TSa=function(a){if(a&1){var b=
w();H(0,"div",19)(1,"button",20);M("click",function(){x(b);var c=O(2);return z(c.headerOnly=!1)});R(2," Show affected files ");J(3,"mat-icon",21);I()()}},USa=function(a,b){a&1&&(H(0,"div",27)(1,"div",28),R(2," \u00b7 "),H(3,"a",9),R(4),I()()());a&2&&(a=b.$implicit,b=O(3),B(3),Kf("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",a.replace("//","/").split("#")[0],"",Sd),B(1),Mf(" ",a.replace("//depot/google3/","").split("#")[0]," "))},VSa=function(a){if(a&
1){var b=w();H(0,"div",22)(1,"p",23);R(2," Affected files ");H(3,"button",24);M("click",function(){x(b);var c=O(2);return z(c.headerOnly=!0)});J(4,"mat-icon",25);I()();P(5,USa,5,3,"div",26);I()}a&2&&(a=O().ngIf,B(5),F("ngForOf",a.affectedFiles))},WSa=function(a){a&1&&(H(0,"div",29)(1,"div",30),J(2,"mat-icon",31),H(3,"a",32),R(4," Open in Critique "),I()()());a&2&&(a=O(2),B(3),If("href","https://critique.corp.google.com/cl/",null==a.changelistWithId?null:a.changelistWithId.id,"",Sd))},XSa=function(a,
b){a&1&&(H(0,"div",1)(1,"div",2)(2,"div",3),J(3,"img",4),I(),H(4,"div",5)(5,"div",6)(6,"a",7),R(7),I()(),H(8,"div",8)(9,"a",9),R(10),I(),R(11," \u00b7 "),H(12,"span"),R(13),I(),R(14," \u00b7 "),H(15,"span"),R(16,"Authored by "),J(17,"b-user-display",10),I(),R(18," \u00b7 "),H(19,"span"),R(20),I()()(),H(21,"div",11)(22,"button",12),J(23,"mat-icon",13),I(),H(24,"mat-menu",null,14)(26,"button",15),R(27," Hide this notification "),I()()()(),P(28,TSa,4,0,"div",16),P(29,VSa,6,1,"div",17),P(30,WSa,5,1,"div",
18),I());if(a&2){a=b.ngIf;var c=Lf(25);b=O();B(5);F("title",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,""));B(1);If("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",Sd);B(1);Mf(" ",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,"")," ");B(2);If("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",Sd);B(1);Mf("cl/",null==b.changelistWithId?null:b.changelistWithId.id,"");B(3);Nf(a.pending?
"Pending":"Submitted");B(4);F("model",b.emailToUser(a.author));B(3);Of("",a.affectedFiles.length," file",1===a.affectedFiles.length?"":"s"," affected");B(2);F("matMenuTriggerFor",c);B(6);F("ngIf",b.headerOnly);B(1);F("ngIf",!b.headerOnly);B(1);F("ngIf",!b.headerOnly)}},YSa=function(a){a&1&&(K(0),R(1),J(2,"b-user-display",21),L());if(a&2){a=O().$implicit;var b=O().ngIf,c=O();B(1);Mf(" \u00b7 ",c.STATUS_JS_TERSE[a]," to ");B(1);F("model",b.snapshot[0].assigneeUser)}},ZSa=function(a){a&1&&(K(0),R(1),
J(2,"b-user-display",21),L());if(a&2){a=O().$implicit;var b=O().ngIf,c=O();B(1);Mf(" \u00b7 ",c.STATUS_JS_TERSE[a]," \u00b7 ");B(1);F("model",b.snapshot[0].assigneeUser)}},$Sa=function(a){a&1&&(K(0),R(1),L());if(a&2){a=O().$implicit;var b=O(2);B(1);Mf(" \u00b7 ",b.STATUS_JS_TERSE[a]," ")}},aTa=function(a){a&1&&(K(0,18),P(1,YSa,3,2,"ng-container",19),P(2,ZSa,3,2,"ng-container",19),P(3,$Sa,2,1,"ng-container",20),L());if(a&2){a=O().ngIf;var b=O();F("ngSwitch",a.snapshot[0].status);B(1);F("ngSwitchCase",
b.IssueStatus.ASSIGNED);B(1);F("ngSwitchCase",b.IssueStatus.ACCEPTED)}},bTa=function(a){if(a&1){var b=w();H(0,"div",25)(1,"button",26);M("click",function(){x(b);var c=O(3);return z(c.headerOnly=!1)});R(2," Show recent updates ");J(3,"mat-icon",27);I()()}},cTa=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Mf("(",a.count,")"))},dTa=function(a,b){if(a&1){var c=w();K(0);H(1,"span");R(2," \u00b7 ");H(3,"span",40);M("click",function(){x(c);O(7);console.log("likeComment() is unimplemented");
return z()});R(4);I()();P(5,cTa,2,1,"span",1);L()}a&2&&(a=b.$implicit,B(4),Nf(a.hasReacted?"Unlike":"Like"),B(1),F("ngIf",0<a.count))},eTa=function(a){a&1&&(K(0),P(1,dTa,6,2,"ng-container",1),L());if(a&2){a=O(2).$implicit;var b=O(4);B(1);F("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.get(b.ReactionType.UPVOTE))}},fTa=function(a){a&1&&(K(0),H(1,"div",34),J(2,"b-user-image",35),I(),H(3,"div",36)(4,"p",37)(5,"a",8),R(6),I()(),H(7,"p",38),J(8,"b-user-display",21),R(9," commented \u00b7"),
J(10,"b-formatted-date-time",39),P(11,eTa,2,1,"ng-container",1),I()(),L());if(a&2){a=O().$implicit;var b=O(3).ngIf,c=O();B(2);F("email",c.getUserEmailIfAvailable(a.event));B(2);F("title",a.event.unlinkifiedComment);B(1);Kf("href","/issues/",b.issueId,"#comment",a.event.commentNumber,"",Sd);B(1);Mf(" ",a.event.unlinkifiedComment," ");B(2);F("model",a.event.userPerformingActionUser);B(2);F("timestamp",a.event.modifiedDate);B(1);F("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.has(c.ReactionType.UPVOTE))}},
gTa=function(a){a&1&&(K(0),H(1,"div",34),J(2,"b-user-image",35),I(),H(3,"div",36)(4,"p",41),R(5," Issue created "),I(),H(6,"p",38),J(7,"b-user-display",21),R(8," created issue \u00b7"),J(9,"b-formatted-date-time",39),I()(),L());if(a&2){a=O().$implicit;var b=O(4);B(2);F("email",b.getUserEmailIfAvailable(a.event));B(5);F("model",a.event.userPerformingActionUser);B(2);F("timestamp",a.event.modifiedDate)}},hTa=function(a){a&1&&(K(0),H(1,"div",34),J(2,"b-user-image",35),I(),H(3,"div",36)(4,"p",41),R(5),
I(),H(6,"p",38),J(7,"b-user-display",21),R(8," submitted "),J(9,"b-changelist-link",42),R(10," \u00b7"),J(11,"b-formatted-date-time",39),I()(),L());if(a&2){a=O().$implicit;var b=O(4);B(2);F("email",b.clAuthorToEmailAddress(a.event));B(3);Mf(" ",b.clEventToClDescription(a.event)," ");B(2);F("model",b.clAuthorToUser(a.event));B(2);F("changelistId",b.getClNumber(a.event));B(2);F("timestamp",a.event.modifiedDate)}},iTa=function(a){a&1&&(K(0),H(1,"div",34),J(2,"b-user-image",35),I(),H(3,"div",36)(4,"p",
41),R(5),I(),H(6,"p",38),J(7,"b-user-display",21),R(8," submitted "),J(9,"b-changelist-link",42),R(10,", fixing "),H(11,"a",8),R(12),I(),R(13," \u00b7"),J(14,"b-formatted-date-time",39),I()(),L());if(a&2){a=O().$implicit;var b=O(3).ngIf,c=O();B(2);F("email",c.clAuthorToEmailAddress(a.event));B(3);Mf(" ",c.clEventToClDescription(a.event)," ");B(2);F("model",c.clAuthorToUser(a.event));B(2);F("changelistId",c.getClNumber(a.event));B(2);If("href","/issues/",b.issueId,"",Sd);B(1);Mf("b/",b.issueId,"");
B(2);F("timestamp",a.event.modifiedDate)}},jTa=function(a){a&1&&(K(0),H(1,"div",34),J(2,"b-user-image",35),I(),H(3,"div",36)(4,"p",41),R(5," Priority changed from "),J(6,"b-issue-priority-display",10),R(7," to "),J(8,"b-issue-priority-display",10),I(),H(9,"p",38),J(10,"b-user-display",21),R(11," updated issue \u00b7"),J(12,"b-formatted-date-time",39),I()(),L());if(a&2){a=O().$implicit;var b=O(4);B(2);F("email",b.getUserEmailIfAvailable(a.event));B(4);F("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,
"priority")));B(2);F("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")));B(2);F("model",a.event.userPerformingActionUser);B(2);F("timestamp",a.event.modifiedDate)}},kTa=function(a){a&1&&(K(0),H(1,"div",34),J(2,"b-user-image",35),I(),H(3,"div",36)(4,"p",41),R(5),I(),H(6,"p",38),J(7,"b-user-display",21),R(8," updated issue \u00b7"),J(9,"b-formatted-date-time",39),I()(),L());if(a&2){a=O().$implicit;var b=O(4);B(2);F("email",b.getUserEmailIfAvailable(a.event));B(3);Of(" Status changed from ",
b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status")," ");B(2);F("model",a.event.userPerformingActionUser);B(2);F("timestamp",a.event.modifiedDate)}},lTa=function(a){a&1&&(K(0),H(1,"div",34),J(2,"b-user-image",35),I(),H(3,"div",36)(4,"p",41),R(5),I(),H(6,"p",38),J(7,"b-user-display",21),R(8," updated issue \u00b7"),J(9,"b-formatted-date-time",39),I()(),L());if(a&2){a=O().$implicit;var b=O(4);B(2);F("email",b.getUserEmailIfAvailable(a.event));B(3);Of(" Assignee changed from ",
b.getPreviousDiffValue(a.event,"assignee")," to ",b.getNewDiffValue(a.event,"assignee")," ");B(2);F("model",a.event.userPerformingActionUser);B(2);F("timestamp",a.event.modifiedDate)}},mTa=function(a){a&1&&(K(0),H(1,"div",34),J(2,"b-user-image",35),I(),H(3,"div",36)(4,"p",41),R(5),I(),H(6,"p",38),J(7,"b-user-display",21),R(8," modified status update \u00b7"),J(9,"b-formatted-date-time",39),I()(),L());if(a&2){a=O().$implicit;var b=O(4);B(2);F("email",b.getUserEmailIfAvailable(a.event));B(3);Mf(" ",
null==a.event.statusUpdate?null:a.event.statusUpdate.updateText," ");B(2);F("model",a.event.userPerformingActionUser);B(2);F("timestamp",a.event.modifiedDate)}},nTa=function(a){a&1&&(K(0),R(1," Default case "),L())},oTa=function(a,b){a&1&&(H(0,"div",33),K(1,18),P(2,fTa,12,8,"ng-container",19),P(3,gTa,10,3,"ng-container",19),P(4,hTa,12,5,"ng-container",19),P(5,iTa,15,7,"ng-container",19),P(6,jTa,13,5,"ng-container",19),P(7,kTa,10,5,"ng-container",19),P(8,lTa,10,5,"ng-container",19),P(9,mTa,10,4,"ng-container",
19),P(10,nTa,2,0,"ng-container",20),L(),I());a&2&&(a=b.$implicit,B(1),F("ngSwitch",a.eventType),B(1),F("ngSwitchCase","comment"),B(1),F("ngSwitchCase","newIssue"),B(1),F("ngSwitchCase","changelist"),B(1),F("ngSwitchCase","changelistFixed"),B(1),F("ngSwitchCase","priority"),B(1),F("ngSwitchCase","status"),B(1),F("ngSwitchCase","assignee"),B(1),F("ngSwitchCase","statusUpdate"))},pTa=function(a){if(a&1){var b=w();H(0,"div",28)(1,"p",29);R(2," Recent updates ");H(3,"button",30);M("click",function(){x(b);
var c=O(3);return z(c.headerOnly=!0)});J(4,"mat-icon",31);I()();P(5,oTa,11,9,"div",32);I()}a&2&&(a=O().ngIf,B(5),F("ngForOf",a.slice(-3)))},qTa=function(a){if(a&1){var b=w();H(0,"div",46);J(1,"mat-icon",47);H(2,"button",48);M("click",function(){x(b);var c=O(3).ngIf,d=O();return z(d.showCommentBox.set(c.issueId,!0))});R(3," Add a comment ");I()()}},rTa=function(a){if(a&1){var b=w();H(0,"div",49);J(1,"b-user-image",35);H(2,"mat-form-field");J(3,"textarea",50);I();H(4,"button",51);J(5,"mat-icon",52);
I();H(6,"button",53);M("click",function(){x(b);var c=O(3).ngIf,d=O();return z(d.showCommentBox.set(c.issueId,!1))});J(7,"mat-icon",54);I();H(8,"button",55);J(9,"mat-icon",56);I()()}a&2&&(a=O(4),B(1),F("email",a.currentUser.email),B(2),F("bFocus",!0))},sTa=function(a){a&1&&(H(0,"div",43),P(1,qTa,4,0,"div",44),P(2,rTa,10,2,"div",45),I());if(a&2){a=O(2).ngIf;var b=O();B(1);F("ngIf",!b.showCommentBox.get(a.issueId));B(1);F("ngIf",b.showCommentBox.get(a.issueId))}},tTa=function(a){a&1&&(K(0),P(1,bTa,4,
0,"div",22),P(2,pTa,6,1,"div",23),P(3,sTa,3,2,"div",24),L());a&2&&(a=O(2),B(1),F("ngIf",a.headerOnly),B(1),F("ngIf",!a.headerOnly),B(1),F("ngIf",!a.headerOnly))},uTa=function(a,b){a&1&&(K(0),H(1,"div",3)(2,"div",4),J(3,"img",5),I(),H(4,"div",6)(5,"div",7)(6,"a",8),R(7),I()(),H(8,"div",9)(9,"a",8),R(10),I(),R(11," \u00b7 "),J(12,"b-issue-priority-display",10),P(13,aTa,4,3,"ng-container",11),I()(),H(14,"div",12)(15,"button",13),J(16,"mat-icon",14),I(),H(17,"mat-menu",null,15)(19,"button",16),R(20," Hide this notification "),
I()()()(),P(21,tTa,4,3,"ng-container",17),S(22,"async"),L());if(a&2){a=b.ngIf;var c=Lf(18);b=O();var d=Lf(3);B(6);If("href","/issues/",a.issueId,"",Sd);B(1);Mf(" ",a.snapshot[0].title," ");B(2);If("href","/issues/",a.issueId,"",Sd);B(1);Mf("b/",a.issueId,"");B(2);F("issuePriority",a.snapshot[0].priority);B(1);F("ngIf",a.snapshot[0].status);B(2);F("matMenuTriggerFor",c);B(6);F("ngIf",T(22,9,null==b.issueWithEvents?null:b.issueWithEvents.events))("ngIfElse",d)}},vTa=function(a){a&1&&J(0,"b-spinner")},
wTa=function(a){a&1&&(K(0),J(1,"mat-icon",11),L())},xTa=function(a){if(a&1){var b=w();K(0);H(1,"button",12);M("mousedown",function(c){x(b);var d=O();return z(d.back(c))});J(2,"mat-icon",13);I();L()}},yTa=function(a){if(a&1){var b=w();K(0);H(1,"button",14);M("mousedown",function(c){x(b);var d=O();return z(d.expand(d.componentOption,c))});J(2,"mat-icon",15);I();L()}a&2&&(a=O(),B(1),F("matTooltip","View child components of "+a.componentOption.name),pf("aria-label","View child components of "+a.componentOption.name),
B(1),F("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},zTa=function(a){if(a&1){var b=w();K(0);H(1,"a",19);M("mousedown",function(d){x(b);var e=O().$implicit;O(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return z()});S(2,"boldPrefixMatches");S(3,"toString");I();L()}if(a&2){a=O().$implicit;var c=O(2);B(1);F("innerHtml",Vf(2,1,T(3,4,a.name),c.query),Qd)}},ATa=function(a){a&1&&R(0);a&2&&(a=O().$implicit,Mf(" ",a.name," "))},BTa=function(a){a&1&&(K(0),R(1,
"\u00a0>\u00a0"),L())},CTa=function(a,b){a&1&&(K(0),P(1,zTa,4,6,"ng-container",6),P(2,ATa,1,1,"ng-template",null,17,hg),P(4,BTa,2,0,"ng-container",18),L());if(a&2){a=b.$implicit;b=b.last;var c=Lf(3);B(1);F("ngIf",a.name!=a.id)("ngIfElse",c);B(3);F("ngIf",!b)}},DTa=function(a){a&1&&(K(0),P(1,CTa,5,3,"ng-container",16),L());a&2&&(a=O(),B(1),F("ngForOf",a.componentOption.componentPath))},ETa=function(a,b){if(a&1){var c=w();K(0);H(1,"a",20);M("mousedown",function(d){var e=x(c).ngIf;O(2).selectComponentId.emit(e.id);
d.preventDefault();d.stopPropagation();return z()});R(2);I();L()}a&2&&(a=b.ngIf,B(2),Mf(" ",a.name," "))},FTa=function(a){a&1&&P(0,ETa,3,1,"ng-container",18);a&2&&(a=O(),F("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},GTa=function(a){a&1&&(H(0,"span",21),R(1," [Archived] "),I())},HTa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},ITa=function(a){return{type:"team",id:a.id,
name:a.name,description:a.description,expanded:!1}},JTa=function(a,b){var c,d=null!=(c=null==b?void 0:b.componentPathId)?c:[],e,g=null!=(e=null==b?void 0:b.componentPathName)?e:[];b=d.map(function(h,m){return{id:h,name:g[m],pathText:g.slice(0,m+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}},KTa=function(a){return new Map([].concat(ad(a.entries())).map(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return[b,c.map(ITa)]}))},LTa=function(a){a&1&&J(0,"img",5);a&2&&(a=O(),pf("src",a.getLogoUrl(),Sd))},MTa=function(a){a&1&&(H(0,"span",9),R(1,"no components"),I())},NTa=function(a){a&1&&(H(0,"div",6),J(1,"div",7),S(2,"boldPrefixMatches"),P(3,MTa,2,0,"span",8),I());a&2&&(a=O(),B(1),F("innerHtml",Vf(2,2,a.teamOption.name,a.query),Qd),B(2),F("ngIf",a.hasNoComponent))},OTa=function(a){if(a&1){var b=w();K(0);H(1,"a",15);M("mousedown",function(c){x(b);var d=O(2).index,
e=O(2);d=null==e.teamOption.pathIds?null:e.teamOption.pathIds[d];c.preventDefault();c.stopPropagation();d&&e.selectTeamId.emit(d);return z()});R(2);I();L()}a&2&&(a=O(2).$implicit,B(2),Nf(a))},PTa=function(a){a&1&&R(0);a&2&&(a=O(2).$implicit,Nf(a))},QTa=function(a){a&1&&(K(0),P(1,OTa,3,1,"ng-container",12),P(2,PTa,1,1,"ng-template",null,14,hg),K(4),R(5," \u00b7 "),L()());if(a&2){var b=Lf(3);a=O(3);B(1);F("ngIf",a.allowSegmentSelection)("ngIfElse",b)}},RTa=function(a){a&1&&(K(0),H(1,"strong",17),R(2),
I(),L());a&2&&(a=O(2).$implicit,B(2),Nf(a))},STa=function(a){a&1&&R(0);a&2&&(a=O(2).$implicit,Nf(a))},TTa=function(a){a&1&&(P(0,RTa,3,1,"ng-container",12),P(1,STa,1,1,"ng-template",null,16,hg));if(a&2){var b=Lf(2);a=O(3);F("ngIf",a.compact)("ngIfElse",b)}},UTa=function(a,b){a&1&&(K(0),P(1,QTa,6,2,"ng-container",12),P(2,TTa,3,2,"ng-template",null,13,hg),L());if(a&2){a=b.last;var c=Lf(3);B(1);F("ngIf",!a)("ngIfElse",c)}},VTa=function(a){a&1&&(H(0,"div",10),P(1,UTa,4,2,"ng-container",11),I());a&2&&(a=
O(),B(1),F("ngForOf",a.teamOption.pathNames))},WTa=function(){var a=Hc(uh),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},XTa=function(a){if(a&1){var b=w();H(0,"button",9);M("mousedown",function(c){x(b);O().clearQuery();return z(wp(c))});J(1,"mat-icon",10);I()}},YTa=function(a){a&1&&(H(0,"div",13),R(1," Checking for admin access... "),I())},ZTa=function(a){a&1&&(H(0,"div",15),R(1," You do not have admin access to this component. "),H(2,"a",16),R(3,"View component admins"),
I()());a&2&&(a=O(3),B(2),F("href",a.paths.manageComponent(a.selectedComponent.componentId,"access"),Sd))},$Ta=function(a){a&1&&P(0,ZTa,4,1,"div",14);a&2&&(a=O(2),F("ngIf",!a.hasAccess&&a.selectedComponent))},aUa=function(a){a&1&&(H(0,"div"),P(1,YTa,2,0,"div",11),P(2,$Ta,1,1,"ng-template",null,12,hg),I());if(a&2){var b=Lf(3);a=O();B(1);F("ngIf",a.checkingAccess)("ngIfElse",b)}},bUa=function(a){a&1&&J(0,"mat-progress-bar",24)},cUa=function(a){a&1&&(K(0),R(1,"s"),L())},eUa=function(a,b){if(a&1){var c=
w();K(0);H(1,"div",30);M("mousedown",function(e){var g=x(c).$implicit,h=O(5);dUa(h.searchState,g);return z(wp(e))});H(2,"team-row",31);M("selectTeamId",function(e){x(c);var g=O(5);return z(xp(g.searchState,e))});I()();L()}if(a&2){a=b.$implicit;b=O(5);var d=Lf(3);B(1);F("data",a);B(1);F("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},fUa=function(a){a&1&&(H(0,"div",27)(1,"div",28),R(2," Filter components by my teams "),H(3,"span"),R(4),P(5,cUa,2,0,"ng-container",
5),I()(),P(6,eUa,3,4,"ng-container",29),J(7,"mat-divider"),I());a&2&&(a=O().ngIf,B(4),Mf("",a.length," team"),B(1),F("ngIf",1<a.length),B(1),F("ngForOf",a))},gUa=function(a,b){a&1&&(K(0),P(1,fUa,8,3,"div",26),L());a&2&&(a=b.ngIf,B(1),F("ngIf",a.length))},hUa=function(a){a&1&&Df(0)},jUa=function(a){a&1&&(K(0),P(1,gUa,2,1,"ng-container",5),S(2,"async"),P(3,hUa,1,0,"ng-container",25),L());if(a&2){a=O(2);var b=Lf(12);B(1);F("ngIf",T(2,3,a.searchState.myTeams$));B(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",
Sf(5,iUa,a.searchState.recentComponents))}},kUa=function(a){a&1&&(K(0),R(1,"s"),L())},lUa=function(a){a&1&&Df(0)},oUa=function(a,b){a&1&&(K(0),P(1,lUa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;O(5);var c=Lf(10);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Tf(4,mUa,a,Sf(2,nUa,b)))}},pUa=function(a){if(a&1){var b=w();H(0,"button",33);M("mousedown",function(){x(b);var c=O(5);return z(c.searchState.showAllTeams$.next(!0))});J(1,"mat-icon",34);R(2," Show all teams ");I()}},
qUa=function(a,b){a&1&&(H(0,"div",27)(1,"div",28),R(2," Filter components by teams "),H(3,"span"),R(4),P(5,kUa,2,0,"ng-container",5),I()(),P(6,oUa,2,7,"ng-container",29),S(7,"async"),P(8,pUa,3,0,"button",32),S(9,"async"),J(10,"mat-divider"),I());a&2&&(a=b.ngIf,b=O(4),B(4),Mf("",a," team"),B(1),F("ngIf",1<a),B(1),F("ngForOf",T(7,4,b.searchState.filteredTeamOptions$)),B(2),F("ngIf",T(9,6,b.searchState.hasHiddenTeams$)))},rUa=function(a,b){a&1&&(K(0),P(1,qUa,11,8,"div",26),L());a&2&&(a=b.ngIf,B(1),F("ngIf",
a.length))},sUa=function(a){a&1&&Df(0)},uUa=function(a){a&1&&(K(0),P(1,rUa,2,1,"ng-container",5),S(2,"async"),P(3,sUa,1,0,"ng-container",25),L());if(a&2){a=O(2);var b=Lf(12);B(1);F("ngIf",T(2,3,a.searchState.teamOptions$));B(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(5,tUa,a.searchState.componentOptions))}},vUa=function(a){a&1&&Df(0)},xUa=function(a,b){a&1&&(K(0),P(1,vUa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;O(7);var c=Lf(10);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",
Tf(4,mUa,a,Sf(2,wUa,b)))}},yUa=function(a){a&1&&(H(0,"div",42),P(1,xUa,2,7,"ng-container",29),I());a&2&&(a=O(2).ngIf,B(1),F("ngForOf",a))},BUa=function(a){if(a&1){var b=w();K(0);P(1,yUa,2,1,"div",41);H(2,"button",33);M("mousedown",function(c){x(b);var d=O(5),e=d.searchState.teamScope$.value;e.expanded?zUa(d.searchState,e):AUa(d.searchState,e);return z(wp(c))});J(3,"mat-icon",34);R(4);I();L()}a&2&&(a=O(5),B(1),F("ngIf",a.searchState.teamScope$.value.expanded),B(2),yf("expanded",a.searchState.teamScope$.value.expanded),
B(1),Mf(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},CUa=function(a,b){a&1&&(K(0),P(1,BUa,5,4,"ng-container",5),L());a&2&&(a=b.ngIf,B(1),F("ngIf",a.length))},FUa=function(a){if(a&1){var b=w();H(0,"div",36)(1,"div",28);R(2," Filtering by team: ");I();H(3,"div",37)(4,"team-row",38);M("selectTeamId",function(d){x(b);var e=O(3);return z(xp(e.searchState,d))});I();H(5,"button",39);M("mousedown",function(d){x(b);var e=O(3);DUa(e.searchState);return z(wp(d))});J(6,"mat-icon",
40);I()();P(7,CUa,2,1,"ng-container",5);I()}if(a&2){a=O(3);var c=Lf(3);B(3);F("data",a.searchState.teamScope$.value)("listOrder",Rf(7,EUa));B(1);F("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);B(3);F("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},GUa=function(a){a&1&&Df(0)},IUa=function(a){a&1&&(K(0),P(1,FUa,8,8,"div",35),P(2,GUa,1,0,"ng-container",25),L());if(a&2){a=O(2);var b=Lf(12);B(1);F("ngIf",a.searchState.teamScope$.value);
B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Tf(3,HUa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},LUa=function(a){if(a&1){var b=w();H(0,"div",44)(1,"div",45);R(2,"Component Tree Browser");I();H(3,"component-row",46);M("goBack",function(){x(b);var c=O(3);return z(JUa(c.searchState))})("selectComponentId",function(c){x(b);var d=O(3);return z(KUa(d.searchState,c))});I()()}a&2&&(a=O(3),B(3),F("componentOption",a.searchState.componentScope))},MUa=function(a){a&1&&Df(0)},
OUa=function(a){a&1&&(K(0),P(1,LUa,4,1,"div",43),P(2,MUa,1,0,"ng-container",25),L());if(a&2){a=O(2);var b=Lf(12);B(1);F("ngIf",a.searchState.componentScope);B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(3,NUa,a.searchState.componentOptions))}},PUa=function(a){if(a&1){var b=w();H(0,"div",17,18);M("mousedown",function(c){x(b);O();return z(wp(c))});H(2,"div",19);P(3,bUa,1,0,"mat-progress-bar",20);I();H(4,"div",21);K(5,22);S(6,"async");P(7,jUa,4,7,"ng-container",23);P(8,uUa,4,7,"ng-container",
23);P(9,IUa,3,6,"ng-container",23);P(10,OUa,3,5,"ng-container",23);L();I()()}a&2&&(a=O(),B(3),F("ngIf",a.isLoading()),B(2),F("ngSwitch",T(6,6,a.searchState.state$)),B(2),F("ngSwitchCase","default"),B(1),F("ngSwitchCase","global"),B(1),F("ngSwitchCase","team_scope"),B(1),F("ngSwitchCase","component_scope"))},QUa=function(a){if(a&1){var b=w();H(0,"button",50);M("mousedown",function(c){x(b);var d=O().team,e=O();d.expanded?zUa(e.searchState,d):AUa(e.searchState,d);return z(wp(c))});J(1,"mat-icon",51);
I()}a&2&&(a=O().team,B(1),yf("expanded",a.expanded))},RUa=function(a){a&1&&Df(0)},TUa=function(a,b){a&1&&(K(0),P(1,RUa,1,0,"ng-container",25),L());if(a&2){a=b.$implicit;b=b.index;var c=O(2),d=c.level;c=c.order;O();var e=Lf(10);B(1);F("ngTemplateOutlet",e)("ngTemplateOutletContext",Uf(SUa,a,d+1,c.concat(b)))}},UUa=function(a){a&1&&(K(0),P(1,TUa,2,6,"ng-container",29),L());if(a&2){a=O().team;var b=O();B(1);F("ngForOf",b.searchState.getChildTeams(a.id))}},VUa=function(a,b){if(a&1){var c=w();H(0,"div",
47);M("mousedown",function(h){var m=x(c).team,r=O();dUa(r.searchState,m);return z(wp(h))});H(1,"div",48);P(2,QUa,2,2,"button",49);H(3,"team-row",31);M("selectTeamId",function(h){x(c);var m=O();return z(xp(m.searchState,h))});I()()();P(4,UUa,2,1,"ng-container",5)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=O(),g=Lf(3);F("listOrder",b)("data",a);B(1);xf("margin-left",28*d,"px");B(1);F("ngIf",e.searchState.getChildTeams(a.id).length);B(1);yf("indent",!e.searchState.getChildTeams(a.id).length);F("teamOption",
a)("query",g.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));B(1);F("ngIf",a.expanded)}},WUa=function(a){a&1&&(K(0),R(1,"s"),L())},YUa=function(a,b){if(a&1){var c=w();H(0,"div",56);M("mousedown",function(g){var h=x(c).$implicit,m=O(3);XUa(m.searchState,h.id);return z(wp(g))});H(1,"component-row",57);M("selectComponentId",function(g){x(c);var h=O(3);return z(XUa(h.searchState,g))})("expandComponent",function(g){x(c);var h=O(3);return z(h.searchState.expandComponent(g))});I()()}if(a&2){a=
b.$implicit;b=O(2).mode;var d=O(),e=Lf(3);F("data",a);B(1);F("showFolderSpecialIcon",d.currentTracker.enableTrackersComponentPathTruncation&&d.currentTracker.inTracker)("componentOption",a)("query",e.value)("mode",b)}},ZUa=function(a,b){a&1&&(H(0,"div",54)(1,"div",28),R(2),H(3,"span"),R(4),P(5,WUa,2,0,"ng-container",5),I()(),P(6,YUa,2,5,"div",55),I());if(a&2){a=b.ngIf;var c=O();b=c.mode;c=c.$implicit;B(2);Mf(" ","recent"===b?"Select recent component":"Select component"," ");B(2);Mf("",a," component");
B(1);F("ngIf",1<a);B(1);F("ngForOf",c)}},$Ua=function(a){a&1&&(K(0),R(1," No recent components "),L())},aVa=function(a){a&1&&(K(0),R(1," No child components "),L())},bVa=function(a){a&1&&(K(0),R(1),J(2,"mat-icon",61),R(3," above ("),H(4,"a",62),R(5,"learn more "),J(6,"mat-icon",63),I(),R(7," about team associations)"),L());a&2&&(a=O(4).teamScope,B(1),Mf(" for ",a.name,". Remove the team filter by clicking on the "))},cVa=function(a){a&1&&(K(0),R(1," No components found "),P(2,bVa,8,1,"ng-container",
5),L());a&2&&(a=O(3).teamScope,B(2),F("ngIf",a))},dVa=function(a){a&1&&(H(0,"div",59),K(1,22),P(2,$Ua,2,0,"ng-container",23),P(3,aVa,2,0,"ng-container",23),P(4,cVa,3,1,"ng-container",60),L(),I());a&2&&(a=O(2).mode,B(1),F("ngSwitch",a),B(1),F("ngSwitchCase","recent"),B(1),F("ngSwitchCase","leaf"))},eVa=function(a){a&1&&P(0,dVa,5,3,"div",58);a&2&&(a=O(2),F("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},fVa=function(a,b){a&1&&(P(0,ZUa,7,4,"div",52),P(1,eVa,1,1,"ng-template",null,53,
hg));if(a&2){a=b.$implicit;var c=Lf(2);F("ngIf",a.length)("ngIfElse",c)}},gVa=function(a,b){b=k([a.listOrder,b.listOrder]);a=b.next().value;b=b.next().value;for(var c=0;c<Math.min(a.length,b.length);c++)if(a[c]!==b[c])return a[c]-b[c];return a.length-b.length},hVa=function(a,b){a&1&&(H(0,"mat-radio-button",13),R(1),I());a&2&&(a=b.$implicit,b=O(2),F("checked",b.selectedFilter.type===a.type)("value",a),B(1),Mf(" ",a.display," "))},jVa=function(a,b){a&1&&(H(0,"mat-radio-button",13),R(1),I());a&2&&(a=
b.$implicit,b=O(2),F("checked",b.selectedFilter.type===a.type)("value",a),B(1),Mf(" ",a.display," "))},kVa=function(a){if(a&1){var b=w();K(0);H(1,"b-team-component-picker",14);M("selectedComponentChange",function(c){x(b);var d=O(2);return z(d.selectComponent(null!==c&&void 0!==c?c:null))});I();L()}a&2&&(a=O(2),B(1),F("selectedComponent",a.selectedComponent)("placeholder","Choose Component")("isRequired",!0))},lVa=function(a,b){a&1&&(H(0,"mat-radio-button",13),R(1),I());a&2&&(a=b.$implicit,b=O(2),
F("checked",b.selectedFilter.type===a.type)("value",a),B(1),Mf(" ",a.display," "))},mVa=function(a,b){a&1&&(H(0,"mat-list-option",23),R(1),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",a.name," "))},nVa=function(a){a&1&&(H(0,"mat-list-option",23),R(1," No hotlists matching search "),I());a&2&&F("value",null)},oVa=function(a,b){a&1&&(K(0),P(1,mVa,2,2,"mat-list-option",21),P(2,nVa,2,1,"mat-list-option",22),L());a&2&&(a=b.$implicit,B(1),F("ngForOf",a),B(1),F("ngIf",0===a.length))},pVa=function(a){if(a&
1){var b=w();H(0,"mat-selection-list",19);M("selectionChange",function(d){x(b);var e=O(3);0<d.options.length&&(d=d.options[0].value,e.selectedHotlist=d,yp("streamFilterSelectedHotlist")(d),e.filters.get(3).search.value=String(d.hotlistId),e.selectedFilter=e.filters.get(3));e.isHotlistPanelOpen=!1;return z()});P(1,oVa,3,2,"ng-container",20);S(2,"async");I()}if(a&2){a=O(3);var c=Lf(7);F("multiple",!1);B(1);F("ngIf",T(2,3,a.displayedHotlists$))("ngIfElse",c)}},qVa=function(a){if(a&1){var b=w();K(0);
H(1,"mat-form-field",15)(2,"mat-label");R(3,"Search starred hotlists");I();H(4,"input",16,17);M("input",function(){x(b);var e=Lf(5);O(2).userHotlistQuery$.next(e.value);return z()})("focus",function(){x(b);var e=Lf(5),g=O(2);e.select();g.isHotlistPanelOpen=!0;return z()});I()();P(7,pVa,3,5,"ng-template",18);M("detach",function(){x(b);O(2).isHotlistPanelOpen=!1;return z()})("backdropClick",function(){x(b);O(2).isHotlistPanelOpen=!1;return z()});L()}if(a&2){var c=Lf(6);a=O(2);var d=Lf(1);B(4);F("value",
a.selectedHotlist?a.selectedHotlist.name:"");B(3);F("cdkConnectedOverlayOrigin",d)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isHotlistPanelOpen)}},rVa=function(a){if(a&1){var b=w();H(0,"div")(1,"label",6);R(2,"Filter stream by");I();H(3,"mat-radio-group",7);M("change",function(c){x(b);var d=O();if(c=c.value)d.selectedFilter=c;return z()});P(4,hVa,2,3,"mat-radio-button",8);P(5,jVa,2,3,"mat-radio-button",8);P(6,kVa,2,3,"ng-container",9);P(7,lVa,2,3,"mat-radio-button",8);P(8,qVa,8,4,
"ng-container",9);I()();J(9,"mat-divider");H(10,"div",10)(11,"button",11);M("click",function(){x(b);var c=O();return z(c.closeMenu())});R(12,"Cancel");I();H(13,"button",12);M("click",function(){x(b);var c=O();return z(c.emitSelection())});R(14,"Apply");I()()}a&2&&(a=O(),B(3),F("value",a.selectedFilter),B(1),F("ngIf",a.filters.get(a.FilterType.ME)),B(1),F("ngIf",a.filters.get(a.FilterType.COMPONENT)),B(1),F("ngIf",a.selectedFilter.type===a.FilterType.COMPONENT),B(1),F("ngIf",a.filters.get(a.FilterType.HOTLIST)),
B(1),F("ngIf",a.selectedFilter.type===a.FilterType.HOTLIST))},sVa=function(a){a&1&&J(0,"b-spinner")},tVa=function(a,b){if(a&1){var c=w();K(0);H(1,"mat-list-option",11);M("click",function(){var d=x(c).$implicit;O(2);d.value=!d.value;Qya("activityStreamHeaderOnly")(d.value);return z()});R(2);I();L()}a&2&&(a=b.$implicit,B(1),F("value",a)("selected",a.value),B(1),Mf(" ",a.display," "))},uVa=function(a){a&1&&(H(0,"mat-selection-list"),P(1,tVa,3,3,"ng-container",10),I());a&2&&(a=O(),B(1),F("ngIf",a.settings.get(a.SettingType.CARD_HEADER_ONLY)))},
vVa=function(a,b){a&1&&(K(0),J(1,"b-changelist-activity-card",14),L());a&2&&(a=b.$implicit,B(1),F("changelistWithId",a))},wVa=function(a){a&1&&(H(0,"div",12),P(1,vVa,2,1,"ng-container",13),S(2,"async"),I());a&2&&(a=O(),B(1),F("ngForOf",T(2,1,a.changelistsWithIds)))},xVa=function(a){a&1&&(H(0,"div",18),J(1,"b-spinner"),I())},yVa=function(a){a&1&&(K(0),H(1,"p",20),R(2),S(3,"async"),I(),L());if(a&2){a=O(2).$implicit;var b=O(2);B(2);b.currentDisplayDate=new Date(a.issue.majorModifiedTimeMicros/1E3);a=
b.dateFormatter.formatUserCalendar(b.currentDisplayDate);Nf(T(3,1,a))}},zVa=function(a){a&1&&(K(0),P(1,yVa,4,3,"ng-container",10),J(2,"b-issue-activity-card",19),L());if(a&2){a=O().$implicit;var b=O(2);B(1);if(b.currentDisplayDate){var c=b.getDayOfYear(new Date(a.issue.majorModifiedTimeMicros/1E3));var d=b.getDayOfYear(b.currentDisplayDate);c=c===d}else c=!1;F("ngIf",!c);B(1);F("issueWithEvents",a)("headerOnly",b.settings.get(b.SettingType.CARD_HEADER_ONLY).value)}},BVa=function(a,b){a&1&&(K(0),P(1,
zVa,3,3,"ng-container",10),S(2,"async"),L());if(a&2){a=b.$implicit;var c;B(1);F("ngIf",0<(null!==(c=T(2,1,a.events))&&void 0!==c?c:Rf(3,AVa)).length)}},CVa=function(a){if(a&1){var b=w();H(0,"div",21)(1,"p",22);R(2,"You've reached the end of recent activity.");I();H(3,"button",23);M("click",function(){x(b);O();var c=Lf(1);return z(c.scrollTo(0,0))});R(4,"Back to top");I()()}},DVa=function(a){a&1&&(H(0,"div",12,15),P(2,xVa,2,0,"div",16),P(3,BVa,3,4,"ng-container",13),S(4,"async"),P(5,CVa,5,0,"div",
17),I());a&2&&(a=O(),B(2),F("ngIf",a.loadingCards),B(1),F("ngForOf",T(4,3,a.issuesWithEvents$)),B(2),F("ngIf",!a.loadingCards))},EVa=function(a){a&1&&(H(0,"span",7),Hf(1,1),I())},FVa=function(a){a&1&&(H(0,"span",8),Hf(1,2),I())},GVa=function(a){a&1&&(H(0,"span",8),Hf(1,1),H(2,"span",9),pd(),H(3,"svg",10),J(4,"path",11),I()()())},HVa=function(a){a&1&&(H(0,"span",12),Hf(1,2),I())},IVa=function(a,b){a&1&&(H(0,"mat-chip-option",36),R(1),I());a&2&&(a=b.$implicit,F("selected",a.selected),B(1),Mf(" ",a.label,
" "))},JVa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Type "),I())},KVa=function(a,b){a&1&&(H(0,"mat-cell")(1,"mat-icon"),R(2),I()());a&2&&(a=b.$implicit,B(1),Bf("google-material-icons product-icon ",a.icon,""),B(1),Nf(a.icon))},LVa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Description "),I())},MVa=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,Bf("priority-badge ",a.priority,""),B(1),Nf(a.priority))},NVa=function(a,b){a&1&&(H(0,"mat-cell"),P(1,MVa,2,4,"span",37),H(2,"a",38),
R(3),I()());a&2&&(a=b.$implicit,B(1),F("ngIf",a.priority),B(1),F("href",a.link,Sd),pf("target","Buganizer"!=a.source?"_blank":null),B(1),Nf(a.title))},OVa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Last modified "),I())},PVa=function(a,b){a&1&&(H(0,"mat-cell"),R(1),S(2,"date"),I());a&2&&(a=b.$implicit,B(1),Nf(Vf(2,1,a.modifiedDate,"MMM d, y h:mma")))},QVa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Role "),I())},RVa=function(a,b){a&1&&(H(0,"mat-cell"),R(1),I());a&2&&(a=b.$implicit,B(1),Nf(a.role))},
SVa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Created "),I())},TVa=function(a,b){a&1&&(H(0,"mat-cell"),R(1),S(2,"date"),I());a&2&&(a=b.$implicit,B(1),Nf(T(2,1,a.creationDate)))},UVa=function(a){a&1&&J(0,"mat-header-row")},VVa=function(a){a&1&&J(0,"mat-row")},WVa=function(a){a&1&&J(0,"b-spinner")},XVa=function(a,b){a&1&&(H(0,"mat-tab",13)(1,"div",14)(2,"button",15),R(3),H(4,"mat-icon",8),R(5,"arrow_drop_down"),I()(),H(6,"mat-menu",16,17)(8,"div",18),M("click",function(d){return d.stopPropagation()}),
H(9,"mat-checkbox",19),R(10," Buganizer "),I(),H(11,"mat-checkbox",20),R(12," Critique "),I(),H(13,"mat-checkbox",20),R(14," Drive "),I(),H(15,"mat-checkbox",21),R(16," Launch "),I()()(),H(17,"mat-chip-listbox",22),P(18,IVa,2,2,"mat-chip-option",23),I()(),H(19,"div",24)(20,"mat-table",25),K(21,26),P(22,JVa,2,0,"mat-header-cell",27),P(23,KVa,3,4,"mat-cell",28),L(),K(24,29),P(25,LVa,2,0,"mat-header-cell",27),P(26,NVa,4,4,"mat-cell",28),L(),K(27,30),P(28,OVa,2,0,"mat-header-cell",27),P(29,PVa,3,4,"mat-cell",
28),L(),K(30,31),P(31,QVa,2,0,"mat-header-cell",27),P(32,RVa,2,1,"mat-cell",28),L(),K(33,32),P(34,SVa,2,0,"mat-header-cell",27),P(35,TVa,3,3,"mat-cell",28),L(),P(36,UVa,1,0,"mat-header-row",33),P(37,VVa,1,0,"mat-row",34),I(),P(38,WVa,1,0,"ng-template",null,35,hg),I()());if(a&2){a=b.$implicit;var c=Lf(7);b=O(2);F("label",a.label);B(2);F("matMenuTriggerFor",c);B(1);Mf(" Source: ",a.sources.join(", ")," ");B(15);F("ngForOf",a.chips);B(2);F("dataSource",a.tasks);B(16);F("matHeaderRowDef",b.displayedColumns);
B(1);F("matRowDefColumns",b.displayedColumns)}},YVa=function(a){a&1&&(H(0,"div",10)(1,"mat-tab-group",11),P(2,XVa,40,7,"mat-tab",12),I()());a&2&&(a=O(),B(2),F("ngForOf",a.mvpMyTaskTabsData$))},ZVa=function(){return(0,E.pipe)(Ue(function(a,b){return a.concat(b)}))},aWa=function(a){if(a&1){var b=w();K(0);H(1,"div",11);pd();H(2,"svg",12);J(3,"path",13)(4,"path",14)(5,"path",15)(6,"path",16)(7,"path",17)(8,"path",18)(9,"path",19)(10,"path",20)(11,"path",21)(12,"path",22)(13,"path",23)(14,"path",24);H(15,
"g",25)(16,"mask",26);J(17,"path",27);I();H(18,"g",28);J(19,"path",29);I()();J(20,"path",30)(21,"path",31)(22,"path",32)(23,"path",33)(24,"path",34)(25,"path",35)(26,"path",36)(27,"path",37)(28,"path",38)(29,"path",39)(30,"path",40)(31,"path",41)(32,"path",42)(33,"path",43)(34,"path",44)(35,"path",45);H(36,"mask",46);J(37,"path",47);I();H(38,"g",48);J(39,"path",49);I();H(40,"mask",50);J(41,"path",51);I();H(42,"g",52);J(43,"path",53)(44,"path",54)(45,"path",55)(46,"path",56)(47,"path",57)(48,"path",
58);I();J(49,"path",59)(50,"path",60)(51,"path",61)(52,"path",62);H(53,"defs")(54,"linearGradient",63);J(55,"stop",64)(56,"stop",65);I();H(57,"linearGradient",66);J(58,"stop",67)(59,"stop",68);I();H(60,"linearGradient",69);J(61,"stop",70)(62,"stop",65);I();H(63,"linearGradient",71);J(64,"stop",67)(65,"stop",68);I();H(66,"linearGradient",72);J(67,"stop",70)(68,"stop",65);I();H(69,"linearGradient",73);J(70,"stop",64)(71,"stop",65);I();H(72,"linearGradient",74);J(73,"stop",75)(74,"stop",76);I();H(75,
"linearGradient",77);J(76,"stop",78)(77,"stop",65);I();H(78,"linearGradient",79);J(79,"stop",78)(80,"stop",65);I();H(81,"linearGradient",80);J(82,"stop",70)(83,"stop",65);I();H(84,"linearGradient",81);J(85,"stop",70)(86,"stop",65);I();H(87,"linearGradient",82);J(88,"stop",64)(89,"stop",65);I()()();qd();H(90,"p");R(91,"Use work areas to closely monitor a hotlist, component or a project.");I();H(92,"button",83);M("click",function(){x(b);var c=O(2);return z($Va(c))});H(93,"mat-icon",84);R(94,"add");
I();R(95," Add work area ");I()();L()}},bWa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Type "),I())},cWa=function(a,b){a&1&&(H(0,"mat-cell")(1,"mat-icon"),R(2),I()());a&2&&(a=b.$implicit,B(1),Bf("google-material-icons product-icon ",a.icon,""),B(1),Nf(a.icon))},dWa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Title "),I())},eWa=function(a,b){a&1&&(H(0,"mat-cell"),R(1),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.title," "))},fWa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," ID "),I())},gWa=function(a,
b){a&1&&(H(0,"mat-cell"),R(1),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.id," "))},hWa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Priority "),I())},iWa=function(a,b){a&1&&(H(0,"mat-cell")(1,"span"),R(2),I()());a&2&&(a=b.$implicit,B(1),Bf("priority-badge ",a.priority,""),B(1),Nf(a.priority))},jWa=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Creation date "),I())},kWa=function(a,b){a&1&&(H(0,"mat-cell"),R(1),S(2,"date"),I());a&2&&(a=b.$implicit,B(1),Mf(" ",T(2,1,a.date)," "))},lWa=function(a){a&1&&
(H(0,"mat-header-cell"),R(1," Assignee "),I())},mWa=function(a,b){a&1&&(H(0,"mat-cell"),R(1),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.assignee," "))},nWa=function(a){a&1&&J(0,"mat-header-row")},oWa=function(a){a&1&&J(0,"mat-row")},pWa=function(a){a&1&&(H(0,"div",9)(1,"mat-tab-group",85)(2,"mat-tab",86)(3,"div",87)(4,"div",88)(5,"p"),R(6,"New/unread"),I(),H(7,"h2"),R(8,"4"),I()(),H(9,"div",88)(10,"p"),R(11,"Spiking"),I(),H(12,"h2"),R(13,"2"),I()(),H(14,"div",88)(15,"p"),R(16,"Recently active"),I(),H(17,
"h2"),R(18,"6"),I()(),H(19,"div",88)(20,"p"),R(21,"Mine"),I(),H(22,"h2"),R(23,"3"),I()()(),H(24,"div",89)(25,"mat-chip-listbox",90)(26,"mat-chip-option",91),R(27," Open "),I()(),J(28,"span",6),H(29,"button",92),R(30," View in TaskFlow "),H(31,"mat-icon",93),R(32,"launch"),I()(),H(33,"button",94)(34,"mat-icon",84),R(35,"help_outline"),I()()(),H(36,"mat-table",95),K(37,96),P(38,bWa,2,0,"mat-header-cell",97),P(39,cWa,3,4,"mat-cell",98),L(),K(40,99),P(41,dWa,2,0,"mat-header-cell",97),P(42,eWa,2,1,"mat-cell",
98),L(),K(43,100),P(44,fWa,2,0,"mat-header-cell",97),P(45,gWa,2,1,"mat-cell",98),L(),K(46,101),P(47,hWa,2,0,"mat-header-cell",97),P(48,iWa,3,4,"mat-cell",98),L(),K(49,102),P(50,jWa,2,0,"mat-header-cell",97),P(51,kWa,3,3,"mat-cell",98),L(),K(52,103),P(53,lWa,2,0,"mat-header-cell",97),P(54,mWa,2,1,"mat-cell",98),L(),P(55,nWa,1,0,"mat-header-row",104),P(56,oWa,1,0,"mat-row",105),I(),H(57,"div",106)(58,"button",92),R(59," Go to hotlist "),H(60,"mat-icon",93),R(61,"launch"),I()()()()()());a&2&&(a=O(3),
B(36),F("dataSource",a.fakeData.hotlistFull),B(19),F("matHeaderRowDef",a.displayedColumns),B(1),F("matRowDefColumns",a.displayedColumns))},qWa=function(a){a&1&&(K(0),P(1,pWa,62,3,"div",7),L());a&2&&(a=O(2),B(1),F("ngIf",!a.isCollapsed()))},rWa=function(a){a&1&&(H(0,"div",9),P(1,aWa,96,0,"ng-container",10),P(2,qWa,2,1,"ng-container",10),I());a&2&&(a=O(),B(1),F("ngIf",0===a.currentViewIndex),B(1),F("ngIf",1==a.currentViewIndex))},sWa=function(a,b){if(a&1){var c=w();H(0,"button",123);M("click",function(){var d=
x(c).$implicit;O(2).currentSourceType=d.label;return z()});R(1);I()}a&2&&(a=b.$implicit,F("disabled",a.disabled),B(1),Nf(a.label))},tWa=function(a,b){a&1&&(H(0,"mat-option",124),R(1),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",a," "))},uWa=function(a){if(a&1){var b=w();H(0,"div",107)(1,"div",108)(2,"h2",109);R(3,"Add Work Area");I();H(4,"p");R(5,"Select a data source");I();H(6,"button",110);R(7);H(8,"mat-icon",84);R(9,"arrow_drop_down");I()();H(10,"mat-menu",111,112);P(12,sWa,2,2,"button",113);
I();H(13,"p");R(14,"Choose hotlist");I();H(15,"mat-form-field",114);J(16,"input",115);H(17,"mat-autocomplete",null,116);P(19,tWa,2,2,"mat-option",117);S(20,"async");I()()();H(21,"div",118)(22,"h2",109);R(23,"Preview");I();J(24,"img",119);I()();H(25,"mat-dialog-actions",120)(26,"button",121);M("click",function(){var e=x(b).dialogRef;return z(e.close("cancel"))});R(27,"Cancel");I();H(28,"button",122);M("click",function(){var e=x(b).dialogRef;return z(e.close(1))});R(29,"Add");I()()}if(a&2){var c=Lf(11),
d=Lf(18);a=O();B(6);F("matMenuTriggerFor",c);B(1);Mf(" ",a.currentSourceType," ");B(5);F("ngForOf",a.sourceTypes);B(4);F("formControl",a.autocompleteControl)("matAutocomplete",d);B(3);F("ngForOf",T(20,6,a.filteredOptions))}},wWa=function(a){for(var b={},c=k(a.getComponentsMap().entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=ak(e)}var g,h;return{issuesWithSignals:oj(a,zp,1).map(vWa),numTotalResults:null!=(g=a.getNumTotalResults())?g:0,components:b,
nextPageToken:null!=(h=a.getNextPageToken())?h:""}},vWa=function(a){return{issue:vk(a.getIssue()),signals:a.getSignalsList().map(xWa)}},xWa=function(a){return{signalType:fua[aj(a,1,0)],timestamp:Qh(a.getTimestamp())}},yWa=function(a){return{dismissTimestamp:Pj(a,Rh,1)?Qh(W(a,Rh,1)):void 0}},zWa=function(a){return uua[a]},Ap=function(){return"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},AWa=function(a,b){switch(a.signalType){case "NEAR_SLO":return b?
"SLO violation occurs on "+b:"This issue is near or past an SLO deadline";case "MENTIONED":return b?"You were mentioned on "+b:"You were mentioned on this issue recently";case "UNBLOCKED":return b?"The last blocking issue was closed on "+b:"The last blocking issue was closed recently";case "NEEDS_REPORTER_INPUT":return b?"Issue was assigned back to reporter (you) on "+b:"Issue was assigned back to reporter (you) recently";case "REPLIED_TO_MENTION":return b?"Someone replied to your mention on "+b:
"Someone replied to your mention recently";case "NEWLY_BLOCKING":return b?"This issue started blocking another issue on "+b:"This issue started blocking another issue recently";case "ASSIGNED":return b?"This issue was newly assigned to you on "+b:"This issue was newly assigned to you recently";default:return"This issue requires your attention"}},BWa=function(a){switch(a.signalType){case "NEAR_SLO":return"Issues which have less than 20% of SLO time remaining";case "MENTIONED":return"Someone mentioned you in a comment";
case "NEEDS_REPORTER_INPUT":return"Issue is assigned back to reporter (you) for more context";case "UNBLOCKED":return"All blocking issues are closed";case "NEWLY_BLOCKING":return"Issues that are blocking other issues";case "REPLIED_TO_MENTION":return"Someone you mentioned replied to your comment";case "ASSIGNED":return"Issue newly assigned to you";default:return""}},CWa=function(a){a=new Date(a);var b=new Date;return b.getFullYear()===a.getFullYear()&&b.getMonth()===a.getMonth()&&b.getDate()===a.getDate()?
"back at "+a.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"back on "+a.toLocaleString("en-Us",{month:"short",day:"numeric"})},DWa=function(a,b,c){b=Math.round((b.getTime()-(new Date).getTime())/6E4);if(!(b>60*c))return c=5*Math.round(b/5),55>=c?c=c.toString()+" minutes":(c=Math.round(b/60),c=c.toString()+" hour"+(1===c?"":"s")),a+" "+c},FWa=function(a){return(a=a.map(EWa).find(function(b){return!!b}))?{type:"Future Availability",text:a}:void 0},EWa=function(a){var b=new Date(a.timeRange.startTime);
if(a.status.hasOutOfOffice)return DWa("OOO in",b,24);if(a.status.hasOutsideWorkingHours)return DWa("Outside working hours in",b,3)},GWa=function(a){a=a.map(function(b){return new Bp({email:b})});return new Cp({userIds:a})},HWa=function(a){return new E.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},Dp=function(a){return{"X-Goog-Api-Key":a,Authorization:cp([])||
"","X-Goog-AuthUser":"0"}},IWa=function(a){return a.pipe(Bia(a.pipe(Ke(0))))},JWa=function(a){return a.getTagsList().includes(3)&&3===a.getType()},Ep=function(a){return!!a},KWa=function(a,b){return[a.filter(b),a.filter(function(c){return!b(c)})]},MWa=function(a){return LWa(a).some(function(b){return uj(b,3)<=(new Date).getTime()})},NWa=function(a){return MWa(a)?!1:LWa(a).some(function(b){return 2592E5>=uj(b,3)-(new Date).getTime()})},LWa=function(a){return(a=a.getSloStatus())?[a.getResponseBounds(),
a.getClosureBounds(),a.getAssignmentBounds()].filter(Ep).filter(function(b){return 0!==uj(b,3)}):[]},PWa=function(a){if(a=pn(a.getResource())){var b;var c=a.getChangeSize();var d=a.getReviewerEmailsList().length;var e={};d=null!=(b=(e[0]=0,e[1]=1,e[2]=2,e[3]=3,e[4]=4,e[5]=5,e[6]=5,e[7]=5,e)[d])?b:6;b=0!==d&&0!==c?OWa[c][d]:void 0;var g=(a=null==(g=a.getDescription().match(/REVIEW_TIME_SECONDS=(\d+)/))?void 0:g[1])?(new Date).getTime()/1E3-Number(a):void 0;if(!(!g||!b||g<b||21600>g))return{type:"Slow CL",
text:"Slow CL",tooltipText:"This CL has taken longer to submit than similar CLs"}}},RWa=function(a){var b=a.numTasksPerSection,c=a.myWorkCriteria,d=a.needsMyInputCriteria,e=k(KWa(a.tasks,function(g){return g.isMyWork}));a=e.next().value;e=e.next().value;return[].concat(ad(QWa(a,c).slice(0,b)),ad(QWa(e,d).slice(0,b)))},Fp=function(a){return a.resource.getLastModifiedTimestamp()},Gp=function(a,b){return a.signals.some(function(c){return c.type===b})},QWa=function(a,b){return a.sort(function(c,d){var e;
return null!=(e=b.map(function(g){return Number(g(d))-Number(g(c))}).find(function(g){return 0!==g}))?e:0})},SWa=function(a){return a.isMyWork||Vj(tn(a.resource),8)},VWa=function(a){return 1===oj(tn(a.resource),Hp,4).map(TWa).map(Number).reduce(UWa,0)},YWa=function(a){var b=(a=null==(b=W(tn(a.resource),WWa,2))?void 0:fk(b,Ph,1,XWa))?(new Date(a.getYear(),a.getMonth()-1,a.getDay())).getTime()-(new Date).getTime():void 0;return b&&6048E5>b?-b:-6048E5},TWa=function(a){return![2,1].includes(a.getApprovalStatus())},
UWa=function(a,b){return a+b},ZWa=function(a){return 3===Ip(a.resource).getStatus()},$Wa=function(a){return Gp(a,"Current Iteration")},aXa=function(a){return Gp(a,"P0")},bXa=function(a){return Gp(a,"Out of SLO")},cXa=function(a){return Gp(a,"Near SLO")},dXa=function(a){return uj(Ip(a.resource),19)},lXa=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next())c=c.value,eXa.set(c.id,c);return RWa({tasks:a,numTasksPerSection:2,myWorkCriteria:[fXa,gXa,hXa,Fp],needsMyInputCriteria:[fXa,iXa,gXa,jXa,hXa,
kXa,Fp]})},jXa=function(a){return Gp(a,"Future Availability")},kXa=function(a){return!Gp(a,"Current Availability")},fXa=function(a){return pn(a.resource).getNeedsAttention()},iXa=function(a){var b=(a=null==(b=pn(a.resource).getDescription().match(/DIFFBASE=(\d+)/))?void 0:b[1])&&"cl/"+a;return b?(b=eXa.get(b))&&fXa(b)?iXa(b)-1:0:0},hXa=function(a){return Gp(a,"Submission Deadline")},gXa=function(a){return Gp(a,"Rollback")},mXa=function(a){return Vh(rn(a.resource),21)},nXa=function(a){return Vh(rn(a.resource),
24)},oXa=function(a){return Vh(rn(a.resource),23)},pXa=function(a){return Vh(rn(a.resource),22)},qXa=function(a){return Vj(rn(a.resource),25)},rXa=function(a){var b=new Set(a.map(function(c){return c.resource.getResourceCase()}));if(0===b.size)return a;if(1===b.size)switch([].concat(ad(b.keys()))[0]){case 6:return RWa({tasks:a,numTasksPerSection:2,myWorkCriteria:[aXa,ZWa,$Wa,bXa,cXa,dXa],needsMyInputCriteria:[aXa,bXa,cXa,dXa]});case 5:return RWa({tasks:a,numTasksPerSection:2,myWorkCriteria:[mXa,nXa,
Fp],needsMyInputCriteria:[qXa,pXa,oXa,Fp]});case 8:return lXa(a);case 9:return RWa({tasks:a.filter(SWa),numTasksPerSection:1,myWorkCriteria:[YWa,Fp],needsMyInputCriteria:[YWa,VWa,Fp]});default:return a}throw Error("Vd");},sXa=function(a){var b;a.pipe(Oe()).subscribe(function(c){b=c});return b},tXa=function(a){return(0,E.pipe)(Ue(function(b,c){return"hidden"===c.type?[].concat(ad(b),[c.id]):b.filter(function(d){return d!==c.id})},a),$e(a))},uXa=function(a){var b,c;a=null!=(c=null==(b=Ip(a.getResource()))?
void 0:b.getBlockingIssueIdsList().length)?c:0;return 0<a?(0,E.of)({type:"Blocking",text:"Blocking "+a+" issue"+(1<a?"s":"")}):(0,E.of)(void 0)},vXa=function(){return(0,E.pipe)(Ue(function(a,b){return a.concat(b)}))},wXa=function(a){a=a.getResource();switch(a.getResourceCase()){case 8:return 2===pn(a).getCategory();case 6:return Ip(a).getAssignedToMe();case 5:return rn(a).getOwnedByMe();case 9:return tn(a).getOwnedByMe();default:return!1}},xXa=function(a){a=pn(a.getResource());return 1===(null==a?
void 0:a.getCategory())?a.getAuthorEmail():""},yXa=function(a){a&1&&(H(0,"div",13)(1,"span",14),R(2),I()());a&2&&(a=O(),B(2),Nf(a.allAlerts.length))},zXa=function(a){if(a&1){var b=w();H(0,"th",39)(1,"mat-checkbox",40);M("change",function(c){x(b);var d=O(2);return z(c?d.toggleAllRows():null)});I()()}a&2&&(a=O(2),B(1),F("checked",a.selection.hasValue()&&a.isAllSelected())("indeterminate",a.selection.hasValue()&&!a.isAllSelected()))},AXa=function(a,b){if(a&1){var c=w();H(0,"td",41)(1,"mat-checkbox",
42);M("click",function(d){return d.stopPropagation()})("change",function(d){var e=x(c).$implicit,g=O(2);return z(d?g.selection.toggle(e):null)});I()()}a&2&&(a=b.$implicit,b=O(2),B(1),F("checked",b.selection.isSelected(a)))},BXa=function(a){a&1&&(H(0,"th",39),R(1," Type "),I())},DXa=function(a){a&1&&(H(0,"mat-icon"),R(1),I());a&2&&(a=O().$implicit,O(2),Bf("google-material-icons product-icon ",CXa(a),""),B(1),Nf(CXa(a)))},EXa=function(a){a&1&&J(0,"img",45);a&2&&(a=O().$implicit,O(2),F("src",CXa(a),
Sd))},FXa=function(a,b){a&1&&(H(0,"td",41),P(1,DXa,2,4,"mat-icon",43),P(2,EXa,1,1,"ng-template",null,44,hg),I());if(a&2){a=b.$implicit;var c=Lf(3);B(1);F("ngIf","Ariane"!==a.type)("ngIfElse",c)}},GXa=function(a){a&1&&(H(0,"th",39),R(1," Description "),I())},IXa=function(a){a&1&&J(0,"b-issue-priority-display",48);a&2&&(a=O().$implicit,O(2),Bf("priority-badge-",HXa(a),""),F("issuePriority",HXa(a)))},JXa=function(a,b){a&1&&(H(0,"td",41)(1,"div",46),P(2,IXa,1,4,"b-issue-priority-display",47),R(3),I()());
a&2&&(a=b.$implicit,B(2),F("ngIf","Buganizer"===a.type),B(1),Mf(" ",a.description," "))},KXa=function(a){a&1&&(H(0,"th",39),R(1," Time of alert "),H(2,"mat-icon",49),R(3,"arrow_downward"),I()())},LXa=function(a){a&1&&J(0,"b-formatted-date-time",51);a&2&&(a=O().$implicit,F("timestamp",a.timestamp))},MXa=function(a,b){a&1&&(H(0,"td",41),P(1,LXa,1,1,"b-formatted-date-time",50),I());a&2&&(a=b.$implicit,B(1),F("ngIf",a.timestamp))},NXa=function(a){a&1&&(H(0,"th",39),R(1," Alert "),I())},PXa=function(a,
b){a&1&&(H(0,"td",41)(1,"div"),R(2),I()());a&2&&(a=b.$implicit,b=O(2),B(1),Bf("signal-chip type-button ",b.getSignalUrgency(a),""),B(1),Nf(OXa(a)))},QXa=function(a){a&1&&(H(0,"th",39),R(1," Action "),I())},SXa=function(a,b){a&1&&(H(0,"td",41)(1,"a",52),R(2),I()());a&2&&(a=b.$implicit,b=O(2),B(2),Nf(RXa(b,a)))},TXa=function(a){a&1&&J(0,"td",53)},UXa=function(a){a&1&&(H(0,"td",41)(1,"mat-icon",54),R(2,"do_not_disturb_on"),I()())},VXa=function(a){a&1&&J(0,"tr",55)},WXa=function(a){if(a&1){var b=w();
H(0,"tr",56);M("click",function(c){var d=x(b).$implicit,e=O(2);return z(e.navigateToResource(c,d))})("mouseup",function(c){var d=x(b).$implicit,e=O(2);return z(e.navigateToResource(c,d))});I()}},XXa=function(a){a&1&&(H(0,"div",15)(1,"div",16)(2,"button",17),R(3," Source: Buganizer, Critique, Drive, Launch "),H(4,"mat-icon",18),R(5,"arrow_drop_down"),I()(),H(6,"mat-menu",19,20)(8,"div",21),M("click",function(c){return c.stopPropagation()}),H(9,"mat-checkbox",22),R(10," Buganizer "),I(),H(11,"mat-checkbox",
23),R(12," Critique "),I(),H(13,"mat-checkbox",23),R(14," Drive "),I(),H(15,"mat-checkbox",23),R(16," Launch "),I()()(),H(17,"mat-chip-listbox",24)(18,"mat-chip-option",25),R(19,"Last 30 days"),I()()(),H(20,"table",26),K(21,27),P(22,zXa,2,2,"th",28),P(23,AXa,2,1,"td",29),L(),K(24,30),P(25,BXa,2,0,"th",28),P(26,FXa,4,2,"td",29),L(),K(27,31),P(28,GXa,2,0,"th",28),P(29,JXa,4,2,"td",29),L(),K(30,32),P(31,KXa,4,0,"th",28),P(32,MXa,2,1,"td",29),L(),K(33,33),P(34,NXa,2,0,"th",28),P(35,PXa,3,4,"td",29),L(),
K(36,34),P(37,QXa,2,0,"th",28),P(38,SXa,3,1,"td",29),L(),K(39,35),P(40,TXa,1,0,"td",36),P(41,UXa,3,0,"td",29),L(),P(42,VXa,1,0,"tr",37),P(43,WXa,1,0,"tr",38),I()());if(a&2){var b=Lf(7);a=O();B(2);F("matMenuTriggerFor",b);B(18);F("dataSource",a.allAlerts)("trackBy",a.trackByAlertId);B(22);F("matHeaderRowDef",a.displayedColumns);B(1);F("matRowDefColumns",a.displayedColumns)}},YXa=function(a){a&1&&Df(0)},ZXa=function(a){a&1&&(K(0),H(1,"span",11),R(2,"No projects added"),I(),L())},$Xa=function(a){a&1&&
(K(0),P(1,ZXa,3,0,"ng-container",10),S(2,"async"),S(3,"async"),L());if(a&2){O();var b=Lf(2);a=O();var c;B(1);F("ngIf",0===T(2,1,a.unarchivedProjectsCount$)&&0===((null==(c=T(3,3,null==b?null:b.rows$))?null:c.length)||0))}},bYa=function(a){if(a&1){var b=w();H(0,"p",11);R(1);H(2,"a",14);M("click",function(){x(b);var c=O(4);return z(aYa(c,[]))});R(3,"Show all");I()()}a&2&&(a=O().ngIf,B(1),Of("Filtering ",a.count," closed issue",1===a.count?"":"s",". "))},cYa=function(a){if(a&1){var b=w();H(0,"p");R(1,
"Closed issues may be filtered. ");H(2,"a",14);M("click",function(){x(b);var c=O(4);return z(aYa(c,[]))});R(3,"Show all");I()()}},dYa=function(a,b){a&1&&(K(0),P(1,bYa,4,2,"p",13),P(2,cYa,4,0,"p",10),L());if(a&2){a=b.ngIf;O(2);var c=Lf(2);B(1);F("ngIf",a.count);B(1);F("ngIf",0===a.count&&0<c.filters.length)}},eYa=function(a){if(a&1){var b=w();H(0,"a",14);M("click",function(){x(b);var c=O(3);return z(aYa(c,["OPEN"]))});R(1,"Only show open issues");I()}},gYa=function(a){a&1&&(K(0),P(1,dYa,3,2,"ng-container",
10),S(2,"async"),P(3,eYa,2,0,"a",12),L());if(a&2){O();var b=Lf(2);B(1);F("ngIf",Sf(4,fYa,T(2,2,b.model.filteredRowCount$)));B(2);F("ngIf",0===b.filters.length)}},hYa=function(a,b){a&1&&(H(0,"section"),J(1,"expandable-issues-table",8,9),S(3,"async"),P(4,$Xa,4,5,"ng-container",10),S(5,"async"),P(6,gYa,4,6,"ng-container",10),S(7,"async"),I());if(a&2){a=b.$implicit;var c=Lf(2);b=O();var d,e;yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);B(1);yf("hidden",0===((null==(d=T(3,9,c.rows$))?null:
d.length)||0));F("rootIssueId",a)("modifyMenuItems",b.modifyMenuItems)("filters",b.hackyPrefs.prefs.projectFilters);B(3);F("ngIf",null!==T(5,11,b.unarchivedProjectsCount$));B(2);F("ngIf",null==(e=T(7,13,null==c?null:c.rows$))?null:e.length)}},iYa=function(a){if(a&1){var b=w();H(0,"issue-card-compact",23);M("onDismiss",function(){x(b);var c=O().$implicit,d=O(3);return z(d.addProject(c.issueId))});I()}a&2&&(a=O().$implicit,F("issue",a)("onlyTitle",!0))},jYa=function(a,b){a&1&&(K(0),P(1,iYa,1,2,"issue-card-compact",
22),L());a&2&&(a=b.index,b=O(3),B(1),F("ngIf",a<b.suggestLimit))},kYa=function(a){a&1&&(H(0,"p"),R(1," No projects to suggest. Check out the "),H(2,"a",24),R(3," work tracking data model "),J(4,"mat-icon",25),I()())},lYa=function(a){if(a&1){var b=w();H(0,"b-button",26);M("onAction",function(){x(b);var c=O().ngIf,d=O(2);return z(d.suggestLimit=c.length)});R(1," Show more ");I()}},mYa=function(a,b){a&1&&(K(0),H(1,"div",19),P(2,jYa,2,1,"ng-container",20),P(3,kYa,5,0,"p",10),P(4,lYa,2,0,"b-button",21),
I(),L());a&2&&(a=b.ngIf,b=O(2),B(2),F("ngForOf",a),B(1),F("ngIf",0===a.length),B(1),F("ngIf",a.length>b.suggestLimit))},nYa=function(a){a&1&&J(0,"b-spinner")},oYa=function(a){a&1&&(H(0,"div",15)(1,"h1",16),R(2,"Suggested projects"),I(),P(3,mYa,5,3,"ng-container",17),S(4,"async"),P(5,nYa,1,0,"ng-template",null,18,hg),I());if(a&2){var b=Lf(6);a=O();B(3);F("ngIf",T(4,2,a.suggestedProjects$))("ngIfElse",b)}},pYa=function(a){if(a&1){var b=w();H(0,"b-button",30);M("onAction",function(){x(b);var c=O(2);
return z(c.createChild())});S(1,"async");R(2," Create new project ");I()}a&2&&(a=O(2),F("disabled",!T(1,1,a.canEdit$)))},qYa=function(a){if(a&1){var b=w();P(0,pYa,3,3,"b-button",27);H(1,"b-button",28);M("onAction",function(){x(b);var c=O();return z(c.addChild())});S(2,"async");R(3," Add existing project ");I();H(4,"b-button",29);M("onAction",function(){x(b);var c=O();return z(c.showSuggestedProjects=!c.showSuggestedProjects)});S(5,"async");R(6);I()}a&2&&(a=O(),F("ngIf",a.isNonPublicSession),B(1),
F("disabled",!T(2,4,a.canEdit$)),B(3),F("disabled",!T(5,6,a.canEdit$)),B(2),Mf(" ",a.showSuggestedProjects?"Hide suggestions":"Suggest projects"," "))},rYa=function(a){a&1&&J(0,"my-work-card",10);a&2&&F("assignedOnly",!0)},sYa=function(a){a&1&&J(0,"my-work-card",10);a&2&&F("assignedOnly",!1)},tYa=function(a,b){a&1&&J(0,"hotlist-as-project-card",12);a&2&&F("hotlistId",b.$implicit)},uYa=function(a){a&1&&(K(0),P(1,tYa,1,1,"hotlist-as-project-card",11),L());if(a&2){a=O().$implicit;var b=O();B(1);F("ngIf",
b.extractHotlistId(a))}},vYa=function(a){a&1&&J(0,"issue-as-immersed-card",15);a&2&&(a=O(2).$implicit,F("issueId",a))},wYa=function(a){a&1&&J(0,"issue-as-project-card",15);a&2&&(a=O(2).$implicit,F("issueId",a))},xYa=function(a){a&1&&(K(0)(1,6),P(2,vYa,1,1,"issue-as-immersed-card",13),P(3,wYa,1,1,"issue-as-project-card",14),L()());if(a&2){a=O().$implicit;var b=O();B(1);F("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);B(1);F("ngSwitchCase",b.IMMERSED)}},yYa=function(a,b){a&
1&&J(0,"saved-search-as-project-card",17);a&2&&F("savedSearchId",b.$implicit)},zYa=function(a){a&1&&(K(0),P(1,yYa,1,1,"saved-search-as-project-card",16),L());if(a&2){a=O().$implicit;var b=O();B(1);F("ngIf",b.extractSavedSearchId(a))}},AYa=function(a){if(a&1){var b=w();K(0);H(1,"p",18);R(2," Unknown id/url format: `");H(3,"code");R(4);I();R(5,"`. ");H(6,"a",19);M("click",function(){x(b);var c=O().$implicit,d=O();return z(rp(d.hackyPrefs,c))});R(7," Remove ");I();J(8,"br");R(9," Learn more: ");H(10,
"a",20);R(11,"go/b-learn-project-add");I()();L()}a&2&&(a=O().$implicit,B(4),Nf(a))},BYa=function(a,b){a&1&&(K(0)(1,6),P(2,rYa,1,1,"my-work-card",7),P(3,sYa,1,1,"my-work-card",7),P(4,uYa,2,1,"ng-container",8),P(5,xYa,4,2,"ng-container",8),P(6,zYa,2,1,"ng-container",8),P(7,AYa,12,1,"ng-container",9),L()());a&2&&(a=b.$implicit,b=O(),B(1),F("ngSwitch",b.inferEntityType(a)),B(1),F("ngSwitchCase","assigned-to-me"),B(1),F("ngSwitchCase","recent-stuff-i-follow"),B(1),F("ngSwitchCase","hotlist"),B(1),F("ngSwitchCase",
"issue"),B(1),F("ngSwitchCase","savedsearch"))},CYa=function(a){if(a&1){var b=w();K(0);H(1,"div",21);J(2,"img",22);H(3,"p");R(4," Nothing selected. ");H(5,"button",23);M("click",function(){x(b);var c=O();return z(c.onClickAdd())});R(6,"Add Project");I()();H(7,"p",18)(8,"a",24);J(9,"mat-icon",25);I();R(10," You can pin almost anything here: hotlist, saved search, or parent issue. ");I()();L()}a&2&&(a=O(),B(2),F("src",a.SPACE_EMPTY_STATE,Sd))},DYa=function(a){a&1&&(K(0),H(1,"div")(2,"h2"),R(3,"Suggestions"),
I(),J(4,"suggested-issue-projects"),I(),J(5,"suggested-hotlists"),L())},EYa=function(a){if(a&1){var b=w();H(0,"aside",26)(1,"button",27);M("click",function(){x(b);var c=O();return z(c.onClickAdd())});J(2,"mat-icon",28);R(3," Add project ");I();H(4,"button",29);M("click",function(){x(b);var c=O();return z(c.onClickAddHotlist())});R(5," Add Hotlist ");I();H(6,"button",29);M("click",function(){x(b);var c=O();return z(c.onClickAddSavedSearch())});R(7," Add Saved Search ");I()()}},FYa=function(a){a&1&&
J(0,"my-work-card",21);a&2&&F("assignedOnly",!0)},GYa=function(a){a&1&&J(0,"my-work-card",21);a&2&&F("assignedOnly",!1)},HYa=function(a,b){a&1&&J(0,"hotlist-as-project-card",23);a&2&&F("hotlistId",b.$implicit)("neverCollapse",!0)},IYa=function(a){a&1&&(K(0),P(1,HYa,1,2,"hotlist-as-project-card",22),L());if(a&2){a=O().$implicit;var b=O();B(1);F("ngIf",b.extractHotlistId(a))}},JYa=function(a,b){a&1&&J(0,"issue-as-project-card",25);a&2&&F("issueId",b.$implicit)("neverCollapse",!0)},KYa=function(a){a&
1&&(K(0),P(1,JYa,1,2,"issue-as-project-card",24),L());if(a&2){a=O().$implicit;var b=O();B(1);F("ngIf",b.extractIssueId(a))}},LYa=function(a,b){a&1&&J(0,"saved-search-as-project-card",27);a&2&&F("savedSearchId",b.$implicit)("neverCollapse",!0)},MYa=function(a){a&1&&(K(0),P(1,LYa,1,2,"saved-search-as-project-card",26),L());if(a&2){a=O().$implicit;var b=O();B(1);F("ngIf",b.extractSavedSearchId(a))}},NYa=function(a){if(a&1){var b=w();K(0);H(1,"p",12);R(2," Unknown id/url format: `");H(3,"code");R(4);
I();R(5,"`. ");H(6,"a",28);M("click",function(){x(b);var c=O().$implicit,d=O();return z(rp(d.hackyPrefs,c))});R(7," Remove ");I();J(8,"br");R(9," Learn more: ");H(10,"a",29);R(11,"go/b-learn-project-add");I()();L()}a&2&&(a=O().$implicit,B(4),Nf(a))},PYa=function(a,b){a&1&&(K(0)(1,16),H(2,"mat-tab",17),P(3,FYa,1,1,"my-work-card",18),P(4,GYa,1,1,"my-work-card",18),P(5,IYa,2,1,"ng-container",19),P(6,KYa,2,1,"ng-container",19),P(7,MYa,2,1,"ng-container",19),P(8,NYa,12,1,"ng-container",20),I(),L()());
if(a&2){a=b.$implicit;b=O();var c;B(1);F("ngSwitch",b.inferEntityType(a));B(1);F("label",null!==(c=OYa(b,a))&&void 0!==c?c:a);B(1);F("ngSwitchCase","assigned-to-me");B(1);F("ngSwitchCase","recent-stuff-i-follow");B(1);F("ngSwitchCase","hotlist");B(1);F("ngSwitchCase","issue");B(1);F("ngSwitchCase","savedsearch")}},QYa=function(a){if(a&1){var b=w();H(0,"aside",31)(1,"button",32);M("click",function(){x(b);var c=O(2);return z(c.onClickAdd())});J(2,"mat-icon",33);R(3," Add project ");I();H(4,"button",
34);M("click",function(){x(b);var c=O(2);return z(c.onClickAddHotlist())});R(5," Add Hotlist ");I();H(6,"button",34);M("click",function(){x(b);var c=O(2);return z(c.onClickAddSavedSearch())});R(7," Add Saved Search ");I()()}},RYa=function(a,b){a&1&&(K(0),P(1,QYa,8,0,"aside",30),L());a&2&&(a=b.$implicit,B(1),F("ngIf",0<a.length&&10>=a.length))},SYa=function(a,b){a&1&&(K(0),J(1,"flat-issues-table",19),L());a&2&&(a=b.ngIf,b=O(),B(1),F("issueIds",a)("displayedColumns",b.DEFAULT_COLUMNS)("assigneeMode",
"avatar-in-progress"))},TYa=function(a){a&1&&J(0,"b-spinner")},VYa=function(a,b){if(a&1){var c=w();H(0,"span",6);M("click",function(){x(c);var e=O().$implicit,g=O();return z(g.toggleSignal(e))});J(1,"mat-icon",7);R(2);I()}if(a&2){a=b.$implicit;b=O().$implicit;var d=O();Bf("chippy rounded ",a.className," margin-s-right");yf("selected",d.selectedSignals.includes(b));F("matTooltip",UYa(b));B(1);F("svgIcon",a.icon);B(1);Of(" ",a.text," (",d.signalCounts[b],") ")}},WYa=function(a,b){a&1&&(K(0),P(1,VYa,
3,9,"span",5),L());a&2&&(a=b.$implicit,b=O(),B(1),F("ngIf",b.SIGNAL_MAPPING[a]))},XYa=function(a,b){if(a&1){var c=w();K(0);H(1,"issue-card-compact",9);M("onDismiss",function(){x(c);var e=O().$implicit,g=O();return z(g.dismissIssue(e.issueId))});I();L()}if(a&2){a=b.$implicit;b=O().$implicit;var d=O();B(1);F("issue",b)("moreInfoIconSvg",a.icon)("moreInfoMessage",d.getSignalTypeTooltip(b.issueId))("moreInfoAccentColor",a.color)("disableDismiss",d.dismissInProgress[b.issueId])}},ZYa=function(a,b){a&1&&
(K(0),P(1,XYa,2,5,"ng-container",8),L());a&2&&(b=b.$implicit,a=O(),B(1),b=YYa(a,b.issueId),F("ngIf",b?a.SIGNAL_MAPPING[b.signalType]:null))},$Ya=function(a,b){a&1&&(H(0,"span",1),J(1,"mat-icon",2),I());a&2&&(a=b.ngIf,b=O(),Bf("chippy rounded ",a.className," margin-xs-right"),F("matTooltip",b.getSignalTypeTooltip()),B(1),F("svgIcon",a.icon))},aZa=function(a,b){a&1&&(K(0),J(1,"b-signal-chip",8),L());a&2&&(a=b.$implicit,B(1),F("signal",a))},bZa=function(a,b){a&1&&(H(0,"span"),P(1,aZa,2,1,"ng-container",
7),I());a&2&&(a=b.row,b=O(2),B(1),F("ngIf",YYa(b,a.issueId)))},cZa=function(a,b){if(a&1){var c=w();K(0);H(1,"button",9);M("click",function(d){var e=x(c).$implicit,g=O().row;O(2).navigateToIssue(d,e,g);return z(d.stopPropagation())});R(2);I();L()}if(a&2){a=b.$implicit;O(3);B(2);a:switch(a.signalType){case "MENTIONED":case "NEEDS_REPORTER_INPUT":a="Reply";break a;default:a="View"}Mf(" ",a," ")}},dZa=function(a,b){a&1&&(H(0,"span"),P(1,cZa,3,1,"ng-container",7),I());a&2&&(a=b.row,b=O(2),B(1),F("ngIf",
YYa(b,a.issueId)))},eZa=function(a){a&1&&(H(0,"flat-issues-table",5),P(1,bZa,2,1,"span",6),P(2,dZa,2,1,"span",6),I());a&2&&(a=O(),yf("collapsed",a.hackyPrefs.prefs.collapsed[a.SECTION_SLUG]),F("issueIds",a.getIssueIdsToDisplay())("displayedColumns",a.columnsToDisplay)("customColumns",a.customColumns),B(1),F("forViewCell","alert"),B(1),F("forViewCell","action"))},fZa=function(a){a&1&&(H(0,"p",10),R(1,"None"),I())},gZa=function(a,b){if(a&1){var c=w();K(0);H(1,"issue-card-compact",4);M("onDismiss",function(){var d=
x(c).$implicit,e=O();rp(e.hackyPrefs,d.issueId);e.refreshMonitor.refreshRequest.next();return z()});I();L()}a&2&&(a=b.$implicit,B(1),F("issue",a))},hZa=function(a){a&1&&(K(0),R(1," No pinned issues. Click the 'pin' icon to add issues here. "),L())},iZa=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);a.set(b,void 0)},jZa=function(a,b){var c;b=null!=(c=null==b?void 0:b.split(","))?c:[];a.clear();c=k(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,void 0)},kZa=
function(a){a&1&&(H(0,"h4",11),R(1,"Pinned"),I())},lZa=function(a,b){if(a&1){var c=w();K(0);H(1,"issue-card-compact",12);M("onDismiss",function(){var d=x(c).$implicit,e=O(2);rp(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return z()});I();L()}a&2&&(a=b.$implicit,B(1),F("issue",a))},nZa=function(a){a&1&&(K(0),P(1,kZa,2,0,"h4",8),S(2,"async"),H(3,"section",9),P(4,lZa,2,1,"ng-container",10),S(5,"async"),I(),L());if(a&2){a=O();var b;B(1);F("ngIf",null!==(b=0<(null!==(b=T(2,2,a.pinnedIssues$))&&void 0!==
b?b:Rf(6,mZa)).length)&&void 0!==b?b:!1);B(3);F("ngForOf",T(5,4,a.pinnedIssues$))}},oZa=function(a){if(a&1){var b=w();K(0);H(1,"button",13);M("click",function(c){x(b);var d=O().row,e=O();rp(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return z(c.stopPropagation())});H(2,"mat-icon",14);R(3,"keep_off");I()();L()}},pZa=function(a){if(a&1){var b=w();K(0);H(1,"button",15);M("click",function(c){x(b);var d=O().row,e=O();Rn(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return z(c.stopPropagation())});
H(2,"mat-icon",14);R(3,"keep");I()();L()}},qZa=function(a,b){a&1&&(H(0,"span"),P(1,oZa,4,0,"ng-container",1),P(2,pZa,4,0,"ng-container",1),I());a&2&&(a=b.row,b=O(),B(1),F("ngIf",Jp(b.hackyPrefs).includes(a.issueId)),B(1),F("ngIf",!Jp(b.hackyPrefs).includes(a.issueId)))},rZa=function(a,b){a&1&&(K(0),J(1,"flat-issues-table",5),L());a&2&&(a=b.ngIf,b=O(),B(1),yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),F("issueIds",a)("displayedColumns",b.columnsToDisplay))},sZa=function(a){a&1&&J(0,
"b-spinner")},tZa=function(a){a&1&&(H(0,"div",4),J(1,"mat-icon",5),R(2),S(3,"async"),I());if(a&2){a=O();var b=Lf(4);F("onedevHovercardTrigger",b);B(2);Mf("",T(3,2,a.teamName$)," ")}},uZa=function(a,b){a&1&&J(0,"b-team-chip",7);a&2&&F("teamId",b.$implicit)},vZa=function(a){a&1&&(K(0),H(1,"div",2),J(2,"b-user-image",14)(3,"b-user-display",15),R(4," submitted "),J(5,"b-changelist-link",16),R(6," for "),H(7,"b-issue-reference-widget",17),R(8),I(),J(9,"b-formatted-date-time",18),I(),H(10,"p",19),R(11),
I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("email",b.clAuthorToEmailAddress(a.event));B(1);F("model",b.clAuthorToUser(a.event));B(2);F("changelistId",b.getClNumber(a.event));B(2);F("href","b/issues/{{event.issueId}}")("issueId",a.issueId);B(1);Mf("b/",a.issueId,"");B(1);F("timestamp",a.event.modifiedDate);B(2);Nf(b.clEventToClDescription(a.event))}},wZa=function(a){a&1&&(K(0),H(1,"div",2),J(2,"b-user-image",14)(3,"b-user-display",15),R(4," commented on "),H(5,"b-issue-reference-widget",17),
R(6),I(),J(7,"b-formatted-date-time",18),I(),H(8,"p",19),R(9),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("email",b.getUserEmailIfAvailable(a.event));B(1);F("model",a.event.userPerformingActionUser);B(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);B(1);Mf("b/",a.issueId,"");B(1);F("timestamp",a.event.modifiedDate);B(2);Nf(a.event.unlinkifiedComment)}},xZa=function(a){a&1&&(K(0),H(1,"div",2),J(2,"b-user-image",14)(3,"b-user-display",15),R(4," changed priority for "),H(5,"b-issue-reference-widget",
17),R(6),I(),J(7,"b-formatted-date-time",18),I(),H(8,"p",20),R(9,"Priority changed from "),J(10,"b-issue-priority-display",21),R(11," to "),J(12,"b-issue-priority-display",21),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("email",b.getUserEmailIfAvailable(a.event));B(1);F("model",a.event.userPerformingActionUser);B(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);B(1);Mf("b/",a.issueId,"");B(1);F("timestamp",a.event.modifiedDate);B(3);F("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,
"priority")));B(2);F("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},yZa=function(a){a&1&&(K(0),H(1,"div",2),J(2,"b-user-image",14)(3,"b-user-display",15),R(4," changed status for "),H(5,"b-issue-reference-widget",17),R(6),I(),J(7,"b-formatted-date-time",18),I(),H(8,"p",20),R(9),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("email",b.getUserEmailIfAvailable(a.event));B(1);F("model",a.event.userPerformingActionUser);B(2);F("href",b.getIssueDetailsUrl(a.issueId))("issueId",
a.issueId);B(1);Mf("b/",a.issueId,"");B(1);F("timestamp",a.event.modifiedDate);B(2);Of("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},zZa=function(a){a&1&&(K(0),H(1,"div",2),J(2,"b-user-image",14)(3,"b-user-display",15),R(4),I(),L());if(a&2){a=O().$implicit;var b=O(2);B(2);F("email",b.getUserEmailIfAvailable(a.event));B(1);F("model",a.event.userPerformingActionUser);B(1);Mf(" updated ",a.issueId," ")}},AZa=function(a,b){a&1&&(H(0,"div",
10),K(1,11),P(2,vZa,12,8,"ng-container",12),P(3,wZa,10,7,"ng-container",12),P(4,xZa,13,8,"ng-container",12),P(5,yZa,10,8,"ng-container",12),P(6,zZa,5,3,"ng-container",13),L(),I());a&2&&(a=b.$implicit,yf("margin-bottom",!b.last),B(1),F("ngSwitch",a.eventType),B(1),F("ngSwitchCase","changelist"),B(1),F("ngSwitchCase","comment"),B(1),F("ngSwitchCase","priority"),B(1),F("ngSwitchCase","status"))},BZa=function(a){a&1&&(H(0,"div",8),P(1,AZa,7,7,"div",9),I());a&2&&(a=O(),B(1),F("ngForOf",a.teamActivityEvents))},
CZa=function(a,b){a&1&&J(0,"b-team-chip",12);a&2&&F("teamId",b.$implicit)},DZa=function(){},EZa=function(a){a&1&&P(0,DZa,0,0,"ng-template")},GZa=function(a,b){a&1&&(H(0,"li"),P(1,EZa,1,0,null,14),I());if(a&2){a=b.$implicit;O(2);var c=Lf(38);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,FZa,a))}},HZa=function(a,b){a&1&&(H(0,"div")(1,"ol"),P(2,GZa,2,4,"li",13),I()());a&2&&(a=b.$implicit,B(2),F("ngForOf",null==a?null:a.results))},IZa=function(){},JZa=function(a){a&1&&P(0,IZa,0,0,"ng-template")},
KZa=function(a,b){a&1&&(H(0,"li"),P(1,JZa,1,0,null,14),I());if(a&2){a=b.$implicit;O(2);var c=Lf(38);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,FZa,a))}},LZa=function(a,b){a&1&&(H(0,"div")(1,"ol"),P(2,KZa,2,4,"li",13),I()());a&2&&(a=b.$implicit,B(2),F("ngForOf",null==a?null:a.results))},MZa=function(a){a&1&&J(0,"b-issue-card",24,25);if(a&2){var b=Lf(1);a=O().$implicit;F("onedevIsHovercardReady",b.init)("issueId",a.issueId)}},NZa=function(a){a&1&&(H(0,"span",26),R(1),I());a&2&&(a=O().$implicit,
B(1),Mf("(",null==a.aggregatedData?null:a.aggregatedData.voteCount," Votes)"))},OZa=function(a){a&1&&(H(0,"span",26),R(1),I());a&2&&(a=O().$implicit,B(1),Mf("(",null==a?null:null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length," Duplicates)"))},PZa=function(a,b){a&1&&(H(0,"span"),R(1),I());a&2&&(a=b.$implicit,b=O(2),Bf("chippy status-",a,""),B(1),Mf(" ",b.STATUS_JS_TERSE[a]," "))},QZa=function(a,b){a&1&&(H(0,"onedev-hovercard",null,15),P(2,MZa,2,2,"b-issue-card",16),I(),
H(3,"div",17)(4,"span",18)(5,"span"),R(6),I(),H(7,"span",19),R(8),I()(),H(9,"span")(10,"a",20),R(11),I(),P(12,NZa,2,1,"span",21),P(13,OZa,2,1,"span",21),I(),H(14,"span",22),P(15,PZa,2,4,"span",23),I()());if(a&2){a=b.$implicit;var c=Lf(1);b=O();B(5);Bf("p-chip priority-",a.snapshot[0].priority," margin-s-right");B(1);Mf(" ",a.snapshot[0].priority," ");B(2);Nf(a.issueId);B(2);If("href","/issues/",a.issueId,"",Sd);F("onedevHovercardTrigger",c);B(1);Nf(a.snapshot[0].title);B(1);var d,e;var g=0<(null!=
(e=null==(d=a.aggregatedData)?void 0:d.voteCount)?e:0);F("ngIf",g);B(1);var h;d=0<(null!=(h=null==a?void 0:a.snapshot[0].duplicateIssueId)?h:[]).length;F("ngIf",d);B(2);F("ngIf",("NEW"===a.snapshot[0].status||"ASSIGNED"===a.snapshot[0].status?!1:!0)&&b.getStatus(a))}},RZa=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+b+"+"}).join(" OR ")},SZa=function(a,b){if(a&1){var c=w();K(0);H(1,"issue-card-compact",5);M("onDismiss",function(){var d=x(c).$implicit,e=O().hackyPrefs;d=d.issueId;
var g=e.prefs;g.issuesThisWeek&&g.issuesThisWeek.issues.includes(d)&&(g.issuesThisWeek.issues.splice(g.issuesThisWeek.issues.indexOf(d),1),e.save(g));return z()});I();L()}a&2&&(a=b.$implicit,B(1),F("issue",a)("onlyTitle",!0))},TZa=function(a,b){a&1&&(H(0,"mat-chip-option",2),R(1),I());a&2&&(a=b.$implicit,b=O(),F("selected",b.selectedSources.includes(a)),B(1),Mf(" ",a," "))},UZa=function(a){if(!a)return"";switch(a.source){case "Critique":return"check_circle_filled";case "Drive":var b;switch(null==
(b=a.driveResource)?void 0:b.type){case "Docs":return"drive_document";case "Sheets":return"drive_spreadsheet";case "Slides":return"drive_presentation";default:return"link"}default:return""}},WZa=function(a){return a.map(function(b){var c,d,e,g,h;return{id:b.taskId,type:null==(c=b.resource)?void 0:c.source,description:null!=(g=null==(d=b.resource)?void 0:d.title)?g:"",timestamp:VZa(b),signals:b.signals.map(function(m){return m.signalSpec}),icon:UZa(b.resource),link:null!=(h=null==(e=b.resource)?void 0:
e.externalLink)?h:""}})},YZa=function(a){return a.filter(function(b){var c;return null==(c=b.issue)?void 0:c.issueId}).map(function(b){var c,d,e,g,h;return{id:"b/"+(null==(c=b.issue)?void 0:c.issueId),type:"Buganizer",description:null!=(h=null==(d=b.issue)?void 0:null==(e=d.snapshot[0])?void 0:e.title)?h:"",timestamp:XZa(b),signals:b.signals.map(function(m){return m.signalType}),icon:"bug_report",link:"issues/"+(null==(g=b.issue)?void 0:g.issueId)}})},VZa=function(a){a=a.signals.sort(function(b,c){var d,
e;return(null!=(d=Gl(c.timestamp))?d:0)-(null!=(e=Gl(b.timestamp))?e:0)})[0].timestamp;return Gl(a)},XZa=function(a){var b=a.signals.sort(function(c,d){var e,g,h,m;return(null!=(h=null==(e=LBa(d.timestamp))?void 0:e.getTime())?h:0)-(null!=(m=null==(g=LBa(c.timestamp))?void 0:g.getTime())?m:0)})[0].timestamp;return b&&0!==Gl(b)?Gl(b):a.issue.majorModifiedTimeMicros/1E3},ZZa=function(a,b,c,d){var e=[];c.includes("Buganizer")&&e.push.apply(e,ad(b));e.push.apply(e,ad(a.filter(function(h){return Kp.includes(h.type)&&
c.includes(h.type)})));var g=(new Date).getTime()-864E5*d.numberOfDays;return e.filter(function(h){return h.timestamp>g}).sort(function(h,m){return m.timestamp-h.timestamp})},$Za=function(a){return WZa(Bva(a.results))},a_a=function(a){return YZa(a.issuesWithSignals)},b_a=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(ad(a),ad(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},c_a=function(a,b,c){c=void 0===c?22:c;return["display: inline-block; border-radius: 50%;",
"width: "+c+"px;","height: "+c+"px;","background: conic-gradient(var(--"+(void 0===b?"good-gfx":b)+") "+100*a+"%, var(--divider) 0 100%);","box-shadow: inset 0 0 0 2px var(--divider);"].join(" ")},d_a=function(a){return"hotlist-"+a},e_a=function(a){return"savedsearch-"+a},Mp=function(a){if(null!=a){if(iwa.includes(a))return a;var b=a.match(/\bhotlists?\b/)?Lp(a):void 0;if(b)return"hotlist";b=a.match(/\bsavedsearch(?:es|)\b/)?Lp(a):void 0;if(b)return"savedsearch";b=/\bb\/\d+\b/;b=a.match(/\bissues?\b/)||
a.match(b)?Lp(a):void 0;b||(a=a.trim(),b=3>a.length?!1:!!a.match(/^\d+$/));if(b)return"issue"}},f_a=function(a){switch(Mp(a)){case "hotlist":return"Hotlist";case "savedsearch":return"Saved Search";case "issue":return"Issue"}},Lp=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},g_a=function(a){var b=Lp(a);if(null!=b)switch(Mp(a)){case "hotlist":return"/hotlists/"+b;case "savedsearch":return"/savedsearches/"+b;default:return"/issues/"+b}},h_a=function(a,b){if(a&1){var c=w();H(0,
"button",7);M("click",function(){var d=x(c).$implicit,e=O();e.selectedTimeBoundary=d;e.change.emit(d);return z()});R(1);I()}a&2&&(a=b.$implicit,b=O(),F("disabled",a.numberOfDays===b.selectedTimeBoundary.numberOfDays),B(1),Mf(" ",a.label," "))},i_a=function(a,b){if(a&1){var c=w();K(0);H(1,"source-filter-chips",5);M("change",function(d){x(c);var e=O();return z(e.updateSourceFilter(d))});I();L()}a&2&&(a=b.ngIf,B(1),F("selectedSources",a))},j_a=function(a,b){if(a&1){var c=w();K(0);H(1,"time-boundary-filter",
6);M("change",function(d){x(c);var e=O(),g=e.missionControlPrefs;g.prefs.naTimeBoundary=d;g.save(g.prefs);e.timeBoundary$.next(d);return z()});I();L()}a&2&&(a=b.ngIf,B(1),F("selectedTimeBoundary",a))},k_a=function(a){if(a&1){var b=w();H(0,"th",22)(1,"mat-checkbox",23);M("change",function(d){x(b);var e=O().ngIf,g=O();return z(d?g.toggleAllRows(e):null)});I()()}if(a&2){a=O().ngIf;var c=O();B(1);F("checked",c.selection.hasValue()&&c.isAllSelected(a))("indeterminate",c.selection.hasValue()&&!c.isAllSelected(a))}},
l_a=function(a,b){if(a&1){var c=w();H(0,"td",24)(1,"mat-checkbox",25);M("click",function(d){return d.stopPropagation()})("change",function(d){var e=x(c).$implicit,g=O(2);return z(d?g.selection.toggle(e.id):null)});I()()}a&2&&(a=b.$implicit,b=O(2),B(1),F("checked",b.selection.isSelected(a.id)))},m_a=function(a){a&1&&(H(0,"th",22),R(1),I());a&2&&(a=O(2),B(1),Nf(a.selection.hasValue()?"":"Type"))},n_a=function(a,b){a&1&&(H(0,"td",24)(1,"mat-icon",26),R(2),I()());a&2&&(a=b.$implicit,B(1),Bf("google-material-icons product-icon ",
a.icon,""),F("matTooltip",a.type),B(1),Mf(" ",a.icon," "))},o_a=function(a){a&1&&(H(0,"span"),R(1,"Description"),I())},q_a=function(a){if(a&1){var b=w();H(0,"button",28);M("click",function(){x(b);var c=O(3);return z(p_a(c))});R(1,"Dismiss");I()}},r_a=function(a){a&1&&(H(0,"th",22),P(1,o_a,2,0,"span",2),P(2,q_a,2,0,"button",27),I());a&2&&(a=O(2),B(1),F("ngIf",!a.selection.hasValue()),B(1),F("ngIf",a.selection.hasValue()))},s_a=function(a,b){if(a&1){var c=w();H(0,"td",24)(1,"div",29)(2,"a",30);M("keydown",
function(d){var e=x(c).$implicit,g=O(2);return z(g.navigateToResource(d,e))})("click",function(d){var e=x(c).$implicit,g=O(2);return z(g.navigateToResource(d,e))});R(3);I()()()}a&2&&(a=b.$implicit,B(3),Mf(" ",a.description," "))},t_a=function(a){a&1&&(H(0,"th",22),R(1),I());a&2&&(a=O(2),B(1),Nf(a.selection.hasValue()?"":"Most recent alert"))},u_a=function(a){a&1&&J(0,"b-formatted-date-time",32);a&2&&(a=O().$implicit,F("timestamp",a.timestamp))},v_a=function(a,b){a&1&&(H(0,"td",24),P(1,u_a,1,1,"b-formatted-date-time",
31),I());a&2&&(a=b.$implicit,B(1),F("ngIf",a.timestamp))},w_a=function(a){a&1&&(H(0,"th",22),R(1),I());a&2&&(a=O(2),B(1),Nf(a.selection.hasValue()?"":"Alert"))},x_a=function(a){a&1&&(H(0,"div",38),R(1),I());if(a&2){a=O().$implicit;var b=O(4);Bf("signal-chip type-button urgent-",b.getSignalUrgency(a),"");F("matTooltip",b.SIGNAL_TO_TOOLTIP_TEXT.get(a));B(1);Mf(" ",b.SIGNAL_TO_DISPLAY_TEXT.get(a)," ")}},y_a=function(a,b){a&1&&(K(0),P(1,x_a,2,5,"div",37),L());a&2&&(a=b.$implicit,b=O(4),B(1),F("ngIf",
b.SIGNAL_TO_DISPLAY_TEXT.has(a)))},z_a=function(a){a&1&&(H(0,"div",35),P(1,y_a,2,1,"ng-container",36),I());a&2&&(a=O().$implicit,B(1),F("ngForOf",a.signals))},B_a=function(a,b){a&1&&(H(0,"div",40)(1,"div",38),R(2),I(),H(3,"div",41),R(4),I()());if(a&2){a=b.ngIf;b=O(2).$implicit;var c=O(2);B(1);Bf("signal-chip type-button urgent-",c.getSignalUrgency(a),"");F("matTooltip",c.SIGNAL_TO_TOOLTIP_TEXT.get(a));B(1);Mf(" ",c.SIGNAL_TO_DISPLAY_TEXT.get(a)," ");B(1);F("matTooltip",A_a(b.signals,a));B(1);Mf(" and ",
b.signals.length-1," more ")}},D_a=function(a){a&1&&P(0,B_a,5,7,"div",39);if(a&2){a=O().$implicit;var b=O(2);F("ngIf",C_a(b,a.signals))}},E_a=function(a,b){a&1&&(H(0,"td",24),P(1,z_a,2,1,"div",33),P(2,D_a,1,1,"ng-template",null,34,hg),I());if(a&2){a=b.$implicit;var c=Lf(3);B(1);F("ngIf",3>a.signals.length)("ngIfElse",c)}},F_a=function(a){a&1&&(H(0,"th",22),R(1),I());a&2&&(a=O(2),B(1),Nf(a.selection.hasValue()?"":"Action"))},G_a=function(a,b){a&1&&(H(0,"td",24)(1,"a",42),R(2),I()());a&2&&(a=b.$implicit,
b=O(2),B(2),Mf(" ",b.SIGNAL_TO_ACTION_TEXT.get(C_a(b,a.signals))," "))},H_a=function(a){a&1&&J(0,"td",43)},J_a=function(a){if(a&1){var b=w();H(0,"td",24)(1,"button",44);M("click",function(c){var d=x(b).$implicit,e=O(2);c.preventDefault();return z(I_a(e,d))});J(2,"mat-icon",45);I()()}},K_a=function(a){a&1&&J(0,"tr",46)},L_a=function(a){if(a&1){var b=w();H(0,"tr",47);M("click",function(c){var d=x(b).$implicit,e=O(2);return z(e.navigateToResource(c,d))});I()}},M_a=function(a){a&1&&(H(0,"tr",48)(1,"td",
49),R(2," No alerts found "),I()())},N_a=function(a){a&1&&J(0,"mat-icon",53)},O_a=function(a){a&1&&J(0,"mat-icon",54)},P_a=function(a){if(a&1){var b=w();H(0,"button",50);M("click",function(){x(b);var d=O().ngIf,e=O();return z(e.setNumDisplayedRows(d))});R(1);P(2,N_a,1,0,"mat-icon",51);P(3,O_a,1,0,"mat-icon",52);I()}if(a&2){a=O().ngIf;var c=O();B(1);Mf(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");B(1);F("ngIf",a.length>c.numDisplayedRows);B(1);F("ngIf",a.length===c.numDisplayedRows)}},
Q_a=function(a,b){a&1&&(H(0,"div")(1,"table",7),K(2,8),P(3,k_a,2,2,"th",9),P(4,l_a,2,1,"td",10),L(),K(5,11),P(6,m_a,2,1,"th",9),P(7,n_a,3,5,"td",10),L(),K(8,12),P(9,r_a,3,2,"th",9),P(10,s_a,4,1,"td",10),L(),K(11,13),P(12,t_a,2,1,"th",9),P(13,v_a,2,1,"td",10),L(),K(14,14),P(15,w_a,2,1,"th",9),P(16,E_a,4,2,"td",10),L(),K(17,15),P(18,F_a,2,1,"th",9),P(19,G_a,3,1,"td",10),L(),K(20,16),P(21,H_a,1,0,"td",17),P(22,J_a,3,0,"td",10),L(),P(23,K_a,1,0,"tr",18),P(24,L_a,1,0,"tr",19),P(25,M_a,3,0,"tr",20),I(),
P(26,P_a,4,3,"button",21),I());a&2&&(a=b.ngIf,b=O(),B(1),F("dataSource",a.slice(0,b.numDisplayedRows)),B(22),F("matHeaderRowDef",b.displayedColumns),B(1),F("matRowDefColumns",b.displayedColumns),B(2),F("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))},R_a=function(a){a&1&&(H(0,"div",55),J(1,"b-spinner",56),I());a&2&&(B(1),F("large",!0)("ariaLabel","loading needs attention tasks"))},S_a=function(a,b){a&1&&(H(0,"div",7)(1,"span",8),R(2),I()());a&2&&(a=b.ngIf,B(2),Nf(a))},T_a=function(a){a&1&&(H(0,"div",
9)(1,"p",10),R(2,"Work items which require actions from you. "),H(3,"a"),R(4,"Learn more"),I(),R(5," about the criteria and alerts for the Needs Attention items."),I(),J(6,"b-needs-attention-table"),I())},V_a=function(a,b,c){return a.map(function(d){var e=d.snapshot[0],g=d.aggregatedData,h,m,r="issues/"+d.issueId,v=e.title,y=Math.floor((null!=(h=null==g?void 0:g.modifiedTimeMicros)?h:0)/1E3);g=Math.floor((null!=(m=null==g?void 0:g.createdTimeMicros)?m:0)/1E3);d=U_a(b,d,c);m=e.priority;return{link:r,
title:v,modifiedDate:y,createdDate:g,role:d,icon:"bug_report",priority:"P0"===m||"P1"===m?e.priority:null,source:"Buganizer"}})},Y_a=function(a,b){return a.map(function(c){var d=c.resource;return d?{link:d.externalLink,title:d.title,modifiedDate:d.lastModifiedTimestamp,createdDate:Math.floor(c.createdTimestamp/1E3),role:W_a[b][d.source],icon:X_a(c),priority:null,source:d.source}:null}).filter(Ei)},U_a=function(a,b,c){var d=b.snapshot[0];switch(c){case "Owned":var e;if((null==(e=d.assigneeUser)?void 0:
e.emailAddress)===a)return"Assignee";var g;if(null==(g=d.collaboratorsUsers)?0:g.some(function(r){return r.emailAddress===a}))return"Collaborator";break;case "Collaborating":var h;if((null==(h=d.reporterUser)?void 0:h.emailAddress)===a)return"Reporter";var m;if(null==(m=d.collaboratorsUsers)?0:m.some(function(r){return r.emailAddress===a}))return"Collaborator";break;case "Following":return b=b.userData,d.ccUsers&&d.ccUsers.some(function(r){return r.emailAddress===a})?"CC'd":b&&b.voted?"Upvoted":b&&
b.starred?"Starred":"Commenter"}return"--"},X_a=function(a){var b;switch(null==(b=a.resource)?void 0:b.source){case "Critique":return"check_circle_filled";case "Drive":var c,d;switch(null==(c=a.resource)?void 0:null==(d=c.driveResource)?void 0:d.type){case "Docs":return"drive_document";case "Sheets":return"drive_spreadsheet";case "Slides":return"drive_presentation";default:return"link"}case "Launch":return"launch";default:return""}},$_a=function(a){var b;return null!=(b=Np(Z_a[a].SELECTED_SOURCES)())?
b:null},a0a=function(a){var b;return null!=(b=Np(Z_a[a].SELECTED_TIME_BOUNDARY)())?b:null},b0a=function(a,b){if(a&1){var c=w();K(0);H(1,"source-filter-chips",15);M("change",function(d){x(c);var e=O().index,g=O(2);return z(g.updateSourceFilter(d,e))});I();L()}a&2&&(a=b.ngIf,B(1),F("selectedSources",a))},c0a=function(a,b){if(a&1){var c=w();K(0);H(1,"time-boundary-filter",16);M("change",function(d){x(c);var e=O().index,g=O(2);yp(Z_a[g.tabData[e].label].SELECTED_TIME_BOUNDARY)(d);g.tabData[e].filters.timeBoundary$.next(d);
return z()});I();L()}a&2&&(a=b.ngIf,B(1),F("selectedTimeBoundary",a))},d0a=function(a){a&1&&(H(0,"th",31),R(1,"Type"),I())},e0a=function(a,b){a&1&&(H(0,"td",32)(1,"mat-icon",33),R(2),I()());a&2&&(a=b.$implicit,B(1),Bf("google-material-icons product-icon ",a.icon,""),F("matTooltip",a.source),B(1),Mf(" ",a.icon," "))},f0a=function(a){a&1&&(H(0,"th",31),R(1,"Description"),I())},g0a=function(a){a&1&&J(0,"b-issue-priority-display",36);a&2&&(a=O().$implicit,F("issuePriority",a.priority))},h0a=function(a,
b){a&1&&(H(0,"td",32),P(1,g0a,1,1,"b-issue-priority-display",34),H(2,"a",35),R(3),I()());a&2&&(a=b.$implicit,B(1),F("ngIf",a.priority),B(1),F("href",a.link,Sd),pf("target","bug_report"!==a.icon?"_blank":null),B(1),Nf(a.title))},i0a=function(a){a&1&&(H(0,"th",31),R(1,"Last modified"),I())},j0a=function(a){a&1&&J(0,"b-formatted-date-time",38);a&2&&(a=O().$implicit,F("timestamp",a.modifiedDate))},k0a=function(a,b){a&1&&(H(0,"td",32),P(1,j0a,1,1,"b-formatted-date-time",37),I());a&2&&(a=b.$implicit,B(1),
F("ngIf",a.modifiedDate))},l0a=function(a){a&1&&(H(0,"th",31),R(1,"My role"),I())},m0a=function(a,b){a&1&&(H(0,"td",32),R(1),I());a&2&&(a=b.$implicit,B(1),Nf(a.role))},n0a=function(a){a&1&&(H(0,"th",31),R(1,"Creation date"),I())},o0a=function(a){a&1&&J(0,"b-formatted-date-time",38);a&2&&(a=O(2).$implicit,F("timestamp",a.createdDate))},p0a=function(a){a&1&&(K(0),P(1,o0a,1,1,"b-formatted-date-time",37),L());a&2&&(a=O().$implicit,B(1),F("ngIf",a.createdDate))},q0a=function(a,b){a&1&&(H(0,"td",32),P(1,
p0a,2,1,"ng-container",39),I());if(a&2){a=b.$implicit;O(4);var c=Lf(10);B(1);F("ngIf",0<a.createdDate)("ngIfElse",c)}},r0a=function(a){a&1&&J(0,"tr",40)},s0a=function(a){if(a&1){var b=w();H(0,"tr",41);M("click",function(c){var d=x(b).$implicit,e=O(4);return z(e.navigateToResource(c,d))});I()}},t0a=function(a){a&1&&J(0,"mat-icon",47)},u0a=function(a){a&1&&J(0,"mat-icon",48)},v0a=function(a){if(a&1){var b=w();H(0,"button",44);M("click",function(){x(b);var d=O(2).ngIf,e=O(3);return z(e.setNumDisplayedRows(d))});
R(1);P(2,t0a,1,0,"mat-icon",45);P(3,u0a,1,0,"mat-icon",46);I()}if(a&2){a=O(2).ngIf;var c=O(3);B(1);Mf(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");B(1);F("ngIf",a.length>c.numDisplayedRows);B(1);F("ngIf",a.length===c.numDisplayedRows)}},w0a=function(a){a&1&&(H(0,"td",42),P(1,v0a,4,3,"button",43),I());if(a&2){a=O().ngIf;var b=O(3);B(1);F("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},x0a=function(a){a&1&&J(0,"tr",49)},y0a=function(a,b){a&1&&(H(0,"td",52),R(1),I());a&2&&(a=b.ngIf,B(1),
Mf(" ",0===a.length?"Enable source filters to see tasks":"No tasks found"," "))},z0a=function(a){a&1&&(H(0,"tr",50),P(1,y0a,2,1,"td",51),S(2,"async"),I());a&2&&(a=O(2).$implicit,B(1),F("ngIf",T(2,1,a.filters.sources$)))},C0a=function(a,b){a&1&&(H(0,"table",17),K(1,18),P(2,d0a,2,0,"th",19),P(3,e0a,3,5,"td",20),L(),K(4,21),P(5,f0a,2,0,"th",19),P(6,h0a,4,4,"td",20),L(),K(7,22),P(8,i0a,2,0,"th",19),P(9,k0a,2,1,"td",20),L(),K(10,23),P(11,l0a,2,0,"th",19),P(12,m0a,2,1,"td",20),L(),K(13,24),P(14,n0a,2,0,
"th",19),P(15,q0a,2,2,"td",20),L(),P(16,r0a,1,0,"tr",25),P(17,s0a,1,0,"tr",26),K(18,27),P(19,w0a,2,1,"td",28),L(),P(20,x0a,1,0,"tr",29),P(21,z0a,3,3,"tr",30),I());if(a&2){a=b.ngIf;b=O().$implicit;var c=O(2);Bf("table-",b.label,"");F("dataSource",a.slice(0,c.numDisplayedRows)||Rf(7,A0a));B(16);F("matHeaderRowDef",c.displayColumns);B(1);F("matRowDefColumns",c.displayColumns);B(3);F("matFooterRowDef",Rf(8,B0a))}},D0a=function(a,b){a&1&&(H(0,"mat-tab",11)(1,"div",12)(2,"span",2),R(3,"Sources"),I(),P(4,
b0a,2,1,"ng-container",13),S(5,"async"),P(6,c0a,2,1,"ng-container",13),S(7,"async"),I(),P(8,C0a,22,9,"table",14),S(9,"async"),I());if(a&2){a=b.$implicit;O(2);var c=Lf(8);F("label",a.label);B(4);F("ngIf",T(5,5,a.filters.sources$));B(2);F("ngIf",T(7,7,a.filters.timeBoundary$));B(2);F("ngIf",T(9,9,a.tasks))("ngIfElse",c)}},E0a=function(a){if(a&1){var b=w();H(0,"div",8)(1,"mat-tab-group",9);M("selectedTabChange",function(){x(b);O().numDisplayedRows=10;return z()});P(2,D0a,10,11,"mat-tab",10);I()()}a&
2&&(a=O(),B(2),F("ngForOf",a.tabData))},F0a=function(a){a&1&&(H(0,"div",53),J(1,"b-spinner",54),I());a&2&&(B(1),F("large",!0)("ariaLabel","loading tasks"))},G0a=function(a){a&1&&R(0,"--")},H0a=function(a,b){return a.modifiedDate?b.modifiedDate?b.modifiedDate-a.modifiedDate:1:-1},I0a=function(a){a&1&&(H(0,"p",12),R(1),I());a&2&&(a=O().$implicit,B(1),Nf(a.description))},J0a=function(a,b){a&1&&(H(0,"mat-list-option",8)(1,"div",9)(2,"label",10),R(3),I()(),P(4,I0a,2,1,"p",11),I());a&2&&(a=b.$implicit,
b=O(2),xf("height","auto"),F("selected",b.selectedIds.has(a.searchId))("value",a.searchId),B(3),Nf(a.name),B(1),F("ngIf",a.description))},K0a=function(a,b){if(a&1){var c=w();K(0);H(1,"mat-selection-list",6);M("selectionChange",function(d){x(c);var e=O();return z(e.onChangeMatList(d))});P(2,J0a,5,6,"mat-list-option",7);I();L()}a&2&&(a=b.$implicit,b=O(),B(2),F("ngForOf",a)("ngForTrackBy",b.trackBySearchId))},L0a=function(a,b){a&1&&J(0,"b-user-image",1);a&2&&F("email",b.$implicit)},N0a=function(a){a&
1&&(H(0,"a",5),R(1),I());a&2&&(a=O(2),F("href",a.makeCritiqueUrl(Rf(2,M0a),a.pending),Sd),B(1),Mf("(",a.pending.length," pending)"))},O0a=function(a,b){a&1&&(H(0,"div",1),J(1,"img",2),R(2," \u00a0 "),H(3,"a",3),R(4),I(),R(5," \u00a0 "),P(6,N0a,2,3,"a",4),I());a&2&&(a=b.$implicit,b=O(),B(3),F("href",b.makeCritiqueUrl(b.submitted,b.pending),Sd),B(1),Mf("",a," CLs"),B(2),F("ngIf",0<b.pending.length))},P0a=function(a,b){a&1&&J(0,"avatar-bunch",3);a&2&&F("emails",b.$implicit)},Q0a=function(a){a&1&&(H(0,
"span",5),S(1,"date"),R(2),I());a&2&&(a=O(2),If("title","Start Date: ",Vf(1,3,a.startDate,"longDate"),""),B(2),Of(" ",a.startDateShortStr,"",a.joinerStr," "))},R0a=function(a){a&1&&(H(0,"span",6),S(1,"date"),R(2),I());a&2&&(a=O(2),If("title","End Date: ",Vf(1,2,a.endDate,"longDate"),""),B(2),Mf(" ",a.endDateShortStr," "))},S0a=function(a){a&1&&(H(0,"div",1),J(1,"mat-icon",2),P(2,Q0a,3,6,"span",3),P(3,R0a,3,5,"span",4),I());a&2&&(a=O(),B(2),F("ngIf",a.startDate),B(1),F("ngIf",a.endDate))},T0a=function(a){if(a&
1){var b=w();H(0,"div",1);M("click",function(){x(b);var c=O();return z(c.useXofYLabel=!c.useXofYLabel)});J(1,"div",2);H(2,"span");R(3);S(4,"number");I();H(5,"span");R(6);I()()}a&2&&(a=O(),Kf("title","",a.closed," of ",a.total," issues closed in this work area"),B(1),pf("style",a.makePie(a.closed/a.total),Aga),B(1),yf("display-none",a.useXofYLabel),B(1),Mf("",Vf(4,10,a.closed/a.total*100,"1.0-0"),"% complete"),B(2),yf("display-none",!a.useXofYLabel),B(1),Of("",a.closed," of ",a.total," closed"))},
U0a=function(a,b){a&1&&J(0,"progress-pie",5);a&2&&(a=b.$implicit,F("closed",a[0])("total",a[1]))},W0a=function(a,b){a&1&&(J(0,"cl-counts",6),S(1,"async"));if(a&2){a=b.$implicit;b=O();var c;F("submitted",a.changelists)("pending",null!==(c=T(1,2,b.pendingCls$))&&void 0!==c?c:Rf(4,V0a))}},X0a=function(a,b){a&1&&J(0,"avatar-bunch",7);a&2&&F("emails",b.$implicit)},Y0a=function(a){a&1&&(K(0),H(1,"div",2),R(2),I(),L());if(a&2){a=O();var b;B(1);yf("muted",!a.isNumeric(a.countDisplay)||0==a.countDisplay);
B(1);Nf(null!==(b=a.countDisplay)&&void 0!==b?b:"\u00a0")}},$0a=function(a){a&1&&(K(0),J(1,"rollups-list",4),S(2,"async"),J(3,"stat-cards-list",4),S(4,"async"),J(5,"b-issues-table",5),S(6,"slice"),S(7,"async"),H(8,"a",6),R(9,"View Hotlist"),I(),L());a&2&&(a=O(2),B(1),F("ref",a.entityReference)("query",T(2,9,a.issueQuery$)),B(2),F("ref",a.entityReference)("query",T(4,11,a.issueQuery$)),B(2),F("issueIds",Wf(6,13,T(7,17,a.issueIds$),0,a.tableLimit))("options",Rf(19,Z0a))("filters",null==a.prefsService.prefs.quickFilters?
null:a.prefsService.prefs.quickFilters[a.entityReference])("tableColumns",a.FLAT_LIST_COLUMNS),B(3),If("href","/hotlists/",a.referencedId,"",Sd))},a1a=function(a){a&1&&(K(0),J(1,"rollups-list",4),S(2,"async"),J(3,"stat-cards-list",4),S(4,"async"),J(5,"b-issues-table",5),S(6,"slice"),S(7,"async"),H(8,"a",6),R(9,"View Saved Search"),I(),L());a&2&&(a=O(2),B(1),F("ref",a.entityReference)("query",T(2,9,a.issueQuery$)),B(2),F("ref",a.entityReference)("query",T(4,11,a.issueQuery$)),B(2),F("issueIds",Wf(6,
13,T(7,17,a.issueIds$),0,a.tableLimit))("options",Rf(19,Z0a))("filters",null==a.prefsService.prefs.quickFilters?null:a.prefsService.prefs.quickFilters[a.entityReference])("tableColumns",a.FLAT_LIST_COLUMNS),B(3),If("href","/savedsearches/",a.referencedId,"",Sd))},c1a=function(a){a&1&&(K(0),J(1,"rollups-project",7)(2,"stat-cards-project",7)(3,"expandable-issues-table",8),L());if(a&2){a=O().$implicit;var b=O();B(1);F("id",a);B(1);F("id",a);B(1);If("saveExpansionAtKey","project-expansion-",a,"");F("rootIssueId",
a)("filters",null==b.prefsService.prefs.quickFilters?null:b.prefsService.prefs.quickFilters[b.entityReference])("tableColumns",b.TREE_COLUMNS)("options",Rf(7,b1a))}},d1a=function(a){a&1&&(H(0,"span",9),R(1),I());a&2&&(a=O(2),B(1),Mf(" Unhandled entity type: ",a.entityType," "))},e1a=function(a){a&1&&(K(0)(1,1),P(2,$0a,10,20,"ng-container",2),P(3,a1a,10,20,"ng-container",2),P(4,c1a,4,8,"ng-container",2),P(5,d1a,2,1,"span",3),L()());a&2&&(a=O(),B(1),F("ngSwitch",a.entityType),B(1),F("ngSwitchCase",
"hotlist"),B(1),F("ngSwitchCase","savedsearch"),B(1),F("ngSwitchCase","issue"))},f1a=function(a){a&1&&(H(0,"button",12),J(1,"mat-icon",13),R(2," Add "),I());if(a&2){O();var b=Lf(9);F("matMenuTriggerFor",b)}},g1a=function(a){a&1&&(H(0,"section",14),J(1,"img",15),H(2,"p",16),R(3," Use Work Areas to closely monitor a hotlist, saved search, or project. "),I(),H(4,"button",17),J(5,"mat-icon",18),R(6," Add work area "),I()());if(a&2){a=O();var b=Lf(9);B(1);F("src",a.ROBOT_SLEEPING,Sd);B(3);F("matMenuTriggerFor",
b)}},h1a=function(a){if(a&1){var b=w();R(0);H(1,"button",23);M("click",function(e){return e.stopPropagation()});J(2,"mat-icon",24);I();H(3,"mat-menu",25,26)(5,"a",27);J(6,"mat-icon",28);R(7);I();J(8,"mat-divider");H(9,"button",29);M("click",function(){x(b);var e=O().$implicit,g=O(2);return z(qp(g.prefsService,e,-1))});J(10,"mat-icon",30);R(11," Move Left ");I();H(12,"button",29);M("click",function(){x(b);var e=O().$implicit,g=O(2);return z(qp(g.prefsService,e,1))});J(13,"mat-icon",31);R(14," Move Right ");
I();H(15,"button",32);M("click",function(){x(b);var e=O().$implicit,g=O(2);return z(rp(g.prefsService,e))});J(16,"mat-icon",33);R(17," Remove ");I()()}if(a&2){var c=Lf(4);a=O().$implicit;var d=O(2);Mf(" ",d.titles[a]||a," ");B(1);F("matMenuTriggerFor",c);B(4);F("routerLink",d.makeBuganizerUrl(a));B(2);Mf(" View ",d.getEntityTypeName(a)," ");B(2);F("disabled",!sp(d.prefsService,a,-1));B(3);F("disabled",!sp(d.prefsService,a,1));B(3);If("title","Hide the work area '",a,"' from this section")}},i1a=function(a){a&
1&&J(0,"one-work-area",34);a&2&&(a=O().$implicit,F("reference",a))},j1a=function(a){a&1&&(K(0),H(1,"mat-tab"),P(2,h1a,18,7,"ng-template",21),P(3,i1a,1,1,"ng-template",22),I(),L())},k1a=function(a){if(a&1){var b=w();H(0,"mat-tab-group",19);M("selectedIndexChange",function(c){x(b);var d=O();return z(Op(d.prefsService,{chosenTabForWork:c}))});P(1,j1a,4,0,"ng-container",20);I()}a&2&&(a=O(),F("selectedIndex",a.prefs.chosenTabForWork),B(1),F("ngForOf",a.workAreaReferences))},l1a=function(a){if(a&1){var b=
w();K(0);J(1,"br");R(2," Some tasks are hidden, ");H(3,"a",11);M("click",function(){x(b);var c=O(3);return z(c.showHiddenTasks.emit())});R(4,"show hidden tasks");I();R(5,"? ");L()}},m1a=function(a){a&1&&(H(0,"mat-header-cell",8),J(1,"img",9),H(2,"div"),R(3," No tasks available that meet the criteria. "),P(4,l1a,6,0,"ng-container",10),I()());a&2&&(a=O(2),B(4),F("ngIf",a.areTasksHidden))},n1a=function(a){a&1&&J(0,"mat-cell")},o1a=function(a){a&1&&J(0,"mat-header-row",12)},p1a=function(a){a&1&&J(0,"mat-row")},
s1a=function(a){a&1&&(H(0,"mat-table",2),K(1,3),P(2,m1a,5,1,"mat-header-cell",4),P(3,n1a,1,0,"mat-cell",5),L(),P(4,o1a,1,0,"mat-header-row",6),P(5,p1a,1,0,"mat-row",7),I());a&2&&(F("dataSource",Rf(3,q1a)),B(4),F("matHeaderRowDef",Rf(4,r1a)),B(1),F("matRowDefColumns",Rf(5,r1a)))},t1a=function(a){a&1&&(H(0,"mat-header-cell"),R(1,"Task title"),I())},u1a=function(a,b){if(a&1){var c=w();H(0,"mat-cell")(1,"div",19);J(2,"mat-icon",20);S(3,"taskIcon");H(4,"span",21)(5,"a",22);M("click",function(){var d=x(c).$implicit,
e=O(2);return z(e.logTaskOpenedMetric(d))});R(6);I()()()()}a&2&&(a=b.$implicit,B(2),F("svgIcon",T(3,3,a)),B(3),F("href",a.resourceUrl,Sd),B(1),Mf(" ",a.title," "))},v1a=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Signals "),I())},w1a=function(a,b){a&1&&(H(0,"div",24),R(1),I());a&2&&(a=b.$implicit,F("matTooltip",a.tooltipText)("matTooltipDisabled",!a.tooltipText),B(1),Mf(" ",a.text," "))},x1a=function(a,b){a&1&&(H(0,"mat-cell"),P(1,w1a,2,3,"div",23),I());a&2&&(a=b.$implicit,B(1),F("ngForOf",a.signals))},
y1a=function(a){a&1&&(H(0,"mat-header-cell"),R(1," Actions "),I())},z1a=function(a){if(a&1){var b=w();H(0,"button",27);M("click",function(){x(b);var c=O().$implicit,d=O(2);return z(d.unhideTask(c))});J(1,"mat-icon",20);I()}a&2&&(B(1),F("svgIcon","show_task"))},A1a=function(a){if(a&1){var b=w();H(0,"button",28);M("click",function(){x(b);var c=O().$implicit,d=O(2);return z(d.hideTask(c))});J(1,"mat-icon",20);I()}a&2&&(B(1),F("svgIcon","hide_task"))},B1a=function(a,b){a&1&&(H(0,"mat-cell"),P(1,z1a,2,
1,"button",25),S(2,"async"),P(3,A1a,2,1,"ng-template",null,26,hg),I());if(a&2){a=b.$implicit;var c=Lf(4);B(1);F("ngIf",T(2,2,a.isHidden$))("ngIfElse",c)}},C1a=function(a){a&1&&J(0,"mat-header-row")},D1a=function(a,b){a&1&&(H(0,"mat-row"),S(1,"async"),I());a&2&&yf("hidden-task",T(1,2,b.$implicit.isHidden$))},E1a=function(a){a&1&&(H(0,"mat-table",2),K(1,13),P(2,t1a,2,0,"mat-header-cell",14),P(3,u1a,7,5,"mat-cell",5),L(),K(4,15),P(5,v1a,2,0,"mat-header-cell",14),P(6,x1a,2,1,"mat-cell",5),L(),K(7,16),
P(8,y1a,2,0,"mat-header-cell",14),P(9,B1a,5,4,"mat-cell",5),L(),P(10,C1a,1,0,"mat-header-row",17),P(11,D1a,2,4,"mat-row",18),I());a&2&&(a=O(),F("dataSource",a.tasks),B(10),F("matHeaderRowDef",a.displayedColumns),B(1),F("matRowDefColumns",a.displayedColumns))},F1a=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new E.Observable(function(c){(new MutationObserver(function(d){var e=d[0].target,g;d=null!=(g=e.getAttribute("aria-label"))?g:"";var h;g=null!=(h=e.getAttribute("aria-valuenow"))?
h:"indeterminate";c.next([d,g])})).observe(a,b)})},G1a=function(a){a&1&&(K(0),R(1,"Recommended Tasks"),L())},H1a=function(a){a&1&&(K(0),R(1,"Needs My Input"),L())},I1a=function(a){a&1&&J(0,"mat-progress-spinner",5);a&2&&F("diameter",16)},J1a=function(a){a&1&&(K(0),R(1,"Less"),L())},K1a=function(a){a&1&&(K(0),R(1,"More"),L())},L1a=function(a){if(a&1){var b=w();H(0,"button",8);M("click",function(){x(b);var c=O().ngIf,d=O(2);c=!c.viewAll;d.viewAll$.next(c);d.metrics.logUsageMetric("toggle_view_all",
c);return z()});R(1," View ");P(2,J1a,2,0,"ng-container",2);P(3,K1a,2,0,"ng-container",2);I()}a&2&&(a=O().ngIf,B(2),F("ngIf",a.viewAll),B(1),F("ngIf",!a.viewAll))},M1a=function(a){a&1&&(K(0),R(1,"Hide"),L())},N1a=function(a){a&1&&(K(0),R(1,"Show"),L())},O1a=function(a){if(a&1){var b=w();H(0,"button",9);M("click",function(){x(b);var c=O().ngIf,d=O(2);return z(d.setShowHidden(!c.showHidden))});P(1,M1a,2,0,"ng-container",2);P(2,N1a,2,0,"ng-container",2);R(3," Hidden Tasks ");I()}a&2&&(a=O().ngIf,B(1),
F("ngIf",a.showHidden),B(1),F("ngIf",!a.showHidden))},P1a=function(a){a&1&&(K(0),P(1,L1a,4,2,"button",6),S(2,"async"),P(3,O1a,4,2,"button",7),S(4,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,2,a.areTasksFiltered$)),B(2),F("ngIf",T(4,4,a.areTasksHidden$)))},R1a=function(a){a&1&&(Hf(0),P(1,P1a,5,6,"ng-container",2),S(2,"async"),S(3,"async"));a&2&&(a=O(),B(1),F("ngIf",Tf(5,Q1a,T(2,1,a.showHidden$),T(3,3,a.viewAll$))))},S1a=function(a){if(a&1){var b=w();K(0);H(1,"tp-task-table",10);M("showHiddenTasks",
function(){x(b);var e=O(2);return z(e.setShowHidden(!0))});S(2,"async");I();L()}if(a&2){a=O().ngIf;var c=O(),d;B(1);F("tasks",a.tasks)("showZeroState",!!a.areAllTasksLoaded&&0===a.tasks.length)("areTasksHidden",null!==(d=T(2,3,c.areTasksHidden$))&&void 0!==d?d:!1)}},T1a=function(a,b){a&1&&(K(0),P(1,S1a,3,5,"ng-container",2),L());a&2&&(a=b.ngIf,B(1),F("ngIf",a.tasks&&(0<a.tasks.length||a.areAllTasksLoaded)))},V1a=function(a,b){if(a&1){var c=w();H(0,"div",44);J(1,"span",45);H(2,"button",46);M("click",
function(){x(c);var d=O(2);U1a(d.userFeedback);return z()});R(3," Give feedback ");I()()}a&2&&(a=b.$implicit,B(1),F("innerHtml",a,Qd))},W1a=function(a){if(a&1){var b=w();H(0,"button",47);M("click",function(){x(b);var c=O(2);U1a(c.userFeedback);return z()});R(1," Give feedback ");I()}},X1a=function(a,b){if(a&1){var c=w();H(0,"button",48);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.prefs.sectionA=d)});R(1);I()}a&2&&(a=b.$implicit,B(1),Nf(a))},Y1a=function(a,b){if(a&1){var c=w();H(0,
"button",48);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.prefs.sectionT=d)});R(1);I()}a&2&&(a=b.$implicit,B(1),Nf(a))},Z1a=function(a,b){if(a&1){var c=w();H(0,"button",48);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.prefs.sectionW=d)});R(1);I()}a&2&&(a=b.$implicit,B(1),Nf(a))},$1a=function(a){a&1&&J(0,"working-on-this-week")},a2a=function(a){a&1&&J(0,"pinned-issues")},b2a=function(a){a&1&&J(0,"needs-attention-widget")},c2a=function(a){a&1&&J(0,"needs-attention-table")},
d2a=function(a){a&1&&J(0,"mvp-needs-attention")},e2a=function(a){a&1&&J(0,"needs-attention-wrapper",50)},f2a=function(a){a&1&&(H(0,"section",49),P(1,$1a,1,0,"working-on-this-week",39),P(2,a2a,1,0,"pinned-issues",39),P(3,b2a,1,0,"needs-attention-widget",39),P(4,c2a,1,0,"needs-attention-table",39),P(5,d2a,1,0,"mvp-needs-attention",39),P(6,e2a,1,0,"needs-attention-wrapper",40),I());a&2&&(a=O(2),B(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("working-on-this-week")),B(1),F("ngIf",
null==a.prefs.sectionA?null:a.prefs.sectionA.includes("pinned-issues")),B(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-cards")),B(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-table")),B(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("mvp-needs-attention")),B(1),F("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-wrapper")))},g2a=function(a){a&1&&J(0,"my-projects",51)},h2a=function(a){a&
1&&J(0,"my-projects-as-cards")},i2a=function(a){a&1&&J(0,"my-projects-as-tabs",50)},j2a=function(a){a&1&&(H(0,"h2"),R(1," My issues "),I())},k2a=function(a){a&1&&J(0,"working-on-this-week")},l2a=function(a){if(a&1){var b=w();H(0,"pinned-issues",52,53);M("cdkDropListDropped",function(c){x(b);var d=O(2);Rn(d.hackyPrefs,c.previousContainer.data[c.previousIndex].issueId);d.refreshMonitor.refreshRequest.next();return z()});I()}},m2a=function(a){a&1&&J(0,"recently-viewed-i-own")},n2a=function(a){a&1&&J(0,
"suggested-issues")},o2a=function(a){a&1&&J(0,"my-tasks-area",50)},p2a=function(a){a&1&&J(0,"my-work-card",54);a&2&&F("assignedOnly",!0)},q2a=function(a){a&1&&J(0,"my-work-card",54);a&2&&F("assignedOnly",!1)},r2a=function(a){a&1&&J(0,"my-tasks",50)},s2a=function(a){a&1&&J(0,"work-areas-wrapper-card",50)},t2a=function(a){a&1&&J(0,"my-tasks",50)},u2a=function(a){a&1&&J(0,"team-inbox",57)},v2a=function(a,b){a&1&&(H(0,"div",59),R(1),I());a&2&&(a=b.ngIf,B(1),Mf(" ",a," "))},w2a=function(a){a&1&&(H(0,"tp-needs-attention",
57),P(1,v2a,2,1,"div",58),S(2,"async"),I());a&2&&(a=O(3),B(1),F("ngIf",T(2,1,a.taskPrioritizationTasksCount$)))},x2a=function(a){a&1&&J(0,"team-activity-stream",57)},y2a=function(a){a&1&&J(0,"b-activity-stream",57)},z2a=function(a){a&1&&J(0,"my-tasks-area",50)},A2a=function(a){a&1&&J(0,"my-work-card",54);a&2&&F("assignedOnly",!0)},B2a=function(a){a&1&&J(0,"my-work-card",54);a&2&&F("assignedOnly",!1)},C2a=function(a){a&1&&J(0,"mvp-my-tasks")},D2a=function(a){a&1&&J(0,"mvp-my-work")},E2a=function(a){a&
1&&(H(0,"section",55),P(1,t2a,1,0,"my-tasks",40),P(2,u2a,1,0,"team-inbox",56),P(3,w2a,3,3,"tp-needs-attention",56),P(4,x2a,1,0,"team-activity-stream",56),P(5,y2a,1,0,"b-activity-stream",56),P(6,z2a,1,0,"my-tasks-area",40),P(7,A2a,1,1,"my-work-card",42),P(8,B2a,1,1,"my-work-card",42),P(9,C2a,1,0,"mvp-my-tasks",39),P(10,D2a,1,0,"mvp-my-work",39),I());a&2&&(a=O(2),B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mc-my-tasks")),B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-inbox")),
B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("tp-my-work")),B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-activity-stream")),B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("large-activity-stream")),B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("my-tasks-area")),B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("assigned-to-me")),B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("recent-stuff-i-follow")),
B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-tasks")),B(1),F("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-work")))},H2a=function(a){if(a&1){var b=w();H(0,"article",2)(1,"header",3);P(2,V1a,4,1,"div",4);P(3,W1a,2,0,"ng-template",null,5,hg);H(5,"form",6);M("submit",function(){x(b);var d=O(),e=d.ldapOverride;null!=e&&(document.location.search="?ldap="+e,d.hackyPrefs.init(e));return z()});H(6,"input",7);M("ngModelChange",function(d){x(b);var e=O();
return z(e.ldapOverride=d)});I();J(7,"input",8);I();H(8,"button",9);M("click",function(){x(b);var d=O();d.showSettings=!d.showSettings;return z(d.log(d.prefs))});J(9,"mat-icon",10);I()();H(10,"aside",11)(11,"div",12)(12,"h2",13);R(13," Dashboard Settings ");I();H(14,"p",13);R(15," Layout: ");H(16,"mat-button-toggle-group",14);M("change",function(d){x(b);var e=O();return z(Op(e.hackyPrefs,{layout:d.value}))});H(17,"mat-button-toggle",15)(18,"mat-icon",16);R(19,"space_dashboard");I()();H(20,"mat-button-toggle",
17)(21,"mat-icon",16);R(22,"view_stream");I()();H(23,"mat-button-toggle",18);J(24,"mat-icon",19);I()();J(25,"br");R(26," Show Hidden Settings: ");H(27,"mat-button-toggle-group",20);M("change",function(d){x(b);var e=O();Op(e.hackyPrefs,{showHiddenSettings:d.value});e.showSettings=!1;return z()});H(28,"mat-button-toggle",21);R(29," Yes ");I();H(30,"mat-button-toggle",22);R(31," No ");I()()();H(32,"form",23);M("submit",function(){x(b);var d=O();console.log("Saving settings",d.prefs);d.showSettings=!1;
d.hackyPrefs.save(d.prefs);return z()});H(33,"div",13)(34,"h2");R(35,"Widgets");I();H(36,"div",24)(37,"section",25)(38,"label");R(39,"Alerts (A)");I();H(40,"div",26)(41,"input",27);M("ngModelChange",function(d){x(b);var e=O();return z(e.prefs.sectionA=d)});I();H(42,"div",28);P(43,X1a,2,1,"button",29);I()()();H(44,"section",25)(45,"label");R(46,"Tasks (T)");I();H(47,"div",26)(48,"input",27);M("ngModelChange",function(d){x(b);var e=O();return z(e.prefs.sectionT=d)});I();H(49,"div",28);P(50,Y1a,2,1,
"button",29);I()()();H(51,"section",25)(52,"label");R(53,"Work (W)");I();H(54,"div",26)(55,"input",27);M("ngModelChange",function(d){x(b);var e=O();return z(e.prefs.sectionW=d)});I();H(56,"div",28);P(57,Z1a,2,1,"button",29);I()()()()();H(58,"button",30);R(59,"Close");I();H(60,"a",31);R(61,"Power edit");I();H(62,"button",32);M("click",function(){x(b);var d=O();return z(F2a(d))});R(63,"Clear all settings");I();H(64,"button",33);M("click",function(){x(b);O().refreshMonitor.refreshRequest.next();return z()});
J(65,"mat-icon",34);I()()()();H(66,"div",35);P(67,f2a,7,6,"section",36);H(68,"section",37);P(69,g2a,1,0,"my-projects",38);P(70,h2a,1,0,"my-projects-as-cards",39);P(71,i2a,1,0,"my-projects-as-tabs",40);P(72,j2a,2,0,"h2",39);P(73,k2a,1,0,"working-on-this-week",39);P(74,l2a,2,0,"pinned-issues",41);P(75,m2a,1,0,"recently-viewed-i-own",39);P(76,n2a,1,0,"suggested-issues",39);P(77,o2a,1,0,"my-tasks-area",40);P(78,p2a,1,1,"my-work-card",42);P(79,q2a,1,1,"my-work-card",42);P(80,r2a,1,0,"my-tasks",40);P(81,
s2a,1,0,"work-areas-wrapper-card",40);I();P(82,E2a,11,10,"section",43);I()()}if(a&2){var c=Lf(4);a=O();yf("settings-open",a.showSettings)("show-hidden-settings",a.prefs.showHiddenSettings);B(2);F("ngIf",(null==a.announcement?null:null==a.announcement.tags?null:a.announcement.tags.includes("home-feedback"))&&(null==a.announcement?null:a.announcement.message))("ngIfElse",c);B(4);F("ngModel",a.ldapOverride)("ngModelOptions",Rf(47,G2a));B(2);yf("active",a.showSettings);B(2);yf("collapsed",!a.showSettings);
B(7);F("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-a"));B(3);F("checked",null==a.prefs.layout||a.prefs.layout.includes("-b"));B(3);F("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-c"));B(5);F("value",!0)("checked",a.prefs.showHiddenSettings);B(2);F("value",!1)("checked",!a.prefs.showHiddenSettings);B(11);F("ngModel",a.prefs.sectionA)("ngModelOptions",Rf(48,G2a));B(2);F("ngForOf",a.VALID_WIDGETS_A);B(5);F("ngModel",a.prefs.sectionT)("ngModelOptions",Rf(49,G2a));B(2);
F("ngForOf",a.VALID_WIDGETS_T);B(5);F("ngModel",a.prefs.sectionW)("ngModelOptions",Rf(50,G2a));B(2);F("ngForOf",a.VALID_WIDGETS_W);B(3);If("href","/issues/",a.prefs.id,"",Sd);B(6);Bf("grid padded margin-top ",a.prefs.layout,"");B(1);F("ngIf",a.isCurrentUserHomepage);B(2);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tree"));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-cards"));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tabs"));
B(1);F("ngIf",(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"))||(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own")));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("working-on-this-week"));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own"));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("suggested-issues"));
B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-tasks-area"));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("assigned-to-me"));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recent-stuff-i-follow"));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("mc-my-tasks"));B(1);F("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("work-areas-wrapper-card"));B(1);F("ngIf",a.isCurrentUserHomepage)}},I2a=function(a){a&
1&&(H(0,"button",16)(1,"span"),R(2,"Edit"),I(),J(3,"b-icon",17),I());if(a&2){a=O();var b=Lf(7);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},J2a=function(a){a&1&&(H(0,"button",16)(1,"span"),R(2,"Link"),I(),J(3,"b-icon",17),I());if(a&2){a=O();var b=Lf(69);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},K2a=function(a){a&1&&(H(0,"button",16)(1,"span"),R(2,"CC"),I(),J(3,"b-icon",17),I());if(a&2){a=O();var b=Lf(85);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},L2a=function(a){if(a&
1){var b=w();H(0,"button",3);M("click",function(){x(b);var c=O();return z(c.bulkEdit("ESTIMATED_EFFORT"))});R(1,"Estimated Effort");I()}},M2a=function(a,b){if(a&1){var c=w();H(0,"button",3);M("click",function(){var d=x(c).$implicit,e=O();return z(e.quickBulkEdit("PRIORITY",d))});R(1);I()}a&2&&(a=b.$implicit,B(1),Mf(" ",a," "))},N2a=function(a,b){if(a&1){var c=w();H(0,"button",3);M("click",function(){var d=x(c).$implicit,e=O();return z(e.quickBulkEdit("SEVERITY",d))});R(1);I()}a&2&&(a=b.$implicit,
B(1),Mf(" ",a," "))},O2a=function(a,b){if(a&1){var c=w();H(0,"button",3);M("click",function(){var d=x(c).$implicit,e=O();return z(e.quickBulkEdit("STATUS",d))});R(1);I()}a&2&&(a=b.$implicit,b=O(),B(1),Mf(" ",b.STATUS_JS_FULL_TEXT[a]," "))},P2a=function(a,b){if(a&1){var c=w();H(0,"button",18);M("click",function(){var e=x(c).$implicit,g=O();return z(g.quickBulkEdit("TYPE",e))});R(1);I()}if(a&2){a=b.$implicit;b=O();var d;F("matTooltip",null!==(d=b.constants.issueTypesShortDescriptions.get(a))&&void 0!==
d?d:"");B(1);Mf(" ",b.constants.issueTypesDisplayNames.get(a)," ")}},Q2a=function(a){if(a&1){var b=w();H(0,"button",5);M("click",function(){x(b);var c=O(2);return z(c.exportCsvClicked.emit())});R(1,"Export issues to CSV ");I()}},R2a=function(a){if(a&1){var b=w();H(0,"button",5);M("click",function(){x(b);var c=O(2);return z(c.flagAsSpamClicked.emit())});R(1,"Flag issues as spam ");I()}},S2a=function(a){a&1&&(K(0),H(1,"button",1)(2,"span"),R(3,"More"),I(),J(4,"b-icon",2),I(),H(5,"mat-menu",null,3),
P(7,Q2a,2,0,"button",4),P(8,R2a,2,0,"button",4),I(),L());if(a&2){var b=Lf(6);a=O();B(1);F("disabled",a.isAnonymous)("matMenuTriggerFor",b);B(6);F("ngIf",a.showExportCsv);B(1);F("ngIf",a.showFlagIssuesAsSpam)}},T2a=function(a){a&1&&(K(0),R(1," Network connection has been interrupted. "),L())},U2a=function(a){a&1&&R(0," Network connection has been interrupted or login credentials may have expired. ")},X2a=function(a){if(a&1){var b=w();H(0,"button",5);M("click",function(c){x(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=$ca("undefined"!=typeof"/refreshSso".href?"/refreshSso".href:"/refreshSso")||ada;var g=void 0!==self.crossOriginIsolated,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var m="unsafe-url"===h;h=d.noreferrer;if(g&&h){if(m)throw Error("Yd");h=!1}g=d.target||"/refreshSso".target;m=[];for(var r in d)switch(r){case "width":case "height":case "top":case "left":m.push(r+
"="+d[r]);break;case "target":case "noopener":case "noreferrer":break;default:m.push(r+"="+(d[r]?1:0))}r=m.join(",");ma()&&c.navigator&&c.navigator.standalone&&g&&"_self"!=g?(d=no(document,"A"),e=e instanceof dc?e:V2a(e),d.href=ec(e),d.target=g,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),d.dispatchEvent(e)):h?(c=W2a("",c,g,r),e=ec(e),c&&(Pp&&ha(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=Mg('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
Qp(e)+'">'),(c=c.document)&&c.write&&(c.write(Og(e)),c.close()))):((c=W2a(e,c,g,r))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return z()});R(1," Log in again ");I()}},Y2a=function(a){a&1&&(H(0,"b-callout",1)(1,"b-callout-body"),P(2,T2a,2,0,"ng-container",2),P(3,U2a,1,0,"ng-template",null,3,hg),I(),H(5,"b-callout-actions"),P(6,X2a,2,0,"button",4),I()());if(a&2){var b=Lf(4);a=O();F("messageType","error");B(2);F("ngIf",a.isAnonymous)("ngIfElse",b);B(4);F("ngIf",!a.isAnonymous)}},
Z2a=function(a){a&1&&(H(0,"a",1),R(1," Hiring!\n"),I())},$2a=function(a,b){a&1&&(H(0,"tr")(1,"td",5),R(2),I(),H(3,"td"),R(4,":"),I(),H(5,"td",6),R(6),I()());a&2&&(a=b.$implicit,B(2),Nf(a.displayAs),B(4),Nf(a.description))},a3a=function(a,b){a&1&&(H(0,"thead")(1,"tr"),J(2,"th",3),H(3,"th",4),R(4),I()(),P(5,$2a,7,2,"tr",1),I());a&2&&(a=b.$implicit,B(4),Nf(a.title),B(1),F("ngForOf",a.hotkeys))},b3a=function(a){a=void 0===a?!1:a;var b=Fza(),c=b.total,d=b.redundancyRatio;en("after-60s","xhr","redundant",
b.redundant);en("after-60s","xhr","total",c);en("after-60s","xhr","redundancyRatio",d);a&&(console.table(Dza()),console.log(b))},e3a=function(a,b){var c=new c3a;d3a(c,a,b);return c},d3a=function(a,b,c){var d=na(b.snapshot),e=b.aggregatedData;var g=b&&b.accessLimit?b.accessLimit.accessLevel:void 0;a.accessLevel=g;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 h;a.isClosed=!(null==(h=El[d.status])?0:h.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=pi(d.reporterUser);a.assignee=pi(d.assigneeUser);a.assigneeEmail=ti(d.assigneeUser);a.verifier=pi(d.verifierUser);a.verifierEmail=ti(d.verifierUser);a.cc=qi(d.ccUsers);a.collaborator=qi(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;a.lastModifier=pi(d.authorUser);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(b=k(c.componentPathInfo.allCustomField),c=b.next();!c.done;c=b.next())c=c.value,a.customFieldMap[String(c.customFieldId)]=c,a.customFieldNameToIdMap[c.name.toLowerCase()]=c.customFieldId;if(d.customField)for(b=k(d.customField),c=b.next();!c.done;c=b.next())c=
c.value,a.customFieldValueMap[String(c.customFieldId)]=c;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)},f3a=function(a){a&1&&J(0,"bug-screensaver")},g3a=function(a,b){a&1&&(H(0,"div")(1,"span",3),R(2,"|"),I(),H(3,"a",6),R(4,"Code of Conduct"),I()());a&2&&(a=b.ngIf,B(3),F("href",a,Sd))},h3a=
function(a){a&1&&(H(0,"footer"),J(1,"img",1),S(2,"async"),H(3,"span",2),R(4),S(5,"async"),I(),R(6," Powered by Google "),H(7,"span",3),R(8,"|"),I(),H(9,"a",4),R(10,"Privacy"),I(),H(11,"span",3),R(12,"|"),I(),H(13,"a",5),R(14,"Terms"),I(),P(15,g3a,5,1,"div",0),S(16,"async"),I());a&2&&(a=O(),B(1),F("src",T(2,3,a.trackerLogo$),Sd),B(3),Mf("",T(5,5,a.trackerName$)," Issue Tracker"),B(11),F("ngIf",T(16,7,a.trackerCoc$)))},i3a=function(a,b){if(a&1){var c=w();K(0);H(1,"b-fab-segmented",1);M("clickMain",
function(g){x(c);var h=O(3);return z(h.trackClick(g))})("clickSegment",function(g){x(c);var h=O(3);return z(h.trackClick(g))});I();L()}if(a&2){a=b.ngIf;b=O().ngIf;var d=O().ngIf,e=O();B(1);F("label",b)("icon",a)("href",e.createIssuePath)("segments",d)}},j3a=function(a){a&1&&(K(0),P(1,i3a,2,4,"ng-container",0),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.buttonIcon$)))},k3a=function(a){a&1&&(K(0),P(1,j3a,3,3,"ng-container",0),S(2,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,1,a.buttonLabel$)))},
l3a=function(a){switch(a.getEntityReferenceCase()){case 1:var b=a.getHotlist(),c=null==b?void 0:b.getHotlist(),d,e,g;return{hotlistId:null!=(d=null==b?void 0:b.getHotlistId())?d:0,name:null!=(e=null==c?void 0:c.getName())?e:"",description:null!=(g=null==c?void 0:c.getDescription())?g:"",resourceType:"HOTLIST"};case 2:d=a.getSavedSearch();e=null==d?void 0:d.getSavedSearch();var h;return{savedSearchId:null!=(b=null==d?void 0:d.getSavedSearchId())?b:0,name:null!=(c=null==e?void 0:e.getName())?c:"",description:null!=
(h=null==e?void 0:e.getDescription())?h:"",resourceType:"SAVED_SEARCH"};default:throw Error("$d");}},o3a=function(a){var b=new Rp;"HOTLIST"===a.resourceType&&a.hotlistId&&b.setHotlist((new m3a).setHotlistId(a.hotlistId).setHotlist((new Sp).setName(a.name).setDescription(a.description)));"SAVED_SEARCH"===a.resourceType&&a.savedSearchId&&b.setSavedSearch((new n3a).setSavedSearchId(a.savedSearchId).setSavedSearch((new Tp).setName(a.name).setDescription(a.description)));return b},p3a=function(a){return{archived:a.getArchived(),
bookmarkGroupId:a.getBookmarkGroupId(),description:a.getDescription(),item:oj(a,Rp,5).map(l3a),name:a.getName(),adminUsers:a.getOwnersList().map(Bra)}},q3a=function(a){var b=a.getEntityReferenceCase();if(1===b)return{name:a.getName(),description:a.getDescription(),hotlistId:Number(a.getHotlistId()),resourceType:"HOTLIST"};if(4===b)return{name:a.getName(),description:a.getDescription(),savedSearchId:Number(a.getSavedSearchId()),resourceType:"SAVED_SEARCH"};throw Error("ae`"+a.getEntityReferenceCase());
},s3a=function(a){var b,c={bookmarkGroupId:Number(a.getBookmarkGroupId()),name:a.getName(),description:a.getDescription(),archived:a.getArchived(),item:(null!=(b=a.getItemList())?b:[]).map(q3a),adminUsers:ui(a.getAdminUsersList())};return r3a&&a.hasIt()?(a=p3a(a.getIt()),Sya(c,a),a):c},t3a=function(a){var b=new Up;b.setName(a.name);void 0!==a.description&&b.setDescription(a.description);void 0!==a.hotlistId?b.setHotlistId(String(a.hotlistId)):void 0!==a.savedSearchId&&b.setSavedSearchId(String(a.savedSearchId));
return b},u3a=function(a){if(oj(a,Vp,2)&&r3a){var b;return(null!=(b=oj(a,Vp,2))?b:[]).map(p3a)}var c;return(null!=(c=a.getBookmarkGroupsList())?c:[]).map(s3a)},v3a=function(a){a&1&&Df(0)},w3a=function(a){a&1&&Df(0)},x3a=function(a){a&1&&(K(0),P(1,w3a,1,0,"ng-container",1),L());a&2&&(a=O(),B(1),F("ngTemplateOutlet",a.content))},y3a=function(a){a&1&&R(0," Archived ")},z3a=function(a){a&1&&(H(0,"button",16),M("click",function(c){return c.stopPropagation()}),J(1,"mat-icon",17),I());if(a&2){O();var b=
Lf(5);F("matMenuTriggerFor",b)}},A3a=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(){x(b);var c=O(3).$implicit;return z(c.unstar())});R(1," Unstar ");I()}},B3a=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(){x(b);var c=O(3).$implicit;return z(c.unarchive())});R(1," Unarchive ");I()}},C3a=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(){x(b);var c=O(2).$implicit,d=O(3);return z(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");I();H(2,"button",
18);M("click",function(){x(b);var c=O(2).$implicit,d=O(3);return z(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");I();H(4,"button",18);M("click",function(){x(b);var c=O(2).$implicit,d=O(3);return z(d.openEditBookmarkGroup(c.id))});R(5," Settings ");I();P(6,A3a,2,0,"button",19);P(7,B3a,2,0,"button",19)}a&2&&(a=O(2).$implicit,B(6),F("ngIf",a.isUnstarable()),B(1),F("ngIf",a.isEditable()))},D3a=function(a){a&1&&(H(0,"div",11)(1,"span",12),R(2),I(),P(3,z3a,2,1,"button",13),H(4,"mat-menu",null,
14),P(6,C3a,8,2,"ng-template",15),I()());a&2&&(a=O().$implicit,rf("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),B(2),Nf(a.name),B(1),F("ngIf",a))},E3a=function(a,b){if(a&1){var c=w();H(0,"li",22)(1,"a",23);M("click",function(d){var e=x(c).$implicit,g=O(5);return z(g.onAnchorClick(e.href,d))});H(2,"span",12);R(3);I()()()}a&2&&(a=b.$implicit,b=O(2).$implicit,yf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==
a.type),Yja("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),F("title",a.name),B(1),F("href",a.href,Sd),B(2),Mf(" ",a.name," "))},F3a=function(a){a&1&&(H(0,"ul",20),P(1,E3a,4,12,"li",21),I());a&2&&(a=O().$implicit,B(1),F("ngForOf",a.items))},G3a=function(a,b){a&1&&(H(0,"li",7)(1,"sidebar-zippy",8),P(2,D3a,7,3,"ng-template",null,9,hg),P(4,F3a,2,1,"ng-template",null,10,hg),I()());if(a&2){a=b.$implicit;var c=Lf(3),d=Lf(5);F("title",a.name);B(1);F("header",c)("content",d)}},H3a=function(a){a&
1&&(H(0,"button",28),J(1,"mat-icon",17),I());if(a&2){O();var b=Lf(6);F("matMenuTriggerFor",b)}},I3a=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(){x(b);var c=O(2).$implicit;return z(c.unstar())});R(1," Unstar ");I()}},J3a=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(){x(b);var c=O(2).$implicit;return z(c.unarchive())});R(1," Unarchive ");I()}},K3a=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(){x(b);var c=O().$implicit,d=O(3);return z(d.openEditHotlist(c.id))});
R(1," Settings ");I();P(2,I3a,2,0,"button",19);P(3,J3a,2,0,"button",19)}a&2&&(a=O().$implicit,B(2),F("ngIf",a.isUnstarable()),B(1),F("ngIf",a.isEditable()))},L3a=function(a,b){if(a&1){var c=w();H(0,"li",24)(1,"a",25);M("click",function(d){var e=x(c).$implicit,g=O(3);return z(g.onAnchorClick(e.href,d))});H(2,"span",12);R(3);I()();P(4,H3a,2,1,"button",26);H(5,"mat-menu",null,27);P(7,K3a,4,2,"ng-template",15);I()()}a&2&&(a=b.$implicit,yf("selected",a.isSelected()),If("id","bv2-user-hotlists-archived-hotlist-item-",
a.id,""),F("title",a.name),B(1),F("href",a.href,Sd),B(2),Nf(a.name),B(1),F("ngIf",a))},M3a=function(a){a&1&&(H(0,"ul",4),P(1,G3a,6,3,"li",5),P(2,L3a,8,7,"li",6),I());a&2&&(a=O(2),B(1),F("ngForOf",a.bookmarkGroups),B(1),F("ngForOf",a.hotlists))},N3a=function(a){a&1&&(H(0,"div"),J(1,"hr"),H(2,"sidebar-zippy",1),P(3,y3a,1,0,"ng-template",null,2,hg),P(5,M3a,3,2,"ng-template",null,3,hg),I()());if(a&2){var b=Lf(4),c=Lf(6);B(2);F("header",b)("content",c)}},O3a=function(a){a&1&&J(0,"b-spinner")},P3a=function(a){if(a&
1){var b=w();H(0,"b-star-toggle",15);M("starClicked",function(){x(b);var c=O().$implicit,d=O();return z(d.toggleStar(c))});I()}a&2&&(a=O().$implicit,F("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},Q3a=function(a){a&1&&J(0,"b-hotlist-card",16);a&2&&(a=O().$implicit,F("hotlist",a))},R3a=function(a){a&1&&J(0,"b-bookmark-group-card",17);a&2&&(a=O().$implicit,F("bookmarkGroup",a))},S3a=function(a,b){a&1&&(H(0,"mat-option",8)(1,"div",9),P(2,P3a,1,3,"b-star-toggle",
10),H(3,"onedev-hovercard",null,11),P(5,Q3a,1,1,"b-hotlist-card",12),P(6,R3a,1,1,"b-bookmark-group-card",13),I(),H(7,"span",14),R(8),I()()());if(a&2){a=b.$implicit;var c=Lf(4);b=O();F("value",a);B(1);yf("bv2-bookmark-group",b.showHotlists&&a.isGroup);B(1);F("ngIf",b.shouldShowStar(a));B(3);F("ngIf",!a.isGroup);B(1);F("ngIf",!!a.isGroup);B(1);F("onedevHovercardTrigger",c);B(1);Nf(a.name)}},T3a=function(){return Hia(function(){return(0,E.from)(Promise.resolve(void 0))})},U3a=function(a){a&1&&J(0,"a",
1)},V3a=function(a){if(a&1){var b=w();H(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);M("itemSelect",function(c){x(b);var d=O();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return z()});I()()()}a&2&&(a=O(),B(2),F("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},W3a=function(a){if(a&1){var b=w();H(0,"span");R(1,"Bookmark groups");I();H(2,"b-hotlist-search-popup",4);M("itemSelect",function(c){x(b);
var d=O();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return z()})("click",function(c){return c.stopPropagation()});I()}a&2&&(B(2),F("showHotlists",!1))},X3a=function(a){a&1&&(H(0,"button",17),M("click",function(c){return c.stopPropagation()}),J(1,"mat-icon",18),I());if(a&2){O();var b=Lf(5);F("matMenuTriggerFor",b)}},Y3a=function(a){if(a&1){var b=w();H(0,"button",19);M("click",function(){x(b);var c=O(3).$implicit;return z(c.unstar())});R(1," Unstar ");I()}},Z3a=function(a){if(a&1){var b=
w();H(0,"button",19);M("click",function(){x(b);var c=O(3).$implicit;return z(c.archive())});R(1," Archive ");I()}},$3a=function(a){if(a&1){var b=w();H(0,"button",19);M("click",function(){x(b);var c=O(3).$implicit;return z(c.setAsPreferredHomepage())});R(1," Set as homepage ");I()}},a4a=function(a){if(a&1){var b=w();H(0,"button",19);M("click",function(){x(b);var c=O(2).$implicit,d=O(3);return z(d.handleBookmarkGroupOpen(c.id))});R(1," Open ");I();H(2,"button",19);M("click",function(){x(b);var c=O(2).$implicit,
d=O(3);return z(d.handleBookmarkGroupDashboard(c.id))});R(3," Dashboard ");I();H(4,"button",19);M("click",function(){x(b);var c=O(2).$implicit,d=O(3);return z(d.editBookmarkGroup(c.id))});R(5," Settings ");I();P(6,Y3a,2,0,"button",20);P(7,Z3a,2,0,"button",20);P(8,$3a,2,0,"button",20)}a&2&&(a=O(2).$implicit,B(6),F("ngIf",a.isUnstarable()),B(1),F("ngIf",a.isEditable()),B(1),F("ngIf",!a.isPreferredHomepage()))},b4a=function(a){a&1&&(H(0,"div",12)(1,"span",13),R(2),I(),P(3,X3a,2,1,"button",14),H(4,"mat-menu",
null,15),P(6,a4a,9,3,"ng-template",16),I()());a&2&&(a=O().$implicit,rf("id","bv2-user-bookmarkgroup-item-",a.id,""),B(2),Nf(a.name),B(1),F("ngIf",a))},c4a=function(a){a&1&&(H(0,"button",27),J(1,"mat-icon",18),I());if(a&2){O();var b=Lf(6);F("matMenuTriggerFor",b)}},d4a=function(a){if(a&1){var b=w();H(0,"button",19);M("click",function(){x(b);var c=O(2).$implicit;return z(c.unstar())});R(1," Unstar ");I()}},e4a=function(a){if(a&1){var b=w();H(0,"button",19);M("click",function(){x(b);var c=O(2).$implicit;
return z(c.setAsPreferredHomepage())});R(1," Set as homepage ");I()}},f4a=function(a){if(a&1){var b=w();H(0,"button",19);M("click",function(){x(b);var c=O().$implicit,d=O(5);"HOTLIST"===c.type?d.location.url(d.paths.editHotlist(c.id)):d.location.url(d.paths.editSavedSearch(c.id));return z()});R(1," Settings ");I();P(2,d4a,2,0,"button",20);P(3,e4a,2,0,"button",20)}a&2&&(a=O().$implicit,B(2),F("ngIf",a.isUnstarable()),B(1),F("ngIf",!a.isPreferredHomepage()))},g4a=function(a,b){if(a&1){var c=w();H(0,
"li",23)(1,"a",24);M("click",function(d){var e=x(c).$implicit,g=O(5);return z(g.onAnchorClick(e.href,d))});H(2,"span",13);R(3);I()();P(4,c4a,2,1,"button",25);H(5,"mat-menu",null,26);P(7,f4a,4,2,"ng-template",16);I()()}a&2&&(a=b.$implicit,b=O(2).$implicit,yf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),Yja("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),F("title",a.name),B(1),F("href",
a.href,Sd),B(2),Mf(" ",a.name," "),B(1),F("ngIf",b))},h4a=function(a){a&1&&(H(0,"ul",21),P(1,g4a,8,13,"li",22),I());a&2&&(a=O().$implicit,B(1),F("ngForOf",a.items))},i4a=function(a,b){a&1&&(H(0,"li",8)(1,"sidebar-zippy",9),P(2,b4a,7,3,"ng-template",null,10,hg),P(4,h4a,2,1,"ng-template",null,11,hg),I()());if(a&2){a=b.$implicit;var c=Lf(3),d=Lf(5);F("title",a.name);B(1);F("header",c)("content",d)("expanded",!1)}},j4a=function(a){a&1&&(H(0,"ul",6),P(1,i4a,6,4,"li",7),I());a&2&&(a=O(2),B(1),F("ngForOf",
a.bookmarkGroups))},k4a=function(a){a&1&&P(0,j4a,2,1,"ul",5);a&2&&(a=O(),F("ngIf",a.bookmarkGroups))},l4a=function(a){if(a&1){var b=w();H(0,"span");R(1,"Hotlists");I();H(2,"b-hotlist-search-popup",4);M("itemSelect",function(c){x(b);var d=O();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.url(c.href);return z()})("click",function(c){return c.stopPropagation()});I()}a&2&&(B(2),F("showGroups",!1))},m4a=function(a){a&1&&(H(0,"button",14),J(1,"mat-icon",15),I());if(a&2){O();var b=Lf(6);
F("matMenuTriggerFor",b)}},n4a=function(a){if(a&1){var b=w();H(0,"button",16);M("click",function(){x(b);var c=O(2).$implicit;return z(c.unstar())});R(1," Unstar ");I()}},o4a=function(a){if(a&1){var b=w();H(0,"button",16);M("click",function(){x(b);var c=O(2).$implicit;return z(c.setAsPreferredHomepage())});R(1," Set as homepage ");I()}},p4a=function(a){if(a&1){var b=w();H(0,"button",16);M("click",function(){x(b);var c=O().$implicit,d=O(3);return z(d.openEditHotlist(c.id))});R(1," Settings ");I();P(2,
n4a,2,0,"button",17);P(3,o4a,2,0,"button",17)}a&2&&(a=O().$implicit,B(2),F("ngIf",a.isUnstarable()),B(1),F("ngIf",!a.isPreferredHomepage()))},q4a=function(a,b){if(a&1){var c=w();H(0,"li",8)(1,"a",9);M("click",function(d){var e=x(c).$implicit,g=O(3);return z(g.onAnchorClick(e.href,d))});H(2,"span",10);R(3);I()();P(4,m4a,2,1,"button",11);H(5,"mat-menu",null,12);P(7,p4a,4,2,"ng-template",13);I()()}a&2&&(a=b.$implicit,yf("selected",a.isSelected()),If("id","bv2-user-hotlists-hotlist-item-",a.id,""),F("title",
a.name),B(1),F("href",a.href,Sd),B(2),Nf(a.name),B(1),F("ngIf",a))},r4a=function(a){a&1&&(H(0,"ul",6),P(1,q4a,8,7,"li",7),I());a&2&&(a=O(2),B(1),F("ngForOf",a.hotlists))},s4a=function(a){a&1&&P(0,r4a,2,1,"ul",5);a&2&&(a=O(),F("ngIf",a.hotlists))},t4a=function(a){a&1&&(H(0,"span"),R(1,"Saved searches"),I())},u4a=function(a){if(a&1){var b=w();H(0,"button",14);M("click",function(){x(b);var c=O(2).$implicit;return z(c.setAsPreferredHomepage())});R(1," Set as homepage ");I()}},w4a=function(a){if(a&1){var b=
w();H(0,"button",14);M("click",function(){x(b);var c=O().$implicit,d=O(3);return z(d.openEditSavedSearch(c.id))});R(1," Settings ");I();P(2,u4a,2,0,"button",15);H(3,"button",14);M("click",function(){x(b);var c=O().$implicit,d=O(3);return z(v4a(d,c))});R(4," Delete ");I()}a&2&&(a=O().$implicit,B(2),F("ngIf",!a.isPreferredHomepage()))},x4a=function(a,b){if(a&1){var c=w();H(0,"li",7)(1,"a",8);M("click",function(e){var g=x(c).$implicit,h=O(3);return z(h.onAnchorClick(g.href,e))});H(2,"span",9);R(3);I()();
H(4,"button",10);J(5,"mat-icon",11);I();H(6,"mat-menu",null,12);P(8,w4a,5,1,"ng-template",13);I()()}if(a&2){a=b.$implicit;var d=Lf(7);yf("selected",a.isSelected());rf("id","bv2-saved-searches-search-item-",a.id,"");F("title",a.name);B(1);F("href",a.href,Sd);B(2);Nf(a.name);B(1);F("matMenuTriggerFor",d)}},y4a=function(a){a&1&&(H(0,"ul",5),P(1,x4a,9,7,"li",6),I());a&2&&(a=O(2),B(1),F("ngForOf",a.searches))},z4a=function(a){a&1&&P(0,y4a,2,1,"ul",4);a&2&&(a=O(),F("ngIf",a.searches))},C4a=function(a){var b=
a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(A4a).length;var c=a.filter(function(d){return!A4a(d)}).filter(B4a).length;return{filters:b,text:a.length-b-c,resourceIds:c}},B4a=function(a){a=String(a);a=a.replace("http://b/","");a=a.replace("https://b/","");a=a.replace("b/","");a=a.trim();return 3>a.length?!1:Wp(a)},A4a=function(a){return!!a.match(/\w:\w/g)},D4a=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},E4a=function(a,
b){a&1&&J(0,"mat-icon",28);a&2&&(a=b.$implicit,F("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" tasks need attention"))},F4a=function(a){a&1&&J(0,"mat-icon",29)},H4a=function(a){if(a&1){var b=w();H(0,"button",30);M("click",function(){x(b);var c=O(2);return z(G4a(c,c.EXPERIMENTAL_HOMEPAGE))});R(1," Set as homepage ");I();H(2,"span",31);R(3," Experimental. ");H(4,"a",32);R(5,"Learn more");I();R(6,". ");I()}},I4a=function(a){if(a&1){var b=w();K(0);H(1,
"li",22)(2,"a",7);M("click",function(e){x(b);var g=O();g.onAnchorClick(g.experimentalHomepagePath,e);g.appSearchState.clear();return z()});P(3,E4a,1,3,"mat-icon",23);S(4,"async");P(5,F4a,1,0,"ng-template",null,24,hg);R(7," Home ");I();H(8,"button",25);J(9,"mat-icon",26);I();H(10,"mat-menu",null,27);P(12,H4a,7,0,"ng-template",10);I()();L()}if(a&2){var c=Lf(6),d=Lf(11);a=O();B(1);yf("selected",!!a.location.path().match(/^\/dash\b/));B(1);F("href",a.experimentalHomepagePath,Sd);B(1);F("ngIf",T(4,6,a.missionControlTaskCount$))("ngIfElse",
c);B(5);F("matMenuTriggerFor",d)}},J4a=function(a,b){a&1&&J(0,"mat-icon",36);a&2&&(a=b.$implicit,F("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" issues need attention"))},K4a=function(a){a&1&&J(0,"mat-icon",37)},L4a=function(a){a&1&&(K(0),H(1,"button",38),J(2,"mat-icon",26),I(),L());if(a&2){O();var b=Lf(10);B(1);F("matMenuTriggerFor",b)}},M4a=function(a){if(a&1){var b=w();H(0,"button",30);M("click",function(){x(b);var c=O(2);G4a(c,"NEEDS_ATTENTION");
return z()});R(1," Set as homepage ");I()}},N4a=function(a){if(a&1){var b=w();H(0,"li",33)(1,"a",7);M("click",function(d){x(b);var e=O();return z(e.onAnchorClick(e.needsAttentionPath,d))});P(2,J4a,1,3,"mat-icon",34);S(3,"async");P(4,K4a,1,0,"ng-template",null,24,hg);R(6," Needs attention ");I();P(7,L4a,3,1,"ng-container",4);S(8,"async");H(9,"mat-menu",null,35);P(11,M4a,2,0,"ng-template",10);I()()}if(a&2){var c=Lf(5);a=O();yf("selected",!!a.location.path().match(/^\/attention\b/));B(1);F("href",a.needsAttentionPath,
Sd);B(1);F("ngIf",T(3,6,a.needsAttentionIssueCount$))("ngIfElse",c);B(5);F("ngIf",!T(8,8,a.isHomepageNeedsAttention$))}},O4a=function(a){a&1&&(K(0),H(1,"button",39),J(2,"mat-icon",26),I(),L());if(a&2){O();var b=Lf(14);B(1);F("matMenuTriggerFor",b)}},Q4a=function(a){if(a&1){var b=w();H(0,"button",30);M("click",function(){x(b);var c=O();return z(P4a(c))});R(1," Set as homepage ");I()}},S4a=function(a){if(a&1){var b=w();H(0,"li")(1,"a",7);M("click",function(c){x(b);var d=O();return z(d.onAnchorClick(d.votedPath,
c))});J(2,"mat-icon",40);R(3," Upvoted by me ");I()()}a&2&&(a=O(),yf("selected",R4a(a.appSearchState)),B(1),F("href",a.votedPath,Sd))},T4a=function(a,b){if(a&1){var c=w();H(0,"li")(1,"a",7);M("click",function(d){var e=x(c).$implicit,g=O();return z(g.onAnchorClick(e,d))});J(2,"mat-icon",41);R(3," Recently Viewed ");I()()}a&2&&(a=b.$implicit,b=O(),yf("selected",!!b.location.path().match(/^\/recent\b/)),B(1),F("href",a,Sd))},U4a=function(a,b){b=void 0===b?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},V4a=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)},X4a=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;W4a++;var d=156;d+=12*(W4a-1);return function(e){e=
void 0===e?b:e;var g,h=null!=(g=document.getElementById(a))?g:U4a(a,d);V4a(h,e,c)}},Z4a=function(a){if(a&1){var b=w();H(0,"a",8);M("keydown.enter",function(){x(b);var c=O(2);return z(Y4a(c))})("keydown.space",function(){x(b);var c=O(2);return z(Y4a(c))})("click",function(){x(b);var c=O(2);return z(Y4a(c))});R(1," Dismiss");I()}},$4a=function(a){a&1&&(H(0,"div",4)(1,"div",5),J(2,"span",6),P(3,Z4a,2,0,"a",7),I()());a&2&&(a=O(),B(2),F("innerHtml",a.announcement.message,Qd),B(1),F("ngIf",a.announcement.dismissible))},
b5a=function(a){if(a&1){var b=w();H(0,"b-resizable-sidebar",9);M("widthChanged",function(c){x(b);var d=O();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,a5a(d,c));return z()});J(1,"b-sidebar");I()}a&2&&(a=O(),F("size",a.matSidebarWidth)("disableToggleBtn",!0))},c5a=function(a){switch(a){case "COMFORTABLE":return"d-comfort";case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},e5a=function(a){if(a&1){var b=w();H(0,"button",10);M("click",function(){x(b);var c=O(2),d=
new ci;c.date=d;c.dateSelectionChange.emit(d);d5a(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return z(c.saveClicked.emit())});R(1,"Today");I()}},f5a=function(a){if(a&1){var b=w();H(0,"button",11);M("click",function(){x(b);var c=O(2);c.date=void 0;c.dateSelectionChange.emit(void 0);c.dateChange.emit(c.date);return z(c.saveClicked.emit())});R(1,"None");I()}},g5a=function(a){a&1&&(H(0,"div",1),P(1,e5a,2,0,"button",8),P(2,f5a,2,0,"button",9),J(3,"mat-divider"),
I());a&2&&(a=O(),B(1),F("ngIf",a.todayButtonEnabled),B(1),F("ngIf",a.noneButtonEnabled&&!a.required))},h5a=function(a){a&1&&J(0,"b-formatted-date-time",4);a&2&&(a=O(),F("date",a.value))},i5a=function(a){a&1&&(K(0),R(1,"---"),L())},j5a=function(a,b){if(a&1){var c=w();H(0,"div",8)(1,"mat-checkbox",9);M("change",function(){var d=x(c).$implicit,e=O();e.focusFilterBox();var g=e.valueMap.get(d);g?e.valueMap.set(d,!1):!1===g?(g=null===e.originalValueMap.get(d),e.valueMap.set(d,g?null:!0)):e.valueMap.set(d,
!0);e.onSave.emit({valueMap:e.valueMap,valueChanged:e.valueChanged()});return z()})("click",function(d){return d.stopPropagation()});R(2);I()()}a&2&&(a=b.$implicit,b=O(),F("title",b.getDisplayString(a)),B(1),F("checked",!!b.valueMap.get(a))("indeterminate",null===b.valueMap.get(a)),B(1),Mf(" ",b.getDisplayString(a)," "))},l5a=function(a){if(a&1){var b=w();H(0,"input",10,11);M("keydown",function(c){x(b);var d=O();"Enter"===c.key&&(k5a(d)&&d.addValue(),c.preventDefault());return z()})("click",function(c){return c.stopPropagation()})("ngModelChange",
function(c){x(b);var d=O();return z(d.filterValue=c)});I()}a&2&&(a=O(),F("type","REPEATED_NUMERIC"===a.type?"number":"text")("ngModel",a.filterValue)("placeholder","REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},m5a=function(a){a&1&&J(0,"mat-divider")},n5a=function(a){if(a&1){var b=w();H(0,"div",12);M("click",function(c){x(b);var d=O();c.stopPropagation();return z(d.addValue())});R(1," Add ");I()}},o5a=function(a){if(a&1){var b=w();H(0,"div")(1,"b-date-time-input",13);M("valueChange",
function(c){x(b);var d=O();return z(d.currentSelectedDate=c)});I();H(2,"div",14);M("click",function(c){x(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 z()});R(3," Add ");I()()}a&2&&(a=O(),B(1),F("value",a.currentSelectedDate))},p5a=function(a){a&1&&Df(0)},r5a=function(a){if(a&1){var b=w();H(0,"div",3);M("click",function(){x(b);var d=O();return z(d.select(void 0))});
P(1,p5a,1,0,"ng-container",4);I()}if(a&2){a=O();var c=Lf(3);F("option",void 0);pf("aria-selected",a.isSelected(void 0));B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Rf(4,q5a))}},s5a=function(a){a&1&&Df(0)},u5a=function(a){if(a&1){var b=w();H(0,"div",3);M("click",function(){x(b);var e=O().$implicit,g=O();return z(g.select(e))});P(1,s5a,1,0,"ng-container",4);I()}if(a&2){a=O().$implicit;var c=O(),d=Lf(3);F("option",a);pf("aria-selected",c.isSelected(a));B(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",
Sf(4,t5a,a))}},v5a=function(a,b){a&1&&(K(0),P(1,u5a,2,6,"div",0),L());a&2&&(a=b.$implicit,B(1),F("ngIf",a))},w5a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2).$implicit,B(1),Mf(" ",a," "))},x5a=function(a){a&1&&(H(0,"span",8),R(1,"--"),I())},y5a=function(a){a&1&&(K(0),P(1,w5a,2,1,"ng-container",5),P(2,x5a,2,0,"ng-template",null,7,hg),L());if(a&2){var b=Lf(3);a=O().$implicit;B(1);F("ngIf",null!=a)("ngIfElse",b)}},z5a=function(a){a&1&&Df(0)},A5a=function(a){a&1&&P(0,z5a,1,0,"ng-container",4);if(a&2){a=
O().$implicit;var b=O();F("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",Sf(2,t5a,a))}},B5a=function(a){a&1&&(P(0,y5a,4,2,"ng-container",5),P(1,A5a,1,4,"ng-template",null,6,hg));if(a&2){var b=Lf(2);a=O();F("ngIf",!a.optionTemplate)("ngIfElse",b)}},C5a=function(a){a&1&&Df(0)},E5a=function(a){a&1&&(K(0),P(1,C5a,1,0,"ng-container",10),L());a&2&&(a=O(),B(1),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Sf(2,D5a,a.value)))},F5a=function(a){a&1&&Df(0)},G5a=function(a){a&
1&&(K(0),P(1,F5a,1,0,"ng-container",10),L());a&2&&(a=O(2),B(1),F("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",Sf(2,D5a,a.value)))},H5a=function(a){a&1&&P(0,G5a,2,4,"ng-container",3);if(a&2){a=O();var b=Lf(8);F("ngIf",a.optionTemplate)("ngIfElse",b)}},I5a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2),B(1),Mf(" ",a.value," "))},J5a=function(a){a&1&&(H(0,"span",12),R(1,"--"),I())},K5a=function(a){a&1&&(P(0,I5a,2,1,"ng-container",3),P(1,J5a,2,0,"ng-template",null,11,hg));if(a&2){var b=
Lf(2);a=O();F("ngIf",null!=a.value)("ngIfElse",b)}},L5a=function(a){a&1&&(pd(),H(0,"svg",13),J(1,"path",14),I())},M5a=function(a){a&1&&(H(0,"div"),R(1," The selected issues have no custom fields in common. "),I())},N5a=function(a){a&1&&(H(0,"span"),R(1,"*"),I())},O5a=function(a){if(a&1){var b=w();H(0,"input",16);M("ngModelChange",function(c){x(b);var d=O(2).$implicit;return z(d.textValue=c)});I()}a&2&&(a=O(2).$implicit,O(),F("ngModel",a.textValue),pf("aria-labelledby",Xp(a)))},P5a=function(a){if(a&
1){var b=w();H(0,"input",17);M("ngModelChange",function(c){x(b);var d=O(2).$implicit;return z(d.numericValue=c)});I()}a&2&&(a=O(2).$implicit,O(),F("ngModel",a.numericValue),pf("aria-labelledby",Xp(a)))},R5a=function(a){if(a&1){var b=w();H(0,"div")(1,"b-date-time-input",18);M("valueChange",function(e){x(b);var g=O(2).$implicit;O();return z(g.dateValue=e?ki(e):void 0)});I()()}if(a&2){a=O(2).$implicit;var c=O(),d;B(1);F("value",null!==(d=Q5a(a.dateValue))&&void 0!==d?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",
Xp(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},T5a=function(a){if(a&1){var b=w();H(0,"onedev-single-select",19);M("valueChange",function(d){x(b);var e=O(2).$implicit;return z(e.enumValue=d)});I()}if(a&2){a=O(2).$implicit;O();var c;F("value",a.enumValue)("options",null!==(c=a.allowedValue)&&void 0!==c?c:Rf(3,S5a));pf("aria-labelledby",Xp(a))}},V5a=function(a){if(a&1){var b=w();H(0,"b-bulk-repeated-field-picker",20);M("onSave",function(e){x(b);var g=O(2).$implicit,h=O();return z(U5a(h,
g.customFieldId,e))});I()}if(a&2){a=O(2).$implicit;var c=O(),d;F("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",null!==(d=a.allowedValue)&&void 0!==d?d:Rf(3,S5a))}},W5a=function(a){a&1&&(K(0,10),P(1,O5a,1,2,"input",11),P(2,P5a,1,2,"input",12),P(3,R5a,2,4,"div",13),P(4,T5a,1,4,"onedev-single-select",14),P(5,V5a,1,4,"b-bulk-repeated-field-picker",15),L());if(a&2){a=O().$implicit;var b=O();F("ngSwitch",b.getCustomFieldType(a));B(1);F("ngSwitchCase",
"TEXT");B(1);F("ngSwitchCase","NUMERIC");B(1);F("ngSwitchCase","DATE");B(1);F("ngSwitchCase","ENUM")}},X5a=function(a){if(a&1){var b=w();H(0,"span");R(1," Multiple values ");I();H(2,"a",21);M("click",function(){x(b);var c=O().$implicit,d=O();return z(d.clearCustomFieldValue(c))});R(3,"X");I()}},Y5a=function(a,b){a&1&&(H(0,"div",5)(1,"div",6)(2,"label",7),R(3),P(4,N5a,2,0,"span",1),I()(),P(5,W5a,6,5,"ng-template",8),P(6,X5a,4,0,"ng-template",null,9,hg),I());if(a&2){a=b.$implicit;var c=Lf(7);O();B(2);
F("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]");pf("id",Xp(a));B(1);Mf(" ",a.name," ");B(1);F("ngIf",a.required);B(1);F("ngIf",!a.hasMultipleValues)("ngIfElse",c)}},Z5a=function(a){return new Set(a.map(function(b){return bi(b)}))},Yp=function(a,b,c){return a.has(b)?c:""},$5a=function(a,b,c){return a.has(b)?c:[]},Zp=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},c6a=function(a){if(!a)return"";var b=a6a.get(a.retentionSelection),c=a.retentionPeriodDays,
d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=b6a.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},e6a=function(a){if(!a)return"";var b=a.inherit,c=d6a.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},f6a=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},g6a=function(a){a&1&&(H(0,
"li")(1,"a",4),R(2," Create an issue in this component"),I()());a&2&&(a=O(2),B(1),F("href",a.createIssueUrl,Sd))},h6a=function(a,b){a&1&&(K(0),H(1,"h3"),R(2),I(),H(3,"p"),R(4),I(),J(5,"b-access-level-indicator",3),H(6,"p"),R(7),I(),H(8,"ul")(9,"li")(10,"a",4),R(11," View recent open issues"),I()(),P(12,g6a,3,1,"li",2),H(13,"li")(14,"a",4),R(15," View component"),I()()(),L());a&2&&(a=b.ngIf,b=O(),B(2),Nf(a.name),B(2),Mf("ID: ",b.componentId,""),B(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",
!0),B(2),Nf(a.description),B(3),F("href",b.recentIssuesUrl,Sd),B(2),F("ngIf",!b.isAnonymous),B(2),F("href",b.viewComponentUrl,Sd))},i6a=function(a,b){a&1&&(H(0,"mat-option",19),R(1),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",a," "))},j6a=function(a){if(a&1){var b=w();H(0,"mat-form-field",16)(1,"mat-select",17);M("selectionChange",function(c){x(b);var d=O(2);return z(d._changePageSize(c.value))});P(2,i6a,2,2,"mat-option",18);I()()}a&2&&(a=O(2),F("appearance",a._formFieldAppearance)("color",
a.color),B(1),F("value",a.pageSize)("disabled",a.disabled)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering)("aria-label",a._intl.itemsPerPageLabel),B(1),F("ngForOf",a._displayedPageSizeOptions))},k6a=function(a){a&1&&(H(0,"div",20),R(1),I());a&2&&(a=O(2),B(1),Nf(a.pageSize))},l6a=function(a){a&1&&(H(0,"div",12)(1,"div",13),R(2),I(),P(3,j6a,3,8,"mat-form-field",14),P(4,k6a,2,1,"div",15),I());a&2&&(a=O(),B(2),Mf(" ",a._intl.itemsPerPageLabel,
" "),B(1),F("ngIf",1<a._displayedPageSizeOptions.length),B(1),F("ngIf",1>=a._displayedPageSizeOptions.length))},m6a=function(a){if(a&1){var b=w();H(0,"button",21);M("click",function(){x(b);var c=O();if(c.hasPreviousPage()){var d=c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return z()});pd();H(1,"svg",7);J(2,"path",22);I()()}a&2&&(a=O(),F("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),pf("aria-label",
a._intl.firstPageLabel))},n6a=function(a){if(a&1){var b=w();pd();qd();H(0,"button",23);M("click",function(){x(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 z()});pd();H(1,"svg",7);J(2,"path",24);I()()}a&2&&(a=O(),F("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),pf("aria-label",a._intl.lastPageLabel))},o6a=
function(a){if(a&1){var b=w();H(0,"mat-paginator",3);M("page",function(c){x(b);var d=O(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return z()});I()}a&2&&(a=O(),F("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},p6a=function(a,b){if(a&1){var c=w();H(0,"li")(1,"a",4);M("click",function(){var e=x(c).$implicit,g=O();return z(g.onVisit.emit(e))});R(2);I();H(3,"onedev-hovercard",null,5);J(5,"b-component-card",6);I()()}if(a&2){a=b.$implicit;
var d=Lf(4);b=O();B(1);F("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId),Sd);B(1);Mf(" ",a.name," ");B(3);F("componentId",a.componentId.toString())}},q6a=function(a){if(a&1){var b=w();H(0,"button",6);M("click",function(){x(b);var c=O();return z(c.onClickCopyIssueShortLinks.emit())});R(1);I()}a&2&&(a=O(),B(1),Mf(" Copy '",a.shortLinkPrefix,"'' links "))},r6a=function(a,b){a&1&&(H(0,"span",5)(1,"a",6),R(2),I(),H(3,"onedev-hovercard",null,7),J(5,"b-component-card",8),I()());
if(a&2){a=b.$implicit;var c=Lf(4);B(1);F("onedevHovercardTrigger",c)("routerLinkObj",a.route);B(1);Nf(a.name);B(3);F("componentId",a.id.toString())}},s6a=function(a){a&1&&(H(0,"span",9),R(1,"[Archived]"),I())},$p=function(a,b){b=void 0===b?nm:b;var c,d=null!=(c=null==a?void 0:a.componentPathId)?c:[],e,g=null!=(e=null==a?void 0:a.componentPathName)?e:[];return d.map(function(h,m){var r;m=null!=(r=g[m])?r:String(h);r=b(h);return{id:h,name:m,route:r}})},t6a=function(a){if(a&1){var b=w();H(0,"a",18);
M("click",function(){x(b);var c=O().$implicit,d=O();return z(d.showChildren(c))});J(1,"mat-icon",19);I()}},u6a=function(a){if(a&1){var b=w();H(0,"a",20);M("click",function(){x(b);var c=O().$implicit;return z(c.showChildren=!1)});J(1,"mat-icon",21);I()}},w6a=function(a){a&1&&(H(0,"a",22),R(1," (Recent Issues) "),I());if(a&2){a=O().$implicit;var b=O();F("href",b.paths.listIssues(Sf(1,v6a,"status:open componentid:"+a.componentId)),Sd)}},x6a=function(a){a&1&&(H(0,"span"),R(1,"[Archived]"),I())},y6a=function(a){a&
1&&(H(0,"a",23),R(1," Create issue "),I());if(a&2){a=O().$implicit;var b=O();F("href",b.paths.createIssue()+"?component="+a.componentId,Sd)}},z6a=function(a){a&1&&(H(0,"div",28),R(1," No child components found. "),I())},A6a=function(a){a&1&&(H(0,"div",29),J(1,"b-spinner"),I())},B6a=function(a){if(a&1){var b=w();H(0,"component-subtree-list",30);M("childClosed",function(d){x(b);var e=O(3);return z(e.onSubtreeChildClosed(d))});I()}if(a&2){a=O(2).$implicit;var c=O();F("components",a.children)("parentComponent",
a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},C6a=function(a){a&1&&(H(0,"div",24),P(1,z6a,2,0,"div",25),P(2,A6a,2,0,"div",26),P(3,B6a,1,4,"component-subtree-list",27),I());a&2&&(a=O().$implicit,B(1),F("ngIf",a.noChildren),B(1),F("ngIf",!(a.noChildren||a.children)),B(1),F("ngIf",a.children))},D6a=function(a,b){if(a&1){var c=w();H(0,"li",2);M("click",function(d){var e=x(c).$implicit,g=O();return z(g.setSelected(e.componentId,d))});H(1,"div",3);J(2,"div",4);H(3,"div",5);
P(4,t6a,2,0,"a",6);P(5,u6a,2,0,"a",7);I();H(6,"div",8)(7,"div")(8,"a",9);R(9);I();P(10,w6a,2,3,"a",10);P(11,x6a,2,0,"span",11);J(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);I();H(14,"div",14);R(15);I()();H(16,"div",15);P(17,y6a,2,1,"a",16);I()();P(18,C6a,4,3,"div",17);I()}a&2&&(a=b.$implicit,b=O(),If("id","component-",a.componentId,""),B(4),F("ngIf",!a.showChildren),B(1),F("ngIf",a.showChildren),B(3),F("href",b.paths.viewComponent(a.componentId),Sd),B(1),Mf(" ",a.name," "),B(1),
F("ngIf",!a.archived),B(1),F("ngIf",a.archived),B(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),B(1),F("trackerId",a.trackerId),B(2),Nf(a.description),B(2),F("ngIf",!a.archived),B(1),F("ngIf",a.showChildren))},E6a=function(a){if(a&1){var b=w();H(0,"a",18);M("click",function(){x(b);var c=O().$implicit,d=O();return z(d.showChildren(c))});J(1,"mat-icon",19);I()}},F6a=function(a){if(a&1){var b=w();H(0,"a",20);M("click",function(){x(b);var c=O().$implicit;return z(c.showChildren=
!1)});J(1,"mat-icon",21);I()}},H6a=function(a){a&1&&(H(0,"a",22),R(1," (Recent Issues) "),I());if(a&2){a=O().$implicit;var b=O();F("href",b.paths.listIssues(Sf(1,G6a,"status:open componentid:"+a.componentId)),Sd)}},I6a=function(a){a&1&&(H(0,"span"),R(1,"[Archived]"),I())},J6a=function(a){a&1&&(H(0,"a",23),R(1," Create issue "),I());if(a&2){a=O().$implicit;var b=O();F("href",b.paths.createIssue()+"?component="+a.componentId,Sd)}},K6a=function(a){a&1&&(H(0,"div",28),R(1," No child components found. "),
I())},L6a=function(a){a&1&&(H(0,"div",29),J(1,"b-spinner"),I())},M6a=function(a){if(a&1){var b=w();H(0,"component-subtree-list",30);M("childClosed",function(d){x(b);var e=O(3);return z(e.onSubtreeChildClosed(d))});I()}if(a&2){a=O(2).$implicit;var c=O();F("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},N6a=function(a){a&1&&(H(0,"div",24),P(1,K6a,2,0,"div",25),P(2,L6a,2,0,"div",26),P(3,M6a,1,4,"component-subtree-list",27),I());
a&2&&(a=O().$implicit,B(1),F("ngIf",a.noChildren),B(1),F("ngIf",!(a.noChildren||a.children)),B(1),F("ngIf",a.children))},O6a=function(a,b){if(a&1){var c=w();H(0,"li",2);M("click",function(d){var e=x(c).$implicit,g=O();return z(g.setSelected(e.componentId,d))});H(1,"div",3);J(2,"div",4);H(3,"div",5);P(4,E6a,2,0,"a",6);P(5,F6a,2,0,"a",7);I();H(6,"div",8)(7,"div")(8,"a",9);R(9);I();P(10,H6a,2,3,"a",10);P(11,I6a,2,0,"span",11);J(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);I();H(14,
"div",14);R(15);I()();H(16,"div",15);P(17,J6a,2,1,"a",16);I()();P(18,N6a,4,3,"div",17);I()}a&2&&(a=b.$implicit,b=O(),F("id","component-"+a.componentId),B(4),F("ngIf",!a.showChildren),B(1),F("ngIf",a.showChildren),B(3),F("href",b.paths.viewComponent(a.componentId),Sd),B(1),Mf(" ",a.name," "),B(1),F("ngIf",!a.archived),B(1),F("ngIf",a.archived),B(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),B(1),F("trackerId",a.trackerId),B(2),Nf(a.description),B(2),F("ngIf",!a.archived),B(1),
F("ngIf",a.showChildren))},P6a=function(a){a&1&&(J(0,"div"),S(1,"lowercase"));a&2&&(a=O(3),Bf("bv2-edit-icon ",T(1,3,a.type),""))},Q6a=function(a){a&1&&(H(0,"div")(1,"label"),R(2),I(),P(3,P6a,2,5,"div",10),I());a&2&&(a=O(2),Bf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),B(2),Mf(" ",a.title," "),B(1),F("ngIf",!a.readonly&&!a.disabled))},R6a=function(a){a&1&&Df(0)},S6a=function(a){if(a&1){var b=w();H(0,"div",14);M("menuClosed",function(){x(b);var e=O(2);return z(aq(e,null,!1,!0))});
P(1,R6a,1,0,"ng-container",15);I()}if(a&2){O();var c=Lf(7);O();var d=Lf(7);F("matMenuTriggerFor",d);B(1);F("ngTemplateOutlet",c)}},T6a=function(a){a&1&&Df(0)},U6a=function(a){a&1&&(H(0,"div",16),P(1,T6a,1,0,"ng-container",15),I());if(a&2){O();var b=Lf(7);B(1);F("ngTemplateOutlet",b)}},V6a=function(a){a&1&&J(0,"b-user-membership-chip",25);a&2&&(a=O(5),F("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},W6a=function(a){a&1&&J(0,"b-user-image",26);a&2&&(a=O(5),F("email",a.value))},
X6a=function(a){a&1&&(H(0,"span",27)(1,"b-person-hovercard",28),R(2),I()());a&2&&(a=O(5),B(1),F("email",a.value),B(1),Mf(" ",a.getDisplayValue("--")," "))},Y6a=function(a){a&1&&(K(0),H(1,"div",21),P(2,V6a,1,4,"b-user-membership-chip",22),P(3,W6a,1,1,"b-user-image",23),P(4,X6a,3,2,"span",24),I(),L());a&2&&(a=O(4),B(2),F("ngIf",a.enableTeamAnnotations&&!!a.value),B(1),F("ngIf",!a.enableTeamAnnotations&&!!a.value),B(1),F("ngIf",!a.enableTeamAnnotations))},Z6a=function(a){a&1&&(H(0,"div"),P(1,Y6a,5,3,
"ng-container",3),I());a&2&&(a=O(3),B(1),F("ngIf",a.isUser))},$6a=function(a){a&1&&J(0,"b-truncated-span",33);a&2&&(a=O(4),F("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},a7a=function(a){a&1&&J(0,"b-truncated-span",34);a&2&&(a=O(4),F("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},b7a=function(a){a&1&&J(0,"b-truncated-span",33);a&2&&(a=O(4),Bf("chippy status-",a.value,""),F("maxWidth",150)("modelValue",
a.getDisplayValue("--"))("disabled",!a.truncate))},c7a=function(a){a&1&&J(0,"div",35)},d7a=function(a){a&1&&(H(0,"div"),P(1,$6a,1,3,"b-truncated-span",29),P(2,a7a,1,4,"b-truncated-span",30),P(3,b7a,1,6,"b-truncated-span",31),P(4,c7a,1,0,"div",32),I());a&2&&(a=O(3),B(1),F("ngIf","Priority"!==a.title&&"Status"!==a.title),B(1),F("ngIf","Priority"===a.title),B(1),F("ngIf","Status"===a.title),B(1),F("ngIf",!a.title&&!a.readonly&&!a.disabled))},e7a=function(a){a&1&&(H(0,"div",36),J(1,"mat-icon",37),I())},
f7a=function(a){a&1&&(H(0,"div",38),J(1,"mat-icon",39),I())},h7a=function(a){if(a&1){var b=w();H(0,"div",17,18);M("keydown",function(c){x(b);var d=O(2);return z(g7a(d,c))})("click",function(c){x(b);var d=O(2);return z(aq(d,c,!0,!1))});P(2,Z6a,2,1,"div",3);P(3,d7a,5,4,"div",3);P(4,e7a,2,0,"div",19);P(5,f7a,2,0,"div",20);I()}a&2&&(a=O(2),yf("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),B(2),F("ngIf",a.isUser),B(1),F("ngIf",!a.isUser),B(1),F("ngIf","ENUM"!=a.type),B(1),F("ngIf",
"ENUM"==a.type))},i7a=function(a){if(a&1){var b=w();H(0,"div",8,9);M("click",function(c){x(b);var d=O();return z(aq(d,c,!0,!1))})("keydown",function(c){x(b);var d=O();return z(g7a(d,c))})("keydown.escape",function(){x(b);var c=Lf(2);return z(c.hide())});P(3,Q6a,4,5,"div",10);P(4,S6a,2,2,"div",11);P(5,U6a,2,1,"div",12);P(6,h7a,6,8,"ng-template",null,13,hg);I()}a&2&&(a=O(),Bf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),yf("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),
sf("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),F("matTooltip",a.getTooltip()),pf("aria-disabled",!1),B(3),F("ngIf",a.title),B(1),F("ngIf","ENUM"===a.type),B(1),F("ngIf","ENUM"!==a.type))},j7a=function(a){if(a&1){var b=w();H(0,"div",43);M("click",function(){x(b);var c=O(2);return z(c.setFieldValue(!c.value))});H(1,"label");R(2);I()()}a&2&&(a=O(2),Bf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),B(2),Nf(a.title))},l7a=function(a){if(a&1){var b=w();H(0,"div",
40);P(1,j7a,3,4,"div",41);H(2,"b-slide-toggle",42);M("modelChange",function(){x(b);var d=O();return z(d.setFieldValue(!d.value))});I()()}if(a&2){a=O();var c;Bf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");F("ngClass",Tf(10,k7a,a.disabled,a.readonly))("matTooltip",a.getTooltip());pf("aria-disabled",!1);B(1);F("ngIf",a.title);B(1);F("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&void 0!==c?c:void 0)}},m7a=function(a){a&1&&J(0,"b-availability-chip",
45);a&2&&(a=O(2),F("user",a.value))},n7a=function(a){a&1&&(K(0),P(1,m7a,1,1,"b-availability-chip",44),L());a&2&&(a=O(),B(1),F("ngIf",a.value&&a.enableWaldoAvailability))},o7a=function(a){if(a&1){var b=w();H(0,"button",48);M("click",function(){x(b);var c=O(2);return z(c.clearFieldValue())});H(1,"span",49);J(2,"mat-icon",50);I();R(3," \u00a0 ");I()}a&2&&(a=O(2),yf("b-menu-item-checked",null==a.value),F("disabled",null==a.value))},p7a=function(a,b){if(a&1){var c=w();H(0,"button",51);M("click",function(){var d=
x(c).$implicit,e=O(2);return z(e.setFieldValue(d.value))});H(1,"span",49);J(2,"mat-icon",50);I();R(3);I()}a&2&&(a=b.$implicit,b=O(2),yf("b-menu-item-checked",b.value==a.value),F("disabled",b.value==a.value)("matTooltip",a.altText||""),pf("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),B(3),Mf(" ",a.displayText," "))},q7a=function(a){a&1&&(P(0,o7a,4,3,"button",46),P(1,p7a,4,7,"button",47));a&2&&(a=O(),F("ngIf",a.clearable),B(1),F("ngForOf",a.choices))},r7a=function(a){a&
1&&Df(0)},s7a=function(a){a&1&&Df(0)},t7a=function(a){if(a&1){var b=w();H(0,"div",43);M("click",function(d){return d.stopPropagation()});H(1,"b-date-time-picker-content",57);M("dateSelectionChange",function(d){x(b);var e=O(2);return z(e.googDateValue=null!==d&&void 0!==d?d:null)})("saveClicked",function(){x(b);var d=O(2);return z(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){x(b);var d=O(2);return z(aq(d,null,!1,!1))});I()()}if(a&2){a=O(2);var c;B(1);F("required",!(a.clearable&&"DATE"===
a.type))("date",null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},v7a=function(a){if(a&1){var b=w();H(0,"textarea",66);M("ngModelChange",function(c){x(b);var d=O(4);return z(d.textBuffer=c)})("keydown",function(c){x(b);var d=O(4);return z(u7a(d,c))});I()}a&2&&(a=O(4),F("ngModel",a.textBuffer),pf("aria-label",a.title))},x7a=function(a){if(a&1){var b=w();H(0,"input",67);M("ngModelChange",function(c){x(b);var d=O(4);return z(d.textBuffer=c)})("keydown",function(c){x(b);var d=O(4);return z(w7a(d,c))});
I()}a&2&&(a=O(4),F("ngModel",a.textBuffer),pf("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},y7a=function(a){a&1&&(H(0,"div"),P(1,v7a,1,2,"textarea",64),P(2,x7a,1,3,"input",65),I());a&2&&(a=O(3),B(1),F("ngIf",a.multiline),B(1),F("ngIf",!a.multiline))},z7a=function(a){if(a&1){var b=w();H(0,"textarea",70);M("ngModelChange",function(c){x(b);var d=O(4);return z(d.textBuffer=c)})("keydown",function(c){x(b);var d=O(4);return z(u7a(d,c))})("autocompleteActive",function(c){x(b);var d=
O(4);return z(d.autocompleteActive=c)});I()}a&2&&(a=O(4),F("ngModel",a.textBuffer)("bContactAutocomplete","MULTI"),pf("aria-label",a.title))},A7a=function(a){if(a&1){var b=w();H(0,"input",71);M("ngModelChange",function(c){x(b);var d=O(4);return z(d.textBuffer=c)})("keydown",function(c){x(b);var d=O(4);return z(w7a(d,c))})("autocompleteActive",function(c){x(b);var d=O(4);return z(d.autocompleteActive=c)});I()}a&2&&(a=O(4),F("ngModel",a.textBuffer)("bContactAutocomplete","SINGLE"),pf("type","NUMERIC"===
a.type?"number":"text")("aria-label",a.title))},B7a=function(a){a&1&&(H(0,"div"),P(1,z7a,1,3,"textarea",68),P(2,A7a,1,4,"input",69),I());a&2&&(a=O(3),B(1),F("ngIf",a.multiline),B(1),F("ngIf",!a.multiline))},D7a=function(a){if(a&1){var b=w();H(0,"div",58);M("click",function(c){return c.stopPropagation()});P(1,y7a,3,2,"div",3);P(2,B7a,3,2,"div",3);H(3,"div",59)(4,"button",60);M("click",function(){x(b);var c=O(2);return z(C7a(c))});J(5,"mat-icon",61);I();H(6,"button",62);M("click",function(c){x(b);var d=
O(2);return z(aq(d,c,!1,!0))});J(7,"mat-icon",63);I()();H(8,"div",36);J(9,"mat-icon",37);I()()}a&2&&(a=O(2),B(1),F("ngIf",!a.isUser),B(1),F("ngIf",a.isUser),B(2),rf("aria-label","Apply change to ",a.title,""),If("matTooltip","Apply change to ",a.title,""),F("disabled",a.value==a.textBuffer),B(2),rf("aria-label","Discard change to ",a.title,""),If("matTooltip","Discard change to ",a.title,""))},E7a=function(a){a&1&&(H(0,"div",52,53),P(2,r7a,1,0,"ng-container",54),P(3,s7a,1,0,"ng-container",54),P(4,
t7a,2,2,"div",55),P(5,D7a,10,7,"div",56),I());a&2&&(a=O(),Bf("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),F("ngSwitch",a.type),B(2),F("ngSwitchCase","ENUM"),B(1),F("ngSwitchCase","BOOL"),B(1),F("ngSwitchCase","DATE"))},F7a=function(a){switch(null==a?void 0:a.type){case "ENUM":return"ENUM";case "DATE":return"DATE";case "TEXT":return"TEXT";case "NUMERIC":return"NUMERIC";default:return null}},G7a=function(a){a&1&&J(0,"b-icon",7);a&2&&(a=O(),F("name",a.iconName))},H7a=function(a){a&
1&&(H(0,"span",8),R(1),I());a&2&&(a=O(),B(1),Nf(a.title))},I7a=function(a){a&1&&(H(0,"div",9),R(1,"\u00a0"),I())},J7a=function(a){a&1&&(H(0,"label"),R(1),I());a&2&&(a=O(),B(1),Mf(" ",a.title," "))},L7a=function(a,b){a&1&&(H(0,"div",18),Df(1,19),I());if(a&2){a=b.$implicit;b=b.index;O(2);var c=Lf(13);B(1);F("ngTemplateOutletContext",Tf(2,K7a,a,b))("ngTemplateOutlet",c)}},M7a=function(a){a&1&&(H(0,"collapsible-panel",15),P(1,L7a,2,5,"div",16),Df(2,17),I());if(a&2){a=O();var b=Lf(15);F("isExpanded",a.isExpanded)("iconName",
a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);B(1);F("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);B(1);F("ngTemplateOutlet",b)}},N7a=function(a,b){a&1&&(H(0,"div",18),Df(1,19),I());if(a&2){a=b.$implicit;b=b.index;O(2);var c=Lf(13);B(1);F("ngTemplateOutletContext",Tf(2,K7a,a,b))("ngTemplateOutlet",c)}},O7a=function(a){a&1&&(H(0,"div"),R(1,"--"),I())},P7a=function(a){a&1&&(K(0),P(1,N7a,2,5,"div",16),Df(2,17),P(3,O7a,2,0,"div",3),L());if(a&2){a=O();var b=Lf(15);
B(1);F("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);B(1);F("ngTemplateOutlet",b);B(1);F("ngIf",!(null==a.values?0:a.values.length))}},S7a=function(a){if(a&1){var b=w();H(0,"button",24);M("menuOpened",function(){x(b);var d=O(2);Q7a(d);d.enumPendingValues=new Set(d.values||[]);return z()})("menuClosed",function(){x(b);var d=O(2);return z(R7a(d))});R(1,"Edit ");I()}if(a&2){a=O(2);var c=Lf(17);rf("aria-label","Add item to ",a.title,"");F("matMenuTriggerFor",c)}},T7a=function(a){a&1&&
(H(0,"button",25),R(1,"Add "),I());if(a&2){a=O(2);var b=Lf(22);rf("aria-label","Add item to ",a.title,"");F("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},U7a=function(a){if(a&1){var b=w();H(0,"button",26);M("beforeOpened",function(){x(b);var d=O(2);return z(d.invalidMessage="")});R(1,"Add ");I()}if(a&2){a=O(2);var c=Lf(20);rf("aria-label","Add item to ",a.title,"");If("matTooltip","Add item to ",a.title,"");F("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},
V7a=function(a){a&1&&(K(0,20),P(1,S7a,2,2,"button",21),P(2,T7a,2,3,"button",22),P(3,U7a,2,4,"button",23),L());a&2&&(a=O(),F("ngSwitch",a.type),B(1),F("ngSwitchCase","REPEATED_ENUM"),B(1),F("ngSwitchCase","REPEATED_DATE"))},W7a=function(a){a&1&&(H(0,"div"),J(1,"b-changelist-link",39),I());if(a&2){a=O(2).item;var b=O();B(1);F("changelistId",b.asNumber(a))}},X7a=function(a){a&1&&(H(0,"div")(1,"a",40),R(2),I()());if(a&2){a=O(3).item;var b=O();B(1);F("href",b.getTaskFlowLink(a),Sd);pf("aria-label","Workspace"+
a.workspaceId);B(1);Mf(" ",a.workspaceName," ")}},Y7a=function(a){a&1&&P(0,X7a,3,3,"div",30);if(a&2){O();var b=Lf(6);O();a=O();F("ngIf","WORKSPACES"===a.type)("ngIfElse",b)}},Z7a=function(a){a&1&&(H(0,"div"),J(1,"b-team-display",41),I());a&2&&(a=O(3).item,B(1),F("teamId",a.teamId)("componentId",a.componentId))},$7a=function(a){a&1&&P(0,Z7a,2,2,"div",30);if(a&2){O();var b=Lf(8);O();a=O();F("ngIf","TEAM"===a.type)("ngIfElse",b)}},a8a=function(a){if(a&1){var b=w();H(0,"div")(1,"a",42);M("click",function(){x(b);
var c=O(4);return z(c.trackClick("postmortem"))});R(2);I()()}a&2&&(a=O(3).item,B(1),If("href","https://pm.corp.google.com/",a,"",Sd),rf("aria-label","Postmortem ",a,""),B(1),Mf(" ",a," "))},b8a=function(a){a&1&&P(0,a8a,3,3,"div",30);if(a&2){O();var b=Lf(10);O();a=O();F("ngIf","POSTMORTEMS"===a.type)("ngIfElse",b)}},d8a=function(a){if(a&1){var b=w();H(0,"div")(1,"a",43);M("click",function(){x(b);var d=O(4);return z(d.trackClick("repeated-enum"))});R(2);I()()}if(a&2){a=O(3).item;var c=O();B(1);sf("aria-label",
"customfield",c.customFieldId,":",a,"");F("queryParams",Sf(4,c8a,"customfield"+c.customFieldId+':"'+a+'"'));B(1);Mf(" ",a," ")}},e8a=function(a){a&1&&P(0,d8a,3,6,"div",30);if(a&2){O();var b=Lf(12);O();a=O();F("ngIf","REPEATED_ENUM"===a.type)("ngIfElse",b)}},f8a=function(a){a&1&&(H(0,"div"),J(1,"b-truncated-span",45),I());if(a&2){a=O(3).item;var b=O();B(1);F("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},g8a=function(a){a&1&&J(0,"b-user-membership-chip",49,50);if(a&2){a=O(4).item;var b=
O();F("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)("enableGroupIcon",!0)}},h8a=function(a){a&1&&(H(0,"b-person-hovercard",51),R(1),I());a&2&&(a=O(4).item,F("email",a),B(1),Mf(" ",a," "))},i8a=function(a){a&1&&(H(0,"div",46),P(1,g8a,2,5,"b-user-membership-chip",47),P(2,h8a,2,2,"b-person-hovercard",48),I());a&2&&(a=O(4),B(1),F("ngIf",a.enableTeamAnnotations),B(1),F("ngIf",!a.enableTeamAnnotations))},j8a=function(a){a&1&&(P(0,f8a,2,3,"div",3),P(1,i8a,3,2,"div",44));if(a&2){a=
O(2).item;var b=O();F("ngIf",!b.isUser&&b.isString(a));B(1);F("ngIf",b.isUser&&b.isString(a))}},k8a=function(a){if(a&1){var b=w();H(0,"b-icon",52);M("click",function(){x(b);var c=O(3);return z(c.toggleAccessLimits.emit())});I()}},l8a=function(a){if(a&1){var b=w();H(0,"button",54,55);M("click",function(){x(b);var d=O(3).$index,e=O();return z(e.removeItem(d))});I()}if(a&2){a=O(3).item;var c=O();sf("aria-label","Remove ",a," from ",c.title,"");F("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},
m8a=function(a){a&1&&P(0,l8a,2,4,"button",53);a&2&&(a=O(3),F("ngIf",!a.readonly&&"REPEATED_ENUM"!==a.type))},n8a=function(a){a&1&&(H(0,"div",28)(1,"div",29),P(2,W7a,2,1,"div",30),P(3,Y7a,1,2,"ng-template",null,31,hg),P(5,$7a,1,2,"ng-template",null,32,hg),P(7,b8a,1,2,"ng-template",null,33,hg),P(9,e8a,1,2,"ng-template",null,34,hg),P(11,j8a,2,2,"ng-template",null,35,hg),I(),P(13,k8a,1,0,"b-icon",36),P(14,m8a,1,1,"ng-template",null,37,hg),J(16,"div",38),I());if(a&2){var b=Lf(4),c=Lf(15);a=O().$index;
var d=O();B(2);F("ngIf","CHANGELISTS"===d.type)("ngIfElse",b);B(11);F("ngIf","USERCHIP"===d.type&&d.toggleAccessLimits.observed&&(null==d.userChips?null:d.userChips.get(a))&&(null==d.userChips?null:d.userChips.get(a).isGroup))("ngIfElse",c)}},o8a=function(a,b){a&1&&P(0,n8a,17,4,"div",27);a&2&&(a=b.$index,b=O(),F("ngIf",b.showingAll||a<b.defaultLineCount||!!b.values&&b.values.length===b.defaultLineCount+1))},p8a=function(a){if(a&1){var b=w();H(0,"div",57,58);M("click",function(c){x(b);var d=O(2);return z(bq(d,
!1,c))})("keydown.enter",function(c){x(b);var d=O(2);return z(bq(d,!1,c))})("keydown.space",function(c){x(b);var d=O(2);return z(bq(d,!1,c))});R(2," (show fewer) ");I()}a&2&&(a=O(2),sf("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),If("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},q8a=function(a){if(a&1){var b=w();H(0,"div")(1,"div",59);R(2);H(3,"span",60,61);M("click",function(c){x(b);var d=O(2);return z(bq(d,!0,c))})("keydown.enter",function(c){x(b);
var d=O(2);return z(bq(d,!0,c))})("keydown.space",function(c){x(b);var d=O(2);return z(bq(d,!0,c))});R(5," (show all) ");I()()()}a&2&&(a=O(2),B(2),Mf(" ... and ",a.values.length-a.defaultLineCount," more "),B(1),sf("aria-label","Show all ",null==a.values?null:a.values.length," ",a.title," items"),If("matTooltip","Show all ",null==a.values?null:a.values.length," items in the list"))},r8a=function(a){a&1&&(P(0,p8a,3,3,"div",56),P(1,q8a,6,4,"div",3));a&2&&(a=O(),F("ngIf",a.showingAll&&!!a.values&&a.values.length>
a.defaultLineCount+1),B(1),F("ngIf",!a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1))},s8a=function(a,b){if(a&1){var c=w();H(0,"button",63);M("click",function(d){var e=x(c).$implicit,g=O(2);e=e.value;g.enumPendingValues.has(e)?g.enumPendingValues.delete(e):g.enumPendingValues.add(e);null==d||d.stopPropagation();return z()});H(1,"span",64);J(2,"mat-icon",65);I();R(3);I()}a&2&&(a=b.$implicit,b=O(2),yf("b-menu-item-checked",b.enumPendingValues.has(a.value)),F("disabled",b.listFieldDisabled),
pf("aria-label",a.displayText),B(3),Mf(" ",a.displayText," "))},t8a=function(a){a&1&&P(0,s8a,4,5,"button",62);a&2&&(a=O(),F("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},u8a=function(a){a&1&&J(0,"input",75);a&2&&(a=O(2),rf("aria-label","Addition to ",a.title,""),F("bContactAutocomplete","MULTI"))},v8a=function(a){a&1&&J(0,"input",76);a&2&&(a=O(2),rf("aria-label","Addition to ",a.title,""),F("type","REPEATED_NUMERIC"===a.type?"number":"text"))},w8a=function(a){a&1&&(H(0,"mat-error"),
R(1),I());a&2&&(a=O(2),sf("aria-label","",a.title," error: ",a.invalidMessage,""),B(1),Mf(" ",a.invalidMessage," "))},z8a=function(a){if(a&1){var b=w();H(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",66,67);M("ngSubmit",function(){x(b);var d=Lf(3),e=Lf(4),g=O();return z(x8a(g,d,e))});P(5,u8a,1,2,"input",68);P(6,v8a,1,2,"input",69);H(7,"div",70)(8,"button",71);J(9,"mat-icon",72);I();H(10,"button",73);M("click",function(){x(b);var d=O();return z(y8a(d,!0))});J(11,"mat-icon",74);I()();
P(12,w8a,2,3,"mat-error",3);I()()()}if(a&2){var c=Lf(3);a=O();B(5);F("ngIf",a.isUser);B(1);F("ngIf",!a.isUser);B(2);rf("aria-label","Apply addition to ",a.title,"");F("disabled",!c.valid||a.listFieldDisabled);B(2);rf("aria-label","Discard addition to ",a.title,"");B(2);F("ngIf",a.invalidMessage)}},A8a=function(a){if(a&1){var b=w();H(0,"b-date-time-picker-content",77);M("dateChange",function(c){x(b);var d=O();return z(c&&d.addItems(c))})("cancelClicked",function(){x(b);var c=O();return z(y8a(c,!1))});
I()}a&2&&F("required",!0)("renderPanel",!1)},cq=function(a,b){return{originX:a,originY:b}},dq=function(a,b){return{overlayX:a,overlayY:b}},B8a=function(a){switch(null==a?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}},C8a=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*$/)?a:null},F8a=function(a){if(a&1){var b=w();H(0,"b-edit-field",3);M("valueChange",function(e){x(b);var g=O(2);return z(g.save.emit(e))});I()}if(a&2){a=O().ngIf;var c=O(),d;F("readonly",c.readonly)("name","customField"+c.field.customFieldId)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("clearable",!c.field.required)("value",D8a(c))("displayValueOverride",c.getDisplayValue())("choices",
null!==(d=a.choices)&&void 0!==d?d:Rf(11,E8a))("showEnumTitle",!0)("disabled",c.disabled)}},H8a=function(a){if(a&1){var b=w();H(0,"b-list-field",4);M("valuesChange",function(d){x(b);var e=O(2);return z(e.save.emit(d.values))});I()}if(a&2){a=O().ngIf;var c=O();F("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("customFieldId",c.field.customFieldId)("tooltip",c.getTooltip())("values",G8a(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",
c.disabled)}},I8a=function(a,b){a&1&&(K(0),P(1,F8a,1,12,"b-edit-field",1),P(2,H8a,1,10,"b-list-field",2),L());a&2&&(a=b.ngIf,B(1),F("ngIf",!a.isRepeated()),B(1),F("ngIf",a.isRepeated()))},J8a=function(a){a&1&&(H(0,"div"),R(1," Loading custom fields... "),I())},K8a=function(a){a&1&&(H(0,"div"),R(1),I());a&2&&(a=O(2),B(1),Mf(" There are no custom fields in component ",a.selectedComponent.name,". "))},L8a=function(a,b){a&1&&(H(0,"mat-option",9),R(1),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",
a.name," "))},M8a=function(a){if(a&1){var b=w();H(0,"div")(1,"mat-form-field",6)(2,"mat-label");R(3,"Custom field");I();H(4,"mat-select",7);M("selectionChange",function(c){x(b);var d=O(2);return z(d.fieldSelected.emit(c.value))});P(5,L8a,2,2,"mat-option",8);I()()()}a&2&&(a=O(2),B(5),F("ngForOf",a.customFields))},N8a=function(a){a&1&&(H(0,"div",4),P(1,J8a,2,0,"div",5),P(2,K8a,2,1,"div",5),P(3,M8a,6,1,"div",5),I());a&2&&(a=O(),B(1),F("ngIf",null==a.customFields),B(1),F("ngIf",a.customFields&&!a.customFields.length),
B(1),F("ngIf",null==a.customFields?null:a.customFields.length))},O8a=function(a){a&1&&Df(0)},P8a=function(){},Q8a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().value,B(1),Nf(a.textValue))},R8a=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",5),L());if(a&2){a=O().value;var b=O();B(1);F("date",b.toDate(a.dateValue))}},S8a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().value,B(1),Nf(a.enumValue))},T8a=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().value,B(1),Nf(a.numericValue))},U8a=function(a,b){a&1&&
(K(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,B(1),Of("",a,"",b?"":", ",""))},V8a=function(a){a&1&&(K(0),P(1,U8a,2,2,"ng-container",6),L());a&2&&(a=O().value,B(1),F("ngForOf",a.repeatedTextValue.values))},W8a=function(a,b){a&1&&(K(0),J(1,"b-formatted-date-time",5),R(2),L());if(a&2){a=b.$implicit;b=b.last;var c=O(3);B(1);F("date",c.toDate(a));B(1);Nf(b?"":", ")}},X8a=function(a){a&1&&(K(0),P(1,W8a,3,2,"ng-container",6),L());a&2&&(a=O().value,B(1),F("ngForOf",a.repeatedDateValue.values))},Y8a=function(a,
b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,B(1),Of("",a,"",b?"":", ",""))},Z8a=function(a){a&1&&(K(0),P(1,Y8a,2,2,"ng-container",6),L());a&2&&(a=O().value,B(1),F("ngForOf",a.repeatedEnumValue.values))},$8a=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,b=b.last,B(1),Of("",a,"",b?"":", ",""))},a9a=function(a){a&1&&(K(0),P(1,$8a,2,2,"ng-container",6),L());a&2&&(a=O().value,B(1),F("ngForOf",a.repeatedNumericValue.values))},b9a=function(a,b){a&1&&(P(0,Q8a,2,1,"ng-container",4),P(1,R8a,
2,1,"ng-container",4),P(2,S8a,2,1,"ng-container",4),P(3,T8a,2,1,"ng-container",4),P(4,V8a,2,1,"ng-container",4),P(5,X8a,2,1,"ng-container",4),P(6,Z8a,2,1,"ng-container",4),P(7,a9a,2,1,"ng-container",4));a&2&&(a=b.value,b=O(),F("ngIf",null!=a.textValue),B(1),F("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),B(1),F("ngIf",null!=a.enumValue),B(1),F("ngIf",null!=a.numericValue),B(1),F("ngIf",null!=a.repeatedTextValue),B(1),F("ngIf",null!=a.repeatedDateValue),B(1),F("ngIf",null!=a.repeatedEnumValue),B(1),
F("ngIf",null!=a.repeatedNumericValue))},eq=function(a){var b=void 0===b?c9a:b;var c=xa(a),d=function(e){e=k(e);e.next();e=Ce(e);return b(c,e)};return function(){var e=Wc.apply(0,arguments),g=this||ba,h=d9a.get(g);h||(h={},d9a.set(g,h));g=h;h=[this].concat(ad(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(g,e))g=g[e];else{var m=k(h);h=m.next().value;m=Ce(m);h=a.apply(h,m);g=g[e]=h}return g}},fq=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(":");0>e||(b[d.substring(0,e)]=d.substring(e+2,d.length))}return b},gq=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},e9a=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},g9a=function(a){a=cc(a);for(var b=0;b<f9a.length;++b){var c=f9a[b],d=gq(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,e9a(a,c))}return a},h9a=function(a){a=cc(a);e9a(a,"X-Goog-Upload-Status");return a},j9a=function(a){if(a&1){var b=w();H(0,"button",3);M("fileSelected",
function(c){x(b);var d=O();return z(i9a(d,c))});J(1,"mat-icon",4);I()}a&2&&(a=O(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},k9a=function(a){if(a&1){var b=w();H(0,"button",5);M("fileSelected",function(c){x(b);var d=O();return z(i9a(d,c))});J(1,"mat-icon",4);R(2," Add attachments ");I()}a&2&&(a=O(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},l9a=function(a){a&1&&(H(0,"span"),
R(1),S(2,"humanFileSize"),S(3,"humanFileSize"),I());if(a&2){a=O().$implicit;var b;B(1);Of(" ",T(2,2,a.transferredBytes)," of ",T(3,4,null!==(b=a.size)&&void 0!==b?b:0)," ")}},m9a=function(a){a&1&&(H(0,"span",11),R(1),I());a&2&&(a=O().$implicit,B(1),Mf(" ",a.errorMessage," "))},n9a=function(a){a&1&&(H(0,"span",11),R(1),S(2,"humanFileSize"),I());if(a&2){a=O().$implicit;var b;B(1);Mf(" ",T(2,1,null!==(b=a.size)&&void 0!==b?b:0)," ")}},p9a=function(a,b){if(a&1){var c=w();H(0,"div",3)(1,"div",4);J(2,"mat-icon",
5);H(3,"span",6);R(4);I();H(5,"span",7);P(6,l9a,4,6,"span",8);P(7,m9a,2,1,"span",9);P(8,n9a,3,3,"span",9);I()();H(9,"button",10);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.cancel(d))});I()()}a&2&&(a=b.$implicit,b=O(2),F("ngClass",Sf(8,o9a,a.state===b.uploadStates.ERROR)),B(3),F("matTooltip",a.name),B(1),Nf(a.name),B(2),F("ngIf",a.state===b.uploadStates.UPLOADING),B(1),F("ngIf",a.state===b.uploadStates.ERROR),B(1),F("ngIf",a.state===b.uploadStates.COMPLETE),B(1),F("matTooltip",a.state===
b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),pf("aria-label","Remove attachment"+a.name))},q9a=function(a){a&1&&(H(0,"div",1),P(1,p9a,10,10,"div",2),I());a&2&&(a=O(),B(1),F("ngForOf",a.uploads))},r9a=function(a){this.action=a;this.wfv=!1},s9a=function(a,b){r9a.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},t9a=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},v9a=function(a,b){var c=b&&b.getWindow()||window;if(t9a(b))a();else if(u9a)u9a.push(a);
else var d=u9a=[a],e=c.setInterval(function(){if(t9a(b)){c.clearInterval(e);for(var g=0;g<d.length;g++)d[g]();u9a=null}},100)},x9a=function(a,b){var c;a:{for(c=b.target;c;){if(1==c.nodeType){var d=hq(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!w9a(a,c)||c.scrollHeight==c.clientHeight||0<b.deltaY&&1>=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)&&b.stopPropagation()},y9a=function(a){if(a&1){var b=w();H(0,"div",1);J(1,"mat-icon",
2);H(2,"div",3);R(3," Comment and vote +1 on this issue to increase visibility ");I();H(4,"div",4)(5,"button",5);M("click",function(){x(b);var c=O();return z(c.onClick())});R(6,"Comment and vote +1");I()()()}a&2&&(B(1),F("matTooltip","The +1 button is located in the top right corner of the issue details page"))},z9a=function(a){if(a&1){var b=w();K(0);H(1,"b-plus-one-comment-callout",7);M("onSubmitComment",function(){x(b);O().onSubmit.emit();return z()});I();L()}a&2&&(a=O(),B(1),F("isPlusOneText",
"+1"===a.comment.value.trim()))},A9a=function(a){if(a&1){var b=w();H(0,"b-drive-attachment",12);M("onPickDoc",function(c){x(b);var d=O(2);d.comment&&(d.comment.value+="\n\n"+c.url+" ("+c.name+")");return z()})("onCloneBlob",function(c){x(b);var d=O(2);return z(d.addUpload(c))});I()}a&2&&(a=O(2),F("disabled",a.attachmentsDisabled))},B9a=function(a){if(a&1){var b=w();K(0);H(1,"button",16);M("click",function(){x(b);var c=O(3);return z(c.onRestrict.emit())});J(2,"mat-icon",17);I();L()}a&2&&(a=O(3),B(1),
F("disabled",a.attachmentsDisabled))},C9a=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(){x(b);var c=O(3);return z(c.onRestrict.emit())});J(1,"mat-icon",17);R(2);I()}a&2&&(a=O(3),B(2),Mf(" ",a.getRestrictedLabel()," "))},D9a=function(a){a&1&&(H(0,"div",13),P(1,B9a,3,1,"ng-container",14),P(2,C9a,3,1,"ng-template",null,15,hg),I());if(a&2){var b=Lf(3);a=O(2);B(1);F("ngIf",!a.isRestricted())("ngIfElse",b)}},E9a=function(a){if(a&1){var b=w();H(0,"div",8);Hf(1,2,["class","goog-inline-block"]);
H(2,"b-attachment-selector",9);M("onSelect",function(d){x(b);var e=O();return z(e.uploadFile(d))});I();P(3,A9a,1,1,"b-drive-attachment",10);S(4,"async");P(5,D9a,4,2,"div",11);I()}if(a&2){a=O();var c;B(2);F("disabled",a.attachmentsDisabled);B(1);F("ngIf",!(null!==(c=T(4,3,a.currentTracker.inTracker$))&&void 0!==c&&c));B(2);F("ngIf",a.showRestrictionOptions)}},F9a=function(a){a&1&&(H(0,"div"),J(1,"b-live-preview",19),I());a&2&&(a=O(),B(1),F("comment",a.comment.value)("issueId",a.issueId)("audience",
a.audience)("formattingMode",a.comment.formattingMode))},H9a=function(a,b){if(a&1){var c=w();H(0,"button",13);M("click",function(){var d=x(c).$implicit,e=O(3);return z(G9a(e.issueEditBuilder,d))});R(1);I()}a&2&&(a=b.$implicit,b=O(3),F("disabled",b.issueEditBuilder.issueState==a),B(1),Mf(" ",a.displayValue," "))},I9a=function(a){if(a&1){var b=w();H(0,"div",27)(1,"span");R(2,"Multiple");I();H(3,"a",28);M("click",function(){x(b);var c=O(4);return z(c.issueEditBuilder.clearAssignee())});R(4,"X");I()()}},
J9a=function(a){if(a&1){var b=w();H(0,"div",27)(1,"span");R(2,"Possibly multiple");I();H(3,"a",28);M("click",function(){x(b);var c=O(4);return z(c.issueEditBuilder.clearAssignee())});R(4,"X");I()()}},L9a=function(a){if(a&1){var b=w();H(0,"div")(1,"input",29);M("ngModelChange",function(c){x(b);var d=O(4);return z(d.issueEditBuilder.commonAssignee=c)})("ngModelChange",function(){x(b);var c=O(4);return z(K9a(c.issueEditBuilder))});I()()}a&2&&(a=O(4),B(1),F("ngModel",a.issueEditBuilder.commonAssignee)("bContactAutocomplete",
"SINGLE"),pf("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},M9a=function(a){if(a&1){var b=w();H(0,"div",27)(1,"span");R(2);I();H(3,"a",30);M("click",function(){x(b);var c=O(4);return z(c.issueEditBuilder.clearVerifier())});R(4,"X");I()()}a&2&&(a=O(4),yf("bv2-invalid-multiple-user-chip",!iq(a.issueEditBuilder)),B(2),Mf(" Multiple ",iq(a.issueEditBuilder)?"":"(some unset)"," "))},N9a=function(a){if(a&1){var b=w();H(0,"div",27)(1,"span");R(2);I();H(3,"a",30);M("click",function(){x(b);
var c=O(4);return z(c.issueEditBuilder.clearVerifier())});R(4,"X");I()()}a&2&&(a=O(4),yf("bv2-invalid-multiple-user-chip",!iq(a.issueEditBuilder)),B(2),Mf(" Possibly multiple ",iq(a.issueEditBuilder)?"":"(some unset)"," "))},O9a=function(a){if(a&1){var b=w();H(0,"div")(1,"input",31);M("ngModelChange",function(c){x(b);var d=O(4);return z(d.issueEditBuilder.commonVerifier=c)});I()()}a&2&&(a=O(4),B(1),F("ngModel",a.issueEditBuilder.commonVerifier)("required","VERIFIED"==(null==a.issueEditBuilder.issueState?
null:a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),pf("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},P9a=function(a){a&1&&(H(0,"div")(1,"div",21)(2,"label",22),R(3," Assignee "),I(),H(4,"div",15),P(5,I9a,5,0,"div",23),P(6,J9a,5,0,"div",23),P(7,L9a,2,3,"div",24),I()(),H(8,"div",21)(9,"label",25),R(10," Verifier "),I(),H(11,"div",15),P(12,M9a,5,3,"div",26),P(13,N9a,5,3,"div",26),P(14,O9a,2,4,"div",24),I()()());a&2&&(a=O(3),B(4),F("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),
B(1),F("ngSwitchCase","MULTIPLE"),B(1),F("ngSwitchCase","POSSIBLY_MULTIPLE"),B(5),F("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),B(1),F("ngSwitchCase","MULTIPLE"),B(1),F("ngSwitchCase","POSSIBLY_MULTIPLE"))},Q9a=function(a){if(a&1){var b=w();H(0,"div",21)(1,"label",32);R(2," Issue ID ");I();H(3,"input",33);M("ngModelChange",function(c){x(b);var d=O(3);return z(d.issueEditBuilder.commonDuplicateOf=c.trim())});I()()}a&2&&(a=O(3),B(3),F("ngModel",a.issueEditBuilder.commonDuplicateOf),pf("cdkFocusInitial",
a.focus===a.FocusableField.DUPE_ID||null))},R9a=function(a,b){a&1&&(H(0,"li"),R(1),J(2,"b-access-level-indicator",36),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.path," "),B(1),F("accessLevel",a.accessLevel))},S9a=function(a){a&1&&(H(0,"div",34)(1,"div")(2,"strong"),R(3,"You are editing issues in components that have external viewers:"),I()(),H(4,"ul"),P(5,R9a,3,2,"li",35),I()());a&2&&(a=O(3),B(5),F("ngForOf",a.externalWarnings))},T9a=function(a){if(a&1){var b=w();H(0,"div",9)(1,"button",10)(2,"span");
R(3);I();J(4,"b-icon",11);I();H(5,"mat-menu",null,12)(7,"button",13);M("click",function(){x(b);var d=O(2);return z(d.issueEditBuilder.issueState=void 0)});R(8,"No change ");I();P(9,H9a,2,2,"button",14);I();H(10,"div",15);P(11,P9a,15,6,"div",16);P(12,Q9a,4,2,"div",17);I();H(13,"div")(14,"b-comment-box",18);M("onSubmit",function(){x(b);var d;null==(d=O(2).matDialogRef)||d.close(!0);return z()});I()();J(15,"div",19);P(16,S9a,6,1,"div",20);I()}if(a&2){var c=Lf(6);a=O(2);B(1);F("matMenuTriggerFor",c);
B(2);Nf(a.issueEditBuilder.issueState?a.issueEditBuilder.issueState.displayValue:"No change");B(4);F("disabled",!a.issueEditBuilder.issueState);B(2);F("ngForOf",a.issueStates);B(1);F("ngSwitch",!a.issueEditBuilder.issueState||"DUPLICATE"!==a.issueEditBuilder.issueState.status);B(1);F("ngSwitchCase",!0);B(3);F("comment",a.comment)("showToolbar",!1);B(2);F("ngIf",0<a.externalWarnings.length)}},U9a=function(a){if(a&1){var b=w();H(0,"div",37)(1,"b-recaptcha",38);M("onUpdate",function(c){x(b);var d=O(2);
return z(d.issueEditBuilder.recaptchaResponse=c)});I()()}},W9a=function(a){a&1&&(H(0,"form",null,1)(2,"h1",2),R(3,"Change issue status"),I(),H(4,"div",3)(5,"span"),R(6,"Enter updated issue status information below"),I(),P(7,T9a,17,9,"div",4),I(),P(8,U9a,2,0,"div",5),H(9,"div",6)(10,"button",7),R(11," Cancel "),I(),H(12,"button",8),R(13," Save "),I()()());if(a&2){var b=Lf(1);a=O();B(7);F("ngIf",a.issueEditBuilder);B(1);F("ngIf",a.issueEditBuilder&&a.enableRecaptcha);B(2);F("mat-dialog-close",!1);B(2);
var c=F("mat-dialog-close",!0),d;if(!(d=b.invalid))a:{if(null!=a.issueEditBuilder){d=V9a(a.issueEditBuilder);var e=d.get("status");if("DUPLICATE"===e){d=!d.get("duplicateOfIssueId");break a}if("VERIFIED"===e){d=!iq(a.issueEditBuilder)&&!d.get("verifier");break a}}d=!1}c("disabled",d||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},jq=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===a||"EXTERNAL_PUBLIC"===a},X9a=function(a){var b;
return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},kq=function(a){var b;return"EXTERNAL_PUBLIC"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},Y9a=function(a,b){return a?a.join(" > "):String(b)},Z9a=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""}},$9a=function(a){a&1&&(H(0,"div")(1,"p"),R(2),I()());a&2&&(a=O(),B(2),Of(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},a$a=function(a,b){a&1&&(H(0,"li"),R(1),I());a&2&&(a=b.$implicit,B(1),Of(" ",a.issueId," - ",a.title," "))},b$a=function(a){a&1&&(H(0,"div")(1,"p"),R(2),I(),H(3,"ul"),P(4,a$a,2,2,"li",9),I()());a&2&&(a=O(),B(2),Mf(" You do not have permissions to mark ",
a.protectedIssues.length," issues. These will not be flagged as spam. "),B(2),F("ngForOf",a.protectedIssues))},c$a=function(a){if(a&1){var b=w();H(0,"mat-dialog-content")(1,"mat-form-field")(2,"mat-label");R(3);I();H(4,"input",5);M("ngModelChange",function(c){x(b);var d=O();return z(d.numericEstimatedEffort=c)})("keypress",function(c){x(b);var d=O();return z(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+c.key))});I()()()}a&2&&(a=O(),B(3),Mf(" ",a.effortSpecName," "),B(1),F("ngModel",a.numericEstimatedEffort))},
d$a=function(a){if(a&1){var b=w();H(0,"div",6)(1,"label");R(2);I();H(3,"onedev-single-select",7);M("valueChange",function(c){x(b);var d=O();return z(d.currentEnumLabel=c)});I()()}a&2&&(a=O(),B(2),Mf(" ",a.effortSpecName," "),B(1),F("value",a.currentEnumLabel)("includeEmptyOption",!0)("options",a.allowedLabels))},i$a=function(a,b){if(a&1){var c=w();H(0,"div",18,19);M("click",function(){var e=x(c).$implicit,g=O(2);e$a(g,e)||lq(g,e);return z()});H(2,"mat-pseudo-checkbox",20);M("click",function(e){var g=
x(c).$implicit,h=O(2);e.stopPropagation();return z(f$a(h,g))});I();H(3,"span");R(4);I()()}if(a&2){a=b.$implicit;b=b.index;var d=O(2);xf("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");yf("focused",b===d.focusedRowIndex);Jf("title",a.name);pf("id","hotlist-item-"+a.hotlistId)("aria-checked",g$a(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",e$a(d,a));B(2);F("state",h$a(d.selectedHotlistMap[a.hotlistId]))("disabled",e$a(d,a));B(2);Mf(" ",a.name," ")}},j$a=function(a){a&1&&(H(0,"span"),
R(1),I());a&2&&(a=O(2),B(1),Mf(" (",a.filterText,")"))},k$a=function(a){if(a&1){var b=w();H(0,"div",21,22);M("click",function(){x(b);var c=O(2);return z(c.loadHotlist())})("keydown.enter",function(){x(b);var c=O(2);return z(c.loadHotlist())});R(2,"Load hotlist from id ");H(3,"span");R(4);I()()}a&2&&(a=O(2),yf("focused",a.focusedRowIndex===a.choices.length+1),pf("aria-label","Load hotlist from"+a.filterText),B(4),Mf("(",a.filterText,")"))},m$a=function(a){if(a&1){var b=w();H(0,"div",23,24);M("click",
function(){x(b);var c=O(2);return z(l$a(c))})("keydown.enter",function(){x(b);var c=O(2);return z(l$a(c))});R(2,"Apply");I()}a&2&&(a=O(2),yf("focused",a.focusedRowIndex===a.choices.length+2))},n$a=function(a){if(a&1){var b=w();H(0,"div",5)(1,"div",10,11);P(3,i$a,5,11,"div",12);I()();J(4,"mat-divider");H(5,"div",13,14);M("click",function(){x(b);var c=O();return z(c.createHotlist())})("keydown.enter",function(){x(b);var c=O();return z(c.createHotlist())});R(7,"Create new hotlist ");P(8,j$a,2,1,"span",
15);I();P(9,k$a,5,4,"div",16);P(10,m$a,3,2,"div",17)}a&2&&(a=O(),B(3),F("ngForOf",a.choices),B(2),yf("focused",a.focusedRowIndex===a.choices.length),F("disabled",!a.canCreate),pf("aria-label","Create new hotlist"+a.filterText),B(3),F("ngIf",!!a.filterText),B(1),F("ngIf",a.canLoad),B(1),F("ngIf",a.pendingChanges))},p$a=function(a){if(a&1){var b=w();H(0,"b-app-bar-bulk-edit-menus",6);M("onBulkEdit",function(d){x(b);var e=O();return z(e.bulkEdit(d))})("onQuickBulkEdit",function(d){x(b);var e=O();return z(e.quickBulkEdit(d))})("onBulkEditIssueRelation",
function(d){x(b);var e=O();return z(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){x(b);var d=O();return z(d.bulkMarkIssueRead())});S(1,"async");I()}if(a&2){a=O();var c;F("readStatePrompt",o$a(a))("enableBulkEstimatedEffortOption",null!==(c=T(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)}},t$a=function(a){if(a&1){var b=w();H(0,"b-copy-issue-id-button",7);M("onClickCopyIssueIds",function(){x(b);var c=O();return z(q$a(c.copyIssueIdService,mq(c)))})("onClickCopyIssueShortLinks",
function(){x(b);var c=O();return z(r$a(c.copyIssueIdService,mq(c)))})("onClickCopyAsIssueSearch",function(){x(b);var c=O();return z(s$a(c.copyIssueIdService,mq(c)))});I()}a&2&&(a=O(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},u$a=function(a){if(a&1){var b=w();H(0,"div",8)(1,"b-hotlist-picker",9);M("onApply",function(c){x(b);var d=O();return z(d.handleHotlistPickerSave(c))})("onCreate",function(c){x(b);var d=O();
return z(d.onCreateHotlist.emit(c))})("onLoad",function(c){x(b);var d=O();return z(d.onLoadHotlist.emit(c))});I()()}a&2&&(a=O(),B(1),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},w$a=function(a){if(a&1){var b=w();H(0,"b-comment-box",16);M("commentChange",function(c){x(b);var d=O(2);return z(d.comment=c)})("onSubmit",function(){x(b);var c=O(2);return z(v$a(c))});I()}a&2&&(a=O(2),F("comment",a.comment)("showToolbar",!1))},x$a=function(a,b){a&1&&(H(0,"li"),R(1),J(2,"b-access-level-indicator",
19),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.path," "),B(1),F("accessLevel",a.accessLevel))},y$a=function(a){a&1&&(H(0,"div",17)(1,"div")(2,"strong"),R(3,"You are commenting on issues in components that have external viewers:"),I()(),H(4,"ul"),P(5,x$a,3,2,"li",18),I()());a&2&&(a=O(2),B(5),F("ngForOf",a.externalWarnings))},z$a=function(a){if(a&1){var b=w();H(0,"div",20)(1,"b-recaptcha",21);M("onUpdate",function(c){x(b);var d=O(2);return z(d.recaptchaResponse=c)});I()()}},A$a=function(a){a&1&&(H(0,"h1",
10),R(1,"Add comment"),I(),H(2,"mat-dialog-content"),P(3,w$a,1,2,"b-comment-box",11),P(4,y$a,6,1,"div",12),I(),P(5,z$a,2,0,"div",13),H(6,"mat-dialog-actions")(7,"button",14),R(8," Cancel "),I(),H(9,"button",15),R(10," Save "),I()());a&2&&(a=O(),B(3),F("ngIf",a.comment),B(1),F("ngIf",0<a.externalWarnings.length),B(1),F("ngIf",a.enableRecaptcha),B(2),F("mat-dialog-close",!1),B(2),F("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},C$a=function(a){for(var b=k(B$a),c=b.next();!c.done;c=
b.next())if(c=c.value,c.accessLevel===a)return c.title;return nq.title},D$a=function(a){a&1&&J(0,"mat-icon",10);a&2&&(a=O(),F("matTooltip",a.disabledDropdownTooltip))},E$a=function(a,b){if(a&1){var c=w();H(0,"button",11);M("click",function(){var d=x(c).$implicit,e=O();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return z()});H(1,"div",12);J(2,"mat-icon",13);H(3,"span",14);R(4);I()();H(5,"div",15);R(6);I()()}a&2&&(a=b.$implicit,b=O(),B(2),F("svgIcon",a.icon),B(2),Mf(" ",
a.title," "),B(2),Mf(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},F$a=function(a){a&1&&(H(0,"span"),R(1,"Edit"),I())},G$a=function(a){a&1&&(H(0,"span"),R(1,"Cancel"),I())},M$a=function(a){if(a&1){var b=w();K(0);H(1,"td")(2,"div")(3,"div",11);R(4);I();H(5,"div",12)(6,"a",13);R(7);I()()()();H(8,"td",3)(9,"mat-radio-button",14);M("change",function(d){x(b);var e=O(2);return z(H$a(e,d.value))});I()();H(10,"td",3)(11,"b-button",15);M("onAction",function(){x(b);
var d=O().$implicit,e=O();return z(I$a(e,d))});P(12,F$a,2,0,"span",9);P(13,G$a,2,0,"span",9);I()();H(14,"td",3)(15,"b-button",16);M("onAction",function(){x(b);var d=O().$implicit,e=O();return z(J$a(e,d))});R(16," Delete ");I()();L()}if(a&2){a=O().$implicit;var c=O();B(3);yf("selected",K$a(c,a));B(1);Mf(" ",a.name," ");B(2);F("href",L$a(c,a),Sd);pf("aria-label",a.name+"- Click to create a new issue");B(1);Mf(" ",L$a(c,a)," ");B(2);If("id","template-default-radio-",a.index,"");F("checked",c.defaultIndex===
a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);B(2);F("bAriaLabel",K$a(c,a)?"Cancel editing "+a.name:"Edit "+a.name);B(1);F("ngIf",!K$a(c,a));B(1);F("ngIf",K$a(c,a));B(2);F("bAriaLabel","Delete "+a.name)("disabled",!(0<=a.index&&!c.templates[a.index].default))}},N$a=function(a){a&1&&(H(0,"h2",73),R(1," Create Template "),I())},O$a=function(a){a&1&&(H(0,"h2",73),R(1),I());a&2&&(a=O(2).$implicit,B(1),Of(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?
"(changed)":""," "))},P$a=function(a,b){if(a&1){var c=w();H(0,"mat-checkbox",83,84);M("change",function(){var d=x(c).$implicit,e=O(3).$implicit.editableTemplate;e.collaboratorGroups.has(d)?e.collaboratorGroups.delete(d):e.collaboratorGroups.add(d);e.dirty=!0;return z()})("click",function(d){return d.stopPropagation()});R(2);I()}a&2&&(a=b.$implicit,b=O(3).$implicit,F("checked",b.editableTemplate.collaboratorGroups.has(a)),B(2),Mf(" ",a," "))},Q$a=function(a){a&1&&(H(0,"div",74)(1,"div",21)(2,"label",
75),R(3,"Collaborator Groups"),I(),J(4,"mat-icon",76),I(),H(5,"div")(6,"button",77)(7,"span",78),R(8),I(),J(9,"mat-icon",79),I(),H(10,"mat-menu",80,81),P(12,P$a,3,2,"mat-checkbox",82),I()()());if(a&2){var b=Lf(11);a=O(2).$implicit;var c=O();B(4);Jf("matTooltip",c.COLLABORATOR_GROUPS_TOOLTIP);B(2);F("matMenuTriggerFor",b);B(2);Mf(" ",a.editableTemplate.getCollaboratorGroupsString()," ");B(4);F("ngForOf",c.trackerCollaboratorGroups)}},S$a=function(a,b){if(a&1){var c=w();H(0,"button",85);M("click",function(){var e=
x(c).$implicit,g=O(2).$implicit,h=O();g.issueType=e.value;return z(R$a(h))});R(1);I()}if(a&2){a=b.$implicit;b=O(2).$implicit;var d;F("disabled",b.issueType===a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");B(1);Mf(" ",a.displayText," ")}},T$a=function(a,b){if(a&1){var c=w();H(0,"button",86);M("click",function(){var d=x(c).$implicit,e=O(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return z()});R(1);I()}a&2&&(a=b.$implicit,b=O(2).$implicit,F("disabled",b.editableTemplate.priority===
a.value),B(1),Mf(" ",a.displayText," "))},U$a=function(a,b){if(a&1){var c=w();H(0,"button",86);M("click",function(){var d=x(c).$implicit,e=O(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return z()});R(1);I()}a&2&&(a=b.$implicit,b=O(2).$implicit,F("disabled",b.editableTemplate.severity===a.value),B(1),Mf(" ",a.displayText," "))},V$a=function(a,b){if(a&1){var c=w();H(0,"div",87)(1,"b-hotlist-chip",88);M("removeHotlist",function(){var d=x(c).$implicit,e=O(3);return z(e.removeHotlist(d.hotlistId))});
I()()}a&2&&(a=b.$implicit,B(1),F("hotlist",a))},W$a=function(a){a&1&&(H(0,"h3"),R(1,"Custom issue fields"),I())},X$a=function(a){if(a&1){var b=w();H(0,"input",96);M("ngModelChange",function(d){x(b);var e=O().$implicit,g=O(2).$implicit;return z(g.editableTemplate.customFieldValues[e.id].textValue=d)})("ngModelChange",function(){x(b);O(3).$implicit.editableTemplate.dirty=!0;return z()});I()}if(a&2){a=O().$implicit;var c=O(2).$implicit;rf("id","template-cf-",a.id,"");F("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},
Y$a=function(a){if(a&1){var b=w();H(0,"input",97);M("ngModelChange",function(d){x(b);var e=O().$implicit,g=O(2).$implicit;return z(g.editableTemplate.customFieldValues[e.id].numericValue=d)})("ngModelChange",function(){x(b);O(3).$implicit.editableTemplate.dirty=!0;return z()});I()}if(a&2){a=O().$implicit;var c=O(2).$implicit;rf("id","template-cf-",a.id,"");F("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},$$a=function(a){if(a&1){var b=w();H(0,"b-edit-field",98);M("valueChange",
function(h){x(b);var m=O().$implicit,r=O(2).$implicit,v=O();return z(v.setCustomField(r,m.id,h))});I()}if(a&2){a=O().$implicit;var c=O(2).$implicit,d=O(),e,g;rf("id","template-cf-",a.id,"");F("type",d.FieldType.ENUM)("name",a.name)("clearable",!0)("value",null!==(e=null==c.editableTemplate.customFieldValues[a.id]?null:c.editableTemplate.customFieldValues[a.id].enumValue)&&void 0!==e?e:null)("choices",null!==(g=a.enumFields)&&void 0!==g?g:Rf(6,Z$a))}},aab=function(a){if(a&1){var b=w();H(0,"bv2-input-date-picker",
99);M("boundValueChange",function(e){x(b);var g=O().$implicit,h=O(2).$implicit,m=O();return z(h.editableTemplate.customFieldValues[g.id].dateValue=m.getDateValue(e))})("boundValueChange",function(){x(b);O(3).$implicit.editableTemplate.dirty=!0;return z()});I()}if(a&2){a=O().$implicit;var c=O(2).$implicit,d;rf("id","template-cf-",a.id,"");F("boundValue",null!==(d=c.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==d?d:void 0)}},cab=function(a){if(a&1){var b=w();H(0,"b-list-field",100);
M("valuesChange",function(e){x(b);var g=O().$implicit,h=O(2).$implicit,m=O();return z(m.setCustomField(h,g.id,e.values))});I()}if(a&2){a=O().$implicit;var c=O(2).$implicit,d=O();rf("id","template-cf-",a.id,"");F("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",bab(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},dab=function(a,b){a&1&&(H(0,"div")(1,"div",21)(2,"label",89),R(3),I()(),H(4,"div",90),P(5,X$a,1,2,"input",91),P(6,Y$a,1,2,"input",
92),P(7,$$a,1,7,"b-edit-field",93),P(8,aab,1,2,"bv2-input-date-picker",94),P(9,cab,1,6,"b-list-field",95),I()());a&2&&(a=b.$implicit,Bf("cell-",a.cellType,""),B(2),If("for","template-cf-",a.id,""),B(1),Of("",a.name," (id=",a.id,")"),B(1),F("ngSwitch",a.type),B(1),F("ngSwitchCase","TEXT"),B(1),F("ngSwitchCase","NUMERIC"),B(1),F("ngSwitchCase","ENUM"),B(1),F("ngSwitchCase","DATE"))},iab=function(a){if(a&1){var b=w();H(0,"td",17)(1,"div",18);P(2,N$a,2,0,"h2",19);P(3,O$a,2,2,"h2",19);H(4,"div",20)(5,
"div",21)(6,"label",22);R(7,"Template Name");I()();H(8,"input",23);M("ngModelChange",function(h){x(b);var m=O().$implicit;return z(m.editableTemplate.name=h)})("ngModelChange",function(){x(b);O().$implicit.editableTemplate.dirty=!0;return z()});I()();H(9,"div",20)(10,"div",21)(11,"label",24);R(12,"Description of Template");I()();H(13,"input",25);M("ngModelChange",function(h){x(b);var m=O().$implicit;return z(m.editableTemplate.description=h)})("ngModelChange",function(){x(b);O().$implicit.editableTemplate.dirty=
!0;return z()});I()();H(14,"div",26)(15,"h3");R(16," Standard issue fields ");I();H(17,"div",27)(18,"div",28)(19,"div",21)(20,"label",29);R(21,"Issue Access Level");I()();H(22,"b-issue-access-limits-dropdown",30);M("updatedAccessLimitLevel",function(h){x(b);var m=O().$implicit;return z(m.editableTemplate.onAccessLimitLevelSelected(h))});I()();P(23,Q$a,13,4,"div",31);I();H(24,"div",20)(25,"div",21)(26,"label",32);R(27,"Title");I()();H(28,"input",33);M("ngModelChange",function(h){x(b);var m=O().$implicit;
return z(m.editableTemplate.title=h)})("ngModelChange",function(){x(b);O().$implicit.editableTemplate.dirty=!0;return z()});I()();H(29,"div",34)(30,"div",21)(31,"label",35);R(32,"Type");I()();H(33,"button",36)(34,"span");R(35);I();J(36,"b-icon",37);I();H(37,"mat-menu",38,39);P(39,S$a,2,3,"button",40);I()();H(40,"div",34)(41,"div",21)(42,"label",41);R(43,"Priority");I()();H(44,"button",42)(45,"span");R(46);I();J(47,"b-icon",37);I();H(48,"mat-menu",38,43);P(50,T$a,2,2,"button",44);I()();H(51,"div",
34)(52,"div",21)(53,"label",45);R(54,"Severity");I()();H(55,"button",46)(56,"span");R(57);I();J(58,"b-icon",37);I();H(59,"mat-menu",38,47);P(61,U$a,2,2,"button",44);I()();H(62,"div",48)(63,"div",21)(64,"label",49);R(65,"Default Hotlists");I()();H(66,"b-hotlist-picker",50);M("onApply",function(h){x(b);var m=O(2);return z(m.handleHotlistPickerSave(h))})("onCreate",function(h){x(b);var m=O(2);return z(m.createHotlist(h))})("onLoad",function(h){x(b);var m=O(2);return z(m.loadHotlist(h))});I();P(67,V$a,
2,1,"div",51);I();J(68,"div",52);H(69,"div",53)(70,"div",21)(71,"label",54);R(72,"Assignee");I()();H(73,"input",55);M("ngModelChange",function(h){x(b);var m=O().$implicit;return z(m.editableTemplate.assignee=h)})("ngModelChange",function(){x(b);O().$implicit.editableTemplate.dirty=!0;return z()});I()();H(74,"div",53)(75,"div",21)(76,"label",56);R(77,"Verifier");I()();H(78,"input",57);M("ngModelChange",function(h){x(b);var m=O().$implicit;return z(m.editableTemplate.verifier=h)})("ngModelChange",function(){x(b);
O().$implicit.editableTemplate.dirty=!0;return z()});I()();H(79,"div",20)(80,"div",21)(81,"label",58);R(82,"Collaborators");I();J(83,"mat-icon",59);I();H(84,"input",60);M("ngModelChange",function(h){x(b);var m=O().$implicit;return z(eab(m.editableTemplate,h))});I()();H(85,"div",20)(86,"div",21)(87,"label",61);R(88,"CC");I()();H(89,"input",62);M("ngModelChange",function(h){x(b);var m=O().$implicit;return z(fab(m.editableTemplate,h))});I()();H(90,"div",20)(91,"div",21)(92,"label",63);R(93,"Initial Comment");
I()();H(94,"textarea",64);M("ngModelChange",function(h){x(b);var m=O().$implicit;return z(m.editableTemplate.comment=h)})("ngModelChange",function(){x(b);O().$implicit.editableTemplate.dirty=!0;return z()});R(95,"              ");I();H(96,"b-markdown-toggle",65);M("change",function(h){x(b);var m=O().$implicit;return z(m.editableTemplate.setFormattingMode(h))});I()();H(97,"div",20)(98,"div",21)(99,"label",66);R(100,"In Prod");I()();H(101,"b-slide-toggle",67);M("modelChange",function(){x(b);var h=O().$implicit.editableTemplate;
h.inProd=!h.inProd;h.dirty=!0;return z()});I()()();H(102,"div",68);P(103,W$a,2,0,"h3",9);P(104,dab,10,11,"div",69);I();H(105,"div",70)(106,"b-button",71);M("onAction",function(){x(b);var h=O(2);return z(gab(h))});R(107," Save ");I();H(108,"b-button",72);M("onAction",function(){x(b);var h=O(2);return z(hab(h))});R(109," Cancel ");I()()()()}if(a&2){var c=Lf(38),d=Lf(49),e=Lf(60);a=O().$implicit;var g=O();B(2);F("ngIf",a.editableTemplate.new);B(1);F("ngIf",!a.editableTemplate.new);B(5);F("ngModel",a.editableTemplate.name);
B(5);F("ngModel",a.editableTemplate.description);B(9);F("disabled",!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",g.implicitAccessEnabled);B(1);F("ngIf",g.enableQuickAddCollaborators&&g.trackerCollaboratorGroups.length);B(5);F("ngModel",a.editableTemplate.title);B(5);F("matMenuTriggerFor",c);B(2);Nf(a.issueType);B(2);F("overlapTrigger",!0);B(2);F("ngForOf",g.issueTypeChoices);B(5);F("matMenuTriggerFor",d);B(2);Nf(a.editableTemplate.priority);B(2);F("overlapTrigger",
!0);B(2);F("ngForOf",g.priorityChoices);B(5);F("matMenuTriggerFor",e);B(2);Nf(a.editableTemplate.severity);B(2);F("overlapTrigger",!0);B(2);F("ngForOf",g.severityChoices);B(5);F("selectedHotlistIds",g.selectedHotlistIds)("choices",g.hotlists);B(1);F("ngForOf",g.selectedHotlists);B(6);F("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.assignee);B(5);F("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.verifier);B(6);F("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.collaborators.join(", "));
B(5);F("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.cc.join(", "));B(5);F("ngModel",a.editableTemplate.comment);B(2);F("initialValue",a.editableTemplate.formattingMode);B(5);F("model",a.editableTemplate.inProd);B(2);F("ngIf",0<g.customFieldRows.length);B(1);F("ngForOf",g.customFieldRows);B(2);F("disabled",!a.editableTemplate.isDirty())}},jab=function(a,b){a&1&&(H(0,"tr"),P(1,M$a,17,15,"ng-container",9),P(2,iab,110,38,"td",10),I());a&2&&(a=b.$implicit,B(1),F("ngIf",!a.editableTemplate),
B(1),F("ngIf",!!a.editableTemplate))},kab=function(a,b){a&1&&(H(0,"div",101),R(1),I(),H(2,"div",102)(3,"button",103),R(4," Cancel "),I(),H(5,"button",104),R(6," Confirm "),I()());a&2&&(a=b.$implicit,B(1),Mf(' Are you sure you want to delete the template "',a.name,'"? '),B(2),F("mat-dialog-close",!1),B(2),F("mat-dialog-close",!0))},lab=function(a,b){a&1&&(H(0,"div",101),R(1),I(),H(2,"div",102)(3,"button",105),R(4," Cancel "),I(),H(5,"button",105),R(6," Don't Save "),I(),H(7,"button",106),R(8," Save "),
I()());a&2&&(a=b.$implicit,B(1),Mf(' Do you want to save changes to template "',a.name,'" before closing? '),B(2),F("mat-dialog-close",void 0),B(2),F("mat-dialog-close",!1),B(2),F("mat-dialog-close",!0))},nab=function(a){if("CUSTOM_FIELD"===a.type)return new oq({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:void 0!==a.customFieldId,tooltip:""});a=bi(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");
return mab.includes(a)?pq(a):null},pab=function(a){return oab(a.map(nab).filter(function(b){return!!b}))},qab=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:di(b.name),customFieldName:void 0}:(b=(b.name||"").replace(/([A-Z])/g,"_$1").toUpperCase(),"DUPLICATE_OF_ISSUE_ID"===b&&(b="CANONICAL_ISSUE_ID"),b={type:b,customFieldId:void 0,customFieldName:void 0});return b})},oab=function(a){return Cl(a,function(b){return b.name})},pq=function(a){var b={name:a,label:a.toUpperCase()},
c=rab[a];c?Object.assign(b,c):mab.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new oq(b)},tab=function(a,b){b=void 0===b?document.documentElement:b;return(0,E.concat)((0,E.defer)(function(){return(0,E.of)(b.querySelector(a))}),sab(b,{childList:!0,subtree:!0}).pipe(De(function(c){return c.some(function(d){return 0<d.addedNodes.length})}),D(function(){return b.querySelector(a)}))).pipe(De(Ei),Oe(),D(function(c){return c}))},
sab=function(a,b){return new E.Observable(function(c){var d=new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},qq=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)}}},uab=function(a,b){a&1&&J(0,"col");a&2&&Bf("",b.$implicit.name,"-col")},vab=function(a){a&1&&Df(0)},xab=function(a,b){a&1&&(K(0),P(1,vab,1,0,"ng-container",8),L());a&2&&(a=b.$implicit,b=O(),B(1),F("ngTemplateOutlet",
b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Sf(2,wab,a)))},yab=function(a){a&1&&Df(0)},Aab=function(a,b){a&1&&(K(0),P(1,yab,1,0,"ng-container",8),L());if(a&2){a=b.$implicit;b=b.index;var c=O(),d=c.$implicit;c=c.index;var e=O().ngIf;B(1);F("ngTemplateOutlet",e[b])("ngTemplateOutletContext",Uf(zab,d,a,c))}},Bab=function(a,b){if(a&1){var c=w();H(0,"tr",10,11);M("click",function(){var e=x(c).index,g=O(2);g.focusedRowIndex!==e&&(g.focusedRowIndex=e,g.focusedRowIndexChange.emit(e));
return z()})("focus",function(){var e=x(c).index,g=O(2);g.focusedRowIndex!==e&&(g.focusedRowIndex=e,g.focusedRowIndexChange.emit(e));return z()});P(2,Aab,2,6,"ng-container",4);I()}if(a&2){a=b.$implicit;b=b.index;var d=O(2);yf("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);pf("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));B(2);F("ngForOf",d.columns)}},
Cab=function(a){a&1&&(K(0),P(1,Bab,3,12,"tr",9),L());a&2&&(a=O(),B(1),F("ngForOf",a.list))},Dab=function(a,b){a&1&&(H(0,"th"),J(1,"pop-grid-default-th",12),I());a&2&&(a=b.column,B(1),F("column",a))},Eab=function(a,b){a&1&&(H(0,"td"),J(1,"pop-grid-default-cell",13),I());a&2&&(a=b.row,b=b.column,B(1),F("row",a)("column",b))},Fab=function(a){if(a&1){var b=w();H(0,"b-sortable-header",3);M("sortChanged",function(c){x(b);var d=O();d.grid&&d.grid.sortChange.emit(c);return z()});I()}a&2&&(a=O(),F("columnLabel",
a.column.label)("columnName",a.column.name)("defaultSortDirection",a.column.defaultSortDirection||"ASC")("sort",null==a.grid?null:a.grid.sort)("matTooltip",a.column.tooltip||""))},Gab=function(a){a&1&&(H(0,"span",6),R(1),I());a&2&&(a=O(2),B(1),Mf("column-",a.column.name,""))},Hab=function(a){a&1&&(H(0,"div",4),P(1,Gab,2,1,"span",5),R(2),I());a&2&&(a=O(),pf("aria-label",a.column.label),B(1),F("ngIf",!a.column.label),B(1),Mf(" ",a.column.label," "))},Iab=function(a){if(a&1){var b=w();H(0,"div",13,14);
M("menuOpened",function(){x(b);var d=O();return z(d.menuOpen=!0)})("menuClosed",function(){x(b);var d=O();return z(d.menuOpen=!1)})("keydown.enter",function(d){x(b);Lf(1).openMenu();d.preventDefault();return z(d.stopPropagation())})("keydown.space",function(){x(b);var d=Lf(1);return z(d.openMenu())});I()}if(a&2){a=O();var c=Lf(5);yf("columnpicker-button-active",a.menuOpen);rf("aria-label","",a.column.fullLabel," column configuration");F("matMenuTriggerFor",c)}},Lab=function(a,b){if(a&1){var c=w();
H(0,"button",15);M("click",function(){var d=x(c).$implicit,e=O();return z(Jab(e,d.name))});J(1,"b-icon",16);H(2,"span",17);R(3);I()()}a&2&&(a=b.$implicit,b=O(),yf("b-menu-item-checked",Kab(a.name).get(b.listViewPrefs)),B(3),Mf(" ",a.menuItem," "))},Mab=function(a){a&1&&J(0,"mat-divider")},Nab=function(a){if(a&1){var b=w();H(0,"button",22);M("click",function(){x(b);var c=O().$implicit,d=O().before,e=O();return z(e.add(c,d))})("keydown.enter",function(c){x(b);var d=O().$implicit,e=O().before;O().add(d,
e);c.preventDefault();return z(c.stopPropagation())});R(1);I()}a&2&&(a=O().$implicit,F("matTooltip",a.tooltip),B(1),Mf(" ",a.fullLabel," "))},Pab=function(a){a&1&&(H(0,"button",9)(1,"span"),R(2),I()());if(a&2){a=O().$implicit;var b=O().before;O();var c=Lf(18);F("matMenuTriggerFor",c)("matMenuTriggerData",Tf(3,Oab,a.columns,b));B(2);Nf(a.label)}},Qab=function(a,b){a&1&&(K(0),P(1,Nab,2,2,"button",20),P(2,Pab,3,6,"button",21),L());a&2&&(a=b.$implicit,b=O(2),B(1),F("ngIf",b.isIssueGridColumn(a)),B(1),
F("ngIf",!b.isIssueGridColumn(a)))},Sab=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(){var c=x(b).before,d=O();return z(Rab(d,c))});R(1," Custom Field ");I();J(2,"mat-divider");P(3,Qab,3,2,"ng-container",19)}a&2&&(a=O(),B(3),F("ngForOf",a.currentAvailableItems))},Uab=function(a,b){if(a&1){var c=w();H(0,"button",24);M("click",function(){var d=x(c).$implicit,e=O().before,g=O();return z(g.add(d,e))})("keydown.enter",function(d){var e=x(c).$implicit,g=O().before;O().add(e,g);d.preventDefault();
return z(d.stopPropagation())});R(1);I()}a&2&&(a=b.$implicit,B(1),Mf(" ",a.fullLabel," "))},Vab=function(a,b){a&1&&P(0,Uab,2,1,"button",23);a&2&&F("ngForOf",b.columns)},Kab=function(a){switch(a){case "id-link":return{get:function(b){var c;return"link"===(null==(c=b.modeForField)?void 0:c.id)},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"copy"===(null==(c=b.modeForField)?void 0:c.id)},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"icon"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=
null!=(d=b.fieldStatus)?d:{};b.fieldStatus.mode=c?"icon":void 0}};case "status-plain":return{get:function(b){var c;return"plain"===(null==(c=b.fieldStatus)?void 0:c.mode)},set:function(b,c){var d;b.fieldStatus=null!=(d=b.fieldStatus)?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("te`"+a);}},Wab=function(a){a&1&&(K(0),R(1," > "),L())},Xab=function(a,b){a&1&&(K(0),H(1,
"a",7),R(2),I(),P(3,Wab,2,0,"ng-container",3),L());a&2&&(a=b.$implicit,b=b.last,B(1),rf("aria-label","View recent issues in ",a.name,""),F("routerLinkObj",a.route),B(1),Nf(a.name),B(1),F("ngIf",!b))},Yab=function(a){a&1&&(H(0,"span"),R(1," [Archived]"),I())},Zab=function(a){a&1&&(H(0,"div",5),P(1,Xab,4,4,"ng-container",6),S(2,"async"),P(3,Yab,2,0,"span",3),S(4,"async"),I());a&2&&(a=O(),B(1),F("ngForOf",T(2,2,a.componentPath$)),B(2),F("ngIf",T(4,4,a.isArchived$)))},$ab=function(a,b){a&1&&(K(0),H(1,
"div",8),J(2,"mat-icon",9),H(3,"div",10),R(4),I()(),H(5,"p",11),R(6),I(),H(7,"p",10),R(8),I(),L());a&2&&(a=b.$implicit,B(4),Nf(a.name),B(2),Mf("Component ID: ",a.componentId,""),B(2),Nf(a.description))},abb=function(a,b){a&1&&(H(0,"div",12)(1,"a",13),R(2,"View recent open issues"),I(),H(3,"a",14),R(4,"View component settings"),I(),H(5,"a",15),R(6,"Create issue in this component"),I()());a&2&&(a=b.$implicit,B(1),F("routerLinkObj",a.recentIssues),B(2),F("routerLinkObj",a.componentSettings),B(2),F("routerLinkObj",
a.createIssue))},bbb=function(a){a&1&&(K(0),R(1,"\u2026 >"),L())},cbb=function(a){a&1&&(K(0),R(1,"\u2026"),L())},dbb=function(a){if(a&1){var b=w();H(0,"a",16);M("click",function(){x(b);var c=O(4);return z(c.compactMode$.next(!1))});P(1,bbb,2,0,"ng-container",6);P(2,cbb,2,0,"ng-container",6);I()}a&2&&(a=O().$implicit,B(1),F("ngIf",a.isSpliced),B(1),F("ngIf",a.isTruncated))},ebb=function(a){a&1&&(H(0,"a",17),R(1),I());if(a&2){a=O().$implicit;var b=Lf(7);yf("muted",a.name==a.id);F("routerLinkObj",a.route)("onedevHovercardTrigger",
b);B(1);Nf(a.name)}},fbb=function(a){a&1&&(H(0,"span",18),R(1),I());a&2&&(a=O().$implicit,yf("muted",a.name==a.id),B(1),Nf(a.name))},gbb=function(a){a&1&&(K(0),R(1," > "),L())},hbb=function(a){a&1&&(K(0),J(1,"b-component-path-card",19,20),L());if(a&2){var b=Lf(2);a=O().$implicit;B(1);F("onedevIsHovercardReady",b.init)("componentId",a.id)}},ibb=function(a,b){a&1&&(K(0),P(1,dbb,3,2,"a",11),P(2,ebb,2,5,"a",12),P(3,fbb,2,3,"ng-template",null,13,hg),P(5,gbb,2,0,"ng-container",6),H(6,"onedev-hovercard",
null,14),P(8,hbb,3,2,"ng-container",15),I(),L());if(a&2){a=b.$implicit;b=b.last;var c=Lf(4),d=O(3);B(1);F("ngIf",a.isSpliced||a.isTruncated);B(1);F("ngIf",!d.viewOnly)("ngIfElse",c);B(3);F("ngIf",!b)}},jbb=function(a,b){a&1&&(H(0,"span",9),P(1,ibb,9,4,"ng-container",10),I());a&2&&(a=b.$implicit,B(1),F("ngForOf",a))},kbb=function(a){a&1&&(H(0,"span"),R(1,"[Archived]"),I())},lbb=function(a){if(a&1){var b=w();H(0,"button",21);M("click",function(){x(b);O(2).editing=!0;return z()});J(1,"mat-icon",22);
I()}},mbb=function(a){a&1&&(H(0,"a",23),S(1,"async"),J(2,"mat-icon",24),I());if(a&2){a=O(2);var b;F("routerLinkObj",a.popoutLink(null==(b=T(1,1,a.component$))?null:b.componentId))}},nbb=function(a){a&1&&(H(0,"b-async-data-placeholder",2),S(1,"async"),H(2,"div",3),J(3,"mat-icon",4),P(4,jbb,2,1,"span",5),S(5,"async"),P(6,kbb,2,0,"span",6),S(7,"async"),P(8,lbb,2,0,"button",7),P(9,mbb,3,3,"a",8),I()());a&2&&(a=O(),F("isReady",T(1,6,a.isReady$)),B(3),F("svgIcon",a.currentTracker.enableTrackersComponentPathTruncation&&
a.currentTracker.inTracker?"folder_special_24px":"folder"),B(1),F("ngIf",T(5,8,a.componentPath$)),B(2),F("ngIf",T(7,10,a.isArchived$)),B(2),F("ngIf",!a.viewOnly),B(1),F("ngIf",a.popoutLink))},pbb=function(a){if(a&1){var b=w();H(0,"b-team-component-picker",25);M("selectedComponentChange",function(c){x(b);var d=O();d.editing=!1;c&&obb(d.issueEditComponentService,d.issueId,c);return z()})("dropdownClosed",function(){x(b);O().editing=!1;return z()});S(1,"async");I()}a&2&&(a=O(),F("selectedComponent",
T(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},rbb=function(a,b){if(a&1){var c=w();H(0,"div",6)(1,"b-contact-chip",7);M("chipSelection",function(){var d=x(c).index,e=O();e.selectedChipIndex!==d&&rq(e,d)&&(qbb(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return z()})("chipClear",function(){x(c);var d=O();return z(qbb(d))})("chipRemove",function(){var d=x(c).index,e=O();return z(e.removeItem(d))});I()()}a&2&&(a=b.$implicit,b=O(),B(1),F("isReadonly",a.isReadonly)("isSelected",a.isSelected)("isWidgetDisabled",
b.isWidgetDisabled())("principalType",a.principalType)("detailedUserType",a.detailedUserType)("nestedChips",a.nestedChips)("value",a.value)("displayText",a.displayText)("accessLevel",b.getAccessLevel()))},ubb=function(a){if(a&1){var b=w();H(0,"input",8,9);M("autocompleteActive",function(){x(b);var c=O();return z(c.chipifyFn())})("ngModelChange",function(c){x(b);var d=O();return z(d.typedText=c)})("focus",function(){x(b);var c=O();return z(sbb(c))})("blur",function(){x(b);var c=O();tbb(c,c.typedText.split(",")[0].trim());
c.isFocused=!1;return z()});I()}a&2&&(a=O(),F("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn)("ngModel",a.typedText)("disabled",a.isWidgetDisabled()))},vbb=function(a){a&1&&(H(0,"span"),R(1," Groups cannot be granted Restricted+ reader permission. "),H(2,"a",10),R(3,"Learn more"),I()());a&2&&(a=O(),B(2),pf("href",ho(a.documentationLinks)+"#components",Sd))},wbb=function(a){a&1&&(H(0,"span"),R(1," Invalid user(s). "),I())},xbb=function(a){a&1&&(H(0,"span"),R(1,
' "Public" or external users are not allowed for component designated as "internal access". '),I())},ybb=function(a){a&1&&(H(0,"span"),R(1,' "Public" is not allowed for components designated as "external partner access". '),I())},zbb=function(a){a&1&&(H(0,"span"),R(1," SLO lead can not be a group. "),I())},Abb=function(a){a&1&&(H(0,"span"),R(1," SLO lead can only be a full-time Googler. "),I())},Cbb=function(a,b){if(a&1){var c=w();K(0);H(1,"mat-checkbox",20);M("click",function(d){return d.stopPropagation()})("change",
function(d){var e=x(c).$implicit,g=O(2);e=e.value.user;d=d.source.checked;var h=g.collaboratorGroupsEmailToDetailsMap.get(e.emailAddress).specifiedOnIssue;d?(h||g.addedCollaboratorGroups.add(e),g.removedCollaboratorGroups.delete(e)):(h&&g.removedCollaboratorGroups.add(e),g.addedCollaboratorGroups.delete(e));var m;Bbb(g,null!=(m=g.updatedAccessLimitLevel$.getValue())?m:g.defaultAccessLimitLevel);return z()});R(2);I();L()}a&2&&(a=b.$implicit,B(1),F("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),
B(1),Mf(" ",a.key," "))},Dbb=function(a){a&1&&(K(0),H(1,"div")(2,"span",17),R(3,"Add collaborator groups"),I(),J(4,"mat-icon",7),I(),H(5,"div",18),P(6,Cbb,3,4,"ng-container",19),S(7,"keyvalue"),I(),L());a&2&&(a=O(),B(4),Jf("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP),B(2),F("ngForOf",T(7,2,a.collaboratorGroupsEmailToDetailsMap)))},Fbb=function(a){if(a&1){var b=w();K(0);H(1,"button",21);M("click",function(){x(b);var c=O();return z(c.onPressCancel())});R(2," Cancel ");I();H(3,"button",22);M("click",
function(){x(b);var c=O();return z(c.onPressSave())});S(4,"async");R(5," Save ");I();L()}a&2&&(a=O(),B(3),F("disabled",!Ebb(a,T(4,1,a.hasAccessLimitLevelSelectionChanged$))))},Gbb=function(a){if(a&1){var b=w();H(0,"button",23);M("click",function(){x(b);var c=O();return z(c.onPressCancel())});R(1," Close ");I()}},Hbb=function(a){a&1&&J(0,"div",2)},Ibb=function(a){a&1&&(K(0),Hf(1),L())},Jbb=function(a){a&1&&(pd(),H(0,"svg",1),J(1,"path",2),I());a&2&&(a=O(),F("matTooltip",a.warning))},Kbb=function(a){a&
1&&Df(0)},Nbb=function(a){if(a&1){var b=w();H(0,"div",1);M("keydown",function(c){x(b);var d=O();return z(d.processKeydown(c))});H(1,"div",2);P(2,Kbb,1,0,"ng-container",3);I();H(3,"div",4)(4,"button",5);M("click",function(){x(b);var c=O();return z(Lbb(c))});R(5,"Save");I();H(6,"button",6);M("click",function(){x(b);var c=O();return z(Mbb(c))});R(7,"Cancel");I()()()}a&2&&(a=O(),F("cdkTrapFocusAutoCapture",!0),B(2),F("ngTemplateOutlet",a.editorTemplate))},Obb=function(a){a&1&&Df(0)},Qbb=function(a){a&
1&&(K(0),P(1,Obb,1,0,"ng-container",8),L());a&2&&(a=O(),B(1),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Sf(2,Pbb,a.value)))},Rbb=function(a){a&1&&R(0);a&2&&(a=O(),Nf(null!=a.value?a.value:"--"))},Sbb=function(a){a&1&&(pd(),H(0,"svg",9),J(1,"path",10),I())},Tbb=function(a){if(a&1){var b=w();H(0,"input",11);M("ngModelChange",function(c){x(b);var d=O();return z(d.editingValue=c)});I()}a&2&&(a=O(),F("ngModel",a.editingValue))},Ubb=function(a){return null!=a?Number(a):void 0},Vbb=
function(a){a&1&&J(0,"mat-icon",12);if(a&2){O();var b=Lf(5);F("onedevHovercardTrigger",b)}},Wbb=function(a){if(a&1){var b=w();K(0);H(1,"onedev-numeric-field",13);M("valueChange",function(d){x(b);var e=O(2);e.selectedNumericEstimate=d;null==d?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return z()});I();L()}if(a&2){a=O(2);var c=Lf(2);B(1);F("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},Xbb=function(a){a&1&&(K(0),
R(1),L());a&2&&(a=O().$implicit,B(1),Mf(" ",a.label," "))},Ybb=function(a){a&1&&R(0," -- ")},Zbb=function(a,b){a&1&&(P(0,Xbb,2,1,"ng-container",16),P(1,Ybb,1,0,"ng-template",null,17,hg));if(a&2){a=b.$implicit;var c=Lf(2);F("ngIf",a)("ngIfElse",c)}},acb=function(a){if(a&1){var b=w();K(0);H(1,"onedev-single-select",14);M("valueChange",function(e){x(b);var g=O(2);return z(g.selectOption(e))});I();P(2,Zbb,3,2,"ng-template",null,15,hg);L()}if(a&2){var c=Lf(3);a=O(2);var d;B(1);F("value",a.selectedOption)("options",
null!==(d=null==a.effortSpec.enumSpec?null:a.effortSpec.enumSpec.options)&&void 0!==d?d:Rf(6,$bb))("includeEmptyOption",!0)("optionTemplate",c)("disabled",a.disabled)("displayArrowIcon",!a.disabled)}},bcb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2),B(1),Mf(" ",null==a.effort?null:a.effort.estimate," "))},ccb=function(a){a&1&&(H(0,"onedev-edit-field")(1,"onedev-field-label",2),R(2),P(3,Vbb,1,1,"mat-icon",3),I(),H(4,"onedev-hovercard",null,4)(6,"div",5)(7,"div",6),R(8," This estimate was made under a different configuration and needs to be updated. "),
H(9,"a",7),R(10,"Learn more"),I()()()(),H(11,"onedev-field-value",8),K(12,9),P(13,Wbb,2,4,"ng-container",10),P(14,acb,4,7,"ng-container",10),P(15,bcb,2,1,"ng-container",11),L(),I()());a&2&&(a=O(),B(1),F("thinking",a.thinking),B(1),Mf(" ",a.fieldName," "),B(1),F("ngIf",!a.isCompatibleValue),B(8),F("thinking",a.thinking),B(1),F("ngSwitch",a.fieldType),B(1),F("ngSwitchCase","NUMERIC"),B(1),F("ngSwitchCase","DROPDOWN"))},dcb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2),B(1),Mf(" ",null==a.effort?null:
a.effort.estimate," "))},ecb=function(a){a&1&&R(0);a&2&&(a=O().$implicit,Mf(" ",null!=a?a:"--"," "))},fcb=function(a,b){a&1&&(P(0,dcb,2,1,"ng-container",16),P(1,ecb,1,1,"ng-template",null,18,hg));if(a&2){a=b.$implicit;var c=Lf(2);b=O();F("ngIf",b.isNaN(a))("ngIfElse",c)}},hcb=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new sq(new gcb(a,d))},jcb=function(){return new icb(Wc.apply(0,arguments))},lcb=function(){return new kcb(Wc.apply(0,arguments))},
ncb=function(){var a=Wc.apply(0,arguments);return 1===a.length?a[0]:new mcb(a)},ocb=function(a,b){b&&(null!=b.autocompleteGroupingType&&a.setAutocompleteGroupingType(b.autocompleteGroupingType),null!=b.autocompleteGroupingLabel&&a.setAutocompleteGroupingLabel(b.autocompleteGroupingLabel),null!=b.autocompleteHeader&&a.setAutocompleteHeader(b.autocompleteHeader),null!=b.autocompleteMaxResultsBeforeScroll&&a.setAutocompleteMaxResultsBeforeScroll(b.autocompleteMaxResultsBeforeScroll),null!=b.density&&
a.setDensity(b.density),null!=b.moveAutocompleteAboveAnchorIfOffscreen&&a.setMoveAutocompleteAboveAnchorIfOffscreen(b.moveAutocompleteAboveAnchorIfOffscreen),null!=b.autoActivateFirstSuggestion&&a.setAutoActivateFirstSuggestion(b.autoActivateFirstSuggestion),null!=b.showSuggestions&&a.setShowSuggestions(b.showSuggestions),null!=b.noResultsMessage&&a.setNoResultsMessage(b.noResultsMessage),null!=b.autoActivateFirstSearchResult&&a.setAutoActivateFirstSearchResult(b.autoActivateFirstSearchResult))},
pcb=function(a){if(a&1){var b=w();H(0,"input",3,4);M("peoplekitAutocompleteSelectionChange",function(c){x(b);var d=O();0<c.length&&(d.inputValue=c[0].result().getPrimaryTarget().getValue());return z()})("ngModelChange",function(c){x(b);var d=O();return z(d.inputValue=c)});I()}a&2&&(a=O(),F("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions)("ngModel",a.inputValue))},qcb=function(a){a&1&&Df(0)},scb=function(a){a&1&&(K(0),P(1,qcb,1,0,"ng-container",
6),L());a&2&&(a=O(),B(1),F("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",Sf(2,rcb,a.email)))},tcb=function(a){a&1&&R(0);a&2&&(a=O(),Mf(" ",a.email," "))},ucb=function(a){a&1&&(pd(),H(0,"svg",7),J(1,"path",8),I())},vcb=function(a){a&1&&J(0,"b-user-membership-chip",4);if(a&2){a=O().$implicit;var b=O(),c;F("email",a)("teamId",null!==(c=b.teamId)&&void 0!==c?c:"")("enableSmallChip",!0)}},wcb=function(a,b){a&1&&P(0,vcb,1,3,"b-user-membership-chip",3);a&2&&F("ngIf",b.$implicit)},
xcb=function(a){a&1&&J(0,"mat-icon",13)},ycb=function(a){a&1&&J(0,"mat-icon",14)},zcb=function(a){a&1&&(H(0,"span"),J(1,"b-formatted-date-time",22),I());a&2&&(a=O(2),B(1),F("timestamp",a.sloStartTime))},Acb=function(a){a&1&&(H(0,"span"),J(1,"b-formatted-date-time",22),H(2,"span"),R(3," (default)"),I()());a&2&&(a=O(2),B(1),F("timestamp",a.issueCreationTimestamp/1E3))},Bcb=function(a){if(a&1){var b=w();H(0,"slo-edit-date-time-picker",23);M("closePicker",function(){x(b);var c=O(2);return z(c.isSloStartEditTimePickerOpen=
!1)})("sloEditCommit",function(c){x(b);var d=O(2);return z(d.updateSloStartTime(c))});I()}a&2&&(a=O(2),F("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},Ccb=function(a){if(a&1){var b=w();H(0,"div",15)(1,"a",16);R(2," Start Date: ");I();H(3,"div",17)(4,"a",18,19);M("keydown.enter",function(){x(b);var d=O();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return z()})("keydown.space",function(){x(b);var d=O();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return z()})("click",
function(){x(b);var d=O();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return z()});P(6,zcb,2,1,"span",20);P(7,Acb,4,1,"span",20);I();P(8,Bcb,1,2,"ng-template",21);I()()}if(a&2){var c=Lf(5);a=O();B(6);F("ngIf",a.hasSloStartTime);B(1);F("ngIf",!a.hasSloStartTime);B(1);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloStartEditTimePickerOpen)}},Dcb=function(a){a&1&&(H(0,"span"),R(1," Set closure SLO "),I())},Ecb=function(a){a&1&&(H(0,"span"),J(1,"b-formatted-date-time",
22),I());a&2&&(a=O(2),B(1),F("timestamp",a.sloEndTime))},Fcb=function(a){a&1&&(H(0,"span"),J(1,"b-formatted-date-time",22),H(2,"span"),R(3," (default)"),I()());a&2&&(a=O(2),B(1),F("timestamp",1E3*a.closureSloTarget))},Gcb=function(a){if(a&1){var b=w();H(0,"slo-edit-date-time-picker",23);M("closePicker",function(){x(b);var c=O(2);return z(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){x(b);var d=O(2);return z(d.updateSloEndTime(c))});I()}a&2&&(a=O(2),F("sloStatus",a.sloStatus)("sloEditTime",
a.sloEndTime))},Hcb=function(a){if(a&1){var b=w();H(0,"div",24)(1,"a",16);R(2," End Date: ");I();H(3,"div",17)(4,"a",25,19);M("click",function(){x(b);var d=O();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return z()})("keydown.enter",function(){x(b);var d=O();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return z()})("keydown.space",function(){x(b);var d=O();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return z()});P(6,Dcb,2,0,"span",20);P(7,Ecb,2,1,"span",
20);P(8,Fcb,4,1,"span",20);I();P(9,Gcb,1,2,"ng-template",21);I()()}if(a&2){var c=Lf(5);a=O();B(6);F("ngIf",!a.hasClosureSlo);B(1);F("ngIf",a.hasClosureSlo&&a.hasSloEndTime);B(1);F("ngIf",a.hasClosureSlo&&!a.hasSloEndTime);B(1);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloEndEditTimePickerOpen)}},Icb=function(a,b){if(a&1){var c=w();H(0,"a",28);M("click",function(){x(c);var d=O(2);return z(d.trackOpenSlo())});R(1);I()}a&2&&(a=b.ngIf,b=O(2),pf("href",b.editSloLink,Sd),B(1),Mf(" ",
a.name," "))},Jcb=function(a){a&1&&(H(0,"div",26),R(1," SLO definition: "),P(2,Icb,2,2,"a",27),S(3,"async"),I());a&2&&(a=O(),B(2),F("ngIf",T(3,1,a.slo$)))},Kcb=function(a){if(a&1){var b=w();H(0,"div",26)(1,"a",29);M("click",function(){x(b);O();en(io.MANAGE_COMPONENT,"open","fromIssueSloBox");return z()});R(2,"Select an SLO");I()()}a&2&&(a=O(),B(1),pf("href",a.componentSloLink,Sd))},Lcb=function(a){return a&&"0"!==a.teamId?a.deleted?"DELETED":"VALID":"MISSING"},Mcb=function(a){if(a&1){var b=w();H(0,
"div",6);R(1," Select a team from the suggestions below, or edit in ");H(2,"a",7);M("click",function(){x(b);var c=O();return z(c.trackClick("viewTeamAssociationOnComponent"))});R(3,"component settings");I();R(4,".\n");I()}a&2&&(a=O(),B(2),F("href",a.componentSetting,Sd))},Ncb=function(a){a&1&&(H(0,"div",6),R(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),H(2,"a",8),R(3,"component settings"),I(),R(4,".\n"),I());a&2&&(a=
O(),B(2),F("href",a.componentSetting,Sd))},Ocb=function(a){if(a&1){var b=w();H(0,"mat-radio-group",9);M("ngModelChange",function(c){x(b);var d=O();return z(d.teamAction=c)});H(1,"p")(2,"mat-radio-button",10);R(3," Don't make any changes ");I()();H(4,"p")(5,"mat-radio-button",11);R(6," Map component to selected team ");I()()()}a&2&&(a=O(),F("ngModel",a.teamAction))},Pcb=function(a){a&1&&(K(0),H(1,"span",19),R(2),I(),L());a&2&&(a=O().$implicit,B(2),Nf(a.teamPath))},Qcb=function(a){a&1&&R(0," -- ")},
Rcb=function(a,b){a&1&&(P(0,Pcb,3,1,"ng-container",17),P(1,Qcb,1,0,"ng-template",null,18,hg));if(a&2){a=b.$implicit;var c=Lf(2);F("ngIf",a)("ngIfElse",c)}},Scb=function(a){if(a&1){var b=w();H(0,"div",12)(1,"onedev-single-select",13);M("valueChange",function(d){x(b);var e=O();return z(e.selectedTeam=d)})("valueChange",function(d){x(b);var e=O();return z(e.selectOption(d))});I();P(2,Rcb,3,2,"ng-template",null,14,hg);H(4,"a",15);M("click",function(){x(b);var d=O();return z(d.trackClick("viewTeamInMoma"))});
J(5,"mat-icon",16);I()()}if(a&2){var c=Lf(3);a=O();B(1);F("disabled","NONE"===a.teamAction)("value",a.selectedTeam)("options",a.teamOptions)("includeEmptyOption",!1)("optionTemplate",c);B(3);pf("href",a.getMomaTeamLink(),Sd)}},Tcb=function(a){if(a&1){var b=w();H(0,"b-callout-actions")(1,"b-button",2);M("click",function(){x(b);var c=O();return z(c.openDialog())});R(2);I()()}a&2&&(a=O(),B(2),Nf(a.buttonName))},Ucb=function(){function a(){var c,d,e;return null==(c=window.google)?void 0:null==(d=c.corp)?
void 0:null==(e=d.devops)?void 0:e.tools}var b=100;return new Promise(function(c,d){function e(){var g=a();null!=g?c(g):(setTimeout(e,b),b*=2)}e();setTimeout(function(){var g=a();null!=g?c(g):d("timeout: 5000")},5E3)})},Vcb=function(a){a&1&&Df(0)},Wcb=function(a){a&1&&(K(0),P(1,Vcb,1,0,"ng-container",49),L());if(a&2){O();var b=Lf(117);B(1);F("ngTemplateOutlet",b)}},Ycb=function(a,b){a&1&&J(0,"b-list-field",51);a&2&&(a=b.ngIf,b=O(3),F("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",
Sf(5,Xcb,a)))},Zcb=function(a){a&1&&(K(0),P(1,Ycb,1,7,"b-list-field",50),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.teamHovercardInputs$)))},adb=function(a){if(a&1){var b=w();H(0,"div",53)(1,"b-team-warning",54);M("updateTeam",function(){x(b);var h=O(3);h.issueFridge.poke(h.issueId);return z()});S(2,"async");S(3,"async");I()()}if(a&2){a=O().ngIf;var c=O().ngIf,d=O(),e,g;B(1);F("warningType",a)("componentId",c.componentId)("parentComponentId",(null==(e=T(2,4,d.component$))?null:e.parentComponentId)||
0)("teamSuggestions",null!==(g=T(3,6,d.teamSuggestions$))&&void 0!==g?g:Rf(8,$cb))}},bdb=function(a){a&1&&(K(0),P(1,adb,4,9,"div",52),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.shouldDisplayTeamSuggestions$)))},ddb=function(a){if(a&1){var b=w();K(0);H(1,"b-edit-field",55,56);M("valueChange",function(g){x(b);var h=Lf(2),m=O(2);return z(cdb(m,h,null!==g&&void 0!==g?g:""))});S(3,"async");S(4,"async");S(5,"async");I();L()}if(a&2){a=O().ngIf;var c=O(),d,e;B(1);F("name","reporter")("title","Reporter")("type",
c.FieldType.TEXT)("value",a.reporter)("user",null!==(d=a.reporterUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!T(3,10,c.hasAclToEdit$))("disabled",!!T(4,12,c.isSaving$("reporter")))("showAvailability",!0)("teamId",null!==(e=T(5,14,c.teamId$))&&void 0!==e?e:"")}},fdb=function(a){if(a&1){var b=w();H(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Reporter");I();H(3,"onedev-field-value",57);S(4,"async");H(5,"b-user-picker",58);M("emailChange",function(e){x(b);var g=O(2);return z(edb(g.editIssueService,
g.issueId,e))});S(6,"async");S(7,"async");I()()()}if(a&2){a=O().ngIf;var c=O(),d;B(3);F("thinking",!!T(4,4,c.isSaving$("reporter")));B(2);F("user",a.reporterUser)("teamId",null!==(d=T(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!T(7,8,c.hasAclToEdit$))}},gdb=function(a){a&1&&Df(0)},hdb=function(a){a&1&&(K(0),P(1,gdb,1,0,"ng-container",49),L());if(a&2){O();var b=Lf(119);B(1);F("ngTemplateOutlet",b)}},idb=function(a,b){if(a&1){var c=w();H(0,"div",60);J(1,"div",61);H(2,"span",62);M("click",function(){var d=
x(c).ngIf,e=O(3);return z(tq(e,d))})("keydown.enter",function(d){var e=x(c).ngIf;tq(O(3),e);d.stopPropagation();return z(d.preventDefault())})("keydown.space",function(d){var e=x(c).ngIf;tq(O(3),e);d.stopPropagation();return z(d.preventDefault())});S(3,"async");S(4,"async");R(5);I()()}a&2&&(a=b.ngIf,b=O(3),B(2),yf("disabled",!!T(3,6,b.isSaving$("status"))),F("matTooltip",a.description||""),pf("aria-disabled",!!T(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),B(3),Mf(" ",a.displayText,
" "))},jdb=function(a){a&1&&(K(0),P(1,idb,6,10,"div",59),S(2,"async"),L());a&2&&(a=O(2),B(1),F("ngIf",T(2,1,a.issueStatusQuickAction$)))},kdb=function(a){a&1&&(J(0,"b-issue-card",63,64),S(2,"async"));if(a&2){var b=Lf(1);a=O(2);F("onedevIsHovercardReady",b.init)("issueId",T(2,2,a.canonicalIssueId$))}},mdb=function(a){if(a&1){var b=w();H(0,"b-estimated-effort-row",65);M("effortChange",function(e){x(b);var g=O(2);return z(ldb(g.editIssueService,g.issueId,e))});S(1,"async");S(2,"async");S(3,"async");
I()}if(a&2){a=O(2);var c,d;F("effort",null!==(c=T(1,3,a.effort$))&&void 0!==c?c:void 0)("effortSpec",null!==(d=T(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",!T(3,7,a.hasAclToEdit$))}},ndb=function(a){a&1&&(H(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. "),H(2,"a",71),R(3,"Learn more"),I()());a&2&&(a=O(3),B(2),F("href",ho(a.documentationLinks)+"#expanded-access",
Sd))},odb=function(a){a&1&&(H(0,"div",66)(1,"span",67),R(2,"Expanded Access"),I(),H(3,"xap-bubble",68)(4,"xap-icon-trigger"),J(5,"mat-icon",69),I(),P(6,ndb,4,1,"ng-template",null,70,hg),I()());if(a&2){var b=Lf(7);B(3);F("panelTemplate",b)}},pdb=function(a){a&1&&(H(0,"span",77),S(1,"async"),R(2),I());if(a&2){a=O().ngIf;var b=O(4);yf("disabled",!!T(1,3,b.isSaving$("assignee")));B(2);Mf(" ",a.displayText," ")}},qdb=function(a,b){if(a&1){var c=w();H(0,"div",75);M("onHotkey",function(){var d=x(c).ngIf,
e=O(4);return z(tq(e,d))})("click",function(){var d=x(c).ngIf,e=O(4);return z(tq(e,d))})("keydown.enter",function(d){var e=x(c).ngIf;tq(O(4),e);d.stopPropagation();return z(d.preventDefault())})("keydown.space",function(d){var e=x(c).ngIf;tq(O(4),e);d.stopPropagation();return z(d.preventDefault())});S(1,"async");J(2,"div",61);P(3,pdb,3,5,"span",76);S(4,"async");I()}a&2&&(a=b.ngIf,b=O(4),F("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),pf("aria-disabled",!!T(1,5,b.isSaving$("assignee")))("aria-label",
a.description),B(3),F("ngIf",T(4,7,b.hasAclToEdit$)))},rdb=function(a){a&1&&(K(0),P(1,qdb,5,9,"div",74),S(2,"async"),L());a&2&&(a=O(3),B(1),F("ngIf",T(2,1,a.issueAssigneeQuickAction$)))},tdb=function(a){if(a&1){var b=w();K(0);H(1,"b-edit-field",72,73);M("onHotkey",function(){x(b);var g=Lf(2);return z(aq(g,null,!0,!1))})("valueChange",function(g){x(b);var h=Lf(2),m=O(2);return z(sdb(m,h,null!==g&&void 0!==g?g:""))});S(3,"async");S(4,"async");S(5,"async");I();P(6,rdb,3,3,"ng-container",0);L()}if(a&
2){a=O().ngIf;var c=O(),d,e;B(1);F("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("name","assignee")("title","Assignee")("type",c.FieldType.TEXT)("value",a.assignee)("user",null!==(d=a.assigneeUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!T(3,12,c.hasAclToEdit$))("disabled",!!T(4,14,c.isSaving$("assignee")))("showAvailability",!0)("teamId",null!==(e=T(5,16,c.teamId$))&&void 0!==e?e:"");B(5);F("ngIf",c.defaultAssigneeQuickActionEnabled)}},vdb=function(a){if(a&1){var b=w();H(0,"div",82);M("click",function(){x(b);
var c=O(3);return z(udb(c.editIssueService,c.issueId,""))});R(1," Un-assign ");I()}},wdb=function(a,b){if(a&1){var c=w();H(0,"div",84);M("onHotkey",function(){var d=x(c).ngIf,e=O(4);return z(tq(e,d))})("click",function(){var d=x(c).ngIf,e=O(4);return z(tq(e,d))})("keydown.enter",function(d){var e=x(c).ngIf;tq(O(4),e);d.stopPropagation();return z(d.preventDefault())})("keydown.space",function(d){var e=x(c).ngIf;tq(O(4),e);d.stopPropagation();return z(d.preventDefault())});S(1,"async");S(2,"async");
R(3);I()}a&2&&(a=b.ngIf,b=O(4),yf("disabled",!!T(1,7,b.isSaving$("assignee"))),F("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),pf("aria-disabled",!!T(2,9,b.isSaving$("assignee")))("aria-label",a.description),B(3),Mf(" ",a.displayText," "))},xdb=function(a){a&1&&(K(0),P(1,wdb,4,11,"div",83),S(2,"async"),L());a&2&&(a=O(3),B(1),F("ngIf",T(2,1,a.issueAssigneeQuickAction$)))},ydb=function(a){if(a&1){var b=w();H(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Assignee");
I();H(3,"onedev-field-value",57);S(4,"async");H(5,"b-user-picker",78,79);M("onHotkey",function(){x(b);var e=Lf(6);return z(e.openPopOver())})("emailChange",function(e){x(b);var g=O(2);return z(udb(g.editIssueService,g.issueId,e))});S(7,"async");S(8,"async");I();H(9,"div",80);P(10,vdb,2,0,"div",81);S(11,"async");P(12,xdb,3,3,"ng-container",0);S(13,"async");I()()()}if(a&2){a=O().ngIf;var c=O(),d;B(3);F("thinking",!!T(4,7,c.isSaving$("assignee")));B(2);F("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",
null!==(d=T(7,9,c.teamId$))&&void 0!==d?d:"")("disabled",!T(8,11,c.hasAclToEdit$));B(5);F("ngIf",a.assigneeUser&&T(11,13,c.hasAclToEdit$));B(2);F("ngIf",c.defaultAssigneeQuickActionEnabled&&T(13,15,c.hasAclToEdit$))}},Adb=function(a){if(a&1){var b=w();K(0);H(1,"b-edit-field",85,86);M("valueChange",function(g){x(b);var h=Lf(2),m=O(2);return z(zdb(m,h,null!==g&&void 0!==g?g:""))});S(3,"async");S(4,"async");S(5,"async");I();L()}if(a&2){a=O().ngIf;var c=O(),d,e;B(1);F("name","verifier")("title","Verifier")("type",
c.FieldType.TEXT)("value",a.verifier)("user",null!==(d=a.verifierUser)&&void 0!==d?d:void 0)("isUser",!0)("readonly",!T(3,10,c.hasAclToEdit$))("disabled",!!T(4,12,c.isSaving$("verifier")))("showAvailability",!0)("teamId",null!==(e=T(5,14,c.teamId$))&&void 0!==e?e:"")}},Cdb=function(a){if(a&1){var b=w();H(0,"onedev-edit-field")(1,"onedev-field-label");R(2,"Verifier");I();H(3,"onedev-field-value",57);S(4,"async");H(5,"b-user-picker",58);M("emailChange",function(e){x(b);var g=O(2);return z(Bdb(g.editIssueService,
g.issueId,e))});S(6,"async");S(7,"async");I()()()}if(a&2){a=O().ngIf;var c=O(),d;B(3);F("thinking",!!T(4,4,c.isSaving$("verifier")));B(2);F("user",a.verifierUser)("teamId",null!==(d=T(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!T(7,8,c.hasAclToEdit$))}},Ddb=function(a){a&1&&(H(0,"span"),R(1," Remove me "),I())},Edb=function(a){a&1&&(H(0,"span"),R(1," Add me "),I())},Gdb=function(a){if(a&1){var b=w();H(0,"div",16);M("click",function(){x(b);var c=O(2);return z(Fdb(c))})("keydown.enter",function(c){x(b);
var d=O(2);Fdb(d);c.stopPropagation();c.preventDefault();return z()})("keydown.space",function(c){x(b);var d=O(2);Fdb(d);c.stopPropagation();c.preventDefault();return z()});S(1,"async");S(2,"async");S(3,"async");S(4,"async");P(5,Ddb,2,0,"span",0);S(6,"async");P(7,Edb,2,0,"span",0);S(8,"async");S(9,"async");I()}a&2&&(a=O(2),yf("disabled",!!T(1,7,a.isSaving$("collaborators"))),F("matTooltip",T(4,13,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),pf("aria-disabled",
!!T(2,9,a.isSaving$("collaborators")))("aria-label",T(3,11,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),B(5),F("ngIf",T(6,15,a.isCurrentUserCollaborator$)),B(2),F("ngIf",!T(8,17,a.isCurrentUserCollaborator$)&&T(9,19,a.hasAclToEdit$)))},Hdb=function(a){a&1&&(H(0,"span"),R(1," Un-CC me "),I())},Idb=function(a){a&1&&(H(0,"span"),R(1," CC me "),I())},Kdb=function(a){if(a&1){var b=w();H(0,"div",16);M("click",function(){x(b);var c=O(2);return z(Jdb(c))})("keydown.enter",
function(c){x(b);var d=O(2);Jdb(d);c.stopPropagation();c.preventDefault();return z()})("keydown.space",function(c){x(b);var d=O(2);Jdb(d);c.stopPropagation();c.preventDefault();return z()});S(1,"async");S(2,"async");S(3,"async");S(4,"async");P(5,Hdb,2,0,"span",0);S(6,"async");P(7,Idb,2,0,"span",0);S(8,"async");S(9,"async");I()}a&2&&(a=O(2),yf("disabled",!!T(1,7,a.isSaving$("ccs"))),F("matTooltip",T(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),pf("aria-disabled",!!T(2,
9,a.isSaving$("ccs")))("aria-label",T(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),B(5),F("ngIf",T(6,15,a.isCurrentUserCCd$)),B(2),F("ngIf",!T(8,17,a.isCurrentUserCCd$)&&T(9,19,a.isAllowedToEditCC$)))},Ldb=function(a){a&1&&Df(0)},Mdb=function(a){a&1&&(K(0),P(1,Ldb,1,0,"ng-container",49),L());if(a&2){O();var b=Lf(121);B(1);F("ngTemplateOutlet",b)}},Ndb=function(a){a&1&&J(0,"b-list-field",87);if(a&2){a=O().ngIf;var b=O(2);F("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",
b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},Odb=function(a,b){a&1&&(K(0),P(1,Ndb,1,6,"b-list-field",36),S(2,"async"),L());a&2&&(a=b.ngIf,b=O(2),B(1),F("ngIf",T(2,1,b.shouldDisplayWtdmUi$)&&a.length))},Pdb=function(a){a&1&&J(0,"b-list-field",87);if(a&2){a=O().ngIf;var b=O();F("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},
Rdb=function(a,b){a&1&&(H(0,"div"),Df(1,88),I());if(a&2){a=b.$implicit;O();var c=Lf(133);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,Qdb,a))}},Sdb=function(a){a&1&&Df(0)},Tdb=function(a){a&1&&(K(0),P(1,Sdb,1,0,"ng-container",49),L());if(a&2){O();var b=Lf(131);B(1);F("ngTemplateOutlet",b)}},Udb=function(a){a&1&&J(0,"hr",89)},Vdb=function(a){a&1&&Df(0)},Wdb=function(a){a&1&&(K(0),P(1,Vdb,1,0,"ng-container",49),L());if(a&2){O(2);var b=Lf(117);B(1);F("ngTemplateOutlet",b)}},Xdb=function(a){a&
1&&Df(0)},Ydb=function(a){a&1&&(K(0),P(1,Xdb,1,0,"ng-container",49),L());if(a&2){O(2);var b=Lf(119);B(1);F("ngTemplateOutlet",b)}},Zdb=function(a){a&1&&Df(0)},$db=function(a){a&1&&(K(0),P(1,Zdb,1,0,"ng-container",49),L());if(a&2){O(2);var b=Lf(121);B(1);F("ngTemplateOutlet",b)}},aeb=function(a,b){a&1&&(H(0,"div"),Df(1,88),I());if(a&2){a=b.$implicit;O(2);var c=Lf(133);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,Qdb,a))}},beb=function(a){a&1&&Df(0)},ceb=function(a){a&1&&(K(0),P(1,beb,
1,0,"ng-container",49),L());if(a&2){O(2);var b=Lf(131);B(1);F("ngTemplateOutlet",b)}},deb=function(a){a&1&&(H(0,"collapsible-panel",90),S(1,"async"),P(2,Wdb,2,1,"ng-container",0),S(3,"async"),P(4,Ydb,2,1,"ng-container",0),S(5,"async"),P(6,$db,2,1,"ng-container",0),S(7,"async"),P(8,aeb,2,4,"div",37),S(9,"async"),P(10,ceb,2,1,"ng-container",0),S(11,"async"),I());if(a&2){a=O(2);var b;F("titleWhenCollapsed",null!==(b=T(1,8,a.showHiddenFieldsLabel$))&&void 0!==b?b:"")("titleWhenExpanded","Hide additional fields");
B(2);F("ngIf",a.showSloStatus&&!T(3,10,a.isSloStatusPrimary$));B(2);F("ngIf",!T(5,12,a.isSeverityPrimary$));B(2);F("ngIf",a.showChangelists&&!T(7,14,a.isChangelistPrimary$));B(2);F("ngForOf",T(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);B(2);F("ngIf",!T(11,18,a.isForgottenFourPrimary$))}},eeb=function(a){if(a&1){var b=w();H(0,"b-issue-slo-box",92);M("onSloStartTimeChange",function(h){x(b);var m=O(3);return z(m.editIssueService.updateSloStartTime(m.issueId,h.date))})("onSloEndTimeChange",
function(h){x(b);var m=O(3);return z(m.editIssueService.updateSloEndTime(m.issueId,h.date))});S(1,"async");S(2,"async");S(3,"async");S(4,"async");I()}if(a&2){a=O(2).ngIf;var c=O(),d,e,g;F("sloStatus",null!==(d=T(1,7,c.sloStatus$))&&void 0!==d?d:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",null!==(e=T(2,9,c.sloId$))&&void 0!==e?e:void 0)("componentId",a.componentId)("isEditable",!!T(3,11,c.hasAclToEdit$))("issueCreationTimestamp",null!==(g=T(4,13,c.createdTimeMicros$))&&
void 0!==g?g:0)}},feb=function(a){a&1&&P(0,eeb,5,15,"ng-template",91);a&2&&(a=O(2),F("refreshable",a.refreshMonitor.getObservable()))},heb=function(a){if(a&1){var b=w();H(0,"b-edit-field",93);M("valueChange",function(d){x(b);var e=O(2);return z(geb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"async");S(2,"async");I()}if(a&2){a=O().ngIf;var c=O();F("name","severity")("title","Severity")("type",c.FieldType.ENUM)("tooltip","Set severity, which reflects how much the issue affects the use of the product")("value",
a.severity)("choices",c.severityChoices)("readonly",!T(1,8,c.hasAclToEdit$))("disabled",!!T(2,10,c.isSaving$("severity")))}},ieb=function(a){if(a&1){var b=w();H(0,"insights-graph-btn",97);M("pressed",function(){x(b);var c=O(3).issueInsightsSidebarService;c.analytics.trackEvent(io.SIDEBAR,"ingress-click");c.openSidebar("deployments");return z()});I()}},keb=function(a){if(a&1){var b=w();H(0,"b-list-field",94);M("valuesChange",function(h){x(b);var m=O(2);return z(jeb(m.editIssueService,m.issueId,h.values))});
S(1,"async");S(2,"async");H(3,"div",95);P(4,ieb,1,0,"insights-graph-btn",96);S(5,"async");I()();J(6,"b-list-field",87);S(7,"async");S(8,"async");S(9,"async")}if(a&2){a=O().ngIf;var c=O(),d,e,g;F("readonly",!T(1,15,c.hasAclToEdit$))("defaultLineCount",3)("title","Changelists")("type",c.ListFieldType.CHANGELISTS)("values",a.changelist)("listFieldDisabled",!!T(2,17,c.isSaving$("changelists")));B(4);F("ngIf",T(5,19,c.issueInsightsSidebarService.shouldShowInsightsGraphButton$));B(2);yf("bv2-issue-metadata-error",
null==(d=T(7,21,c.pendingChangelists$))?null:d.hasError);F("readonly",!0)("defaultLineCount",3)("title","Pending Changelists")("type",c.ListFieldType.CHANGELISTS)("values",null!==(e=null==(e=T(8,23,c.pendingChangelists$))?null:e.cls)&&void 0!==e?e:Rf(27,$cb))("tooltip",(null==(g=T(9,25,c.pendingChangelists$))?0:g.hasError)?"Error fetching pending CLs":"Pending changelists (auto-populated)")}},meb=function(a){if(a&1){var b=w();H(0,"b-edit-field",98);M("valueChange",function(d){x(b);var e=O(2);return z(leb(e.editIssueService,
e.issueId,null!==d&&void 0!==d?d:""))});S(1,"csv");S(2,"async");S(3,"async");I()}if(a&2){a=O().ngIf;var c=O();F("name","foundInVersion")("title","Found In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product affected by this issue (comma-separated list)")("value",T(1,8,a.foundInVersion))("readonly",!T(2,10,c.hasAclToEdit$))("disabled",!!T(3,12,c.isSaving$("foundInVersion")))}},oeb=function(a){if(a&1){var b=w();H(0,"b-edit-field",99);M("valueChange",function(d){x(b);
var e=O(2);return z(neb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"csv");S(2,"async");S(3,"async");I()}if(a&2){a=O().ngIf;var c=O();F("name","targetedToVersion")("title","Targeted To")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue should be fixed (comma-separated list)")("value",T(1,8,a.targetedToVersion))("readonly",!T(2,10,c.hasAclToEdit$))("disabled",!!T(3,12,c.isSaving$("targetedToVersion")))}},qeb=function(a){if(a&
1){var b=w();H(0,"b-edit-field",98);M("valueChange",function(d){x(b);var e=O(2);return z(peb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});S(1,"csv");S(2,"async");S(3,"async");I()}if(a&2){a=O().ngIf;var c=O();F("name","verifiedInVersion")("title","Verified In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue fix was verified (comma-separated list)")("value",T(1,8,a.verifiedInVersion))("readonly",!T(2,10,c.hasAclToEdit$))("disabled",
!!T(3,12,c.isSaving$("verifiedInVersion")))}},seb=function(a){if(a&1){var b=w();H(0,"b-edit-field",100);M("valueChange",function(d){x(b);var e=O(2);return z(reb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});S(1,"async");S(2,"async");I()}if(a&2){a=O().ngIf;var c=O();F("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!T(1,7,c.hasAclToEdit$))("disabled",!!T(2,9,c.isSaving$("inProd")))}},teb=function(a){a&
1&&Df(0)},ueb=function(a){a&1&&Df(0)},veb=function(a){a&1&&Df(0)},web=function(a){a&1&&Df(0)},xeb=function(a){a&1&&(H(0,"div",4),P(1,teb,1,0,"ng-container",49),P(2,ueb,1,0,"ng-container",49),P(3,veb,1,0,"ng-container",49),P(4,web,1,0,"ng-container",49),I());if(a&2){O();var b=Lf(123),c=Lf(125),d=Lf(127),e=Lf(129);B(1);F("ngTemplateOutlet",b);B(1);F("ngTemplateOutlet",c);B(1);F("ngTemplateOutlet",d);B(1);F("ngTemplateOutlet",e)}},zeb=function(a,b){if(a&1){var c=w();H(0,"b-custom-field-editor",101);
M("save",function(e){var g=x(c).$implicit,h=O(2);return z(yeb(h.editIssueService,h.issueId,g.customFieldId,e))});S(1,"async");S(2,"async");I()}if(a&2){a=b.$implicit;b=O().ngIf;var d=O();F("issue",b)("field",a)("readonly",!T(1,4,d.hasAclToEdit$))("disabled",!!T(2,6,d.isSaving$(a.customFieldId)))}},Feb=function(a,b){if(a&1){var c=w();K(0);P(1,Wcb,2,1,"ng-container",0);S(2,"async");P(3,Zcb,3,3,"ng-container",0);P(4,bdb,3,3,"ng-container",0);S(5,"async");P(6,ddb,6,16,"ng-container",1);P(7,fdb,8,10,"ng-template",
null,2,hg);H(9,"b-edit-field",3);M("valueChange",function(N){x(c);var Q=O();return z(Aeb(Q.editIssueService,Q.issueId,null!==N&&void 0!==N?N:""))});S(10,"async");S(11,"async");I();H(12,"div",4)(13,"b-edit-field",5);M("onHotkey",function(N){x(c);var Q=O();(N=zl("P"+N))&&Beb(Q.editIssueService,Q.issueId,N);return z()})("valueChange",function(N){x(c);var Q=O();return z(Beb(Q.editIssueService,Q.issueId,null!==N&&void 0!==N?N:""))});S(14,"async");S(15,"async");I();P(16,hdb,2,1,"ng-container",0);S(17,"async");
I();H(18,"div",6)(19,"b-edit-field",7);M("valueChange",function(N){x(c);var Q=O();return z(Ceb(Q,null!==N&&void 0!==N?N:""))});S(20,"async");S(21,"async");S(22,"async");S(23,"async");I();P(24,jdb,3,3,"ng-container",0);S(25,"async");I();H(26,"onedev-hovercard",null,8);P(28,kdb,3,4,"b-issue-card",9);I();P(29,mdb,4,9,"b-estimated-effort-row",10);S(30,"async");S(31,"async");H(32,"div",11)(33,"div",12)(34,"div",13)(35,"label");R(36,"Access");I()();H(37,"div",14)(38,"span",15);R(39);S(40,"async");I();H(41,
"div",16);M("click",function(){x(c);var N=O();return z(N.toggleAccessLimits())})("keydown.enter",function(N){x(c);var Q=O();return z(Q.toggleAccessLimitsWithKeystroke(N))})("keydown.space",function(N){x(c);var Q=O();return z(Q.toggleAccessLimitsWithKeystroke(N))});S(42,"async");S(43,"async");H(44,"span");R(45);S(46,"async");I()()()();H(47,"onedev-hovercard",null,17)(49,"div",18)(50,"div",19)(51,"span",20);R(52," Issue access level can only be set by Issue admins and it enables issue-level access control. ");
H(53,"a",21);R(54,"Learn more");I()()()()()();H(55,"div",22);S(56,"async");P(57,odb,8,1,"div",23);S(58,"async");H(59,"div",24);P(60,tdb,7,18,"ng-container",1);P(61,ydb,14,17,"ng-template",null,25,hg);I();P(63,Adb,6,16,"ng-container",1);P(64,Cdb,8,10,"ng-template",null,26,hg);K(66);H(67,"b-collaborators-field",27,28);M("toggleAccessLimits",function(){x(c);var N=O();return z(N.toggleAccessLimits())})("valuesChange",function(N){x(c);var Q=Lf(68),Z=O();return z(Deb(Z,Q,N.values))});S(69,"async");S(70,
"async");S(71,"async");H(72,"div",29);P(73,Gdb,10,21,"div",30);S(74,"async");S(75,"async");S(76,"async");I()();H(77,"onedev-hovercard",null,31)(79,"div",18)(80,"div",19)(81,"span",20);R(82," Collaborators are users who are actively working on an issue. ");H(83,"a",32);R(84,"Learn more.");I()()()()();H(85,"b-list-field",33,34);M("valuesChange",function(N){x(c);var Q=Lf(86),Z=O();return z(Eeb(Z,Q,N.values))});S(87,"async");S(88,"async");S(89,"async");H(90,"div",29);P(91,Kdb,10,21,"div",30);S(92,"async");
S(93,"async");S(94,"async");I()();H(95,"onedev-hovercard",null,35)(97,"div",18)(98,"div",19)(99,"span",20);R(100," CC are users who want to receive updates. ");H(101,"a",32);R(102,"Learn more.");I()()()()();L();I();P(103,Mdb,2,1,"ng-container",0);S(104,"async");P(105,Odb,3,3,"ng-container",0);S(106,"async");P(107,Pdb,1,6,"b-list-field",36);P(108,Rdb,2,4,"div",37);S(109,"async");P(110,Tdb,2,1,"ng-container",0);S(111,"async");P(112,Udb,1,0,"hr",38);S(113,"async");P(114,deb,12,20,"collapsible-panel",
39);S(115,"async");P(116,feb,1,1,"ng-template",null,40,hg);P(118,heb,3,12,"ng-template",null,41,hg);P(120,keb,10,28,"ng-template",null,42,hg);P(122,meb,4,14,"ng-template",null,43,hg);P(124,oeb,4,14,"ng-template",null,44,hg);P(126,qeb,4,14,"ng-template",null,45,hg);P(128,seb,3,11,"ng-template",null,46,hg);P(130,xeb,5,4,"ng-template",null,47,hg);P(132,zeb,3,8,"ng-template",null,48,hg);L()}if(a&2){a=b.ngIf;var d=Lf(8),e=Lf(27),g=Lf(48),h=Lf(62),m=Lf(65),r=Lf(78),v=Lf(96);b=O();var y,A,G;B(1);F("ngIf",
b.showSloStatus&&T(2,82,b.isSloStatusPrimary$));B(2);F("ngIf",b.sessionIsInternal);B(1);F("ngIf",T(5,84,b.teamWarningType$));B(2);F("ngIf",!b.enablePeoplekitAc)("ngIfElse",d);B(3);F("name","type")("title","Type")("type",b.FieldType.ENUM)("value",a.type)("choices",b.typeChoices)("readonly",!T(10,86,b.hasAclToEdit$))("disabled",!!T(11,88,b.isSaving$("type")));B(4);F("name","priority")("title","Priority")("type",b.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",
a.priority)("choices",b.priorityChoices)("hotkey",b.HOTKEYS.CHANGE_ISSUE_PRIORITY)("readonly",!T(14,90,b.hasAclToEdit$))("disabled",!!T(15,92,b.isSaving$("priority")));B(3);F("ngIf",T(17,94,b.isSeverityPrimary$));B(3);F("name","status")("title","Status")("type",b.FieldType.ENUM)("value",a.status)("choices",null!==(y=T(20,96,b.statusChoices$))&&void 0!==y?y:Rf(158,$cb))("readonly",!T(21,98,b.hasAclToEdit$))("disabled",!!T(22,100,b.isSaving$("status")))("onedevHovercardActive",!!T(23,102,b.canonicalIssueId$))("onedevHovercardTrigger",
e);B(5);F("ngIf",T(25,104,b.hasAclToEdit$));B(5);F("ngIf",b.sessionIsInternal&&T(30,106,b.isEffortEnabled$)&&!T(31,108,b.isWithinExternalComponent$));B(4);F("onedevHovercardTrigger",g)("onedevHovercardActive",!0)("onedevHovercardConfig",b.ACCESS_LIMITS_HOVERCARD_CONFIG);B(6);Nf(b.getAccessLimitLevelDisplay(T(40,110,b.accessLimitLevel$)));B(2);F("matTooltip",T(43,114,b.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)");
pf("aria-label",T(42,112,b.hasAclToAdmin$)?"Edit":"View");B(4);Mf(" ",T(46,116,b.hasAclToAdmin$)?"Edit":"View"," ");B(8);F("href",b.documentationLinks.getIssueAccessLimit(),Sd);B(2);yf("implicit-access-box",T(56,118,b.isImplicitAccessEnabled$));B(2);F("ngIf",T(58,120,b.isImplicitAccessEnabled$));B(3);F("ngIf",!b.enablePeoplekitAc)("ngIfElse",h);B(3);F("ngIf",!b.enablePeoplekitAc)("ngIfElse",m);B(4);F("readonly",!T(69,122,b.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",
!!T(70,124,b.isSaving$("collaborators")))("teamId",null!==(A=T(71,126,b.teamId$))&&void 0!==A?A:"")("isCollapsible",!0)("onedevHovercardTrigger",r)("onedevHovercardActive",!0)("onedevHovercardConfig",b.USER_FIELD_HOVERCARD_CONFIG);B(6);F("ngIf",T(74,128,b.isCurrentUserCollaborator$)||!T(75,130,b.isCurrentUserCollaborator$)&&T(76,132,b.hasAclToEdit$));B(12);Kf("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");F("defaultLineCount",5)("readonly",!T(87,134,b.isAllowedToEditCC$))("type",
b.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",a.ccUsers)("listFieldDisabled",!!T(88,136,b.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("onedevHovercardTrigger",v)("onedevHovercardActive",!0)("onedevHovercardConfig",b.USER_FIELD_HOVERCARD_CONFIG)("teamId",null!==(G=T(89,138,b.teamId$))&&void 0!==G?G:"");B(6);F("ngIf",T(92,140,b.isCurrentUserCCd$)||!T(93,142,b.isCurrentUserCCd$)&&T(94,144,b.isAllowedToEditCC$));B(12);F("ngIf",b.showChangelists&&T(104,146,b.isChangelistPrimary$));
B(2);F("ngIf",T(106,148,b.workspaces$));B(2);F("ngIf",!b.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));B(1);F("ngForOf",T(109,150,b.visibleCustomFields$))("ngForTrackBy",b.trackCustomField);B(2);F("ngIf",T(111,152,b.isForgottenFourPrimary$));B(2);F("ngIf",T(113,154,b.hasHiddenFields$));B(2);F("ngIf",T(115,156,b.hasHiddenFields$))}},Heb=function(a){if(a&1){var b=w();K(0);H(1,"span");R(2);I();H(3,"button",24);M("click",function(){x(b);var c=O(2);return z(Geb(c))});J(4,"mat-icon",
25);I();L()}a&2&&(a=O().ngIf,B(1),pf("title",a.snapshot[0].title),B(1),Mf(" ",a.snapshot[0].title," "),B(1),F("matTooltipShowDelay",500))},Ieb=function(a){if(a&1){var b=w();H(0,"button",31);M("click",function(){x(b);var c=O(3);return z(uq(c))});R(1,"Cancel");I()}},Jeb=function(a){a&1&&(K(0),R(1," Update title "),L())},Keb=function(a){if(a&1){var b=w();K(0);H(1,"mat-form-field",26)(2,"textarea",27);M("ngModelChange",function(d){x(b);var e=O(2);return z(e.draftTitle=d)});I()();H(3,"div",28);P(4,Ieb,
2,0,"button",29);H(5,"button",30);M("click",function(){x(b);var d=O(2);return z(d.saveTitle())});P(6,Jeb,2,0,"ng-container",10);I()();L()}if(a&2){a=O(2);var c=Lf(13);B(2);F("cdkTextareaAutosize",!0)("cdkAutosizeMinRows",2)("ngModel",a.draftTitle)("bFocus",!0);B(2);F("ngIf",!a.isSavingTitle);B(1);F("disabled",a.isSavingTitle);B(1);F("ngIf",!a.isSavingTitle)("ngIfElse",c)}},Leb=function(a){a&1&&(H(0,"button",32),J(1,"mat-icon",33),I());a&2&&(a=O().ngIf,If("routerLink","/issues/",a.issueId,""))},Meb=
function(a){if(a&1){var b=w();H(0,"button",39);M("click",function(){x(b);var c=O(3);return z(c.editStatusUpdate())});J(1,"mat-icon",25);I()}a&2&&F("matTooltipShowDelay",1E3)},Neb=function(a){a&1&&J(0,"mat-icon",40)},Oeb=function(a){a&1&&J(0,"mat-icon",41)},Peb=function(a,b){a&1&&(J(0,"b-note-container",44),S(1,"async"));if(a&2){a=b.ngIf;b=O().ngIf;var c=O().ngIf,d=O(2),e;F("issueId",a)("note",b)("issueAccessLevel",T(1,4,d.accessLevel$))("formattingMode",null!==(e=c.formattingMode)&&void 0!==e?e:d.FormattingMode.PLAIN)}},
Qeb=function(a,b){a&1&&(K(0),H(1,"div",42),P(2,Peb,2,6,"b-note-container",43),S(3,"async"),I(),L());a&2&&(a=b.ngIf,b=O(3),B(2),F("ngIf",""!==a.unlinkifiedComment&&T(3,1,b.issueId$)))},Reb=function(a){if(a&1){var b=w();K(0);H(1,"div",34)(2,"div",35)(3,"div",18);J(4,"mat-icon",36);H(5,"span");R(6," STATUS UPDATE ");I();P(7,Meb,2,1,"button",37);S(8,"async");I();H(9,"button",38);M("click",function(){x(b);var c=O(2);return z(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});P(10,Neb,1,0,"mat-icon",
21);P(11,Oeb,1,0,"mat-icon",22);I()();P(12,Qeb,4,3,"ng-container",14);S(13,"async");I();L()}a&2&&(a=O(2),B(1),yf("area-expanded",a.isStatusUpdateExpanded),B(1),yf("card-expanded",a.isStatusUpdateExpanded),B(5),F("ngIf",a.isStatusUpdateExpanded&&T(8,10,a.userCanEditStatusUpdate$)),B(2),F("matTooltipShowDelay",1E3),pf("aria-expanded",a.isStatusUpdateExpanded),B(1),F("ngIf",!a.isStatusUpdateExpanded),B(1),F("ngIf",a.isStatusUpdateExpanded),B(1),F("ngIf",a.isStatusUpdateExpanded&&T(13,12,a.statusUpdateNote$)))},
Teb=function(a){if(a&1){var b=w();H(0,"button",49);M("click",function(){x(b);var c=O(3);return z(Seb(c))});J(1,"mat-icon",25);I()}a&2&&F("matTooltipShowDelay",1E3)},Ueb=function(a){a&1&&J(0,"mat-icon",40)},Veb=function(a){a&1&&J(0,"mat-icon",41)},Web=function(a,b){a&1&&(J(0,"b-note-container",44),S(1,"async"));if(a&2){a=b.ngIf;b=O().ngIf;var c=O(2).ngIf,d=O(2),e;F("issueId",a)("note",b)("issueAccessLevel",T(1,4,d.accessLevel$))("formattingMode",null!==(e=c[0].formattingMode)&&void 0!==e?e:d.FormattingMode.PLAIN)}},
Xeb=function(a,b){a&1&&(K(0),P(1,Web,2,6,"b-note-container",43),S(2,"async"),L());a&2&&(a=b.ngIf,b=O(4),B(1),F("ngIf",""!==a.unlinkifiedComment&&T(2,1,b.issueId$)))},Yeb=function(a){a&1&&(H(0,"div",52),R(1,"No description added"),I())},Zeb=function(a){a&1&&(K(0),H(1,"div",50),P(2,Xeb,3,3,"ng-container",10),S(3,"async"),S(4,"async"),P(5,Yeb,2,0,"ng-template",null,51,hg),I(),L());if(a&2){var b=Lf(6);a=O(3);B(2);F("ngIf",!T(3,2,a.isDescriptionEmpty$)&&T(4,4,a.firstNote$))("ngIfElse",b)}},$eb=function(a){if(a&
1){var b=w();K(0);H(1,"div",45)(2,"div",35)(3,"div",18);J(4,"mat-icon",46);H(5,"span");R(6,"DESCRIPTION");I();P(7,Teb,2,1,"button",47);S(8,"async");I();H(9,"button",48);M("click",function(){x(b);var c=O(2);return z(c.isDescriptionExpanded=!c.isDescriptionExpanded)});P(10,Ueb,1,0,"mat-icon",21);P(11,Veb,1,0,"mat-icon",22);I()();P(12,Zeb,7,6,"ng-container",14);I();L()}a&2&&(a=O(2),B(1),yf("area-expanded",a.isDescriptionExpanded),B(1),yf("card-expanded",a.isDescriptionExpanded),B(5),F("ngIf",a.isDescriptionExpanded&&
T(8,10,a.userCanEditDescription$)),B(2),F("matTooltipShowDelay",1E3),pf("aria-expanded",a.isDescriptionExpanded),B(1),F("ngIf",!a.isDescriptionExpanded),B(1),F("ngIf",a.isDescriptionExpanded),B(1),F("ngIf",a.isDescriptionExpanded))},afb=function(a){a&1&&J(0,"mat-icon",40)},bfb=function(a){a&1&&J(0,"mat-icon",41)},cfb=function(a){a&1&&(H(0,"div",53),J(1,"edit-issue-metadata",54),I());a&2&&(a=O().ngIf,B(1),F("issueId",a.issueId))},dfb=function(a){if(a&1){var b=w();K(0);H(1,"div",12)(2,"div",13);P(3,
Heb,5,3,"ng-container",14);P(4,Keb,7,8,"ng-container",14);I();P(5,Leb,2,1,"button",15);I();P(6,Reb,14,14,"ng-container",14);S(7,"async");P(8,$eb,13,12,"ng-container",10);S(9,"async");H(10,"div",16)(11,"div",17)(12,"div",18);J(13,"mat-icon",19);H(14,"span");R(15,"FIELDS");I()();H(16,"button",20);M("click",function(){x(b);var d=O();return z(d.isFieldsExpanded=!d.isFieldsExpanded)});P(17,afb,1,0,"mat-icon",21);P(18,bfb,1,0,"mat-icon",22);I()();P(19,cfb,2,1,"div",23);I();L()}if(a&2){a=O();var c=Lf(13);
B(3);F("ngIf",!a.editTitleMode);B(1);F("ngIf",a.editTitleMode);B(1);F("ngIf",!a.editTitleMode);B(1);F("ngIf",T(7,15,a.statusUpdate$));B(2);F("ngIf",T(9,17,a.events$))("ngIfElse",c);B(2);yf("area-expanded",a.isFieldsExpanded);B(1);yf("card-expanded",a.isFieldsExpanded);B(5);F("matTooltipShowDelay",1E3);pf("aria-expanded",a.isFieldsExpanded);B(1);F("ngIf",!a.isFieldsExpanded);B(1);F("ngIf",a.isFieldsExpanded);B(1);F("ngIf",a.isFieldsExpanded)}},efb=function(a){a&1&&(H(0,"div",55),J(1,"b-spinner"),I())},
ffb=function(a){a&1&&(K(0),R(1," This issue has not been modified since "),J(2,"b-formatted-date-time",4),R(3," and is scheduled for deletion on "),H(4,"strong"),J(5,"b-formatted-date-time",4),I(),R(6,". "),L());a&2&&(a=O(2),B(2),F("mode","date")("timestamp",a.modifiedTime),B(3),F("mode","date")("timestamp",a.retentionExpireTime))},gfb=function(a){a&1&&R(0," This issue is retained indefinitely. ")},hfb=function(a){a&1&&(K(0),P(1,ffb,7,4,"ng-container",1),P(2,gfb,1,0,"ng-template",null,2,hg),H(4,"a",
3),R(5,"Learn more"),I(),L());if(a&2){var b=Lf(3);a=O();B(1);F("ngIf",a.retentionState.retentionPeriod)("ngIfElse",b);B(3);F("href",a.documentationLink,Sd)}},ifb=function(a){a&1&&(H(0,"b-base-chip",1)(1,"div",2),J(2,"retention-text",3),I(),H(3,"div",4),J(4,"retention-help-text",5),I()());a&2&&(a=O(),F("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),B(2),F("retentionState",a.retentionState)("compactMode",a.compactMode),B(2),F("retentionState",
a.retentionState)("modifiedTime",a.modifiedTime))},jfb=function(a){var b=void 0===b?new Date:b;var c=Gl(Dn(a.scheduledDeletionTime));b=b.getTime();a=(a=zAa(a.retentionPeriod))?1E3*a.getSeconds()+(a.getNanos()||0)/1E6:0;return b>=c-Math.max(12096E5,.2*a)},kfb=function(a){if(a&1){var b=w();H(0,"div",2);M("click",function(){x(b);var c=O();return z(c._onBackdropClicked())});I()}a&2&&(a=O(),yf("mat-drawer-shown",a._isShowingBackdrop()))},lfb=function(a){a&1&&(H(0,"mat-drawer-content"),Hf(1,2),I())},mfb=
function(){return!1},nfb=function(a){if(a&1){var b=w();H(0,"div",2);M("click",function(){x(b);var c=O();return z(c._onBackdropClicked())});I()}a&2&&(a=O(),yf("mat-drawer-shown",a._isShowingBackdrop()))},ofb=function(a){a&1&&(H(0,"mat-sidenav-content"),Hf(1,2),I())},pfb=function(a){a&1&&Df(0)},sfb=function(a){if(a&1){var b=w();H(0,"mat-sidenav-container",3,4)(2,"mat-sidenav",5)(3,"issue-sidebar",6);M("closeSidebar",function(){x(b);var e=O();return z(e.isIssueSidebarOpen=!1)})("navigateToNextIssue",
function(){x(b);var e=O();return z(qfb(e))})("navigateToPreviousIssue",function(){x(b);var e=O();return z(rfb(e))});I()();H(4,"mat-sidenav-content");P(5,pfb,1,0,"ng-container",7);I()()}if(a&2){a=O();var c=Lf(3),d;yf("sidebar-enabled",a.isIssueSidebarEnabled);B(2);F("opened",a.isIssueSidebarOpen);B(1);F("issueId",null==(d=a.getFocusedIssue())?null:d.issueId);B(2);F("ngTemplateOutlet",c)}},tfb=function(a){a&1&&Df(0)},ufb=function(a,b){a&1&&(H(0,"th",29),P(1,tfb,1,0,"ng-container",30),I());a&2&&(a=b.column,
b=O(2),pf("data-stable-column-name",a.name),B(1),F("ngIf",b.isIssueGridColumn(a)))},vfb=function(a){a&1&&Df(0)},wfb=function(a,b){a&1&&(H(0,"th",31),P(1,vfb,1,0,"ng-container",30),I());a&2&&(a=b.column,b=O(2),pf("data-stable-column-name",a.name),B(1),F("ngIf",b.isIssueGridColumn(a)))},yfb=function(a){if(a&1){var b=w();K(0);H(1,"mat-pseudo-checkbox",33);M("click",function(c){x(b);var d=O(3);c.stopPropagation();return z(d.toggleAllIssueSelection())})("keydown.enter",function(c){x(b);var d=O(3);c.stopPropagation();
return z(d.toggleAllIssueSelection())})("keydown.space",function(c){x(b);var d=O(3);c.stopPropagation();return z(d.toggleAllIssueSelection())});I();L()}a&2&&(a=O(3),B(1),F("state",a.getHeaderCheckboxState()),pf("aria-checked",xfb(a)))},zfb=function(a,b){a&1&&(H(0,"th",32),P(1,yfb,2,2,"ng-container",30),I());a&2&&(a=b.column,b=O(2),pf("data-stable-column-name",a.name),B(1),F("ngIf",b.isIssueGridColumn(a)))},Afb=function(a){a&1&&Df(0)},Bfb=function(a,b){a&1&&(H(0,"th"),P(1,Afb,1,0,"ng-container",30),
I());a&2&&(a=b.column,b=O(2),pf("data-stable-column-name",a.name),B(1),F("ngIf",b.isIssueGridColumn(a)))},Cfb=function(a){a&1&&(K(0),J(1,"pop-grid-default-th",34),L());a&2&&(a=O().column,B(1),F("column",a))},Dfb=function(a,b){a&1&&(H(0,"th"),P(1,Cfb,2,1,"ng-container",30),I());a&2&&(a=b.column,b=O(2),pf("data-stable-column-name",a.name),B(1),F("ngIf",b.isIssueGridColumn(a)))},Efb=function(a){if(a&1){var b=w();H(0,"b-column-picker",37);M("selectedColumnsChange",function(d){x(b);var e=O(4);e.columns=
d;e.columnsChange.emit(d);e.cdr.detectChanges();return z()});I()}if(a&2){a=O(2).column;var c=O(2);F("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},Ffb=function(a){a&1&&J(0,"pop-grid-default-th",34);a&2&&(a=O(2).column,F("column",a))},Gfb=function(a){a&1&&(K(0),P(1,Efb,1,3,"b-column-picker",35),P(2,Ffb,1,1,"pop-grid-default-th",36),L());a&2&&(a=O(3),B(1),F("ngIf",a.enableColumnSaving),B(1),F("ngIf",!a.enableColumnSaving))},Hfb=function(a,b){a&1&&(H(0,"th"),P(1,Gfb,
3,2,"ng-container",30),I());a&2&&(a=b.column,b=O(2),pf("data-stable-column-name",a.name),B(1),F("ngIf",b.isIssueGridColumn(a)))},Ifb=function(a){a&1&&Df(0)},Jfb=function(a){a&1&&(H(0,"td",29),P(1,Ifb,1,0,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Kfb=function(a){a&1&&Df(0)},Lfb=function(a){a&1&&(H(0,"td",38),P(1,Kfb,1,0,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Mfb=function(a){if(a&1){var b=w();K(0);H(1,"mat-pseudo-checkbox",39);M("click",function(c){x(b);var d=O(),e=d.index;
d=d.row;var g=O(2);c.stopPropagation();return z(g.onCheckboxClicked(c,e,d))});I();L()}a&2&&(a=O().row,B(1),F("state",a.selected?"checked":"unchecked"),pf("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},Nfb=function(a){a&1&&(H(0,"td",32),P(1,Mfb,2,3,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Ofb=function(a){if(a&1){var b=w();K(0);H(1,"b-star-toggle",41);M("starClicked",function(){x(b);var d=O().row,e=O(2);return z(e.toggleStar(d))});I();L()}if(a&2){a=O().row;var c=
O(2);B(1);F("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},Pfb=function(a){a&1&&(H(0,"td",40),P(1,Ofb,2,4,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Qfb=function(a){a&1&&(K(0),H(1,"span"),R(2),I(),L());a&2&&(a=O().row,B(1),pf("title",a.position),B(1),Mf(" ",a.position," "))},Rfb=function(a){a&1&&(H(0,"td"),P(1,Qfb,3,2,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Sfb=function(a){a&1&&(K(0),
H(1,"a",46),R(2),I(),L());if(a&2){a=O(2).row;var b=O(2);B(1);F("href",b.paths.editIssue(a.issueId),Sd);pf("title",a.title);B(1);Mf(" ",a.issueId," ")}},Tfb=function(a){a&1&&(K(0),H(1,"b-issue-id-picker",47),M("click",function(b){return b.stopPropagation()}),I(),L());a&2&&(a=O(2).row,B(1),F("issueId",a.issueId)("showCopyOptions",!1),pf("title",a.title))},Ufb=function(a){a&1&&(K(0)(1,43),P(2,Sfb,3,3,"ng-container",44),P(3,Tfb,2,3,"ng-container",45),L()());a&2&&(a=O(3),B(1),F("ngSwitch",null==a.listViewPrefs?
null:null==a.listViewPrefs.modeForField?null:a.listViewPrefs.modeForField.id),B(2),F("ngSwitchCase","copy"))},Vfb=function(a){a&1&&(H(0,"td",42),P(1,Ufb,4,2,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Wfb=function(a){a&1&&J(0,"archived-issue-indicator")},Xfb=function(a,b){a&1&&J(0,"b-hotlist-chip-smart",58);a&2&&F("id",b.$implicit)("removable",!1)},Yfb=function(a){a&1&&(H(0,"div",56),P(1,Xfb,1,2,"b-hotlist-chip-smart",57),I());a&2&&(a=O(2).row,B(1),F("ngForOf",a.hotlistId))},Zfb=function(a){a&
1&&(K(0),H(1,"div",49),P(2,Wfb,1,0,"archived-issue-indicator",30),J(3,"b-access-level-indicator",50)(4,"b-tracker-chip-smart",51)(5,"b-retention-chip",52),H(6,"div",53)(7,"a",54),R(8),I()(),P(9,Yfb,2,1,"div",55),I(),L());if(a&2){a=O().row;var b=O(2);B(1);yf("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);B(1);F("ngIf",a.archived);B(1);F("accessLevel",a.accessLevel)("compactMode",!0);B(1);F("trackerId",a.trackerId)("compactMode",!0);B(1);F("retentionState",a.retentionState)("showOnlyInDangerZone",
!0)("compactMode",!0)("modifiedTime",a.modifiedTime);B(2);F("href",b.paths.editIssue(a.issueId),Sd);pf("title",a.title);B(1);Mf(" ",a.title," ");B(1);F("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},$fb=function(a){a&1&&(H(0,"td",48),P(1,Zfb,10,15,"ng-container",30),I());a&2&&(a=O(2),yf("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),B(1),F("ngIf",!0))},bgb=function(a){a&1&&(K(0),H(1,"div",60),R(2),I(),L());if(a&2){a=O().row;var b=O(2);B(1);F("ngClass",Uf(agb,
b.isLowPriority(a),b.isHighPriority(a),b.isP0Priority(a)));B(1);Mf(" P",a.priority," ")}},cgb=function(a){a&1&&(H(0,"td",59),P(1,bgb,3,6,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},dgb=function(a){a&1&&(K(0),H(1,"div",60),R(2),I(),L());a&2&&(a=O().row,O(2),B(1),F("ngClass",Uf(agb,2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),B(1),Mf(" S",a.severity," "))},egb=function(a){a&1&&(H(0,"td",61),P(1,dgb,3,6,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},fgb=function(a){a&
1&&J(0,"mat-icon",66);if(a&2){a=O().$implicit;var b=O(4);F("svgIcon",b.ISSUE_STATUS_JS_ICON_NAME[a])}},ggb=function(a){a&1&&(K(0),R(1),L());if(a&2){a=O().$implicit;var b=O(4);B(1);Nf(b.STATUS_JS_TERSE[a])}},igb=function(a){a&1&&(H(0,"span"),R(1),I());if(a&2){a=O().$implicit;var b=O(4);Bf("chippy status-",a," margin-left-auto");B(1);Mf(" ",b.STATUS_JS_TERSE[a]," ")}},jgb=function(a,b){a&1&&(K(0),H(1,"span",63),P(2,fgb,1,1,"mat-icon",64),P(3,ggb,2,1,"ng-container",45),P(4,igb,2,4,"span",65),I(),L());
a&2&&(a=b.$implicit,b=O(4),B(1),F("ngSwitch",null==b.listViewPrefs?null:null==b.listViewPrefs.fieldStatus?null:b.listViewPrefs.fieldStatus.mode)("title",b.STATUS_JS_FULL_TEXT[a]===b.STATUS_JS_TERSE[a]?"":b.STATUS_JS_FULL_TEXT[a]),B(1),F("ngSwitchCase","icon"),B(1),F("ngSwitchCase","plain"))},kgb=function(a){a&1&&(K(0),P(1,jgb,5,4,"ng-container",30),L());a&2&&(a=O().row,B(1),F("ngIf",a.status))},lgb=function(a){a&1&&(H(0,"td",62),P(1,kgb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},mgb=
function(a){a&1&&(K(0),R(1),S(2,"enumToHuman"),L());a&2&&(a=O().row,B(1),Mf(" ",T(2,1,a.type)," "))},ngb=function(a){a&1&&(H(0,"td",67),P(1,mgb,3,3,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},ogb=function(a){a&1&&(H(0,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),R(2),I());a&2&&(a=O(2).row,F("email",T(1,2,a.reporter)),B(2),Mf(" ",a.reporter," "))},pgb=function(a){a&1&&(H(0,"span"),R(1,"--"),I())},qgb=function(a){a&1&&(K(0),P(1,ogb,3,4,"b-person-hovercard",69),S(2,"omitObfuscatedEmail"),
P(3,pgb,2,0,"span",30),L());a&2&&(a=O().row,B(1),F("ngIf",T(2,2,a.reporter)),B(2),F("ngIf",!a.reporter))},rgb=function(a){a&1&&(H(0,"td",68),P(1,qgb,4,4,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},sgb=function(a){a&1&&(H(0,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),R(2),I());a&2&&(a=O(2).row,F("email",T(1,2,a.assignee)),B(2),Mf(" ",a.assignee," "))},tgb=function(a){a&1&&(H(0,"span"),R(1,"--"),I())},ugb=function(a){a&1&&(K(0),P(1,sgb,3,4,"b-person-hovercard",69),S(2,"omitObfuscatedEmail"),
P(3,tgb,2,0,"span",30),L());a&2&&(a=O().row,B(1),F("ngIf",T(2,2,a.assignee)),B(2),F("ngIf",!a.assignee))},vgb=function(a){a&1&&(H(0,"td",68),P(1,ugb,4,4,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},wgb=function(a){a&1&&(H(0,"b-person-hovercard",70),S(1,"omitObfuscatedEmail"),R(2),I());a&2&&(a=O(2).row,F("email",T(1,2,a.verifier)),B(2),Mf(" ",a.verifier," "))},xgb=function(a){a&1&&(H(0,"span"),R(1,"--"),I())},ygb=function(a){a&1&&(K(0),P(1,wgb,3,4,"b-person-hovercard",69),S(2,"omitObfuscatedEmail"),
P(3,xgb,2,0,"span",30),L());a&2&&(a=O().row,B(1),F("ngIf",T(2,2,a.verifier)),B(2),F("ngIf",!a.verifier))},zgb=function(a){a&1&&(H(0,"td",68),P(1,ygb,4,4,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Agb=function(a){a&1&&(K(0),H(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),I(),L());a&2&&(a=O().row,B(1),pf("title",T(2,2,a.cc)),B(2),Mf(" ",T(4,4,a.cc)," "))},Bgb=function(a){a&1&&(H(0,"td",68),P(1,Agb,5,6,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Cgb=function(a){a&1&&(K(0),
H(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),I(),L());a&2&&(a=O().row,B(1),pf("title",T(2,2,a.changelist)),B(2),Mf(" ",T(4,4,a.changelist)," "))},Dgb=function(a){a&1&&(H(0,"td",68),P(1,Cgb,5,6,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Egb=function(a){a&1&&(K(0),H(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),I(),L());a&2&&(a=O().row,B(1),pf("title",T(2,2,a.postmortem)),B(2),Mf(" ",T(4,4,a.postmortem)," "))},Fgb=function(a){a&1&&(H(0,"td",68),P(1,Egb,5,6,"ng-container",
30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Ggb=function(a){a&1&&Df(0)},Hgb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},Jgb=function(a,b){a&1&&(K(0),P(1,Ggb,1,0,"ng-container",72),P(2,Hgb,2,0,"span",30),L());if(a&2){a=b.$implicit;b=b.last;O(4);var c=Lf(5);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(3,Igb,a));B(1);F("ngIf",!b)}},Kgb=function(a){a&1&&(K(0),P(1,Jgb,3,5,"ng-container",71),L());a&2&&(a=O().row,B(1),F("ngForOf",a.blockingIssueId))},Lgb=function(a){a&1&&(H(0,"td",68),P(1,Kgb,
2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Mgb=function(a){a&1&&Df(0)},Ngb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},Ogb=function(a,b){a&1&&(K(0),P(1,Mgb,1,0,"ng-container",72),P(2,Ngb,2,0,"span",30),L());if(a&2){a=b.$implicit;b=b.last;O(4);var c=Lf(5);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(3,Igb,a));B(1);F("ngIf",!b)}},Pgb=function(a){a&1&&(K(0),P(1,Ogb,3,5,"ng-container",71),L());a&2&&(a=O().row,B(1),F("ngForOf",a.blockedByIssueId))},Qgb=function(a){a&1&&(H(0,
"td",68),P(1,Pgb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Rgb=function(a){a&1&&Df(0)},Sgb=function(a){a&1&&(K(0),P(1,Rgb,1,0,"ng-container",72),L());if(a&2){a=O(2).row;O(2);var b=Lf(5);B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(2,Igb,a.duplicateOfIssueId))}},Tgb=function(a){a&1&&(K(0),P(1,Sgb,2,4,"ng-container",30),L());a&2&&(a=O().row,B(1),F("ngIf",a.duplicateOfIssueId))},Ugb=function(a){a&1&&(H(0,"td",68),P(1,Tgb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",
!0))},Vgb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",74),L());a&2&&(a=O().row,B(1),F("timestamp",a.createdTime))},Wgb=function(a){a&1&&(H(0,"td",73),P(1,Vgb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Xgb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",74),L());a&2&&(a=O().row,B(1),F("timestamp",a.modifiedTime))},Ygb=function(a){a&1&&(H(0,"td",73),P(1,Xgb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Zgb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",74),
L());a&2&&(a=O().row,B(1),F("timestamp",a.resolvedTime))},$gb=function(a){a&1&&(H(0,"td",73),P(1,Zgb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},ahb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",74),L());a&2&&(a=O().row,B(1),F("timestamp",a.verifiedTime))},bhb=function(a){a&1&&(H(0,"td",73),P(1,ahb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},chb=function(a){a&1&&(K(0),H(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),I(),L());a&2&&(a=O().row,B(1),pf("title",
T(2,2,a.foundInVersion)),B(2),Mf(" ",T(4,4,a.foundInVersion)," "))},dhb=function(a){a&1&&(H(0,"td",68),P(1,chb,5,6,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},ehb=function(a){a&1&&(K(0),H(1,"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),I(),L());a&2&&(a=O().row,B(1),pf("title",T(2,2,a.targetedToVersion)),B(2),Mf(" ",T(4,4,a.targetedToVersion)," "))},fhb=function(a){a&1&&(H(0,"td",68),P(1,ehb,5,6,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},ghb=function(a){a&1&&(K(0),H(1,
"span"),S(2,"arrayToHuman"),R(3),S(4,"arrayToHuman"),I(),L());a&2&&(a=O().row,B(1),pf("title",T(2,2,a.verifiedInVersion)),B(2),Mf(" ",T(4,4,a.verifiedInVersion)," "))},hhb=function(a){a&1&&(H(0,"td",68),P(1,ghb,5,6,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},ihb=function(a){a&1&&(K(0),R(1),S(2,"yesNo"),L());a&2&&(a=O().row,B(1),Mf(" ",T(2,1,a.inProd)," "))},jhb=function(a){a&1&&(H(0,"td",68),P(1,ihb,3,3,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},khb=function(a){a&1&&(K(0),R(1),
S(2,"yesNo"),L());a&2&&(a=O().row,B(1),Mf(" ",T(2,1,a.archived)," "))},lhb=function(a){a&1&&(H(0,"td",68),P(1,khb,3,3,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},mhb=function(a){a&1&&(K(0),H(1,"div",49)(2,"div",53)(3,"span"),R(4),I()()(),L());if(a&2){a=O().row;var b=O(2);B(3);pf("title",b.getComponentPath(a.componentPath));B(1);Nf(b.getComponentPath(a.componentPath))}},ohb=function(a){a&1&&(H(0,"td",75),P(1,mhb,5,2,"ng-container",30),I());if(a&2){a=O(2);var b;var c=!(null==(b=a.listViewPrefs)||
!b.rtlComponentPath);F("ngClass",Tf(2,nhb,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));B(1);F("ngIf",!0)}},phb=function(a){a&1&&(H(0,"slo-status-card",78),J(1,"b-aggregated-slo-status-indicator",79),I());a&2&&(a=O(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),B(1),F("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},qhb=function(a){a&1&&(K(0),P(1,phb,2,5,"slo-status-card",77),L());a&2&&(a=O().row,B(1),F("ngIf",a.sloStatus))},rhb=function(a){a&1&&(H(0,
"td",76),P(1,qhb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},shb=function(a){a&1&&(H(0,"slo-status-card",81),J(1,"b-slo-time-indicator",82),I());a&2&&(a=O(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),B(1),F("sloBounds",a.sloStatus.responseBounds))},thb=function(a){a&1&&(K(0),P(1,shb,2,5,"slo-status-card",80),L());a&2&&(a=O().row,B(1),F("ngIf",a.sloStatus))},uhb=function(a){a&1&&(H(0,"td",76),P(1,thb,2,1,"ng-container",
30),I());a&2&&(O(2),B(1),F("ngIf",!0))},vhb=function(a){a&1&&(H(0,"slo-status-card",81),J(1,"b-slo-time-indicator",82),I());a&2&&(a=O(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),B(1),F("sloBounds",a.sloStatus.assignmentBounds))},whb=function(a){a&1&&(K(0),P(1,vhb,2,5,"slo-status-card",80),L());a&2&&(a=O().row,B(1),F("ngIf",a.sloStatus))},xhb=function(a){a&1&&(H(0,"td",76),P(1,whb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",
!0))},yhb=function(a){a&1&&(H(0,"slo-status-card",81),J(1,"b-slo-time-indicator",82),I());a&2&&(a=O(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),B(1),F("sloBounds",a.sloStatus.closureBounds))},zhb=function(a){a&1&&(K(0),P(1,yhb,2,5,"slo-status-card",80),L());a&2&&(a=O().row,B(1),F("ngIf",a.sloStatus))},Ahb=function(a){a&1&&(H(0,"td",76),P(1,zhb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Bhb=function(a,b){a&1&&J(0,"b-formatted-date-time",
84);a&2&&(a=b.$implicit,O(4),F("timestamp",1E3*a.seconds))},Chb=function(a){a&1&&(K(0),P(1,Bhb,1,1,"b-formatted-date-time",83),L());a&2&&(a=O().row,B(1),F("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},Dhb=function(a){a&1&&(H(0,"td",68),P(1,Chb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Ehb=function(a){a&1&&J(0,"div",86)},Fhb=function(a){a&1&&(H(0,"div"),J(1,"b-team-display",87),I());a&2&&(a=O(2).row,B(1),F("teamId",a.teamId.toString())("componentId",
a.componentId.toString())("anchorLinkEnabled",!1))},Ghb=function(a){a&1&&(K(0),P(1,Ehb,1,0,"div",85),P(2,Fhb,2,3,"div",30),L());a&2&&(a=O(3),B(1),F("ngIf",a.isLoadingTeams),B(1),F("ngIf",!a.isLoadingTeams))},Hhb=function(a){a&1&&(H(0,"td",68),P(1,Ghb,3,2,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Ihb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().row,B(1),Mf(" ",null==a.effort?null:a.effort.estimate," "))},Jhb=function(a){a&1&&(H(0,"td",68),P(1,Ihb,2,1,"ng-container",30),I());a&2&&(O(2),
B(1),F("ngIf",!0))},Khb=function(a){a&1&&(K(0),R(1),L());if(a&2){a=O().row;var b=O(2);B(1);Mf(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalOpen)||"":""," ")}},Lhb=function(a){a&1&&(H(0,"td",68),P(1,Khb,2,1,"ng-container",30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Mhb=function(a){a&1&&(K(0),R(1),L());if(a&2){a=O().row;var b=O(2);B(1);Mf(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalComplete)||"":""," ")}},Nhb=function(a){a&1&&(H(0,"td",68),P(1,Mhb,2,1,"ng-container",
30),I());a&2&&(O(2),B(1),F("ngIf",!0))},Phb=function(a){if(a&1){var b=w();H(0,"pop-grid",8);M("columnsChange",function(c){x(b);var d=O();d.columns=c;d.columnsChange.emit(c);d.cdr.detectChanges();return z()})("focusedRowIndexChange",function(c){x(b);var d=O();d.focusedRowIndex=c;return z(d.focusedRowIndexChange.emit(d.focusedRowIndex))})("sortChange",function(c){x(b);var d=O();return z(d.sortChange.emit(c))})("rowClick",function(c){x(b);var d=O();d.isIssueSidebarEnabled?d.isIssueSidebarOpen=!0:d.rowClick.emit(c);
return z()});P(1,ufb,2,2,"th",9);P(2,wfb,2,2,"th",10);P(3,zfb,2,2,"th",11);P(4,Bfb,2,2,"th",12);P(5,Dfb,2,2,"th",12);P(6,Hfb,2,2,"th",13);P(7,Jfb,2,1,"td",14);P(8,Lfb,2,1,"td",15);P(9,Nfb,2,1,"td",16);P(10,Pfb,2,1,"td",17);P(11,Rfb,2,1,"td",18);P(12,Vfb,2,1,"td",19);P(13,$fb,2,3,"td",20);P(14,cgb,2,1,"td",21);P(15,egb,2,1,"td",22);P(16,lgb,2,1,"td",23);P(17,ngb,2,1,"td",24);P(18,rgb,2,1,"td",25);P(19,vgb,2,1,"td",25);P(20,zgb,2,1,"td",25);P(21,Bgb,2,1,"td",25);P(22,Dgb,2,1,"td",25);P(23,Fgb,2,1,"td",
25);P(24,Lgb,2,1,"td",25);P(25,Qgb,2,1,"td",25);P(26,Ugb,2,1,"td",25);P(27,Wgb,2,1,"td",26);P(28,Ygb,2,1,"td",26);P(29,$gb,2,1,"td",26);P(30,bhb,2,1,"td",26);P(31,dhb,2,1,"td",25);P(32,fhb,2,1,"td",25);P(33,hhb,2,1,"td",25);P(34,jhb,2,1,"td",25);P(35,lhb,2,1,"td",25);P(36,ohb,2,5,"td",27);P(37,rhb,2,1,"td",28);P(38,uhb,2,1,"td",28);P(39,xhb,2,1,"td",28);P(40,Ahb,2,1,"td",28);P(41,Dhb,2,1,"td",25);P(42,Hhb,2,1,"td",25);P(43,Jhb,2,1,"td",25);P(44,Lhb,2,1,"td",25);P(45,Nhb,2,1,"td",25);I()}a&2&&(a=O(),
F("list",(null==a.searchResults?null:a.searchResults.issues)||Rf(50,Ohb))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("scrollContainer",".bv2-view")("sort",a.sort)("rowLabelRenderer",a.issueDescription),B(1),F("forHeaderCell","focused"),B(1),F("forHeaderCell","draghandle"),B(1),F("forHeaderCell","selected"),B(1),F("forHeaderCell","starred"),B(1),F("forHeaderCell","position"),B(2),F("forViewCell","focused"),B(1),F("forViewCell","draghandle"),B(1),F("forViewCell","selected"),B(1),F("forViewCell",
"starred"),B(1),F("forViewCell","position"),B(1),F("forViewCell","issueId"),B(1),F("forViewCell","title"),B(1),F("forViewCell","priority"),B(1),F("forViewCell","severity"),B(1),F("forViewCell","status"),B(1),F("forViewCell","type"),B(1),F("forViewCell","reporter"),B(1),F("forViewCell","assignee"),B(1),F("forViewCell","verifier"),B(1),F("forViewCell","cc"),B(1),F("forViewCell","changelist"),B(1),F("forViewCell","postmortem"),B(1),F("forViewCell","blockingIssueId"),B(1),F("forViewCell","blockedByIssueId"),
B(1),F("forViewCell","duplicateOfIssueId"),B(1),F("forViewCell","createdTime"),B(1),F("forViewCell","modifiedTime"),B(1),F("forViewCell","resolvedTime"),B(1),F("forViewCell","verifiedTime"),B(1),F("forViewCell","foundInVersion"),B(1),F("forViewCell","targetedToVersion"),B(1),F("forViewCell","verifiedInVersion"),B(1),F("forViewCell","inProd"),B(1),F("forViewCell","archived"),B(1),F("forViewCell","componentPath"),B(1),F("forViewCell","minSlo"),B(1),F("forViewCell","responseSlo"),B(1),F("forViewCell",
"assignmentSlo"),B(1),F("forViewCell","closureSlo"),B(1),F("forViewCell","deletionTime"),B(1),F("forViewCell","team"),B(1),F("forViewCell","estimate"),B(1),F("forViewCell","estimateTotalOpen"),B(1),F("forViewCell","estimateTotalComplete"))},Qhb=function(a){a&1&&J(0,"b-issue-card",91,92);if(a&2){var b=Lf(1);a=O().id;F("onedevIsHovercardReady",b.init)("issueId",a)}},Rhb=function(a,b){a&1&&(H(0,"onedev-hovercard",null,88),P(2,Qhb,2,2,"b-issue-card",89),I(),H(3,"span",90),R(4),I());if(a&2){a=b.id;var c=
Lf(1);B(3);F("onedevHovercardTrigger",c);B(1);Nf(a)}},Shb=function(a){if(a&1){var b=w();H(0,"b-app-bar-bulk-edit-menus",10);M("onBulkEdit",function(d){x(b);var e=O();return z(e.bulkEdit(d))})("onQuickBulkEdit",function(d){x(b);var e=O();return z(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){x(b);var e=O();return z(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){x(b);var d=O();return z(d.bulkMarkIssueRead())});S(1,"async");I()}if(a&2){a=O();var c;F("enableBulkEstimatedEffortOption",
null!==(c=T(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)("readStatePrompt",o$a(a))}},Thb=function(a){if(a&1){var b=w();H(0,"b-copy-issue-id-button",11);M("onClickCopyIssueIds",function(){x(b);var c=O();return z(q$a(c.copyIssueIdService,mq(c)))})("onClickCopyIssueShortLinks",function(){x(b);var c=O();return z(r$a(c.copyIssueIdService,mq(c)))})("onClickCopyAsIssueSearch",function(){x(b);var c=O();return z(s$a(c.copyIssueIdService,mq(c)))});I()}a&2&&(a=O(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",
a.activeSession.isInternalSession()))},Uhb=function(a){if(a&1){var b=w();H(0,"div",12)(1,"b-hotlist-picker",13);M("onApply",function(c){x(b);var d=O();return z(d.handleHotlistPickerSave(c))})("onCreate",function(c){x(b);var d=O();return z(d.onCreateHotlist.emit(c))})("onLoad",function(c){x(b);var d=O();return z(d.onLoadHotlist.emit(c))});I()()}a&2&&(a=O(),B(1),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},Vhb=function(a){if(a&1){var b=w();H(0,"hotlist-add-issue-btn",16);
M("issueAddedToHotlist",function(){x(b);var c=O(2);return z(c.refresh())});I()}a&2&&(a=O(2),F("hotlistId",a.currentHotlistId))},Whb=function(a){a&1&&J(0,"hotlist-archive-btn",17);a&2&&(a=O(2),F("hotlistId",a.currentHotlistId))},Xhb=function(a){a&1&&(K(0),P(1,Vhb,1,1,"hotlist-add-issue-btn",14),P(2,Whb,1,1,"hotlist-archive-btn",15),L());a&2&&(a=O(),B(1),F("ngIf",a.enableBulkEditUi),B(1),F("ngIf",a.isHotlistAdmin))},Yhb=function(a){a&1&&(H(0,"span",21),R(1,"Reporting"),I())},Zhb=function(a){if(a&1){var b=
w();H(0,"b-button",18);M("onAction",function(){x(b);var c=O();return z(c.openInEstado())});J(1,"b-icon",19);P(2,Yhb,2,0,"span",20);I()}a&2&&(a=O(),F("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),B(2),F("ngIf",!a.hasSelectedIssues()))},$hb=function(a){if(a&1){var b=w();H(0,"b-comment-box",28);M("commentChange",function(c){x(b);var d=O(2);return z(d.comment=c)})("onSubmit",function(){x(b);var c=O(2);return z(v$a(c))});I()}a&2&&(a=O(2),F("comment",a.comment)("showToolbar",
!1))},aib=function(a,b){a&1&&(H(0,"li"),R(1),J(2,"b-access-level-indicator",31),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.path," "),B(1),F("accessLevel",a.accessLevel))},bib=function(a){a&1&&(H(0,"div",29)(1,"div")(2,"strong"),R(3,"You are commenting on issues in components that have external viewers:"),I()(),H(4,"ul"),P(5,aib,3,2,"li",30),I()());a&2&&(a=O(2),B(5),F("ngForOf",a.externalWarnings))},cib=function(a){if(a&1){var b=w();H(0,"div",32)(1,"b-recaptcha",33);M("onUpdate",function(c){x(b);var d=
O(2);return z(d.recaptchaResponse=c)});I()()}},dib=function(a){a&1&&(H(0,"h1",22),R(1,"Add comment"),I(),H(2,"mat-dialog-content"),P(3,$hb,1,2,"b-comment-box",23),P(4,bib,6,1,"div",24),I(),P(5,cib,2,0,"div",25),H(6,"mat-dialog-actions")(7,"button",26),R(8," Cancel "),I(),H(9,"button",27),R(10," Save "),I()());a&2&&(a=O(),B(3),F("ngIf",a.comment),B(1),F("ngIf",0<a.externalWarnings.length),B(1),F("ngIf",a.enableRecaptcha),B(2),F("mat-dialog-close",!1),B(2),F("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",
!0))},eib=function(a){if(a&1){var b=w();H(0,"div",7)(1,"button",8);M("click",function(){x(b);var c=O();return z(c.onPressSave())});R(2," Save ");I();H(3,"button",9);M("click",function(){x(b);var c=O();return z(c.onPressRevert())});R(4," Revert changes ");I()()}a&2&&(a=O(),B(1),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),B(2),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",
a.hasNoChanges()?"No changes":"Go back to the last saved state"))},fib=function(a){if(a&1){var b=w();H(0,"div",7)(1,"button",8);M("click",function(){x(b);var d=O();return z(d.save())});R(2," Save ");I();H(3,"button",9);M("click",function(){x(b);var d=O();return z(d.revert())});R(4," Revert changes ");I();J(5,"hotlist-archive-btn",10);S(6,"async");I()}if(a&2){a=O();var c;B(1);F("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");B(2);F("disabled",
a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");B(2);F("hotlistId",null!==(c=T(6,5,a.id$))&&void 0!==c?c:void 0)}},gib=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.$implicit,B(1),Mf(" ",a.name," "))},hib=function(a){a&1&&(H(0,"strong",4),R(1,"(archived)"),I())},iib=function(a){a&1&&J(0,"b-spinner")},jib=function(a){a&1&&(J(0,"hotlist-add-issue-btn",5),S(1,"async"));if(a&2){a=O();var b;F("hotlistId",null!==(b=T(1,1,a.id$))&&void 0!==
b?b:void 0)}},kib=function(a){a&1&&(H(0,"p",8),R(1," This hotlist cannot be edited because you are not an administrator of it. "),I())},lib=function(a){a&1&&(K(0),J(1,"b-edit-hotlist-toolbar",1),H(2,"div",2),J(3,"b-edit-hotlist-header",1),H(4,"mat-tab-group",3)(5,"mat-tab",4),J(6,"b-edit-hotlist-basic",5),S(7,"async"),I(),H(8,"mat-tab",6),J(9,"b-edit-hotlist-acl",5),S(10,"async"),I()(),P(11,kib,2,0,"p",7),S(12,"async"),I(),L());a&2&&(a=O(),B(1),F("hotlistId",a.id),B(2),F("hotlistId",a.id),B(1),F("selectedIndex",
a.tabIndex),B(2),F("hotlistId",a.id)("isReadOnly",!1===T(7,8,a.isAdmin$)),B(3),F("hotlistId",a.id)("isReadOnly",!1===T(10,10,a.isAdmin$)),B(2),F("ngIf",!1===T(12,12,a.isAdmin$)))},mib=function(a,b){a&1&&(K(0),J(1,"empty-toolbar"),H(2,"div",9)(3,"h2"),R(4,"Error"),I(),H(5,"p"),R(6),I()(),L());a&2&&(a=b.$implicit,B(6),Nf(a))},nib=function(a){a&1&&(H(0,"b-callout",1)(1,"b-callout-body"),R(2),I()());a&2&&(a=O(),B(2),Nf(a.error))},oib=function(a){a&1&&Df(0)},pib=function(a){a&1&&(H(0,"span"),R(1,"Details"),
I())},qib=function(a){a&1&&(H(0,"span"),R(1,"Members"),I())},sib=function(a){a&1&&(H(0,"div",13)(1,"a",14),P(2,pib,2,0,"span",15),P(3,qib,2,0,"span",15),I()());if(a&2){a=O(2);B(1);if(void 0===a.email)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=rib(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":Xua(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}F("href",b,Sd);B(1);F("ngIf",rib(a.email));
B(1);F("ngIf",!rib(a.email))}},tib=function(a){a&1&&(K(0),H(1,"span",2),P(2,oib,1,0,"ng-container",3),I(),H(3,"onedev-hovercard",null,4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),R(11),I()(),H(12,"div",10),J(13,"mat-icon",11),H(14,"span"),R(15),I()()(),P(16,sib,4,3,"div",12),I()()()(),L());if(a&2){var b=Lf(4);a=O();var c=Lf(2);B(1);F("onedevHovercardTrigger",b);B(1);F("ngTemplateOutlet",c);B(9);Nf(a.getName());B(4);Nf(a.email);B(1);F("ngIf",a.shouldShowLinks())}},uib=function(a){a&
1&&Hf(0)},vib=function(a,b){a&1&&J(0,"mat-icon",8);a&2&&F("svgIcon",b.ngIf)},wib=function(a){a&1&&(H(0,"b-person-hovercard",9),R(1),I());a&2&&(a=O(),F("email",a.value),B(1),Mf(" ",a.displayText," "))},xib=function(a){a&1&&(H(0,"b-group-email-card",9),R(1),I());a&2&&(a=O(),F("email",a.value),B(1),Mf(" ",a.displayText," "))},yib=function(a){a&1&&(H(0,"div"),R(1),I());a&2&&(a=O(),B(1),Mf(" ",a.displayText," "))},zib=function(a){if(a&1){var b=w();H(0,"div",10);M("click",function(){x(b);var c=O();return z(c.chipRemove.emit())})("keydown.enter",
function(){x(b);var c=O();return z(c.chipRemove.emit())});J(1,"mat-icon",11);I()}a&2&&(a=O(),If("matTooltip","'Remove ",a.displayText,"'"),pf("aria-label","Remove "+a.displayText))},Aib=function(a,b){a&1&&(H(0,"div",19),J(1,"b-contact-chip",20),I());a&2&&(a=b.$implicit,b=O(2),B(1),F("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},Bib=function(a){a&1&&(H(0,"div",12)(1,"div",13)(2,"div",14),P(3,Aib,
2,5,"div",15),H(4,"div",16),J(5,"div",17)(6,"div",18),I()()()());a&2&&(a=O(),B(3),F("ngForOf",a.nestedChips))},Cib=function(a){a&1&&(K(0),R(1,", "),L())},Dib=function(a,b){a&1&&(K(0),R(1),P(2,Cib,2,0,"ng-container",14),L());if(a&2){a=b.$implicit;b=b.last;var c=O(2);B(1);Mf(" ",c.convertUserToString(a)," ");B(1);F("ngIf",!b)}},Eib=function(a,b){if(a&1){var c=w();H(0,"tr",7);M("click",function(){var e=x(c).$implicit,g=O();return z(g.editHotlist(e))})("focus",function(){var e=x(c).index,g=O();return z(g.setFocusOnIndex(e))});
J(1,"td",2);H(2,"td",8)(3,"a",9);M("click",function(e){return e.stopPropagation()});R(4);I()();H(5,"td",10);R(6);I();H(7,"td",11);P(8,Dib,3,2,"ng-container",12);I();H(9,"td",13);R(10);I()()}if(a&2){a=b.$implicit;b=b.index;var d=O();yf("grid-focus",d.isFocused(b));pf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));B(3);F("href",d.paths.editHotlist(a.hotlistId),Sd);B(1);Mf(" ",a.name," ");B(2);Mf(" ",a.description," ");B(2);F("ngForOf",a.adminUsers);B(2);Mf(" ",a.hotlistId," ")}},
Fib=function(a){if(a&1){var b=w();H(0,"button",9);M("click",function(){x(b);var c=O(2);return z(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});R(1," Move to top ");I()}},Gib=function(a){if(a&1){var b=w();H(0,"button",10);M("click",function(){x(b);var c=O(2);return z(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});R(1," Move up ");I()}},Hib=function(a){if(a&1){var b=w();H(0,"button",11);M("click",function(){x(b);var c=O(2);return z(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});
R(1," Move down ");I()}},Iib=function(a){if(a&1){var b=w();H(0,"button",12);M("click",function(){x(b);var c=O(2);return z(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});R(1," Move to bottom ");I()}},Jib=function(a){if(a&1){var b=w();P(0,Fib,2,0,"button",4);P(1,Gib,2,0,"button",5);P(2,Hib,2,0,"button",6);P(3,Iib,2,0,"button",7);H(4,"button",8);M("click",function(){x(b);var c=O();return z(c.removePanel())});R(5," Remove ");I()}a&2&&(a=O(),F("ngIf",!a.first),B(1),F("ngIf",!a.first),B(1),
F("ngIf",!a.last),B(1),F("ngIf",!a.last))},Kib=function(a){a&1&&(pd(),qd(),K(0),R(1,"Insights"),L())},Lib=function(a){if(a&1){var b=w();H(0,"b-insights-graph-menu",2);M("openSidebar",function(d){x(b);var e=O(2);return z(e.openSidebar(d.panel))});I()}if(a&2){a=O().ngIf;var c=O();F("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},Mib=function(a){a&1&&(K(0),P(1,Lib,1,3,"b-insights-graph-menu",1),S(2,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,1,a.shouldShowInsightsGraphMenu$)))},
Nib=function(a){a&1&&J(0,"edit-issue-metadata",5);a&2&&(a=O(),F("issueId",a.issueId))},Oib=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O(),pf("title",a.getValue()),B(1),Mf(" ",a.getValue(),"\n"))},Pib=function(a){a&1&&J(0,"b-custom-field-value-display",2);a&2&&(a=O(),F("customFieldValue",a.getCustomFieldValue()))},Qib=function(a){a&1&&J(0,"b-actions-menu",7);a&2&&(a=O(),F("menuItems",a.menuItems))},Rib=function(a){a&1&&(H(0,"span",8)(1,"strong"),R(2),I(),R(3,"\u00a0of\u00a0"),H(4,"strong"),R(5),
I()());a&2&&(a=O(),B(2),Of("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),B(3),Nf(a.searchResults.totalText))},Sib=function(a){a&1&&(H(0,"div"),R(1," Hotlist not found. "),I())},Tib=function(a){a&1&&(H(0,"div"),R(1," Loading details... "),I())},Uib=function(a){a&1&&J(0,"b-panel-controls",11);a&2&&(a=O(2),F("panelId",a.panel.panelId))},Vib=function(a){a&1&&(H(0,"span",12),R(1," \u00a0(changed) "),I())},Wib=function(a){a&1&&(H(0,"div"),P(1,Uib,1,1,"b-panel-controls",6),H(2,
"span",7),R(3," Hotlist: "),H(4,"a",8)(5,"span",9),R(6),I()()(),P(7,Vib,2,0,"span",10),I());a&2&&(a=O(),B(1),F("ngIf",a.isDashboardEditable),B(3),F("href",a.paths.viewHotlist(a.hotlistId),Sd),B(1),Jf("matTooltip",a.resource.description),B(1),Nf(a.resource.name),B(1),F("ngIf",a.hasParamChanges()))},Xib=function(a){if(a&1){var b=w();H(0,"div",13)(1,"button",14);M("click",function(){x(b);var c=O();return z(c.save())});R(2,"Save ");I();H(3,"button",15);M("click",function(){x(b);var c=O();return z(c.discardChanges())});
R(4," Discard changes ");I()()}},Yib=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O(3),B(1),Mf(" Searching for ",a.searchParams.query," ..."))},Zib=function(a){a&1&&(H(0,"div",19),J(1,"b-spinner",20),P(2,Yib,2,1,"span",3),I());a&2&&(a=O(2),B(1),F("large",!1),B(1),F("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},$ib=function(a){a&1&&(H(0,"div",21),R(1," No issues in hotlist. "),I())},bjb=function(a){if(a&1){var b=w();H(0,"div",22)(1,"b-issues-grid",23);M("init",function(c){x(b);
var d=O(2);return z(ajb(d,c))})("focusedRowIndexChange",function(c){x(b);var d=O(2);return z(d.focusedRowIndex=c)})("columnsChange",function(c){x(b);var d=O(2);return z(d.issueColumns=c)})("sortChange",function(c){x(b);var d=O(2);return z(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){x(b);var d=O(2);return z(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){x(b);var d=O(2);return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=O(2);return z(c.goToPage(c.page+
1))})("onPrevPage",function(){x(b);var c=O(2);return z(c.goToPage(c.page-1))});I()()}a&2&&(a=O(2),B(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},cjb=function(a){a&1&&(H(0,"div"),P(1,Zib,3,2,"div",16),P(2,$ib,2,0,"div",17),P(3,bjb,2,5,"div",18),I());a&2&&(a=O(),B(1),F("ngIf",a.isLoading),B(1),F("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),
B(1),F("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},djb=function(a){a&1&&(H(0,"div"),R(1," Saved search not found. "),I())},ejb=function(a){a&1&&(H(0,"div"),R(1," Loading details... "),I())},fjb=function(a){a&1&&J(0,"b-panel-controls",11);a&2&&(a=O(2),F("panelId",a.panel.panelId))},gjb=function(a){a&1&&(H(0,"span",12),R(1," \u00a0(changed) "),I())},hjb=function(a){a&1&&(H(0,"div",6),P(1,fjb,1,1,"b-panel-controls",7),H(2,"span",
6),R(3," Saved search: "),H(4,"a",8)(5,"span",9),R(6),I()()(),P(7,gjb,2,0,"span",10),I());a&2&&(a=O(),B(1),F("ngIf",a.isDashboardEditable),B(3),F("href",a.paths.viewSavedSearch(a.savedSearchId),Sd),B(1),Jf("matTooltip",a.resource.description),B(1),Nf(a.resource.name),B(1),F("ngIf",a.hasParamChanges()))},ijb=function(a,b){a&1&&(H(0,"span"),R(1),I());a&2&&(a=b.ngIf,B(1),Mf("Searching for ",a,"..."))},jjb=function(a){a&1&&(H(0,"div",16),J(1,"b-spinner",17),P(2,ijb,2,1,"span",3),I());a&2&&(a=O(2),B(1),
F("large",!1),B(1),F("ngIf",null==a.searchParams?null:a.searchParams.query))},kjb=function(a){a&1&&(H(0,"div",18),R(1," No issues in saved search. "),I())},ljb=function(a){if(a&1){var b=w();H(0,"div",19)(1,"b-issues-grid",20);M("init",function(c){x(b);var d=O(2);return z(ajb(d,c))})("focusedRowIndexChange",function(c){x(b);var d=O(2);return z(d.focusedRowIndex=c)})("columnsChange",function(c){x(b);var d=O(2);return z(d.columnsChange(c))})("sortChange",function(c){x(b);var d=O(2);return z(d.setSort(c.field,
c.direction))})("rowClick",function(c){x(b);var d=O(2);return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=O(2);return z(c.goToPage(c.page+1))})("onPrevPage",function(){x(b);var c=O(2);return z(c.goToPage(c.page-1))});I()()}a&2&&(a=O(2),B(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},mjb=function(a){a&1&&(H(0,"div"),P(1,jjb,3,2,"div",13),P(2,kjb,2,
0,"div",14),P(3,ljb,2,5,"div",15),I());a&2&&(a=O(),B(1),F("ngIf",a.isLoading),B(1),F("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),B(1),F("ngIf",!a.isLoading&&a.searchResults&&0!==a.searchResults.issues.length))},njb=function(a,b){a&1&&(H(0,"span",3)(1,"a",4),R(2),I()());a&2&&(a=b.$implicit,B(1),If("routerLink","/teams/",a.id,"/edit"),F("preserveFragment",!0),B(1),Nf(a.name))},ojb=function(a){a&1&&(H(0,"p")(1,"span",6),R(2,"NOTE:"),I(),R(3),H(4,"a",7),R(5,"Learn more"),
I()());a&2&&(a=O(),B(3),Mf(" ",a.data.noteText," "),B(1),F("href",a.getDisablingFieldsHelpLink(),Sd))},pjb=function(a){a&1&&(K(0),J(1,"span",26)(2,"b-icon",27),L());a&2&&(a=O(),B(1),F("innerHTML",a.menuLabel,Qd))},qjb=function(a){a&1&&(H(0,"div",28),R(1," This includes emails about major updates and: "),H(2,"ul",29)(3,"li"),R(4,"All title, hotlist, and status changes."),I(),H(5,"li"),R(6,"Blocking, Blocked By, or Duplicate changes."),I(),H(7,"li"),R(8,"Changes to Reporter, Verifier, and CCs."),I(),
H(9,"li"),R(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),I(),H(11,"li"),R(12,"Changes to custom fields marked as minor."),I()()())},rjb=function(a){a&1&&(H(0,"div",30),R(1," This includes emails about: "),H(2,"ul",29)(3,"li"),R(4,"New comments."),I(),H(5,"li"),R(6,"Priority or Severity changes."),I(),H(7,"li"),R(8,"Assignee changes."),I(),H(9,"li"),R(10,"Component changes."),I(),H(11,"li"),R(12,"Issue closure or reopening."),I(),H(13,"li"),R(14,"Changes to custom fields marked as major."),
I()()())},sjb=function(a,b){a&1&&(H(0,"mat-option",6),R(1),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",a.name," "))},tjb=function(a){a&1&&(H(0,"span",11),R(1," (must be between 30 days and 10 years) "),I())},vjb=function(a){if(a&1){var b=w();H(0,"div",12)(1,"b-duration-picker",13);M("durationDaysChange",function(c){x(b);var d=O();d.model.retentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);vq(d);return z()});I();H(2,"div",14);R(3);I()()}a&2&&(a=O(),B(1),F("disabled",a.issueRetentionDisabled)("durationDays",
a.model.retentionPeriodDays),B(2),Mf(" Issues will be marked for deletion when they have not been modified for ",ujb(a.model.retentionPeriodDays),". "))},wjb=function(a){a&1&&(H(0,"div",15)(1,"p"),R(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),H(3,"b"),R(4,"one or more"),I(),R(5," of the following is true:"),I(),H(6,"ol")(7,"li"),R(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),
I(),H(9,"li"),R(10,"You have a process in place to manually delete this data within an approved period of time."),I(),H(11,"li"),R(12,"Legal and Privacy have approved this non-standard retention period."),I()()())},xjb=function(a){a&1&&(H(0,"span",11),R(1," (Issue Retention is shorter than default Restricted Retention) "),I())},zjb=function(a){a&1&&(H(0,"span",11),R(1),I());a&2&&(a=O(),B(1),Mf(" ",yjb(a)," "))},Ajb=function(a){a&1&&(H(0,"div",21)(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."),
I()())},Cjb=function(a){if(a&1){var b=w();H(0,"div",12)(1,"div")(2,"span",16);R(3,"Restricted retention:");I();H(4,"b-duration-picker",17);M("durationDaysChange",function(c){x(b);var d=O();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);vq(d);return z()});I()();H(5,"div",18)(6,"p");R(7);I()();H(8,"div")(9,"span",16);R(10,"Restricted+ retention:");I();H(11,"b-duration-picker",19);M("durationDaysChange",function(c){x(b);var d=O();d.model.spiiRetentionPeriodDays=
null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);vq(d);return z()});I()();H(12,"div",18)(13,"p");R(14);I()();P(15,Ajb,3,0,"div",20);I()}a&2&&(a=O(),B(4),F("disabled",!wq(a))("durationDays",a.model.piiRetentionPeriodDays),B(3),Mf(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",ujb(a.model.piiRetentionPeriodDays),". "),B(4),F("disabled",!wq(a))("durationDays",a.model.spiiRetentionPeriodDays),B(3),Mf(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
ujb(a.model.spiiRetentionPeriodDays),". "),B(1),F("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&Bjb(a)))},Djb=function(a){a&1&&(H(0,"div",22)(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."),I()())},xq=function(a,b,
c,d){var e=a.slice(0,b);e=(e=Ejb(e,c))&&e.index||0;var g=a.slice(b);c=(new RegExp(d||c,"gi")).exec(g);return{val:a.slice(e,(c?c.index:g.length)+b),idx:e}},Ejb=function(a,b){b=new RegExp(b,"gi");for(var c,d=null;null!=(c=b.exec(a));)d=c,d.index=b.lastIndex;return d},yq=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},Fjb=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:{negated:!1,token:a}},zq=function(a,b,c,d){c=void 0===c?!1:c;d=void 0===d?!1:d;
var e=b.val.toLowerCase();a=a.filter(function(r){r=r.name.toLowerCase();return r!==e||d?c?fi(r,e):ha(r,e):!1});b=b.idx;for(var g=b+e.length,h=k(a),m=h.next();!m.done;m=h.next())m=m.value.completionCfg,m.startIdx=b,m.endIdx=g,m.matchingString=e;return a},Aq=function(a,b,c,d){return{trackId:b+":"+a,name:a,id:a,label:c,completionCfg:{enableShadowPlaceholder:!0,completionValue:a,type:d}}},Ijb=function(a,b){if(a&1){var c=w();H(0,"div",9)(1,"div",10);M("click",function(d){var e=x(c).$implicit,g=O();e=e.key;
if(d=void 0===d?null:d)d.preventDefault(),d.stopPropagation();d=g.options.propertyValues[e];d.value=!d.value;Gjb(g);Hjb(g);g.optionsChange.emit(g.options);return z()});H(2,"mat-checkbox",11);M("change",function(d){var e=x(c).$implicit,g=O();e.value.value=d.checked;Gjb(g);Hjb(g);g.optionsChange.emit(g.options);return z()})("click",function(d){return d.stopPropagation()});R(3);I()()()}a&2&&(a=b.$implicit,pf("aria-checked",a.value.value),B(2),F("checked",a.value.value),B(1),Mf(" ",a.value.displayString,
" "))},Jjb=function(a){a&1&&(H(0,"div",12),R(1),I());a&2&&(a=O(),B(1),Mf(" ",a.errorString," "))},Ljb=function(a){if(a&1){var b=w();H(0,"span",4)(1,"input",5);M("ngModelChange",function(c){x(b);var d=O(2);return z(d.businessDayString=c)})("ngModelChange",function(){x(b);var c=O(2);return z(Kjb(c))});I();H(2,"span",8);R(3,"days,");I()()}a&2&&(a=O(2),B(1),yf("ng-invalid",!!a.errorString),F("ngModel",a.businessDayString))},Njb=function(a,b){a&1&&(H(0,"mat-option",9),R(1),I());a&2&&(a=b.$implicit,b=O(2),
F("value",a),B(1),Mf(" ",Mjb(b,a)," "))},Sjb=function(a){if(a&1){var b=w();H(0,"span",2);P(1,Ljb,4,3,"span",3);H(2,"span",4)(3,"input",5);M("ngModelChange",function(c){x(b);var d=O();return z(d.intervalString=c)})("ngModelChange",function(){x(b);var c=O();return z(Kjb(c))});I();H(4,"mat-select",6);M("ngModelChange",function(c){x(b);var d=O();return z(d.intervalUnit=c)})("selectionChange",function(){x(b);var c=O();Ojb(c);Pjb(c);return z()});P(5,Njb,2,2,"mat-option",7);I()()()}a&2&&(a=O(),B(1),F("ngIf",
Qjb(a)),B(2),yf("invalid",!!a.errorString),F("ngModel",a.intervalString),B(1),F("ngModel",a.intervalUnit),B(1),F("ngForOf",Qjb(a)?[Bq,Cq]:[Bq,Cq,Rjb]))},Tjb=function(a){a&1&&(H(0,"span",13),R(1),I());a&2&&(a=O(2),B(1),Of(" ",a.objectiveBusinessDays," day",1!=a.objectiveBusinessDays?"s":""," "))},Ujb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},Vjb=function(a){a&1&&(H(0,"span"),P(1,Ujb,2,0,"span",12),H(2,"span"),R(3),I()());a&2&&(a=O(2),B(1),F("ngIf",a.objectiveBusinessDays),B(2),Of("",a.intervalString,
" ",Mjb(a,a.intervalUnit),""))},Wjb=function(a){a&1&&(H(0,"span",10),P(1,Tjb,2,2,"span",11),P(2,Vjb,4,3,"span",12),I());a&2&&(a=O(),B(1),F("ngIf",a.objectiveBusinessDays),B(1),F("ngIf",a.intervalString&&"0"!=a.intervalString))},Yjb=function(a){if(a&1){var b=w();H(0,"b-icon",22);M("click",function(){x(b);var c=O(2);return z(Xjb(c,0))});I()}a&2&&F("name","add")("size","small")},$jb=function(a){if(a&1){var b=w();H(0,"span",17)(1,"span",18)(2,"span",19);P(3,Yjb,1,2,"b-icon",20);I();H(4,"span",19)(5,"b-icon",
21);M("click",function(c){x(b);var d=O();return z(Zjb(d,c))});I()()()()}a&2&&(a=O(),B(3),F("ngIf",a.canPerformActions),B(2),F("name","delete")("size","small"))},akb=function(a){a&1&&J(0,"td",42)},bkb=function(a){if(a&1){var b=w();H(0,"td",43)(1,"slo-element-property-picker",44);M("optionsChange",function(c){x(b);var d=O().$implicit;return z(d.typePickerValues=c)});I()()}a&2&&(a=O().$implicit,B(1),F("selectAllText","Any type")("validator",a.validateTypePicker)("options",a.typePickerValues))},ckb=function(a){if(a&
1){var b=w();H(0,"td",45)(1,"slo-element-property-picker",46);M("optionsChange",function(c){x(b);var d=O().$implicit;return z(d.priorityPickerValues=c)});I()()}a&2&&(a=O().$implicit,B(1),F("selectAllText","Any priority")("validator",a.validatePriorityPicker)("options",a.priorityPickerValues))},dkb=function(a){if(a&1){var b=w();H(0,"td",47)(1,"slo-element-property-picker",48);M("optionsChange",function(d){x(b);var e=O().$implicit;return z(e.postmortemPickerValues=d)});I()()}if(a&2){a=O().$implicit;
var c=O(2);B(1);F("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker)("options",a.postmortemPickerValues)}},fkb=function(a,b){a&1&&(H(0,"mat-option",53),R(1),I());a&2&&(a=b.$implicit,O(4),F("value",a),B(1),Mf(" ",ekb(a)," "))},gkb=function(a){if(a&1){var b=w();H(0,"td",49)(1,"mat-form-field",50)(2,"mat-select",51);M("ngModelChange",function(d){x(b);var e=O().$implicit;return z(e.selectedMetric=d)});P(3,fkb,2,2,"mat-option",52);I()()()}if(a&2){a=O().$implicit;var c=
O(2);B(2);F("ngModel",a.selectedMetric)("customValidators",a.metricValidators);B(1);F("ngForOf",c.metricChoices)}},hkb=function(a){if(a&1){var b=w();H(0,"td",54)(1,"slo-objective-selector",55);M("objectiveDurationChange",function(c){x(b);var d=O().$implicit;return z(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){x(b);var d=O().$implicit;return z(d.selectedObjectiveBusinessDays=c)});I()()}a&2&&(a=O().$implicit,B(1),F("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",
a.selectedObjectiveBusinessDays)("validator",a.validateObjective)("isDisabled",!1))},jkb=function(a,b){a&1&&(H(0,"mat-option",53),R(1),I());a&2&&(a=b.$implicit,O(4),F("value",a),B(1),Mf(" ",ikb.get(a||"CALENDAR")," "))},kkb=function(a){if(a&1){var b=w();H(0,"td",56)(1,"mat-form-field",57)(2,"mat-select",58);M("ngModelChange",function(d){x(b);var e=O().$implicit;return z(e.selectedDayType=d)})("selectionChange",function(){x(b);var d=O().$implicit;"BUSINESS"===d.selectedDayType?0===d.selectedObjectiveDuration.seconds%
86400&&(d.selectedObjectiveBusinessDays=d.selectedObjectiveDuration.seconds/86400,d.selectedObjectiveDuration.seconds=0):(0===d.selectedObjectiveDuration.seconds&&(d.selectedObjectiveDuration.seconds=86400*d.selectedObjectiveBusinessDays),d.selectedObjectiveBusinessDays=0);return z()});P(3,jkb,2,2,"mat-option",52);I()()()}if(a&2){a=O().$implicit;var c=O(2);B(2);F("ngModel",a.selectedDayType);B(1);F("ngForOf",c.dayTypes)}},okb=function(a){if(a&1){var b=w();H(0,"td",59)(1,"span",18)(2,"span",19)(3,
"b-icon",60);M("click",function(){x(b);var c=O(3);if(c.openRow)if(c.openRow.isValid())lkb(c.openRow.typePickerValues)&&lkb(c.openRow.priorityPickerValues)&&lkb(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:Ng("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}):mkb(c);else{var d=
c.openRow;("BUSINESS"!==d.selectedDayType?0<d.selectedObjectiveDuration.seconds:0<d.selectedObjectiveDuration.seconds||0<d.selectedObjectiveBusinessDays)||c.confirmationDialogService.open({title:"SLO validation error",content:Ng('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 z()});I()();H(4,
"span",19)(5,"b-icon",61);M("click",function(){x(b);var c=O().$implicit,d=O(2);return z(nkb(d,c))});I()()()()}a&2&&(B(3),F("name","done")("size","small"),B(2),F("name","delete")("size","small"))},pkb=function(a){a&1&&J(0,"td",62)},qkb=function(a){a&1&&(H(0,"div"),R(1),I());a&2&&(a=O(2).$implicit,B(1),Mf("ERROR: ",a.parseResult.error,""))},rkb=function(a,b){a&1&&(H(0,"span",68)(1,"span",69),R(2),I()());a&2&&(a=b.$implicit,B(2),Nf(a))},tkb=function(a){a&1&&(H(0,"span",66),P(1,rkb,3,1,"span",67),I());
if(a&2){a=O(2).$implicit;B(1);if(0===a.parseResult.types.length)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(skb(a.controllerReference,d));a=b}F("ngForOf",a)}},ukb=function(a){a&1&&(H(0,"td",63),P(1,qkb,2,1,"div",64),P(2,tkb,2,1,"span",65),I());a&2&&(a=O().$implicit,B(1),F("ngIf",a.parseResult.error),B(1),F("ngIf",!a.parseResult.error))},vkb=function(a){a&1&&(H(0,"div"),
R(1),I());a&2&&(a=O(2).$implicit,B(1),Mf("ERROR: ",a.parseResult.error,""))},wkb=function(a,b){a&1&&(H(0,"span",68)(1,"span",69),R(2),I()());a&2&&(a=b.$implicit,B(2),Nf(a))},ykb=function(a){a&1&&(H(0,"span",66),P(1,wkb,3,1,"span",67),I());if(a&2){a=O(2).$implicit;B(1);if(0===a.parseResult.priorities.length)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(xkb(a.controllerReference,
d));a=b}F("ngForOf",a)}},zkb=function(a){a&1&&(H(0,"td",70),P(1,vkb,2,1,"div",64),P(2,ykb,2,1,"span",65),I());a&2&&(a=O().$implicit,B(1),F("ngIf",a.parseResult.error),B(1),F("ngIf",!a.parseResult.error))},Akb=function(a){a&1&&(H(0,"div"),R(1),I());a&2&&(a=O(2).$implicit,B(1),Mf("ERROR: ",a.parseResult.error,""))},Bkb=function(a,b){a&1&&(H(0,"span",68)(1,"span",69),R(2),I()());a&2&&(a=b.$implicit,B(2),Nf(a))},Ckb=function(a){a&1&&(H(0,"span",66),P(1,Bkb,3,1,"span",67),I());if(a&2){a=O(2).$implicit;
B(1);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])];F("ngForOf",a)}},Dkb=function(a){a&1&&(H(0,"td",71),P(1,Akb,2,1,"div",64),P(2,Ckb,2,1,"span",65),I());a&2&&(a=O().$implicit,B(1),F("ngIf",a.parseResult.error),B(1),F("ngIf",!a.parseResult.error))},Ekb=function(a){a&1&&(H(0,"td",72),R(1),I());a&2&&(a=O().$implicit,O(2),B(1),Mf(" ",ekb(a.sloElement.metric),
" "))},Fkb=function(a){if(a&1){var b=w();H(0,"td",73)(1,"slo-objective-selector",74);M("objectiveDurationChange",function(c){x(b);var d=O().$implicit;return z(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){x(b);var d=O().$implicit;return z(d.selectedObjectiveBusinessDays=c)});I()()}a&2&&(a=O().$implicit,B(1),F("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("isDisabled",!a.isEditingInternal))},
Gkb=function(a){a&1&&(H(0,"td",75),R(1),I());a&2&&(a=O().$implicit,O(2),B(1),Mf(" ",ikb.get(a.sloElement.dayType||"CALENDAR")," "))},Ikb=function(a){if(a&1){var b=w();H(0,"b-icon",85);M("click",function(c){x(b);var d=O(2).$implicit,e=O(2);return z(Hkb(e,d,c))});I()}a&2&&F("name","edit")("size","small")},Jkb=function(a){a&1&&J(0,"b-icon",86);if(a&2){O();var b=Lf(8);F("name","more-settings-vertical")("size","small")("matMenuTriggerFor",b)}},Lkb=function(a){if(a&1){var b=w();H(0,"button",87);M("click",
function(){x(b);var c=O(2).$implicit,d=O(2);return z(Kkb(d,c,1))});R(1," Move row down ");I()}},Mkb=function(a){if(a&1){var b=w();H(0,"button",88);M("click",function(){x(b);var c=O(2).$implicit,d=O(2);return z(Kkb(d,c,-1))});R(1," Move row up ");I()}},Okb=function(a){if(a&1){var b=w();H(0,"td",76)(1,"span",18)(2,"span",19);P(3,Ikb,1,2,"b-icon",77);I();H(4,"span",19)(5,"span");P(6,Jkb,1,3,"b-icon",78);I();H(7,"mat-menu",null,79);P(9,Lkb,2,0,"button",80);P(10,Mkb,2,0,"button",81);H(11,"button",82);
M("click",function(){x(b);var d=O().$implicit,e=O(2);Xjb(e,e.collection.indexOf(d)+1);return z()});R(12," Add row below ");I();H(13,"button",83);M("click",function(){x(b);var d=O().$implicit,e=O(2);Xjb(e,e.collection.indexOf(d));return z()});R(14," Add row above ");I();H(15,"button",84);M("click",function(){x(b);var d=O().$implicit,e=O(2);return z(nkb(e,d))});R(16," Remove ");I()()()()()}if(a&2){a=O().$implicit;var c=O(2);B(3);F("ngIf",a.canEdit);B(3);F("ngIf",a.canEdit);B(3);F("ngIf",Nkb(c,a,1).valid);
B(1);F("ngIf",Nkb(c,a,-1).valid)}},Pkb=function(a,b){a&1&&(H(0,"tr",25),P(1,akb,1,0,"td",26),P(2,bkb,2,3,"td",27),P(3,ckb,2,3,"td",28),P(4,dkb,2,3,"td",29),P(5,gkb,4,3,"td",30),P(6,hkb,2,5,"td",31),P(7,kkb,4,2,"td",32),P(8,okb,6,4,"td",33),P(9,pkb,1,0,"td",34),P(10,ukb,3,2,"td",35),P(11,zkb,3,2,"td",36),P(12,Dkb,3,2,"td",37),P(13,Ekb,2,1,"td",38),P(14,Fkb,2,4,"td",39),P(15,Gkb,2,1,"td",40),P(16,Okb,17,4,"td",41),I());a&2&&(a=b.$implicit,b=O(2),yf("draggable",!b.isDisabled&&null==b.openRow),B(1),F("ngIf",
a.isEditingInternal),B(1),F("ngIf",a.isEditingInternal),B(1),F("ngIf",a.isEditingInternal),B(1),F("ngIf",a.isEditingInternal),B(1),F("ngIf",a.isEditingInternal),B(1),F("ngIf",a.isEditingInternal),B(1),F("ngIf",a.isEditingInternal),B(1),F("ngIf",a.isEditingInternal),B(1),F("ngIf",!a.isEditingInternal),B(1),F("ngIf",!a.isEditingInternal),B(1),F("ngIf",!a.isEditingInternal),B(1),F("ngIf",!a.isEditingInternal),B(1),F("ngIf",!a.isEditingInternal),B(1),F("ngIf",!a.isEditingInternal),B(1),F("ngIf",!a.isEditingInternal),
B(1),F("ngIf",!a.isEditingInternal))},Qkb=function(a){if(a&1){var b=w();H(0,"tbody",23);M("cdkDropListDropped",function(c){x(b);var d=O();return z(d.onDrop(c))});P(1,Pkb,17,18,"tr",24);I()}a&2&&(a=O(),F("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),B(1),F("ngForOf",a.collection))},Rkb=function(a){a&1&&(H(0,"div",89),R(1," There are currently no rules for this SLO "),I())},Skb=function(a,b){if(a&1){var c=w();H(0,"tr",7);M("click",function(){var e=x(c).$implicit,
g=O();return z(g.editSlo(e))})("focus",function(){var e=x(c).index,g=O();return z(g.setFocusOnIndex(e))});J(1,"td",2);H(2,"td",8)(3,"a",9);M("click",function(e){return e.stopPropagation()});R(4);I()();H(5,"td",10);R(6);I()()}if(a&2){a=b.$implicit;b=b.index;var d=O();yf("grid-focus",d.isFocused(b));pf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));B(3);F("href",d.paths.editSlo(a.sloId),Sd);B(1);Mf(" ",a.name," ");B(2);Mf(" ",a.description," ")}},Tkb=function(a){if(a)return(Array.isArray(a)?
a.map(function(b){return di(b)}):[di(a)]).filter(function(b){return!isNaN(b)})},Ukb=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!Dq(c,b)})},Vkb=function(a,b){"string"===typeof a&&(a=a.trim())&&b(xi(a))},Wkb=function(a,b){if(!a)return[];a=k("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())Vkb(c.value,function(d){return b.push(d)});return fqa(b)},Xkb=function(a){return null===a?function(){}:function(b){a:{if(Array.isArray(b)&&1===b.length&&(b=b[0],
Array.isArray(b))){b=new a(b);break a}b=void 0}if(void 0!==b)return b;throw Error("ye");}},Eq=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(Ng(b)))},Ykb=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(Ng(b)))},Zkb=function(a,b){a.setAttribute("pkd-ps-state",String(Ng("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(Ng("2")))},function(){a.setAttribute("pkd-ps-state",
String(Ng("3")))})},clb=function(a){var b=jp($kb,{id:Fq(alb)});a.appendChild(b);return new blb(b)},dlb=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},glb=function(a){if(Gq){var b=elb(a);flb(a,b)}else a.scrollIntoView({block:"nearest"})},ilb=function(a,b,c){return new sq(new hlb(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},Hq=function(a,b,c,d){d=void 0===d?[]:d;if(a){var e="";c&&c.length&&(e="; track:"+c.join(",").trim());c="";d&&d.length&&(c="; "+d.join("; ").trim());a.setAttribute("jslog",
b+e+c);a.LSWHIf=void 0}b=a.getAttribute("jslog").concat("; cid:peopleweb");a.setAttribute("jslog",b)},klb=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:null==(b=jlb.get(a))?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},llb=function(a){return a.map(function(b){if(Iq)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)}})},
olb=function(a,b){var c=Fq(Jq.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var g=llb(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("Ae`"+b);}d=jp(mlb,e.call(d,{},a,{id:c,keyboardShortcut:g,densityClass:b}));a.veid&&Hq(d,a.veid,["impression","pk-click"]);return new nlb(d,a)},qlb=function(a){var b=new plb([]);return new Kq(a,
b)},Lq=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},rlb=function(a){return Array.from(a.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(b){return!("true"===b.getAttribute("aria-hidden")||b.hasAttribute("disabled")||b.hasAttribute("hidden"))})},Nq=function(a){return new Mq(a)},slb=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},ulb=function(a,b){return new tlb(a,b)},Alb=function(a,b,c,d,e){var g=
vlb(c),h=Oq(a),m=Pq(a);m&&h.intersection(wlb(m));xlb(h,ip(a),ip(c));a=ylb(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new Qq(b,h.top+(a&1?h.height:0));h=Rq(h,g);a=ylb(c,d);h=zlb(h,Sq(c),a).rect;c=Pq(c);c.top-=g.y;c.right-=g.x;c.bottom-=g.y;c.left-=g.x;g=h;g.left<c.left?g.left=c.left:g.left+g.width>c.right&&(g.left=c.right-g.width);h=g;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},Dlb=function(a,b){Tq(a,new Qq(b.left,
b.top));b=b.getSize();Blb(Sq(a),b)||Clb(a,b)},Elb=function(a,b){return new Uq(a,b)},Vq=function(a){return slb("pk-click",a)},Hlb=function(a,b,c,d){var e=jp(Flb);Hq(e,28041,["impression"]);var g=new Glb(e);a.appendChild(e);return new Wq(e,b,c,g,d)},Klb=function(a,b){b=jp(Ilb,{label:b.label});a.appendChild(b);return new Jlb(b)},Mlb=function(a,b){for(var c=k(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=Llb.get(b))&&a.classList.add(b)},Plb=
function(a,b,c,d){b=jp(Nlb,{content:b,header:d});a.appendChild(b);a=Klb(Lq(b,"TvD9Pc"),{label:"Close"});Mlb(b,c.getTheme());return new Olb(b,a)},Rlb=function(a,b){var c=Qlb({header:"Couldn't hide suggestion"});var d=Xq("<div>There was a problem and this person could not be hidden</div>");a=Plb(a,d,b,c);Hq(a.getRoot(),131913,["impression"]);return a},Slb=function(a,b){var c=Qlb({header:"Couldn't hide suggestion"});var d=Xq("<div>Groups of 2 or more people can't be hidden</div>");a=Plb(a,d,b,c);Hq(a.getRoot(),
166230,["impression"]);return a},Tlb=function(a,b){var c=Qlb({header:"Couldn't show suggestion"});var d=Xq("<div>There was a problem and this person could not be shown in suggestions</div>");a=Plb(a,d,b,c);Hq(a.getRoot(),184760,["impression"]);return a},Ulb=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},Zq=function(a,b,c,d,e,g){e=void 0===e?new Yq:e;g=void 0===g?"":g;b=jp(Vlb,{imageUrls:b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}),backupUrl:g||
"https://lh3.googleusercontent.com/a/default-user",size:c,preloadSize:d,pixelRatio:Wlb()});e=new Xlb(b,e);a.appendChild(b);return e},Zlb=function(a,b){var c="",d=0;b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c=c+a.substring(d,e.getStart())+"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3"+a.substring(e.getStart(),e.getEnd())+"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",d=e.getEnd();c+=a.substring(d,a.length);return Ylb(Ylb(Qp(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",
"</b>")},$lb=function(a){var b=a.getDisplayName();return b?Zlb(b,a.getMatchInfo().getDisplayNameMatches()):""},amb=function(a){var b=a.getDisplayValue();return b?Zlb(b,a.getMatchInfo().getDisplayValueMatches()):""},bmb=function(a,b){var c=b?$lb(a):Qp(a.getDisplayName());b=b?amb(a):Qp(a.getDisplayValue());c=c||b;b=b||Qp(a.getDescription());var d=a.getPrimaryTarget();return{hovercardId:1===d.getTargetType()||6===d.getTargetType()?a.getDisplayValue():d.getProfileId(),label:c,sublabel:b,photos:[a.getPhotoUrl()]}},
emb=function(a,b,c,d){var e=b.result().getMemberList();1===e.length?(b=bmb(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):(e=b.result(),e=bmb(e,!1),b=b.getDisplayNameWithOverrideApplied(),b={label:Qp(b)||e.sublabel,sublabel:e.sublabel,name:b,photos:e.photos,hovercardId:e.hovercardId});var g=b.hovercardId,h=b.name;var m=b.label;var r=b.sublabel;e=Xq;g='<div peoplekit-id="'+$q("tJHJj")+'" class="'+$q("peoplekitComponentsHideconfirmationdialogImplHeader")+
'" data-hovercard-id="'+$q(g)+'" data-name="'+$q(h)+'"><div class="'+$q("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+'"><div class="'+$q("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';h=Xq('<div class="'+$q("peoplekitComponentsHideconfirmationdialogImplAvatar")+'"><div class="'+$q("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+'" peoplekit-id="'+$q("d6MZcd")+'"></div></div>');g=g+h+'</div><div class="'+$q("peoplekitComponentsHideconfirmationdialogImplCenter")+
'">';m=Xq('<div class="'+$q("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+'"><div peoplekit-id="'+$q("E0kCZc")+'" class="'+$q("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+$q("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+ar(br(m))+"</div>"+(r?'<div class="'+$q("peoplekitComponentsHideconfirmationdialogImplSublabel")+" "+$q("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+ar(br(r))+"</div>":"")+"</div>");m=e(g+
m+"</div></div></div>");e=0===d?"Hide":"Show";r='<div peoplekit-id="'+$q("bN97Pc")+'" class="'+$q("peoplekitComponentsHideconfirmationdialogImplContent")+'"><div class="'+$q("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';r=(0==d?r+"Hide Suggestion?":r+"Show Suggestion?")+('</div><div class="'+$q("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=Xq((0==d?r+"This person won't be suggested again unless you search for them in Photos.":r+"Suggest this person when showing people results.")+
"</div></div>");d=jp(cmb,{content:d,header:m});a.appendChild(d);a=Klb(Lq(d,"IbE0S"),{label:"Cancel"});m=m={confirmButtonText:e};m=m.confirmButtonText;r="";switch(wa(m)?m.toString():m){case "Confirm":r+="Confirm";break;case "Hide":r+="Hide";break;case "Show":r+="Show";break;default:r+="Apply"}m=Klb(Lq(d,"McfNlf"),{label:r});Mlb(d,c.getTheme());r=m.getRoot();switch(e){case "Hide":Hq(r,131909,["pk-click","impression"]);break;case "Show":Hq(r,131910,["pk-click","impression"])}a=new dmb(d,a,m);d=Lq(a.getRoot(),
"d6MZcd");Zq(d,b.photos,36,36,c);return new cr(a)},fmb=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("Ae`"+a);}},dr=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("Ae`"+a);}},gmb=function(){var a=void 0===a?10:a;var b="";if(1>a)return b;for(;b.length<a;)b+=Math.random().toString(36).substring(2);return b.length>a?b.substring(0,
a):b},hmb=function(a){var b=a.getCaller(),c=a.getClient();a=a.getRequestType();return b&&c&&a?JSON.stringify([b.serialize(),c.serialize(),a]):null},imb=function(a){var b=new er;if(a instanceof fr)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},ir=function(a){a=void 0===a?null:a;var b=(new gr).setExperimentFlags(new hr).setSource(3);a&&b.setError(imb(a));return b},qmb=function(a){var b=void 0===b?new jmb:b;if(kmb)return kmb;var c=new lmb(a),d=new mmb(a);if(b.storage_)try{b.storage_.setItem("__sak","1");b.storage_.removeItem("__sak");var e=!0}catch(g){e=!1}else e=!1;b=e?new jr(a,b):new kr(a);b.clean();c=new nmb(new omb(b,c),d);return kmb=new pmb(a,c)},smb=function(a,b,c,d){var e=bmb(a,!0);a=rmb(a,e,
b,d);b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);return{id:a.id,hovercardId:a.hovercardId,label:a.label,sublabel:c.shouldHideSublabel?"":b,photos:a.photos,densityClass:a.densityClass,tags:a.tags,allowSublabelTranslation:d}},rmb=function(a,b,c,d){var e=[];Vj(lr.getExperiments(),3,!1)&&c.getWarnForExternalSelections()&&2===a.getPrimaryTarget().getOrgState()&&e.push({iconUrl:"https://www.gstatic.com/people/peoplekit/icons/light_theme/domain_disabled_grey900.svg",
altText:"External",style:1});return{id:Fq(tmb),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:d,tags:e,allowSublabelTranslation:!1}},wmb=function(a,b,c){var d="",e=Qp(a.getDescription()),g=!1,h=a.getMemberList().length;if(1<h||a.getDisplayName())d=a.getMemberList().map(function(m){var r="";if(m.getPrimaryTarget().getName()){var v,y;(r=(r=null==(v=m.getPrimaryTarget())?void 0:null==(y=v.getName())?void 0:y.getGivenName())?Zlb(r,m.getMatchInfo().getGivenNameMatches()):
"")||(r=$lb(m))}r||(r=amb(m));return r}),b&&(d=d.reverse()),d=$lb(a)||umb({memberNames:d}),e||c||null===a.getTotalMemberCount()||(e=vmb({memberCount:Number(a.getTotalMemberCount())}),g=!0);else if(1===h)return e=a.getMemberList()[0],g=bmb(e,!0),Object.assign({},g,{type:a.getPrimaryTarget().getTargetType(),flatResult:e,allowSublabelTranslation:!1});b=a.getPhotoUrl();b=a.getDisplayName()&&b?[b]:a.getMemberList().map(function(m){return m.getPhotoUrl()});return{hovercardId:"",label:d,sublabel:e,type:a.getPrimaryTarget().getTargetType(),
photos:b,allowSublabelTranslation:g}},ymb=function(a,b,c,d,e,g){a=wmb(a,d,e);if(a.flatResult)return g=rmb(a.flatResult,a,b,g),b=g.sublabel,d=g.allowSublabelTranslation,c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation),{id:g.id,hovercardId:g.hovercardId,label:g.label,sublabel:c.shouldHideSublabel?"":b,photos:g.photos,densityClass:g.densityClass,tags:g.tags,type:a.type,allowSublabelTranslation:d};b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&(b=
c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);return{id:Fq(xmb),hovercardId:a.hovercardId,label:a.label,sublabel:c.shouldHideSublabel?"":b,type:a.type,photos:a.photos,densityClass:g,tags:[],allowSublabelTranslation:d}},Amb=function(a,b,c,d,e,g){return new zmb(a,b,c,d,e,g)},Cmb=function(a,b){return new Bmb(a,void 0===b?"":b)},Dmb=function(a){var b=-1;(a=mr(a))&&Rk(a,2)&&(b=Vh(a,2,0));return"index:"+b},Jmb=function(a,b){var c=jp(Emb,{icon:b.icon,tooltipLabel:b.tooltipLabel,ariaLabel:b.ariaLabel});
a.appendChild(c);var d=c.classList,e=d.add;a:{var g=b.density||0;switch(g){case 0:g="googleMaterialDefaultDensity";break a;case 1:g="workspaceMaterialComfortableDensity";break a;case 2:g="workspaceMaterialCompactDensity";break a;default:throw Error("Ae`"+g);}}e.call(d,g);if(b.tooltipLabel){e=c.getAttribute("data-tooltip-id")||"";d={label:b.tooltipLabel,ariaLabel:b.ariaLabel};e=jp(Fmb,{label:d.label,id:e,ariaLabel:d.ariaLabel});a.appendChild(e);var h=new Gmb(e,d.showDelayMs,d.hideDelayMs);Hmb(h,c)}return new Imb(c,
b.icon,b.disabledIcon,h,b.disableDomNavigation,b.onClick)},Lmb=function(a,b,c,d){var e=Object.assign({},c);e.onClick=function(g){d.select(a.getSelection(),1);var h;null==(h=c.onClick)||h.call(c,g)};return new Kmb(a,b,e)},Omb=function(a,b){var c=(new Mmb).filterResult(b.result)===b.result;Vj(b.clientConfig.internal,7,!1)&&c&&nr()?a=new Nmb(a,b.appearanceConfig,b.clientConfig,b.interactions):b.resultCustomization.secondaryActionButtonConfig&&(a=Lmb(a,b.appearanceConfig,b.resultCustomization.secondaryActionButtonConfig,
b.interactions));return a},Pmb=function(a,b){var c=(new Mmb).filterResult(b.result)===b.result,d=7===b.result.getResultType();Vj(b.clientConfig.internal,7,!1)&&!c&&nr()&&!d&&(a=new or(a,b.appearanceConfig,b.clientConfig,b.result,b.ariaParent));return a},Rmb=function(){return function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=a.clientConfig,m=smb(b,d,g,dr(e.getDensity())),r=jp(Qmb,m);Hq(r,25285,["impression","pk-select","pk-deselect"],
[Dmb(b.getPrimaryTarget().getLoggingToken())]);var v=Lq(r,"d6MZcd"),y=fmb(e.getDensity()),A;g=null!=(A=g.backupAvatarUrl)?A:"";e=Zq(v,m.photos,y,y,e,g);b=new pr(r,b,c,d,m.tags,e,h);c=new qr(new rr(b,c));return Pmb(Omb(c,a),a)}},Umb=function(a){return function(b){var c=b.result,d=b.resultConfig,e=b.appearanceConfig,g=b.clientConfig,h=b.resultCustomization;b=b.isRightToLeft;var m=c.getPrimaryTarget().getId();g=sr(m)||tr(m)?ymb(c,d,h,b,Vj(g.internal,6,!1),dr(e.getDensity())):smb(c,d,h,dr(e.getDensity()));
b=Object;m=b.assign;a:switch(a){case 1:var r=Xq('<div class="'+$q("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+$q(". Already selected")+'">'+Xq('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+($q("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>'))+"</div>");break a;case 2:r=Xq("");break a;default:r='<div class="'+
$q("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',r=Xq(r+"DISABLED</div>")}b=jp(Smb,m.call(b,{},g,{disableReason:r}));m=Lq(b,"d6MZcd");r=fmb(e.getDensity());var v;h=null!=(v=h.backupAvatarUrl)?v:"";e=Zq(m,g.photos,r,r,e,h);return new Tmb(b,c,d,g.tags,e)}},Wmb=function(a,b,c,d,e,g,h,m,r){b=d.getResultCustomizationCallback()(a,b);var v=!!c.get(a.getPrimaryTarget().getId());if(b.shouldDisable)v=6;else{var y=a.getPrimaryTarget().getId();v=tr(y)?3:sr(y)?2:v&&!d.getAllowResultDeselection()?
5:1===a.getTargetList().length?1:1<a.getTargetList().length?4:0}v=Vmb.get(v);if(!v)throw Error("Le");return v({result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:g,isRightToLeft:h,interactions:m,resultCustomization:b,ariaParent:r})},Zmb=function(a){var b=Fq(Jq.getInstance());b=jp(Xmb,{id:b,header:a});return new Ymb(b,a)},$mb=function(a,b,c){return new ur(a,b,c)},anb=function(a,b,c){return(b=b.getGroupName(c))?new vr(a,b):a},cnb=function(a,b,c,d){b=b.getGroupName(c);c=bnb();
return b&&c.infoGroupConfig?new wr(a,c.infoGroupConfig,d):a},dnb=function(a,b,c){b=b.getGroupName(c);c=bnb();return b&&c.collapsibleGroupConfig?new xr(a,c.collapsibleGroupConfig):a},gnb=function(a,b,c,d,e,g,h,m,r){h=jp(enb,{header:h||""});a.appendChild(h);a=clb(Lq(h,"tjneg"));return{resultList:new fnb(a,b,c,d,e,g,m,r),list:a}},jnb=function(a,b,c,d,e,g,h,m,r,v){a=gnb(a,b,c,d,e,m,r,g,v);b=a.resultList;b=new hnb(b,a.list,h);return new inb(b,g)},lnb=function(a,b,c,d,e,g,h,m,r){m=jp(enb,{header:m||""});
a.appendChild(m);a=clb(Lq(m,"tjneg"));b=new knb(a,b,c,d,e,g,h,r);return new inb(b,g)},mnb=function(a){return"XLuqBd"===a.getAttribute("peoplekit-id")},onb=function(a,b){return new nnb(a,b)},pnb=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},yr=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},zr=function(a,b,c,d){var e;d=k(d);for(var g=d.next();!g.done;g=d.next()){g=
g.value;try{g(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},qnb=function(a,b,c,d,e){e=k(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g(a,b,c,d)},snb=function(a){if(rnb.has(a))return rnb.get(a);throw Error("Pe`"+a);},unb=function(a){if(tnb.has(a))return tnb.get(a);throw Error("Qe`"+a);},vnb=function(a){for(var b=new Map,c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},xnb=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?
a.parentNode.host:wnb(a):null},ynb=function(a,b,c){for(c||(a=xnb(a));a&&!b(a);)a=xnb(a)},Anb=function(a,b,c,d,e,g){var h=c.beginSession(function(){},g.sessionOptions||new Ar);return znb(a,b,c,h,d,e,g)},znb=function(a,b,c,d,e,g,h){g.internal.getClearcut().setInterfaceType(4);g.internal.getClearcut().setComponentFlow(7);var m=g.internal,r=e.getEnvironmentConfig(),v=r.experimentsConfig_.getProfileId();if(v)if(m.getExperiments().getIsEnabled()){var y=ob(Bnb||(Bnb=Cnb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));
y=new Dnb(y,7)}else y=new Br;else y=new Br;m=m.getExperiments();r=y.loadExperiments(m.getApplication(),(new Cr).setPeopleApiEnv(r.apiEnv_),v);lr=new Enb(m,r);r=jp(Fnb,{classes:"aU4VQc"});a.appendChild(r);Mlb(r,e.getTheme());Hq(r,64611,["impression"]);a=new Dr;v=e.getEntryPoint();v=new Gnb(d,a,v);y=e.getEntryPoint();m=g.internal.getClearcut();y=new Hnb(m,y);y=Er(y);m=m.getInterfaceType();m=new Inb(new Jnb(y,m));var A=new Knb(h.intelligence);h=jp(Lnb);r.appendChild(h);y=jp(Mnb);Hq(y,85843,["impression"]);
h.appendChild(y);var G=Lq(y,"tjneg");a:{var N=e.getAutocompleteHeader(),Q=e.getAutocompleteCustomGrouping();switch(e.getAutocompleteGroupingType()){case 1:A=jnb(G,e,e,g,a,v,new Nnb(e.getAutocompleteGroupingLabel()),A,N,b);break a;case 2:A=jnb(G,e,e,g,a,v,new Onb(e.getAutocompleteGroupingLabel()),A,N,b);break a;case 3:if(!Q)break;A=Vj(g.internal,7,!1)&&nr()?lnb(G,e,e,g,a,v,Q,N,b):jnb(G,e,e,g,a,v,Q,A,N,b);break a;case 4:if(Q){A=lnb(G,e,e,g,a,v,Q,N,b);break a}}A=gnb(G,e,e,g,a,A,N,v,b);A=new inb(A.resultList,
v)}G=Lq(G,"rymPhb");b.setAttribute("aria-owns",G.id);b.setAttribute("aria-controls",G.id);G.setAttribute("aria-labelledby",b.id);N=e.getNoResultsMessage();G=jp(Pnb);N?N.display?N=new Qnb(G,N):(N=jp(Rnb,N),G.appendChild(N),N=new Snb):N=new Tnb;y.appendChild(G);m=new Unb(y,b,A,d,m,e,N,g);Vj(g.internal,7,!1)&&nr()&&(m=new Fr(m,c,d,g,e,b));b=new Vnb(h,b,m,a,e);Zkb(b.getRoot(),c);c=g.internal.getClearcut();h=e.getEntryPoint();Vj(c,6,!0)?(g=new Gr,d=FMa(),h=(new Wnb).setClientId(c.getClientId()).setApplication(c.getSocialApplicationOrUndefined()).setEntryPoint(h).setVersionName("1.0").setBaselineCl(550712998),
g=new Hr(g,1394,d,void 0,void 0,void 0,new Xnb(h)),g.setClientSideLogOnlyForDevelopment(!c.getEnableClearcut()||!1),c=new Ir,d=lr.getExperimentIds(),c=Cb(c,3,d,bb),g.clearcut_.setClearExperimentIds(c),c=new Ynb(r,g)):c=new Znb;c.start();return new $nb(r,b,a,v,c,e)},bob=function(a){var b=[],c=a.indexOf("@");0>c?c=a.length-1:1<a.length-c&&(b.push(a.substring(c)),a=a.substring(0,c+1));if("@"===a)return b;b.push(a);aob.lastIndex=0;for(var d=aob.exec(a);d&&d.index<c;d=aob.exec(a))b.push(a.substring(Number(aob.lastIndex)));
return b},fob=function(a){a=Array.from(a).flatMap(function(g){return(g||"").split(cob)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=Jr(dob(c.value)).replace(eob,"").toUpperCase().toLowerCase();c=k(bob(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(g){if(e.startsWith(g))return!1;e=g;return!0})},hob=function(a){var b;return gob(function(c){1==c.nextAddress&&
(b=0);if(3!=c.nextAddress)return b<a?c.yield(b,3):c.jumpTo(0);b++;return c.jumpTo(2)})},iob=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&sr(a.id)&&9!==a.id.getType()?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},lob=function(a,b,c){if(sr(a.id)||sr(b.id)){var d=job.has(a.id.getType()),e=job.has(b.id.getType());if(d!==e)return d?-1:1;if(sr(a.id)&&sr(b.id))return kob(a,b,c,!1)}d=iob(a,c);c=iob(b,c);(c=d!==c?d>c?-1:1:0)||(c=1===a.dataSource,c=c!==(1===b.dataSource)?
c?-1:1:0);c||(a=!!a.isPrimary,c=a!==!!b.isPrimary?a?-1:1:0);return c},kob=function(a,b,c,d){var e=isFinite(a.itemAffinity)?a.itemAffinity:-Infinity,g=isFinite(b.itemAffinity)?b.itemAffinity:-Infinity;return e!==g?e>g?-1:1:d?lob(a,b,c):0},qob=function(a,b,c){var d=Kr(b.getTargetType(),b.getValue()),e=[].concat(ad(b.getProfileIdList().map(mob)),ad(Wh(b,6).map(nob)),ad(b.getCustomSourceIdList().map(oob)));pob.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:Wh(b,6).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}},rob=function(a){return(a||"").trim()},wob=function(a){var b=a.resultData,c=a.targetData,d=sob(Lr(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&(d.resultType_=
b.getResultType());c.hasValue()&&d.setValue(rob(c.getValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new tob).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&(e=c.getPhoto(),d.setPhoto((new Mr).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));if(b.hasTotalMemberCount()){var g;a.totalMemberCount=
null!=(g=b.getTotalMemberCount())?g: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&&uob(d,c.getTagList().map(function(h){return vob(h.altText_).setIconUrl(h.getIconUrl())}));c.hasExtendedData()&&d.setExtendedData(c.getExtendedData());return d},yob=function(a){return a?xob.get(a)||
0:0},Bob=function(a){switch(a.getValueCase()){case 2:return Nr(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&X(b,2)?(a=zob(b.getOriginalValue()||""),b=zob(X(b,2)||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):zob(X(b,2)||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=fk(a,Or,4,Pr);if(a.hasProfileId())return a=a.getProfileId()||"",new Qr(8,ep(a).toLowerCase(),a);switch(Oi(a,Rr)){case 2:return a=a.getEmail()||"",new Qr(6,ep(a).toLowerCase(),
a);case 3:return Aob(a.getPhone()||"")}}return Sr},Cob=function(a){return a.getSourceIdsList().map(function(b){switch(b.getIdCase()){case 1:return mob(b.getProfileId()||"");case 2:return nob(b.getContactId()||"");default:return null}}).filter(Boolean)},Dob=function(a,b){return Pj(a,Tr,3)&&W(a,Tr,3).getIsPlaceholder()?3:Ur(b,8)?1:0},Eob=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Fob=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):
-Infinity},Gob=function(a){return!!a&&!!a.getPrimary()},Iob=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"+Hob(a):""},Lob=function(a){var b=void 0;if(W(a,Tr,3)){var c;b=null!=(c=b)?c:new Vr;Wr(b,Job,W(a,Tr,3))}if(a.getPeopleStackPersonExtendedData()){var d;b=null!=
(d=b)?d:new Vr;Wr(b,Kob,a.getPeopleStackPersonExtendedData())}return b},Nob=function(a){var b=void 0;if(W(a,Xr,9)){var c;b=null!=(c=b)?c:new Vr;Wr(b,Mob,W(a,Xr,9))}return b},Pob=function(a){var b=new Yr,c=a?2:1;Oob(b.setEventType(4),c).setToken(a);return b},Rob=function(a,b){var c=new Zr;c=(new Yr).setLookupInfo(c);$r(c.setEventType(6),9).setItemCount(a.length).setQueryScope(Qob.get(b)||0);return c},Sob=function(){var a=new Yr;$r(a.setEventType(6),11);return a},Tob=function(){var a=new Yr;$r(a.setEventType(6),
10);return a},Uob=function(a,b){var c=new Yr;$r(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(Qob.get(b)||0);return c},Vob=function(a){var b=new Yr;$r(b.setEventType(6),5).setQueryScope(Qob.get(a)||0);return b},Wob=function(a,b){switch(a){case 8:case 3:case 17:return(new as).setProfileId(b);case 1:case 6:return(new as).setEmail(b);case 7:case 2:return(new as).setPhone(b);default:return null}},Yob=function(a){return((a=oj(a,bs,2).find(function(b){return 1===p(b,1)}))?Xob.get(p(a,2)):
0)||0},apb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(Zob(Eca(So(b.getAffinity(),1))||""));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new tob).setDisplayName(c.getValue()).setGivenName(c.getGivenName()).setFamilyName(c.getFamilyName()),g=e.setSourceType;a:switch(c.getSourceType()){case 1:c=3;break a;case 2:c=4;break a;default:c=0}d.call(a,g.call(e,c))}b.hasPhoto()&&(b=b.getPhoto(),a.setPhoto((new Mr).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType($ob.get(b.getType())||0)))},bpb=function(a,
b){if(b.hasProfileId())switch(Oi(b,Rr)){case 2:var c=b.getEmail()||"";return Lr(a.id).setValue(b.getProfileId()||"").setOriginatingField((new cs).setType(1).setValue(c));case 3:return c=b.getPhone()||"",Lr(a.id).setValue(b.getProfileId()||"").setOriginatingField((new cs).setType(2).setValue(c));default:return b=b.getProfileId()||"",Lr(a.id).setValue(b)}switch(Oi(b,Rr)){case 2:return b=b.getEmail()||"",Lr(a.id).setValue(b).setOriginatingField((new cs).setType(1).setValue(b));case 3:return b=b.getPhone()||
"",Lr(a.id).setValue(b).setOriginatingField((new cs).setType(2).setValue(b));default:return b=b.getProfileId()||"",Lr(a.id).setValue(b)}},dpb=function(a,b){var c=sob(Lr(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&apb(c,b);a.group&&((b=oj(a.group,ds,6).find(function(d){return null!=Ro(d,1,cpb)}))?c.setValue(Ro(b,1,cpb)||""):a.group.hasGroupId()&&c.setValue(a.group.getGroupId()||""));a.targetExtendedData&&c.setExtendedData(a.targetExtendedData);a.target=c},fpb=function(a){return new epb(a)},
ipb=function(a){if(8===a.getTargetType()){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=gpb.get(b)))return b}return(b=hpb.get(a.getTargetType()))?b:sr(a.getId())?8:0},kpb=function(a,b,c){var d=new es,e=new gs;lj(d,gs,2,e);e.setProvenance(b);b=new hs;lj(d,hs,1,b);Xj(b,9,1===c);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=8===ipb(a)?8:a.getIsPersonalResult()?4:3;cj(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&gpb.has(e.getType())&&(c=e.getValue());
c||(c=a.getValue());c&&b.setFieldValue(c);sr(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);b.setFieldType(ipb(a));b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(3===a.getDataSource());8===b.getFieldType_legacyNullable()&&b.setGroupId(a.getId().getValue());return new jpb(a,d)},mpb=function(a){a=lpb.indexOf(a.provenance);return 0>a?lpb.length:a},npb=function(a){return a.containerIds&&a.containerIds.some(function(b){return 3===
b.getType()})},ppb=function(a,b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=k(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&c.getOriginalValue()!==d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),g=d.getPrimaryTarget();d=hcb(d,new opb(g,e))}return[c,d]})));return a},spb=function(a){return Vj(a,21,!1)?new qpb:rpb},tpb=function(a){return 0!==a&&12!==a},upb=function(a,b){return new Promise(function(c){0<
b?setTimeout(function(){return c(a)},b):c(a)})},vpb=function(a,b,c){b=upb(b,c);return Promise.race([a,b])},wpb=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()||0!==e.getCode())c++,b(d)}}},zpb=function(a,b,c,d){b=xpb(a,b).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new is(e,g)});c=xpb(a,c).map(function(e){var g=
k(e);e=g.next().value;g=g.next().value;return new is(e,g)});a=xpb(a,d).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new is(e,g)});return new ypb(b,c,a)},Apb=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;default:return 0}},Bpb=function(a){return a.reduce(function(b,c){var d=Apb(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,[c]);return b},new Map)},Cpb=function(a,b){b=void 0===b?new js:b;var c=new Map;
a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=k(d.data.keys()),g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.data.get(g))}return{data:c,metadata:b}},Epb=function(a){return!a||a instanceof Dpb?a:new Dpb(a)},Gpb=function(a,b){var c=Fpb(ks(new ls,"PeopleStore").setLogSource(aj(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(550712998).setEnableClearcut(a.getEnableClearcut()),[].concat(ad(b.getExperiments().getExperimentIdsList()),
ad(ms?ms.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());(a=oj(a,ns,5).find(function(d){return 0===d.getEntryPoint()}))&&c.setEventSource(ps(a,4));return c},Hpb=function(a){return(Pj(a,qs,12)?W(W(a,qs,12),ns,2):a.getSources())||new ns},Ipb=function(a){return(Pj(a,qs,12)?W(W(a,qs,12),ns,3):a.getSources())||new ns},Jpb=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)},Kpb=function(a){if(!a.hasSessionState())return"";
a=a.getSessionState();return uj(a,3,0)+":"+uj(a,4,0)+":"+uj(a,5,0)+":"+a.getInstanceId()},Lpb=function(a){return Pj(a,gs,2)?mr(a).getContext()||0:0},Mpb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?uj(d,3,0)+"-"+uj(d,4,0)+"-"+uj(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},ss=function(a,b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!Vj(h,4,!1)});if(d){d=k(a);for(var e=
d.next();!e.done;e=d.next())Xj(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=k(d),e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=Mpb(a);c=[];a=k(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var g=new rs;g.setSessionState(e);g.setEventType(b);rj(g,3,d);g.setEventSources(e.getSources());c.push(g)}return c},Npb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&
(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new ts},Opb=function(a){a&1&&(H(0,"a",3),R(1),S(2,"async"),I());if(a&2){a=O();var b;F("href",a.manageComponentLink,Sd);B(1);Nf(null==(b=T(2,2,a.component$))?null:b.name)}},Ppb=function(a){a&1&&(H(0,"output"),R(1),I());a&2&&(a=O(),B(1),Nf(a.componentId))},Qpb=function(a){a&1&&(H(0,"li")(1,"label"),R(2,"Component"),I(),J(3,"b-async-component",7),I());a&2&&(a=O(2),B(3),F("componentId",a.issueComponentId))},Rpb=function(a){a&1&&(H(0,"li")(1,
"label"),R(2,"Team"),I(),J(3,"b-team-display",8),I());a&2&&(a=O(2),B(3),F("teamId",a.issueTeamId))},Spb=function(a){a&1&&(H(0,"ol",3)(1,"li")(2,"label"),R(3,"ID"),I(),H(4,"output"),R(5),I()(),H(6,"li")(7,"label"),R(8,"Type"),I(),H(9,"output"),R(10),I()(),H(11,"li")(12,"label"),R(13,"Priority"),I(),J(14,"b-issue-priority-display",4),I(),H(15,"li")(16,"label"),R(17,"Severity"),I(),H(18,"output"),R(19),I()(),H(20,"li")(21,"label"),R(22,"Status"),I(),H(23,"output"),R(24),I()(),H(25,"li")(26,"label"),
R(27,"Last modified"),I(),H(28,"output"),R(29),S(30,"date"),I()(),H(31,"li")(32,"label"),R(33,"Issue access limit"),I(),H(34,"output"),R(35),H(36,"a",5),R(37,"Learn more"),I()()(),P(38,Qpb,4,1,"li",6),P(39,Rpb,4,1,"li",6),I());a&2&&(a=O(),B(5),Nf(a.issueId),B(5),Nf(a.issueType),B(4),F("issuePriority",a.issuePriority),B(5),Nf(a.issueSeverity),B(5),Nf(a.issueStatus),B(5),Nf(Vf(30,10,a.issueLastModified,"medium")),B(6),Mf("",a.accessLimitLevel," "),B(1),F("href",a.documentationLinks.getIssueAccessLimit(),
Sd),B(2),F("ngIf",a.issueComponentId),B(1),F("ngIf",a.issueTeamId))},Tpb=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},Upb=function(a){a.label||(a=Zh(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},Wpb=function(a){return{type:Vpb[a.getType()],value:a.getValue()}},Ypb=function(a){var b,c;return{type:Xpb[a.getType()],values:(null!=(b=a.getValuesList())?b:[]).map(Ypb),simpleValues:(null!=(c=
oj(a,Zpb,3))?c:[]).map(Wpb)}},cqb=function(a){var b,c=$pb[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(Ypb);b=Vj(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:aqb[e.getField()],customFieldId:Number(e.getCustomFieldId())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:bqb[aj(a,5,0)]}},eqb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:V(fk(a,us,2,vs),1)},queryBuilderResponse:void 0};case 1:a=fk(a,ws,1,vs);var b;return{syntaxErrorResponse:void 0,
queryBuilderResponse:{type:dqb[a.getType()],expressions:(null!=(b=oj(a,xs,2))?b:[]).map(cqb)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},fqb=function(a){a&1&&(H(0,"span",11),R(1," > "),I())},iqb=function(a,b){if(a&1){var c=w();H(0,"span")(1,"a",9);M("click",function(d){var e=x(c).$implicit,g=O(2);e=new gqb(e.pathIds,e.pathNames);g.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();hqb(g.autocompleteTrigger);return z()});R(2);I();P(3,fqb,2,0,"span",10);I()}a&
2&&(a=b.$implicit,b=b.last,B(1),F("matTooltip",a.pathNameText),B(1),Nf(a.name),B(1),F("ngIf",!b))},jqb=function(a,b){a&1&&(H(0,"mat-option",6)(1,"div"),P(2,iqb,4,3,"span",7),I(),H(3,"span",8),R(4),S(5,"slice"),I()());a&2&&(a=b.$implicit,F("value",a),B(2),F("ngForOf",a.teamPath),B(1),F("matTooltip",a.description),B(1),Mf("",Wf(5,4,a.description,0,100)," "))},kqb=function(a,b){a&1&&(H(0,"mat-option",5)(1,"div",6),R(2),I()());a&2&&(a=b.$implicit,F("value",a),B(2),Mf(" ",a.name," "))},lqb=function(a,
b){a&1&&(H(0,"mat-option",13),R(1),I());a&2&&(a=b.$implicit,F("value",a.key),B(1),Mf(" ",a.value," "))},mqb=function(a){if(a&1){var b=w();H(0,"mat-form-field",10)(1,"mat-select",11);M("ngModelChange",function(c){x(b);var d=O(2);return z(d.expressionType=c)});P(2,lqb,2,2,"mat-option",12);S(3,"keyvalue");I()()}a&2&&(a=O(2),B(1),F("ngModel",a.expressionType),B(1),F("ngForOf",T(3,2,a.globalTypeLabels)))},nqb=function(a,b){a&1&&(H(0,"mat-option",13),R(1),I());a&2&&(a=b.$implicit,F("value",a[0]),B(1),Mf(" ",
a[1]," "))},oqb=function(a,b){a&1&&(H(0,"mat-option",13),R(1),I());if(a&2){a=b.$implicit;b=O(2).$implicit;var c=O(2);F("value",a);B(1);Mf(" ",c.getTypeLabel(b,a)," ")}},pqb=function(a){if(a&1){var b=w();H(0,"mat-form-field",10)(1,"mat-select",21);M("ngModelChange",function(c){x(b);var d=O().$implicit;return z(d.type=c)});P(2,oqb,2,2,"mat-option",12);I()()}a&2&&(a=O().$implicit,B(1),F("ngModel",a.type),B(1),F("ngForOf",a.getLegalTypes()))},qqb=function(a,b){if(a&1){var c=w();H(0,"div",28)(1,"mat-checkbox",
29);M("change",function(d){var e=x(c).$implicit,g=O(3).$implicit;return z(g.enumValues[e.id]=d.checked)});R(2);I()()}a&2&&(a=b.$implicit,b=O(3).$implicit,B(1),F("checked",b.enumValues[a.id]),B(1),Mf(" ",a.label||a.id," "))},rqb=function(a){a&1&&(H(0,"div",26),P(1,qqb,3,2,"div",27),I());a&2&&(a=O(2).$implicit,B(1),F("ngForOf",a.getOptions()))},sqb=function(a){if(a&1){var b=w();H(0,"div")(1,"input",30);M("ngModelChange",function(c){x(b);var d=O(3).$implicit;return z(d.csv=c)});I()()}a&2&&(a=O(3).$implicit,
B(1),F("ngModel",a.csv)("bContactAutocomplete","MULTI"))},tqb=function(a){if(a&1){var b=w();H(0,"div",22)(1,"input",31);M("ngModelChange",function(c){x(b);var d=O(3).$implicit;return z(d.csv=c)});I()()}a&2&&(a=O(3).$implicit,B(1),F("ngModel",a.csv))},uqb=function(a){if(a&1){var b=w();H(0,"div",22)(1,"input",32);M("ngModelChange",function(c){x(b);var d=O(3).$implicit;return z(d.csv=c)});I()()}a&2&&(a=O(3).$implicit,B(1),F("ngModel",a.csv))},vqb=function(a){if(a&1){var b=w();H(0,"div",22)(1,"input",
33);M("ngModelChange",function(c){x(b);var d=O(3).$implicit;return z(d.csv=c)});I()()}a&2&&(a=O(3).$implicit,B(1),F("ngModel",a.csv))},wqb=function(a){a&1&&(H(0,"div"),P(1,sqb,2,2,"div",24),P(2,tqb,2,1,"div",18),P(3,uqb,2,1,"div",18),P(4,vqb,2,1,"div",18),I());a&2&&(a=O(2).$implicit,B(1),F("ngIf","user"==a.getWidgetType()),B(1),F("ngIf","csv"==a.getWidgetType()),B(1),F("ngIf","id"==a.getWidgetType()),B(1),F("ngIf","number"==a.getWidgetType()))},xqb=function(a,b){if(a&1){var c=w();H(0,"div",37)(1,
"div",38)(2,"input",33);M("ngModelChange",function(d){var e=x(c).$implicit;return z(e.value=d)});I()();H(3,"button",39);M("click",function(){var d=x(c).$implicit,e=O(3).$implicit,g=O(2);return z(ys(g,e,d))});I()()}a&2&&(a=b.$implicit,B(2),F("ngModel",a.value))},yqb=function(a){if(a&1){var b=w();H(0,"button",40);M("click",function(){x(b);var c=O(3).$implicit,d=O(2);return z(zs(d,c))});R(1);I()}a&2&&(a=O(3).$implicit,B(1),Mf(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},zqb=function(a){a&1&&(H(0,
"div",34),P(1,xqb,4,1,"div",35),P(2,yqb,2,1,"button",36),I());a&2&&(a=O(2).$implicit,B(1),F("ngForOf",a.values),B(1),F("ngIf",a.type))},Bqb=function(a){if(a&1){var b=w();H(0,"div",49);M("click",function(){x(b);var d=O(2).$implicit,e=O(5);return z(Aqb(e,d))});H(1,"span",50);R(2);I()()}if(a&2){a=O(2).$implicit;var c=O(5);F("title",c.getComponentPath(c.components[a.value]));B(2);Mf(" ",c.getComponentPath(c.components[a.value])," ")}},Cqb=function(a){if(a&1){var b=w();H(0,"div",38)(1,"b-team-component-picker",
51);M("selectedComponentChange",function(c){x(b);var d=O(7);d.componentUnderEdit=null!==c&&void 0!==c?c:null;d.componentUnderEdit&&(d.chipUnderEdit.value=d.componentUnderEdit.componentId,d.components[d.componentUnderEdit.componentId]=d.componentUnderEdit);d.componentUnderEdit=null;As(d);return z()});I()()}a&2&&(a=O(7),B(1),F("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},Dqb=function(a){if(a&1){var b=w();H(0,"div",43);P(1,Bqb,3,2,"div",44);P(2,Cqb,2,
3,"div",45);H(3,"button",46);M("click",function(){x(b);var d=O().$implicit;O(5);d.includeSubs=!d.includeSubs;return z()});J(4,"mat-icon",47);I();H(5,"button",48);M("click",function(){x(b);var d=O().$implicit,e=O(3).$implicit,g=O(2);return z(ys(g,e,d))});I()()}if(a&2){a=O().$implicit;var c=O(5);B(1);F("ngIf",c.chipUnderEdit!==a);B(1);F("ngIf",c.chipUnderEdit===a);B(1);F("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");pf("aria-checked",a.includeSubs);B(1);F("svgIcon",
a.includeSubs?"child-components-24px":"child-components-hide-24px")}},Eqb=function(a,b){a&1&&(K(0),P(1,Dqb,6,5,"div",42),L());a&2&&(a=b.$implicit,b=O(5),B(1),F("ngIf",b.chipUnderEdit===a||a.value))},Fqb=function(a){if(a&1){var b=w();H(0,"button",40);M("click",function(){x(b);var c=O(3).$implicit,d=O(2);return z(zs(d,c))});R(1);I()}a&2&&(a=O(3).$implicit,B(1),Mf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Gqb=function(a){a&1&&(H(0,"div",34),P(1,Eqb,2,1,"ng-container",41),P(2,Fqb,2,1,"button",
36),I());a&2&&(a=O(2).$implicit,B(1),F("ngForOf",a.values),B(1),F("ngIf",a.type))},Iqb=function(a){if(a&1){var b=w();H(0,"div",49);M("click",function(){x(b);var d=O(2).$implicit,e=O(5);return z(Hqb(e,d))});H(1,"span",50);R(2);I()()}if(a&2){a=O(2).$implicit;var c=O(5);F("title",null==c.trackers[a.value]?null:c.trackers[a.value].name);B(2);Mf(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},Jqb=function(a){if(a&1){var b=w();H(0,"div",38)(1,"b-tracker-picker",54);M("onTrackerSelect",
function(c){x(b);var d=O(7);d.analytics.trackEvent(io.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;As(d);return z()});I()()}a&2&&(a=O(7),B(1),F("selectedTracker",a.trackerUnderEdit))},Kqb=function(a){if(a&1){var b=w();H(0,"div",53);P(1,Iqb,3,2,"div",44);P(2,Jqb,2,1,"div",45);H(3,"button",48);M("click",function(){x(b);var d=O().$implicit,e=O(3).$implicit,g=O(2);return z(ys(g,
e,d))});I()()}if(a&2){a=O().$implicit;var c=O(5);B(1);F("ngIf",c.chipUnderEdit!==a);B(1);F("ngIf",c.chipUnderEdit===a)}},Lqb=function(a,b){a&1&&(K(0),P(1,Kqb,4,2,"div",52),L());a&2&&(a=b.$implicit,b=O(5),B(1),F("ngIf",b.chipUnderEdit===a||a.value))},Mqb=function(a){if(a&1){var b=w();H(0,"button",40);M("click",function(){x(b);var c=O(3).$implicit,d=O(2);return z(zs(d,c))});R(1);I()}a&2&&(a=O(3).$implicit,B(1),Mf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Nqb=function(a){a&1&&(H(0,"div",34),
P(1,Lqb,2,1,"ng-container",41),P(2,Mqb,2,1,"button",36),I());a&2&&(a=O(2).$implicit,B(1),F("ngForOf",a.values),B(1),F("ngIf",a.type))},Pqb=function(a){if(a&1){var b=w();H(0,"div",49);M("click",function(){x(b);var d=O(2).$implicit,e=O(6);return z(Oqb(e,d))});S(1,"teamPath");H(2,"span",50);R(3);S(4,"teamPath");I()()}if(a&2){a=O(2).$implicit;var c=O(6);F("title",T(1,2,c.teams[a.value]));B(3);Mf(" ",T(4,4,c.teams[a.value])," ")}},Rqb=function(a){if(a&1){var b=w();H(0,"div",38)(1,"b-team-picker",58);M("onTeamSelect",
function(c){x(b);var d=O(8);return z(Qqb(d,c))});I()()}a&2&&(a=O(8),B(1),F("teamSelected",a.teamUnderEdit))},Sqb=function(a){if(a&1){var b=w();H(0,"div",56);P(1,Pqb,5,6,"div",44);P(2,Rqb,2,1,"div",45);H(3,"button",57);M("click",function(){x(b);var d=O().$implicit;O(6);d.includeSubs=!d.includeSubs;return z()});J(4,"mat-icon",47);I();H(5,"button",48);M("click",function(){x(b);var d=O().$implicit,e=O(4).$implicit,g=O(2);return z(ys(g,e,d))});I()()}if(a&2){a=O().$implicit;var c=O(6);B(1);F("ngIf",c.chipUnderEdit!==
a);B(1);F("ngIf",c.chipUnderEdit===a);B(1);F("title",a.includeSubs?"Subteams are included":"Subteams are not included");pf("aria-checked",a.includeSubs);B(1);F("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},Tqb=function(a,b){a&1&&(K(0),P(1,Sqb,6,5,"div",55),L());a&2&&(a=b.$implicit,b=O(6),B(1),F("ngIf",b.chipUnderEdit===a||a.value))},Uqb=function(a){if(a&1){var b=w();H(0,"button",40);M("click",function(){x(b);var c=O(4).$implicit,d=O(2);return z(zs(d,c))});R(1);I()}a&2&&(a=
O(4).$implicit,B(1),Mf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Vqb=function(a){a&1&&(K(0),P(1,Tqb,2,1,"ng-container",41),P(2,Uqb,2,1,"button",36),L());a&2&&(a=O(3).$implicit,B(1),F("ngForOf",a.values),B(1),F("ngIf",a.type))},Wqb=function(a){a&1&&(H(0,"div",34),P(1,Vqb,3,2,"ng-container",24),I());a&2&&(a=O(4),B(1),F("ngIf",a.sessionIsInternal))},Yqb=function(a){if(a&1){var b=w();H(0,"div")(1,"bv2-input-date-picker",59);M("boundValueChange",function(c){x(b);O(3).$implicit.dateFrom=Xqb(c);
return z()});I();R(2," and ");H(3,"bv2-input-date-picker",59);M("boundValueChange",function(c){x(b);O(3).$implicit.dateTo=Xqb(c);return z()});I()()}a&2&&(a=O(3).$implicit,B(1),F("boundValue",a.dateFrom)("isRequired",!0),B(2),F("boundValue",a.dateTo)("isRequired",!0))},Zqb=function(a){if(a&1){var b=w();H(0,"div");R(1," the last ");H(2,"input",60);M("ngModelChange",function(c){x(b);var d=O(3).$implicit;return z(d.duration=c)});I();R(3," days. ");I()}a&2&&(a=O(3).$implicit,B(2),F("ngModel",a.duration))},
$qb=function(a){if(a&1){var b=w();H(0,"div")(1,"bv2-input-date-picker",59);M("boundValueChange",function(c){x(b);O(3).$implicit.dateFrom=Xqb(c);return z()});I()()}a&2&&(a=O(3).$implicit,B(1),F("boundValue",a.dateFrom)("isRequired",!0))},arb=function(a){a&1&&(H(0,"div"),P(1,Yqb,4,4,"div",24),P(2,Zqb,4,1,"div",24),P(3,$qb,2,2,"div",24),I());a&2&&(a=O(2).$implicit,B(1),F("ngIf","RANGE"==a.type||"NRANGE"==a.type),B(1),F("ngIf","DURATION"==a.type||"NDURATION"==a.type),B(1),F("ngIf","LE"==a.type||"LT"==
a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},brb=function(a){if(a&1){var b=w();H(0,"div",49);M("click",function(){x(b);var d=O(2).$implicit,e=O(5);return z(Bs(e,d))});H(1,"span",50);R(2);I()()}if(a&2){a=O(2).$implicit;var c=O(5);F("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);B(2);Mf(" ",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value," ")}},crb=function(a,b){a&1&&(H(0,"mat-option",13),R(1),I());a&2&&(a=b.$implicit,F("value",a.hotlistId),B(1),
Mf(" ",a.name," "))},drb=function(a){if(a&1){var b=w();H(0,"mat-form-field",64)(1,"mat-select",65);M("ngModelChange",function(d){x(b);var e=O(2).$implicit;return z(e.value=d)})("selectionChange",function(){x(b);var d=O(7);return z(As(d))});P(2,crb,2,2,"mat-option",12);I()()}if(a&2){a=O(2).$implicit;var c=O(5);B(1);F("ngModel",a.value);B(1);F("ngForOf",c.userHotlists)}},erb=function(a){if(a&1){var b=w();H(0,"div",62);P(1,brb,3,2,"div",44);P(2,drb,3,2,"mat-form-field",63);H(3,"button",48);M("click",
function(){x(b);var d=O().$implicit,e=O(3).$implicit,g=O(2);return z(ys(g,e,d))});I()()}if(a&2){a=O().$implicit;var c=O(5);B(1);F("ngIf",c.chipUnderEdit!==a);B(1);F("ngIf",c.chipUnderEdit===a)}},frb=function(a,b){a&1&&(K(0),P(1,erb,4,2,"div",61),L());a&2&&(a=b.$implicit,b=O(5),B(1),F("ngIf",b.chipUnderEdit===a||a.value))},grb=function(a){if(a&1){var b=w();H(0,"button",40);M("click",function(){x(b);var c=O(3).$implicit,d=O(2);return z(zs(d,c))});R(1);I()}a&2&&(a=O(3).$implicit,B(1),Mf(" + ","OR"==
a.type||"NAND"==a.type?"OR":"AND"," "))},hrb=function(a){a&1&&(H(0,"div",34),P(1,frb,2,1,"ng-container",41),P(2,grb,2,1,"button",36),I());a&2&&(a=O(2).$implicit,B(1),F("ngForOf",a.values),B(1),F("ngIf",a.type))},irb=function(a){if(a&1){var b=w();H(0,"div",49);M("click",function(){x(b);var d=O(2).$implicit,e=O(5);return z(Bs(e,d))});H(1,"span",50);R(2);I()()}if(a&2){a=O(2).$implicit;var c=O(5);F("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);B(2);Mf(" ",(null==
c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value," ")}},jrb=function(a,b){a&1&&(H(0,"mat-option",13),R(1),I());a&2&&(a=b.$implicit,F("value",a.searchId),B(1),Mf(" ",a.name," "))},krb=function(a){if(a&1){var b=w();H(0,"mat-form-field",64)(1,"mat-select",66);M("ngModelChange",function(d){x(b);var e=O(2).$implicit;return z(e.value=d)})("selectionChange",function(){x(b);var d=O(7);return z(As(d))});P(2,jrb,2,2,"mat-option",12);I()()}if(a&2){a=O(2).$implicit;var c=O(5);B(1);F("ngModel",
a.value);B(1);F("ngForOf",c.userSavedSearches)}},lrb=function(a){if(a&1){var b=w();H(0,"div",62);P(1,irb,3,2,"div",44);P(2,krb,3,2,"mat-form-field",63);H(3,"button",48);M("click",function(){x(b);var d=O().$implicit,e=O(3).$implicit,g=O(2);return z(ys(g,e,d))});I()()}if(a&2){a=O().$implicit;var c=O(5);B(1);F("ngIf",c.chipUnderEdit!==a);B(1);F("ngIf",c.chipUnderEdit===a)}},mrb=function(a,b){a&1&&(K(0),P(1,lrb,4,2,"div",61),L());a&2&&(a=b.$implicit,b=O(5),B(1),F("ngIf",b.chipUnderEdit===a||a.value))},
nrb=function(a){if(a&1){var b=w();H(0,"button",40);M("click",function(){x(b);var c=O(3).$implicit,d=O(2);return z(zs(d,c))});R(1);I()}a&2&&(a=O(3).$implicit,B(1),Mf(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},orb=function(a){a&1&&(H(0,"div",34),P(1,mrb,2,1,"ng-container",41),P(2,nrb,2,1,"button",36),I());a&2&&(a=O(2).$implicit,B(1),F("ngForOf",a.values),B(1),F("ngIf",a.type))},prb=function(a){a&1&&(H(0,"div",22),P(1,rqb,2,1,"div",23),P(2,wqb,5,4,"div",24),P(3,zqb,3,2,"div",25),P(4,Gqb,3,
2,"div",25),P(5,Nqb,3,2,"div",25),P(6,Wqb,2,1,"div",25),P(7,arb,4,3,"div",24),P(8,hrb,3,2,"div",25),P(9,orb,3,2,"div",25),I());if(a&2){a=O().$implicit;var b=O(2);B(1);F("ngIf","enum"===a.getWidgetType());B(1);F("ngIf",a instanceof Cs);B(1);F("ngIf","text"==a.getWidgetType());B(1);F("ngIf","component"==a.getWidgetType());B(1);F("ngIf",b.isTrackerSearchEnabled&&"tracker"==a.getWidgetType());B(1);F("ngIf","team"==a.getWidgetType());B(1);F("ngIf","date"===a.getWidgetType());B(1);F("ngIf","hotlist"==a.getWidgetType());
B(1);F("ngIf","savedsearch"==a.getWidgetType())}},qrb=function(a){a&1&&(H(0,"div",67),R(1),I());if(a&2){a=O().$implicit;var b=O(2);B(1);Mf(" ",b.getCustomFieldName(a)," ")}},trb=function(a){if(a&1){var b=w();H(0,"div",68)(1,"b-custom-field-picker",69);M("fieldSelected",function(c){x(b);var d=O().index,e=O(2),g=c.customFieldId;e.customFields[g]=c;e.expressions[d]=rrb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[g]);srb(e,e.expressions[d]);return z()});I()()}},vrb=function(a,b){if(a&1){var c=w();
H(0,"div",14)(1,"div",15)(2,"mat-form-field",10)(3,"mat-select",16);M("ngModelChange",function(d){var e=x(c).$implicit;return z(e.label.field=d)})("selectionChange",function(){var d=x(c).index,e=O(2);return z(urb(e,d))});P(4,nqb,2,2,"mat-option",12);I()();P(5,pqb,3,2,"mat-form-field",3);I();H(6,"button",17);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.removeExpression(d))});I();P(7,prb,10,9,"div",18);P(8,qrb,2,1,"div",19);P(9,trb,2,0,"div",20);I()}a&2&&(a=b.$implicit,b=O(2),B(3),F("ngModel",
a.label.field),B(1),F("ngForOf",b.availableLabels),B(1),F("ngIf",!a.isPendingCustomField),B(2),F("ngIf",!a.isPendingCustomField),B(1),F("ngIf",a.label.customFieldId),B(1),F("ngIf",a.isPendingCustomField))},wrb=function(a,b){if(a&1){var c=w();H(0,"button",70);M("click",function(){var d=x(c).$implicit,e=O(2);e.expressions.push({label:{field:d[0]}});urb(e,e.expressions.length-1);return z()});R(1);I()}a&2&&(a=b.$implicit,B(1),Mf(" ",a[1]," "))},xrb=function(a){a&1&&(H(0,"div",1)(1,"span",2),R(2,"Advanced search query builder"),
I(),P(3,mqb,4,4,"mat-form-field",3),P(4,vrb,10,6,"div",4),H(5,"div",5)(6,"button",6),R(7),I(),H(8,"mat-menu",7,8),P(10,wrb,2,1,"button",9),I()()());if(a&2){var b=Lf(9);a=O();B(3);F("ngIf",a.expressions.length);B(1);F("ngForOf",a.expressions)("ngForTrackBy",a.trackByIndex);B(2);F("matMenuTriggerFor",b);B(1);Mf(" ",a.expressionType," ... ");B(3);F("ngForOf",a.availableLabels)}},Arb=function(a){return{experimentId:a.getExperimentId(),state:yrb[a.getState()],userGroup:zrb[aj(a,3,0)],title:a.getTitle(),
description:a.getDescription(),learnMoreLink:V(a,6)}},Brb=function(a){a&1&&J(0,"div",3)},Crb=function(a){a&1&&J(0,"div",4)},Erb=function(a){if(a&1){var b=w();H(0,"button",2);M("click",function(){x(b);var c=O();return z(Drb(c))});J(1,"mat-icon",3);R(2);I()}a&2&&(a=O(),F("matTooltip","Open release notes"),B(1),F("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),B(1),Mf(" ",a.buttonLabel," "))},Frb=function(a){if(a&1){var b=w();H(0,"button",4);M("click",function(){x(b);var c=O();return z(Drb(c))});
R(1);I()}a&2&&(a=O(),B(1),Mf(" ",a.buttonLabel," "))},Grb=function(a){if(a&1){var b=w();H(0,"button",9);M("click",function(c){x(b);var d=O();return z(d.manageSlos(c))});R(1,"Manage SLOs");I()}},Hrb=function(a){a&1&&(H(0,"a",13),R(1,"Early Access "),J(2,"b-feature-stage-label",14),I())},Irb=function(a){a&1&&(K(0),J(1,"mat-divider")(2,"b-whats-new-button",15),L());a&2&&(B(2),F("menuMode",!0))},Jrb=function(a){a&1&&J(0,"b-whats-new-button",4);a&2&&(a=O(),F("alertMode",a.majorReleaseNotesUpdated))},Krb=
function(a){if(a&1){var b=w();H(0,"button",5);M("click",function(){x(b);O().userFeedback.startFeedback();return z()});J(1,"mat-icon",6);I()}},Lrb=function(a,b){if(a&1){var c=w();H(0,"button",6);M("click",function(){var d=x(c).$implicit,e=O();e.currentTracker.setTrackerId(d.trackerId);e.appSearchState.searchTriggered$.next("switch-trackers");return z()});J(1,"img",7);H(2,"span",8);R(3);I()()}a&2&&(a=b.$implicit,F("value",a.trackerId),pf("title",a.name),B(1),F("src",null==a.branding?null:a.branding.logoUrl,
Sd),B(2),Nf(a.name))},Mrb=function(a){if(a&1){var b=w();H(0,"button",5);M("click",function(){x(b);var c=O();return z(c.clickMenu.emit())});J(1,"mat-icon",6);I()}},Prb=function(a,b){a&1&&(H(0,"output",7),R(1),I());a&2&&(a=b.$implicit,F("ngClass",a.color?Sf(2,Nrb,a.color):Rf(4,Orb)),B(1),Nf(a.name))},Qrb=function(a){a&1&&J(0,"tracker-switcher",2);a&2&&(a=O(),F("associatedTrackers",a.associatedTrackers))},Rrb=function(a){a&1&&(H(0,"span"),R(1," Currently selected hotlist: "),H(2,"strong"),R(3),I()());
a&2&&(a=O(3),B(3),Nf(a.header.hotlist.name))},Srb=function(a){a&1&&R(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},Trb=function(a){a&1&&(K(0),P(1,Rrb,4,1,"span",5),P(2,Srb,1,0,"ng-template",null,6,hg),L());if(a&2){var b=Lf(3);a=O(2);B(1);F("ngIf",a.header.hotlist)("ngIfElse",b)}},Urb=function(a){a&1&&(H(0,"span"),R(1,"Currently selected saved search: "),H(2,"strong"),R(3),I()());a&2&&(a=O(3),B(3),Nf(a.header.savedSearch.name))},Vrb=function(a){a&1&&R(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},
Wrb=function(a){a&1&&(K(0),P(1,Urb,4,1,"span",5),P(2,Vrb,1,0,"ng-template",null,7,hg),L());if(a&2){var b=Lf(3);a=O(2);B(1);F("ngIf",a.header.savedSearch)("ngIfElse",b)}},Xrb=function(a){a&1&&(H(0,"span"),R(1," and "),H(2,"strong"),R(3,"subcomponents"),I()())},Yrb=function(a){a&1&&(H(0,"span"),R(1," Currently selected component: "),H(2,"strong",9),R(3),I(),J(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),P(6,Xrb,4,0,"span",4),I());if(a&2){a=O(3);B(3);var b=a.header.component;var c=Ds(a.currentTracker,
b.componentPathInfo);b=c&&c.componentPathName?c.componentPathName.join(" > "):b.name;Nf(b);B(1);F("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);B(1);F("trackerId",a.header.component.trackerId);B(1);F("ngIf",a.header.includeChildren)}},Zrb=function(a){a&1&&R(0," Start typing a component name or ID to see auto-complete suggestions. ")},$rb=function(a){a&1&&(K(0),P(1,Yrb,7,4,"span",5),P(2,Zrb,1,0,"ng-template",null,8,hg),L());if(a&2){var b=Lf(3);
a=O(2);B(1);F("ngIf",a.header.component)("ngIfElse",b)}},asb=function(a){a&1&&(H(0,"span"),R(1," Currently selected tracker: "),H(2,"strong"),R(3),I()());a&2&&(a=O(3),B(3),Nf(a.header.tracker.name))},bsb=function(a){a&1&&R(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},csb=function(a){a&1&&(K(0),P(1,asb,4,1,"span",5),P(2,bsb,1,0,"ng-template",null,12,hg),L());if(a&2){var b=Lf(3);a=O(2);B(1);F("ngIf",a.header.tracker)("ngIfElse",b)}},dsb=function(a){a&1&&(H(0,"span"),R(1,
" and "),H(2,"strong"),R(3,"subteams"),I()())},esb=function(a){a&1&&(H(0,"span"),R(1," Currently selected team: "),H(2,"strong"),R(3),I(),P(4,dsb,4,0,"span",4),I());a&2&&(a=O(3),B(3),Nf(a.header.team.name),B(1),F("ngIf",a.header.includeChildren))},fsb=function(a){a&1&&R(0," Start typing a team name or ID to see auto-complete suggestions. ")},gsb=function(a){a&1&&(K(0),P(1,esb,5,2,"span",5),P(2,fsb,1,0,"ng-template",null,13,hg),L());if(a&2){var b=Lf(3);a=O(2);B(1);F("ngIf",a.header.team)("ngIfElse",
b)}},hsb=function(a,b){a&1&&(H(0,"span"),R(1," Currently selected custom field: "),H(2,"strong"),R(3),I(),R(4," of type "),H(5,"strong"),R(6),S(7,"lowercase"),I(),R(8,". "),I());a&2&&(a=b.$implicit,B(3),Nf(a.name),B(3),Nf(T(7,2,a.type)))},isb=function(a){a&1&&R(0," customfield[id]: [value] ")},jsb=function(a){a&1&&(K(0),P(1,hsb,9,4,"span",5),P(2,isb,1,0,"ng-template",null,14,hg),L());if(a&2){var b=Lf(3);a=O(2);B(1);F("ngIf",a.header.customField)("ngIfElse",b)}},ksb=function(a){a&1&&(H(0,"div",3),
P(1,Trb,4,2,"ng-container",4),P(2,Wrb,4,2,"ng-container",4),P(3,$rb,4,2,"ng-container",4),P(4,csb,4,2,"ng-container",4),P(5,gsb,4,2,"ng-container",4),P(6,jsb,4,2,"ng-container",4),I());a&2&&(a=O(),B(1),F("ngIf","hotlist"===a.header.type),B(1),F("ngIf","savedsearch"===a.header.type),B(1),F("ngIf","component"===a.header.type),B(1),F("ngIf","tracker"===a.header.type),B(1),F("ngIf","team"===a.header.type),B(1),F("ngIf","customfield"===a.header.type))},lsb=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&
(a=O().$implicit,B(1),Of(" ",a.id,": ",a.name," "))},msb=function(a){a&1&&(H(0,"span"),R(1),H(2,"span"),R(3),I()());a&2&&(a=O().$implicit,B(1),Mf(" Hotlist ",a.hotlistId,": "),B(2),Nf(a.name))},nsb=function(a){a&1&&(H(0,"span"),R(1),H(2,"span"),R(3),I(),J(4,"br"),H(5,"span",16),R(6),I()());a&2&&(a=O().$implicit,B(1),Mf(" Saved search ",a.searchId,": "),B(2),Nf(a.name),B(3),Nf(a.query))},osb=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Mf(" ",a.name," "))},psb=function(a){a&1&&
(H(0,"span"),R(1," > "),I())},rsb=function(a,b){if(a&1){var c=w();K(0);H(1,"span",19);M("click",function(d){var e=x(c).$implicit;qsb(e);return z(d.stopPropagation())});R(2);I();P(3,psb,2,0,"span",4);L()}a&2&&(a=b.$implicit,b=b.last,B(1),Kf("title","",a.id,": ",a.name,""),B(1),Nf(a.name),B(1),F("ngIf",!b))},ssb=function(a){a&1&&(H(0,"span"),R(1," Component "),H(2,"strong",9),R(3),I(),J(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),H(6,"span",17),P(7,rsb,4,4,"ng-container",18),I()());
a&2&&(a=O().$implicit,B(3),Nf(a.componentId),B(1),F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),B(1),F("trackerId",a.trackerId),B(2),F("ngForOf",a.componentPath))},tsb=function(a){a&1&&(H(0,"span"),R(1),H(2,"span"),R(3),I()());a&2&&(a=O().$implicit,B(1),Mf(" Tracker ",a.trackerId,": "),B(2),Nf(a.name))},usb=function(a){a&1&&(H(0,"span"),R(1," > "),I())},vsb=function(a,b){if(a&1){var c=w();K(0);H(1,"span",19);M("click",function(d){var e=x(c).$implicit;qsb(e);return z(d.stopPropagation())});
R(2);I();P(3,usb,2,0,"span",4);L()}a&2&&(a=b.$implicit,b=b.last,B(1),Kf("title","",a.id,": ",a.name,""),B(1),Nf(a.name),B(1),F("ngIf",!b))},wsb=function(a){a&1&&(H(0,"span"),R(1," Team "),H(2,"strong"),R(3),I(),H(4,"span",17),P(5,vsb,4,4,"ng-container",18),I()());a&2&&(a=O().$implicit,B(3),Nf(a.id),B(2),F("ngForOf",a.teamPath))},xsb=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Of(" ",a.label,": ",a.name," "))},zsb=function(a,b){if(a&1){var c=w();H(0,"b-app-search-auto-complete-option",
15);M("optionClicked",function(e){x(c);var g=O();0<=e&&e<g.items.length&&(e=g.items[e],e.id&&e.completionCfg&&ysb(e),g.itemSelected.emit(e));return z()});P(1,lsb,2,2,"span",4);P(2,msb,4,2,"span",4);P(3,nsb,7,3,"span",4);P(4,osb,2,1,"span",4);P(5,ssb,8,4,"span",4);P(6,tsb,4,2,"span",4);P(7,wsb,6,2,"span",4);P(8,xsb,2,2,"span",4);I()}if(a&2){a=b.$implicit;b=b.index;var d=O();rf("id","b-app-search-option-",b,"");F("index",b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);B(1);F("ngIf","issue"===
a.completionCfg.type);B(1);F("ngIf","hotlist"===a.completionCfg.type);B(1);F("ngIf","savedsearch"===a.completionCfg.type);B(1);F("ngIf","atom"===a.completionCfg.type);B(1);F("ngIf","component"===a.completionCfg.type);B(1);F("ngIf","tracker"===a.completionCfg.type);B(1);F("ngIf","team"===a.completionCfg.type);B(1);F("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},Bsb=function(a){if(a&1){var b=w();H(0,"div",21)(1,"input",22,23);M("ngModelChange",function(c){x(b);var d=O();return z(d.searchName=
c)})("keydown.Tab",function(){x(b);var c=O();return z(Asb(c))})("keydown.enter",function(){x(b);var c=O();return z(c.saveSearch())});I();H(3,"button",24);M("click",function(){x(b);var c=O();return z(c.saveSearch())});J(4,"mat-icon",25);I()()}a&2&&(a=O(),B(1),F("ngModel",a.searchName),B(2),F("disabled",!a.searchName))},Csb=function(a){a&1&&(K(0),H(1,"span",10),R(2),I(),L());a&2&&(a=O(),B(1),yf("muted",a.disabled),B(1),Nf(a.cardTitle))},Dsb=function(a){a&1&&J(0,"mat-icon",11)},Esb=function(a){a&1&&
J(0,"mat-icon",12)},Fsb=function(a){a&1&&(H(0,"mat-select-trigger"),J(1,"mat-icon",20),H(2,"span"),R(3),I()());a&2&&(a=O(3),B(1),F("svgIcon",a.selectedOption.icon),B(2),Nf(a.selectedOption.displayText))},Gsb=function(a){a&1&&J(0,"mat-icon",20);a&2&&(a=O().$implicit,F("svgIcon",a.icon))},Hsb=function(a,b){a&1&&(H(0,"mat-option",21),P(1,Gsb,1,1,"mat-icon",22),R(2),I());a&2&&(a=b.$implicit,F("value",a),B(1),F("ngIf",a.icon),B(1),Mf("",a.displayText," "))},Isb=function(a){if(a&1){var b=w();H(0,"mat-form-field",
16)(1,"mat-label");R(2," Choose type... ");I();H(3,"mat-select",17);M("valueChange",function(c){x(b);var d=O(2);return z(d.selectedOption=c)})("selectionChange",function(c){x(b);O(2).dropdownSelectionChanged.emit(c.value);return z()});P(4,Fsb,4,2,"mat-select-trigger",18);P(5,Hsb,3,3,"mat-option",19);I()()}a&2&&(a=O(2),B(3),F("disabled",a.disabled)("value",a.selectedOption),B(1),F("ngIf",a.selectedOption&&a.selectedOption.icon),B(1),F("ngForOf",a.dropdownOptions))},Jsb=function(a){if(a&1){var b=w();
H(0,"mat-form-field",13)(1,"input",14);M("ngModelChange",function(c){x(b);var d=O();return z(d.cardTitleChange.emit(c))});I()();P(2,Isb,6,4,"mat-form-field",15)}a&2&&(a=O(),B(1),yf("muted",a.disabled||!a.selected),F("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),pf("aria-label",a.ariaLabelForCardTitle),B(1),F("ngIf",a.dropdownOptions.length))},Ksb=function(a){a&1&&(H(0,"div",23),Hf(1),I())},Lsb=function(a){a&1&&(H(0,"button",31),J(1,"mat-icon",
32),I());a&2&&(a=O(2),F("disabled",a.disabled))},Msb=function(a){a&1&&J(0,"mat-divider",33);a&2&&F("vertical",!0)},Nsb=function(a){a&1&&(H(0,"mat-slide-toggle",34),R(1," Required "),I());a&2&&(a=O(2),F("disabled",a.disabled))},Osb=function(a){if(a&1){var b=w();H(0,"mat-slide-toggle",35);M("change",function(c){x(b);var d=O(2);return z(d.isInheritedChange.emit(c))});R(1," Inherited ");I()}a&2&&(a=O(2),F("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",
!a.inheritedDisabled))},Psb=function(a){if(a&1){var b=w();H(0,"div",24)(1,"button",25);M("click",function(){x(b);var c=O();return z(c.onSave())});R(2," Save ");I();H(3,"button",26);M("click",function(){x(b);var c=O();return z(c.onCancel())});R(4," Cancel ");I();P(5,Lsb,2,1,"button",27);P(6,Msb,1,1,"mat-divider",28);P(7,Nsb,2,1,"mat-slide-toggle",29);P(8,Osb,2,4,"mat-slide-toggle",30);I()}a&2&&(a=O(),B(1),F("disabled",a.isSaveButtonDisabled),B(2),F("disabled",a.disabled),B(2),F("ngIf",a.showDeleteButton),
B(1),F("ngIf",a.showDeleteButton&&a.showRequiredToggle),B(1),F("ngIf",a.showRequiredToggle),B(1),F("ngIf",a.showInheritedToggle))},Qsb=function(a){return{fieldId:Wqa(a.getFieldId()),stateOnIssues:bra[a.getStateOnIssues()],enabledOnIssues:a.getEnabledOnIssues()}},Rsb=function(a){a&1&&(H(0,"h3"),R(1),I());a&2&&(a=O(2),B(1),Mf(" Edit Custom Field ",a.editableField.customFieldId," "))},Ssb=function(a){a&1&&(H(0,"h3"),R(1," Create Custom Field "),I())},Tsb=function(a){a&1&&(H(0,"div",40),R(1),I());a&2&&
(a=O(2),B(1),Mf(" ",a.serverError," "))},Vsb=function(a,b){a&1&&(H(0,"button",41),R(1),S(2,"enumToHuman"),I());if(a&2){a=b.$implicit;O();var c=Lf(32);F("matMenuTriggerFor",c)("matMenuTriggerData",Sf(5,Usb,a));B(1);Mf(" ",T(2,3,a)," ")}},Wsb=function(a,b){if(a&1){var c=w();H(0,"button",43);M("click",function(){var d=x(c).$implicit,e=O().type,g=O(2);return z(g.setType(e,"Multiple"===d))});R(1);I()}a&2&&(a=b.$implicit,B(1),Mf(" ",a," "))},Xsb=function(a){a&1&&P(0,Wsb,2,1,"button",42);a&2&&(a=O(2),F("ngForOf",
a.secondaryTypes))},Zsb=function(a){if(a&1){var b=w();H(0,"td",7)(1,"label",44);R(2," Allowed Values: ");I();H(3,"b-list-field",45);M("valuesChange",function(c){x(b);var d=O(2);return z(Ysb(d,c.values))});I()()}a&2&&(a=O(2),B(3),F("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},$sb=function(a){a&1&&(H(0,"label",46),R(1," Default Value: "),I())},
ctb=function(a,b){if(a&1){var c=w();H(0,"b-edit-field",47);M("valueChange",function(d){x(c);var e=O(2);atb(e,d);return z()});I()}a&2&&(a=b.ngIf,b=O(2),F("name","Default")("type",a)("tooltip","Set default value")("value",btb(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},dtb=function(a){a&1&&(H(0,"label",48),R(1," Default Values: "),I())},etb=function(a,b){if(a&1){var c=w();H(0,"b-list-field",49);M("valuesChange",function(d){x(c);var e=O(2);
atb(e,d.values);return z()});I()}a&2&&(a=b.ngIf,b=O(2),F("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",b.isSaving)("truncate",!0))},ftb=function(a,b){if(a&1){var c=w();H(0,"button",50);M("click",function(){var d=x(c).$implicit,e=O(2);return z(e.setFieldSignificance(d))});R(1);S(2,"enumToHuman");I()}a&2&&(a=b.$implicit,B(1),Mf(" ",T(2,1,a)," "))},gtb=function(a){if(a&
1){var b=w();H(0,"div",4);P(1,Rsb,2,1,"h3",3);P(2,Ssb,2,0,"h3",3);P(3,Tsb,2,1,"div",5);H(4,"form",6)(5,"div",7)(6,"label",8);R(7,"Name:");I();H(8,"input",9);M("ngModelChange",function(h){x(b);var m=O();return z(m.editableField.name=h)});I()();H(9,"div",7)(10,"label",10);R(11,"Description:");I();H(12,"textarea",11);M("ngModelChange",function(h){x(b);var m=O();return z(m.editableField.description=h)});I()();H(13,"table",12)(14,"tr")(15,"td",7)(16,"div",13)(17,"label",14);R(18," Type: ");I();H(19,"onedev-hovercard",
null,15)(21,"div",16)(22,"div",17);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. ");I()()()();H(24,"button",18);R(25);S(26,"enumToHuman");J(27,"b-icon",19);I();H(28,"mat-menu",null,20);P(30,Vsb,3,7,"button",21);I();H(31,"mat-menu",null,22);P(33,Xsb,1,1,"ng-template",23);I()();P(34,Zsb,4,7,"td",24);H(35,"td",7);P(36,$sb,2,0,"label",25);P(37,ctb,1,9,"b-edit-field",26);P(38,dtb,2,0,"label",27);P(39,etb,1,8,"b-list-field",
28);I();H(40,"td",7)(41,"label",29);R(42," Required: ");I();H(43,"b-edit-field",30);M("valueChange",function(h){x(b);var m=O();return z(m.editableField.required=!!h)});I()();H(44,"td",7)(45,"div",13)(46,"label",31);R(47," Field Significance: ");I();H(48,"onedev-hovercard",null,32)(50,"div",33)(51,"div",17);R(52," This affects whether users will receive notifications when changes are made to this field. ");J(53,"br");R(54," See\u00a0 ");H(55,"a",34);R(56,"Email Settings ");I()()()()();H(57,"button",
35);R(58);S(59,"enumToHuman");J(60,"b-icon",19);I();H(61,"mat-menu",null,36);P(63,ftb,3,3,"button",37);I()()()();H(64,"button",38);M("click",function(){x(b);var h=O();return z(h.save())});R(65," Save ");I();H(66,"button",39);M("click",function(){x(b);var h=O();return z(h.cancel())});R(67," Cancel ");I()()()}if(a&2){var c=Lf(20),d=Lf(29),e=Lf(49),g=Lf(62);a=O();B(1);F("ngIf",!!a.editableField.customFieldId);B(1);F("ngIf",!a.editableField.customFieldId);B(1);F("ngIf",a.serverError);B(5);F("bFocus",
a.editableField&&!a.isLoading)("ngModel",a.editableField.name)("disabled",a.isSaving);B(4);F("ngModel",a.editableField.description)("disabled",a.isSaving);B(5);F("onedevHovercardTrigger",c);B(7);F("matMenuTriggerFor",d)("disabled",!!a.editableField.customFieldId);B(1);Mf(" ",T(26,28,a.editableField.type)," ");B(5);F("ngForOf",a.typeChoices);B(4);F("ngIf",["REPEATED_ENUM","ENUM"].includes(a.editableField.type));B(2);F("ngIf",!a.editableField.isRepeated());B(1);F("ngIf",a.getSingleEditFieldType(a.editableField));
B(1);F("ngIf",a.editableField.isRepeated());B(1);F("ngIf",a.getListFieldType(a.editableField));B(4);F("name","Required")("type",a.FieldType.BOOL)("tooltip","Whether the field is required")("value",a.editableField.required);B(3);F("onedevHovercardTrigger",e);B(9);F("href",a.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Sd);B(2);F("matMenuTriggerFor",g);B(1);Mf(" ",T(59,30,a.editableField.fieldSignificance)," ");B(5);F("ngForOf",a.significanceChoices);B(1);F("disabled",!a.hasUnsavedChanges()||
!a.editableField.name)}},htb=function(a){a&1&&(H(0,"div",51),J(1,"b-spinner",52),I());a&2&&(B(1),F("large",!0))},itb=function(a){a&1&&(H(0,"th"),R(1,"Actions"),I())},ktb=function(a){if(a&1){var b=w();H(0,"td",59)(1,"button",60);M("click",function(){x(b);var c=O().index,d=O(2);return z(d.editField(c))});R(2,"Edit");I();H(3,"button",60);M("click",function(){x(b);var c=O().index,d=O(2);return z(jtb(d,c))});R(4,"Delete");I()()}},ltb=function(a,b){a&1&&(H(0,"tr",56)(1,"td"),R(2),I(),H(3,"td"),R(4),I(),
H(5,"td"),R(6),S(7,"enumToHuman"),I(),H(8,"td"),R(9),I(),H(10,"td"),R(11),S(12,"yesNo"),I(),H(13,"td"),J(14,"b-custom-field-value-display",57),I(),H(15,"td"),R(16),S(17,"arrayToHuman"),I(),H(18,"td"),R(19),S(20,"enumToHuman"),I(),P(21,ktb,5,0,"td",58),I());a&2&&(a=b.$implicit,b=O(2),F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),B(2),Nf(a.name),B(2),Nf(a.customFieldId),B(2),Nf(T(7,10,a.type)),B(3),Nf(a.description),B(2),Nf(T(12,12,a.required)),B(3),F("customFieldValue",a.typedDefaultValue),
B(2),Nf(T(17,14,a.allowedValue)),B(3),Nf(T(20,16,a.fieldSignificance)),B(2),F("ngIf",b.editMode))},mtb=function(a){a&1&&(H(0,"tr")(1,"td",61),R(2," There are no custom fields defined on this component. "),I()())},ntb=function(a){a&1&&(H(0,"tr")(1,"td",62)(2,"strong"),R(3,"Fields inherited from parent components"),I()()())},otb=function(a){a&1&&(K(0),J(1,"b-component-card",69,70),L());if(a&2){var b=Lf(2);a=O().$implicit;B(1);F("onedevIsHovercardReady",b.init)("componentId",a.componentId.toString())}},
qtb=function(a){if(a&1){var b=w();H(0,"b-field-state-menu",71,72);M("fieldStateChange",function(d){x(b);var e=O(),g=e.$implicit;e=e.index;var h=O(3);return z(h.updateCustomFieldState(g,d,e))});I()}if(a&2){a=O().$implicit;var c=O(3);F("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",ptb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);pf("aria-label",c.msgFieldStateTip)}},rtb=function(a,b){if(a&1){var c=w();H(0,"tr",56)(1,"td");R(2);I();H(3,"td");R(4);
I();H(5,"td");R(6);S(7,"enumToHuman");I();H(8,"td");R(9);I();H(10,"td");R(11);S(12,"yesNo");I();H(13,"td");J(14,"b-custom-field-value-display",57);I();H(15,"td");R(16);S(17,"arrayToHuman");I();H(18,"td");R(19);S(20,"enumToHuman");I();H(21,"td",59)(22,"div",63)(23,"div",64);R(24,"Inherited From");I();H(25,"a",65);M("click",function(){x(c);var e=O(3);return z(e.trackClick("parentCustomFields"))});R(26);I();H(27,"onedev-hovercard",null,66);P(29,otb,3,2,"ng-container",67);I()();P(30,qtb,2,6,"b-field-state-menu",
68);I()()}if(a&2){a=b.$implicit;var d=Lf(28);b=O(3);F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");B(2);Nf(a.name);B(2);Nf(a.customFieldId);B(2);Nf(T(7,13,a.type));B(3);Nf(a.description);B(2);Nf(T(12,15,a.required));B(3);F("customFieldValue",a.typedDefaultValue);B(2);Nf(T(17,17,a.allowedValue));B(3);Nf(T(20,19,a.fieldSignificance));B(6);F("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId,"customFields"),Sd);B(1);Mf(" ",b.componentIdsToNames[a.componentId]," ");
B(4);F("ngIf",b.editMode)}},stb=function(a){a&1&&(K(0),P(1,rtb,31,21,"tr",54),L());a&2&&(a=O(2),B(1),F("ngForOf",a.inheritedCustomFields))},ttb=function(a){a&1&&(H(0,"tfoot")(1,"tr")(2,"td",62),R(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),H(4,"a",73),R(5,"Field Ordering"),I(),R(6," tab."),J(7,"br"),R(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),I()()())},utb=function(a){if(a&
1){var b=w();H(0,"div",74)(1,"button",75);M("click",function(){x(b);var c=O(2);c.editableField=new mi;c.originalEditableFieldValue=Zh(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return z()});R(2," Add a Custom Field ");I()()}},vtb=function(a){a&1&&(H(0,"div")(1,"table",53)(2,"tr")(3,"th"),R(4,"Name"),I(),H(5,"th"),R(6,"ID"),I(),H(7,"th"),R(8,"Type"),I(),H(9,"th"),R(10,"Description"),I(),H(11,"th"),R(12,"Required?"),I(),H(13,"th"),R(14,"Default Value"),I(),H(15,"th"),R(16,
"Allowed Values"),I(),H(17,"th"),R(18,"Field Significance"),I(),P(19,itb,2,0,"th",3),I(),P(20,ltb,22,18,"tr",54),P(21,mtb,3,0,"tr",3),P(22,ntb,4,0,"tr",3),P(23,stb,2,1,"ng-container",3),P(24,ttb,9,0,"tfoot",3),I(),P(25,utb,3,0,"div",55),I());a&2&&(a=O(),B(19),F("ngIf",a.editMode),B(1),F("ngForOf",a.customFields),B(1),F("ngIf",!a.customFields.length),B(1),F("ngIf",a.inheritedCustomFields.length),B(1),F("ngIf",a.inheritedCustomFields.length),B(1),F("ngIf",a.customFields.length),B(1),F("ngIf",a.editMode))},
wtb=function(a){if(a&1){var b=w();H(0,"button",18);M("click",function(){x(b);var c=O().index,d=O();return z(d.removeAtIndex.emit(c))});J(1,"mat-icon",19);I()}a&2&&(a=O().$implicit,pf("aria-label","Delete row "+a.label))},xtb=function(a,b){if(a&1){var c=w();H(0,"div",9)(1,"div",10);J(2,"mat-icon",11);H(3,"div",1)(4,"mat-form-field",12)(5,"input",13,14);M("change",function(g){var h=x(c).index,m=O();m.options[h].label=g.target.value;m.optionsChange.emit(m.options);return z()});I()()();H(7,"div",1)(8,
"mat-form-field",12)(9,"input",15,16);M("change",function(g){var h=x(c).index,m=O();return z(m.valueChange(g,h))});I()()();P(11,wtb,2,1,"button",17);I()()}if(a&2){a=b.$implicit;var d=Lf(6),e=Lf(10);b=O();B(4);F("appearance",d.focused||e.focused?"standard":"none");B(1);yf("muted",b.disabled);F("value",a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled);B(3);F("appearance",d.focused||e.focused?"standard":"none");B(1);yf("muted",b.disabled);F("value",a.value)("placeholder",
null==a.value?"Average days":"")("disabled",b.disabled);B(2);F("ngIf",!b.disabled)}},ytb=function(a){if(a&1){var b=w();H(0,"button",20);M("click",function(){x(b);var c=O();return z(c.addRow.emit())});R(1," Add row\n");I()}},ztb=function(a){a&1&&Df(0)},Atb=function(a){a&1&&(K(0),P(1,ztb,1,0,"ng-container",5),L());if(a&2){O();var b=Lf(7);B(1);F("ngTemplateOutlet",b)}},Btb=function(a){if(a&1){var b=w();K(0);H(1,"b-numeric-config",6);M("valueChange",function(c){x(b);var d=O();return z(d.numericSpecMultiplier=
c)});I();L()}a&2&&(a=O(),B(1),F("disabled",a.disabled)("value",a.numericSpecMultiplier))},Ctb=function(a){a&1&&Df(0)},Dtb=function(a){if(a&1){var b=w();H(0,"div",7)(1,"label",8);R(2,"Aggregation Rule");I();H(3,"a",9);J(4,"mat-icon",10);I();J(5,"br");H(6,"mat-form-field",11)(7,"mat-select",12);M("valueChange",function(c){x(b);var d=O();return z(d.selectedAggregationRule=c)});H(8,"mat-select-trigger");R(9);S(10,"aggregationRuleText");I();H(11,"mat-option",13)(12,"div",14);R(13);S(14,"aggregationRuleText");
I();H(15,"div",15);R(16,"All parents and children are added to the total");I()();H(17,"mat-option",13)(18,"div",14);R(19);S(20,"aggregationRuleText");I();H(21,"div",15);R(22,"Take the assigned estimate if larger than total of all immediate children");I()()()()()}a&2&&(a=O(),B(7),F("value",a.selectedAggregationRule)("disabled",a.disabled),B(2),Mf(" ",T(10,7,a.selectedAggregationRule)," "),B(2),F("value",a.aggregationRules.SUM),B(2),Nf(T(14,9,a.aggregationRules.SUM)),B(4),F("value",a.aggregationRules.MAX),
B(2),Nf(T(20,11,a.aggregationRules.MAX)))},Etb=function(a){if(a&1){var b=w();H(0,"b-config-grid",16);M("optionsChange",function(c){x(b);var d=O();return z(d.enumSpecOptions=c)})("addRow",function(){x(b);var c=O();return z(c.addRow())})("removeAtIndex",function(c){x(b);O().enumSpecOptions.splice(c,1);return z()});I()}a&2&&(a=O(),F("options",a.enumSpecOptions)("disabled",a.disabled||a.inherit))},Ftb=function(a){a&1&&(H(0,"div",8),J(1,"b-team-warning",9),I());a&2&&(a=O().ngIf,B(1),F("warningType",a)("messageOnly",
!0))},Gtb=function(a,b){a&1&&(K(0),P(1,Ftb,2,2,"div",7),L());a&2&&(a=b.ngIf,b=O(),B(1),F("ngIf",b.isAdmin&&("MISSING"===a||"DELETED"===a)))},Htb=function(a){if(a&1){var b=w();H(0,"div",10)(1,"mat-checkbox",11);M("change",function(c){x(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 z()});R(2," Override the inherited team ");I()()}a&2&&(a=O(),B(1),
F("disabled",!a.isAdmin)("checked",!a.inherit))},Jtb=function(a){if(a&1){var b=w();H(0,"a",13);M("click",function(){x(b);O(2);en(io.MANAGE_COMPONENT,"navigate","to-internal-team-page");return z()});J(1,"mat-icon",14);I()}a&2&&(a=O(2),F("routerLink",Itb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},Ktb=function(a){a&1&&(K(0),P(1,Jtb,2,2,"a",12),L());a&2&&(a=O(),B(1),F("ngIf",Itb(a)))},Ltb=function(a){if(a&1){var b=w();H(0,"a",16);M("click",function(){x(b);var c=O(2);en(io.MANAGE_COMPONENT,
"linkout-moma","team",Number(c.model.id));return z()});J(1,"mat-icon",14);I()}a&2&&(a=O(2),pf("href",a.getMomaTeamLink(),Sd))},Mtb=function(a){a&1&&P(0,Ltb,2,1,"a",15);a&2&&(a=O(),F("ngIf",Itb(a)))},Ptb=function(a,b){if(a&1){var c=w();H(0,"li",11);M("keydown",function(e){var g=x(c).index,h=O();return z(h.onKeyDown(e,g))})("focus",function(){var e=x(c).index,g=O();return z(g.onFocus(e))});J(1,"mat-icon",12);H(2,"span");R(3);I();H(4,"div",13)(5,"button",14);M("click",function(){var e=x(c).index,g=O();
return z(Ntb(g,e))});J(6,"mat-icon",15);I();H(7,"button",16);M("click",function(){var e=x(c).index,g=O();return z(Otb(g,e))});J(8,"mat-icon",17);I()()()}if(a&2){a=b.$implicit;b=b.index;var d=O();pf("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);B(3);Nf(a.name);B(2);yf("invisible",0===b);B(2);yf("invisible",b===d.fields.length-1)}},Qtb=function(a){a&1&&(H(0,"th",14),R(1," Order"),I())},Rtb=function(a,b){a&1&&(H(0,"td",15),R(1),I());a&2&&(a=b.index,B(1),Mf(" ",a+1," "))},Stb=function(a){a&
1&&(H(0,"th",14),R(1," Name"),I())},Ttb=function(a,b){a&1&&(H(0,"td",15),R(1),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.name," "))},Utb=function(a){a&1&&(H(0,"th",14),R(1," Type"),I())},Vtb=function(a,b){a&1&&(H(0,"td",15),R(1),S(2,"toCustomFieldTypeDisplayValue"),I());a&2&&(a=b.$implicit,B(1),Mf(" ",T(2,1,a.type)," "))},Wtb=function(a){a&1&&(H(0,"th",14),R(1," Required"),I())},Xtb=function(a,b){a&1&&(H(0,"td",15),R(1),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.required?"Yes":"No"," "))},Ytb=function(a){a&
1&&(H(0,"th",14),R(1," ID"),I())},Ztb=function(a,b){a&1&&(H(0,"td",15),R(1),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.customFieldId," "))},$tb=function(a){a&1&&J(0,"tr",16)},aub=function(a){a&1&&J(0,"tr",17)},bub=function(a){a&1&&(H(0,"div",18),R(1," There are no custom fields defined on this component. "),I())},eub=function(a){if(a&1){var b=w();H(0,"div",19)(1,"div")(2,"button",20);M("click",function(){x(b);var c=O();return z(cub(c))});R(3," Reorder fields ");I();H(4,"button",20);M("click",function(){x(b);
var c=O();return z(dub(c))});R(5," Reset ordering ");I()()()}a&2&&(a=O(),B(2),F("disabled",0===a.fields.length),B(2),F("disabled","CUSTOMIZED"!==a.fieldOrdering))},fub=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O(),B(1),a=a.lineNumbers.length,Mf(" (",a+(1==a?" TODO":" TODOs"),") "))},hub=function(a,b){if(a&1){var c=w();H(0,"li",5)(1,"a",6);M("click",function(){x(c);var d=O(2);return z(d.trackClick("lineNumber"))});R(2);I()()}a&2&&(a=b.$implicit,b=O(2),B(1),F("href",gub(b,a),Sd),B(1),Nf(a))},
iub=function(a){a&1&&(H(0,"span"),R(1," ("),H(2,"ul",3),P(3,hub,3,2,"li",4),I(),R(4,") "),I());a&2&&(a=O(),B(3),F("ngForOf",a.lineNumbers))},jub=function(a){a&1&&(H(0,"a",10),R(1," Create Component "),I());a&2&&(a=O(),F("href",a.createComponentPath,Sd))},kub=function(a){if(a&1){var b=w();H(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);M("selectedComponentChange",function(d){x(b);var e=O();return z(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});
S(3,"async");I()()()}if(a&2){a=O();var c;B(2);F("includeArchived",null!==(c=T(3,4,a.includeArchived$))&&void 0!==c?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},mub=function(a){if(a&1){var b=w();H(0,"div",13)(1,"b-slide-toggle",14);M("modelChange",function(d){x(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;0<d&&lub(e,d,(0,E.firstValueFrom)(e.topLevelComponents$));return z()});S(2,"async");I()()}if(a&2){a=O();var c;B(1);F("model",null!==(c=T(2,2,a.includeArchived$))&&void 0!==c?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},nub=function(a){a&1&&(H(0,"div",15),J(1,"b-spinner",16),I())},oub=function(a){a&1&&(H(0,"p",3),R(1),I());a&2&&(a=O(),B(1),Nf(a.packageMentionSet.packageName))},pub=function(a,b){a&1&&(H(0,"li"),J(1,"b-file-mention",4),I());a&2&&(a=
b.$implicit,b=O(),B(1),F("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},qub=function(a){a&1&&(H(0,"span",6),R(1," Select at least one tracker "),I())},rub=function(a,b){if(a&1){var c=w();H(0,"div",7)(1,"mat-checkbox",8);M("change",function(d){var e=x(c).$implicit,g=O();return z(g.trackerCheckboxValues[e.trackerId]=d.checked)});R(2);I()()}a&2&&(a=b.$implicit,b=O(),B(1),F("checked",b.trackerCheckboxValues[a.trackerId]||
!1),B(1),Mf(" ",a.name," "))},sub=function(a){a&1&&(J(0,"b-tracker-search",6),S(1,"async"),S(2,"async"));a&2&&(a=O(),F("currentTrackerId",T(1,2,a.currentTracker.trackerId$))("availableTrackers",T(2,4,a.currentTracker.availableTrackers$)))},tub=function(a){a&1&&(H(0,"div",7),J(1,"b-spinner"),H(2,"span"),R(3,"Initializing query builder..."),I()())},uub=function(a){a&1&&(H(0,"div",10),J(1,"mat-icon",11),H(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. "),
I()())},vub=function(a){a&1&&(H(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. "),I())},wub=function(a){a&1&&(H(0,"div",8),P(1,uub,4,0,"div",9),P(2,vub,2,0,"div",5),I());a&2&&(a=O(),B(1),F("ngIf","NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),B(1),F("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},
xub=function(a){a&1&&(H(0,"div",8),R(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),I())},yub=function(a){a&1&&J(0,"b-tracker-account-menu-hack")},zub=function(a){a&1&&(H(0,"span"),R(1),J(2,"span",16),I());a&2&&(a=O(2).$implicit,B(1),Mf(" ",a.diff.oldValue," "))},Aub=function(a){a&1&&(H(0,"span")(1,"label"),R(2),I(),P(3,zub,3,1,"span",15),R(4),I());a&2&&(a=O().$implicit,B(2),Mf("",a.fieldName,":"),B(1),F("ngIf",a.diff.oldValue),
B(1),Mf(" ",a.diff.newValue," "))},Bub=function(a,b){a&1&&(H(0,"div")(1,"label"),R(2),I(),R(3),I());a&2&&(a=b.$implicit,b=O(3).$implicit,B(2),Mf("-",b.fieldName,":"),B(1),Mf(" ",a," "))},Cub=function(a){a&1&&(K(0),P(1,Bub,4,2,"div",17),L());a&2&&(a=O(2).$implicit,B(1),F("ngForOf",a.diff.removed))},Dub=function(a,b){a&1&&(H(0,"div")(1,"label"),R(2),I(),R(3),I());a&2&&(a=b.$implicit,b=O(3).$implicit,B(2),Mf("+",b.fieldName,":"),B(1),Mf(" ",a," "))},Eub=function(a){a&1&&(K(0),P(1,Dub,4,2,"div",17),L());
a&2&&(a=O(2).$implicit,B(1),F("ngForOf",a.diff.added))},Fub=function(a){a&1&&(H(0,"div"),P(1,Cub,2,1,"ng-container",15),P(2,Eub,2,1,"ng-container",15),I());a&2&&(a=O().$implicit,B(1),F("ngIf",a.diff.removed),B(1),F("ngIf",a.diff.added))},Gub=function(a,b){a&1&&(H(0,"div",14),P(1,Aub,5,3,"span",15),P(2,Fub,3,2,"div",15),I());a&2&&(a=b.$implicit,B(1),F("ngIf","SINGLE_VALUE"==a.diffType),B(1),F("ngIf","COLLECTION"==a.diffType))},Hub=function(a,b){a&1&&(H(0,"li",5)(1,"div",6),J(2,"b-user-image",7),I(),
H(3,"div",8)(4,"h4"),J(5,"b-user-display-name",9),H(6,"span",10),J(7,"b-formatted-date-time",11),I()(),H(8,"div",12),P(9,Gub,3,2,"div",13),I()()());a&2&&(a=b.$implicit,b=O(),B(2),F("email",b.userToDisplay(a.author)),B(3),F("email",b.userToDisplay(a.author)),B(2),F("timestamp",a.timestamp),B(2),F("ngForOf",a.diffs))},Iub=function(a){var b=window.homepagePreferences;if(a&&"EXPERIMENTAL_HOMEPAGE"===(null==b?void 0:b.resourceType))return"/dash";if("NEEDS_ATTENTION"===(null==b?void 0:b.resourceType))return"/attention";
if(null==b||!b.resourceId)return"/issues";switch(b.resourceType){case "BOOKMARK_GROUP":return"/dashboard/"+b.resourceId;case "SAVED_SEARCH":return"/savedsearches/"+b.resourceId;case "HOTLIST":return"/hotlists/"+b.resourceId;default:return"/issues"}},Jub=function(a,b){a&1&&(H(0,"mat-option",3),R(1),J(2,"br"),H(3,"span",4),R(4),I()());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",a.title,""),B(3),Nf(a.description))},Kub=function(a,b){a&1&&(K(0),Df(1,5),L());if(a&2){a=b.$implicit;O();var c=Lf(2);B(1);
F("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,Es,a))}},Lub=function(a){a&1&&(K(0),Df(1,5),L());if(a&2){a=O().question;O();var b=Lf(4);B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(2,Es,a))}},Mub=function(a){a&1&&(K(0),Df(1,5),L());if(a&2){a=O().question;O();var b=Lf(6);B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(2,Es,a))}},Nub=function(a){a&1&&(K(0),Df(1,5),L());if(a&2){a=O().question;O();var b=Lf(8);B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(2,Es,
a))}},Oub=function(a,b){a&1&&(K(0,6),P(1,Lub,2,4,"ng-container",7),P(2,Mub,2,4,"ng-container",7),P(3,Nub,2,4,"ng-container",7),L());a&2&&(a=b.question,b=O(),F("ngSwitch",a.type),B(1),F("ngSwitchCase",b.CustomQuestionType.INPUT),B(1),F("ngSwitchCase",b.CustomQuestionType.TEXT),B(1),F("ngSwitchCase",b.CustomQuestionType.SELECT))},Pub=function(a,b){if(a&1){var c=w();J(0,"h4",8);H(1,"mat-form-field",9)(2,"input",10);M("ngModelChange",function(d){var e=x(c).question;return z(e.response=d)});I()()}a&2&&
(a=b.question,F("innerHtml",a.question,Qd),B(2),F("ngModel",a.response),pf("aria-label",a.question))},Qub=function(a,b){if(a&1){var c=w();J(0,"h4",8);H(1,"mat-form-field",11)(2,"textarea",10);M("ngModelChange",function(d){var e=x(c).question;return z(e.response=d)});R(3,"    ");I()()}a&2&&(a=b.question,F("innerHtml",a.question,Qd),B(2),F("ngModel",a.response),pf("aria-label",a.question))},Sub=function(a,b){a&1&&(H(0,"mat-option",15),R(1),I());a&2&&(a=b.$implicit,O(2),F("value",a),B(1),Mf(" ",Rub(a)?
a.text:a," "))},Tub=function(a){a&1&&Df(0,5);if(a&2){a=O().question;O();var b=Lf(2);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(2,Es,a.response.child))}},Vub=function(a,b){if(a&1){var c=w();J(0,"h4",8);H(1,"mat-form-field",9)(2,"mat-select",12);M("valueChange",function(d){var e=x(c).question,g=O();e.response=d;return z(Uub(g))});P(3,Sub,2,2,"mat-option",13);I()();P(4,Tub,1,4,"ng-container",14)}a&2&&(a=b.question,O(),F("innerHtml",a.question,Qd),B(1),pf("aria-label",a.question),B(1),F("value",
a.response),B(1),F("ngForOf",a.options),B(1),F("ngIf",Rub(a.response)))},Wub=function(a){a&1&&Hf(0)},Xub=function(a){a&1&&Df(0,8);a&2&&(a=O(),F("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},Yub=function(a){a&1&&(H(0,"span",13),R(1),I());a&2&&(a=O(2),B(1),Nf(a._getDefaultTextForState(a.state)))},Zub=function(a){a&1&&(H(0,"span",14),R(1),I());a&2&&(a=O(2),B(1),Nf(a._intl.completedLabel))},$ub=function(a){a&1&&(H(0,"span",14),R(1),I());a&2&&(a=O(2),B(1),
Nf(a._intl.editableLabel))},avb=function(a){a&1&&(H(0,"mat-icon",13),R(1),I());a&2&&(a=O(2),B(1),Nf(a._getDefaultTextForState(a.state)))},bvb=function(a){a&1&&(K(0,9),P(1,Yub,2,1,"span",10),P(2,Zub,2,1,"span",11),P(3,$ub,2,1,"span",11),P(4,avb,2,1,"mat-icon",12),L());a&2&&(a=O(),F("ngSwitch",a.state),B(1),F("ngSwitchCase","number"),B(1),F("ngIf","done"===a.state),B(1),F("ngIf","edit"===a.state))},cvb=function(a){a&1&&(H(0,"div",15),Df(1,16),I());a&2&&(a=O(),B(1),F("ngTemplateOutlet",a._templateLabel().template))},
dvb=function(a){a&1&&(H(0,"div",15),R(1),I());a&2&&(a=O(),B(1),Nf(a.label))},evb=function(a){a&1&&(H(0,"div",17),R(1),I());a&2&&(a=O(),B(1),Nf(a._intl.optionalLabel))},fvb=function(a){a&1&&(H(0,"div",18),R(1),I());a&2&&(a=O(),B(1),Nf(a.errorMessage))},gvb=function(){},hvb=function(a){a&1&&(Hf(0),P(1,gvb,0,0,"ng-template",0));a&2&&(a=O(),B(1),F("cdkPortalOutlet",a._portal))},ivb=function(a){a&1&&J(0,"div",11)},kvb=function(a,b){a&1&&(K(0),Df(1,9),P(2,ivb,1,0,"div",10),L());if(a&2){a=b.$implicit;var c=
b.index;b=b.last;O(2);var d=Lf(4);B(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Tf(3,jvb,a,c));B(1);F("ngIf",!b)}},nvb=function(a,b){if(a&1){var c=w();H(0,"div",12);M("@horizontalStepTransition.done",function(e){x(c);var g=O(2);return z(g._animationDone.next(e))});Df(1,13);I()}if(a&2){a=b.$implicit;b=b.index;var d=O(2);yf("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);F("@horizontalStepTransition",Tf(8,lvb,d._getAnimationDirection(b),Sf(6,mvb,d._getAnimationDuration())))("id",
d._getStepContentId(b));pf("aria-labelledby",d._getStepLabelId(b));B(1);F("ngTemplateOutlet",a.content)}},ovb=function(a){a&1&&(H(0,"div",4)(1,"div",5),P(2,kvb,3,6,"ng-container",6),I(),H(3,"div",7),P(4,nvb,2,11,"div",8),I()());a&2&&(a=O(),B(2),F("ngForOf",a.steps),B(2),F("ngForOf",a.steps))},pvb=function(a,b){if(a&1){var c=w();H(0,"div",15);Df(1,9);H(2,"div",16)(3,"div",17);M("@verticalStepTransition.done",function(h){x(c);var m=O(2);return z(m._animationDone.next(h))});H(4,"div",18);Df(5,13);I()()()()}if(a&
2){a=b.$implicit;var d=b.index;b=b.last;var e=O(2),g=Lf(4);B(1);F("ngTemplateOutlet",g)("ngTemplateOutletContext",Tf(10,jvb,a,d));B(1);yf("mat-stepper-vertical-line",!b);B(1);yf("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);F("@verticalStepTransition",Tf(15,lvb,e._getAnimationDirection(d),Sf(13,mvb,e._getAnimationDuration())))("id",e._getStepContentId(d));pf("aria-labelledby",e._getStepLabelId(d));B(2);F("ngTemplateOutlet",a.content)}},qvb=function(a){a&1&&(K(0),P(1,pvb,6,18,"div",
14),L());a&2&&(a=O(),B(1),F("ngForOf",a.steps))},rvb=function(a,b){if(a&1){var c=w();H(0,"mat-step-header",19);M("click",function(){var e=x(c).step;return z(e.select())})("keydown",function(e){x(c);var g=O();return z(g._onKeydown(e))});I()}if(a&2){a=b.step;b=b.i;var d=O();yf("mat-horizontal-stepper-header","horizontal"===d.orientation)("mat-vertical-stepper-header","vertical"===d.orientation);F("tabIndex",d._getFocusIndex()===b?0:-1)("id",d._getStepLabelId(b))("index",b)("state",d._getIndicatorType(b,
a.state))("label",a.stepLabel||a.label)("selected",d.selectedIndex===b)("active",d._stepIsNavigable(b,a))("optional",a.optional)("errorMessage",a.errorMessage)("iconOverrides",d._iconOverrides)("disableRipple",d.disableRipple||!d._stepIsNavigable(b,a))("color",a.color||d.color);pf("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)}},tvb=function(a){if(a&1){var b=w();K(0);H(1,"h4",2);R(2,"Which of the following best describes the issue that you are reporting?");I();H(3,"wizard-category-select",50);M("categoryChange",function(c){x(b);var d=O();return z(d.model.category=c)});I();H(4,"mat-card",51)(5,"mat-card-header");R(6," Avoid duplicate issue reports: ");I();H(7,"mat-card-content")(8,"mat-checkbox",52);M("ngModelChange",function(c){x(b);var d=O();return z(d.ackDupes=c)});
R(9," By checking this box, I'm acknowledging that I have searched for ");H(10,"a",53);R(11,"existing issues");I();R(12," that already report this problem. ");I()()();H(13,"div",34)(14,"button",37);R(15," Next ");J(16,"mat-icon",38);I()();L()}a&2&&(a=O(),B(3),F("persona",a.model.persona)("category",a.model.category),B(5),F("ngModel",a.ackDupes),B(6),F("disabled",!svb(a,0)))},uvb=function(a){a&1&&(H(0,"div")(1,"h3"),R(2,"Prefer to file an issue manually?"),I(),H(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. "),
I(),H(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 "),H(7,"a",54),R(8,"form"),I(),R(9,". "),I()());a&2&&(a=O(),B(7),F("href",a.paths.createIssue(),Sd))},vvb=function(a){if(a&1){var b=w();H(0,"wizard-custom-questions",55);M("responses",function(c){x(b);var d=O();return z(d.model.customQuestionResponses=c)});I()}a&2&&(a=O(),F("category",a.model.category.value))},wvb=function(a){if(a&1){var b=w();H(0,"div",56)(1,"b-recaptcha",
57);M("onUpdate",function(c){x(b);var d=O();return z(d.recaptchaResponse=c)});I()()}},xvb=function(){},yvb=function(){},zvb=function(){},Bvb=function(a){return a.length?"# Custom Questions\n"+Avb(a).map(function(b){var c;return"#### "+(null!=(c=b.answerPrefix)?c:b.question)+"\n"+b.response}).join("\n\n"):""},Avb=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Rub(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,ad(Avb([c.response.child])))):
b.push(c);return b},Cvb=function(a){a&1&&(H(0,"a",15),R(1," Create Component "),I())},Dvb=function(a){a&1&&(H(0,"p",19),R(1," None found. "),H(2,"a",20),R(3,"Learn More"),I()())},Evb=function(a){a&1&&(K(0),J(1,"b-component-path-card",31,32),L());if(a&2){var b=Lf(2);a=O().$implicit;B(1);F("onedevIsHovercardReady",b.init)("componentId",a.componentId)}},Fvb=function(a,b){a&1&&(H(0,"li")(1,"a",21)(2,"div",22)(3,"span",23),R(4),J(5,"b-access-level-indicator",24)(6,"b-tracker-chip-smart",25),I(),H(7,"p",
26),R(8),I()(),H(9,"div",27)(10,"a",28),R(11," Edit "),I(),H(12,"a",28),R(13," Create Issue "),I()()(),H(14,"onedev-hovercard",null,29),P(16,Evb,3,2,"ng-container",30),I()());if(a&2){a=b.$implicit;var c=Lf(15);b=O(2);B(1);F("routerLinkObj",b.viewIssues(a.componentId));B(1);F("onedevHovercardTrigger",c);B(2);Mf(" ",a.name||a.componentId," ");B(1);F("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);B(1);F("trackerId",a.trackerId)("showHovercard",!1);B(2);Nf(a.description);
B(2);F("routerLinkObj",b.componentSettings(a.componentId));B(2);F("routerLinkObj",b.createIssue(a.componentId))}},Gvb=function(a,b){a&1&&(K(0),P(1,Dvb,4,0,"p",16),H(2,"ol",17),P(3,Fvb,17,10,"li",18),I(),L());a&2&&(a=b.$implicit,B(1),F("ngIf",0===a.length),B(2),F("ngForOf",a))},Ivb=function(a){a&1&&(H(0,"a",25),R(1," Learn more "),I());a&2&&(O(),F("href",Hvb(),Sd))},Jvb=function(a){var b;return(null!=(b=a.getIssueDigestsList())?b:[]).map(vsa)},Lvb=function(a){var b=new Set,c=0;a=k(a.matchAll(Kvb));
for(var d=a.next();!d.done;d=a.next())if(d=k(d.value).next().value,!b.has(d)){c+=d.length;if(2049<c)break;b.add(d)}return[].concat(ad(b))},Mvb=function(a){a&1&&(H(0,"div"),J(1,"b-spinner"),H(2,"span"),R(3,"Loading..."),I()())},Nvb=function(a){a&1&&(H(0,"div",2),P(1,Mvb,4,0,"div",3),I());if(a&2){a=O();var b=Lf(2);B(1);F("ngIf",a.isInitiallyLoading)("ngIfElse",b)}},Ovb=function(a){a&1&&(H(0,"span",17)(1,"strong"),R(2),I(),R(3," of "),H(4,"strong"),R(5),I()());a&2&&(a=O(4),B(2),Of("",a.startIndex,"\u2013",
a.endIndex,""),B(3),Nf(a.totalText))},Pvb=function(a){if(a&1){var b=w();H(0,"div",11);P(1,Ovb,6,3,"span",12);H(2,"b-button",13);M("onAction",function(){x(b);var c=O(3);return z(c.fetchIssues(c.page-1))});J(3,"b-icon",14);I();H(4,"b-button",15);M("onAction",function(){x(b);var c=O(3);return z(c.fetchIssues(c.page+1))});J(5,"b-icon",16);I()()}a&2&&(a=O(3),B(1),F("ngIf",!a.isRefreshing),B(1),F("disabled",1>=a.page),B(2),F("disabled",a.page>=a.numPages))},Qvb=function(a){if(a&1){var b=w();H(0,"button",
18);M("click",function(){x(b);var c=O(3);return z(c.triggerSimilarIssuesSurvey())});J(1,"mat-icon",19);I()}},Rvb=function(a){a&1&&(H(0,"li")(1,"h3"),R(2),I(),P(3,Pvb,6,3,"div",9),P(4,Qvb,2,0,"button",10),I());a&2&&(a=O(2),B(2),Nf(a.getHeader()),B(1),F("ngIf",!a.enableSimilarIssues),B(1),F("ngIf",a.showSuggestedDupes))},Svb=function(a){a&1&&(H(0,"div",20),R(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),I())},Tvb=function(a){if(a&
1){var b=w();H(0,"b-issue-card",26,27);M("init",function(){x(b);var e=O(4);return z(e.trackTitleHoverOver())});I()}if(a&2){var c=Lf(1);a=O().$implicit;var d=O(3);F("onedevIsHovercardReady",c.init)("issueId",a.id)("location",d.CATEGORIES.MAGIC_BOX+d.getGroupName())}},Uvb=function(a,b){if(a&1){var c=w();H(0,"li",22)(1,"onedev-hovercard",null,23);P(3,Tvb,2,3,"b-issue-card",24);I();H(4,"a",25);M("click",function(){x(c);var e=O(3);return z(e.trackTitleClick())});R(5);I()()}if(a&2){a=b.$implicit;var d=
Lf(2);b=O(3);F("ngClass",b.enableSimilarIssues?"magic-box-item-new":"magic-box-item");B(4);If("href","issues/",a.id,"",Sd);F("onedevHovercardTrigger",d);B(1);Mf(" ",a.title," ")}},Vvb=function(a){a&1&&(K(0),P(1,Uvb,6,4,"li",21),L());a&2&&(a=O(2),B(1),F("ngForOf",a.magicBoxIssues))},Wvb=function(a){a&1&&(H(0,"li"),R(1),I());a&2&&(a=O(2),B(1),Mf(" No ",a.getHeader().toLowerCase()," found. "))},Xvb=function(a){a&1&&(H(0,"li",28)(1,"a",29),R(2," View All Issues \u2192 "),I()());a&2&&(a=O(2),B(1),Jf("href",
a.viewAllHref,Sd))},Yvb=function(a){if(a&1){var b=w();H(0,"li",30)(1,"button",31);M("click",function(){x(b);var c=O(2);c.fetchIssues(c.page+1);c.analytics.trackEvent(io.MAGIC_BOX,"loadMore");return z()});J(2,"mat-icon",32);R(3," Load more ");I()()}},Zvb=function(a){if(a&1){var b=w();H(0,"li",33)(1,"a",29)(2,"button",34);M("click",function(){x(b);O(2).analytics.trackEvent(io.MAGIC_BOX,"viewAll");return z()});R(3,"View all ");J(4,"mat-icon",35);I()()()}a&2&&(a=O(2),B(1),Jf("href",a.viewAllHref,Sd))},
$vb=function(a){a&1&&(H(0,"li"),J(1,"b-spinner"),H(2,"span"),R(3,"Loading..."),I()())},awb=function(a){a&1&&(H(0,"ul"),P(1,Rvb,5,3,"li",4),P(2,Svb,2,0,"div",5),P(3,Vvb,2,1,"ng-container",4),P(4,Wvb,2,1,"li",4),P(5,Xvb,3,1,"li",6),P(6,Yvb,4,0,"li",7),P(7,Zvb,5,1,"li",8),P(8,$vb,4,0,"li",4),I());a&2&&(a=O(),B(1),F("ngIf",!a.hideHeader),B(1),F("ngIf",a.showSuggestedDupes),B(1),F("ngIf",!a.isRefreshing),B(1),F("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),B(1),F("ngIf",!a.isRefreshing&&1<a.numPages&&
!a.enableSimilarIssues&&a.viewAllHref),B(1),F("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),B(1),F("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&a.viewAllHref),B(1),F("ngIf",a.isRefreshing))},bwb=function(a){a&1&&Df(0)},dwb=function(a){a&1&&(K(0),P(1,bwb,1,0,"ng-container",8),L());a&2&&(a=O(),B(1),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Sf(2,cwb,a.value)))},ewb=function(a){a&1&&R(0);a&2&&(a=O(),Nf(a.value||"--"))},fwb=function(a){a&
1&&(pd(),H(0,"svg",9),J(1,"path",10),I());a&2&&(a=O(),yf("centered",a.centerEditIcon))},gwb=function(a){a&1&&J(0,"textarea",15);a&2&&(a=O(3),F("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},hwb=function(a){a&1&&J(0,"input",16);a&2&&(a=O(3),F("formControl",a.editingValue))},iwb=function(a){a&1&&(K(0),H(1,"div",12),P(2,gwb,1,2,"textarea",13),P(3,hwb,1,1,"ng-template",null,14,hg),I(),L());if(a&2){var b=Lf(4);a=O(2);B(2);F("ngIf",a.allowMultipleLines)("ngIfElse",b)}},jwb=function(a){a&
1&&Df(0)},lwb=function(a){a&1&&(K(0),P(1,jwb,1,0,"ng-container",8),L());a&2&&(a=O(2),B(1),F("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Sf(2,kwb,a.editingValue)))},mwb=function(a){a&1&&(P(0,iwb,5,2,"ng-container",11),P(1,lwb,2,4,"ng-container",11));a&2&&(a=O(),F("ngIf",!a.editorTemplate),B(1),F("ngIf",a.editorTemplate))},nwb=function(){},owb=function(a){a&1&&J(0,"span",2);a&2&&(a=O(),F("@indicatorRotate",a._getExpandedState()))},pwb=function(a){if(a&1){var b=w();H(0,"b-hotlist-picker",
24);M("onApply",function(c){x(b);var d=O();return z(d.handleHotlistPickerSave(c))})("onLoad",function(c){x(b);var d=O();return z(d.loadHotlist(c))})("onCreate",function(c){x(b);var d=O();return z(d.createHotlist(c))});I()}a&2&&(a=O(),F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},uwb=function(a){a&1&&(H(0,"div",25),J(1,"b-icon",26),H(2,"span"),R(3),I(),H(4,"a",27),R(5,"View access settings"),I()());a&2&&(a=O(),F("ngClass",Tf(5,qwb,rwb(a),swb(a))),B(1),F("name","alert")("size",
"small"),B(2),Mf("",twb(a),"\u00a0"),B(1),F("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Sd))},xwb=function(a){a&1&&(H(0,"div",30),R(1),I());a&2&&(a=O(2),B(1),Mf(" Error: The following required field(s) have not been filled: ",vwb(a).concat(wwb(a)).join(", ")," "))},ywb=function(a){a&1&&(H(0,"li"),R(1),I());if(a&2){a=O(3);B(1);var b=[];a.isBlockedByIssueIdValid||b.push('"Blocked by"');a.isBlockingIssueIdValid||b.push('"Blocking"');a.isParentIssueIdsValid||
b.push('"Parents"');a=b?b.join(" & ")+" must be"+((1>=b.length?" a":"")+" comma separated list")+((1<b.length?"s":"")+" of issue IDs"):"";Nf(a)}},zwb=function(a){a&1&&(H(0,"li"),R(1),I());a&2&&(a=O(3),B(1),Mf(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},Awb=function(a){a&1&&(H(0,"div",30),R(1," Error: The following field(s) have invalid values: "),H(2,"ul"),P(3,ywb,2,1,"li",20),P(4,zwb,2,1,"li",20),I()());a&2&&(a=O(2),B(3),F("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||
!a.isParentIssueIdsValid),B(1),F("ngIf",!a.isCollaboratorsValid))},Bwb=function(a){a&1&&(H(0,"div",30),R(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),I())},Dwb=function(a){a&1&&(H(0,"div",28),P(1,xwb,2,1,"div",29),P(2,Awb,5,2,"div",29),P(3,Bwb,2,0,"div",29),I());a&2&&(a=O(),B(1),F("ngIf",0!==vwb(a).length||0!==wwb(a).length),B(1),F("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||!a.isCollaboratorsValid),B(1),
F("ngIf",Cwb(a.comment)))},Ewb=function(a,b){if(a&1){var c=w();H(0,"div",33)(1,"b-hotlist-chip",34);M("removeHotlist",function(){var d=x(c).$implicit,e=O(2);return z(e.removeHotlist(d.hotlistId))});I()()}a&2&&(a=b.$implicit,B(1),F("hotlist",a))},Fwb=function(a){a&1&&(H(0,"div",31),P(1,Ewb,2,1,"div",32),I());a&2&&(a=O(),B(1),F("ngForOf",a.selectedHotlists))},Gwb=function(a,b){if(a&1){var c=w();H(0,"button",43);M("click",function(){var d=x(c).$implicit,e=O(2);e.selectedTemplate=d;e.getIssueTemplate();
return z()});R(1);I()}a&2&&(a=b.$implicit,B(1),Nf(a.name))},Hwb=function(a){if(a&1){var b=w();H(0,"button",43);M("click",function(){x(b);var c=O(2);c.selectedTemplate=c.availableExistingIssueTemplate;c.getIssueTemplate();return z()});R(1);I()}a&2&&(a=O(2),B(1),Nf(a.availableExistingIssueTemplate.name))},Iwb=function(a){a&1&&(H(0,"div",35)(1,"div",14)(2,"label",36),R(3,"Template"),I()(),H(4,"button",37),R(5),J(6,"b-icon",38),I(),H(7,"mat-menu",39,40),P(9,Gwb,2,1,"button",41),P(10,Hwb,2,1,"button",
42),I()());if(a&2){var b=Lf(8);a=O();var c;B(4);F("matMenuTriggerFor",b);B(1);Nf(null!==(c=null==a.selectedTemplate?null:a.selectedTemplate.name)&&void 0!==c?c:"");B(2);F("overlapTrigger",!0);B(2);F("ngForOf",a.availablePredefinedTemplates);B(1);F("ngIf",a.availableExistingIssueTemplate)}},Jwb=function(a){a&1&&(H(0,"div",44)(1,"div",30),R(2," You do not have permission to create issues in this component. "),I()())},Kwb=function(a){if(a&1){var b=w();H(0,"div",71)(1,"b-magic-box",72);M("headerChange",
function(c){x(b);var d=O(3);return z(d.magicBoxHeader=c)});I()()}a&2&&(a=O(3),B(1),F("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap))},Mwb=function(a){if(a&1){var b=w();H(0,"div",67)(1,"div",68)(2,"a",69);M("click",function(){x(b);var c=O(2);return z(Lwb(c))})("keydown.enter",function(){x(b);var c=O(2);return z(Lwb(c))})("keydown.space",function(){x(b);var c=O(2);return z(Lwb(c))});
R(3);I()();P(4,Kwb,2,6,"div",70);I()}a&2&&(a=O(2),B(3),Of(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),B(1),F("ngIf",a.showRecentIssuesInline&&a.issue.componentId))},Nwb=function(a){a&1&&(H(0,"p",73),R(1),I());a&2&&(a=O(2),B(1),Mf(" Your title contains restricted words: ",a.bannedWordsWarningForTitle.matchedPatterns.join(", "),". Review your title before posting. "))},Owb=function(a,b){if(a&1){var c=w();H(0,"button",77);M("click",function(){var d=x(c).$implicit,
e=O(3);return z(e.setPriority(d.value))});R(1);I()}a&2&&(a=b.$implicit,B(1),Nf(a.displayText))},Pwb=function(a){if(a&1){var b=w();H(0,"div",35)(1,"div",14)(2,"label",74);R(3,"Priority");I()();H(4,"button",75);R(5);J(6,"b-icon",38);I();H(7,"mat-menu",39,76)(9,"button",77);M("click",function(){x(b);var d=O(2);return z(d.setPriority(void 0))});R(10,"--");I();P(11,Owb,2,1,"button",78);I()()}if(a&2){var c=Lf(8);a=O(2);B(4);F("matMenuTriggerFor",c);pf("aria-label","Priority, required"+(a.issue.priority?
", "+a.issue.priority:""));B(1);Mf("",a.issue.priority?a.issue.priority:"--"," ");B(2);F("overlapTrigger",!0);B(4);F("ngForOf",a.priorityChoices)}},Rwb=function(a,b){if(a&1){var c=w();H(0,"button",82);M("click",function(){var d=x(c).$implicit,e=O(3);return z(Qwb(e,d.value))});R(1);I()}a&2&&(a=b.$implicit,Jf("title",a.altText||""),B(1),Nf(a.displayText))},Swb=function(a){if(a&1){var b=w();H(0,"div",35)(1,"div",14)(2,"label",79);R(3,"Type");I()();H(4,"button",75);S(5,"enumToHuman");R(6);S(7,"enumToHuman");
J(8,"b-icon",38);I();H(9,"mat-menu",39,80)(11,"button",77);M("click",function(){x(b);var d=O(2);return z(Qwb(d))});R(12,"--");I();P(13,Rwb,2,2,"button",81);I()()}if(a&2){var c=Lf(10);a=O(2);B(4);F("matMenuTriggerFor",c);pf("aria-label","Type, required"+(a.issue.type?T(5,5,", "+a.issue.type):""));B(2);Mf("",T(7,7,a.issue.type||"--")," ");B(3);F("overlapTrigger",!0);B(4);F("ngForOf",a.issueTypeChoices)}},Twb=function(a){if(a&1){var b=w();H(0,"div",83)(1,"div",14)(2,"label",84);R(3,"Assignee");I()();
H(4,"div",85)(5,"input",86);M("ngModelChange",function(c){x(b);var d=O(2);return z(d.assigneeText=c)});I()()()}a&2&&(a=O(2),B(5),F("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},Uwb=function(a){a&1&&(H(0,"mat-error"),R(1," Collaborators only accepts individual users. "),I())},Wwb=function(a){if(a&1){var b=w();H(0,"div",87)(1,"div",14)(2,"label",88);R(3,"Collaborators");I();J(4,"mat-icon",89);I();H(5,"div",85)(6,"input",90);M("ngModelChange",function(c){x(b);var d=O(2);return z(d.collaboratorsText=
Vwb(c))});I()();P(7,Uwb,2,0,"mat-error",20);I()}a&2&&(a=O(2),B(6),yf("invalid",!a.isCollaboratorsValid),F("ngModel",Fs(a.collaboratorsText))("bContactAutocomplete","MULTI"),B(1),F("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},Xwb=function(a){if(a&1){var b=w();H(0,"div",91)(1,"div",14)(2,"label",92);R(3,"CC");I()();H(4,"div",85)(5,"input",93);M("ngModelChange",function(c){x(b);var d=O(2);return z(d.ccsText=Vwb(c))});I()()()}a&2&&(a=O(2),B(5),F("ngModel",Fs(a.ccsText))("bContactAutocomplete",
"MULTI"))},Ywb=function(a){a&1&&(H(0,"p",94),R(1),I());a&2&&(a=O(2),B(1),Mf(" Your description contains restricted words: ",a.bannedWordsWarningForDescription.matchedPatterns.join(", "),". Review your description before posting. "))},$wb=function(a,b){if(a&1){var c=w();H(0,"mat-checkbox",106,107);M("change",function(){var d=x(c).$implicit,e=O(5);return z(Zwb(e,d))})("click",function(d){return d.stopPropagation()});R(2);I()}a&2&&(a=b.$implicit,b=O(5),F("checked",b.selectedCollaboratorGroups.has(a)),
B(2),Mf(" ",a," "))},axb=function(a){a&1&&(H(0,"div",13)(1,"div",14)(2,"label",99),R(3," Collaborator Groups "),I(),J(4,"mat-icon",100),I(),H(5,"button",101)(6,"span"),R(7),I(),J(8,"mat-icon",102),I(),H(9,"mat-menu",103,104),P(11,$wb,3,2,"mat-checkbox",105),I()());if(a&2){var b=Lf(10);a=O(4);B(4);Jf("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);B(1);F("matMenuTriggerFor",b);B(2);Nf(a.getCollaboratorGroupsString());B(4);F("ngForOf",a.trackerCollaboratorGroups)}},bxb=function(a){a&1&&(K(0),P(1,axb,12,
4,"div",98),L());a&2&&(a=O(3),B(1),F("ngIf",a.enableQuickAddCollaborators))},cxb=function(a){if(a&1){var b=w();H(0,"div",95)(1,"div",13)(2,"div",14)(3,"label",96);R(4," Issue access level ");I()();H(5,"b-issue-access-limits-dropdown",97);M("updatedAccessLimitLevel",function(c){x(b);var d=O(2);return z(d.onAccessLimitLevelSelected(c))});I()();P(6,bxb,2,1,"ng-container",20);I()}a&2&&(a=O(2),B(5),F("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",
a.selectedAccessLimitLevel),B(1),F("ngIf",0<a.trackerCollaboratorGroups.length))},dxb=function(a,b){if(a&1){var c=w();H(0,"button",77);M("click",function(){var d=x(c).$implicit,e=O(3);return z(e.issue.severity=e.toIssueSeverity(d.value))});R(1);I()}a&2&&(a=b.$implicit,B(1),Nf(a.displayText))},exb=function(a){a&1&&(H(0,"span"),R(1,"*"),I())},fxb=function(a){a&1&&(H(0,"span"),R(1,"*"),I())},gxb=function(a){a&1&&(H(0,"span"),R(1,"*"),I())},ixb=function(a){if(a&1){var b=w();H(0,"div",116)(1,"div",14)(2,
"label",134);R(3," Parents ");P(4,gxb,2,0,"span",20);I()();H(5,"input",135);M("ngModelChange",function(c){x(b);var d=O(3);d.parentIssueIds=hxb(d,c).map(Kn);c=Fs(d.parentIssueIds);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return z()});I()()}a&2&&(a=O(3),B(4),F("ngIf",!a.isParentIssueIdsValid),B(1),F("ngModel",Fs(a.parentIssueIds)))},jxb=function(a){a&1&&(H(0,"span"),R(1,"*"),I())},kxb=function(a){if(a&1){var b=w();H(0,"div",116)(1,"div",14)(2,"label",136);R(3," Children ");P(4,jxb,2,
0,"span",20);I()();H(5,"input",137);M("ngModelChange",function(c){x(b);var d=O(3);d.childrenIssueIds=hxb(d,c).map(Kn);c=Fs(d.childrenIssueIds);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return z()});I()()}a&2&&(a=O(3),B(4),F("ngIf",!a.isChildIssueIdsValid),B(1),F("ngModel",Fs(a.childrenIssueIds)))},lxb=function(a){if(a&1){var b=w();H(0,"div",116)(1,"div",14)(2,"label",96);R(3," Issue access level ");I()();H(4,"b-issue-access-limits-dropdown",138);M("updatedAccessLimitLevel",function(c){x(b);
var d=O(3);return z(d.onAccessLimitLevelSelected(c))});I()()}a&2&&(a=O(3),B(4),F("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},mxb=function(a,b){if(a&1){var c=w();H(0,"mat-checkbox",140,107);M("change",function(){var d=x(c).$implicit,e=O(5);return z(Zwb(e,d))})("click",function(d){return d.stopPropagation()});R(2);I()}a&2&&(a=b.$implicit,b=O(5),F("checked",b.selectedCollaboratorGroups.has(a)),B(2),Mf(" ",a," "))},
nxb=function(a){a&1&&(H(0,"div",13)(1,"div",14)(2,"label",99),R(3," Collaborator Groups "),I(),J(4,"mat-icon",100),I(),H(5,"button",101)(6,"span"),R(7),I(),J(8,"mat-icon",102),I(),H(9,"mat-menu",103,104),P(11,mxb,3,2,"mat-checkbox",139),I()());if(a&2){var b=Lf(10);a=O(4);B(4);Jf("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);B(1);F("matMenuTriggerFor",b);B(2);Nf(a.getCollaboratorGroupsString());B(4);F("ngForOf",a.trackerCollaboratorGroups)}},oxb=function(a){a&1&&(K(0),P(1,nxb,12,4,"div",98),L());a&2&&
(a=O(3),B(1),F("ngIf",a.enableQuickAddCollaborators))},pxb=function(a){if(a&1){var b=w();H(0,"onedev-text-field",144);M("valueChange",function(d){x(b);var e=O(2).$implicit,g=O(3);return z(g.setCustomFieldValue(e,d))});I()}if(a&2){a=O(2).$implicit;var c=O(3);If("id","bv2-custom-field-",a.customFieldId,"");F("value",a.textValue);pf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},qxb=function(a){if(a&1){var b=w();H(0,"onedev-numeric-field",144);
M("valueChange",function(d){x(b);var e=O(2).$implicit,g=O(3);return z(g.setCustomFieldValue(e,d))});I()}if(a&2){a=O(2).$implicit;var c=O(3);If("id","bv2-custom-field-",a.customFieldId,"");F("value",a.numericValue);pf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},rxb=function(a){if(a&1){var b=w();H(0,"div")(1,"bv2-input-date-picker",145);M("boundValueChange",function(d){x(b);var e=O(2).$implicit,g=O(3);return z(g.setCustomFieldValue(e,d))});
I()()}if(a&2){a=O(2).$implicit;var c=O(3);B(1);Jf("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");F("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},sxb=function(a){if(a&1){var b=w();H(0,"onedev-single-select",146);M("valueChange",function(d){x(b);var e=O(2).$implicit,g=O(3);return z(g.setCustomFieldValue(e,d))});I()}if(a&2){a=O(2).$implicit;var c=O(3);F("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",
!0);pf("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},txb=function(a,b){a&1&&(H(0,"div"),P(1,pxb,1,4,"onedev-text-field",142),P(2,qxb,1,4,"onedev-numeric-field",142),P(3,rxb,2,4,"div",20),P(4,sxb,1,4,"onedev-single-select",143),I());a&2&&(a=b.ngIf,b=O(4),B(1),F("ngIf",a===b.FieldType.TEXT),B(1),F("ngIf",a===b.FieldType.NUMERIC),B(1),F("ngIf",a===b.FieldType.DATE),B(1),F("ngIf",a===b.FieldType.ENUM))},uxb=function(a,b){if(a&1){var c=w();H(0,"div")(1,"b-list-field",147);M("valuesChange",
function(e){x(c);var g=O().$implicit,h=O(3);return z(h.setCustomFieldValue(g,e.values))});I()()}if(a&2){a=b.ngIf;b=O().$implicit;var d=O(3);B(1);F("defaultLineCount",2)("type",a)("values",d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",!0);pf("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},wxb=function(a,b){a&1&&(H(0,"div",116)(1,"div",14)(2,"label",141),R(3),I()(),P(4,txb,5,4,"div",20),P(5,uxb,2,6,"div",20),I());if(a&2){a=
b.$implicit;b=O(3);B(2);If("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];Jf("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+"]");F("ngClass",Sf(7,vxb,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");pf("aria-label",d);B(1);Mf(" ",b.getCustomFieldName(a)," ");B(1);F("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));
B(1);F("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},xxb=function(a){if(a&1){var b=w();H(0,"mat-expansion-panel",108)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",109);R(4,"Advanced fields (Required fields marked with");H(5,"span",110);R(6,"*");I();R(7,")");I()()();H(8,"div",111)(9,"div",112)(10,"div",14)(11,"label",113);R(12," Severity ");I()();H(13,"button",114);R(14);J(15,"b-icon",38);I();H(16,"mat-menu",39,115);P(18,dxb,2,1,"button",78);I()();H(19,"div",116)(20,
"div",14)(21,"label",117);R(22," Found in ");I()();H(23,"input",118);M("ngModelChange",function(d){x(b);var e=O(2);return z(e.issue.foundInVersion=Vwb(d))});I()();H(24,"div",119)(25,"div",14)(26,"label",120);R(27," In prod ");I()();H(28,"mat-slide-toggle",121);M("ngModelChange",function(d){x(b);var e=O(2);return z(e.issue.inProd=d)});I()();J(29,"div",59);H(30,"div",116)(31,"div",14)(32,"label",122);R(33," Reporter ");I()();H(34,"input",123);M("ngModelChange",function(d){x(b);var e=O(2);return z(e.reporterText=
d)});I()();H(35,"div",116)(36,"div",14)(37,"label",124);R(38," Verifier ");I()();H(39,"input",125);M("ngModelChange",function(d){x(b);var e=O(2);return z(e.verifierText=d)});I()();H(40,"div",116)(41,"div",14)(42,"label",126);R(43," Targeted to ");I()();H(44,"input",127);M("ngModelChange",function(d){x(b);var e=O(2);return z(e.issue.targetedToVersion=Vwb(d))});I()();J(45,"div",59);H(46,"div",116)(47,"div",14)(48,"label",128);R(49," Blocked by ");P(50,exb,2,0,"span",20);I()();H(51,"input",129);M("ngModelChange",
function(d){x(b);var e=O(2);e.issue.blockedByIssueId=hxb(e,d);d=Fs(e.issue.blockedByIssueId);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return z()});I()();H(52,"div",116)(53,"div",14)(54,"label",130);R(55," Blocking ");P(56,fxb,2,0,"span",20);I()();H(57,"input",131);M("ngModelChange",function(d){x(b);var e=O(2);e.issue.blockingIssueId=hxb(e,d);d=Fs(e.issue.blockingIssueId);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return z()});I()();P(58,ixb,6,2,"div",132);P(59,kxb,6,
2,"div",132);J(60,"div",59);P(61,lxb,5,3,"div",132);P(62,oxb,2,1,"ng-container",20);J(63,"div",59);P(64,wxb,6,9,"div",133);I()()}if(a&2){var c=Lf(17);a=O(2);B(13);F("matMenuTriggerFor",c);pf("aria-label","Severity"+(a.issue.severity?", "+a.issue.severity:""));B(1);Nf(a.issue.severity);B(2);F("overlapTrigger",!0);B(2);F("ngForOf",a.severityChoices);B(5);F("ngModel",Fs(a.originalIssueCopy.foundInVersion));B(5);F("ngModel",a.issue.inProd);B(6);F("ngModel",a.reporterText)("bContactAutocomplete","SINGLE");
B(5);F("ngModel",a.verifierText)("bContactAutocomplete","SINGLE");B(5);F("ngModel",Fs(a.originalIssueCopy.targetedToVersion));B(6);F("ngIf",!a.isBlockedByIssueIdValid);B(1);F("ngModel",Fs(a.issue.blockedByIssueId));B(5);F("ngIf",!a.isBlockingIssueIdValid);B(1);F("ngModel",Fs(a.issue.blockingIssueId));B(1);F("ngIf",!a.sessionIsExternal);B(1);F("ngIf",!a.sessionIsExternal);B(2);F("ngIf",!kq(a.selectedComponent));B(1);F("ngIf",0<a.trackerCollaboratorGroups.length&&!kq(a.selectedComponent));B(2);F("ngForOf",
a.issue.customField)}},yxb=function(a){a&1&&(H(0,"div",25),J(1,"b-icon",26),H(2,"span"),R(3),I(),H(4,"a",27),R(5,"View access settings"),I()());a&2&&(a=O(2),F("ngClass",Tf(5,qwb,rwb(a),swb(a))),B(1),F("name","alert")("size","small"),B(2),Mf("",twb(a),"\u00a0"),B(1),F("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Sd))},zxb=function(a){if(a&1){var b=w();H(0,"div",148)(1,"b-recaptcha",149);M("onUpdate",function(c){x(b);var d=O(2);return z(d.recaptchaResponse=
c)});I()()}},Exb=function(a){if(a&1){var b=w();H(0,"div");P(1,Mwb,5,3,"div",45);H(2,"div",12)(3,"div",13)(4,"div",14)(5,"label",46);R(6,"Title");I()();H(7,"div",47)(8,"input",48);M("ngModelChange",function(c){x(b);var d=O();return z(d.setTitle(c))});I();P(9,Nwb,2,1,"p",49);I()();P(10,Pwb,12,5,"div",18);P(11,Swb,14,9,"div",18);I();K(12);H(13,"div",12);P(14,Twb,6,2,"div",50);P(15,Wwb,8,5,"div",51);I();H(16,"div",12);P(17,Xwb,6,2,"div",52);I();L();H(18,"div",53)(19,"div",12)(20,"div",13)(21,"div",14)(22,
"label",54);R(23,"Description");I()();H(24,"b-comment-box",55);M("commentChange",function(c){x(b);var d=O();return z(d.comment=c)})("onChange",function(){x(b);var c=O();return z(c.saveCommentDraft())})("onSubmit",function(c){x(b);var d=O();return z(Axb(d,c,!c.shiftKey))})("onRestrict",function(){x(b);var c=O();return z(c.showNewContentJudgementDialog())});P(25,Ywb,2,1,"p",56);H(26,"b-markdown-toggle",57);M("change",function(c){x(b);var d=O();return z(d.comment.formattingMode=c)});I()()()();P(27,cxb,
7,4,"div",58);J(28,"div",59);H(29,"div",60);P(30,xxb,65,21,"mat-expansion-panel",61);I();P(31,yxb,6,8,"div",9);P(32,zxb,2,0,"div",62);H(33,"div",63)(34,"b-button",64);M("onAction",function(c){x(b);var d=O();return z(Axb(d,c,!0))});R(35);I();H(36,"b-button",65);M("onAction",function(c){x(b);var d=O();return z(Axb(d,c,!1))});R(37);I();H(38,"b-button",66);M("onAction",function(){x(b);var c=O();c.draftStore.$window.sessionStorage.removeItem(En("0"));Bxb(c.reloadService);return z()});R(39," Discard ");
I()()()()}a&2&&(a=O(),B(1),F("ngIf",a.selectedComponent),B(7),yf("invalid",a.bannedWordsService.showWarning(a.bannedWordsWarningForTitle)),F("ngModel",a.issue.title)("bFocus",a.newIssueStarted),B(1),F("ngIf",a.bannedWordsService.showWarning(a.bannedWordsWarningForTitle)),B(1),F("ngIf",a.canEditIssuesInComponent),B(1),F("ngIf",a.canEditIssuesInComponent),B(3),F("ngIf",a.canEditIssuesInComponent),B(1),F("ngIf",a.canEditIssuesInComponent),B(2),F("ngIf",a.canEditIssuesInComponent),B(7),F("supportsPreview",
!0)("comment",a.comment)("disabled",a.isSaving)("judgementForNewContent",a.judgementForNewContent)("componentId",null==a.selectedComponent?null:a.selectedComponent.componentId)("placeholder",a.piiWarningMessage)("idForAriaLabel",a.descriptionBoxId)("audience",a.audience)("showRestrictionOptions",a.canEditIssuesInComponent)("ngClass",Sf(35,Cxb,Cwb(a.comment)))("warn",a.bannedWordsService.showWarning(a.bannedWordsWarningForDescription)),B(1),F("ngIf",a.bannedWordsService.showWarning(a.bannedWordsWarningForDescription)),
B(1),F("initialValue",a.comment.formattingMode),B(1),F("ngIf",a.canEditIssuesInComponent&&!!kq(a.selectedComponent)),B(3),F("ngIf",a.canEditIssuesInComponent),B(1),F("ngIf",rwb(a)||swb(a)),B(1),F("ngIf",a.enableRecaptcha),B(2),F("disabled",Dxb(a))("color",a.bannedWordsService.showWarning(a.bannedWordsWarningForTitle)||a.bannedWordsService.showWarning(a.bannedWordsWarningForDescription)?"warn":"primary"),B(1),Mf(" ",a.bannedWordsService.showWarning(a.bannedWordsWarningForTitle)||a.bannedWordsService.showWarning(a.bannedWordsWarningForDescription)?
"Create Anyway":"Create"," "),B(1),F("disabled",Dxb(a))("color",a.bannedWordsService.showWarning(a.bannedWordsWarningForTitle)||a.bannedWordsService.showWarning(a.bannedWordsWarningForDescription)?"warn":"primary"),B(1),Mf(" ",a.bannedWordsService.showWarning(a.bannedWordsWarningForTitle)||a.bannedWordsService.showWarning(a.bannedWordsWarningForDescription)?"Create Anyway & Start Another":"Create & Start Another"," "),B(1),F("disabled",Dxb(a)))},Fxb=function(a,b){a&1&&(H(0,"h2",150),R(1,"This component has a default description"),
I(),H(2,"mat-dialog-content"),R(3," You have already entered a description, but the component you chose has a default description: "),H(4,"div",151),R(5),I()(),H(6,"mat-dialog-actions")(7,"button",152),R(8,"Use component description"),I(),H(9,"button",153),R(10,"Keep my description"),I()());a&2&&(a=b.$implicit,B(5),Nf(a),B(2),F("mat-dialog-close",!0))},Gxb=function(a,b){b.assigneeText=pi(a.assigneeUser);b.reporterText=pi(a.reporterUser);b.verifierText=pi(a.verifierUser);b.collaboratorsText=qi(a.collaboratorsUsers);
b.ccsText=qi(a.ccUsers)},Hxb=function(a,b){var c=a.assigneeText;null===c?c=null:(c=c.trim(),c=c.endsWith(",")?c.slice(0,c.length-1):c);a.assigneeText=c;null!=a.assigneeText&&(b.assigneeUser=xi(a.assigneeText));null!=a.reporterText&&(b.reporterUser=xi(a.reporterText));null!=a.verifierText&&(b.verifierUser=xi(a.verifierText));a.collaboratorsText&&(c=Jqa(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&(a=Jqa(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},
Jxb=function(a,b){for(var c=k(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],g=Ixb[d];"customField"===d||Yh(e,g)||(Array.isArray(e)?a[d]?(e=fqa([].concat(ad(e),ad(a[d]))),a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},Kxb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},Lxb=function(a){var b={};a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.allowedValue&&(b[c.customFieldId]=c.allowedValue.map(function(d){return{value:d,displayText:d}}));return b},Mxb=function(a){if(a&
1){var b=w();H(0,"b-star-toggle",12);M("starClicked",function(){x(b);var c=O(2);return z(c.toggleStar())});I()}a&2&&(a=O(2),F("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},Nxb=function(a){a&1&&J(0,"b-star-toggle",13);a&2&&F("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},Oxb=function(a){if(a&
1){var b=w();H(0,"div")(1,"div",7);P(2,Mxb,1,3,"b-star-toggle",8);P(3,Nxb,1,4,"b-star-toggle",9);H(4,"span",10);R(5);H(6,"span")(7,"button",11);M("click",function(){x(b);var c=O();return z(c.editBookmarkGroup())});I()()()()()}a&2&&(a=O(),B(2),F("ngIf",!a.isAdmin),B(1),F("ngIf",a.isAdmin),B(2),Mf("",a.bookmarkGroup.name," "))},Rxb=function(a){if(a&1){var b=w();H(0,"b-saved-search-panel",17);M("focusedRowIndexChange",function(g){x(b);var h=O().$implicit,m=O();return z(Pxb(m,h,g))})("selectionChange",
function(g){x(b);var h=O(2);return z(Qxb(h,g))})("resultsLoaded",function(g){x(b);var h=O(2);return z(h.loadHotlists(g))});I()}if(a&2){var c=O();a=c.$implicit;var d=c.first;c=c.last;var e=O();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},Sxb=function(a){if(a&1){var b=w();H(0,"b-hotlist-panel",18);M("focusedRowIndexChange",function(g){x(b);var h=O().$implicit,m=O();return z(Pxb(m,h,g))})("selectionChange",function(g){x(b);
var h=O(2);return z(Qxb(h,g))})("resultsLoaded",function(g){x(b);var h=O(2);return z(h.loadHotlists(g))});I()}if(a&2){var c=O();a=c.$implicit;var d=c.first;c=c.last;var e=O();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},Txb=function(a,b){a&1&&(H(0,"div",14),P(1,Rxb,1,6,"b-saved-search-panel",15),P(2,Sxb,1,6,"b-hotlist-panel",16),I());a&2&&(F("ngSwitch",b.$implicit.type),B(1),F("ngSwitchCase","SAVED_SEARCH"),B(1),
F("ngSwitchCase","HOTLIST"))},Uxb=function(a){if(a&1){var b=w();H(0,"button",8);M("click",function(){x(b);var c=O();return z(c.archive())});R(1," Archive bookmark group ");I()}a&2&&(a=O(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},Vxb=function(a){if(a&1){var b=w();H(0,"button",8);M("click",function(){x(b);var c=O();return z(c.unarchive())});R(1," Unarchive bookmark group ");I()}a&2&&(a=O(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},Wxb=function(a){a&1&&(H(0,"span",32),R(1," (archived) "),
I())},Yxb=function(a,b){if(a&1){var c=w();H(0,"div")(1,"b-hotlist-chip-smart",48);M("removeHotlist",function(){var d=x(c).ngIf,e=O(4);return z(Xxb(e,d))});I()()}a&2&&(a=b.ngIf,B(1),F("id",a))},$xb=function(a,b){if(a&1){var c=w();H(0,"div",49)(1,"a",50);R(2);I();H(3,"span",51);M("click",function(){var e=x(c).ngIf,g=O(4);return z(Zxb(g,e))})("keydown.enter",function(){var e=x(c).ngIf,g=O(4);return z(Zxb(g,e))})("keydown.space",function(){var e=x(c).ngIf,g=O(4);return z(Zxb(g,e))});R(4," \u00d7 ");I()()}if(a&
2){a=b.ngIf;b=O().$implicit;var d=O(3);B(1);F("href",d.paths.viewSavedSearch(a),Sd)("matTooltip","Go to saved search: "+d.getDisplayName(b));B(1);Mf(" S: ",d.getDisplayName(b)," ");B(1);F("matTooltip","Remove item: "+d.getDisplayName(b));pf("aria-label","Remove item: "+d.getDisplayName(b))}},ayb=function(a){a&1&&(H(0,"span",52),R(1,"<None>"),I())},byb=function(a,b){a&1&&(H(0,"div",45),P(1,Yxb,2,1,"div",7),P(2,$xb,5,5,"div",46),P(3,ayb,2,0,"span",47),I());if(a&2){a=b.$implicit;b=O(3);B(1);var c;var d=
"HOTLIST"===a.resourceType?null==(c=a.hotlistId)?void 0:c.toString():void 0;F("ngIf",d);B(1);F("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);B(1);F("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},dyb=function(a,b){if(a&1){var c=w();H(0,"button",61);M("click",function(){var d=x(c).$implicit,e=O(5);return z(cyb(e,d))});R(1);I()}a&2&&(a=b.$implicit,B(1),Mf("",a.name," "))},eyb=function(a){a&1&&P(0,dyb,2,1,"button",60);a&2&&(a=O(4),F("ngForOf",
a.savedSearchChoices))},fyb=function(a){a&1&&(H(0,"div",53)(1,"label",54),R(2,"Add from saved searches:"),I(),H(3,"button",55)(4,"span",56),R(5,"Select"),I(),J(6,"mat-icon",57),I(),H(7,"mat-menu",null,58),P(9,eyb,1,1,"ng-template",59),I()());if(a&2){var b=Lf(8);B(3);F("matMenuTriggerFor",b)}},kyb=function(a){if(a&1){var b=w();K(0);H(1,"div",30)(2,"label",33)(3,"span",18);R(4,"Selected items");I()();H(5,"div",34,35);P(7,byb,4,3,"div",36);I()();H(8,"div",37)(9,"div",38)(10,"label",39);R(11,"Add hotlist from favorites:");
I();H(12,"b-hotlist-picker",40);M("onApply",function(c){x(b);var d=O(2);return z(gyb(d,c))})("onCreate",function(c){x(b);var d=O(2);return z(hyb(d,c))})("onLoad",function(c){x(b);var d=O(2);return z(iyb(d,c))});I()();H(13,"div",41)(14,"label",42);R(15,"Add hotlist by query:");I();H(16,"b-hotlist-search",43);M("itemSelect",function(c){x(b);var d=O(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(jyb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",
hotlistId:c.hotlistId}));return z()});I()();P(17,fyb,10,1,"div",44);I();L()}a&2&&(a=O(2),B(7),F("ngForOf",a.bookmarkGroupUnderEdit.item),B(5),F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),B(4),F("showGroups",!1)("allowStarring",!1),B(1),F("ngIf",0<a.savedSearchChoices.length))},myb=function(a){a&1&&(H(0,"span"),R(1),H(2,"a",65),R(3),I()());if(a&2){a=O().$implicit;var b=O(3);B(1);Mf(" Hotlist ",a.hotlistId,": ");B(1);F("href",lyb(b,a),Sd);B(1);Mf(" ",a.name||
"(name not available)"," ")}},nyb=function(a){a&1&&(H(0,"span"),R(1),H(2,"a",65),R(3),I()());if(a&2){a=O().$implicit;var b=O(3);B(1);Mf(" Saved search ",a.savedSearchId,": ");B(1);F("href",lyb(b,a),Sd);B(1);Mf(" ",a.name||"(name not available)"," ")}},oyb=function(a,b){a&1&&(H(0,"li"),P(1,myb,4,3,"span",7),P(2,nyb,4,3,"span",7),I());a&2&&(a=b.$implicit,B(1),F("ngIf","HOTLIST"===a.resourceType),B(1),F("ngIf","SAVED_SEARCH"===a.resourceType))},pyb=function(a){a&1&&(H(0,"div",62)(1,"label")(2,"span",
18),R(3,"Items"),I()(),H(4,"div",63)(5,"ul"),P(6,oyb,3,2,"li",64),I()()());a&2&&(a=O(2),B(6),F("ngForOf",a.bookmarkGroup.item))},qyb=function(a){if(a&1){var b=w();H(0,"div",66)(1,"button",67);M("click",function(){x(b);var c=O(2);return z(c.saveMetadata())});R(2," Update ");I();H(3,"button",68);M("click",function(){x(b);var c=O(2);return z(c.revertMetadataChanges())});R(4," Revert changes ");I()()}a&2&&(a=O(2),B(1),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},ryb=function(a){if(a&1){var b=
w();H(0,"div",66)(1,"button",67);M("click",function(){x(b);var c=O(2);return z(c.saveAccessPolicy())});R(2," Update ");I();H(3,"button",68);M("click",function(){x(b);var c=O(2);return z(c.revertAccessPolicyChanges())});R(4," Revert changes ");I()()}a&2&&(a=O(2),B(1),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},vyb=function(a){if(a&1){var b=w();K(0);H(1,"div",9)(2,"h2");R(3);I();P(4,Wxb,2,0,"span",10);H(5,"a",11);R(6," (View Dashboard)");
I()();H(7,"mat-tab-group",12);M("selectedIndexChange",function(d){x(b);var e=O();return z(e.selectedTabIndex=d)})("selectedIndexChange",function(d){x(b);var e=O();return z(e.tabChange(d))});H(8,"mat-tab",13)(9,"div",14);J(10,"b-error-banner",15);H(11,"div",16)(12,"label",17)(13,"span",18);R(14,"Name");I()();H(15,"input",19,20);M("ngModelChange",function(d){x(b);var e=O();return z(e.bookmarkGroupUnderEdit.name=d)});I()();H(17,"div",16)(18,"label",21)(19,"span",18);R(20,"Description");I()();H(21,"textarea",
22);M("ngModelChange",function(d){x(b);var e=O();return z(e.bookmarkGroupUnderEdit.description=d)});I()();P(22,kyb,18,7,"ng-container",23);P(23,pyb,7,1,"ng-template",null,24,hg);P(25,qyb,5,1,"div",25);I()();H(26,"mat-tab",26)(27,"div",14)(28,"div",16)(29,"label")(30,"span",18);R(31,"Admins");I();H(32,"p",27);R(33," Edit access controls, edit name and description, reorder items, add/remove items ");I()();H(34,"b-multi-user-input",28);M("usersChange",function(d){x(b);var e=O();return z(e.accessPolicyUnderEdit.admins=
d)})("isValid",function(d){x(b);var e=O();return z(e.isAdminsFieldValid=d)});I()();H(35,"div",16)(36,"label")(37,"span",18);R(38,"View only");I();H(39,"p",27);R(40," View the bookmark group ");I();H(41,"b-multi-user-input",29);M("usersChange",function(d){x(b);var e=O();return z(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){x(b);var e=O();return z(e.isReaderFieldValid=d)});I()()();H(42,"div",30);R(43," See ");H(44,"a",31);R(45,"access control documentation");I();R(46," for an explanation of the settings. ");
I();P(47,ryb,5,1,"div",25);I()()();L()}if(a&2){var c=Lf(24);a=O();B(3);Of(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," ");B(1);F("ngIf",a.isArchived());B(1);F("href",a.paths.dashboard(a.bookmarkGroup.bookmarkGroupId),Sd);B(2);F("selectedIndex",a.selectedTabIndex);B(3);F("error",a.error);B(1);F("ngClass",Sf(28,syb,a.isEditDisabled()));B(4);F("ngModel",a.bookmarkGroupUnderEdit.name)("disabled",a.isEditDisabled());B(2);F("ngClass",Sf(30,syb,a.isEditDisabled()));B(4);
F("ngModel",a.bookmarkGroupUnderEdit.description)("disabled",a.isEditDisabled());B(1);F("ngIf",a.isAdmin)("ngIfElse",c);B(3);F("ngIf",a.isAdmin);B(3);F("ngClass",Sf(32,syb,a.isEditDisabled()));B(6);yf("disabled",a.isEditDisabled());F("users",a.accessPolicyUnderEdit.admins);B(1);F("ngClass",Sf(34,syb,a.isEditDisabled()));B(6);yf("disabled",a.isEditDisabled());F("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Sf(38,tyb,Sf(36,uyb,a.accessPolicyUnderEdit.admins)));
B(3);F("href",ho(a.documentationLinks)+"#bookmark-groups",Sd);B(3);F("ngIf",a.isAdmin)}},wyb=function(a){if(a&1){var b=w();H(0,"button",8);M("click",function(){x(b);var c=O();return z(c.delete())});R(1," Delete saved search ");I()}a&2&&(a=O(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},xyb=function(a){a&1&&(K(0),H(1,"div",9)(2,"h2"),R(3," Saved search not found "),I()(),L())},yyb=function(a){if(a&1){var b=w();H(0,"div",34)(1,"button",35);M("click",function(){x(b);var c=O(2);return z(c.saveMetadata())});
R(2," Update ");I();H(3,"button",36);M("click",function(){x(b);var c=O(2);return z(c.revertMetadataChanges())});R(4," Revert changes ");I()()}a&2&&(a=O(2),B(1),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},zyb=function(a){if(a&1){var b=w();H(0,"div",34)(1,"button",35);M("click",function(){x(b);var c=O(2);return z(c.saveAccessPolicy())});R(2," Update ");I();H(3,"button",36);M("click",function(){x(b);var c=O(2);return z(c.revertAccessPolicyChanges())});R(4," Revert changes ");I()()}a&
2&&(a=O(2),B(1),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Dyb=function(a){if(a&1){var b=w();K(0);H(1,"div",9)(2,"h2");R(3);I();H(4,"a",10);R(5," (View Issues)");I()();H(6,"mat-tab-group",11);M("selectedIndexChange",function(c){x(b);var d=O();return z(d.selectedTabIndex=c)})("selectedIndexChange",function(c){x(b);var d=O();return z(d.tabChange(c))});H(7,"mat-tab",12)(8,"div",13);J(9,"b-error-banner",14);H(10,"div",15)(11,"label",
16)(12,"span",17);R(13,"Name");I()();H(14,"input",18,19);M("ngModelChange",function(c){x(b);var d=O();return z(d.savedSearchUnderEdit.name=c)});I()();H(16,"div",15)(17,"label",20)(18,"span",17);R(19,"Description");I()();H(20,"textarea",21);M("ngModelChange",function(c){x(b);var d=O();return z(d.savedSearchUnderEdit.description=c)});R(21,"            ");I()();H(22,"div",22)(23,"label",23)(24,"span",17);R(25,"Query");I();H(26,"p",24);R(27," To modify query and display preferences, run the saved search and modify its parameters ");
I();H(28,"div",25);R(29);I()()();P(30,yyb,5,1,"div",26);I()();H(31,"mat-tab",27)(32,"div",13)(33,"div",15)(34,"label",28)(35,"span",17);R(36,"Admins");I();H(37,"p",24);R(38," Edit access controls, edit name and description, edit query ");I()();H(39,"b-multi-user-input",29);M("usersChange",function(c){x(b);var d=O();return z(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){x(b);var d=O();return z(d.isAdminsFieldValid=c)});I()();H(40,"div",15)(41,"label",30)(42,"span",17);R(43,"View and execute search");
I()();H(44,"b-multi-user-input",31);M("usersChange",function(c){x(b);var d=O();return z(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){x(b);var d=O();return z(d.isReaderFieldValid=c)});I()();H(45,"div",32);R(46," See ");H(47,"a",33);R(48,"access control documentation");I();R(49," for an explanation of the settings. ");I();P(50,zyb,5,1,"div",26);I()()();L()}a&2&&(a=O(),B(3),Of(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),B(1),F("href",a.paths.viewSavedSearch(a.savedSearch.searchId),
Sd),B(2),F("selectedIndex",a.selectedTabIndex),B(3),F("error",a.error),B(1),F("ngClass",Sf(26,Ayb,a.isEditDisabled())),B(4),F("ngModel",a.savedSearchUnderEdit.name)("disabled",a.isEditDisabled()),B(2),F("ngClass",Sf(28,Ayb,a.isEditDisabled())),B(4),F("ngModel",a.savedSearchUnderEdit.description)("disabled",a.isEditDisabled()),B(9),Mf(" ",a.savedSearch.query," "),B(1),F("ngIf",a.isAdmin),B(3),F("ngClass",Sf(30,Ayb,a.isEditDisabled())),B(6),yf("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.admins),
B(1),F("ngClass",Sf(32,Ayb,a.isEditDisabled())),B(4),yf("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Sf(36,Byb,Sf(34,Cyb,a.accessPolicyUnderEdit.admins))),B(3),F("href",ho(a.documentationLinks)+"#saved-searches",Sd),B(3),F("ngIf",a.isAdmin))},Eyb=function(a){a&1&&(H(0,"div",7),J(1,"b-spinner"),I())},Fyb=function(a){if(a&1){var b=w();H(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);M("change",function(c){x(b);
var d=O(2);return z(d.alertState.setValue(c.checked))});I()();H(3,"div")(4,"strong",42);R(5,"SLO Notifications");I();H(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. ");I()()()}a&2&&(a=O(2),yf("bv2-edit-resource-readonly",a.isEditDisabled()),B(2),F("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},Gyb=function(a){a&1&&(H(0,"div",44),R(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),
H(2,"a",45),R(3," Learn more "),I()())},Iyb=function(a){if(a&1){var b=w();H(0,"b-button",50);M("onAction",function(){x(b);var c=O(3);return z(Hyb(c,!0))});R(1," Archive ");I()}a&2&&(a=O(3),F("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Jyb=function(a){if(a&1){var b=w();H(0,"b-button",51);M("onAction",function(){x(b);var c=O(3);return z(Hyb(c,!1))});R(1," Unarchive ");I()}a&2&&(a=O(3),F("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Kyb=function(a){if(a&1){var b=w();H(0,"div",
26)(1,"b-button",46);M("onAction",function(){x(b);var d=O(2);return z(d.saveMetadata())});R(2," Update ");I();H(3,"b-button",47);M("onAction",function(){x(b);var d=O(2);return z(d.revertMetadataChanges())});R(4," Revert changes ");I();P(5,Iyb,2,1,"b-button",48);P(6,Jyb,2,1,"b-button",49);I()}if(a&2){O();var c=Lf(9);a=O();B(1);F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!a.elementPickerIsValid||!!c.pending||!!c.invalid);B(2);F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||
!!c.pending||!!c.invalid);B(2);F("ngIf",a.slo&&!a.slo.isArchived);B(1);F("ngIf",a.slo&&a.slo.isArchived)}},Lyb=function(a){if(a&1){var b=w();H(0,"div",25)(1,"b-button",52);M("onAction",function(){x(b);var c=O(2);return z(c.saveAccessPolicy())});R(2," Update ");I();H(3,"b-button",53);M("onAction",function(){x(b);var c=O(2);return z(c.revertAccessPolicyChanges())});R(4," Revert changes ");I()()}a&2&&(a=O(2),B(1),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},Myb=function(a){if(a&
1){var b=w();H(0,"div")(1,"div",8)(2,"h2")(3,"span",9);R(4);I()()();H(5,"mat-tab-group",10);M("selectedIndexChange",function(c){x(b);var d=O();return z(d.selectedTabIndex=c)})("selectedIndexChange",function(c){x(b);var d=O();return z(d.tabChange(c))});H(6,"mat-tab",11)(7,"div",12)(8,"form",13,14)(10,"div",15)(11,"label",16)(12,"span",17);R(13,"Name");I()();H(14,"input",18);M("ngModelChange",function(c){x(b);var d=O();return z(d.editableCopy.name=c)});I()();H(15,"div",15)(16,"label",19)(17,"span",
17);R(18,"Description");I()();H(19,"textarea",20);M("ngModelChange",function(c){x(b);var d=O();return z(d.editableCopy.description=c)});R(20,"              ");I()();P(21,Fyb,8,4,"div",21);I();P(22,Gyb,4,0,"div",22);H(23,"div",15)(24,"slo-elements-picker",23);M("onCollectionUpdate",function(c){x(b);var d=O();return z(d.updateCollection(c))})("onValidation",function(c){x(b);var d=O();return z(d.elementPickerIsValid=c)});I()();H(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);M("onAction",function(){x(b);
var c=O();return z(c.showUpdateHistoryModal())});R(29," View history ");I()()();H(30,"div",25);P(31,Kyb,7,4,"div",28);I()()()();H(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,"label",32)(37,"span",17);R(38,"Admins");I();H(39,"p",33);R(40," Edit name, description and metrics ");I()();H(41,"b-multi-user-input",34);M("usersChange",function(c){x(b);var d=O();return z(d.editableAccessPolicy.admins=c)})("isValid",function(c){x(b);var d=O();return z(d.validity.admins=c)});I()();H(42,"div",
15)(43,"label",35)(44,"span",17);R(45,"Readers");I();H(46,"p",33);R(47," View the SLO definition (this is not required to see an issue's SLO status) ");I()();H(48,"b-multi-user-input",36);M("usersChange",function(c){x(b);var d=O();return z(d.editableAccessPolicy.readers=c)})("isValid",function(c){x(b);var d=O();return z(d.validity.readers=c)});I()()();H(49,"div",15);R(50," See ");H(51,"a",37);R(52,"access control documentation");I();R(53," for an explanation of the settings. ");I();P(54,Lyb,5,1,"div",
38);I()()()()}a&2&&(a=O(),B(4),Of(" SLO ",a.slo.sloId,": ",a.slo.name," "),B(1),F("selectedIndex",a.selectedTabIndex),B(5),yf("bv2-edit-resource-readonly",a.isEditDisabled()),B(4),F("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),B(1),yf("bv2-edit-resource-readonly",a.isEditDisabled()),B(4),F("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),B(2),F("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),B(1),F("ngIf",a.isUneditedFromBugScope&&
a.isAdmin()),B(1),yf("bv2-edit-resource-readonly",a.isEditDisabled()),B(1),F("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),B(7),F("ngIf",a.isAdmin()),B(4),yf("bv2-edit-resource-readonly",a.isEditDisabled()),B(6),F("users",a.editableAccessPolicy.admins),pf("disabled",a.isEditDisabled()?!0:null),B(1),yf("bv2-edit-resource-readonly",a.isEditDisabled()),B(6),F("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),pf("disabled",a.isEditDisabled()?
!0:null),B(3),If("href","",ho(a.documentationLinks),"#slos",Sd),B(3),F("ngIf",a.isAdmin()))},Nyb=function(a){if(a&1){var b=w();H(0,"div",5);J(1,"img",6)(2,"img",7);H(3,"p",8);R(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");I();H(5,"p",9);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. ');H(7,"a",10);R(8,"Learn more");I()();H(9,"button",11);M("click",function(){x(b);var c=O(2);return z(c.onClickAdd())});
R(10," Add ");I()()}a&2&&(a=O(2),B(1),F("src",a.TEA_LIGHT,Sd),B(1),F("src",a.TEA_DARK,Sd))},Oyb=function(a,b){a&1&&J(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=O(6),F("issueIds",a)("menuItemFactory",b.getMenuItems))},Pyb=function(a){a&1&&(K(0),P(1,Oyb,1,2,"b-issues-table",17),S(2,"async"),L());a&2&&(a=O(5),B(1),F("ngIf",T(2,1,a.blockedAndOpenIds$)))},Qyb=function(a){a&1&&(H(0,"p",19),R(1,"Not blocking any open issues \ud83e\udd73"),I())},Ryb=function(a,b){a&1&&(K(0),H(1,"h4",15),R(2),I(),P(3,Pyb,3,3,
"ng-container",12),P(4,Qyb,2,0,"ng-template",null,16,hg),L());if(a&2){a=b.$implicit;var c=Lf(5);B(2);Mf("Open (",a.length,")");B(1);F("ngIf",0<a.length)("ngIfElse",c)}},Syb=function(a,b){a&1&&J(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=O(6),F("issueIds",a)("menuItemFactory",b.getMenuItems))},Tyb=function(a){a&1&&(K(0),H(1,"h4",15),R(2),I(),P(3,Syb,1,2,"b-issues-table",17),S(4,"async"),L());if(a&2){a=O().$implicit;var b=O(4);B(2);Mf("Closed (",a.length,")");B(1);F("ngIf",T(4,2,b.blockedAndClosedIds$))}},
Uyb=function(a,b){a&1&&(K(0),P(1,Tyb,5,4,"ng-container",1),L());a&2&&(a=b.$implicit,B(1),F("ngIf",0<a.length))},Vyb=function(a){a&1&&(K(0),P(1,Ryb,6,3,"ng-container",1),S(2,"async"),P(3,Uyb,2,1,"ng-container",1),S(4,"async"),L());a&2&&(a=O(3),B(1),F("ngIf",T(2,2,a.blockedAndOpen$)),B(2),F("ngIf",T(4,4,a.blockedAndClosed$)))},Wyb=function(a,b){a&1&&(H(0,"li")(1,"a",22)(2,"span",9),R(3),I(),H(4,"aside",23),J(5,"button",24),I()()());a&2&&(a=b.$implicit,B(1),If("routerLink","/issues/",a,""),rf("aria-label",
"Issue ",a,""),B(2),Mf("b/",a,""))},Xyb=function(a){a&1&&(H(0,"h4",15),R(1,"Loading..."),I(),H(2,"ol",20),P(3,Wyb,6,3,"li",21),I());a&2&&(a=O(2).$implicit,B(3),F("ngForOf",a))},Yyb=function(a,b){a&1&&(K(0),H(1,"a",25),R(2," View as search results "),I(),L());a&2&&(a=b.ngIf,B(1),F("routerLink",a.path)("queryParams",a.params))},Zyb=function(a){if(a&1){var b=w();P(0,Vyb,5,6,"ng-container",12);S(1,"async");P(2,Xyb,4,1,"ng-template",null,13,hg);H(4,"aside",14)(5,"button",11);M("click",function(){x(b);
var d=O(2);return z(d.onClickAdd())});R(6," Add ");I();P(7,Yyb,3,2,"ng-container",1);S(8,"async");I()}if(a&2){var c=Lf(3);a=O(2);F("ngIf",T(1,3,a.issuesBeingBlocked$))("ngIfElse",c);B(7);F("ngIf",T(8,5,a.searchUrl$))}},$yb=function(a,b){a&1&&(K(0),P(1,Nyb,11,2,"div",3),P(2,Zyb,9,7,"ng-template",null,4,hg),L());if(a&2){a=b.$implicit;var c=Lf(3);B(1);F("ngIf",0===a.length)("ngIfElse",c)}},azb=function(a){a&1&&(H(0,"aside",26),J(1,"b-spinner"),I())},bzb=function(a,b){if(a&&a.length)return a.map(b)},
czb=function(a){return{filename:a.getFilename(),lineNumber:Uh(a,2),changeNumber:uj(a,3)}},dzb=function(a){return{packageName:a.getPackageName(),fileMentionSet:bzb(oj(a,Gs,2),czb)}},ezb=function(a){return{totalMentions:Vh(a,1),truncated:Vj(a,2),packageMentionSet:bzb(oj(a,Hs,3),dzb)}},Is=function(a){var b=fzb(a.open);a=fzb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},fzb=function(a){var b=a.count;a=a.exact;return 0===b||a?""+b:b+"+"},gzb=function(a){return"("+fzb(a)+")"},Js=function(a){return{count:99<
a?99:a,exact:99<a?!1:!0}},hzb=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:Fh(b)}},izb=function(a){a&1&&Df(0)},jzb=function(a){a&1&&(K(0),P(1,izb,1,0,"ng-container",9),L());if(a&2){O();var b=Lf(15);B(1);F("ngTemplateOutlet",b)}},kzb=function(a,b){a&1&&(K(0),J(1,"b-issues-table",10),L());a&2&&(a=
b.ngIf,b=O(2),B(1),F("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort))},lzb=function(a){a&1&&(K(0),P(1,kzb,2,5,"ng-container",4),S(2,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,1,a.blockerIds$)))},mzb=function(a,b){if(a&1){var c=w();H(0,"p",11);R(1);H(2,"button",12);M("click",function(){x(c);var d=O();return z(d.shouldResetFilters.next())});R(3,"Show all");I()()}a&2&&(a=b.$implicit,B(1),Of(" Filtering ",a," issue",1===
a?"":"s",". "))},nzb=function(a){a&1&&Df(0)},ozb=function(a){a&1&&(H(0,"div")(1,"span",11),R(2,"This issue is not blocked "),H(3,"span",13),R(4,"\ud83c\udf89"),I()(),P(5,nzb,1,0,"ng-container",9),I());if(a&2){O();var b=Lf(15);B(5);F("ngTemplateOutlet",b)}},qzb=function(a){if(a&1){var b=w();H(0,"b-button",14);M("onAction",function(){x(b);var c=O();return z(pzb(c))});S(1,"async");R(2," Add blocker ");I()}a&2&&(a=O(),F("disabled",!T(1,1,a.canEdit$)))},rzb=function(a){a&1&&J(0,"th",27)},szb=function(a){if(a&
1){var b=w();H(0,"td",28,29);M("click",function(c){x(b);Lf(1).focus();return z(c.stopPropagation())});I()}},tzb=function(a){a&1&&J(0,"th",27)},uzb=function(a){if(a&1){var b=w();H(0,"td",30,31);M("click",function(c){x(b);Lf(1).focus();return z(c.stopPropagation())})("dragstart",function(c){x(b);var d=O();return z(d.handleDragStart(c))});J(2,"mat-icon",32);I()}},vzb=function(a){a&1&&(H(0,"th",27),R(1," Id "),I())},wzb=function(a,b){a&1&&(H(0,"td",33),J(1,"b-issue-id-cell",34),I());a&2&&(a=b.$implicit,
B(1),F("id",a.id))},xzb=function(a){a&1&&(H(0,"th",27),R(1," Id "),I())},yzb=function(a){a&1&&(H(0,"td",33),R(1,"--"),I())},zzb=function(a){a&1&&(H(0,"th",27),R(1," Title "),I())},Azb=function(a,b){if(a&1){var c=w();H(0,"td",33)(1,"b-expandable-issue-title-cell",35);M("expansionChange",function(){var d=x(c).$implicit,e=O();return z(e.toggleExpansion(d))});S(2,"async");S(3,"async");I()()}a&2&&(a=b.$implicit,B(1),F("issue",T(2,4,a.issue$))("expandable",T(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",
a.level))},Bzb=function(a){a&1&&(H(0,"th",27),R(1," Type "),I())},Czb=function(a,b){a&1&&(H(0,"td",33),J(1,"b-issue-type-cell",36),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},Dzb=function(a){a&1&&(H(0,"th",27),R(1," Assignee "),I())},Ezb=function(a,b){a&1&&(H(0,"td",33),J(1,"b-issue-assignee-cell",36),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},Fzb=function(a){a&1&&(H(0,"th",27),R(1," Status "),I())},Gzb=function(a,b){a&1&&(H(0,"td",33),J(1,
"b-issue-status-cell",36),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},Hzb=function(a){a&1&&(H(0,"th",27),R(1," Team "),I())},Izb=function(a,b){a&1&&(H(0,"td",33),J(1,"b-issue-team-cell",36),S(2,"async"),I());a&2&&(a=b.$implicit,B(1),F("issue",T(2,1,a.issue$)))},Jzb=function(a){a&1&&J(0,"th",27)},Kzb=function(a,b){a&1&&(H(0,"td",33)(1,"b-actions-menu",37),M("click",function(c){return c.stopPropagation()}),I()());a&2&&(a=b.$implicit,b=O(),B(1),F("menuItems",b.getMenuItems(a)))},
Lzb=function(a){a&1&&J(0,"th",27)},Mzb=function(a){a&1&&(H(0,"b-actions-menu",37),M("click",function(c){return c.stopPropagation()}),I());if(a&2){a=O().$implicit;var b=O();F("menuItems",b.getMenuItemsForDraft(a))}},Nzb=function(a){a&1&&J(0,"b-spinner")},Ozb=function(a,b){a&1&&(H(0,"td",38),P(1,Mzb,1,1,"b-actions-menu",39),P(2,Nzb,1,0,"ng-template",null,40,hg),I());if(a&2){a=b.$implicit;var c=Lf(3);B(1);F("ngIf",!a.saving)("ngIfElse",c)}},Pzb=function(a,b){if(a&1){var c=w();H(0,"td",33)(1,"b-async-data-placeholder",
41);S(2,"async");H(3,"b-button",42);M("onAction",function(){var d=x(c).$implicit,e=O();return z(e.displayAllSiblings(d))});H(4,"span",43);R(5);I()()()()}a&2&&(a=b.$implicit,b=O(),xf("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),pf("colspan",b.tableColumns.length),B(1),F("isReady",!!T(2,5,a.parentIssue$)),B(4),Mf("Display ",a.truncatedSiblingCount," more"))},Qzb=function(a){a&1&&(H(0,"th",27),R(1," Title "),I())},Rzb=function(a,b){if(a&1){var c=w();H(0,"td",33)(1,"div",44)(2,"b-text-input-cell",
45);M("valueChange",function(d){var e=x(c).$implicit;return z(e.title=d)})("commit",function(){var d=x(c).$implicit,e=O();return z(e.saveDraft(d))});I();H(3,"b-button",46);M("onAction",function(){var d=x(c).$implicit,e=O();return z(e.saveDraft(d))});R(4," Create ");I();H(5,"b-button",47);M("onAction",function(){var d=x(c).$implicit,e=O();return z(e.cancelDraft(d))});R(6," Cancel ");I()()()}a&2&&(a=b.$implicit,xf("padding-left",24*(a.level+1),"px"),B(2),F("value",a.title)("readonly",a.saving),B(1),
F("disabled",!a.title||a.saving),B(2),F("disabled",a.saving))},Szb=function(a){a&1&&J(0,"tr",48)},Tzb=function(a,b){if(a&1){var c=w();H(0,"tr",49);M("click",function(d){var e=x(c).$implicit,g=O();return z(g.navigateToIssue(d,e))})("mouseup",function(d){var e=x(c).$implicit,g=O();return z(g.navigateToIssue(d,e))})("focusin",function(){var d=x(c).$implicit,e=O();return z(co(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,g=O();return z(g.onRowKeydown(e,d))});S(1,"async");S(2,"async");
I()}a&2&&(a=b.$implicit,b=O(),yf("selected",T(1,8,LKa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(T(2,10,a.issue$))),F("row",a),pf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Uzb=function(a,b){if(a&1){var c=w();H(0,"tr",50);M("focusin",function(){var d=x(c).$implicit,e=O();return z(co(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,g=O();return z(g.onRowKeydown(e,d))});I()}a&2&&(a=b.$implicit,F("row",a),pf("data-level",a.level)("data-type",
a.type)("data-ancestorchain",a.ancestorChain.hash()))},Vzb=function(a,b){if(a&1){var c=w();H(0,"tr",51);M("keydown",function(d){var e=x(c).$implicit,g=O();return z(g.onRowKeydown(e,d))})("keydown.escape",function(){var d=x(c).$implicit,e=O();return z(e.cancelDraft(d))})("keydown.backspace",function(){var d=x(c).$implicit,e=O();return z(d.title||e.cancelDraft(d))})("focusin",function(){var d=x(c).$implicit,e=O();return z(co(e.focusManager,d))});I()}a&2&&(a=b.$implicit,F("row",a),pf("data-type",a.type))},
Wzb=function(a,b){a&1&&(K(0),J(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=O(),B(1),F("issueIds",a)("tableColumns",b.tableColumns)("filters",b.filters)("issueUrlFactory",b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},Xzb=function(a,b){a&1&&(H(0,"span",10),R(1),I());a&2&&(a=b.ngIf,If("title","",a," applied filter(s)"),B(1),Nf(a))},Yzb=function(a){a&1&&(K(0),P(1,Xzb,2,2,"span",9),S(2,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,1,a.internalSelectedOptions.size$)))},Zzb=function(a){a&1&&
(H(0,"h1",11),R(1),I());a&2&&(a=O(),B(1),Nf(a.overlayTitle))},$zb=function(a){a&1&&(H(0,"h1"),R(1),I());a&2&&(a=O().$implicit,B(1),Nf(a.title))},aAb=function(a){a&1&&(H(0,"p"),R(1),I());a&2&&(a=O().$implicit,B(1),Nf(a.description))},bAb=function(a,b){if(a&1){var c=w();H(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);M("change",function(d){var e=x(c).$implicit,g=O();e=e.key;d.checked?g.internalSelectedOptions.add(e):g.internalSelectedOptions.delete(e);g.onChange.emit(new Set(g.internalSelectedOptions));
return z()});S(3,"async");I();H(4,"div");P(5,$zb,2,1,"h1",3);P(6,aAb,2,1,"p",3);I()()()}a&2&&(a=b.$implicit,b=O(),B(2),F("checked",T(3,3,bo(b.internalSelectedOptions,a.key))),B(3),F("ngIf",a.title),B(1),F("ngIf",a.description))},cAb=function(a){if(a&1){var b=w();K(0);J(1,"mat-divider");H(2,"div",15)(3,"button",16);M("click",function(){x(b);var c=O(),d=Lf(1);return z(c.cancel(d))});R(4);I();H(5,"button",17);M("click",function(){x(b);var c=O(),d=Lf(1);return z(c.confirm(d))});R(6);I()();L()}a&2&&(a=
O(),B(4),Nf(a.cancelButtonLabel),B(2),Nf(a.confirmButtonLabel))},dAb=function(a){a&1&&J(0,"b-spinner")},eAb=function(a){a&1&&Df(0)},fAb=function(a){a&1&&(K(0),P(1,eAb,1,0,"ng-container",24),L());if(a&2){O(2);var b=Lf(12);B(1);F("ngTemplateOutlet",b)}},gAb=function(a){a&1&&(J(0,"b-parents-table",25),S(1,"async"),S(2,"async"));if(a&2){a=O().ngIf;var b=O();F("issueId",a)("parentIds",T(1,3,b.parentIds$))("filters",T(2,5,b.issueFilters.value$))}},hAb=function(a){a&1&&Df(0)},jAb=function(a){a&1&&(K(0),
P(1,hAb,1,0,"ng-container",26),S(2,"async"),L());if(a&2){a=O(2);var b=Lf(10);B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(4,iAb,T(2,2,null==a.parentsTable?null:a.parentsTable.filteredRowCount$)))}},kAb=function(a){a&1&&Df(0)},lAb=function(a){a&1&&(H(0,"div")(1,"span",27),R(2,"This issue has no parents"),I(),P(3,kAb,1,0,"ng-container",24),I());if(a&2){O(2);var b=Lf(12);B(3);F("ngTemplateOutlet",b)}},mAb=function(a){a&1&&Df(0)},nAb=function(a){a&1&&(K(0),P(1,mAb,1,0,"ng-container",24),
L());if(a&2){O(2);var b=Lf(14);B(1);F("ngTemplateOutlet",b)}},oAb=function(a){a&1&&(H(0,"div",28)(1,"section",29)(2,"div",30),R(3," Progress: "),I(),H(4,"div",30),R(5),S(6,"number"),S(7,"async"),S(8,"number"),S(9,"async"),I(),H(10,"div",31),S(11,"async"),H(12,"div",32)(13,"div",33),S(14,"async"),I(),H(15,"onedev-hovercard",null,34)(17,"div",35)(18,"div",36),R(19),S(20,"async"),I()()()()(),J(21,"mat-icon",37),H(22,"onedev-hovercard",null,38)(24,"div",35)(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. "),
I()()()()()());if(a&2){var b=Lf(16),c=Lf(23);a=O(2);B(5);Of(" ",Vf(6,8,T(7,11,a.totalDaysComplete$),"1.0-2")," of ",Vf(8,13,T(9,16,a.totalDaysCount$),"1.0-2")," days complete ");B(5);rf("aria-label","",T(11,18,a.totalDaysDisplayPercent$)," Percentage of effort completed");B(2);F("onedevHovercardTrigger",b);B(1);xf("width",T(14,20,a.totalDaysDisplayPercent$),"%");B(6);Mf(" ",T(20,22,a.progressHovercardContent$)," ");B(2);F("onedevHovercardTrigger",c)}},pAb=function(a){a&1&&J(0,"rollups-project",40);
a&2&&(a=O().ngIf,F("id",a))},qAb=function(a){a&1&&Df(0)},rAb=function(a){a&1&&(K(0),P(1,qAb,1,0,"ng-container",26),S(2,"async"),L());if(a&2){a=O(2);var b=Lf(10);B(1);F("ngTemplateOutlet",b)("ngTemplateOutletContext",Sf(4,iAb,T(2,2,null==a.relationsTable?null:a.relationsTable.filteredRowCount$)))}},sAb=function(a){a&1&&Df(0)},tAb=function(a){a&1&&(K(0),H(1,"span",27),R(2,"This issue has no children"),I(),P(3,sAb,1,0,"ng-container",24),L());if(a&2){O(3);var b=Lf(14);B(3);F("ngTemplateOutlet",b)}},uAb=
function(a){a&1&&(K(0),P(1,tAb,4,1,"ng-container",1),S(2,"async"),S(3,"async"),L());if(a&2){a=O(2);var b;B(1);F("ngIf",0===T(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=T(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?null:b.length)||0))}},vAb=function(a,b){if(a&1){var c=w();H(0,"div",9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,"div",13);J(5,"mat-icon",14);I();R(6);S(7,"async");I();P(8,fAb,2,1,"ng-container",1);S(9,"async");I();P(10,gAb,3,7,"b-parents-table",15);S(11,"async");P(12,
jAb,3,6,"ng-container",1);S(13,"async");P(14,lAb,4,1,"ng-template",null,16,hg);I();H(16,"section")(17,"b-blockers-table",17);M("shouldResetFilters",function(){x(c);var h=O();return z(h.shouldResetFilters())});S(18,"async");I()();H(19,"section")(20,"div",18)(21,"h4",12)(22,"div",19);J(23,"mat-icon",20);I();R(24);S(25,"async");I();P(26,nAb,2,1,"ng-container",1);S(27,"async");S(28,"async");I();P(29,oAb,28,24,"div",21);S(30,"async");S(31,"async");P(32,pAb,1,1,"rollups-project",22);J(33,"b-issue-relations-table",
23);S(34,"async");S(35,"async");S(36,"async");P(37,rAb,3,6,"ng-container",1);S(38,"async");P(39,uAb,4,5,"ng-container",1);S(40,"async");I()()}if(a&2){a=b.ngIf;var d=Lf(15);b=O();var e,g;B(6);Mf(" Parents ",T(7,16,b.counts.countParentsDisplay$)," ");B(2);F("ngIf",T(9,18,b.parentsCount$));B(2);F("ngIf",T(11,20,b.parentsCount$))("ngIfElse",d);B(2);F("ngIf",T(13,22,b.issueFilters.value$));B(5);F("filters",T(18,24,b.issueFilters.value$));B(7);Mf(" Child issues ",T(25,26,b.counts.countChildrenDisplay$),
" ");B(2);F("ngIf",T(27,28,b.unarchivedChildIssueCount$)||0<((null==(e=T(28,30,null==b.relationsTable?null:b.relationsTable.rows$))?null:e.length)||0));B(3);F("ngIf",b.isTotalEstimatesEnabled&&T(30,32,b.unarchivedChildIssueCount$)&&T(31,34,b.totalDaysCount$));B(3);F("ngIf",b.isInternalSession&&b.enableRollupStatsUi);B(1);yf("hidden",!(null==(g=T(34,36,null==b.relationsTable?null:b.relationsTable.rows$))?0:g.length)&&!T(35,38,null==b.relationsTable?null:b.relationsTable.filteredRowCount$));F("rootIssueId",
a)("filters",T(36,40,b.issueFilters.value$));B(4);F("ngIf",T(38,42,b.issueFilters.value$));B(2);F("ngIf",null!==T(40,44,b.unarchivedChildIssueCount$))}},wAb=function(a){if(a&1){var b=w();H(0,"p",27);R(1);H(2,"button",42);M("click",function(){x(b);var c=O(2);return z(c.issueFilters.reset([]))});R(3,"Show all");I()()}a&2&&(a=O().filteredCount,B(1),Of(" Filtering ",a," issue",1===a?"":"s",". "))},xAb=function(a,b){a&1&&P(0,wAb,4,2,"p",41);a&2&&F("ngIf",b.filteredCount)},zAb=function(a){if(a&1){var b=
w();H(0,"b-button",43);M("onAction",function(){x(b);var c=O();return z(yAb(c))});S(1,"async");R(2," Add parent ");I()}a&2&&(a=O(),F("disabled",!T(1,1,a.canEdit$)))},AAb=function(a){if(a&1){var b=w();H(0,"b-button",46);M("onAction",function(){x(b);var c=O(2);return z(c.createChild())});S(1,"async");R(2," Create new child ");I()}a&2&&(a=O(2),F("disabled",!T(1,1,a.canEdit$)))},BAb=function(a){if(a&1){var b=w();P(0,AAb,3,3,"b-button",44);H(1,"b-button",45);M("onAction",function(){x(b);var c=O();return z(c.addChild())});
S(2,"async");R(3," Add existing child ");I()}a&2&&(a=O(),F("ngIf",a.isNonPublicSession),B(1),F("disabled",!T(2,2,a.canEdit$)))},CAb=function(a,b){return(0,E.combineLatest)([a,b]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return 0===d?0:Math.round(100*c/d*100)/100}))},DAb=function(a){return 1===a?a+" day":a+" days"},EAb=function(a){a&1&&(H(0,"div",3),J(1,"mat-icon",4),H(2,"span",5),R(3),S(4,"async"),I()());if(a&2){a=O();var b;B(3);Mf("",null==(b=T(4,1,a.issues$))?null:b.length,
" parent issues")}},FAb=function(a){a&1&&(H(0,"div",3),J(1,"mat-icon",6),H(2,"span",5),R(3),S(4,"async"),I()());if(a&2){a=O();var b;B(3);Mf("Blocked by ",null==(b=T(4,1,a.issues$))?null:b.length," issues")}},GAb=function(a,b){a&1&&(H(0,"span"),R(1),I());a&2&&(a=b.$implicit,b=O(4),Bf("chippy status-",a," margin-s-left"),B(1),Mf(" ",b.STATUS_JS_TERSE[a]," "))},HAb=function(a){a&1&&(K(0),H(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),R(5),I(),H(6,"div",12),R(7),I()(),H(8,"div",10)(9,"div",13),R(10),I(),
P(11,GAb,2,4,"span",14),I()()(),L());if(a&2){var b=O();a=b.$implicit;b=b.last;var c=O(2);B(1);If("routerLink","/issues/",a.issueId,"");B(1);yf("border-bottom",!b);B(3);Nf(a.issueId);B(2);Nf(a.snapshot[0].title);B(2);F("ngClass",c.priorityClass(a.snapshot[0].priority));B(1);Nf(a.snapshot[0].priority);B(1);F("ngIf",a.snapshot[0].status)}},IAb=function(a,b){a&1&&(K(0),P(1,HAb,12,8,"ng-container",2),L());a&2&&(a=b.index,B(1),F("ngIf",5>a))},KAb=function(a){if(a&1){var b=w();K(0);H(1,"div",15)(2,"button",
16);M("click",function(){x(b);var c=O(2);return z(JAb(c))});R(3,"View all parent issues");I()();L()}},LAb=function(a){if(a&1){var b=w();K(0);H(1,"div",15)(2,"button",16);M("click",function(){x(b);var c=O(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();Ks(c.router,"/issues/"+c.currentIssueId+"/dependencies");return z()});R(3,"View all blockers");I()();L()}},MAb=function(a,b){a&1&&(H(0,"div"),P(1,IAb,2,1,"ng-container",7),P(2,KAb,4,0,"ng-container",2),P(3,LAb,4,0,"ng-container",2),I());
a&2&&(a=b.$implicit,b=O(),B(1),F("ngForOf",a),B(1),F("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),B(1),F("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},NAb=function(a){a&1&&J(0,"mat-icon",7)},OAb=function(a){a&1&&(K(0),J(1,"b-list-issues-card",8,9),L());if(a&2){var b=Lf(2);O();var c=Lf(5);a=O();B(1);F("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",a.multiParentIssueIds)("mode",a.ListIssuesHovercardMode.PARENT_ISSUES)}},
PAb=function(a){a&1&&(K(0),H(1,"a",3),R(2),I(),P(3,NAb,1,0,"mat-icon",4),H(4,"onedev-hovercard",null,5),P(6,OAb,3,5,"ng-container",6),I(),L());if(a&2){var b=Lf(5);a=O();B(1);If("title","",a.multiParentIssueIds.length," parents at this position");F("onedevHovercardTrigger",b);B(1);Mf("",a.multiParentIssueIds.length," Parents\u2026");B(1);F("ngIf",1<a.multiParentIssueIds.length)}},QAb=function(a,b){a&1&&(K(0),H(1,"b-issue-reference-widget",10),R(2),I(),J(3,"mat-icon",7),L());if(a&2){a=b.$implicit;b=
b.last;var c=O();B(1);F("href",c.getIssueLink(a))("issueId",a);B(1);c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=NBa(a)):a=String(a);Nf(a);B(1);yf("last",b)}},RAb=function(a){a&1&&Df(0)},SAb=function(a){a&1&&(K(0),P(1,RAb,1,0,"ng-container",5),L());a&2&&(a=O(),B(1),F("ngTemplateOutlet",a.content))},TAb=function(a,b){if(a&1){var c=w();H(0,"button",13);M("click",function(e){var g=x(c).$implicit;return z(g.action(e))});J(1,"mat-icon",14);R(2);I()}if(a&2){a=b.$implicit;var d;F("disabled",a.disabled)("title",
a.title);pf("aria-label",a.title);B(1);F("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");B(1);Mf(" ",a.label," ")}},UAb=function(a){if(a&1){var b=w();K(0);H(1,"button",15);M("click",function(d){x(b);var e=O(2);d.stopPropagation();d.preventDefault();var g;null==(g=e.helpHover)||g.toggle();return z()});J(2,"mat-icon",16);R(3," Retention: ");J(4,"retention-text",17);R(5," \u00a0 ");J(6,"help-hover",18);I();L()}if(a&2){a=O().ngIf;var c=Lf(14);B(4);F("retentionState",a.retentionState);B(2);F("content",c)}},
VAb=function(a){a&1&&(K(0),J(1,"retention-help-text",19),L());a&2&&(a=O(2).ngIf,B(1),F("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},WAb=function(a){a&1&&P(0,VAb,2,2,"ng-container",0);a&2&&(a=O().ngIf,F("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},XAb=function(a,b){if(a&1){var c=w();K(0);J(1,"b-app-vote-button",1)(2,"hotlist-picker-btn",2);H(3,"smart-dupe-btn",3,4);M("onHotkey",function(){x(c);var e=Lf(4);return z(xSa(e))});I();H(5,"b-notification-menu",
5);M("subscriptionChange",function(e){x(c);var g=O();return z(g.updateSubscription(e))})("showNotificationSettings",function(e){x(c);var g=O();return z(g.showNotificationSettings(e))});I();J(6,"insights-graph-menu-smart",6);H(7,"button",7);J(8,"mat-icon",8);I();H(9,"mat-menu",9,10);P(11,TAb,3,5,"button",11);P(12,UAb,7,2,"ng-container",0);I();P(13,WAb,1,1,"ng-template",null,12,hg);L()}if(a&2){a=b.ngIf;var d=Lf(10);b=O();B(1);F("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);B(1);F("issueId",
a.issueId);B(1);F("issueId",a.issueId)("hotkey",b.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);B(2);F("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);B(1);F("iconOnly",!0);B(1);F("matMenuTriggerFor",d);B(4);F("ngForOf",a.menuItems);B(1);F("ngIf",b.retentionEnabled)}},YAb=function(){},ZAb=function(a){a&1&&(H(0,"output"),R(1),S(2,"async"),I());if(a&2){a=O().ngIf;var b=O();B(1);Of(" ",a," of ",T(2,2,b.currentSearchResults.totalText$)," ")}},cBb=function(a,b){if(a&1){var c=w();K(0);
P(1,ZAb,3,4,"output",0);H(2,"span",1)(3,"button",2);M("onHotkey",function(){x(c);var d=O();return z($Ab(d.currentSearchResults))})("click",function(){x(c);var d=O();return z($Ab(d.currentSearchResults))});S(4,"async");J(5,"mat-icon",3);I();H(6,"button",4);M("onHotkey",function(){x(c);var d=O();return z(aBb(d.currentSearchResults))})("click",function(){x(c);var d=O();return z(aBb(d.currentSearchResults))});S(7,"async");J(8,"mat-icon",5);I()();L()}a&2&&(a=b.ngIf,b=O(),B(1),F("ngIf",-1!==a),B(1),F("ngClass",
Sf(10,bBb,-1===a)),B(1),F("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!T(4,6,b.currentSearchResults.hasPreviousIssue$)),B(3),F("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!T(7,8,b.currentSearchResults.hasNextIssue$)))},dBb=function(a){a&1&&J(0,"b-access-level-indicator",6);a&2&&(a=O(2).$implicit,F("accessLevel",a.accessLevel))},eBb=function(a){a&1&&J(0,"b-access-limits-chip",7);a&2&&(a=O(2).$implicit,F("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},
fBb=function(a){a&1&&J(0,"b-retention-chip",8);a&2&&(a=O(2).$implicit,F("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},gBb=function(a){a&1&&(H(0,"div",2),P(1,dBb,1,1,"b-access-level-indicator",3),P(2,eBb,1,3,"b-access-limits-chip",4),P(3,fBb,1,3,"b-retention-chip",5),I());a&2&&(a=O().$implicit,B(1),F("ngIf",a.isShowingPublicPartner),B(1),F("ngIf",a.isAccessLimited),B(1),F("ngIf",a.isShowingRetention))},hBb=function(a,b){a&1&&(K(0),P(1,gBb,4,3,"div",1),L());a&
2&&(a=b.$implicit,B(1),F("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},iBb=function(a){a&1&&Df(0)},jBb=function(a){a&1&&(K(0),P(1,iBb,1,0,"ng-container",23),L());if(a&2){O();var b=Lf(12);B(1);F("ngTemplateOutlet",b)}},kBb=function(a,b){a&1&&J(0,"ancestors-breadcrumbs",30);a&2&&(a=b.ngIf,b=O(3),F("ancestors",a)("issueId",b.issueId))},lBb=function(a){a&1&&(K(0),J(1,"b-component-breadcrumb-chip",26),S(2,"async"),H(3,"div",27),P(4,kBb,1,2,"ancestors-breadcrumbs",28),S(5,
"async"),J(6,"b-issue-id-picker",29),S(7,"async"),S(8,"async"),S(9,"async"),I(),L());a&2&&(a=O(2),B(1),F("componentId",T(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),B(3),F("ngIf",T(5,10,a.ancestors$)),B(2),F("issueId",a.issueId)("componentId",T(7,12,a.componentId$))("issueTitle",T(8,14,a.issueTitle$))("isExternalIssue",!!T(9,16,a.isWithinExternalComponent$)))},mBb=function(a){if(a&1){var b=w();H(0,"b-team-chip",24);M("onTeamLoaded",function(){x(b);var c=O();return z(c.isTeamLoaded=
!0)});S(1,"async");S(2,"async");I();P(3,lBb,10,18,"ng-container",25)}a&2&&(a=O(),F("componentId",T(1,3,a.componentId$))("teamId",T(2,5,a.teamId$)),B(3),F("ngIf",a.isTeamLoaded))},nBb=function(a){a&1&&(K(0),J(1,"b-component-breadcrumb-chip",31),S(2,"async"),H(3,"div",32),J(4,"b-issue-id-picker",33),S(5,"async"),S(6,"async"),S(7,"async"),I(),L());a&2&&(a=O(2),B(1),F("componentId",T(2,6,a.componentId$))("issueId",a.issueId),B(3),F("issueId",a.issueId)("componentId",T(5,8,a.componentId$))("issueTitle",
T(6,10,a.issueTitle$))("isExternalIssue",!!T(7,12,a.isWithinExternalComponent$)))},oBb=function(a){if(a&1){var b=w();H(0,"b-team-chip",24);M("onTeamLoaded",function(){x(b);var c=O();return z(c.isTeamLoaded=!0)});S(1,"async");S(2,"async");I();P(3,nBb,8,14,"ng-container",25)}a&2&&(a=O(),F("componentId",T(1,3,a.componentId$))("teamId",T(2,5,a.teamId$)),B(3),F("ngIf",a.isTeamLoaded))},pBb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().$implicit,B(1),Mf(" ",a," "))},qBb=function(a,b){a&1&&(H(0,"div",34),
J(1,"mat-icon",35),P(2,pBb,2,1,"ng-container",25),I());if(a&2){a=b.$implicit;O();var c=Lf(37);F("onedevHovercardTrigger",c);B(2);F("ngIf",2<=a)}},rBb=function(a){a&1&&(K(0),J(1,"b-list-issues-card",36,37),S(3,"async"),L());if(a&2){var b=Lf(2);a=O();var c=Lf(37);B(1);F("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",T(3,5,a.blockedByids$))("mode",a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},sBb=function(a){return 1===a?"Blocked":"Blocked by "+a+" issues"},
tBb=function(a){if(0!==a.length)return 1===a.length?Ls.ISSUE(a[0]):Ls.ISSUE_LIST},uBb=function(a,b){a&1&&(H(0,"div",1),J(1,"img",2),H(2,"h3"),R(3),I(),H(4,"a",3),S(5,"async"),R(6),I()());a&2&&(a=b.$implicit,b=O(),B(1),F("src",null==a.branding?null:a.branding.logoUrl,Sd),B(2),Mf("This issue is a part of the ",a.name," tracker."),B(1),F("href",T(5,4,b.trackerRedirectUrl$),Sd),B(2),Mf(" View in ",a.name," Tracker "))},vBb=function(a){a&1&&(H(0,"div")(1,"ol")(2,"li")(3,"label"),R(4,"Issue ID"),I(),H(5,
"output"),R(6),I()(),H(7,"li")(8,"label"),R(9,"Type"),I(),H(10,"output"),R(11),I()(),H(12,"li")(13,"label"),R(14,"Status"),I(),H(15,"output"),R(16),I()()()());a&2&&(a=O(2),B(6),Nf(a.issueId),B(5),Nf(a.issueType),B(5),Nf(a.issueStatus))},wBb=function(a){a&1&&(H(0,"div",1)(1,"div",2),J(2,"img",3),S(3,"async"),J(4,"mat-icon",4)(5,"img",3),S(6,"async"),I(),H(7,"h3",5),R(8),S(9,"async"),I(),P(10,vBb,17,3,"div",6),H(11,"div",7)(12,"a",8),S(13,"async"),R(14,"Continue"),I()()());a&2&&(a=O(),B(2),F("src",
T(3,5,a.currentTrackerLogo$),Sd),B(3),F("src",T(6,7,a.trackerLogo$),Sd),B(3),Mf(" Redirecting to ",T(9,9,a.trackerName$)," "),B(2),F("ngIf",null!=a.issue),B(2),F("href",T(13,11,a.trackerRedirectUrl$),Sd))},xBb=function(a,b){if(a instanceof Element){var c=yi(window.sessionStorage.getItem(b));if(null!=c){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)}}},yBb=function(a,b){a&1&&(H(0,"h2",5),R(1),
I());a&2&&(a=b.ngIf,B(1),Mf("Issue ",a,""))},zBb=function(a){a&1&&J(0,"div")},ABb=function(a){a&1&&(H(0,"a",19),R(1,"Learn more"),I())},BBb=function(a){if(a&1){var b=w();H(0,"button",20);M("click",function(){var c=x(b).ngIf,d=O(5);return z(d.editIssueService.unarchive(c))});R(1," Unarchive ");I()}},CBb=function(a){a&1&&(H(0,"b-callout",16)(1,"b-callout-body"),R(2,"This issue has been archived. "),P(3,ABb,2,0,"a",17),I(),H(4,"b-callout-actions"),P(5,BBb,2,0,"button",18),S(6,"async"),I()());a&2&&(a=
O(4),F("messageType","caution")("format","app")("iconOverride","archive_24px"),B(3),F("ngIf",a.activeSession.isInternalSession()),B(2),F("ngIf",T(6,5,a.id$)))},DBb=function(a){a&1&&(H(0,"a",23),R(1,"Learn more"),I())},EBb=function(a){a&1&&(H(0,"b-callout",21)(1,"b-callout-body"),R(2," This issue is in an archived component. "),P(3,DBb,2,0,"a",22),I()());a&2&&(a=O(4),F("format","app")("iconOverride","archive_24px"),B(3),F("ngIf",a.activeSession.isInternalSession()))},FBb=function(a,b){a&1&&(K(0),R(1,
" Reason: "),H(2,"code"),R(3),I(),R(4,". "),L());a&2&&(a=b.$implicit,B(3),Nf(a))},GBb=function(a){a&1&&(H(0,"a",27),R(1,"Learn more"),I())},IBb=function(a){if(a&1){var b=w();H(0,"button",28);M("click",function(){var d=x(b).ngIf,e=O(5);return z(HBb(e.editIssueService,d))});S(1,"async");S(2,"async");R(3," Undelete ");I()}if(a&2){a=O(5);var c;F("matTooltip",null!==(c=T(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!T(2,4,a.permissions.canUndeleteIssue$))}},JBb=function(a){a&1&&(H(0,"b-callout",
24)(1,"b-callout-body"),R(2," This issue has been deleted. "),P(3,FBb,5,1,"ng-container",6),S(4,"async"),P(5,GBb,2,0,"a",25),I(),H(6,"b-callout-actions"),P(7,IBb,4,6,"button",26),S(8,"async"),I()());if(a&2){a=O(4);var b;B(3);F("ngIf",null==(b=T(4,3,a.snapshot$))?null:b.deletionReason);B(2);F("ngIf",a.activeSession.isInternalSession());B(2);F("ngIf",T(8,5,a.id$))}},KBb=function(a,b){a&1&&(H(0,"output",37),R(1),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a," "))},MBb=function(a,b){a&1&&(H(0,"a",34,35),R(2),
P(3,KBb,2,1,"output",36),S(4,"async"),I());if(a&2){a=b.$implicit;var c=Lf(1);F("routerLink",a.link)("active",c.isActive)("routerLinkActiveOptions",Rf(7,LBb));B(2);Mf(" ",a.title," ");B(1);F("ngIf",T(4,5,a.count$))}},NBb=function(a,b){a&1&&(H(0,"header",29),J(1,"b-tracker-banner",30),S(2,"async"),S(3,"async"),J(4,"issue-header",31),H(5,"nav",32),P(6,MBb,5,8,"a",33),I()());a&2&&(a=b.$implicit,b=O(4),B(1),F("issueId",T(2,4,b.id$))("trackerId",T(3,6,b.issueTrackerId$)),B(3),F("issueId",a),B(2),F("ngForOf",
b.tabs))},OBb=function(a,b){a&1&&J(0,"issue-metadata-sidebar",31);a&2&&F("issueId",b.ngIf)},PBb=function(a){a&1&&(H(0,"div",8),S(1,"async"),P(2,CBb,7,7,"b-callout",9),S(3,"async"),P(4,EBb,4,3,"b-callout",10),S(5,"async"),P(6,JBb,9,7,"b-callout",11),S(7,"async"),P(8,NBb,7,8,"header",12),S(9,"async"),H(10,"div",13)(11,"article",14),J(12,"router-outlet"),I(),P(13,OBb,1,1,"issue-metadata-sidebar",15),S(14,"async"),I()());a&2&&(a=O(3),yf("issue-editor-false",!T(1,7,a.permissions.hasAclToEdit$)),B(2),F("ngIf",
T(3,9,a.archived$)),B(2),F("ngIf",T(5,11,a.inArchivedComponent$)),B(2),F("ngIf",T(7,13,a.deleted$)),B(2),F("ngIf",T(9,15,a.id$)),B(5),F("ngIf",T(14,17,a.id$)))},QBb=function(a){a&1&&(H(0,"div"),P(1,PBb,15,19,"div",7),S(2,"async"),I());if(a&2){a=O(2);var b=Lf(7);B(1);F("ngIf",!T(2,2,a.showTrackerRedirect$))("ngIfElse",b)}},RBb=function(a){a&1&&(P(0,QBb,3,4,"div",6),S(1,"async"));a&2&&(a=O(),F("ngIf",!T(1,1,a.issue404$)))},SBb=function(a){a&1&&(H(0,"div",38),J(1,"b-tracker-redirect",39),S(2,"async"),
I());a&2&&(a=O(),B(1),F("issue",T(2,1,a.issue$)))},TBb=function(a){a&1&&(J(0,"b-access-denied-metadata",42),S(1,"async"));a&2&&(a=O(2),F("issueMetadata",T(1,1,a.issueMetadata$)))},UBb=function(a){a&1&&J(0,"b-access-denied-metadata",43)},VBb=function(a){a&1&&(H(0,"div",38),P(1,TBb,2,3,"b-access-denied-metadata",40),P(2,UBb,1,0,"ng-template",null,41,hg),I());if(a&2){var b=Lf(3);a=O();B(1);F("ngIf",a.activeSession.isInternalSession())("ngIfElse",b)}},WBb=function(a,b){a&1&&(K(0),J(1,"b-issues-table",
1),L());a&2&&(a=b.ngIf,b=O(),B(1),F("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},YBb=function(a){if(a&1){var b=w();H(0,"div",5);J(1,"img",6);H(2,"p",7);R(3," This issue has no duplicates ");I();H(4,"p",8);R(5," A duplicate is an issue with similar content. ");I();H(6,"p",8);R(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');H(8,"a",9);R(9,"Learn more");I()();H(10,"button",10);
M("click",function(){x(b);var c=O(2);return z(XBb(c))});R(11," Add ");I()()}a&2&&(a=O(2),B(1),F("src",a.ROBOT_SLEEPING,Sd))},ZBb=function(a,b){a&1&&J(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=O(2).$implicit,F("issueId",a)("duplicateIds",b))},$Bb=function(a,b){a&1&&(K(0),H(1,"a",16),R(2," View as search results "),I(),L());a&2&&(a=b.ngIf,B(1),F("routerLink",a.path)("queryParams",a.params))},aCb=function(a){if(a&1){var b=w();H(0,"h4",11);R(1);S(2,"async");H(3,"button",12);M("click",function(){x(b);
var c=O(2);return z(XBb(c))});R(4," Add ");I()();P(5,ZBb,1,2,"b-duplicates-table",13);S(6,"async");H(7,"aside",14);P(8,$Bb,3,2,"ng-container",1);S(9,"async");I()}a&2&&(a=O(2),B(1),Mf("Duplicates ",T(2,3,a.counts.countDuplicateDisplay$)," "),B(4),F("ngIf",T(6,5,a.id$)),B(3),F("ngIf",T(9,7,a.dupeUrl$)))},bCb=function(a){a&1&&(K(0),P(1,YBb,12,1,"div",3),S(2,"async"),P(3,aCb,10,9,"ng-template",null,4,hg),L());if(a&2){var b=Lf(4);a=O();B(1);F("ngIf",!T(2,2,a.showTable$))("ngIfElse",b)}},cCb=function(a){a&
1&&(H(0,"aside",17),J(1,"b-spinner"),I())},dCb=function(a,b){a&1&&(H(0,"mat-option",9)(1,"div",10),R(2),I(),H(3,"div",11),R(4),I()());a&2&&(a=b.$implicit,F("value",a),B(2),Nf(a.name),B(2),Nf(a.description))},eCb=function(a){if(a&1){var b=w();H(0,"mat-form-field",6)(1,"mat-select",7);M("valueChange",function(c){x(b);var d=O();return z(d.selectedFilter=c)})("selectionChange",function(c){x(b);var d=O();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(bf(d.destroyed$)).subscribe();
d.analytics.trackEvent(io.EDIT_ISSUE,"click",c.commentFilterType);return z()});H(2,"mat-select-trigger");R(3);I();P(4,dCb,5,3,"mat-option",8);I()()}a&2&&(a=O(),B(1),F("value",a.selectedFilter),B(2),Nf(null==a.selectedFilter?null:a.selectedFilter.displayName),B(1),F("ngForOf",a.filters))},fCb=function(a){a&1&&(K(0),J(1,"mat-icon",12),H(2,"span"),R(3,"Oldest first"),I(),L())},gCb=function(a){a&1&&(K(0),J(1,"mat-icon",13),H(2,"span"),R(3,"Newest first"),I(),L())},kCb=function(a){switch(a){case "FULL_HISTORY":return hCb;
case "ALL_COMMENTS":return Ms;case "HUMAN_ONLY":return iCb;case "TEAM_AND_ASSIGNEE":return jCb;default:return Ms}},lCb=function(a){a&1&&(K(0),R(1,", "),J(2,"br"),L())},mCb=function(a){a&1&&(K(0),R(1," reacted"),L())},nCb=function(a,b){a&1&&(K(0),H(1,"div"),R(2),P(3,lCb,3,0,"ng-container",3),P(4,mCb,2,0,"ng-container",3),S(5,"async"),I(),L());if(a&2){a=b.$implicit;b=b.last;var c=O();B(2);Mf(" ",a,"");B(1);F("ngIf",!b);B(1);F("ngIf",!T(5,3,c.isOverflowReactionCount$)&&b)}},oCb=function(a){if(a&1){var b=
w();H(0,"span");R(1," and ");H(2,"button",4);M("click",function(){x(b);var c=O();if(c.commentNumber&&c.issueId){var d,e,g=null!=(e=null==(d=An(c.reactionState$))?void 0:d.type)?e:"REACTION_TYPE_UNSPECIFIED";c.matDialogService.open(Ns,{width:"560px",data:{commentNumber:c.commentNumber,issueId:c.issueId,reactionType:g}})}return z()});R(3);S(4,"async");I();R(5," reacted ");I()}a&2&&(a=O(),B(3),Mf(" ",T(4,1,a.overflowReactionCount$)," more "))},pCb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(2),B(1),Mf(" by ",
pi(a.event.lastCommentEditorUser),""))},qCb=function(a){a&1&&(K(0)(1),R(2,"Message last modified"),L(),P(3,pCb,2,1,"ng-container",0),K(4),R(5," on "),J(6,"b-formatted-date-time",1),L()());a&2&&(a=O(),B(3),F("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),B(3),F("timestamp",a.event.commentLastModifiedAtDate))},rCb=function(a){a&1&&J(0,"b-user-email",5);a&2&&(a=O().$implicit,F("email",a.text)("withProfile",!0))},sCb=function(a){a&1&&(H(0,"b-issue-reference-widget",6),K(1),R(2),L(),I());
if(a&2){a=O().$implicit;var b=O();F("href",jm(a.text))("issueId",b.getIssueId(a));B(2);Nf(a.text)}},tCb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O().$implicit,B(1),Nf(a.text))},uCb=function(a,b){a&1&&(K(0)(1,1),P(2,rCb,1,2,"b-user-email",2),P(3,sCb,3,3,"b-issue-reference-widget",3),P(4,tCb,2,1,"ng-container",4),L()());a&2&&(a=b.$implicit,B(1),F("ngSwitch",a.tag),B(1),F("ngSwitchCase","user"),B(1),F("ngSwitchCase","bug"))},vCb=function(a){a&1&&(K(0),J(1,"b-component-card",3,4),L());if(a&2){var b=Lf(2);
a=O();B(1);F("onedevIsHovercardReady",b.init)("componentId",a.id)}},wCb=function(a){a&1&&(H(0,"span"),R(1),I());if(a&2){a=O(5);var b;B(1);Nf(null!==(b=a.effortSpecName)&&void 0!==b?b:"Estimated Effort")}},xCb=function(a){a&1&&(H(0,"label"),P(1,wCb,2,1,"span",11),R(2,":\u200b "),I());if(a&2){a=O(4);var b=Lf(5);B(1);F("ngIf",a.effortEnabled)("ngIfElse",b)}},yCb=function(a){a&1&&(H(0,"label"),R(1),I());a&2&&(a=O(3).$implicit,B(1),Mf("",a.displayName,":\u200b"))},zCb=function(a){a&1&&(H(0,"span"),J(1,
"b-user-display-name",14),I());a&2&&(a=O().$implicit,B(1),F("email",a)("showEmail",!0))},ACb=function(a){a&1&&(K(0),J(1,"plain-component-path",15),L());a&2&&(a=O(4).$implicit,B(1),F("id",a.oldValue))},BCb=function(a){a&1&&J(0,"b-formatted-date-time",17);if(a&2){a=O(2).$implicit;var b=O(4);F("timestamp",1E3*b.asNumber(a))}},CCb=function(a){a&1&&(H(0,"span"),R(1,"[Issue creation date]"),I())},DCb=function(a){a&1&&(H(0,"span"),P(1,BCb,1,1,"b-formatted-date-time",16),P(2,CCb,2,0,"span",5),I());a&2&&(a=
O().$implicit,B(1),F("ngIf","<none>"!==a),B(1),F("ngIf","<none>"===a))},ECb=function(a){a&1&&J(0,"b-formatted-date-time",17);if(a&2){a=O(2).$implicit;var b=O(4);F("timestamp",1E3*b.asNumber(a))}},FCb=function(a){a&1&&(H(0,"span"),R(1,"[Unset]"),I())},GCb=function(a){a&1&&(H(0,"span"),P(1,ECb,1,1,"b-formatted-date-time",16),P(2,FCb,2,0,"span",5),I());a&2&&(a=O().$implicit,B(1),F("ngIf","<none>"!==a),B(1),F("ngIf","<none>"===a))},HCb=function(a){a&1&&(K(0),H(1,"span"),R(2),I(),L());if(a&2){a=O().$implicit;
var b=O(4);B(2);Nf(b.getAccessLimitLevel(a))}},ICb=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Nf(a))},JCb=function(a){a&1&&(K(0),P(1,zCb,2,2,"span",5),P(2,ACb,2,1,"ng-container",5),P(3,DCb,3,2,"span",5),P(4,GCb,3,2,"span",5),P(5,HCb,3,1,"ng-container",5),P(6,ICb,2,1,"span",5),R(7," \u00a0 "),J(8,"span",13),R(9," \u00a0 "),L());a&2&&(a=O(3).$implicit,B(1),F("ngIf",a.isUser),B(1),F("ngIf","component"===a.name),B(1),F("ngIf","sloStartTime"==a.name),B(1),F("ngIf","sloEndTime"==
a.name),B(1),F("ngIf","access_limit"===a.name),B(1),F("ngIf",!a.isUser&&"component"!==a.name&&"sloStartTime"!==a.name&&"sloEndTime"!==a.name&&"access_limit"!==a.name))},KCb=function(a){a&1&&J(0,"b-user-display-name",14);a&2&&(a=O().$implicit,F("email",a)("showEmail",!0))},LCb=function(a){a&1&&(H(0,"span"),J(1,"plain-component-path",15),I());a&2&&(a=O(4).$implicit,B(1),F("id",a.newValue))},MCb=function(a){a&1&&J(0,"b-formatted-date-time",17);if(a&2){a=O(2).$implicit;var b=O(4);F("timestamp",1E3*b.asNumber(a))}},
NCb=function(a){a&1&&(H(0,"span"),R(1,"[Issue creation date]"),I())},OCb=function(a){a&1&&(H(0,"span"),P(1,MCb,1,1,"b-formatted-date-time",16),P(2,NCb,2,0,"span",5),I());a&2&&(a=O().$implicit,B(1),F("ngIf","<none>"!==a),B(1),F("ngIf","<none>"===a))},PCb=function(a){a&1&&J(0,"b-formatted-date-time",17);if(a&2){a=O(2).$implicit;var b=O(4);F("timestamp",1E3*b.asNumber(a))}},QCb=function(a){a&1&&(H(0,"span"),R(1,"[Unset]"),I())},RCb=function(a){a&1&&(H(0,"span"),P(1,PCb,1,1,"b-formatted-date-time",16),
P(2,QCb,2,0,"span",5),I());a&2&&(a=O().$implicit,B(1),F("ngIf","<none>"!==a),B(1),F("ngIf","<none>"===a))},SCb=function(a){a&1&&(K(0),H(1,"span"),R(2),I(),L());if(a&2){a=O().$implicit;var b=O(4);B(2);Nf(b.getAccessLimitLevel(a))}},UCb=function(a){a&1&&(H(0,"span",20),R(1),I());if(a&2){a=O().$implicit;var b=O(3).$implicit;F("ngClass",Sf(2,TCb,b.oldValue&&"title"==b.name));B(1);Nf(a)}},VCb=function(a){a&1&&(K(0),P(1,KCb,1,2,"b-user-display-name",18),P(2,LCb,2,1,"span",5),P(3,OCb,3,2,"span",5),P(4,RCb,
3,2,"span",5),P(5,SCb,3,1,"ng-container",5),P(6,UCb,2,4,"span",19),L());a&2&&(a=O(3).$implicit,B(1),F("ngIf",a.isUser),B(1),F("ngIf","component"===a.name),B(1),F("ngIf","sloStartTime"===a.name),B(1),F("ngIf","sloEndTime"===a.name),B(1),F("ngIf","access_limit"===a.name),B(1),F("ngIf",!a.isUser&&"component"!=a.name&&"sloStartTime"!=a.name&&"sloEndTime"!=a.name&&"access_limit"!=a.name))},WCb=function(a){a&1&&(H(0,"div",10),P(1,xCb,3,2,"label",11),P(2,yCb,2,1,"ng-template",null,12,hg),P(4,JCb,10,6,"ng-container",
5),P(5,VCb,7,6,"ng-container",5),I());if(a&2){var b=Lf(3);a=O(2).$implicit;B(1);F("ngIf","effort"===a.name)("ngIfElse",b);B(3);F("ngIf",a.oldValue);B(1);F("ngIf",a.newValue)}},XCb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},YCb=function(a,b){a&1&&(H(0,"span"),J(1,"b-user-display-name",14),P(2,XCb,2,0,"span",5),I());a&2&&(a=b.$implicit,b=b.last,B(1),F("email",a)("showEmail",!0),B(1),F("ngIf",!b))},ZCb=function(a){a&1&&(H(0,"span"),P(1,YCb,3,3,"span",21),I());a&2&&(a=O(4).$implicit,B(1),F("ngForOf",
a.added))},$Cb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},aDb=function(a,b){a&1&&(H(0,"span")(1,"span"),R(2),I(),P(3,$Cb,2,0,"span",5),I());a&2&&(a=b.$implicit,b=b.last,B(2),Nf(a),B(1),F("ngIf",!b))},bDb=function(a){a&1&&(H(0,"span"),P(1,aDb,4,2,"span",21),I());a&2&&(a=O(4).$implicit,B(1),F("ngForOf",a.added))},cDb=function(a){a&1&&(H(0,"div")(1,"label"),R(2),I(),P(3,ZCb,2,1,"span",5),P(4,bDb,2,1,"span",5),I());a&2&&(a=O(3).$implicit,B(2),Mf("+",a.displayName,":\u200b"),B(1),F("ngIf",a.isUser),
B(1),F("ngIf",!a.isUser))},dDb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},eDb=function(a,b){a&1&&(H(0,"span"),J(1,"b-user-display-name",14),P(2,dDb,2,0,"span",5),I());a&2&&(a=b.$implicit,b=b.last,B(1),F("email",a)("showEmail",!0),B(1),F("ngIf",!b))},fDb=function(a){a&1&&(H(0,"span"),P(1,eDb,3,3,"span",21),I());a&2&&(a=O(4).$implicit,B(1),F("ngForOf",a.removed))},gDb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},hDb=function(a,b){a&1&&(H(0,"span")(1,"span"),R(2),I(),P(3,gDb,2,0,"span",5),I());a&
2&&(a=b.$implicit,b=b.last,B(2),Nf(a),B(1),F("ngIf",!b))},iDb=function(a){a&1&&(H(0,"span"),P(1,hDb,4,2,"span",21),I());a&2&&(a=O(4).$implicit,B(1),F("ngForOf",a.removed))},jDb=function(a){a&1&&(H(0,"div")(1,"label"),R(2),I(),P(3,fDb,2,1,"span",5),P(4,iDb,2,1,"span",5),I());a&2&&(a=O(3).$implicit,B(2),Mf("-",a.displayName,":\u200b"),B(1),F("ngIf",a.isUser),B(1),F("ngIf",!a.isUser))},kDb=function(a){a&1&&(H(0,"div",10),P(1,cDb,5,3,"div",5),P(2,jDb,5,3,"div",5),I());if(a&2){a=O(2).$implicit;var b=O();
B(1);F("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));B(1);F("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},lDb=function(a){a&1&&Df(0)},nDb=function(a,b){a&1&&(H(0,"span"),P(1,lDb,1,0,"ng-container",22),I());if(a&2){a=b.$implicit;b=b.last;var c=O(4).$implicit;O();var d=Lf(3);B(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Uf(mDb,c,a,b))}},oDb=function(a){a&1&&(H(0,"div")(1,"label"),R(2),I(),P(3,nDb,2,6,"span",21),I());a&2&&(a=O(3).$implicit,B(2),Mf("+",a.displayName,
":\u200b"),B(1),F("ngForOf",a.added))},pDb=function(a){a&1&&Df(0)},qDb=function(a,b){a&1&&(H(0,"span"),P(1,pDb,1,0,"ng-container",22),I());if(a&2){a=b.$implicit;b=b.last;var c=O(4).$implicit;O();var d=Lf(3);B(1);F("ngTemplateOutlet",d)("ngTemplateOutletContext",Uf(mDb,c,a,b))}},rDb=function(a){a&1&&(H(0,"div")(1,"label"),R(2),I(),P(3,qDb,2,6,"span",21),I());a&2&&(a=O(3).$implicit,B(2),Mf("-",a.displayName,":\u200b"),B(1),F("ngForOf",a.removed))},sDb=function(a){a&1&&(H(0,"div",10),P(1,oDb,4,2,"div",
5),P(2,rDb,4,2,"div",5),I());if(a&2){a=O(2).$implicit;var b=O();B(1);F("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));B(1);F("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},tDb=function(a){a&1&&J(0,"b-formatted-date-time",17);a&2&&(a=O().$implicit,F("timestamp",a))},uDb=function(a){a&1&&(H(0,"span"),R(1," - "),I())},vDb=function(a,b){a&1&&(H(0,"span"),J(1,"b-formatted-date-time",17),P(2,uDb,2,0,"span",5),I());a&2&&(a=b.$implicit,b=b.last,B(1),F("timestamp",a),
B(1),F("ngIf",!b))},wDb=function(a){a&1&&(H(0,"span"),P(1,vDb,3,2,"span",21),I());a&2&&(a=O(4).$implicit,B(1),F("ngForOf",a.oldValue.split(", ")))},xDb=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Nf(a))},ADb=function(a){a&1&&(K(0),P(1,tDb,1,1,"b-formatted-date-time",16),P(2,wDb,2,1,"span",5),P(3,xDb,2,1,"span",5),R(4," \u00a0 "),J(5,"span",13),R(6," \u00a0 "),L());if(a&2){a=O(3).$implicit;var b=O();B(1);F("ngIf",yDb(b,a,"oldValue"));B(1);F("ngIf",zDb(b,a,"oldValue"));B(1);F("ngIf",
!yDb(b,a,"oldValue")&&!zDb(b,a,"oldValue"))}},BDb=function(a){a&1&&J(0,"b-formatted-date-time",17);a&2&&(a=O().$implicit,F("timestamp",a))},CDb=function(a){a&1&&(H(0,"span"),R(1," - "),I())},DDb=function(a,b){a&1&&(H(0,"span"),J(1,"b-formatted-date-time",17),P(2,CDb,2,0,"span",5),I());a&2&&(a=b.$implicit,b=b.last,B(1),F("timestamp",a),B(1),F("ngIf",!b))},EDb=function(a){a&1&&(H(0,"span"),P(1,DDb,3,2,"span",21),I());a&2&&(a=O(4).$implicit,B(1),F("ngForOf",a.newValue.split(", ")))},FDb=function(a){a&
1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Nf(a))},GDb=function(a){a&1&&(K(0),P(1,BDb,1,1,"b-formatted-date-time",16),P(2,EDb,2,1,"span",5),P(3,FDb,2,1,"span",5),L());if(a&2){a=O(3).$implicit;var b=O();B(1);F("ngIf",yDb(b,a,"newValue"));B(1);F("ngIf",zDb(b,a,"newValue"));B(1);F("ngIf",!yDb(b,a,"newValue")&&!zDb(b,a,"newValue"))}},HDb=function(a){a&1&&(H(0,"div",10)(1,"label"),R(2),I(),P(3,ADb,7,3,"ng-container",5),P(4,GDb,4,3,"ng-container",5),I());if(a&2){a=O(2).$implicit;var b=O();B(1);
pf("title",b.customFieldName(a));B(1);Mf("",b.customFieldName(a),":\u200b");B(1);F("ngIf",a.oldValue);B(1);F("ngIf",a.newValue)}},IDb=function(a){a&1&&(H(0,"span",26),R(1,"Updated"),I())},JDb=function(a){a&1&&(H(0,"span"),R(1,"Deleted"),I())},KDb=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O().$implicit,B(1),Mf("Edited (unknown status '",a.status,"')"))},LDb=function(a,b){a&1&&(K(0)(1,7),P(2,IDb,2,0,"span",23),P(3,JDb,2,0,"span",24),P(4,KDb,2,1,"span",25),L()());a&2&&(a=b.$implicit,B(1),F("ngSwitch",
a.status),B(1),F("ngSwitchCase","ACTIVE"),B(1),F("ngSwitchCase","DELETED"))},MDb=function(a){a&1&&(H(0,"div",10)(1,"label"),R(2),I(),P(3,LDb,5,3,"ng-container",5),I());a&2&&(a=O(2).$implicit,B(2),Mf("",a.displayName,":\u200b"),B(1),F("ngIf",null==a.statusUpdateDiff?null:a.statusUpdateDiff.entityStatus))},NDb=function(a){a&1&&(H(0,"div",10)(1,"label"),R(2),I(),H(3,"pre",27),R(4),S(5,"json"),I()());a&2&&(a=O(2).$implicit,B(2),Mf("",a.displayName,":\u200b"),B(2),Nf(T(5,2,a)))},ODb=function(a){a&1&&(K(0),
J(1,"b-formatted-date-time",6),K(2,7),P(3,WCb,6,4,"div",8),P(4,kDb,3,2,"div",8),P(5,sDb,3,2,"div",8),P(6,HDb,5,4,"div",8),P(7,MDb,4,2,"div",8),P(8,NDb,6,4,"div",9),L()());a&2&&(a=O().$implicit,B(1),F("timestamp",a.timestamp),B(1),F("ngSwitch",!0),B(1),F("ngSwitchCase","SINGLE_VALUE"===a.type),B(1),F("ngSwitchCase","COLLECTION"===a.type||"USER_COLLECTION"===a.type),B(1),F("ngSwitchCase","LINKED_COLLECTION"===a.type),B(1),F("ngSwitchCase","CUSTOM_FIELD"===a.type),B(1),F("ngSwitchCase","STATUS_UPDATE"===
a.type))},PDb=function(a,b){a&1&&(H(0,"div",4),P(1,ODb,9,7,"ng-container",5),I());a&2&&(a=b.$implicit,b=O(),B(1),F("ngIf","sloStartTime"===(null==a?void 0:a.name)||"sloEndTime"===(null==a?void 0:a.name)?b.activeSession.isInternalSession():!0))},QDb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},RDb=function(a){a&1&&(H(0,"span")(1,"b-issue-reference-widget",29),R(2),I(),P(3,QDb,2,0,"span",5),I());if(a&2){a=O().$implicit;var b=O(),c=b.change;b=b.isLast;B(1);F("href",c.href)("issueId",a);B(1);Nf(a);B(1);
F("ngIf",!b)}},SDb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},TDb=function(a){a&1&&(K(0),J(1,"hotlist-link",15),P(2,SDb,2,0,"span",5),L());if(a&2){a=O(2).$implicit;var b=O().isLast;B(1);F("id",a);B(1);F("ngIf",!b)}},UDb=function(a){a&1&&(H(0,"span"),R(1,", "),I())},VDb=function(a){a&1&&(H(0,"a",31),R(1),I(),P(2,UDb,2,0,"span",5));if(a&2){a=O(2).$implicit;var b=O(),c=b.isLast;F("href",b.change.href,Sd);B(1);Nf(a);B(1);F("ngIf",!c)}},WDb=function(a){a&1&&(P(0,TDb,3,2,"ng-container",11),P(1,VDb,3,
3,"ng-template",null,30,hg));if(a&2){var b=Lf(2);a=O(2).diff;var c=O();F("ngIf",c.isHotlistDiff(a))("ngIfElse",b)}},XDb=function(a){a&1&&(K(0),P(1,RDb,4,4,"span",11),P(2,WDb,3,2,"ng-template",null,28,hg),L());if(a&2){var b=Lf(3);a=O().diff;var c=O();B(1);F("ngIf",c.isIssueDiff(a))("ngIfElse",b)}},YDb=function(a,b){a&1&&P(0,XDb,4,2,"ng-container",5);a&2&&F("ngIf",b.change.value)},ZDb=function(a){a&1&&(H(0,"span"),R(1,"Estimated Effort (disabled)"),I())},$Db=function(a,b){a&1&&(J(0,"b-user-membership-chip",
29),S(1,"async"));if(a&2){a=b.ngIf;b=O(2);var c;F("user",b.event.userPerformingActionUser)("email",a)("teamId",null!==(c=T(1,3,b.teamId$))&&void 0!==c?c:"")}},aEb=function(a){a&1&&J(0,"b-user-display",30);a&2&&(a=O(2),F("model",a.event.userPerformingActionUser))},bEb=function(a){a&1&&Df(0)},cEb=function(a){a&1&&(K(0),H(1,"span",31),P(2,bEb,1,0,"ng-container",32),I(),H(3,"onedev-hovercard",null,33),J(5,"b-issue-person-card",34),I(),L());if(a&2){var b=Lf(4);O();var c=Lf(11);a=O();B(1);F("onedevHovercardTrigger",
b);B(1);F("ngTemplateOutlet",c);B(3);F("email",a.getUserEmailIfAvailable())}},dEb=function(a){a&1&&(H(0,"span",35),R(1),I());a&2&&(a=O(2),B(1),Mf(" <",pi(a.event.userPerformingActionUser),"> "))},eEb=function(a){if(a&1){var b=w();H(0,"span")(1,"a",36);M("click",function(c){x(b);var d=O(2);return z(d.scrollCommentIntoView(c,d.event.commentNumber))});R(2);I()()}a&2&&(a=O(2),B(1),F("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),pf("aria-label","Comment number"+a.event.commentNumber),
B(1),Mf(" #",a.event.commentNumber,""))},fEb=function(a){if(a&1){var b=w();H(0,"button",37);M("click",function(){x(b);var c=O(2);return z(Os(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});I()}},gEb=function(a){a&1&&J(0,"b-restricted-chip",38);if(a&2){a=O(2);var b,c;F("label",a.getRestrictedLabel())("retention",null!==(b=a.event.commentRetention)&&void 0!==b?b:void 0)("retentionState",null!==(c=a.event.commentRetentionState)&&void 0!==c?c:void 0)}},iEb=function(a){a&1&&(J(0,
"b-actions-menu",39,40),S(2,"async"));if(a&2){a=O(2);var b;F("buttonLabel","Comment actions")("menuItems",null!==(b=T(2,2,a.commentActionMenuItems$))&&void 0!==b?b:Rf(4,hEb))}},jEb=function(a){a&1&&(H(0,"div",41),J(1,"b-tagged-text",42),I());a&2&&(a=O(2),B(1),F("texts",a.event.taggedSummary))},kEb=function(a){a&1&&(J(0,"b-issue-event-details",43),S(1,"async"),S(2,"async"),S(3,"async"));if(a&2){a=O().ngIf;var b=O(),c,d;F("diffs",null!==(c=T(1,4,b.preEventDiffs$))&&void 0!==c?c:Rf(10,hEb))("customFieldMap",
a.customFieldMap)("effortSpecName",null==(d=T(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!T(3,8,b.isEffortEnabled$))}},lEb=function(a){a&1&&(H(0,"div",44),R(1," Comment has been deleted. "),I())},mEb=function(a){if(a&1){var b=w();H(0,"b-restricted-comment-placeholder",45);M("onConfirm",function(){x(b);var c=O(2);return z(c.loadRestrictedComment())});S(1,"async");I()}a&2&&(a=O(2),F("disabled",!T(1,1,a.mayReadPii$)))},nEb=function(a){a&1&&J(0,"b-note-container",46);a&2&&(a=O(2),F("issueId",a.issueId)("issueAccessLevel",
a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},oEb=function(a){if(a&1){var b=w();K(0);J(1,"b-summarized-note-container",46);H(2,"button",47);M("click",function(){x(b);var c=O(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return z()});J(3,"mat-icon",48);R(4,"Expand details");I();L()}a&2&&(a=O(2),B(1),F("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},pEb=function(a){if(a&
1){var b=w();K(0);H(1,"button",47);M("click",function(){x(b);var c=O(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return z()});J(2,"mat-icon",49);R(3,"Collapse details");I();L()}},qEb=function(a){a&1&&J(0,"b-formatted-date-time",50);a&2&&(a=O(2),F("timestamp",a.event.modifiedDate))},rEb=function(a){a&1&&J(0,"mat-icon",58)},sEb=function(a){a&1&&J(0,"mat-icon",59)},tEb=function(a,b){a&1&&(H(0,"span"),R(1),I());a&2&&(a=b.ngIf,B(1),Nf(a))},uEb=function(a){a&1&&J(0,"b-comment-reaction-responders-card",
60);a&2&&(a=O(3),F("reactionState",null==a.event.commentReactions?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},zEb=function(a){if(a&1){var b=w();H(0,"div",51)(1,"button",52,53);M("click",function(){x(b);var d=O(2);return z(vEb(d))});S(3,"async");S(4,"async");S(5,"async");P(6,rEb,1,0,"mat-icon",54);P(7,sEb,1,0,"mat-icon",55);P(8,tEb,2,1,"span",0);S(9,"async");I();H(10,"onedev-hovercard",null,56);P(12,uEb,1,3,"b-comment-reaction-responders-card",
57);S(13,"async");I()()}if(a&2){var c=Lf(11);a=O(2);B(1);F("ariaLabel",wEb(a,a.ReactionType.UPVOTE))("ngClass",Sf(20,xEb,T(3,10,a.noUpvoteReactions$)))("onedevHovercardTrigger",c)("onedevHovercardConfig",a.commentReactionsHovercardConfig)("onedevHovercardActive",!!T(5,14,a.showCommentReactionHovercard$));pf("aria-disabled",!T(4,12,a.hasAclToUpvoteReact$)||a.commentReactionIsSaving);B(5);F("ngIf",!yEb(a,a.ReactionType.UPVOTE));B(1);F("ngIf",yEb(a,a.ReactionType.UPVOTE));B(1);F("ngIf",T(9,16,a.upvoteReactionCountDisplayString$));
B(4);F("ngIf",!T(13,18,a.noUpvoteReactions$))}},AEb=function(a){if(a&1){var b=w();H(0,"a",64);M("click",function(){x(b);var c=O(3);return z(c.showCommentHistoryDialog(c.event.commentNumber))});R(1," Show History ");I()}},BEb=function(a){a&1&&(H(0,"div",61),J(1,"b-comment-edit-timestamp-message",62),P(2,AEb,2,0,"a",63),I());a&2&&(a=O(2),B(1),F("event",a.event),B(1),F("ngIf",a.commentHistoryEnabled))},CEb=function(a){a&1&&(J(0,"b-issue-event-details",43),S(1,"async"),S(2,"async"),S(3,"async"));if(a&
2){a=O().ngIf;var b=O(),c,d;F("diffs",null!==(c=T(1,4,b.postEventDiffs$))&&void 0!==c?c:Rf(10,hEb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=T(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!T(3,8,b.isEffortEnabled$))}},DEb=function(a,b){a&1&&(H(0,"div",67),J(1,"b-attachment-viewer",68),I());a&2&&(a=b.$implicit,b=O(3),If("id","attachment",a.attachmentId,""),B(1),F("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},EEb=function(a){a&1&&(H(0,
"div",65),P(1,DEb,2,4,"div",66),I());a&2&&(a=O(2),B(1),F("ngForOf",a.event.attachments))},GEb=function(a){a&1&&(K(0),H(1,"div",1),J(2,"b-user-image",2),I(),H(3,"div",3)(4,"h4",4),S(5,"async"),P(6,$Db,2,5,"b-user-membership-chip",5),P(7,aEb,1,1,"ng-template",null,6,hg),P(9,cEb,6,3,"ng-container",7),P(10,dEb,2,1,"ng-template",null,8,hg),P(12,eEb,3,3,"span",0),P(13,fEb,1,0,"button",9),S(14,"async"),H(15,"span",10),P(16,gEb,1,3,"b-restricted-chip",11),J(17,"b-formatted-date-time",12),P(18,iEb,3,5,"b-actions-menu",
13),I()(),J(19,"div",14),P(20,jEb,2,1,"div",15),P(21,kEb,4,11,"b-issue-event-details",16),S(22,"async"),J(23,"div",14),H(24,"div",17)(25,"div",18),P(26,lEb,2,0,"div",19),P(27,mEb,2,3,"b-restricted-comment-placeholder",20),H(28,"div",21),P(29,nEb,1,4,"b-note-container",22),P(30,oEb,5,4,"ng-container",0),P(31,pEb,4,0,"ng-container",0),I(),H(32,"div",23)(33,"div",24),P(34,qEb,1,1,"b-formatted-date-time",25),S(35,"async"),I(),P(36,zEb,14,22,"div",26),I()(),P(37,BEb,3,2,"div",27),I(),P(38,CEb,4,11,"b-issue-event-details",
16),S(39,"async"),J(40,"div",14),P(41,EEb,2,1,"div",28),J(42,"div",14),I(),L());if(a&2){var b=Lf(8),c=Lf(11);a=O();B(2);F("email",a.getUserEmailIfAvailable());B(2);pf("aria-label",T(5,23,a.ariaLabelHeading$));B(2);F("ngIf",a.enableTeamAnnotations&&a.getUserEmailIfAvailable())("ngIfElse",b);B(3);F("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",c);B(3);F("ngIf",a.isCommentEvent(a.event));B(1);F("ngIf",T(14,25,a.canEditComment$)&&!Ps(a));B(3);F("ngIf",a.isRestricted());B(1);F("timestamp",
a.event.modifiedDate);B(1);F("ngIf",a.isCommentEvent(a.event));B(2);F("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);B(1);F("ngIf","FULL_HISTORY"===T(22,27,a.showFullHistoryFromFiltering$));B(5);F("ngIf",a.isDeleted());B(1);F("ngIf",Ps(a)&&!a.isDeleted());B(2);F("ngIf",FEb(a)&&!Ps(a)&&!a.isDeleted()&&!a.isSummarized);B(1);F("ngIf",FEb(a)&&!Ps(a)&&!a.isDeleted()&&a.isSummarized);B(1);F("ngIf",a.wasSummarized&&!a.isSummarized);B(3);F("ngIf",T(35,29,a.isShowingCommentTimestamp$));B(2);var d,
e=a.ReactionType.UPVOTE,g,h=!a.issuePermissionService.hasAclToComment()&&0===(null==(d=a.event.commentReactions)?void 0:null==(g=d.get(e))?void 0:g.count);d=a.isInternalSession&&a.commentReactionsEnabled&&FEb(a)&&!a.isDeleted()&&!Ps(a)&&!h;F("ngIf",d);B(1);F("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!Ps(a));B(1);F("ngIf","FULL_HISTORY"===T(39,31,a.showFullHistoryFromFiltering$));B(3);F("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},HEb=
function(a){a&1&&(H(0,"aside",3),J(1,"b-spinner"),I())},IEb=function(a){a&1&&(K(0),R(1,"s"),L())},JEb=function(a){if(a&1){var b=w();K(0);H(1,"div",6)(2,"button",7);M("click",function(){x(b);var g=O().index,h=O(),m,r,v=null!=(r=null==(m=h.foldedCommentsCounts.get(g))?void 0:m.eventFoldedCount)?r:0;for(m=0;m<v&&((Jl(h.internalEvents[g-m])||Kl(h.internalEvents[g-m]))&&h.eventDisplayMode.set(g-m,"full"),0!==g-m);m++);h.foldedCommentsCounts.delete(g);return z()});R(3);P(4,IEb,2,0,"ng-container",4);I();
J(5,"div",8);I();L()}if(a&2){a=O().index;var c=O(),d,e;B(3);Mf(" ",null==(d=c.foldedCommentsCounts.get(a))?null:d.commentFoldedCount," update");B(1);F("ngIf",1<(null!==(e=null==(e=c.foldedCommentsCounts.get(a))?null:e.commentFoldedCount)&&void 0!==e?e:1))}},KEb=function(a){a&1&&(H(0,"div",9),J(1,"b-history-event",10),I());if(a&2){var b=O();a=b.$implicit;b=b.index;var c=O();B(1);F("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===
c.eventDisplayModes.SUMMARIZED)}},MEb=function(a,b){a&1&&(K(0),P(1,JEb,6,2,"ng-container",4),P(2,KEb,2,4,"div",5),L());if(a&2){a=b.$implicit;b=b.index;var c=O(),d;B(1);F("ngIf",c.enableCommentFiltering&&c.foldedCommentsCounts.has(b)&&0<(null!==(d=null==(d=c.foldedCommentsCounts.get(b))?null:d.commentFoldedCount)&&void 0!==d?d:0));B(1);if(d=c.internalIssueId)if(c.enableCommentFiltering)d=LEb(c.eventDisplayMode.get(b));else{var e,g;d=(c.showFullHistory||a.isMajorEvent)&&(Jl(a)&&!!a.unlinkifiedComment||
Kl(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(g=a.postDiffs)?void 0:g.length))}F("ngIf",d)}},NEb=function(a){a&1&&(H(0,"aside",3),J(1,"b-spinner"),I())},OEb=function(a){a&1&&(H(0,"p",13),R(1),I());a&2&&(a=O(4),B(1),Mf(" Your comment contains restricted words: ",a.bannedWordsWarning.matchedPatterns.join(", "),". Review your comment before posting. "))},PEb=function(a){if(a&1){var b=w();H(0,"div",14)(1,"b-recaptcha",15);M("onUpdate",function(c){x(b);var d=O(4);return z(d.recaptchaResponse$.next(c))});
I()()}},REb=function(a){if(a&1){var b=w();H(0,"span")(1,"mat-checkbox",16);M("change",function(){x(b);var c=O(4);return z(QEb(c))});S(2,"async");S(3,"async");R(4," CC Me ");I()()}a&2&&(a=O(4),B(1),F("checked",!!T(2,2,a.autoCcOnComment$))("disabled",!!T(3,4,a.isCurrentUserCCd$)))},SEb=function(a){a&1&&(H(0,"mat-checkbox",19),R(1," CC Me "),I());a&2&&F("checked",!0)("disabled",!0)},TEb=function(a){a&1&&(H(0,"span",17),P(1,SEb,2,2,"mat-checkbox",18),S(2,"async"),I());a&2&&(a=O(4),B(1),F("ngIf",T(2,1,
a.isCurrentUserCCd$)))},UEb=function(a){if(a&1){var b=w();H(0,"b-markdown-toggle",20);M("change",function(c){x(b);var d=O().ngIf;return z(d.formattingMode=c)});I()}a&2&&(a=O().ngIf,F("initialValue",a.formattingMode))},WEb=function(a,b){if(a&1){var c=w();K(0);H(1,"b-comment-box",3,4);M("onHotkey",function(){x(c);var m=Lf(2);return z(VEb(m,"editpage-hotkey"))})("onChange",function(){x(c);var m=O(3);return z(m.saveCommentDraft())})("onFocusEvent",function(){x(c);var m=O(3);return z(m.wasFocused=!0)})("onSubmit",
function(m){x(c);var r=O(3);return z(r.submitCommentBox(m))})("onRestrict",function(){x(c);var m=O(3);return z(m.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(m){x(c);var r=O(3);r.commentButtonStyle=r.isPlusOneCalloutEnabled()&&m?"hairline":"fill";return z()});S(3,"async");S(4,"async");S(5,"async");S(6,"async");P(7,OEb,2,1,"p",5);P(8,PEb,2,0,"div",6);S(9,"async");H(10,"div",7)(11,"b-button",8);M("onAction",function(m){x(c);var r=O(3);return z(r.submitCommentBox(m))})("click",
function(m){x(c);var r=O(3);return z(r.submitCommentBox(m))});S(12,"async");R(13);I();H(14,"div",9);P(15,REb,5,6,"span",0);S(16,"async");S(17,"async");P(18,TEb,3,3,"span",10);S(19,"async");S(20,"async");P(21,UEb,1,1,"b-markdown-toggle",11);S(22,"async");I();J(23,"b-access-level-indicator",12);S(24,"async");I()();L()}if(a&2){a=b.ngIf;b=O(2).ngIf;var d=O(),e,g,h;B(1);F("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",b.issueId)("comment",a)("componentId",b.componentId)("placeholder",
null!==(e=T(3,21,d.commentPlaceholderText$))&&void 0!==e?e:void 0)("judgementForNewContent",null!==(g=T(4,23,d.judgementForNewContent$))&&void 0!==g?g:void 0)("audience",null!==(h=T(5,25,d.audience$))&&void 0!==h?h:void 0)("disabled",!1===T(6,27,d.commentBoxEnabled$))("isPlusOneCalloutEnabled",d.isPlusOneCalloutEnabled())("warn",d.bannedWordsService.showWarning(d.bannedWordsWarning));B(6);F("ngIf",d.bannedWordsService.showWarning(d.bannedWordsWarning));B(1);F("ngIf",T(9,29,d.showRecaptcha$));B(3);
F("format",d.commentButtonStyle)("disabled",!1===T(12,31,d.commentButtonEnabled$))("color",d.bannedWordsService.showWarning(d.bannedWordsWarning)?"warn":"primary");B(2);Mf(" ",d.bannedWordsService.showWarning(d.bannedWordsWarning)?"Comment Anyway":"Comment"," ");B(2);F("ngIf",!T(16,33,d.isCurrentUserCCd$)&&T(17,35,d.hasAclToEdit$));B(3);F("ngIf",T(19,37,d.isCurrentUserCCd$)||!T(20,39,d.hasAclToEdit$));B(3);F("ngIf",T(22,41,d.hasAclToComment$));B(2);F("accessLevel",T(24,43,d.accessLevel$))}},YEb=function(a){a&
1&&(K(0),H(1,"h3",1),R(2,"Add comment"),I(),H(3,"div",2),S(4,"async"),P(5,WEb,25,45,"ng-container",0),S(6,"async"),I(),L());a&2&&(a=O(2),B(3),F("ngClass",Tf(6,XEb,T(4,2,a.empty$),!a.wasFocused)),B(2),F("ngIf",T(6,4,a.comment$)))},ZEb=function(a,b){a&1&&(K(0),P(1,YEb,7,9,"ng-container",0),L());a&2&&(a=b.ngIf,B(1),F("ngIf",!a.isDeleted))},$Eb=function(a,b){a&1&&(J(0,"b-note-container",25),S(1,"async"));if(a&2){a=b.ngIf;b=O().ngIf;var c=O();F("issueId",b)("issueAccessLevel",T(1,4,c.canonicalAccessLevel$))("formattingMode",
a.formattingMode)("note",a)}},aFb=function(a,b){a&1&&(H(0,"div",26),R(1),I());a&2&&(a=b.ngIf,b=O(2),Bf("chippy status-",a,""),F("title",b.STATUS_JS_FULL_TEXT[a]),B(1),Mf(" ",b.STATUS_JS_TERSE[a]," "))},bFb=function(a,b){a&1&&(K(0),J(1,"span",27),H(2,"span",28),R(3),I(),L());a&2&&(a=b.ngIf,B(3),Of(" ",a.length," duplicate",1===a.length?"":"s"," "))},cFb=function(a,b){a&1&&(K(0),J(1,"span",27),H(2,"div",29)(3,"span",30),R(4),I(),J(5,"mat-icon",31),I(),L());a&2&&(a=b.ngIf,B(2),If("matTooltip","",a.voteCount,
" votes on this issue"),B(2),Nf(9999<a.voteCount?"9999+":a.voteCount))},dFb=function(a,b){a&1&&(K(0),J(1,"span",27),H(2,"div",32)(3,"span",30),R(4),I(),J(5,"mat-icon",33),I(),L());a&2&&(a=b.ngIf,B(2),If("matTooltip","",a.length," comments on this issue"),B(2),Nf(a.length))},eFb=function(a,b){a&1&&(K(0),J(1,"span",27)(2,"b-formatted-date-time",34),L());a&2&&(a=b.ngIf,B(2),F("timestamp",a/1E3))},gFb=function(a,b){if(a&1){var c=w();H(0,"button",35);M("click",function(){var d=x(c).$implicit;O();var e=
Lf(31);O().reject(d);var g;null==(g=e.trigger)||g.close();return z()});H(1,"span");R(2);I()()}a&2&&(a=b.$implicit,b=O(2),B(2),Nf(b.REJECT_REASON_TO_DISPLAY[a]))},iFb=function(a,b){if(a&1){var c=w();H(0,"div",5)(1,"div",6)(2,"a",7)(3,"span",8);R(4);S(5,"async");I();J(6,"mat-icon",9);I();P(7,$Eb,2,6,"b-note-container",10);S(8,"async");H(9,"div",11);J(10,"b-issue-id-picker",12);S(11,"async");S(12,"async");S(13,"async");J(14,"b-issue-priority-display",13);S(15,"async");P(16,aFb,2,5,"div",14);S(17,"async");
P(18,bFb,4,2,"ng-container",15);S(19,"async");P(20,cFb,6,2,"ng-container",15);S(21,"async");P(22,dFb,6,2,"ng-container",15);S(23,"async");P(24,eFb,3,1,"ng-container",15);S(25,"async");I()();H(26,"div",16)(27,"button",17);M("click",function(){x(c);var d=O();return z(d.accept())});J(28,"mat-icon",18);R(29," Accept ");I();H(30,"split-button",19,20)(32,"button",21);M("click",function(){x(c);var d=O();return z(d.reject())});J(33,"mat-icon",22);R(34," Reject ");I();H(35,"div",23);P(36,gFb,3,1,"button",
24);I()()()()}a&2&&(a=b.ngIf,b=O(),B(2),F("href",b.getIssueLink(a),Sd),B(2),Nf(T(5,18,b.canonicalTitle$)),B(3),F("ngIf",T(8,20,b.canonicalDescription$)),B(3),F("issueId",a)("enableHotkeys",!1)("componentId",T(11,22,b.canonicalComponentId$))("issueTitle",T(12,24,b.canonicalTitle$))("isExternalIssue",!!T(13,26,b.isCanonicalInExternalComponent$)),B(4),F("issuePriority",T(15,28,b.canonicalPriority$)),B(2),F("ngIf",T(17,30,b.statusForChip$)),B(2),F("ngIf",T(19,32,b.canonicalDuplicates$)),B(2),F("ngIf",
Sf(40,hFb,T(21,34,b.canonicalVoteCount$)||0)),B(2),F("ngIf",T(23,36,b.canonicalComments$)),B(2),F("ngIf",T(25,38,b.canonicalCreateMicros$)),B(3),F("disabled",b.isSaving),B(3),F("disabled",b.isSaving),B(2),F("disabled",b.isSaving),B(4),F("ngForOf",b.REJECT_REASONS))},jFb=function(a){var b,c;return{output:null!=(c=null==(b=oj(Qs(a,Rs,5),Ss,1)[0])?void 0:V(b,1))?c:""}},kFb=function(a){return!(!a.isHumanAuthor||!a.isMajorEvent)},lFb=function(a){a&1&&(H(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. "),
I())},nFb=function(a){if(a&1){var b=w();H(0,"button",16);M("click",function(){x(b);var c=O(4);return z(mFb(c))});R(1," Experiment with prompt ");I()}},pFb=function(a){if(a&1){var b=w();K(0);H(1,"span",12);R(2," Ask AI to summarize the issue based on the status update, description, and comments. This summary will not persist and will only be visible to you. ");I();H(3,"div",13)(4,"button",14);M("click",function(){x(b);var c=O(3);return z(oFb(c))});R(5," Summarize for me ");I();P(6,nFb,2,0,"button",
15);I();L()}a&2&&(a=O(3),B(6),F("ngIf",a.enableLlmDogfood))},rFb=function(a,b){a&1&&(K(0),Df(1,18),L());if(a&2){a=b.ngIf;b=O(2).ngIf;O(2);var c=Lf(5);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Tf(2,qFb,a,b))}},sFb=function(a){a&1&&(K(0),P(1,rFb,2,5,"ng-container",17),S(2,"async"),L());if(a&2){a=O(3);var b=Lf(3);B(1);F("ngIf",T(2,2,a.commentThreadSummary$))("ngIfElse",b)}},tFb=function(a){a&1&&(H(0,"div",20),R(1),I());a&2&&(a=O().ngIf,B(1),Mf(" ",a.summary," "))},uFb=function(a,b){a&1&&
(K(0),P(1,tFb,2,1,"div",19),L());a&2&&(a=b.ngIf,O(4),B(1),F("ngIf",0===a.status))},vFb=function(a){if(a&1){var b=w();K(0);P(1,uFb,2,1,"ng-container",17);S(2,"async");H(3,"div",13)(4,"button",16);M("click",function(){x(b);var d=O(3);return z(mFb(d))});R(5," Experiment with prompt ");I()();L()}if(a&2){a=O(3);var c=Lf(3);B(1);F("ngIf",T(2,2,a.commentThreadSummary$))("ngIfElse",c)}},wFb=function(a,b){a&1&&(K(0),P(1,pFb,7,1,"ng-container",11),P(2,sFb,3,4,"ng-container",11),P(3,vFb,6,4,"ng-container",11),
L());a&2&&(a=b.ngIf,b=O(2),B(1),F("ngIf",a===b.INITIAL),B(1),F("ngIf",a===b.SHORT||a===b.LONG),B(1),F("ngIf",a===b.CUSTOM))},xFb=function(a){a&1&&(H(0,"div",4),J(1,"mat-icon",5),H(2,"div",6)(3,"h4",7),R(4," AI-generated summary "),H(5,"xap-bubble",8)(6,"xap-icon-trigger"),J(7,"mat-icon",9),I(),P(8,lFb,2,0,"ng-template",null,10,hg),I()(),P(10,wFb,4,3,"ng-container",11),S(11,"async"),I()());if(a&2){var b=Lf(9);a=O();B(5);F("panelTemplate",b);B(5);F("ngIf",T(11,2,a.stage$))}},yFb=function(a){a&1&&J(0,
"b-spinner")},zFb=function(a){if(a&1){var b=w();H(0,"button",16);M("click",function(){x(b);var c=O(3);return z(oFb(c))});R(1," Tell me more ");I()}},AFb=function(a){a&1&&(K(0),H(1,"div",20),R(2),I(),H(3,"div",13),P(4,zFb,2,0,"button",15),I(),H(5,"div",21)(6,"span",12),R(7,"Summary will disappear upon page refresh."),I(),Df(8,22),I(),L());if(a&2){var b=O();a=b.summary;b=b.stage;var c=O(),d=Lf(7);B(2);Mf(" ",a.summary," ");B(2);F("ngIf",b===c.SHORT);B(4);F("ngTemplateOutlet",d)}},BFb=function(a){a&
1&&(K(0),H(1,"div",21)(2,"div",23),R(3," Issue can not be summarized for now due to insufficient content. "),I(),Df(4,22),I(),L());if(a&2){O(2);var b=Lf(7);B(4);F("ngTemplateOutlet",b)}},CFb=function(a){a&1&&(K(0),H(1,"div",21)(2,"div",23),R(3," Server is currently too busy. Please try again later. "),I()(),L())},DFb=function(a,b){a&1&&(P(0,AFb,9,3,"ng-container",11),P(1,BFb,5,1,"ng-container",11),P(2,CFb,4,0,"ng-container",11));a&2&&(a=b.summary,O(),F("ngIf",0===a.status),B(1),F("ngIf",1===a.status),
B(1),F("ngIf",2===a.status))},FFb=function(a){if(a&1){var b=w();H(0,"div",13)(1,"button",24);M("click",function(){x(b);var c=O();Nh("thumbsup");c.hasReacted=!0;c.thumbsUpClicked=!0;c.analytics.trackEvent(io.LLM_SUMMARIZE,"accept",JSON.stringify({id:c.issueId,stage:c.stage$.value}));return z()});J(2,"mat-icon",25);I();H(3,"button",24);M("click",function(){x(b);var c=O();Nh("thumbsdown");c.hasReacted=!0;c.thumbsDownClicked=!0;c.analytics.trackEvent(io.LLM_SUMMARIZE,"reject",JSON.stringify({id:c.issueId,
stage:c.stage$.value}));return z()});J(4,"mat-icon",26);I()()}a&2&&(a=O(),B(1),F("disabled",a.hasReacted),B(1),F("ngClass",Sf(4,EFb,a.thumbsUpClicked)),B(1),F("disabled",a.hasReacted),B(1),F("ngClass",Sf(6,EFb,a.thumbsDownClicked)))},GFb=function(a){switch(a){case "initial":return"short";case "short":return"long";case "long":return"long";case "custom":return"custom";default:Fh(a,"nextStage")}},HFb=function(a){switch(a){case "initial":return 0;case "short":return 0;case "long":return 1;case "custom":return 1;
default:Fh(a,"summaryTypeForStage")}},IFb=function(a){a&1&&(J(0,"canonical-recommendation",8,9),S(2,"async"));if(a&2){var b=Lf(1);a=O().$implicit;yf("hidden",!T(2,3,b.show$));F("currentIssueId",a)}},JFb=function(a){a&1&&(K(0),J(1,"llm-summary",6),L());a&2&&(a=O().$implicit,B(1),F("issueId",a))},KFb=function(a,b){a&1&&(K(0),J(1,"issue-description-area",4),P(2,IFb,3,5,"canonical-recommendation",5),S(3,"async"),J(4,"status-update",6),P(5,JFb,2,1,"ng-container",1),J(6,"b-issue-description",7),L());a&
2&&(a=b.$implicit,b=O(),B(1),F("id",a),B(1),F("ngIf",b.enableIDPCanonicalRecommendation&&T(3,5,b.issuePermissionService.hasAclToEdit$)),B(2),F("issueId",a),B(1),F("ngIf",b.enableLlmSummarization),B(1),F("id",a))},LFb=function(a,b){a&1&&(J(0,"issue-summary-card",10,11),S(2,"async"));if(a&2){a=b.$implicit;var c=Lf(1);yf("hidden",!T(2,3,c.shouldShowSummaryCard$));F("issueId",a)}},MFb=function(a){a&1&&J(0,"issue-event-list",14);a&2&&(a=O().$implicit,F("id",a))},NFb=function(a){a&1&&J(0,"issue-event-list",
14);a&2&&(a=O().$implicit,F("id",a))},OFb=function(a,b){a&1&&(H(0,"div",12),J(1,"b-event-stream-header"),P(2,MFb,1,1,"issue-event-list",13),J(3,"b-post-comment",6),P(4,NFb,1,1,"issue-event-list",13),I());a&2&&(a=b.$implicit,b=O(),yf("recent-first",b.showRecentEventsFirst),B(2),F("ngIf",!b.showRecentEventsFirst),B(1),F("issueId",a),B(1),F("ngIf",b.showRecentEventsFirst))},PFb=function(a){a&1&&(H(0,"section")(1,"h4"),J(2,"mat-icon",2),R(3),I(),J(4,"inline-images-summary",3)(5,"br")(6,"hr",4),I());if(a&
2){a=O(2).ngIf;var b=O().ngIf;B(3);Mf(" Screenshots (",a.length,") ");B(1);F("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},QFb=function(a){a&1&&(K(0),P(1,PFb,7,4,"section",1),L());a&2&&(a=O().ngIf,B(1),F("ngIf",a.length))},RFb=function(a){a&1&&(K(0),P(1,QFb,2,1,"ng-container",1),L());a&2&&(a=O(2),B(1),F("ngIf",a.isInternalSession))},SFb=function(a){a&1&&(H(0,"section")(1,"h4"),J(2,"mat-icon",5),R(3),I(),J(4,"b-mentioned-issues",6)(5,"br")(6,"hr",4),I());if(a&2){a=O().ngIf;var b=O().ngIf;B(3);
Mf(" Mentioned issues (",a.length,") ");B(1);F("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},TFb=function(a,b){a&1&&(K(0),P(1,SFb,7,4,"section",1),L());a&2&&(a=b.ngIf,B(1),F("ngIf",a.length))},UFb=function(a){a&1&&(H(0,"section")(1,"h4"),J(2,"mat-icon",7),R(3),I(),J(4,"related-links-widget",8),I());if(a&2){a=O().ngIf;var b=O().ngIf;B(3);Mf(" Links (",a.length,") ");B(1);F("links",a)("issueId",b.issueId)("paginate",!0)}},VFb=function(a,b){a&1&&(K(0),P(1,UFb,5,4,"section",1),L());
a&2&&(a=b.ngIf,B(1),F("ngIf",a.length))},WFb=function(a){a&1&&(K(0),P(1,RFb,2,1,"ng-container",1),S(2,"async"),P(3,TFb,2,1,"ng-container",1),S(4,"async"),P(5,VFb,2,1,"ng-container",1),S(6,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,3,a.imageLinks$)),B(2),F("ngIf",T(4,5,a.issueReferences$)),B(2),F("ngIf",T(6,7,a.otherLinks$)))},XFb=function(a){a&1&&(H(0,"div",4),J(1,"img",5),H(2,"p",6),R(3," This issue has no TODOs "),I(),H(4,"p",7),R(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),
H(6,"a",8),R(7,"Learn more"),I()()());a&2&&(a=O(3),B(1),F("src",a.ROBOT_SLEEPING,Sd))},YFb=function(a,b){a&1&&J(0,"b-package-mentions-listing",12);if(a&2){a=b.$implicit;b=O(3).ngIf;var c=O().ngIf,d=O();F("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},ZFb=function(a){if(a&1){var b=w();K(0);P(1,YFb,1,3,"b-package-mentions-listing",9);H(2,"p",10)(3,"a",11);M("click",function(){x(b);var c=O(4);return z(c.trackSqueegeeClick())});R(4,"View in Squeegee");I()();L()}a&
2&&(a=O(2).ngIf,B(1),F("ngForOf",a.mentions.packageMentionSet),B(2),F("href",a.link,Sd))},$Fb=function(a){a&1&&P(0,ZFb,5,2,"ng-container",1);a&2&&(a=O().ngIf,F("ngIf",a.mentions))},aGb=function(a,b){a&1&&(K(0),P(1,XFb,8,1,"div",2),P(2,$Fb,1,1,"ng-template",null,3,hg),L());if(a&2){a=b.ngIf;var c=Lf(3);O(2);B(1);F("ngIf",!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",c)}},bGb=function(a){a&1&&(K(0),P(1,aGb,4,2,"ng-container",1),S(2,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,1,a.codeMentionsState$)))},
cGb=function(a){a&1&&J(0,"b-spinner",6);a&2&&F("large",!0)},dGb=function(a){a&1&&J(0,"b-hotlist-grid",7);a&2&&(a=O(),F("hotlists",a.hotlists))},eGb=function(a){a&1&&(H(0,"div",9),J(1,"b-spinner"),H(2,"span"),R(3),I()());a&2&&(a=O(),B(3),Mf(" Searching",a.query?" for "+a.query:"","..."))},fGb=function(a){a&1&&(K(0),R(1," No issues match your search. "),L())},gGb=function(a){a&1&&R(0," Use search box to find issues. ")},iGb=function(a){a&1&&(H(0,"a",16),R(1," Click to see all open issues"),I());a&2&&
F("queryParams",Rf(1,hGb))},jGb=function(a){a&1&&(H(0,"a",17),R(1,"Learn more about searching"),I())},kGb=function(a){a&1&&(H(0,"div",10),J(1,"img",11),P(2,fGb,2,0,"ng-container",12),P(3,gGb,1,0,"ng-template",null,13,hg),P(5,iGb,2,2,"a",14),S(6,"async"),P(7,jGb,2,0,"ng-template",null,15,hg),I());if(a&2){var b=Lf(4),c=Lf(8);a=O();var d;F("bFocus",!0);B(1);F("src",a.SPACE_EMPTY_STATE,Sd);B(1);F("ngIf",a.query)("ngIfElse",b);B(3);F("ngIf",null!==(d=T(6,6,a.currentTracker.inTracker$))&&void 0!==d?d:!1)("ngIfElse",
c)}},mGb=function(a){if(a&1){var b=w();H(0,"div",18)(1,"b-issues-grid",19);M("init",function(c){x(b);var d=O();return z(d.resultsGrid=c)})("columnsChange",function(c){x(b);var d=O();return z(d.issueColumns=c)})("columnsChange",function(){x(b);O();lGb();return z()})("sortChange",function(c){x(b);var d=O();return z(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=O();return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=O();return z(Ts(c,c.page,1))})("onPrevPage",
function(){x(b);var c=O();return z(Ts(c,c.page,-1))});I()()}a&2&&(a=O(),B(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},nGb=function(a){a&1&&(H(0,"div",9),J(1,"b-spinner"),R(2," Loading recent issues... "),I())},oGb=function(a){a&1&&(H(0,"div",10),R(1," No recent issues found. "),I())},pGb=function(a){if(a&1){var b=w();H(0,"div",11)(1,"b-issues-grid",12);M("init",
function(c){x(b);var d=O();return z(d.resultsGrid=c)})("columnsChange",function(c){x(b);var d=O();return z(d.issueColumns=c)})("sortChange",function(c){x(b);var d=O();return z(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=O();return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=O(),d;return z(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)+1))})("onPrevPage",function(){x(b);var c=O(),d;return z(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)-1))});
I()()}a&2&&(a=O(),B(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},qGb=function(a,b){return b.map(function(c){var d=a.indexOf(String(c.id));return[a.length-d,c]}).sort(function(c,d){var e=k(c);c=e.next().value;e.next();d=k(d);e=d.next().value;d.next();return c-e}).map(function(c){c=k(c);c.next();return c.next().value})},rGb=function(a){a&1&&(H(0,"div",6)(1,"h2"),R(2,"Manage SLOs"),
I(),H(3,"p",7),R(4,"You have admin rights for all SLOs listed below."),I()())},sGb=function(a){a&1&&J(0,"b-spinner",8);a&2&&F("large",!0)},tGb=function(a){a&1&&(H(0,"div",11),R(1,"You have no Active SLOs"),I())},uGb=function(a){a&1&&J(0,"b-slo-grid",12);a&2&&(a=O(2),F("slos",a.activeSlos))},vGb=function(a){a&1&&(K(0),P(1,tGb,2,0,"div",9),P(2,uGb,1,1,"b-slo-grid",10),L());a&2&&(a=O(),B(1),F("ngIf",!a.activeSlos.length),B(1),F("ngIf",a.activeSlos.length))},wGb=function(a){a&1&&(H(0,"p",19),R(1," You have no archived SLOs. "),
I())},xGb=function(a){a&1&&J(0,"b-slo-grid",12);a&2&&(a=O(3),F("slos",a.archivedSlos))},yGb=function(a){a&1&&(H(0,"div",17),P(1,wGb,2,0,"p",18),P(2,xGb,1,1,"b-slo-grid",10),I());a&2&&(a=O(2),B(1),F("ngIf",!a.archivedSlos.length),B(1),F("ngIf",a.archivedSlos.length))},zGb=function(a){if(a&1){var b=w();K(0);H(1,"button",13);M("click",function(){x(b);var c=O();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return z()});H(2,"h4",14);J(3,"mat-icon",15);R(4);I()();P(5,yGb,3,2,"div",16);L()}a&2&&(a=
O(),B(3),yf("rotate-180",a.areArchivedSlosExpanded),F("svgIcon","arrow-dropdown"),B(1),Mf(" Archived SLOs (",a.archivedSlos.length,") "),B(1),F("ngIf",a.areArchivedSlosExpanded))},AGb=function(a){a&1&&(K(0),H(1,"p"),R(2,"Team inheritance path:"),I(),J(3,"b-team-breadcrumb",1),L());a&2&&(a=O(),B(3),F("teamPath",a.teamPath))},BGb=function(a){a&1&&(K(0),H(1,"p"),R(2,"Component inheritance path:"),I(),J(3,"b-component-breadcrumb",2),L());a&2&&(a=O(),B(3),F("componentPathInfo",a.componentPath))},DGb=function(a){if(a&
1){var b=w();K(0);H(1,"span",5);R(2," Data in this component is not being collected. ");H(3,"button",6);M("click",function(){x(b);var c=O(2);return z(CGb(c))});H(4,"span",7);R(5,"Opt into");I()();R(6," data collection to enable ML features in this component. ");H(7,"a",8);R(8,"Learn more");I();R(9,". ");I();L()}a&2&&(a=O(2),B(3),F("disabled",!a.isAdmin),B(1),F("matTooltip",a.isAdmin?"":"Only component admins can opt in."),B(3),F("href",a.helpLink,Sd))},FGb=function(a){if(a&1){var b=w();H(0,"span",
5);R(1," Buganizer collects data in this component to improve ML features. ");H(2,"a",8);R(3,"Learn more");I();R(4," or ");H(5,"button",6);M("click",function(){x(b);var c=O(2);return z(EGb(c))});H(6,"span",7);R(7,"opt out");I()();R(8,". ");I()}a&2&&(a=O(2),B(2),F("href",a.helpLink,Sd),B(3),F("disabled",!a.isAdmin),B(1),F("matTooltip",a.isAdmin?"":"Only component admins can opt out."))},HGb=function(a){if(a&1){var b=w();H(0,"div",1)(1,"h4");R(2,"ML Features");I();P(3,DGb,10,3,"ng-container",2);P(4,
FGb,9,3,"ng-template",null,3,hg);H(6,"mat-slide-toggle",4);M("change",function(d){x(b);O().setDraft({duplicateAssistanceEnabled:d.checked});return z()});S(7,"async");R(8," Show ML-suggested duplicates for issues ");I()()}if(a&2){var c=Lf(5);a=O();B(3);F("ngIf",null==a.savedSettings?null:a.savedSettings.optedOutFromDataCollection)("ngIfElse",c);B(3);F("disabled",T(7,5,a.isSaving$)||!a.draftSettings||!a.isAdmin||a.draftSettings.optedOutFromDataCollection)("checked",null==a.draftSettings?null:a.draftSettings.duplicateAssistanceEnabled)("matTooltip",
GGb(a))}},IGb=function(a){var b={};a=k(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.groupEmail]=c;return b},LGb=function(a){return{approximateSize:uj(a,2),groupEmail:V(a,1),sizeCategory:JGb[aj(a,3,0)],permissionCategory:KGb[aj(a,5,0)]}},NGb=function(a){var b;return{groupMetadata:(null!=(b=oj(a,MGb,1))?b:[]).map(LGb)}},PGb=function(a,b){var c=[];if(!b||!a)return c;for(var d=k(OGb),e=d.next();!e.done;e=d.next()){e=e.value;var g=gi(e.accessor(b)||[],e.accessor(a)||[]);g.length&&
c.push({field:e.field,addedPrincipals:g})}return c},RGb=function(a,b){if(!a.appenders||!b||Yh(b.appenders,a.appenders))return!1;a=k(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,QGb.has(c)&&!b.appenders.includes(c))return!0;return!1},SGb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,c)}return b},TGb=function(a,b){return 0!==a&&0!==b?"Adding large and open groups to a public component":
0!==a?1===a?"Adding a large group to a public component":"Adding large groups to a public component":1===b?"Adding an open group to a public component":"Adding open groups to a public component"},UGb=function(a){if(0===a.size)return Us;for(var b=1===a.size?ro("P",{},"The following large group is added: "):ro("P",{},"The following large groups are added: "),c=[],d=k(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var g=a.get(e).approximateSize;c.push(ro("P",{},so(ro("B",{},e)," has approximately ",
ro("B",{},g)," Googlers.")))}return so(b,c)},VGb=function(a){if(0===a.size)return Us;var b=1===a.size?ro("P",{},"The following open group is added: "):ro("P",{},"The following open groups are added: "),c=[];a=k(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(ro("P",{},ro("B",{},d.value)));return so(b,c)},WGb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,"OPEN_TO_JOIN"===c.permissionCategory&&b.set(c.groupEmail,c);return b},XGb=function(a,b){var c=b.restrictedPlusReaders;
return 0<a.restrictedPlusReaders.filter(function(d){return!c.includes(d)}).filter(function(d){return d.startsWith("GROUP:")}).length},YGb=function(a,b,c){a="USER:"+a;b=b.admins.concat(b.inheritedAdmins);var d=c.admins.concat(c.inheritedAdmins);c=b.filter(function(g){return!d.includes(g)});b=c.filter(function(g){return g.startsWith("GROUP:")});var e=c.filter(function(g){return g.startsWith("USER:")});return d.includes(a)||0===c.length?!1:e.includes(a)?!0:b.length?!0:!1},Vs=function(a){var b=a.split(":");
a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:vqa(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],principalType:a,detailedUserType:null}},ZGb=function(a,b){a&1&&J(0,"b-contact-chip",6);a&2&&(a=b.$implicit,b=O(2),F("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},$Gb=function(a,b){a&1&&(K(0),H(1,"tr",3)(2,"th",4),R(3),I(),H(4,"td"),P(5,ZGb,1,5,"b-contact-chip",5),I()(),
L());a&2&&(a=b.$implicit,B(3),Nf(a.permission),B(2),F("ngForOf",a.principals))},dHb=function(a){var b="minimal";b=void 0===b?"expanded":b;a=aHb(a);a=QAa(a,function(c){c=bHb(c);return cHb(c,b)});return aHb(a)},fHb=function(a){a=aHb(a);a=QAa(a,function(b){b=eHb(b);return bHb(b)});return aHb(a)},cHb=function(a,b){var c="expanded"===b?gHb:hHb;return new Set([].concat(ad(a)).flatMap(function(d){return[].concat(ad(c.get(d)))}))},eHb=function(a){return new Set(Ws.filter(function(b){return dqa(a,hHb.get(b))}))},
bHb=function(a){a=cHb(a,"expanded");var b=eHb(a);return new Set([].concat(ad(b)).filter(function(c){return[].concat(ad(iHb.get(c))).every(function(d){return!b.has(d)})}))},aHb=function(a){var b=new Map;a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var g=void 0;b.set(e,(null!=(g=b.get(e))?g:new Set).add(c))}}return b},kHb=function(){function a(g,h){c.has(g)||c.set(g,new Set);var m=c.get(g);
m.add(h);var r;h=k(null!=(r=b.get(h))?r:[]);for(r=h.next();!r.done;r=h.next())r=r.value,m.has(r)||a(g,r)}var b=jHb,c=new Map,d=[].concat(ad(b.values())).flatMap(function(g){return[].concat(ad(g))});d=k(new Set([].concat(ad(b.keys()),ad(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},lHb=function(a){var b=dHb(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(ad(null!=(e=b.get(d))?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")}}},mHb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return Dl([].concat(ad(b?[].concat(ad(b.inheritedAdmins||[]),ad(b.admins||[]),ad(b.appenders||[])):[]),ad(a?[].concat(ad(a.admins||[]),ad(a.editors||[]),
ad(a.appenders||[]),ad(a.readers||[]),ad(a.restrictedReaders||[]),ad(a.restrictedPlusReaders||[])):[]))).sort()},oHb=function(a){function b(e){var g;return[].concat(ad(null!=(g=d.get(e))?g:[])).sort()}if(!a)return nHb;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=fHb(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}},pHb=function(a,b){var c;(c=!b)||(c=!(!Yh([].concat(ad(b.admins)).sort(),[].concat(ad(a.admins)).sort())||!Yh([].concat(ad(b.appenders)).sort(),[].concat(ad(a.appenders)).sort())||!Yh(b.implicitAccess,a.implicitAccess)));return!c},qHb=function(a,b){return b&&a?!Yh([].concat(ad(a.admins)).sort(),[].concat(ad(b.admins)).sort())||!Yh([].concat(ad(a.editors)).sort(),[].concat(ad(b.editors)).sort())||
!Yh([].concat(ad(a.appenders)).sort(),[].concat(ad(b.appenders)).sort())||!Yh([].concat(ad(a.readers)).sort(),[].concat(ad(b.readers)).sort())||!Yh([].concat(ad(a.restrictedReaders)).sort(),[].concat(ad(b.restrictedReaders)).sort())||!Yh([].concat(ad(a.restrictedPlusReaders)).sort(),[].concat(ad(b.restrictedPlusReaders)).sort()):!1},rHb=function(a,b){var c=Object.keys(a);c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!Hua(a[d],b[d]))return!0;return!1},sHb=function(a){if(a&1){var b=w();
H(0,"input",17);M("ngModelChange",function(c){x(b);var d=O(2);return z(d.rolesEditor.component.accessLimit.accessLevel=c)});I()}a&2&&(a=O(2),F("disabled",!a.rolesEditor.isAdmin)("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},tHb=function(a){if(a&1){var b=w();H(0,"input",18);M("ngModelChange",function(c){x(b);var d=O(2);return z(d.rolesEditor.component.accessLimit.accessLevel=c)});I()}a&2&&(a=O(2),F("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
uHb=function(a){if(a&1){var b=w();H(0,"input",19);M("ngModelChange",function(c){x(b);var d=O(2);return z(d.rolesEditor.component.accessLimit.accessLevel=c)});I()}a&2&&(a=O(2),F("disabled",!a.rolesEditor.isAdmin||!a.isParentPublic())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},vHb=function(a){a&1&&(H(0,"div",3)(1,"div",4)(2,"span",5),R(3,"Component visibility: "),I()(),H(4,"div",6)(5,"div",7),P(6,sHb,1,2,"input",8),H(7,"label",9),R(8),I()(),H(9,"div",7),P(10,tHb,1,2,"input",10),H(11,
"label",11),R(12),I()(),H(13,"div",12),P(14,uHb,1,2,"input",13),H(15,"label",14),R(16),I()()(),H(17,"p",15)(18,"a",16),R(19," Learn more "),I()()());a&2&&(a=O(),B(6),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),B(2),Mf(" ",Z9a(a.AccessLevelStrings.INTERNAL)," "),B(2),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),B(2),Mf(" ",Z9a(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),B(2),F("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),
B(2),Mf(" ",Z9a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),B(2),a=a.documentationLinks,a=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"http://go/buganizer-external-access",F("href",a,Sd))},AHb=function(a,b){if(a&1){var c=w();K(0);H(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);R(6);I();H(7,"button",5);J(8,"mat-icon",6);I()();H(9,"b-multi-user-input",7);M("usersChange",function(e){var g=x(c).$implicit,h=O();return z(h.updateRolesMap(g.roleType,e))})("isValid",
function(e){var g=x(c).$implicit,h=O();h.aclFormValidity.set(g.roleType,e);e=[].concat(ad(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return z()});I()()();H(10,"td");J(11,"b-icon",8);I();H(12,"td");J(13,"b-icon",8);I();H(14,"td");J(15,"b-icon",8);I();H(16,"td");J(17,"b-icon",8);I();H(18,"td");J(19,"b-icon",8);I();H(20,"td");J(21,"b-icon",8);I();H(22,"td");J(23,"b-icon",8);I();H(24,"td");J(25,"b-icon",8);I()();L()}if(a&2){a=b.$implicit;b=O();var d;B(3);yf("bv2-edit-resource-readonly",
b.canEdit);B(2);F("htmlFor",a.roleType);B(1);Nf(a.label);B(1);F("matTooltip",a.tooltip);B(2);F("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&void 0!==d?d:Rf(22,wHb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?Sf(26,xHb,Tf(23,yHb,a.chips.displayText,a.chips.values)):Rf(28,zHb));pf("disabled",
b.canEdit?null:!0);B(2);F("name",b.getIconName(a,"componentAdmin"));B(2);F("name",b.getIconName(a,"createIssues"));B(2);F("name",b.getIconName(a,"issueAdmin"));B(2);F("name",b.getIconName(a,"issueEditor"));B(2);F("name",b.getIconName(a,"issueCommenter"));B(2);F("name",b.getIconName(a,"issueReader"));B(2);F("name",b.getIconName(a,"restrictedReader"));B(2);F("name",b.getIconName(a,"restrictedPlusReader"))}},BHb=function(a){a&1&&(H(0,"div",2),J(1,"b-spinner"),I())},DHb=function(a){if(a&1){var b=w();
H(0,"div")(1,"div",3)(2,"mat-tab-group")(3,"mat-tab",4)(4,"roles-view",5);M("saveRolesMap",function(c){x(b);var d=O();CHb(d.rolesEditor,c);return z()});I()();H(5,"mat-tab",6);J(6,"permissions-view",7);I()()()()}a&2&&(a=O(),B(4),F("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),B(2),F("componentReaders",a.rolesEditor.componentReaders)("componentAccessPolicy",a.rolesEditor.componentFlattenedAccessPolicy)("issueAccessPolicy",
a.rolesEditor.issueDefaultFlattenedAccessPolicy)("accessLevel",null==a.rolesEditor.component?null:null==a.rolesEditor.component.accessLimit?null:a.rolesEditor.component.accessLimit.accessLevel))},FHb=function(a){if(a&1){var b=w();H(0,"b-button",14,15);M("onAction",function(){x(b);var c=O(3);return z(EHb(c))});R(2);I()}a&2&&(a=O(3),F("disabled",a.isSaving()),B(2),Mf(" ",a.archiveAction," Component "))},GHb=function(a){if(a&1){var b=w();H(0,"b-button",16);M("onAction",function(){x(b);var c=O(3);return z(c.createIssue())});
R(1," Create Issue ");I()}a&2&&(a=O(3),F("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},HHb=function(a){a&1&&(K(0),H(1,"a",11),R(2," Browse Components "),I(),P(3,FHb,3,2,"b-button",12),P(4,GHb,2,2,"b-button",13),L());a&2&&(a=O(2),B(1),F("routerLinkObj",a.componentListRoute(a.component.componentId)),B(2),F("ngIf",a.isAdmin()),B(1),F("ngIf",!a.isAnonymous))},IHb=function(a){a&1&&(H(0,"div",17),J(1,"b-spinner"),I())},JHb=function(a){a&1&&(H(0,"span",
38),R(1," (archived) "),I())},KHb=function(a){a&1&&Df(0)},LHb=function(a){a&1&&Df(0)},MHb=function(a){a&1&&Df(0)},NHb=function(a){a&1&&Df(0)},OHb=function(a){a&1&&Df(0)},QHb=function(a){if(a&1){var b=w();H(0,"div",78)(1,"div",48)(2,"label",79)(3,"span",45);R(4,"Parent Component");I()();H(5,"span",50)(6,"div",80)(7,"strong");R(8,"Careful!");I();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. ");
H(10,"div",52);J(11,"div",53)(12,"div",54);I()()()();H(13,"b-team-component-picker",81);M("selectedComponentChange",function(c){x(b);var d=O(4);return z(d.parentComponent=null!==c&&void 0!==c?c:null)});I()()}a&2&&(a=O(4),B(2),yf("required",a.isParentComponentRequired&&!PHb(a)),B(11),F("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!PHb(a)))},RHb=function(a){a&1&&(H(0,"a",82),R(1," Learn more "),I());a&2&&(O(4),F("href",Hvb(),Sd))},
SHb=function(a){if(a&1){var b=w();H(0,"div",83)(1,"label",84)(2,"span",45);R(3,"Retention Settings");I()();H(4,"div",85)(5,"p");R(6,"Please choose a period of time to retain the data stored in this component.");J(7,"br");H(8,"a",86);R(9," Learn more ");I()()();H(10,"div",87)(11,"b-retention-settings-form",88);M("modelChange",function(c){x(b);var d=O(4);return z(d.component.retentionSettings=c)})("validChange",function(c){x(b);O(4).retentionIsValid=c;return z()});I()()()}a&2&&(a=O(4),yf("bv2-edit-resource-readonly",
!a.isAdmin()),B(8),F("href",Xs(),Sd),B(3),F("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("initialModel",a.component.retentionSettings))},UHb=function(a){if(a&1){var b=w();H(0,"div",92)(1,"b-component-team-picker",93);M("modelChange",function(c){x(b);var d=O(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&THb(d);return z()});I()()}a&2&&(a=O(5),B(1),Jf("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),F("isAdmin",a.isAdmin())("isTopLevel",
!a.isParentComponentRequired)("parentModel",null==a.parentComponent?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},VHb=function(a){a&1&&(H(0,"div",89)(1,"label",90)(2,"span",45),R(3,"Team Configuration"),I()(),P(4,UHb,2,6,"div",91),I());a&2&&(a=O(4),yf("bv2-edit-resource-readonly",!a.isAdmin()),B(4),F("ngIf",a.component.team))},WHb=function(a){a&1&&(H(0,"a",106),R(1),I());if(a&2){a=O().ngIf;var b=O(5),c;F("routerLinkObj",b.getSloManagementLink(a.id));B(1);Mf(" ",null!==
(c=null==a.slo?null:a.slo.name)&&void 0!==c?c:a.id," ")}},XHb=function(a){a&1&&R(0," None ")},YHb=function(a,b){a&1&&(H(0,"div",103),R(1," Inherited SLO Policy: "),P(2,WHb,2,2,"a",104),P(3,XHb,1,0,"ng-template",null,105,hg),I());if(a&2){a=b.ngIf;var c=Lf(4);B(2);F("ngIf","0"!==a.id)("ngIfElse",c)}},ZHb=function(a){a&1&&(H(0,"a",111),R(1),S(2,"titlecase"),I());a&2&&(a=O().ngIf,F("routerLinkObj",a.link),B(1),Of(" (",T(2,3,a.type),") ",a.name," "))},$Hb=function(a){a&1&&R(0," None ")},aIb=function(a){a&
1&&(H(0,"div",113),J(1,"slo-inheritance-breadcrumbs",114),I());a&2&&(a=O().ngIf,B(1),F("componentPath",a.componentPath)("teamPath",a.teamPath))},bIb=function(a){a&1&&(K(0),P(1,aIb,2,2,"div",112),L());a&2&&(a=O(6),B(1),F("ngIf",a.showSloInheritancePath))},cIb=function(a,b){if(a&1){var c=w();H(0,"div",107);R(1," Policy Source: ");P(2,ZHb,3,5,"a",108);P(3,$Hb,1,0,"ng-template",null,109,hg);H(5,"button",110);M("click",function(){x(c);var e=O(5);return z(e.showSloInheritancePath=!e.showSloInheritancePath)});
R(6);I();P(7,bIb,2,1,"ng-container",7);S(8,"async");I()}if(a&2){a=b.ngIf;var d=Lf(4);b=O(5);B(2);F("ngIf",a.link)("ngIfElse",d);B(3);pf("aria-expanded",b.showSloInheritancePath);B(1);Mf(" ",b.showSloInheritancePath?"Hide":"Show"," full path ");B(1);F("ngIf",T(8,5,b.policySourcePath$))}},dIb=function(a){a&1&&(K(0),R(1,", "),H(2,"a",116),R(3,"Team Leads"),I(),L());a&2&&(a=O(7),B(2),F("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:"basic"}))},eIb=function(a){a&1&&(K(0),R(1," SLO Admins: "),
H(2,"a",116),R(3,"Component Admins"),I(),P(4,dIb,4,1,"ng-container",7),L());a&2&&(a=O(6),B(2),F("routerLinkObj",a.componentPermissions(a.componentId)),B(2),F("ngIf",a.component.team&&"0"!==a.component.team.id))},fIb=function(a){a&1&&(H(0,"div",115),P(1,eIb,5,2,"ng-container",7),I());a&2&&(a=O(5),B(1),F("ngIf",a.enableTeamLeadSloEditingUi))},gIb=function(a){a&1&&(K(0),J(1,"mat-icon",118),R(2," on "),L())},hIb=function(a){a&1&&(J(0,"mat-icon",119),R(1," off "))},iIb=function(a){a&1&&(K(0),R(1," Lock: "),
P(2,gIb,3,0,"ng-container",0),S(3,"async"),P(4,hIb,2,0,"ng-template",null,117,hg),L());if(a&2){var b=Lf(5);a=O(5);B(2);F("ngIf",T(3,2,a.sloLocked$))("ngIfElse",b)}},kIb=function(a){if(a&1){var b=w();H(0,"div",120)(1,"mat-checkbox",121);M("change",function(c){x(b);var d=O(5);c=c.checked;d.component.slo.inherit=!c;c||THb(d);return z()});H(2,"span");R(3,"Override the inherited SLO policy");I()()()}a&2&&(a=O(5),B(1),F("checked",!a.component.slo.inherit)("disabled",!jIb(a)))},lIb=function(a){if(a&1){var b=
w();H(0,"div",128)(1,"label",129);R(2," Justification ");I();J(3,"mat-icon",130);H(4,"textarea",131);M("ngModelChange",function(c){x(b);var d=O(6);return z(d.component.slo.comment=c)});I()()}a&2&&(a=O(6),B(4),F("ngModel",a.component.slo.comment)("disabled",!Ys(a)))},mIb=function(a){a&1&&(H(0,"a",132),J(1,"mat-icon",133),I());a&2&&(a=O(6),Jf("target",a.hasUnsavedChanges()?"_blank":"_self"),F("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},qIb=function(a){if(a&1){var b=w();K(0);P(1,lIb,
5,2,"div",122);H(2,"mat-slide-toggle",123);M("ngModelChange",function(c){x(b);var d=O(5);return z(d.isEnableSloChecked=c)})("change",function(c){x(b);var d=O(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return z()});R(3," Enable SLO ");I();H(4,"div",124)(5,"label",125);R(6,"SLO policy");I();H(7,"slo-picker",126);M("onSloSelect",function(c){x(b);var d=O(5);return z(d.onSloChange(c))});I();P(8,mIb,2,2,"a",127);I();L()}a&2&&(a=O(5),B(1),F("ngIf",nIb(a)),B(1),yf("indented",oIb(a)),
F("ngModel",a.isEnableSloChecked)("disabled",!pIb(a)),B(5),F("bv2Disabled",!a.isEnableSloChecked||!pIb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&pIb(a)?"Type to search for an SLO":"SLO disabled"),B(1),F("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},rIb=function(a){a&1&&(H(0,"div",94)(1,"div",48)(2,"label",95)(3,"span",45),R(4,"SLO Configuration"),I()(),H(5,"span",50)(6,"div",96)(7,"strong"),R(8,"Careful!"),I(),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. "),
H(10,"div",52),J(11,"div",53)(12,"div",54),I()()()(),H(13,"div",97),P(14,YHb,5,2,"div",98),S(15,"async"),P(16,cIb,9,7,"div",99),S(17,"async"),P(18,fIb,2,1,"div",100),H(19,"div",101),P(20,iIb,6,4,"ng-container",7),I()(),P(21,kIb,4,2,"div",102),P(22,qIb,9,9,"ng-container",7),I());if(a&2){a=O(4);yf("bv2-edit-resource-readonly",!Ys(a));B(14);F("ngIf",T(15,8,a.inheritedSlo$));B(2);F("ngIf",T(17,10,a.sloPolicySource$));B(2);F("ngIf",a.sessionIsInternal);B(2);F("ngIf",a.enableSloLockingUi);B(1);F("ngIf",
oIb(a));B(1);if(a.component&&a.component.slo){var b=!!a.component.team&&"0"!==a.component.team.id,c=!a.component.slo.inherit;a=0===a.component.parentComponentId&&!b||c}else a=!1;F("ngIf",a)}},sIb=function(a){if(a&1){var b=w();H(0,"recommendation-settings",134);M("hasUnsavedChanges",function(c){x(b);var d=O(4);return z(d.hasUnsavedRecommendationSettings=c)})("isSaving",function(c){x(b);var d=O(4);return z(d.savingRecommendationSettings=c)});I()}a&2&&(a=O(4),F("componentId",a.componentId))},tIb=function(a){if(a&
1){var b=w();H(0,"div",74)(1,"b-button",135);M("onAction",function(){x(b);var c=O(4);return z(c.saveMetadata())});R(2," Update ");I();H(3,"b-button",136);M("onAction",function(){x(b);var c=O(4);return z(c.revertMetadataChanges())});R(4," Revert Changes ");I();H(5,"b-button",136);M("onAction",function(){x(b);var c=O(4);return z(c.createChild())});R(6," Create Child Component ");I()()}a&2&&(a=O(4),B(1),F("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),B(2),F("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),
B(2),F("disabled",a.hasUnsavedMetadataChanges()))},uIb=function(a){if(a&1){var b=w();H(0,"b-button",137);M("onAction",function(){x(b);var c=O(4);return z(c.showUpdateHistoryModal())});R(1," View History ");I()}},vIb=function(a){a&1&&J(0,"b-spinner")},wIb=function(a){if(a&1){var b=w();H(0,"b-component-children-list",138);M("onVisit",function(){x(b);var c=O(4);return z(c.trackClick("openChildComponent"))});I()}a&2&&(a=O(4),F("children",a.childComponents))},xIb=function(a){a&1&&(H(0,"span"),R(1," No child components. "),
I())},yIb=function(a){if(a&1){var b=w();H(0,"div",39)(1,"form",40,41);J(3,"b-error-banner",42);H(4,"div",43)(5,"label",44)(6,"span",45);R(7,"Name");I()();H(8,"input",46);M("ngModelChange",function(c){x(b);var d=O(3);return z(d.component.name=c)});I()();H(9,"div",47)(10,"div",48)(11,"label",49)(12,"span",45);R(13,"Description");I()();H(14,"span",50)(15,"div",51);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. ");
H(17,"div",52);J(18,"div",53)(19,"div",54);I()()()();H(20,"textarea",55);M("ngModelChange",function(c){x(b);var d=O(3);return z(d.component.description=c)});R(21,"            ");I()();P(22,QHb,14,5,"div",56);H(23,"div",57)(24,"div",58)(25,"mat-checkbox",59);M("change",function(c){x(b);var d=O(3);return z(d.setCommentEditState(c.checked))});I()();H(26,"div")(27,"strong",60);R(28,"Editable Comments");I();H(29,"div",61);R(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
J(31,"br");P(32,RHb,2,1,"a",62);I()()();P(33,SHb,12,6,"div",63);P(34,VHb,5,3,"div",64);P(35,rIb,23,12,"div",65);H(36,"div",66)(37,"div",48)(38,"label",67)(39,"span",45);R(40,"Component Alias");I()();H(41,"span",50)(42,"div",68);R(43," You can create a new issue in this component by sending an email to this alias. ");J(44,"br");H(45,"a",69);R(46," Learn more ");I();H(47,"div",52);J(48,"div",53)(49,"div",54);I()()()();H(50,"div")(51,"a",70);R(52);I()()();P(53,sIb,1,1,"recommendation-settings",71);H(54,
"div",72);P(55,tIb,7,3,"div",73);H(56,"div",74);P(57,uIb,2,0,"b-button",75);I()();H(58,"div",76)(59,"label")(60,"span",45);R(61,"Child Components");I()();P(62,vIb,1,0,"b-spinner",7);P(63,wIb,1,1,"b-component-children-list",77);P(64,xIb,2,0,"span",7);I()()()}a&2&&(a=O(3),B(1),yf("show-errors",a.error),B(2),F("error",a.error),B(1),yf("bv2-edit-resource-readonly",Zs(a)),B(4),F("ngModel",a.component.name)("disabled",Zs(a)),B(1),yf("bv2-edit-resource-readonly",Zs(a)),B(11),F("ngModel",a.component.description)("disabled",
Zs(a)),B(2),F("ngIf",a.isAdmin()),B(1),yf("bv2-edit-resource-readonly",a.isAccessEditDisabled()),B(2),F("checked",a.commentEditsEnabled)("disabled",Zs(a)),B(7),F("ngIf",!a.sessionIsExternal),B(1),F("ngIf",!a.sessionIsExternal),B(1),F("ngIf",a.sessionIsInternal),B(1),F("ngIf",a.component.slo&&a.sessionIsInternal),B(10),F("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",Sd),B(6),If("href","mailto:",a.component.emailAlias,"",Sd),pf("aria-label","Component Alias -"+a.component.emailAlias),
B(1),Nf(a.component.emailAlias),B(1),F("ngIf",a.enableRecommendationSettingsPage&&a.sessionIsInternal),B(2),F("ngIf",a.isEditorInternal||Ys(a)),B(2),F("ngIf",a.componentHistoryUiEnabled),B(5),F("ngIf",void 0===a.childComponents),B(1),F("ngIf",a.childComponents&&0<a.childComponents.length),B(1),F("ngIf",a.childComponents&&0===a.childComponents.length))},zIb=function(a){a&1&&(H(0,"div",143),R(1," Standard Fields "),I())},BIb=function(a){if(a&1){var b=w();H(0,"b-component-standard-fields",144);M("updateComponent",
function(c){x(b);var d=O(4);return z(AIb(d,c))});I()}a&2&&(a=O(4),F("effortSpec",a.component.effortSpec)("parentEffortSpec",null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},CIb=function(a){a&1&&(H(0,"div",145),R(1," Custom Fields "),I())},DIb=function(a){a&1&&(P(0,zIb,2,0,"div",139),P(1,BIb,1,3,"b-component-standard-fields",140),P(2,CIb,2,0,"div",141),J(3,"b-component-custom-fields",142));a&2&&(a=O(3),F("ngIf",a.sessionIsInternal&&!a.isExternal()),B(1),
F("ngIf",a.sessionIsInternal&&!a.isExternal()),B(1),F("ngIf",a.sessionIsInternal&&!a.isExternal()),B(1),F("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},FIb=function(a){a&1&&(H(0,"a",149),R(1," Learn more "),I());a&2&&(O(4),F("href",EIb(),Sd))},HIb=function(a){if(a&1){var b=w();H(0,"div",39)(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. ");
P(3,FIb,2,1,"a",147);I();H(4,"b-field-reorder",148);M("onReload",function(){x(b);var c=O(3);return z(GIb(c))});I()()}a&2&&(a=O(3),B(3),F("ngIf",a.sessionIsInternal),B(1),F("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},IIb=function(a){a&1&&J(0,"b-edit-templates",151);a&2&&(a=O(4),F("componentId",a.componentId)("supportCustomFields",!0))},JIb=function(a){a&1&&(H(0,"div"),R(1),I());a&2&&(a=O().$implicit,B(1),Nf(a.description))},
KIb=function(a,b){a&1&&(H(0,"div",153)(1,"label"),R(2),I(),P(3,JIb,2,1,"div",7),H(4,"div")(5,"a",70),R(6),I()()());a&2&&(a=b.$implicit,B(2),Nf(a.name),B(1),F("ngIf",a.description),B(2),F("href",a.url,Sd),pf("aria-label","Click to open the template "+a.name),B(1),Nf(a.url))},LIb=function(a){a&1&&(K(0),P(1,KIb,7,5,"div",152),L());a&2&&(a=O(4),B(1),F("ngForOf",a.templates))},MIb=function(a){a&1&&(H(0,"div",39),P(1,IIb,1,2,"b-edit-templates",150),P(2,LIb,2,1,"ng-container",7),I());a&2&&(a=O(3),B(1),F("ngIf",
a.isEditorInternal),B(1),F("ngIf",!a.isEditorInternal))},NIb=function(a){a&1&&J(0,"role-based-permissions")},OIb=function(a){if(a&1){var b=w();H(0,"div")(1,"div",18)(2,"h2");R(3);I();P(4,JHb,2,0,"span",19);H(5,"a",20);M("click",function(){x(b);var m=O(2);return z(m.trackClick("recentIssues"))});R(6," (Recent Issues)");I();J(7,"b-access-level-indicator",21)(8,"b-tracker-chip-smart",22);I();H(9,"div",23);J(10,"b-component-breadcrumb",24)(11,"div",25);I();H(12,"mat-tab-group",26);M("selectedIndexChange",
function(m){x(b);var r=O(2);return z(r.tabChange(m))});H(13,"mat-tab",27);P(14,KHb,1,0,"ng-container",28);I();H(15,"mat-tab",29);P(16,LHb,1,0,"ng-container",28);I();H(17,"mat-tab",30);P(18,MHb,1,0,"ng-container",28);I();H(19,"mat-tab",31);P(20,NHb,1,0,"ng-container",28);I();H(21,"mat-tab",32);P(22,OHb,1,0,"ng-container",28);I()();P(23,yIb,65,30,"ng-template",null,33,hg);P(25,DIb,4,7,"ng-template",null,34,hg);P(27,HIb,5,5,"ng-template",null,35,hg);P(29,MIb,3,2,"ng-template",null,36,hg);P(31,NIb,1,
0,"ng-template",null,37,hg);I()}if(a&2){var c=Lf(24),d=Lf(26),e=Lf(28),g=Lf(30),h=Lf(32);a=O(2);B(3);Of(" Component ",a.component.componentId,": ",a.currentName," ");B(1);F("ngIf",a.isArchived());B(1);F("routerLinkObj",a.getRecentIssuesLink());B(2);F("accessLevel",a.getComponentAccessLevel());B(1);F("trackerId",a.component.trackerId);B(2);F("componentPathInfo",a.component.componentPathInfo)("isArchived",a.isArchived())("label","Parent Component");B(2);F("selectedIndex",a.selectedTabIndex);B(1);F("id",
a.Tab.BASIC);B(1);F("ngTemplateOutlet",c);B(1);F("id",a.Tab.CUSTOM_FIELDS)("label",a.sessionIsInternal&&!a.isExternal()?"Fields":"Custom Fields");B(1);F("ngTemplateOutlet",d);B(1);F("id",a.Tab.FIELD_ORDERING);B(1);F("ngTemplateOutlet",e);B(1);F("id",a.Tab.TEMPLATES);B(1);F("ngTemplateOutlet",g);B(1);F("id",a.Tab.ACCESS);B(1);F("ngTemplateOutlet",h)}},PIb=function(a){a&1&&(H(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."),
J(3,"br"),H(4,"a",159),R(5," Learn more "),I()(),H(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 "),J(8,"br"),R(9," so they can be scheduled for deletion. "),H(10,"a",160),R(11," Learn more "),I()()());a&2&&(O(3),B(4),F("href","http://go/archived-components",Sd),B(6),F("href",Xs(),Sd))},QIb=function(a){a&1&&(H(0,"span"),R(1," : "),H(2,"b"),R(3),I()());if(a&2){a=O().$implicit;var b=O(3);yf("b-archive-warning-indef",
!a.retentionSettings.retentionPeriodDays);B(3);Nf(b.getRetentionPeriod(a))}},RIb=function(a,b){a&1&&(H(0,"span")(1,"span"),R(2),I(),P(3,QIb,4,3,"span",161),J(4,"br"),I());a&2&&(a=b.$implicit,b=O(3),B(2),Nf(a.componentPath),B(1),F("ngIf","Archive"===b.archiveAction))},SIb=function(a){if(a&1){var b=w();H(0,"h2",154);R(1);I();H(2,"mat-dialog-content");P(3,PIb,12,2,"span",7);H(4,"p");R(5," The following components will be affected: ");I();H(6,"div",155);P(7,RIb,5,2,"span",156);I()();H(8,"mat-dialog-actions")(9,
"button",157);M("click",function(){x(b);var c=O(2);c.archive();c.isArchiving=!1;return z()});R(10," Yes ");I();H(11,"button",158);M("click",function(){x(b);O(2).isArchiving=!1;return z()});R(12," No ");I()()}a&2&&(a=O(2),B(1),Nf(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'" and its subcomponents?':""),B(2),F("ngIf","Archive"===a.archiveAction),B(4),F("ngForOf",a.descendants))},TIb=function(a){if(a&1){var b=w();K(0);H(1,"div",2)(2,"div",
3)(3,"div",4)(4,"b-button",5);M("onAction",function(){x(b);var c=O();return z(c.back())});J(5,"b-icon",6);I();P(6,HHb,5,3,"ng-container",7);I()()();H(7,"div",8);P(8,IHb,2,0,"div",9);P(9,OIb,33,21,"div",7);I();P(10,SIb,13,3,"ng-template",null,10,hg);L()}a&2&&(a=O(),B(6),F("ngIf",a.component),B(2),F("ngIf",a.isLoading),B(1),F("ngIf",!a.isLoading&&a.component&&a.component.componentId))},UIb=function(a){a&1&&(H(0,"div",162),J(1,"b-tracker-redirect",163),I());a&2&&(a=O(),B(1),F("component",a.component))},
VIb=function(a){var b=null;if("TEAM"===a.containerType)var c=a.content.sourceTeamId;else c=a.content.sourceTeamId,b=a.content.sourceComponentId;return{sourceTeamId:c,sourceComponentId:b}},WIb=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:null==c?void 0:c.slice(d)}},XIb=function(a,b,c,d){(null==c?0:c.inherit)||"0"!==(null==c?void 0:c.id)||!d||(a=d);if(!a)return null;
c=a.pathNames;a=a.pathIds;d=[];for(var e=a.findIndex(function(g){return g===b});e<a.length;e++)d.push({id:a[e],name:c[e]});return d},YIb=function(a,b){a&1&&(H(0,"div",39),J(1,"b-team-breadcrumb",40),I());a&2&&(a=b.ngIf,B(1),F("teamPath",a))},ZIb=function(a,b){a&1&&(K(0),R(1),L());a&2&&(a=b.ngIf,B(1),Nf(a.trim()))},$Ib=function(a){a&1&&R(0," No description ")},aJb=function(a,b){a&1&&(K(0),J(1,"b-multi-user-input",41),L());a&2&&(a=b.ngIf,B(1),F("users",a),pf("disabled",!0))},bJb=function(a){a&1&&(K(0),
H(1,"p"),R(2,"No child teams"),I(),L())},cJb=function(a,b){a&1&&(K(0),J(1,"br"),H(2,"a",44),R(3),I(),L());a&2&&(a=b.$implicit,B(2),If("routerLink","/teams/",a.id,"/edit"),B(1),Nf(a.name))},dJb=function(a){a&1&&P(0,cJb,4,2,"ng-container",43);a&2&&(a=O().ngIf,F("ngForOf",a))},eJb=function(a,b){a&1&&(K(0),P(1,bJb,3,0,"ng-container",18),P(2,dJb,1,1,"ng-template",null,42,hg),L());if(a&2){a=b.ngIf;var c=Lf(3);B(1);F("ngIf",0===a.length)("ngIfElse",c)}},fJb=function(a){a&1&&(H(0,"a",48),R(1),I());if(a&2){a=
O().ngIf;var b;F("routerLinkObj",a.link);B(1);Mf(" ",null!==(b=null==a.slo?null:a.slo.name)&&void 0!==b?b:a.id," ")}},gJb=function(a){a&1&&R(0," None ")},hJb=function(a,b){a&1&&(H(0,"div",45),R(1," Inherited SLO Policy: "),P(2,fJb,2,2,"a",46),P(3,gJb,1,0,"ng-template",null,47,hg),I());if(a&2){a=b.ngIf;var c=Lf(4);B(2);F("ngIf",a.link)("ngIfElse",c)}},iJb=function(a,b){a&1&&(H(0,"a",49),R(1),I());a&2&&(a=b.ngIf,F("routerLinkObj",a.link),B(1),Mf(" ",a.name," "))},jJb=function(a){a&1&&R(0," None ")},
kJb=function(a){a&1&&(K(0),J(1,"mat-icon",51),R(2," on "),L())},lJb=function(a){a&1&&(J(0,"mat-icon",52),R(1," off "))},mJb=function(a){a&1&&(K(0),R(1," Lock: "),P(2,kJb,3,0,"ng-container",18),P(3,lJb,2,0,"ng-template",null,50,hg),L());if(a&2){var b=Lf(4);a=O(2);B(2);F("ngIf",a.originalSloLock)("ngIfElse",b)}},nJb=function(a){if(a&1){var b=w();H(0,"div",54)(1,"mat-checkbox",55);M("change",function(c){x(b);var d=O(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);
return z()});H(2,"span");R(3,"Override the inherited SLO");I()()()}a&2&&(a=O(3),B(1),F("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},oJb=function(a){if(a&1){var b=w();H(0,"div",60)(1,"label",61);R(2," Justification to override the org SLO ");I();J(3,"mat-icon",62);H(4,"textarea",63);M("ngModelChange",function(c){x(b);var d=O(4);return z(d.sloJustification$.next(c))});S(5,"async");I()()}a&2&&(a=O(4),B(3),F("matTooltip",a.justificationRequiredText),pf("aria-label",a.justificationRequiredText),
B(1),F("ngModel",T(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},pJb=function(a,b){a&1&&(H(0,"a",64),S(1,"async"),J(2,"mat-icon",9),I());a&2&&(a=b.ngIf,b=O(4),Jf("target",T(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),F("routerLinkObj",a))},qJb=function(a){if(a&1){var b=w();K(0);P(1,oJb,6,6,"div",56);H(2,"div",14)(3,"mat-slide-toggle",57);M("ngModelChange",function(d){x(b);var e=O(3);return z(e.enableSloChecked=d)})("change",function(d){x(b);var e=O(3);return z(e.enableSloChecked=d.checked)});
R(4," Enable SLO ");I();H(5,"slo-picker",58);M("onSloSelect",function(d){x(b);var e=O(3);return z(e.onSloChange(d))});I();P(6,pJb,3,4,"a",59);S(7,"async");I();L()}if(a&2){a=O().ngIf;var c=O(2);B(1);F("ngIf",!a.value);B(2);yf("indented",!a.value);F("ngModel",c.enableSloChecked)("disabled",!c.hasEditAccess);B(2);F("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");B(1);F("ngIf",
T(7,9,c.sloPickerLink$))}},rJb=function(a,b){a&1&&(K(0),P(1,nJb,4,2,"div",53),P(2,qJb,8,11,"ng-container",6),L());a&2&&(a=b.ngIf,b=O(2),B(1),F("ngIf",!a.value),B(1),F("ngIf",!b.isSloInheritEnabled))},sJb=function(a){if(a&1){var b=w();H(0,"div",14)(1,"mat-checkbox",65);M("change",function(c){x(b);var d=O(2);return z(d.sloLocked=c.checked)});H(2,"span");R(3,"Lock for all child teams");I()()()}a&2&&(a=O(2),B(1),F("checked",a.sloLocked)("disabled",!a.canEditSloLock))},vJb=function(a){if(a&1){var b=w();
H(0,"div",14)(1,"div",20)(2,"label",21)(3,"span",16);R(4," SLO lead ");I()();H(5,"span",22)(6,"div",23);R(7," Single team lead receiving SLO reports of unassigned issues. ");H(8,"div",24);J(9,"div",25)(10,"div",26);I()()()();H(11,"div");K(12);H(13,"b-multi-user-input",66);M("usersChange",function(c){x(b);var d=O(2);1<c.length||(d.sloLead=1===c.length?c[0]:"");return z()})("isValid",function(c){x(b);var d=O(2);return z(d.isSloLeadValid=c)});I();L();I()()}a&2&&(a=O(2),B(13),F("users",a.sloLead?Sf(5,
tJb,a.sloLead):Rf(7,uJb))("customValidators",a.sloLeadUserValidators)("detailedUserValidators",a.sloLeadGooglerValidators)("maxUserAllowed",1),pf("disabled",a.hasEditAccess?null:!0))},yJb=function(a){if(a&1){var b=w();H(0,"div",67)(1,"div",68)(2,"button",69);M("click",function(){x(b);var c=O().ngIf,d=O();return z(wJb(d,c))});S(3,"async");R(4," Update ");I();H(5,"button",70);M("click",function(){x(b);var c=O(2);return z(xJb(c))});S(6,"async");R(7," Revert changes ");I()()()}a&2&&(a=O(2),B(2),F("disabled",
!T(3,2,a.hasUnsavedChanges$)),B(3),F("disabled",!T(6,4,a.hasUnsavedChanges$)))},zJb=function(a){a&1&&(K(0),H(1,"p"),R(2,"No mapped components"),I(),L())},AJb=function(a,b){a&1&&(H(0,"ul")(1,"li")(2,"a",44),R(3),I()()());a&2&&(a=b.$implicit,B(2),If("routerLink","/components/",a.componentId,"/manage"),B(1),Mf(" ",a.name," "))},BJb=function(a){a&1&&(P(0,AJb,4,2,"ul",43),S(1,"async"));a&2&&(a=O(3),F("ngForOf",T(1,1,a.associatedComponents$)))},CJb=function(a,b){a&1&&(K(0),P(1,zJb,3,0,"ng-container",18),
P(2,BJb,2,3,"ng-template",null,71,hg),L());if(a&2){a=b.ngIf;var c=Lf(3);B(1);F("ngIf",0===a.length)("ngIfElse",c)}},EJb=function(a,b){if(a&1){var c=w();K(0);H(1,"div",7)(2,"h2");R(3);H(4,"a",8);R(5);J(6,"mat-icon",9);I()()();P(7,YIb,2,1,"div",10);S(8,"async");H(9,"mat-tab-group",11);M("selectedIndexChange",function(g){x(c);var h=O();return z(h.selectedTabIndex=g)})("selectedIndexChange",function(g){x(c);var h=O();return z(h.tabChange(g))});H(10,"mat-tab",12)(11,"div",13);R(12," Team information on this page comes from ");
H(13,"a",8);R(14," Team Graph ");J(15,"mat-icon",9);I();R(16," and is view only. ");H(17,"div",14)(18,"div",15)(19,"label")(20,"span",16);R(21,"Description");I()();H(22,"div",17);P(23,ZIb,2,1,"ng-container",18);P(24,$Ib,1,0,"ng-template",null,19,hg);I()()();H(26,"div",14)(27,"div",20)(28,"label",21)(29,"span",16);R(30," Team admins ");I();H(31,"span",22)(32,"div",23);R(33," Team admins are team leads from Team Graph. ");H(34,"div",24);J(35,"div",25)(36,"div",26);I()()()();P(37,aJb,2,2,"ng-container",
6);S(38,"async");I()();H(39,"div",14)(40,"div",15)(41,"label")(42,"span",16);R(43,"Child team(s)");I()();P(44,eJb,4,2,"ng-container",6);S(45,"async");I()()()();H(46,"mat-tab",27)(47,"div",13)(48,"div",20)(49,"label",21)(50,"span",16);R(51,"SLO configuration");I()();H(52,"span",22)(53,"div",28)(54,"strong");R(55,"Careful!");I();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. ");H(57,"div",
24);J(58,"div",25)(59,"div",26);I()()()();H(60,"div",29);P(61,hJb,5,2,"div",30);S(62,"async");H(63,"div",31);R(64," Policy Source: ");P(65,iJb,2,2,"a",32);S(66,"async");P(67,jJb,1,0,"ng-template",null,33,hg);I();H(69,"div",34);P(70,mJb,5,2,"ng-container",6);I()();J(71,"b-error-banner",35);P(72,rJb,3,2,"ng-container",6);S(73,"async");P(74,sJb,4,2,"div",36);P(75,vJb,14,8,"div",36);P(76,yJb,8,6,"div",37);I()();H(77,"mat-tab",38)(78,"div",13)(79,"div",14)(80,"div",15)(81,"label")(82,"span",16);R(83," Component(s) that have mapped to this team ");
I()()();P(84,CJb,4,2,"ng-container",6);S(85,"async");I()()()();L()}if(a&2){a=b.ngIf;var d=Lf(25),e=Lf(68);b=O();B(3);Mf(" Team ",a.teamId,": ");B(1);If("href","https://moma.corp.google.com/team/",a.teamId,"",Sd);B(1);Mf(" ",a.name," ");B(2);F("ngIf",T(8,23,b.teamPath$));B(2);F("selectedIndex",b.selectedTabIndex);B(1);F("id",b.Tab.BASIC);B(3);If("href","https://moma.corp.google.com/team/",a.teamId,"",Sd);B(10);F("ngIf",a.description)("ngIfElse",d);B(14);F("ngIf",T(38,25,b.adminsAndLeads$));B(7);F("ngIf",
T(45,27,b.childTeams$));B(2);F("id",b.Tab.SLO);B(15);F("ngIf",T(62,29,b.inheritedSlo$));B(4);F("ngIf",T(66,31,b.sloPolicySource$))("ngIfElse",e);B(5);F("ngIf",b.enableSloLockingUi);B(1);F("error",b.error);B(1);F("ngIf",Sf(37,DJb,T(73,33,b.isRootTeam$)));B(2);F("ngIf",b.enableSloLockingUi);B(1);F("ngIf",b.enableSloLead);B(1);F("ngIf",b.hasEditAccess);B(1);F("id",b.Tab.MAPPINGS);B(7);F("ngIf",T(85,35,b.associatedComponents$))}},FJb=function(a,b){a&1&&(H(0,"div",14),J(1,"mat-checkbox",15),H(2,"div")(3,
"label",16),R(4),I(),H(5,"label",17),R(6),I()()());if(a&2){a=b.ngIf;b=O().$implicit;var c=O().ngIf;B(1);F("id","select-signal-checkbox-"+b)("aria-labelledby","checkbox-label-"+b)("value",b)("checked",c.includes(b));B(2);If("id","checkbox-label-",b,"")("for","select-signal-checkbox-",b,"-input");B(1);Mf(" ",a.header," ");B(1);If("for","select-signal-checkbox-",b,"-input");B(1);Mf(" ",a.body," ")}},HJb=function(a,b){a&1&&(K(0),P(1,FJb,7,9,"div",13),L());a&2&&(a=b.$implicit,O(3),B(1),F("ngIf",GJb.has(a)?
GJb.get(a):null))},IJb=function(a){a&1&&(H(0,"div",11),P(1,HJb,2,1,"ng-container",12),I());a&2&&(a=O(2),B(1),F("ngForOf",a.ALL_SIGNAL_TYPES))},JJb=function(a){if(a&1){var b=w();H(0,"div",4)(1,"p",5);R(2," Select alerts ");H(3,"button",6);M("click",function(){x(b);var c=O();c=k(c.checkboxes);for(var d=c.next();!d.done;d=c.next())d=d.value,d.checked||d.toggle();return z()});R(4," Select all ");I()();P(5,IJb,2,1,"div",7);S(6,"async");J(7,"mat-divider");H(8,"div",8)(9,"button",9);M("click",function(){x(b);
var c=O();return z(c.closeMenu())});R(10,"Cancel");I();H(11,"button",10);M("click",function(){x(b);var c=O();return z(c.emitSelection())});R(12,"Apply");I()()()}a&2&&(a=O(),B(5),F("ngIf",T(6,1,a.selectedSignals$)))},KJb=function(a){a&1&&(K(0),R(1),L());a&2&&(a=O(3),B(1),Mf("(",a.count,")"))},LJb=function(a){a&1&&(K(0),R(1),P(2,KJb,2,1,"ng-container",3),L());if(a&2){a=O().ngIf;var b=O();B(1);Mf(" ",a.text," ");B(1);F("ngIf",-1<b.count)}},MJb=function(a){if(a&1){var b=w();H(0,"button",5);M("click",
function(){x(b);var c=O(2);return z(c.onClickRemove())});H(1,"span",6);R(2);I();J(3,"mat-icon",7);I()}a&2&&(a=O().ngIf,B(2),Mf("remove filter ",a.text,""))},NJb=function(a,b){a&1&&(H(0,"span",1),S(1,"async"),J(2,"mat-icon",2),P(3,LJb,3,2,"ng-container",3),P(4,MJb,4,1,"button",4),I());a&2&&(a=b.ngIf,b=O(),Bf("chippy rounded ",a.className," margin-xs-right"),yf("full-chip",!b.iconOnly)("selected",b.isSelected),F("matTooltip",T(1,12,b.getSignalTypeTooltip()))("matTooltipShowDelay",b.matTooltipShowDelay),
B(2),F("svgIcon",a.icon),B(1),F("ngIf",!b.iconOnly),B(1),F("ngIf",b.removable))},OJb=function(a){a&1&&(H(0,"span",19),R(1,"No filters selected"),I())},QJb=function(a,b){if(a&1){var c=w();K(0);H(1,"b-signal-chip",20);M("onRemove",function(){var d=x(c).$implicit,e=O(2);return z(e.toggleSignal(d))});I();L()}a&2&&(a=b.$implicit,B(1),F("removable",!0)("generalDescriptionOnly",!0)("iconOnly",!1)("isSelected",!0)("matTooltipShowDelay",750)("signal",Sf(6,PJb,a)))},TJb=function(a){if(a&1){var b=w();H(0,"div",
8)(1,"div",9)(2,"button",10);M("click",function(){x(b);var d=O();return z(d.fetchIssues())})("onHotkey",function(){x(b);var d=O();return z(d.fetchIssues())});J(3,"mat-icon",11);I();H(4,"p",12);R(5," Applied alerts ");I();H(6,"a",13);J(7,"mat-icon",14);I()();H(8,"section",15)(9,"select-signals-menu",16);M("selected",function(d){x(b);var e=O();return z(RJb(e,d))});I();P(10,OJb,2,0,"span",17);S(11,"async");P(12,QJb,2,8,"ng-container",18);S(13,"async");I()()}if(a&2){a=O();var c;B(2);F("hotkey",a.HOTKEYS.REFRESH_ISSUE_LIST);
B(7);F("selectedSignals$",a.selectedSignals$);B(1);F("ngIf",0===(null!==(c=T(11,4,a.selectedSignals$))&&void 0!==c?c:Rf(8,SJb)).length);B(2);F("ngForOf",T(13,6,a.selectedSignals$))}},VJb=function(a){if(a&1){var b=w();H(0,"div")(1,"button",21);M("click",function(){x(b);var c=O();return z(UJb(c))});R(2," Dismiss selected ");I()()}a&2&&(a=O(),B(1),F("disabled",a.dismissSelectedInProgress))},WJb=function(a){a&1&&(H(0,"div",22),J(1,"b-spinner"),H(2,"span"),R(3," Searching for issues needing attention..."),
I()())},XJb=function(a){a&1&&(H(0,"p",28),R(1," No alerts are selected. Select alerts via the filter icon above. "),I())},YJb=function(a){a&1&&(H(0,"p",28),R(1,"No issues matching the current filters."),I())},ZJb=function(a){a&1&&(H(0,"div",23),J(1,"img",24),H(2,"p",25),R(3,"So empty"),I(),P(4,XJb,2,0,"p",26),S(5,"async"),P(6,YJb,2,0,"ng-template",null,27,hg),I());if(a&2){var b=Lf(7);a=O();var c;B(1);F("src",a.SPACE_EMPTY_STATE,Sd);B(3);F("ngIf",0===(null!==(c=T(5,3,a.selectedSignals$))&&void 0!==
c?c:Rf(5,SJb)).length)("ngIfElse",b)}},$Jb=function(a,b){a&1&&(H(0,"th",44)(1,"span",0),R(2),I()());a&2&&(a=b.column,pf("data-stable-column-name",a.name),B(2),Mf("column-",a.name,""))},bKb=function(a,b){if(a&1){var c=w();H(0,"th",45);K(1);H(2,"mat-pseudo-checkbox",46);M("click",function(d){x(c);var e=O(2);d.stopPropagation();return z(e.toggleAllIssueSelection())})("keydown.enter",function(d){x(c);var e=O(2);d.stopPropagation();return z(e.toggleAllIssueSelection())})("keydown.space",function(d){x(c);
var e=O(2);d.stopPropagation();return z(e.toggleAllIssueSelection())});I();L();I()}a&2&&(a=b.column,b=O(2),pf("data-stable-column-name",a.name),B(2),F("state",b.getHeaderCheckboxState()),pf("aria-checked",aKb(b)))},cKb=function(a,b){a&1&&(H(0,"th"),K(1),J(2,"pop-grid-default-th",47),L(),I());a&2&&(a=b.column,pf("data-stable-column-name",a.name),B(2),F("column",a))},dKb=function(a){a&1&&J(0,"td",44)},eKb=function(a,b){if(a&1){var c=w();H(0,"td",45);K(1);H(2,"mat-pseudo-checkbox",48);M("click",function(d){var e=
x(c),g=e.index;e=e.row;var h=O(2);d.stopPropagation();return z(h.onCheckboxClicked(d,g,e))});I();L();I()}a&2&&(a=b.row,B(2),F("state",a.selected?"checked":"unchecked"),pf("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},fKb=function(a,b){if(a&1){var c=w();H(0,"td",49);K(1);H(2,"b-star-toggle",50);M("starClicked",function(){var d=x(c).row,e=O(2);return z(e.toggleStar(d))});I();L();I()}a&2&&(a=b.row,b=O(2),B(2),F("starred",a.starred)("disabled",b.starInProgress[a.issueId])("starMessage",
"Star this issue")("unStarMessage","Un-star this issue"))},hKb=function(a,b){if(a&1){var c=w();H(0,"td",51);K(1);H(2,"a",52);M("click",function(){var d=x(c).row,e=O(2);return z(gKb(e,d.issueId))});R(3);I();L();I()}a&2&&(a=b.row,b=O(2),B(2),F("href",b.paths.editIssue(a.issueId),Sd),pf("title",a.title),B(1),Mf(" ",a.issueId," "))},iKb=function(a,b){a&1&&(K(0),J(1,"b-signal-chip",54),L());a&2&&(a=b.$implicit,b=O(3),B(1),F("signal",a)("iconOnly",!0)("isSelected",b.selectedSignals$.value.includes(a.signalType)))},
jKb=function(a,b){a&1&&(H(0,"td",53),P(1,iKb,2,3,"ng-container",18),I());a&2&&(a=b.row,B(1),F("ngForOf",a.signals))},kKb=function(a,b){if(a&1){var c=w();H(0,"td");K(1);H(2,"button",21);M("click",function(){var d=x(c).row,e=O(2);return z(e.dismissIssue(d))});R(3," Dismiss ");I();L();I()}a&2&&(a=b.row,b=O(2),B(2),F("disabled",b.dismissInProgress[a.issueId]))},lKb=function(a){a&1&&J(0,"archived-issue-indicator")},mKb=function(a,b){a&1&&J(0,"b-hotlist-chip-smart",64);a&2&&F("id",b.$implicit)("removable",
!1)},nKb=function(a){a&1&&(H(0,"div",62),P(1,mKb,1,2,"b-hotlist-chip-smart",63),I());a&2&&(a=O().row,B(1),F("ngForOf",a.hotlistId))},oKb=function(a,b){if(a&1){var c=w();H(0,"td",55);S(1,"async");K(2);H(3,"div",56);S(4,"async");P(5,lKb,1,0,"archived-issue-indicator",3);J(6,"b-access-level-indicator",57)(7,"b-retention-chip",58);H(8,"div",59)(9,"a",60);M("click",function(){var h=x(c).row,m=O(2);return z(gKb(m,h.issueId))});R(10);I()();P(11,nKb,2,1,"div",61);S(12,"async");I();L();I()}if(a&2){a=b.row;
b=O(2);var d,e,g;yf("bv2-grid-cell-variable-height",null==(d=T(1,15,b.listViewPrefs$))?null:d.wrapTitles);B(3);yf("bv2-grid-cell-flex-wrap",null==(e=T(4,17,b.listViewPrefs$))?null:e.wrapTitles);B(2);F("ngIf",a.archived);B(1);F("accessLevel",a.accessLevel)("compactMode",!0);B(1);F("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);B(2);F("href",b.paths.editIssue(a.issueId),Sd);pf("title",a.title);B(1);Mf(" ",a.title," ");B(1);F("ngIf",null==
(g=T(12,19,b.listViewPrefs$))?null:g.showHotlists)}},pKb=function(a,b){a&1&&(H(0,"td",65),K(1),H(2,"div",66),R(3),I(),L(),I());a&2&&(a=b.row,b=O(2),B(2),yf("low",b.isLowPriority(a))("high",b.isHighPriority(a))("p0",b.isP0Priority(a)),B(1),Mf(" P",a.priority," "))},qKb=function(a){a&1&&J(0,"mat-icon",72);if(a&2){a=O().$implicit;var b=O(4);F("svgIcon",b.ISSUE_STATUS_JS_ICON_NAME[a])}},rKb=function(a){a&1&&(K(0),R(1),L());if(a&2){a=O().$implicit;var b=O(4);B(1);Nf(b.STATUS_JS_TERSE[a])}},sKb=function(a){a&
1&&(H(0,"span"),R(1),I());if(a&2){a=O().$implicit;var b=O(4);Bf("chippy status-",a,"");B(1);Mf(" ",b.STATUS_JS_TERSE[a]," ")}},tKb=function(a,b){a&1&&(K(0),H(1,"span",68),S(2,"async"),P(3,qKb,1,1,"mat-icon",69),P(4,rKb,2,1,"ng-container",70),P(5,sKb,2,4,"span",71),I(),L());if(a&2){a=b.$implicit;b=O(4);var c;B(1);F("ngSwitch",null==(c=T(2,4,b.listViewPrefs$))?null:null==c.fieldStatus?null:c.fieldStatus.mode)("title",b.STATUS_JS_FULL_TEXT[a]===b.STATUS_JS_TERSE[a]?"":b.STATUS_JS_FULL_TEXT[a]);B(2);
F("ngSwitchCase","icon");B(1);F("ngSwitchCase","plain")}},uKb=function(a){a&1&&(K(0),P(1,tKb,6,6,"ng-container",3),L());a&2&&(a=O().row,B(1),F("ngIf",a.status))},vKb=function(a){a&1&&(H(0,"td",67),P(1,uKb,2,1,"ng-container",3),I());a&2&&(O(2),B(1),F("ngIf",!0))},wKb=function(a,b){a&1&&(H(0,"b-person-hovercard",75),R(1),I());a&2&&(a=b.ngIf,b=O().row,F("email",a),B(1),Mf(" ",b.assignee," "))},xKb=function(a){a&1&&(H(0,"span"),R(1,"--"),I())},yKb=function(a,b){a&1&&(H(0,"td",73),K(1),P(2,wKb,2,2,"b-person-hovercard",
74),S(3,"omitObfuscatedEmail"),P(4,xKb,2,0,"span",3),L(),I());a&2&&(a=b.row,B(2),F("ngIf",T(3,2,a.assignee)),B(2),F("ngIf",!a.assignee))},AKb=function(a){if(a&1){var b=w();H(0,"div",29)(1,"pop-grid",30);M("focusedRowIndexChange",function(c){x(b);var d=O();return z(d.focusedRowIndex=c)})("rowClick",function(c){x(b);var d=O();return z(d.goToIssue(c.id,c.isRead,c.event))})("sortChange",function(c){x(b);var d=O();return z(d.onSortChange(c))});P(2,$Jb,3,2,"th",31);P(3,bKb,3,3,"th",32);P(4,cKb,3,2,"th",
33);P(5,dKb,1,0,"td",34);P(6,eKb,3,3,"td",35);P(7,fKb,3,4,"td",36);P(8,hKb,4,3,"td",37);P(9,jKb,2,1,"td",38);P(10,kKb,4,1,"td",39);P(11,oKb,13,21,"td",40);P(12,pKb,4,7,"td",41);P(13,vKb,2,1,"td",42);P(14,yKb,5,4,"td",43);I()()}a&2&&(a=O(),B(1),F("list",zKb(a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("enableDragDropHeader",!1)("rowLabelRenderer",a.issueDescription)("sort",a.sortConfig),B(1),F("forHeaderCell","focused"),B(1),F("forHeaderCell","selected"),B(2),F("forViewCell","focused"),
B(1),F("forViewCell","selected"),B(1),F("forViewCell","starred"),B(1),F("forViewCell","issueId"),B(1),F("forViewCell","alerts"),B(1),F("forViewCell","dismiss"),B(1),F("forViewCell","title"),B(1),F("forViewCell","priority"),B(1),F("forViewCell","status"),B(1),F("forViewCell","assignee"))},BKb=function(a){a&1&&Df(0)},DKb=function(a,b){a&1&&(K(0),P(1,BKb,1,0,"ng-container",7),L());if(a&2){a=b.$implicit;O(3);var c=Lf(5);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,CKb,a))}},EKb=function(a){a&
1&&(H(0,"div",4)(1,"div",5),R(2,"TEAMFOOD"),I(),P(3,DKb,2,4,"ng-container",6),S(4,"async"),I());a&2&&(a=O(2),B(3),F("ngForOf",T(4,1,a.beapFeaturesTF$)))},FKb=function(a){a&1&&Df(0)},GKb=function(a,b){a&1&&(K(0),P(1,FKb,1,0,"ng-container",7),L());if(a&2){a=b.$implicit;O(3);var c=Lf(5);B(1);F("ngTemplateOutlet",c)("ngTemplateOutletContext",Sf(2,CKb,a))}},HKb=function(a){a&1&&(H(0,"div",4)(1,"div",5),R(2,"EARLY ACCESS"),I(),P(3,GKb,2,4,"ng-container",6),S(4,"async"),I());a&2&&(a=O(2),B(3),F("ngForOf",
T(4,1,a.beapFeaturesEA$)))},IKb=function(a){a&1&&(K(0),P(1,EKb,5,3,"div",3),S(2,"async"),P(3,HKb,5,3,"div",3),S(4,"async"),L());a&2&&(a=O(),B(1),F("ngIf",T(2,2,a.hasFeaturesTF$)),B(2),F("ngIf",T(4,4,a.hasFeaturesEA$)))},JKb=function(a){a&1&&(H(0,"div",8),R(1,"No available experiments"),I())},KKb=function(a){a&1&&(H(0,"a",23),R(1," Learn more"),I());a&2&&(a=O().feature,pf("href",a.learnMoreLink,Sd))},LKb=function(a){a&1&&(H(0,"b-callout",24)(1,"b-callout-body"),R(2," Reload page to see changes. "),
I()())},MKb=function(a,b){if(a&1){var c=w();H(0,"div",9)(1,"div",10)(2,"div",11);J(3,"mat-slide-toggle",12);S(4,"featureState");S(5,"featureState");I();H(6,"div",13)(7,"div",14);R(8);I();H(9,"span",15);R(10);P(11,KKb,2,1,"a",16);I();H(12,"div",17)(13,"a",18);M("click",function(){var d=x(c).feature;O().linkClicked[d.experimentId]=!0;return z()});J(14,"mat-icon",19);R(15);S(16,"featureState");I()();P(17,LKb,3,0,"b-callout",20);I();H(18,"div",21);J(19,"b-app-beap-state-indicator",22);I()()()}a&2&&(a=
b.feature,b=O(),B(3),F("checked",T(4,10,a.state))("matTooltip",T(5,12,a.state)?"Opted in":"Opted out")("disabled",!0),B(5),Mf(" ",a.title," "),B(2),Mf("",a.description," "),B(1),F("ngIf",a.learnMoreLink),B(2),pf("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+a.experimentId,Sd),B(2),Mf(" ",T(16,14,a.state)?"Opt out":"Opt in"," "),B(2),F("ngIf",!!b.linkClicked[a.experimentId]),B(2),F("experimentId",a.experimentId))},NKb=function(a){a&1&&(H(0,"mat-option",26),R(1),I());a&2&&
(a=O().$implicit,F("value",a),B(1),Mf(" ",a.name," "))},OKb=function(a,b){a&1&&(K(0),P(1,NKb,2,2,"mat-option",25),L());a&2&&(a=b.$implicit,B(1),F("ngIf",a.shouldDisplay()))},PKb=function(a,b){a&1&&(H(0,"mat-option",29),R(1),I());a&2&&(a=b.$implicit,F("value",a.id),B(1),Mf(" ",a.name," "))},RKb=function(a){if(a&1){var b=w();H(0,"mat-form-field",5)(1,"mat-select",27);M("ngModelChange",function(c){x(b);var d=O();return z(d.preferredHomepage.selectedOptionId=c)})("selectionChange",function(){x(b);var c=
O();return z(QKb(c.preferredHomepage))});P(2,PKb,2,2,"mat-option",28);I()()}a&2&&(a=O(),B(1),F("ngModel",a.preferredHomepage.selectedOptionId),B(1),F("ngForOf",a.preferredHomepage.selectedMainOption.options))},SKb=function(a,b){a&1&&(H(0,"mat-option",30),R(1),I());a&2&&(a=b.$implicit,F("value",a.value),B(1),Mf(" ",a.label," "))},TKb=function(a,b){a&1&&(H(0,"mat-option",30),R(1),I());a&2&&(a=b.$implicit,F("value",a.value),B(1),Mf(" ",a.label," "))},UKb=function(a,b){a&1&&(H(0,"mat-option",30),R(1),
I());a&2&&(a=b.$implicit,F("value",a.value),B(1),Mf(" ",a.label," "))},VKb=function(a){if(a&1){var b=w();H(0,"div",20)(1,"mat-slide-toggle",31);M("change",function(c){x(b);var d=O();c=c.checked;d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return z()});R(2," Show SnipIt images inline in comments ");I()()}a&2&&(a=O(),B(1),F("checked",a.getShowInlineImages()))},WKb=function(a){if(a&1){var b=w();K(0);H(1,"div",0)(2,"div",1)(3,"p",2);R(4,"Other");I()();H(5,"div")(6,"div")(7,
"mat-slide-toggle",32);M("change",function(c){x(b);var d=O();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return z(d.save("saveBugScreensaverPreferences"))});R(8," Enable bug screensaver ");I()()()();L()}a&2&&(a=O(),B(7),F("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},XKb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",T(2,2,a)," "))},YKb=function(a,b){a&1&&(H(0,
"mat-option",20),R(1),S(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",T(2,2,a)," "))},ZKb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",T(2,2,a)," "))},$Kb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",T(2,2,a)," "))},aLb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,
F("value",a),B(1),Mf(" ",T(2,2,a)," "))},bLb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),S(2,"toNewEmailPreference"),I());a&2&&(a=b.$implicit,F("value",a),B(1),Mf(" ",T(2,2,a)," "))},cLb=function(a,b){a&1&&(H(0,"mat-option",3),R(1),I());a&2&&(a=b.$implicit,F("value",a.id),B(1),Mf(" ",a.displayName," "))},dLb=function(a,b){return a.gmt===b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},eLb=function(a){a&1&&(K(0),J(1,"b-spinner"),L())},fLb=function(a){a&1&&(H(0,"mat-hint"),R(1,"This field is read-only"),I())},
gLb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),I());a&2&&(a=b.$implicit,F("value",a.frequency),B(1),Mf(" ",a.display," "))},hLb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),I());a&2&&(a=b.$implicit,F("value",a.ordinal),B(1),Mf(" ",a.display," "))},iLb=function(a){if(a&1){var b=w();H(0,"div")(1,"mat-form-field",14)(2,"mat-label");R(3," Repeat on ");I();H(4,"mat-select",16);M("ngModelChange",function(d){x(b);var e=O(2).ngIf,g=O(2);$s(g,Object.assign({},e,{ordinal:d}));return z()});P(5,hLb,2,2,"mat-option",
17);I()()()}if(a&2){a=O(2).ngIf;var c=O(2);B(4);F("ngModel",a.ordinal);B(1);F("ngForOf",c.repeatOnOptions.get(a.frequency))}},jLb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),I());a&2&&(a=b.$implicit,F("value",a.timeOfDay),B(1),Mf(" ~",a.display," "))},kLb=function(a,b){if(a&1){var c=w();K(0);H(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Repeat at ");I();H(5,"mat-select",21);M("ngModelChange",function(e){x(c);var g=O(2).ngIf,h=O(2);$s(h,Object.assign({},g,{timeOfDay:e}));return z()});P(6,
jLb,2,2,"mat-option",17);I()()();L()}if(a&2){a=b.ngIf;b=O(2).ngIf;var d=O(2);B(5);F("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);B(1);F("ngForOf",a)}},lLb=function(a){a&1&&(H(0,"div",22),R(1),I());a&2&&(a=O(2).ngIf,B(1),Mf(" Subscription ID: ",a.id," "))},mLb=function(a){if(a&1){var b=w();K(0);H(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Frequency ");I();H(5,"mat-select",16);M("ngModelChange",function(d){x(b);var e=O().ngIf,g=O(2);return z(g.setFrequency(d,e))});P(6,gLb,2,2,
"mat-option",17);I()()();P(7,iLb,6,2,"div",0);P(8,kLb,7,3,"ng-container",0);S(9,"async");H(10,"div")(11,"b-timezone-picker",18);M("timezoneIdChange",function(d){x(b);var e=O().ngIf,g=O(2);return z(g.setTimeZone(d,e))});I()();P(12,lLb,2,1,"div",19);L()}if(a&2){a=O().ngIf;var c=O(2);B(5);F("ngModel",a.frequency);B(1);F("ngForOf",c.frequencyOptions);B(1);F("ngIf",a.frequency!==c.DAILY);B(1);F("ngIf",T(9,7,c.repeatAtOptions$));B(3);F("timezoneId",a.timeZone.id)("fullWidth",!0);B(1);F("ngIf",a.id)}},oLb=
function(a,b){if(a&1){var c=w();K(0);H(1,"div")(2,"div",7)(3,"mat-slide-toggle",13);M("change",function(){x(c);var d=O(2);return z(nLb(d))});S(4,"async");R(5," Subscribe to your own reports ");P(6,eLb,2,0,"ng-container",0);S(7,"async");I()();H(8,"div")(9,"mat-form-field",14)(10,"mat-label");R(11,"Scope");I();H(12,"input",15);M("focus",function(){x(c);var d=O(2);return z(d.inputHasFocus=!0)})("blur",function(){x(c);var d=O(2);return z(d.inputHasFocus=!1)});I();P(13,fLb,2,0,"mat-hint",0);I()();P(14,
mLb,13,9,"ng-container",0);I();L()}a&2&&(a=b.ngIf,b=O(2),B(3),F("disabled",T(4,6,b.isThinking$))("checked",0!==a.id),B(3),F("ngIf",T(7,8,b.isThinking$)),B(6),F("ngModel",b.currentUser.email),B(1),F("ngIf",b.inputHasFocus),B(1),F("ngIf",0!==a.id))},pLb=function(a){a&1&&(K(0),H(1,"div",1)(2,"div",2)(3,"p",3),R(4,"Frequency settings"),I(),H(5,"p",10),R(6," Choose when to receive your own reports. "),H(7,"a",11),R(8,"Learn more"),I()()(),P(9,oLb,15,10,"ng-container",0),S(10,"async"),I(),J(11,"hr",12),
L());a&2&&(a=O(),B(9),F("ngIf",T(10,1,a.userSubscription$)))},qLb=function(a){a&1&&(K(0),J(1,"b-spinner"),L())},rLb=function(a){a&1&&(H(0,"th",31),R(1,"Scope"),I())},sLb=function(a,b){a&1&&(H(0,"td",32),R(1),I());a&2&&(a=b.$implicit,B(1),Mf(" ",a.lead.emailAddress," "))},tLb=function(a){a&1&&(H(0,"th",31),R(1,"Frequency"),I())},wLb=function(a,b){a&1&&(H(0,"td",32),R(1),S(2,"async"),S(3,"async"),I());if(a&2){a=b.$implicit;b=O(2);var c;B(1);xka(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?
"weekly"===a.frequency?"- "+uLb[a.ordinal-1].display:"monthly"===a.frequency?"- "+vLb(a.ordinal):"":""," - ",null==(c=T(2,4,b.hourOfDayDisplayMap$))?null:c.get(a.timeOfDay.hours)," - ",null==(c=T(3,6,b.timeZoneDisplayMap$))?null:c.get(a.timeZone.id)," ")}},xLb=function(a){a&1&&J(0,"th",31)},zLb=function(a){if(a&1){var b=w();H(0,"td",32)(1,"button",33);J(2,"mat-icon",34);I();H(3,"mat-menu",null,35)(5,"button",36);M("click",function(){var d=x(b).$implicit,e=O(2);return z(e.openDialog(d))});R(6," Edit subscription ");
I();H(7,"button",37);M("click",function(){var d=x(b).$implicit,e=O(2);return z(yLb(e,d))});R(8," Delete subscription ");I()()()}if(a&2){var c=Lf(4);B(1);F("matMenuTriggerFor",c)}},ALb=function(a){a&1&&J(0,"tr",38)},BLb=function(a,b){a&1&&J(0,"tr",39);a&2&&(a=b.$implicit,pf("aria-label","Subscription with ID "+a.id+" and scoped to "+a.lead.emailAddress))},CLb=function(a){a&1&&(K(0),H(1,"table",23),K(2,24),P(3,rLb,2,0,"th",25),P(4,sLb,2,1,"td",26),L(),K(5,27),P(6,tLb,2,0,"th",25),P(7,wLb,4,8,"td",26),
L(),K(8,28),P(9,xLb,1,0,"th",25),P(10,zLb,9,1,"td",26),L(),P(11,ALb,1,0,"tr",29),P(12,BLb,1,1,"tr",30),I(),L());a&2&&(a=O(),B(1),F("dataSource",a.subscriptions$),B(10),F("matHeaderRowDef",a.columns),B(1),F("matRowDefColumns",a.columns))},DLb=function(a){a&1&&(H(0,"mat-error"),R(1,"Please select a valid, single user"),I())},ELb=function(a){a&1&&(H(0,"mat-error"),R(1,"Report for sundar@ cannot be generated"),I())},FLb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),I());a&2&&(a=b.$implicit,F("value",
a.frequency),B(1),Mf(" ",a.display," "))},GLb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),I());a&2&&(a=b.$implicit,F("value",a.ordinal),B(1),Mf(" ",a.display," "))},HLb=function(a){if(a&1){var b=w();H(0,"div")(1,"mat-form-field",14)(2,"mat-label");R(3," Repeat on ");I();H(4,"mat-select",16);M("ngModelChange",function(d){x(b);var e=O().$implicit;return z(e.ordinal=d)});P(5,GLb,2,2,"mat-option",17);I()()()}if(a&2){a=O().$implicit;var c=O();B(4);F("ngModel",a.ordinal);B(1);F("ngForOf",c.repeatOnOptions.get(a.frequency))}},
ILb=function(a,b){a&1&&(H(0,"mat-option",20),R(1),I());a&2&&(a=b.$implicit,F("value",a.timeOfDay),B(1),Mf(" ~",a.display," "))},JLb=function(a,b){if(a&1){var c=w();K(0);H(1,"div")(2,"mat-form-field",14)(3,"mat-label");R(4," Repeat at ");I();H(5,"mat-select",21);M("ngModelChange",function(e){x(c);var g=O().$implicit;return z(g.timeOfDay=e)});P(6,ILb,2,2,"mat-option",17);I()()();L()}if(a&2){a=b.ngIf;b=O().$implicit;var d=O();B(5);F("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);B(1);F("ngForOf",
a)}},KLb=function(a){a&1&&(H(0,"div",22),R(1),I());a&2&&(a=O().$implicit,B(1),Mf(" Subscription ID: ",a.id," "))},NLb=function(a,b){if(a&1){var c=w();H(0,"h1",40);R(1,"Add report subscription");I();H(2,"mat-dialog-content")(3,"p",41);R(4," Select the user (scope) and frequency of the report you wish to receive. ");I();H(5,"div")(6,"mat-form-field",42)(7,"mat-label");R(8,"Scope");I();H(9,"input",43);M("ngModelChange",function(e){var g=x(c).$implicit,h=O();return z(g.lead=h.emailToUser(e))});I();P(10,
DLb,2,0,"mat-error",0);P(11,ELb,2,0,"mat-error",0);I()();H(12,"div")(13,"mat-form-field",14)(14,"mat-label");R(15," Frequency ");I();H(16,"mat-select",16);M("ngModelChange",function(e){var g=x(c).$implicit;return z(g.frequency=e)})("ngModelChange",function(e){var g=x(c).$implicit;O();return z(LLb(e,g))});P(17,FLb,2,2,"mat-option",17);I()()();P(18,HLb,6,2,"div",0);P(19,JLb,7,3,"ng-container",0);S(20,"async");H(21,"div")(22,"b-timezone-picker",18);M("timezoneIdChange",function(e){var g=x(c).$implicit;
return z(g.timeZone.id=e)});I()();P(23,KLb,2,1,"div",19);H(24,"p",44);R(25," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");I();H(26,"a",45);R(27,"Learn more");I()();H(28,"mat-dialog-actions")(29,"button",46);R(30,"Cancel");I();H(31,"button",8);M("click",function(){var e=x(c).$implicit,g=O();return z(MLb(g,e))});R(32);I()()}if(a&2){a=b.$implicit;b=O();var d;B(9);F("ngModel",null!==(d=null==a.lead?null:a.lead.emailAddress)&&
void 0!==d?d:"")("bContactAutocomplete","SINGLE");B(1);F("ngIf",b.dialogInvalidEmailFormat);B(1);F("ngIf",b.ceoSelected);B(5);F("ngModel",a.frequency);B(1);F("ngForOf",b.frequencyOptions);B(1);F("ngIf",a.frequency!==b.DAILY);B(1);F("ngIf",T(20,13,b.repeatAtOptions$));B(3);F("timezoneId",a.timeZone.id)("fullWidth",!0);B(1);F("ngIf",a.id);B(8);F("disabled",!a.lead||!a.lead.emailAddress);B(1);Mf(" ",0===a.id?"Add":"Update"," ")}},vLb=function(a){var b=a%10,c=a%100;return 1===b&&11!==c?String(a)+"st":
2===b&&12!==c?String(a)+"nd":3===b&&13!==c?String(a)+"rd":String(a)+"th"},OLb=function(a){a&1&&(H(0,"mat-tab",7)(1,"div",3),J(2,"b-slo-reports-settings"),I()())},PLb=function(a){a&1&&(H(0,"mat-tab",8)(1,"div",3),J(2,"b-beap-settings"),I()())},QLb=function(a){if(a&1){var b=w();H(0,"b-star-toggle",13);M("starClicked",function(){x(b);var c=O(2);return z(c.toggleStar())});I()}a&2&&(a=O(2),F("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},
RLb=function(a){a&1&&J(0,"b-star-toggle",14);a&2&&F("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},SLb=function(a,b){a&1&&(H(0,"li")(1,"a",15),R(2),I()());a&2&&(a=b.$implicit,b=O(2),B(1),F("href",b.getUrl(a),Sd)("title",a.description),B(1),Mf(" ",b.getDisplayName(a)," "))},TLb=function(a){if(a&1){var b=w();H(0,"div")(1,"div",4)(2,"div",5);P(3,QLb,
1,3,"b-star-toggle",6);P(4,RLb,1,4,"b-star-toggle",7);H(5,"span",8);R(6);I();H(7,"button",9);M("click",function(){x(b);var c=O();return z(c.openEditBookmarkGroup())});I()();H(8,"div",10);R(9);I()();H(10,"ul",11);P(11,SLb,3,3,"li",12);I()()}a&2&&(a=O(),B(3),F("ngIf",!a.userIsAdmin),B(1),F("ngIf",a.userIsAdmin),B(2),Mf("Bookmark Group: ",a.bookmarkGroup.name," "),B(3),Nf(a.bookmarkGroup.description),B(2),F("ngForOf",a.bookmarkGroup.item))},ULb=function(a){if(a&1){var b=w();H(0,"b-star-toggle",16);M("starClicked",
function(){x(b);var c=O(2);return z(c.toggleStar())})("keydown.space",function(c){return c.stopPropagation()})("keydown.enter",function(c){return c.stopPropagation()});I()}a&2&&(a=O(2),F("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},VLb=function(a){a&1&&J(0,"b-star-toggle",17);a&2&&F("starMessage","You are an admin of this hotlist, and cannot star/unstar it.")("unStarMessage","You are an admin of this hotlist, and cannot star/unstar it.")("starred",
!0)("disabled",!0)},WLb=function(a){a&1&&J(0,"b-star-toggle",17);a&2&&F("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},XLb=function(a){a&1&&(H(0,"div",18),R(1," Hotlist not found. "),I());a&2&&F("bFocus",!0)},YLb=function(a){a&1&&(H(0,"div"),R(1," Loading details... "),I())},ZLb=function(a){a&1&&(H(0,"span",25),R(1," (archived) "),I())},$Lb=function(a){a&1&&(H(0,"span",26),R(1," \u00a0(changed) "),I())},aMb=function(a){if(a&1){var b=w();H(0,"div")(1,"span",19);R(2," Hotlist: ");
H(3,"span",20);R(4);I()();P(5,ZLb,2,0,"span",21);H(6,"div",22)(7,"button",23);M("click",function(){x(b);var c=O(2);return z(c.openEditHotlist())});I()();P(8,$Lb,2,0,"span",24);I()}a&2&&(a=O(2),B(3),F("matTooltip",a.hotlist.description),B(1),Mf(" ",a.hotlist.name," "),B(1),F("ngIf",a.hotlist.archived),B(3),F("ngIf",a.hasParamChanges()))},bMb=function(a){if(a&1){var b=w();H(0,"div",27)(1,"button",28);M("click",function(){x(b);var c=O(2);return z(c.save())});R(2,"Save ");I();H(3,"button",29);M("click",
function(){x(b);var c=O(2);return z(c.discardChanges())});R(4,"Discard changes ");I()()}},cMb=function(a){a&1&&(H(0,"div",9),P(1,ULb,1,3,"b-star-toggle",10),P(2,VLb,1,4,"b-star-toggle",11),P(3,WLb,1,4,"b-star-toggle",11),H(4,"div",12),P(5,XLb,2,1,"div",13),P(6,YLb,2,0,"div",14),P(7,aMb,9,4,"div",14),I(),P(8,bMb,5,0,"div",15),I());a&2&&(a=O(),B(1),F("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),B(1),F("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),B(1),F("ngIf",!a.hotlist),
B(2),F("ngIf",!a.hotlist&&!a.hotlistLoading),B(1),F("ngIf",a.hotlistLoading),B(1),F("ngIf",a.hotlist&&!a.hotlistLoading),B(1),F("ngIf",a.hasParamChanges()))},dMb=function(a){a&1&&(H(0,"div",30),J(1,"b-spinner"),H(2,"span"),R(3),I()());a&2&&(a=O(),B(3),Mf(" Loading hotlist: ",a.hotlistId,""))},eMb=function(a){a&1&&(H(0,"div",31),R(1),I());a&2&&(a=O(),F("bFocus",!0),B(1),Mf(" No issues in hotlist ",a.hotlistId,". "))},fMb=function(a){if(a&1){var b=w();H(0,"div",32)(1,"b-issues-grid",33);M("init",function(c){x(b);
var d=O();return z(d.resultsGrid=c)})("focusedRowIndexChange",function(c){x(b);var d=O();return z(d.focusedRowIndex=c)})("columnsChange",function(c){x(b);var d=O();return z(d.issueColumns=c)})("sortChange",function(c){x(b);var d=O();return z(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=O();return z(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){x(b);var d=O();return z(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){x(b);var c=O();return z(Ts(c,
c.page,1))})("onPrevPage",function(){x(b);var c=O();return z(Ts(c,c.page,-1))});I()()}a&2&&(a=O(),B(1),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},gMb=function(a){a&1&&(H(0,"div"),R(1," Loading details... "),I())},hMb=function(a){a&1&&(H(0,"div"),R(1," Saved search not found. "),I())},iMb=function(a){a&1&&(H(0,"span",15),R(1," \u00a0(changed) "),I())},jMb=function(a){if(a&
1){var b=w();H(0,"div",11);R(1," Saved search: ");H(2,"span",12);R(3);I();H(4,"button",13);M("click",function(){x(b);var c=O(2);return z(c.openEditSavedSearch())});I();P(5,iMb,2,0,"span",14);I()}a&2&&(a=O(2),B(2),F("matTooltip",a.savedSearch.description),B(1),Mf(" ",a.savedSearch.name," "),B(2),F("ngIf",a.hasParamChanges()))},kMb=function(a){a&1&&(H(0,"div",9),P(1,gMb,2,0,"div",8),P(2,hMb,2,0,"div",8),P(3,jMb,6,3,"div",10),I());a&2&&(a=O(),B(1),F("ngIf",!a.savedSearch&&a.isLoading),B(1),F("ngIf",
!a.savedSearch&&!a.isLoading),B(1),F("ngIf",a.savedSearch))},lMb=function(a){if(a&1){var b=w();H(0,"div",16)(1,"button",17);M("click",function(){x(b);var c=O();return z(c.save())});R(2,"Save ");I();H(3,"button",18);M("click",function(){x(b);var c=O();return z(c.discardChanges())});R(4,"Discard changes ");I();H(5,"span",19)(6,"a",20);M("click",function(){x(b);var c=O();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return z()});R(7," Back to normal search");I()()()}a&2&&(a=O(),B(6),
F("href",a.exitLink,Sd))},mMb=function(a){a&1&&(H(0,"span"),R(1),I());a&2&&(a=O(3),B(1),Mf(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},nMb=function(a){a&1&&(H(0,"div",24),J(1,"b-spinner"),P(2,mMb,2,1,"span",8),I());a&2&&(a=O(2),B(2),F("ngIf",a.searchParams))},oMb=function(a){a&1&&(H(0,"div",25),R(1," No issues in saved search. "),I());a&2&&F("bFocus",!0)},pMb=function(a){if(a&1){var b=w();H(0,"div",26)(1,"b-issues-grid",27);M("init",function(c){x(b);var d=O(2);return z(d.resultsGrid=
c)})("focusedRowIndexChange",function(c){x(b);var d=O(2);return z(d.focusedRowIndex=c)})("columnsChange",function(c){x(b);var d=O(2);return z(d.issueColumns=c)})("sortChange",function(c){x(b);var d=O(2);return z(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=O(2);return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=O(2);return z(Ts(c,c.page,1))})("onPrevPage",function(){x(b);var c=O(2);return z(Ts(c,c.page,-1))});I()()}a&2&&(a=O(2),B(1),F("searchResults",
a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},qMb=function(a){a&1&&(H(0,"div"),P(1,nMb,3,1,"div",21),P(2,oMb,2,1,"div",22),P(3,pMb,2,6,"div",23),I());a&2&&(a=O(),B(1),F("ngIf",a.isLoading),B(1),F("ngIf",!a.isLoading&&!a.hasResults()),B(1),F("ngIf",!a.isLoading&&a.hasResults()))},at=function(a,b){return Wm(a)?[b]:[]},rMb=function(){var a=Hc(bt).getEnvironmentType(),b={};return(b.DEV=
"Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},sMb=function(a,b){var c={};return ro("A",(c.href=b,c.target="_blank",c.rel="noopener noreferrer nofollow",c),a)},uMb=function(){return new tMb(new ct("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}))},vMb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},wMb=
"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},xMb=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");},wh=xMb(this),dt=function(a,b){if(b)a:{var c=wh;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&&null!=b&&wMb(c,a,{configurable:!0,writable:!0,value:b})}};dt("Symbol",function(a){if(a)return a;var b=function(g,h){this.$jscomp$symbol$id_=g;wMb(this,"description",{configurable:!0,writable:!0,value:h})};b.prototype.toString=function(){return this.$jscomp$symbol$id_};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("b");return new b(c+(g||"")+"_"+d++,g)};return e});
dt("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=wh[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&wMb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return yMb(vMb(this))}})}return a});dt("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var yMb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},et=function(a){return a.raw=a},k=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:vMb(a)};throw Error("e`"+String(a));},Ce=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},ad=function(a){return a instanceof Array?a:Ce(k(a))},ft=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},zMb="function"==
typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)ft(d,e)&&(a[e]=d[e])}return a};dt("Object.assign",function(a){return a||zMb});
var AMb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},BMb=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if("undefined"!=typeof Reflect&&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){void 0===e&&(e=c);e=AMb(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),CMb;if("function"==typeof Object.setPrototypeOf)CMb=Object.setPrototypeOf;else{var DMb;a:{var EMb={a:!0},FMb={};try{FMb.__proto__=EMb;DMb=FMb.a;break a}catch(a){}DMb=!1}CMb=DMb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var gt=CMb,U=function(a,b){a.prototype=AMb(b.prototype);a.prototype.constructor=a;if(gt)gt(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.superClass_=b.prototype},GMb=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};f=GMb.prototype;
f.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};f.next_=function(a){this.yieldResult=a};f.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};f.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};f.yield=function(a,b){this.nextAddress=b;return{value:a}};f.jumpTo=function(a){this.nextAddress=a};
var se=function(a){a.nextAddress=0},oe=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},ht=function(a,b){a.nextAddress=b;a.catchAddress_=0},re=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},pe=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},qe=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_:void 0!=c.jumpTo&&a.finallyAddress_<c.jumpTo?(a.nextAddress=c.jumpTo,a.abruptCompletion_=null):a.nextAddress=a.finallyAddress_:a.nextAddress=b},HMb=function(a){this.context_=new GMb;this.program_=a};HMb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return IMb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return it(this)};
var JMb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return IMb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return it(a)};HMb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return IMb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return it(this)};
var IMb=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 g=e.value}catch(h){return a.context_.yieldAllIterator_=null,a.context_.throw_(h),it(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,g);return it(a)},it=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}},KMb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return JMb(a,b)};this[Symbol.iterator]=function(){return this}},gob=function(a){var b=hob;a=new KMb(new HMb(a));gt&&b.prototype&&gt(a,
b.prototype);return a},LMb=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function g(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(g,e)}g(a.next())})},ne=function(a){return LMb(new KMb(new HMb(a)))},Pha=function(a){this[Symbol.asyncIterator]=function(){return this};this[Symbol.iterator]=function(){return a};this.next=function(b){return Promise.resolve(a.next(b))};void 0!==a["throw"]&&(this["throw"]=function(b){return Promise.resolve(a["throw"](b))});
void 0!==a["return"]&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})},Wc=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};dt("Reflect",function(a){return a?a:{}});dt("Reflect.construct",function(){return BMb});dt("Reflect.setPrototypeOf",function(a){return a?a:gt?function(b,c){try{return gt(b,c),!0}catch(d){return!1}}:null});
dt("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(m){m(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var m=this;this.asyncExecuteFunction(function(){m.executeBatch_()})}this.batch_.push(h)};var d=wh.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 m=0;m<h.length;++m){var r=
h[m];h[m]=null;try{r()}catch(v){this.asyncThrow_(v)}}}this.batch_=null};b.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var e=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var m=this.createResolveAndReject_();try{h(m.resolve,m.reject)}catch(r){m.reject(r)}};e.prototype.createResolveAndReject_=function(){function h(v){return function(y){r||(r=!0,v.call(m,y))}}var m=this,r=!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 m=null!=h;break a;case "function":m=!0;break a;default:m=!1}m?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var m=void 0;try{m=h.then}catch(r){this.reject_(r);return}"function"==typeof m?this.settleSameAsThenable_(m,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,m){if(0!=this.state_)throw Error("j`"+h+"`"+m+"`"+this.state_);this.state_=h;this.result_=m;2===this.state_&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var m=wh.console;"undefined"!==typeof m&&m.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=wh.CustomEvent,m=wh.Event,r=wh.dispatchEvent;if("undefined"===typeof r)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):"function"===typeof m?h=new m("unhandledrejection",{cancelable:!0}):(h=wh.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return r(h)};e.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=
0;h<this.onSettledCallbacks_.length;++h)g.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var g=new b;e.prototype.settleSameAsPromise_=function(h){var m=this.createResolveAndReject_();h.callWhenSettled_(m.resolve,m.reject)};e.prototype.settleSameAsThenable_=function(h,m){var r=this.createResolveAndReject_();try{h.call(m,r.resolve,r.reject)}catch(v){r.reject(v)}};e.prototype.then=function(h,m){function r(G,N){return"function"==typeof G?function(Q){try{v(G(Q))}catch(Z){y(Z)}}:
N}var v,y,A=new e(function(G,N){v=G;y=N});this.callWhenSettled_(r(h,v),r(m,y));return A};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,m){function r(){switch(v.state_){case 1:h(v.result_);break;case 2:m(v.result_);break;default:throw Error("k`"+v.state_);}}var v=this;null==this.onSettledCallbacks_?g.asyncExecute(r):this.onSettledCallbacks_.push(r);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(m,r){r(h)})};e.race=
function(h){return new e(function(m,r){for(var v=k(h),y=v.next();!y.done;y=v.next())c(y.value).callWhenSettled_(m,r)})};e.all=function(h){var m=k(h),r=m.next();return r.done?c([]):new e(function(v,y){function A(Q){return function(Z){G[Q]=Z;N--;0==N&&v(G)}}var G=[],N=0;do G.push(void 0),N++,c(r.value).callWhenSettled_(A(G.length-1),y),r=m.next();while(!r.done)})};return e});var jt=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
dt("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=jt(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<g&&c<e;)if(d[c++]!=b[h++])return!1;return h>=g}});dt("Object.setPrototypeOf",function(a){return a||gt});var MMb=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var g=a[e];if(b.call(c,g,e,a))return{i:e,v:g}}return{i:-1,v:void 0}};
dt("Array.prototype.find",function(a){return a?a:function(b,c){return MMb(this,b,c).v}});
dt("WeakMap",function(a){function b(){}function c(r){var v=typeof r;return"object"===v&&null!==r||"function"===v}function d(r){if(!ft(r,g)){var v=new b;wMb(r,g,{value:v})}}function e(r){var v=Object[r];v&&(Object[r]=function(y){if(y instanceof b)return y;Object.isExtensible(y)&&d(y);return v(y)})}if(function(){if(!a||!Object.seal)return!1;try{var r=Object.seal({}),v=Object.seal({}),y=new a([[r,2],[v,3]]);if(2!=y.get(r)||3!=y.get(v))return!1;y.delete(r);y.set(v,4);return!y.has(r)&&4==y.get(v)}catch(A){return!1}}())return a;
var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,m=function(r){this.id_=(h+=Math.random()+1).toString();if(r){r=k(r);for(var v;!(v=r.next()).done;)v=v.value,this.set(v[0],v[1])}};m.prototype.set=function(r,v){if(!c(r))throw Error("n");d(r);if(!ft(r,g))throw Error("o`"+r);r[g][this.id_]=v;return this};m.prototype.get=function(r){return c(r)&&ft(r,g)?r[g][this.id_]:void 0};m.prototype.has=function(r){return c(r)&&ft(r,g)&&ft(r[g],this.id_)};m.prototype.delete=
function(r){return c(r)&&ft(r,g)&&ft(r[g],this.id_)?delete r[g][this.id_]:!1};return m});
dt("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var m=Object.seal({x:4}),r=new a(k([[m,"s"]]));if("s"!=r.get(m)||1!=r.size||r.get({x:4})||r.set({x:4},"t")!=r||2!=r.size)return!1;var v=r.entries(),y=v.next();if(y.done||y.value[0]!=m||"s"!=y.value[1])return!1;y=v.next();return y.done||4!=y.value[0].x||"t"!=y.value[1]||!v.next().done?!1:!0}catch(A){return!1}}())return a;var b=new WeakMap,c=function(m){this[0]={};this[1]=
g();this.size=0;if(m){m=k(m);for(var r;!(r=m.next()).done;)r=r.value,this.set(r[0],r[1])}};c.prototype.set=function(m,r){m=0===m?0:m;var v=d(this,m);v.list||(v.list=this[0][v.id]=[]);v.entry?v.entry.value=r:(v.entry={next:this[1],previous:this[1].previous,head:this[1],key:m,value:r},v.list.push(v.entry),this[1].previous.next=v.entry,this[1].previous=v.entry,this.size++);return this};c.prototype.delete=function(m){m=d(this,m);return m.entry&&m.list?(m.list.splice(m.index,1),m.list.length||delete this[0][m.id],
m.entry.previous.next=m.entry.next,m.entry.next.previous=m.entry.previous,m.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].previous=g();this.size=0};c.prototype.has=function(m){return!!d(this,m).entry};c.prototype.get=function(m){return(m=d(this,m).entry)&&m.value};c.prototype.entries=function(){return e(this,function(m){return[m.key,m.value]})};c.prototype.keys=function(){return e(this,function(m){return m.key})};c.prototype.values=function(){return e(this,
function(m){return m.value})};c.prototype.forEach=function(m,r){for(var v=this.entries(),y;!(y=v.next()).done;)y=y.value,m.call(r,y[1],y[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(m,r){var v=r&&typeof r;"object"==v||"function"==v?b.has(r)?v=b.get(r):(v=""+ ++h,b.set(r,v)):v="p_"+r;var y=m[0][v];if(y&&ft(m[0],v))for(m=0;m<y.length;m++){var A=y[m];if(r!==r&&A.key!==A.key||r===A.key)return{id:v,list:y,index:m,entry:A}}return{id:v,list:y,index:-1,entry:void 0}},e=function(m,
r){var v=m[1];return yMb(function(){if(v){for(;v.head!=m[1];)v=v.previous;for(;v.next!=v.head;)return v=v.next,{done:!1,value:r(v)};v=null}return{done:!0,value:void 0}})},g=function(){var m={};return m.previous=m.next=m.head=m},h=0;return c});dt("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ft(b,d)&&c.push(b[d]);return c}});dt("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
dt("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(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});dt("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==jt(this,b,"includes").indexOf(b,c||0)}});dt("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
dt("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});dt("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});dt("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});dt("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}});
dt("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});var NMb=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};dt("Array.prototype.entries",function(a){return a?a:function(){return NMb(this,function(b,c){return[b,c]})}});
dt("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(m){return m};var e=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof g){b=g.call(b);for(var h=0;!(g=b.next()).done;)e.push(c.call(d,g.value,h++))}else for(g=b.length,h=0;h<g;h++)e.push(c.call(d,b[h],h));return e}});dt("Array.prototype.keys",function(a){return a?a:function(){return NMb(this,function(b){return b})}});
dt("Array.prototype.values",function(a){return a?a:function(){return NMb(this,function(b,c){return c})}});dt("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});var kt=function(a){return a?a:Array.prototype.fill};dt("Int8Array.prototype.fill",kt);dt("Uint8Array.prototype.fill",kt);dt("Uint8ClampedArray.prototype.fill",kt);
dt("Int16Array.prototype.fill",kt);dt("Uint16Array.prototype.fill",kt);dt("Int32Array.prototype.fill",kt);dt("Uint32Array.prototype.fill",kt);dt("Float32Array.prototype.fill",kt);dt("Float64Array.prototype.fill",kt);
dt("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(k([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
k(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=0===c?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(g){return c.call(d,g,g,e)})};return b});dt("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ft(b,d)&&c.push([d,b[d]]);return c}});
dt("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=jt(this,b,"endsWith");void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});dt("String.prototype.repeat",function(a){return a?a:function(b){var c=jt(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("p");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});dt("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
dt("globalThis",function(a){return a||wh});dt("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}});dt("Array.prototype.flat",function(a){return a?a:function(b){b=void 0===b?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&0<b?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});
dt("Array.prototype.findIndex",function(a){return a?a:function(b,c){return MMb(this,b,c).i}});dt("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,g){e=b.call(c,e,g,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});
dt("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,g={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}}};g[Symbol.iterator]=function(){return g};return g}});
dt("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;})})}});dt("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}});
var OMb=function(a,b){a=void 0!==a?String(a):" ";return 0<b&&a?a.repeat(Math.ceil(b/a.length)).substring(0,b):""};dt("String.prototype.padStart",function(a){return a?a:function(b,c){var d=jt(this,null,"padStart");return OMb(c,b-d.length)+d}});dt("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(g){return e.resolve(g).then(b,c)});return e.all(d)}});
dt("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)}});dt("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});dt("String.prototype.padEnd",function(a){return a?a:function(b,c){var d=jt(this,null,"padStart");return d+OMb(c,b-d.length)}});
dt("String.prototype.codePointAt",function(a){return a?a:function(b){var c=jt(this,null,"codePointAt"),d=c.length;b=Number(b)||0;if(0<=b&&b<d){b|=0;var e=c.charCodeAt(b);if(55296>e||56319<e||b+1===d)return e;b=c.charCodeAt(b+1);return 56320>b||57343<b?e:1024*(e-55296)+b+9216}}});var PMb=PMb||{},ba=this||self,bp=function(a,b){a=a.split(".");b=b||ba;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},Xa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ua=function(a){var b=Xa(a);return"array"==b||"object"==b&&"number"==typeof a.length},wa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},xa=function(a){return Object.prototype.hasOwnProperty.call(a,QMb)&&a[QMb]||(a[QMb]=++RMb)},QMb="closure_uid_"+(1E9*Math.random()>>>
0),RMb=0,SMb=function(a,b,c){return a.call.apply(a.bind,arguments)},TMb=function(a,b,c){if(!a)throw Error();if(2<arguments.length){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)}},lt=function(a,b,c){lt=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?SMb:TMb;return lt.apply(null,arguments)},mt=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)}},UMb=function(a){(0,eval)(a)},VMb=function(a,b){a=a.split(".");var c=ba;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},nt=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,g){for(var h=Array(arguments.length-2),m=2;m<arguments.length;m++)h[m-2]=arguments[m];return b.prototype[e].apply(d,h)}},WMb=function(a){return a};nt(aa,Error);aa.prototype.name="CustomError";var XMb;nt(aaa,aa);aaa.prototype.name="AssertionError";var fi=function(a,b){return 0==a.lastIndexOf(b,0)},ot=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},rib=function(a){return 0==Dq("@ldap.google.com",a.slice(a.length-16))},Ok=function(a){return/^[\s\xa0]*$/.test(a)},hi=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Dq=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},eNb=function(a){if(!YMb.test(a))return a;-1!=a.indexOf("&")&&
(a=a.replace(ZMb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace($Mb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(aNb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(bNb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(cNb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(dNb,"&#0;"));return a},ZMb=/&/g,$Mb=/</g,aNb=/>/g,bNb=/"/g,cNb=/'/g,dNb=/\x00/g,YMb=/[\x00&<>"']/,ha=function(a,b){return-1!=a.indexOf(b)},gNb=function(a,b){var c=0;a=hi(String(a)).split(".");b=hi(String(b)).split(".");for(var d=Math.max(a.length,b.length),
e=0;0==c&&e<d;e++){var g=a[e]||"",h=b[e]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;c=fNb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||fNb(0==g[2].length,0==h[2].length)||fNb(g[2],h[2]);g=g[3];h=h[3]}while(0==c)}return c},fNb=function(a,b){return a<b?-1:a>b?1:0};var da,hNb=bp("WIZ_global_data.oxN3nb"),iNb=hNb&&hNb[610401301];da=null!=iNb?iNb:!1;var fa,jNb=ba.navigator;fa=jNb?jNb.userAgentData||null:null;var qaa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},oa=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},kNb=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=[],g=0,h="string"===typeof a?a.split(""):a,m=0;m<d;m++)if(m in h){var r=h[m];b.call(c,r,m,a)&&(e[g++]=r)}return e},lNb=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?a.split(""):a,g=0;g<c;g++)g in e&&(d[g]=b.call(void 0,e[g],g,a));return d},mNb=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=
"string"===typeof a?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 nNb=function(a){nNb[" "](a);return a};nNb[" "]=function(){};var oNb=function(a,b){try{return nNb(a[b]),!0}catch(c){}return!1};var pNb=daa(),Gq=eaa(),pt=ia("Edge"),Pp=pt||Gq,qt=ia("Gecko")&&!(ha(ca().toLowerCase(),"webkit")&&!ia("Edge"))&&!(ia("Trident")||ia("MSIE"))&&!ia("Edge"),rt=ha(ca().toLowerCase(),"webkit")&&!ia("Edge"),qNb=rt&&ia("Mobile"),Iq=naa(),rNb=la()?"Windows"===fa.platform:ia("Windows"),sNb=(la()?"Linux"===fa.platform:ia("Linux"))||(la()?"Chrome OS"===fa.platform:ia("CrOS")),tNb=ba.navigator||null;tNb&&ha(tNb.appVersion||"","X11");var uNb=laa(),vNb=maa(),wNb=ia("iPad"),xNb=ia("iPod"),yNb=ma();
ha(ca().toLowerCase(),"kaios");var zNb=function(){var a=ba.document;return a?a.documentMode:void 0},ANb;a:{var BNb="",CNb=function(){var a=ca();if(qt)return/rv:([^\);]+)(\)|;)/.exec(a);if(pt)return/Edge\/([\d\.]+)/.exec(a);if(Gq)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(rt)return/WebKit\/(\S+)/.exec(a);if(pNb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();CNb&&(BNb=CNb?CNb[1]:"");if(Gq){var DNb=zNb();if(null!=DNb&&DNb>parseFloat(BNb)){ANb=String(DNb);break a}}ANb=BNb}var ENb=ANb,FNb;
if(ba.document&&Gq){var GNb=zNb();FNb=GNb?GNb:parseInt(ENb,10)||void 0}else FNb=void 0;var st=FNb;var HNb=faa(),INb=maa()||ia("iPod"),JNb=ia("iPad"),KNb=iaa(),LNb=gaa(),MNb=haa()&&!ma();var NNb={},tt=null,ONb=qt||rt||!MNb&&!Gq&&"function"==typeof ba.atob,Daa=function(a,b){void 0===b&&(b=0);PNb();b=NNb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,g=0;e<a.length-2;e+=3){var h=a[e],m=a[e+1],r=a[e+2],v=b[h>>2];h=b[(h&3)<<4|m>>4];m=b[(m&15)<<2|r>>6];r=b[r&63];c[g++]=v+h+m+r}v=0;r=d;switch(a.length-e){case 2:v=a[e+1],r=b[(v&15)<<2]||d;case 1:a=a[e],c[g]=b[a>>2]+b[(a&3)<<4|v>>4]+r+d}return c.join("")},Zob=function(a){if(ONb)return ba.atob(a);var b="";QNb(a,function(c){b+=
String.fromCharCode(c)});return b},RNb=function(a){var b=[];QNb(a,function(c){b.push(c)});return b},Haa=function(a){var b=a.length,c=3*b/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;QNb(a,function(g){d[e++]=g});return e!==c?d.subarray(0,e):d},QNb=function(a,b){function c(r){for(;d<a.length;){var v=a.charAt(d++),y=tt[v];if(null!=y)return y;if(!Ok(v))throw Error("x`"+v);}return r}PNb();for(var d=0;;){var e=c(-1),g=c(0),h=c(64),m=c(64);if(64===m&&-1===
e)break;b(e<<2|g>>4);64!=h&&(b(g<<4&240|h>>2),64!=m&&b(h<<6&192|m))}},PNb=function(){if(!tt){tt={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));NNb[c]=d;for(var e=0;e<d.length;e++){var g=d[e];void 0===tt[g]&&(tt[g]=e)}}}};var Kaa="undefined"!==typeof Uint8Array,Caa=!Gq&&"function"===typeof btoa,Iaa=/[-_.]/g,Faa={"-":"+",_:"/",".":"="},Laa,Ca={};var SNb,Ba=function(a,b){if(b!==Ca)throw Error("y");this.value_=a;if(null!=a&&0===a.length)throw Error("z");},Aa=function(){return SNb||(SNb=new Ba(null,Ca))},rb=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=Eaa(b)},yMa=function(a){return(a=Da(a))?new Uint8Array(a):Maa()};Ba.prototype.isEmpty=function(){return null==this.value_};Ba.prototype.sizeBytes=function(){var a=Da(this);return a?a.length:0};
var TNb=function(a,b){if(!a.value_||!b.value_||a.value_===b.value_)return a.value_===b.value_;if("string"===typeof a.value_&&"string"===typeof b.value_){var c=a.value_,d=b.value_;b.value_.length>a.value_.length&&(d=a.value_,c=b.value_);if(0!==c.lastIndexOf(d,0))return!1;for(b=d.length;b<c.length;b++)if("="!==c[b])return!1;return!0}c=Da(a);b=Da(b);return Naa(c,b)},Da=function(a){if(Ca!==Ca)throw Error("y");var b=a.value_;null==b||ya(b)||("string"===typeof b?b=Jaa(b):(Xa(b),b=null));return null==b?
b:a.value_=b},Jba=function(a,b){if("string"===typeof b)b=b?new Ba(b,Ca):Aa();else if(b instanceof Uint8Array)b=new Ba(b,Ca);else if(!(b instanceof Ba))return!1;return TNb(a,b)};var UNb="function"===typeof Uint8Array.prototype.slice,Ea=0,Fa=0,Uaa="function"===typeof BigInt;var VNb=function(a,b){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.init(a,void 0,void 0,b)};f=VNb.prototype;f.init=function(a,b,c,d){d=void 0===d?{}:d;this.aliasBytesFields=void 0===d.aliasBytesFields?!1:d.aliasBytesFields;a&&(a=Paa(a),this.bytes_=a.buffer,this.bytesAreImmutable_=a.isImmutable,this.start_=b||0,this.end_=void 0!==c?this.start_+c:this.bytes_.length,this.cursor_=this.start_)};f.free=function(){this.clear();100>WNb.length&&WNb.push(this)};
f.clear=function(){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};f.getEnd=function(){return this.end_};f.setEnd=function(a){this.end_=a};f.reset=function(){this.cursor_=this.start_};f.getCursor=function(){return this.cursor_};f.advance=function(a){XNb(this,this.cursor_+a)};
f.readSplitVarint64=function(a){var b=0,c=0,d=0,e=this.bytes_,g=this.cursor_;do{var h=e[g++];b|=(h&127)<<d;d+=7}while(32>d&&h&128);32<d&&(c|=(h&127)>>4);for(d=3;32>d&&h&128;d+=7)h=e[g++],c|=(h&127)<<d;XNb(this,g);if(128>h)return a(b>>>0,c>>>0);throw Error("F");};var XNb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("G`"+b+"`"+a.end_);};f=VNb.prototype;
f.readSignedVarint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b++],d=c&127;if(c&128&&(c=a[b++],d|=(c&127)<<7,c&128&&(c=a[b++],d|=(c&127)<<14,c&128&&(c=a[b++],d|=(c&127)<<21,c&128&&(c=a[b++],d|=c<<28,c&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128)))))throw Error("F");XNb(this,b);return d};f.readUint8=function(){var a=this.bytes_[this.cursor_];this.advance(1);return a};
f.readUint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b],d=a[b+1],e=a[b+2];a=a[b+3];this.advance(4);return(c<<0|d<<8|e<<16|a<<24)>>>0};f.readUint64=function(){var a=this.readUint32(),b=this.readUint32();return Saa(a,b)};f.readUint64String=function(){var a=this.readUint32(),b=this.readUint32();return Waa(a,b)};f.readInt8=function(){var a=this.bytes_[this.cursor_];this.advance(1);return a<<24>>24};
f.readInt32=function(){var a=this.bytes_,b=this.cursor_,c=a[b],d=a[b+1],e=a[b+2];a=a[b+3];this.advance(4);return c<<0|d<<8|e<<16|a<<24};f.readInt64=function(){var a=this.readUint32(),b=this.readUint32();return Taa(a,b)};f.readDouble=function(){var a=this.readUint32(),b=this.readUint32(),c=2*(b>>31)+1,d=b>>>20&2047;a=4294967296*(b&1048575)+a;return 2047==d?a?NaN:Infinity*c:0==d?c*Math.pow(2,-1074)*a:c*Math.pow(2,d-1075)*(a+4503599627370496)};
f.readBool=function(){for(var a=0,b=this.cursor_,c=b+10,d=this.bytes_;b<c;){var e=d[b++];a|=e;if(0===(e&128))return XNb(this,b),!!(a&127)}throw Error("F");};f.readByteString=function(a){if(0==a)return Aa();if(0>a)throw Error("H`"+a);var b=this.cursor_,c=b+a;if(c>this.end_)throw Error("G`"+(this.end_-b)+"`"+a);this.cursor_=c;this.aliasBytesFields&&this.bytesAreImmutable_?b=this.bytes_.subarray(b,b+a):(c=this.bytes_,a=b+a,b=b===a?Maa():UNb?c.slice(b,a):new Uint8Array(c.subarray(b,a)));return Oaa(b)};
var WNb=[];var YNb=function(a){var b=void 0;if(WNb.length){var c=WNb.pop();c.init(a,void 0,void 0,b);a=c}else a=new VNb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};f=YNb.prototype;f.setOptions=function(a){a=void 0===a?{}:a;this.discardUnknownFields=void 0===a.discardUnknownFields?!1:a.discardUnknownFields};f.free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;100>ZNb.length&&ZNb.push(this)};
f.getCursor=function(){return this.decoder_.getCursor()};f.getTag=function(){return this.nextTag_};f.reset=function(){this.decoder_.reset();this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextField_=this.nextTag_=-1};f.advance=function(a){this.decoder_.advance(a)};
var kca=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=a.decoder_.readSignedVarint32()>>>0;var c=b>>>3,d=b&7;if(!(0<=d&&5>=d))throw Error("B`"+d+"`"+a.fieldCursor_);if(1>c)throw Error("C`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},mca=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?mca(a):a.decoder_.readBool();break;case 1:a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)mca(a);else{var b=
a.decoder_.readSignedVarint32()>>>0;a.decoder_.advance(b)}break;case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!kca(a))throw Error("D");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("E");break}mca(a)}while(1);break;default:throw Error("B`"+a.nextWireType_+"`"+a.fieldCursor_);}};f=YNb.prototype;f.readInt32=function(){return this.decoder_.readSignedVarint32()};f.readInt64=function(){return this.decoder_.readSplitVarint64(Taa)};
f.readUint32=function(){return this.decoder_.readSignedVarint32()>>>0};f.readUint64=function(){return this.decoder_.readSplitVarint64(Saa)};f.readUint64String=function(){return this.decoder_.readSplitVarint64(Waa)};f.readDouble=function(){return this.decoder_.readDouble()};f.readBool=function(){return this.decoder_.readBool()};f.readByteString=function(){var a=this.decoder_.readSignedVarint32()>>>0;return this.decoder_.readByteString(a)};f.readSplitVarint64=function(a){return this.decoder_.readSplitVarint64(a)};
var ZNb=[];var $Nb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},bOb=function(a){if(!a)return aOb||(aOb=new $Nb(0,0));if(!/^\d+$/.test(a))return null;Xaa(a);return new $Nb(Ea,Fa)},aOb,cOb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},eOb=function(a){if(!a)return dOb||(dOb=new cOb(0,0));if(!/^-?\d+$/.test(a))return null;Xaa(a);return new cOb(Ea,Fa)},dOb;var ut=function(){this.buffer_=[]};ut.prototype.length=function(){return this.buffer_.length};ut.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};ut.prototype.writeSplitVarint64=function(a,b){for(;0<b||127<a;)this.buffer_.push(a&127|128),a=(a>>>7|b<<25)>>>0,b>>>=7;this.buffer_.push(a)};ut.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var fOb=function(a,b){for(;127<b;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},gOb=function(a,b){if(0<=b)fOb(a,b);else{for(var c=0;9>c;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};f=ut.prototype;f.writeUint8=function(a){this.buffer_.push(a>>>0&255)};f.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)};
f.writeUint64=function(a){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;Ea=b;Fa=a;this.writeUint32(Ea);this.writeUint32(Fa)};f.writeInt8=function(a){this.buffer_.push(a>>>0&255)};f.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)};f.writeInt64=function(a){Raa(a);this.writeSplitFixed64(Ea,Fa)};
f.writeDouble=function(a){var b=+a;if(0===b)Fa=0<1/b?0:2147483648,Ea=0;else if(isNaN(b))Fa=2147483647,Ea=4294967295;else if(b=(a=0>b?-2147483648:0)?-b:b,1.7976931348623157E308<b)Fa=(a|2146435072)>>>0,Ea=0;else if(2.2250738585072014E-308>b){var c=b/Math.pow(2,-1074);Fa=(a|c/4294967296)>>>0;Ea=c>>>0}else{var d=b;c=0;if(2<=d)for(;2<=d&&1023>c;)c++,d/=2;else for(;1>d&&-1022<c;)d*=2,c--;b*=Math.pow(2,-c);Fa=(a|c+1023<<20|1048576*b&1048575)>>>0;Ea=4503599627370496*b>>>0}this.writeUint32(Ea);this.writeUint32(Fa)};
f.writeBool=function(a){this.buffer_.push(a?1:0)};var hOb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new ut},Aca=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},vt=function(a,b,c){fOb(a.encoder_,8*b+c)};f=hOb.prototype;f.writeInt32=function(a,b){null!=b&&null!=b&&(vt(this,a,0),gOb(this.encoder_,b))};
f.writeInt64=function(a,b){null!=b&&("string"===typeof b&&eOb(b),null!=b&&(vt(this,a,0),"number"===typeof b?(a=this.encoder_,Raa(b),a.writeSplitVarint64(Ea,Fa)):(b=eOb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};f.writeUint32=function(a,b){null!=b&&null!=b&&(vt(this,a,0),fOb(this.encoder_,b))};
f.writeUint64=function(a,b){null!=b&&("string"===typeof b&&bOb(b),null!=b&&(vt(this,a,0),"number"===typeof b?(a=this.encoder_,Raa(b),a.writeSplitVarint64(Ea,Fa)):(b=bOb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};f.writeDouble=function(a,b){null!=b&&(vt(this,a,1),this.encoder_.writeDouble(b))};f.writeBool=function(a,b){null!=b&&(vt(this,a,0),this.encoder_.writeBool(b))};f.writeSplitFixed64=function(a,b){vt(this,a,1);this.encoder_.writeSplitFixed64(b)};
f.writeSplitVarint64=function(a,b){vt(this,a,0);this.encoder_.writeSplitVarint64(b)};var Bca=function(a,b){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b};var wt="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0,Ka=wt?function(a,b){a[wt]|=b}:function(a,b){void 0!==a.internalArrayState?a.internalArrayState|=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})},Yba=wt?function(a,b){a[wt]&=~b}:function(a,b){void 0!==a.internalArrayState&&(a.internalArrayState&=~b)},Ha=wt?function(a){return a[wt]|0}:function(a){return a.internalArrayState|0},tb=wt?function(a){return a[wt]}:function(a){return a.internalArrayState},
Ia=wt?function(a,b){a[wt]=b}:function(a,b){void 0!==a.internalArrayState?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})};var kb={},iOb,xb,jOb=[];Ia(jOb,39);xb=Object.freeze(jOb);var xt=function(a,b,c){this.idx_=0;this.arr_=a;this.mapper=b;this.thisArg=c};xt.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}};xt.prototype[Symbol.iterator]=function(){return new xt(this.arr_,this.mapper,this.thisArg)};var cca={},Ua;var tba="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():"di";var wba;var qb=function(a,b,c,d){c=void 0===c?uba:c;d=void 0===d?uba:d;var e=BMb(Map,[],this.constructor);var g=Ha(a);g|=64;Ia(a,g);e.arrayState=g;e.valueCtor=b;e.keyToApi=c||uba;e.valueToApi=e.valueCtor?Aba:d||uba;for(var h=0;h<a.length;h++){var m=a[h],r=c(m[0],!1,!0),v=m[1];b?void 0===v&&(v=null):v=d(m[1],!1,!0,void 0,void 0,g);Map.prototype.set.call(e,r,v)}return e};U(qb,Map);
var kOb=function(a){if(a.arrayState&2)throw Error("S");},Oba=function(a,b){b=void 0===b?Bba:b;return Xba(a,b)},Xba=function(a,b){b=void 0===b?Bba:b;var c=[];a=Map.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};f=qb.prototype;f.getLength=function(){return this.size};f.clear=function(){kOb(this);Map.prototype.clear.call(this)};f.delete=function(a){kOb(this);return Map.prototype.delete.call(this,this.keyToApi(a,!0,!1))};
f.entries=function(){var a=Array.from(Map.prototype.keys.call(this));return new xt(a,Fba,this)};f.keys=function(){return Map.prototype.keys.call(this)};f.values=function(){var a=Array.from(Map.prototype.keys.call(this));return new xt(a,qb.prototype.get,this)};f.forEach=function(a,b){var c=this;Map.prototype.forEach.call(this,function(d,e){a.call(b,c.get(e),e,c)})};
f.set=function(a,b){kOb(this);a=this.keyToApi(a,!0,!1);return null==a?this:null==b?(Map.prototype.delete.call(this,a),this):Map.prototype.set.call(this,a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState))};f.get=function(a){a=this.keyToApi(a,!1,!1);var b=Map.prototype.get.call(this,a);if(void 0!==b){var c=this.valueCtor;return c?(c=this.valueToApi(b,!1,!0,c,this.callToMutableOnAccess,this.arrayState),c!==b&&Map.prototype.set.call(this,a,c),c):b}};
var Iba=function(a,b){return b instanceof qb?Cba(a,b):Eba(a,b)};qb.prototype[Symbol.iterator]=function(){return this.entries()};qb.prototype.toJSON=void 0;var p=function(a,b){a=a.internalArray_;return wb(a,tb(a),b)},wb=function(a,b,c,d){if(-1===c)return null;if(c>=cba(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+((b>>9&1)-1);if(b<e)return a[b]}},cj=function(a,b,c,d){var e=a.internalArray_,g=tb(e);Ra(g);vb(e,g,b,c,d);return a},Pj=function(a,b,c,d){return void 0!==lOb(a,b,c,void 0===d?!1:d)},ck=function(a,b,c,d){return void 0!==lOb(a,b,yn(a,d,c))},yt=function(a,b,c){a=a.internalArray_;return gca(a,
tb(a),b,c,!1,3).length},zt=function(a,b,c,d,e){Hb(a,b,c,e,d,!1,1);return a},Qo=function(a,b){a=a.internalArray_;var c=tb(a),d=wb(a,c,b),e=jba(d);null!=e&&e!==d&&vb(a,c,b,e);return e},Ur=function(a,b){return kba(p(a,b))},So=function(a,b){a=a.internalArray_;var c=tb(a),d=wb(a,c,b),e=Oa(d,!0,!!(c&34));null!=e&&e!==d&&vb(a,c,b,e);return e},At=function(a,b,c,d){return zb(a,b,jba,c,d)},Bt=function(a,b,c,d){return zb(a,b,tb(a.internalArray_)&34?$ba:aca,c,d)},Sj=function(a,b){a=So(a,b);return null==a?Aa():
a},bca,mOb=function(a,b,c){a=a.internalArray_;var d=tb(a);Ra(d);c=null==c?xb:Yaa(c);vb(a,d,b,c)},xj=function(a,b,c){return Cb(a,b,c,gb)},Ri=function(a,b,c){return Cb(a,b,c,ib)},Ct=function(a,b){return cj(a,b,void 0,!1)},Dt=function(a,b,c){var d=a.internalArray_,e=tb(d);Ra(e);c=Oa(c,!1,!1);vb(d,e,b,null==c||c.isEmpty()?void 0:c);return a},Co=function(a,b,c,d){var e=a.internalArray_,g=tb(e);Ra(g);(c=fca(e,g,c))&&c!==b&&null!=d&&vb(e,g,c);vb(e,g,b,d);return a},yn=function(a,b,c){a=a.internalArray_;return fca(a,
tb(a),b)===c?c:-1},Oi=function(a,b){a=a.internalArray_;return fca(a,tb(a),b)},nOb=function(a,b,c){a=a.internalArray_;var d=tb(a);Ra(d);var e=wb(a,d,c);b=ub(sba(e,b,!0,d));e!==b&&vb(a,d,c,b);return b},lOb=function(a,b,c,d){a=a.internalArray_;var e=tb(a),g=wb(a,e,c,d);b=sba(g,b,!1,e);b!==g&&null!=b&&vb(a,e,c,b,d);return b},Qs=function(a,b,c){return(a=lOb(a,b,c,!1))?a:rba(b)},W=function(a,b,c,d){d=void 0===d?!1:d;b=lOb(a,b,c,d);if(null==b)return b;a=a.internalArray_;var e=tb(a);if(!(e&2)){var g=ub(b);
g!==b&&(b=g,vb(a,e,c,b,d))}return b},Et=function(a,b,c){return Qs(a,b,yn(a,on,c))},oj=function(a,b,c){var d=a.internalArray_,e=tb(d);a=!!(e&2);b=gca(d,e,b,c,void 0,a?1:2);if(!(a||Ha(b)&8)){for(c=0;c<b.length;c++)a=b[c],d=ub(a),a!==d&&(b[c]=d);Ka(b,8)}return b},lj=function(a,b,c,d,e){null==d&&(d=void 0);return cj(a,c,d,e)},Ko=function(a,b,c,d){null==d&&(d=void 0);return Co(a,b,c,d)},rj=function(a,b,c){var d=a.internalArray_,e=tb(d);Ra(e);if(null!=c){for(var g=!!c.length,h=0;h<c.length;h++){var m=c[h];
g=g&&!(Ha(m.internalArray_)&2)}h=Ha(c);m=h|1;m=(g?m|8:m&-9)|4;m!=h&&(c=Zaa(c,m))}null==c&&(c=void 0);vb(d,e,b,c);return a},Mo=function(a,b,c,d,e){Hb(a,b,c,d,e);return a},Ft=function(a,b){return db(p(a,b))},Po=function(a,b){return p(a,b)},Uh=function(a,b,c,d){return zb(a,b,db,c,d)},sl=function(a,b,c,d){return zb(a,b,nba,c,d)},Wh=function(a,b,c,d){return zb(a,b,oba,c,d)},Xj=function(a,b,c){return cj(a,b,Ya(c))},dj=function(a,b,c){return cj(a,b,mba(c))},X=function(a,b){return qba(p(a,b))},Xh=function(a,
b,c,d){return zb(a,b,qba,c,d)},uk=function(a,b,c){return cj(a,b,pba(c))},Io=function(a,b,c,d){return Co(a,b,c,pba(d))},zj=function(a,b,c){return Db(a,b,pba(c),"")},Gt=function(a,b){return p(a,b)},fl=function(a,b,c,d){return zb(a,b,lba,c,d)},$i=function(a,b,c){return Db(a,b,c,0)},Vj=function(a,b,c){return Ob(Ur(a,b),void 0===c?!1:c)},Vh=function(a,b,c){c=void 0===c?0:c;return Ob(Ft(a,b),c)},Ht=function(a,b,c){c=void 0===c?0:c;return Ob(db(p(a,b)),c)},uj=function(a,b,c){return Ob(p(a,b),void 0===c?
0:c)},It=function(a,b){return Ob(p(a,b),0)},Ki=function(a,b,c){return Ob(p(a,b),void 0===c?"0":c)},vj=function(a,b,c){c=void 0===c?0:c;return Ob(Qo(a,b),c)},V=function(a,b,c){return Ob(X(a,b),void 0===c?"":c)},aj=function(a,b,c){return Ob(p(a,b),void 0===c?0:c)},Jt=function(a,b,c){a=Uh(a,b,void 0,2);Ta(a,c);return a[c]},oOb=function(a,b){a=sl(a,b,void 0,2);Ta(a);return a[void 0]},Kt=function(a,b,c){a=Wh(a,b,void 0,2);Ta(a,c);return a[c]},pOb=function(a,b){a=At(a,1,void 0,2);Ta(a,b);return a[b]},Lt=
function(a,b,c){a=Xh(a,b,void 0,2);Ta(a,c);return a[c]},qOb=function(a,b){a=Bt(a,b,void 0,2);Ta(a);return a[void 0]},Mt=function(a,b,c){a=fl(a,b,void 0,2);Ta(a,c);return a[c]},Nt=function(a,b,c){return Fb(a,b,c,void 0,Wh)},Ot=function(a,b,c,d){return Fb(a,b,c,ib(d),Xh)},Pt=function(a,b,c){return V(a,yn(a,c,b))},Qt=function(a,b,c){b=yn(a,c,b);return p(a,b)},xMa=function(a,b){b=yn(a,Ho,b);return p(a,b)},Ro=function(a,b,c){return X(a,yn(a,c,b))},fk=function(a,b,c,d){return W(a,b,yn(a,d,c))},vn=function(a,
b,c){return Gt(a,yn(a,c,b))},Rt=function(a,b){a=Ft(a,b);return null==a?void 0:a},St=function(a,b){a=p(a,b);return null==a?void 0:a},Tt=function(a,b){a=X(a,b);return null==a?void 0:a},ps=function(a,b){a=p(a,b);return null==a?void 0:a},Qk=function(a,b){return null!=Ur(a,b)},Rk=function(a,b){return null!=Ft(a,b)},$k=function(a,b){return null!=p(a,b)},Ji=function(a,b){return null!=p(a,b)},Jk=function(a,b){return null!=X(a,b)},tj=function(a,b){return null!=p(a,b)},ik=function(a,b,c){return Bb(a,b,c,nb)};var q=function(a,b,c){this.internalArray_=l(a,b,c)};q.prototype.toJSON=function(){return iOb?hca(this,this.internalArray_,!1):hca(this,Uba(this.internalArray_),!0)};q.prototype.serialize=function(){iOb=!0;try{return JSON.stringify(this.toJSON(),Nba)}finally{iOb=!1}};var Hca=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return xba(a,$aa(b))};
q.prototype.getExtension=function(a){return a.ctor?a.getExtensionFn(this,a.ctor,a.fieldIndex,!0):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,!0):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};var Dca=function(a,b){a=b.ctor?b.getExtensionFn(a,b.ctor,b.fieldIndex,!0):b.getExtensionFn(a,b.fieldIndex,null,!0);return null===a?void 0:a};q.prototype.hasExtension=function(a){return a.ctor?Pj(this,a.ctor,a.fieldIndex,!0):void 0!==Dca(this,a)};
q.prototype.clone=function(){var a=this.internalArray_;return xba(this.constructor,Wba(a,tb(a),!1))};q.prototype.isMutable=function(){return!(Ha(this.internalArray_)&2)};q.prototype.isImmutable=function(){return!!(Ha(this.internalArray_)&2)};var Wr=function(a,b,c){b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)};q.prototype.messagePrototypeMarker=kb;q.prototype.toString=function(){return hca(this,this.internalArray_,!1).toString()};var ica=Symbol(),rca=Symbol(),Rb=Symbol(),Pb=Symbol(),rOb=Sb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readInt64();vb(b,tb(b),c,a);return!0},function(a,b,c){a.writeInt64.call(a,c,b)}),Ut=Sb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readInt32();vb(b,tb(b),c,a);return!0},function(a,b,c){a.writeInt32(c,db(b))}),sOb=Sb(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Zba(b,tb(b),c,2,!1);if(2==a.nextWireType_){c=VNb.prototype.readSignedVarint32;var d=a.decoder_.readSignedVarint32()>>>
0;for(d=a.decoder_.getCursor()+d;a.decoder_.getCursor()<d;)b.push(c.call(a.decoder_))}else b.push(a.readInt32());return!0},function(a,b,c){if(Array.isArray(b)){var d=Ha(b);if(!(d&4)){for(var e=0,g=0;e<b.length;e++){var h=db(b[e]);null!=h&&(b[g++]=h)}g<e&&(b.length=g);Ia(b,d|5)}}else b=void 0;if(null!=b)for(d=0;d<b.length;d++)e=a,g=b[d],null!=g&&(vt(e,c,0),gOb(e.encoder_,g))}),tOb=Sb(function(a,b,c){if(1!==a.nextWireType_)return!1;a=a.decoder_.readUint64String();vb(b,tb(b),c,a);return!0},function(a,
b,c){null!=b&&("string"===typeof b&&bOb(b),vt(a,c,1),"number"===typeof b?a.encoder_.writeUint64(b):(b=bOb(b),a.encoder_.writeSplitFixed64(b.lo,b.hi)))}),uOb=Sb(function(a,b,c){if(5!==a.nextWireType_)return!1;a=a.decoder_.readUint32();vb(b,tb(b),c,a);return!0},function(a,b,c){b=db(b);null!=b&&(vt(a,c,5),a.encoder_.writeUint32(b))}),vOb=Sb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readBool();vb(b,tb(b),c,a);return!0},function(a,b,c){a.writeBool(c,kba(b))}),wOb=Sb(function(a,b,c,d,e){if(2!==
a.nextWireType_)return!1;var g=tb(b);Ra(g);var h=wb(b,g,c),m;if(null!=h&&h.messagePrototypeMarker===kb)d=ub(h),d!==h&&vb(b,g,c,d),b=d.internalArray_;else{if(Array.isArray(h)){var r=Ha(h);r&2?m=Wba(h,r,!1):m=h;m=l(m,d[0],d[1])}else m=l(void 0,d[0],d[1]);m!==h&&vb(b,g,c,m);b=m}c=a.decoder_.getEnd();g=a.decoder_.readSignedVarint32()>>>0;h=a.decoder_.getCursor()+g;d=h-c;0>=d&&(a.decoder_.setEnd(h),e(b,a,void 0,void 0,void 0),d=h-a.decoder_.getCursor());if(d)throw Error("A`"+g+"`"+(g-d));a.decoder_.cursor_=
h;a.decoder_.setEnd(c);return!0},function(a,b,c,d,e){b=b instanceof q?b.internalArray_:Array.isArray(b)?l(b,d[0],d[1]):void 0;if(null!=b){vt(a,c,2);c=a.encoder_.end();Aca(a,c);c.push(a.totalLength_);e(b,a);e=c.pop();for(e=a.totalLength_+a.encoder_.length()-e;127<e;)c.push(e&127|128),e>>>=7,a.totalLength_++;c.push(e);a.totalLength_++}});var Cca=function(a,b,c,d){this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=0;this.getExtensionFn=W;this.setExtensionFn=lj;this.defaultValue=void 0};var Vt=function(a){this.internalArray_=l(a)};U(Vt,q);Vt.prototype.hasAction=function(){return tj(this,1)};Vt.prototype.toObject=function(){return xOb(this)};var xOb=function(a){if(null!=a)return t(a),{action:n(p(a,1)),prevState:n(p(a,2))}};var yOb=function(a){this.internalArray_=l(a)};U(yOb,q);f=yOb.prototype;f.getValue=function(){return Sj(this,1)};f.setValue=function(a){return cj(this,1,Oa(a,!1,!1))};f.hasValue=function(){return null!=So(this,1)};f.getTimestamp=function(){return uj(this,2)};f.setTimestamp=function(a){return cj(this,2,a)};f.hasTimestamp=function(){return $k(this,2)};f.toObject=function(){return zOb(this)};
var zOb=function(a){if(null!=a)return t(a),{value:Xb(a.getValue()),timestamp:n(p(a,2)),encodedrestrict:Xb(Sj(a,3))}};var Wt=function(a){this.internalArray_=l(a)};U(Wt,q);Wt.prototype.getObsolete4=function(){return Sj(this,4)};Wt.prototype.toObject=function(){return Xt(this)};var Xt=function(a){if(null!=a)return t(a),{keyid:n(Ft(a,1)),wrappedkey:Xb(Sj(a,2)),extendedkeyhashstring:n(X(a,3)),obsolete4:Xb(a.getObsolete4())}};var AOb=function(a){this.internalArray_=l(a)};U(AOb,q);AOb.prototype.toObject=function(){return BOb(this)};var BOb=function(a){if(null!=a)return t(a),{sgnDomain:n(X(a,1)),sgnPk:n(X(a,2)),sgnIdent:n(X(a,3))}};var COb=function(a){this.internalArray_=l(a)};U(COb,q);COb.prototype.toObject=function(){return DOb(this)};var DOb=function(a){if(null!=a)return t(a),{chatid:n(X(a,33)),membertype:n(Ft(a,34))}};var EOb=function(a){this.internalArray_=l(a)};U(EOb,q);EOb.prototype.toObject=function(){return FOb(this)};var FOb=function(a){if(null!=a)return t(a),{ownergaiaid:n(p(a,24)),circleid:n(p(a,25))}};var GOb=function(a){this.internalArray_=l(a)};U(GOb,q);GOb.prototype.toObject=function(){return HOb(this)};var HOb=function(a){if(null!=a)return t(a),{eventid:n(X(a,30)),membertype:n(Ft(a,31))}};var IOb=function(a){this.internalArray_=l(a)};U(IOb,q);IOb.prototype.toObject=function(){return JOb(this)};var JOb=function(a){if(null!=a)return t(a),{ownergaiaid:n(p(a,6)),groupid:n(p(a,7))}};var KOb=function(a){this.internalArray_=l(a)};U(KOb,q);KOb.prototype.toObject=function(){return LOb(this)};var LOb=function(a){if(null!=a)return t(a),{keyvalue:n(p(a,15))}};var Yt=function(a){this.internalArray_=l(a)};U(Yt,q);f=Yt.prototype;f.getApplication=function(){return V(this,1)};f.setApplication=function(a){return uk(this,1,a)};f.getApplicationOrUndefined=function(){return Tt(this,1)};f.getId=function(){return V(this,2)};f.setId=function(a){return uk(this,2,a)};f.toObject=function(){return MOb(this)};var MOb=function(a){if(null!=a)return t(a),{application:n(X(a,1)),id:n(X(a,2)),part:n(X(a,3))}};var Zt=function(a){this.internalArray_=l(a)};U(Zt,q);Zt.prototype.getResourceId=function(){return W(this,Yt,39)};Zt.prototype.setResourceId=function(a){lj(this,Yt,39,a)};Zt.prototype.hasResourceId=function(){return Pj(this,Yt,39)};Zt.prototype.toObject=function(){return NOb(this)};var NOb=function(a){if(null!=a)return t(a),{obsolete36:n(X(a,36)),obsolete37:n(X(a,37)),roleId:n(Ft(a,38)),resourceId:MOb(a.getResourceId())}};var $t=function(a){this.internalArray_=l(a)};U($t,q);$t.prototype.getBlob=function(){return Sj(this,13)};$t.prototype.clearBlob=function(){return Ct(this,13)};$t.prototype.toObject=function(){return OOb(this)};var OOb=function(a){if(null!=a)return t(a),{serviceid:n(Ft(a,12)),blob:Xb(a.getBlob())}};var POb=function(a){this.internalArray_=l(a)};U(POb,q);POb.prototype.toObject=function(){return QOb(this)};var QOb=function(a){if(null!=a)return t(a),{squareid:n(p(a,27)),membertype:n(Ft(a,28))}};var au=function(a){this.internalArray_=l(a)};U(au,q);f=au.prototype;f.getKey=function(){return W(this,KOb,14)};f.hasKey=function(){return Pj(this,KOb,14)};f.getCircle=function(){return W(this,EOb,23)};f.getEvent=function(){return W(this,GOb,29)};f.toObject=function(){return ROb(this)};
var ROb=function(a){if(null!=a)return t(a),{gaiaid:n(p(a,1)),gaiaemail:n(X(a,2)),inviteid:n(p(a,3)),orginatinginviteid:n(p(a,9)),gaiagroup:n(p(a,4)),focusGroup:JOb(W(a,IOb,5)),allusers:n(Ur(a,8)),allauthenticatedusers:n(Ur(a,10)),nouser:n(Ur(a,41)),serviceBlob:OOb(W(a,$t,11)),key:LOb(a.getKey()),userpseudonym:BOb(W(a,AOb,16)),mdbuser:n(X(a,17)),mdbgroup:n(X(a,18)),ldapuser:n(X(a,19)),ldapgroup:n(X(a,20)),obsolete21:n(Ft(a,21)),obsolete22:Xb(Sj(a,22)),circle:FOb(a.getCircle()),square:QOb(W(a,POb,26)),
event:HOb(a.getEvent()),chat:DOb(W(a,COb,32)),resourceRole:NOb(W(a,Zt,35)),anonymousinviteid:n(p(a,40))}};var bu=function(a){this.internalArray_=l(a)};U(bu,q);bu.prototype.getScope=function(){return W(this,au,1)};bu.prototype.getWrappedkeyList=function(){return oj(this,Wt,3)};bu.prototype.getMetadata=function(){return W(this,yOb,4)};bu.prototype.setMetadata=function(a){lj(this,yOb,4,a)};bu.repeatedFields_=[3];bu.prototype.toObject=function(){return cu(this)};var cu=function(a){if(null!=a)return t(a),{role:n(Ft(a,2)),scope:ROb(a.getScope()),wrappedkeyList:Ub(a.getWrappedkeyList(),Xt),metadata:zOb(a.getMetadata())}};var du=function(a){this.internalArray_=l(a)};U(du,q);du.repeatedFields_=[4,5];du.prototype.toObject=function(){return SOb(this)};var SOb=function(a){if(null!=a)return t(a),{addedEntryList:Ub(oj(a,bu,4),cu),removedEntryList:Ub(oj(a,bu,5),cu),readersCanEditAclChange:xOb(W(a,Vt,13)),writersCanEditAclChange:xOb(W(a,Vt,14)),changeReason:n(p(a,25))}};var TOb=function(a){this.internalArray_=l(a,1)};U(TOb,q);var eu={};TOb.prototype.toObject=function(){return UOb(this)};var UOb=function(a){if(null!=a){t(a);var b={};Vb(a,b,eu);return b}};eu[52221103]=Tb(52221103,{messageSetExtension:0},du,SOb);var VOb=function(a){this.internalArray_=l(a)};U(VOb,q);VOb.prototype.toObject=function(){return WOb(this)};var WOb=function(a){if(null!=a)return t(a),{shareUrl:n(X(a,1))}};var hu=function(a){this.internalArray_=l(a)};U(hu,q);hu.prototype.getEmail=function(){return V(this,3)};hu.prototype.setEmail=function(a){return uk(this,3,a)};hu.prototype.hasEmail=function(){return Jk(this,3)};hu.prototype.toObject=function(){return XOb(this)};var XOb=function(a){if(null!=a){t(a);var b=Bb(a,1,VOb,mb);return{recipientsMap:Wb(b,WOb),role:n(p(a,2)),email:n(X(a,3))}}};var iu=function(a){this.internalArray_=l(a)};U(iu,q);iu.prototype.getMessage=function(){return V(this,2)};iu.prototype.setMessage=function(a){uk(this,2,a)};iu.prototype.toObject=function(){return YOb(this)};var YOb=function(a){if(null!=a){t(a);var b=Bb(a,1,hu,mb);b=Wb(b,XOb);var c=n(X(a,2)),d=n(Ur(a,3));a=ik(a,7,hu);return{granteesMap:b,message:c,shouldNotify:d,nonGaiaGranteesMap:Wb(a,XOb)}}};var ju=function(a){this.internalArray_=l(a)};U(ju,q);ju.repeatedFields_=[1];ju.prototype.toObject=function(){return ZOb(this)};var ZOb=function(a){if(null!=a)return t(a),{aclChangeStructList:Ub(oj(a,du,1),SOb)}};var $Ob=function(a){this.internalArray_=l(a)};U($Ob,q);f=$Ob.prototype;f.getValue=function(){return V(this,1)};f.setValue=function(a){return uk(this,1,a)};f.hasValue=function(){return Jk(this,1)};f.getDisplayName=function(){return V(this,2)};f.setDisplayName=function(a){return uk(this,2,a)};f.toObject=function(){return aPb(this)};var aPb=function(a){if(null!=a)return t(a),{value:n(X(a,1)),displayName:n(X(a,2))}};var bPb=function(a){this.internalArray_=l(a)};U(bPb,q);bPb.repeatedFields_=[1];bPb.prototype.toObject=function(){return cPb(this)};var cPb=function(a){if(null!=a)return t(a),{namedValuesList:Ub(oj(a,$Ob,1),aPb)}};var ku=function(a){this.internalArray_=l(a)};U(ku,q);ku.prototype.getValuesList=function(){return Xh(this,1)};ku.prototype.setValuesList=function(a){Ri(this,1,a)};ku.prototype.getValues=function(a){return Lt(this,1,a)};ku.prototype.setValues=function(a,b){Ot(this,1,a,b)};ku.repeatedFields_=[1];ku.prototype.toObject=function(){return lu(this)};var lu=function(a){if(null!=a)return t(a),{valuesList:n(Xh(a,1))}};var Rh=function(a){this.internalArray_=l(a)};U(Rh,q);f=Rh.prototype;f.getSeconds=function(){return uj(this,1)};f.setSeconds=function(a){return Nb(this,1,a)};f.getNanos=function(){return Vh(this,2)};f.setNanos=function(a){return Kb(this,2,a)};f.toDate=function(){var a=this.getSeconds(),b=this.getNanos();return new Date(1E3*a+b/1E6)};f.toObject=function(){return mu(this)};var mu=function(a){if(null!=a)return t(a),{seconds:uj(a,1),nanos:Vh(a,2)}};var nu=function(a){this.internalArray_=l(a)};U(nu,q);f=nu.prototype;f.getValueCase=function(){return Oi(this,ou)};f.getTextValue=function(){return Pt(this,1,ou)};f.setTextValue=function(a){Io(this,1,ou,a)};f.getTextListValues=function(){return fk(this,ku,2,ou)};f.getSelectionListValue=function(){return fk(this,ku,4,ou)};f.getUserListValues=function(){return fk(this,ku,13,ou)};f.getDateValue=function(){return fk(this,Rh,14,ou)};f.setDateValue=function(a){Ko(this,14,ou,a)};
var ou=[1,2,3,4,5,11,12,13,14],pu=[6,7,8,9,10,15,16,17,18];nu.prototype.toObject=function(){return dPb(this)};
var dPb=function(a){if(null!=a)return t(a),{textValue:n(Ro(a,1,ou)),textListValues:lu(a.getTextListValues()),selectionValue:n(Ro(a,3,ou)),selectionListValue:lu(a.getSelectionListValue()),longTextValue:n(Ro(a,5,ou)),numberValue:n(Qt(a,11,ou)),userValue:n(Ro(a,12,ou)),userListValues:lu(a.getUserListValues()),dateValue:mu(a.getDateValue()),namedTextValue:n(Ro(a,6,pu)),namedLongTextValue:n(Ro(a,7,pu)),namedTextListValues:lu(fk(a,ku,8,pu)),namedSelectionValue:aPb(fk(a,$Ob,9,pu)),namedSelectionListValue:cPb(fk(a,
bPb,10,pu)),namedNumberValue:n(Qt(a,15,pu)),namedUserValue:n(Ro(a,16,pu)),namedUserListValues:lu(fk(a,ku,17,pu)),namedDateValue:mu(fk(a,Rh,18,pu))}};var ePb=function(a){this.internalArray_=l(a)};U(ePb,q);f=ePb.prototype;f.getFieldId=function(){return V(this,1)};f.setFieldId=function(a){return uk(this,1,a)};f.getOldValue=function(){return W(this,nu,2)};f.getNewValue=function(){return W(this,nu,3)};f.getDisplayName=function(){return V(this,4)};f.setDisplayName=function(a){return uk(this,4,a)};f.toObject=function(){return fPb(this)};
var fPb=function(a){if(null!=a)return t(a),{fieldId:n(X(a,1)),oldValue:dPb(a.getOldValue()),newValue:dPb(a.getNewValue()),displayName:n(X(a,4))}};var qu=function(a){this.internalArray_=l(a)};U(qu,q);f=qu.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return uk(this,1,a)};f.hasLabel=function(){return Jk(this,1)};f.getTitle=function(){return V(this,5)};f.setTitle=function(a){return uk(this,5,a)};qu.repeatedFields_=[3,4];qu.prototype.toObject=function(){return gPb(this)};
var gPb=function(a){if(null!=a)return t(a),{label:n(X(a,1)),labelScope:n(p(a,2)),changeTypesList:n(fl(a,3)),fieldChangesList:Ub(oj(a,ePb,4),fPb),title:n(X(a,5)),reasonType:n(p(a,6))}};var hPb=function(a){this.internalArray_=l(a)};U(hPb,q);hPb.prototype.toObject=function(){return iPb(this)};var iPb=function(a){if(null!=a)return t(a),{removedReviewerGaiaId:n(p(a,1)),addedReviewerGaiaId:n(p(a,2))}};var ru=function(a){this.internalArray_=l(a)};U(ru,q);ru.prototype.getApprovalStatus=function(){return aj(this,6,0)};ru.repeatedFields_=[3,4,8,12];ru.prototype.toObject=function(){return jPb(this)};
var jPb=function(a){if(null!=a)return t(a),{approvalEventType:n(p(a,1)),approvalId:n(X(a,2)),approvalEventIdList:n(Uh(a,3)),reviewerGaiaIdsList:n(zb(a,4,hb)),initiatorGaiaId:n(p(a,5)),approvalStatus:n(p(a,6)),reviewerDecision:n(p(a,7)),reviewerChangesList:Ub(oj(a,hPb,8),iPb),dueTimeMs:n(p(a,9)),oldDueTimeMs:n(p(a,10)),resetReviewerGaiaIdsList:n(zb(a,12,hb)),userInteractionMode:n(p(a,11)),approvalProcess:n(p(a,13))}};var su=function(a){this.internalArray_=l(a)};U(su,q);su.prototype.getApprovalStatus=function(){return aj(this,3,0)};su.repeatedFields_=[5];su.prototype.toObject=function(){return kPb(this)};var kPb=function(a){if(null!=a)return t(a),{approvalId:n(X(a,1)),notificationType:n(p(a,2)),approvalStatus:n(p(a,3)),initiatorGaiaId:n(p(a,4)),recipientGaiaIdsList:n(sl(a,5)),dueTimeMs:n(p(a,6)),userInteractionMode:n(p(a,7))}};var tu=function(a){this.internalArray_=l(a)};U(tu,q);tu.prototype.getValuesList=function(){return Xh(this,1)};tu.prototype.setValuesList=function(a){Ri(this,1,a)};tu.prototype.getValues=function(a){return Lt(this,1,a)};tu.prototype.setValues=function(a,b){Ot(this,1,a,b)};tu.repeatedFields_=[1];tu.prototype.toObject=function(){return lPb(this)};var lPb=function(a){if(null!=a)return t(a),{valuesList:n(Xh(a,1))}};var uu=function(a){this.internalArray_=l(a)};U(uu,q);f=uu.prototype;f.getValueCase=function(){return Oi(this,vu)};f.getTextValue=function(){return Pt(this,1,vu)};f.setTextValue=function(a){Io(this,1,vu,a)};f.getTextListValues=function(){return fk(this,tu,2,vu)};f.getSelectionListValue=function(){return fk(this,tu,4,vu)};f.getUserListValues=function(){return fk(this,tu,8,vu)};f.getDateValue=function(){return fk(this,Rh,9,vu)};f.setDateValue=function(a){Ko(this,9,vu,a)};var vu=[1,2,3,4,5,6,7,8,9];
uu.prototype.toObject=function(){return mPb(this)};var mPb=function(a){if(null!=a)return t(a),{textValue:n(Ro(a,1,vu)),textListValues:lPb(a.getTextListValues()),selectionValue:n(Ro(a,3,vu)),selectionListValue:lPb(a.getSelectionListValue()),longTextValue:n(Ro(a,5,vu)),numberValue:n(Qt(a,6,vu)),userValue:n(Ro(a,7,vu)),userListValues:lPb(a.getUserListValues()),dateValue:mu(a.getDateValue())}};var wu=function(a){this.internalArray_=l(a)};U(wu,q);wu.prototype.getOldValue=function(){return W(this,uu,2)};wu.prototype.getNewValue=function(){return W(this,uu,3)};wu.prototype.toObject=function(){return nPb(this)};var nPb=function(a){if(null!=a)return t(a),{attributeId:n(X(a,1)),oldValue:mPb(a.getOldValue()),newValue:mPb(a.getNewValue())}};var oPb=function(a){this.internalArray_=l(a)};U(oPb,q);oPb.repeatedFields_=[3,4];oPb.prototype.toObject=function(){return pPb(this)};var pPb=function(a){if(null!=a)return t(a),{publishedCategoryName:n(X(a,1)),categoryScope:n(p(a,2)),changeTypesList:n(fl(a,3)),attributeChangesList:Ub(oj(a,wu,4),nPb),reasonType:n(p(a,5))}};var xu=function(a){this.internalArray_=l(a)};U(xu,q);xu.repeatedFields_=[7];xu.prototype.toObject=function(){return qPb(this)};var qPb=function(a){if(null!=a){t(a);var b=n(Ft(a,1)),c=n(Ft(a,2)),d=n(Ft(a,3)),e=n(Ft(a,4));var g=Ab(a,5,vba);return{characterCount:b,wordCount:c,nonStopWordCount:d,newLineCount:e,punctuationCountMap:Wb(g),validUrlCount:n(Ft(a,6)),languageCodeList:n(Xh(a,7))}}};var yu=function(a){this.internalArray_=l(a)};U(yu,q);yu.repeatedFields_=[7];yu.prototype.toObject=function(){return rPb(this)};var rPb=function(a){if(null!=a)return t(a),{discussionId:n(X(a,3)),postId:n(X(a,4)),linkToDoco:n(X(a,5)),suggestionId:n(X(a,6)),mentionedUsersList:n(sl(a,7)),assignedUser:n(p(a,8)),commentSummary:qPb(W(a,xu,9)),anchorTextSummary:qPb(W(a,xu,10))}};var sPb=function(a){this.internalArray_=l(a)};U(sPb,q);sPb.prototype.toObject=function(){return tPb(this)};var tPb=function(a){if(null!=a)return t(a),{originalTitle:n(X(a,1)),originalDocid:n(X(a,3)),originalCustomerId:n(p(a,4)),originalOwnerGaiaId:n(p(a,5)),originalMimeType:n(X(a,6))}};var zu=function(a){this.internalArray_=l(a)};U(zu,q);zu.prototype.getId=function(){return uj(this,1)};zu.prototype.setId=function(a){return cj(this,1,a)};zu.prototype.toObject=function(){return uPb(this)};var uPb=function(a){if(null!=a)return t(a),{id:n(p(a,1))}};var Au=function(a){this.internalArray_=l(a)};U(Au,q);Au.repeatedFields_=[1];Au.prototype.toObject=function(){return vPb(this)};var vPb=function(a){if(null!=a)return t(a),{matchingRuleList:Ub(oj(a,zu,1),uPb)}};var wPb=function(a){this.internalArray_=l(a)};U(wPb,q);wPb.prototype.toObject=function(){return xPb(this)};var xPb=function(a){if(null!=a)return t(a),{previousViolation:vPb(W(a,Au,1)),currentViolation:vPb(W(a,Au,2))}};var yPb=function(a){this.internalArray_=l(a)};U(yPb,q);yPb.prototype.toObject=function(){return zPb(this)};var zPb=function(a){if(null!=a)return t(a),{sourceDomainGaiaId:n(p(a,1)),destinationDomainGaiaId:n(p(a,2))}};var APb=function(a){this.internalArray_=l(a)};U(APb,q);APb.prototype.toObject=function(){return BPb(this)};var BPb=function(a){if(null!=a)return t(a),{downloadUuid:n(X(a,1))}};var CPb=function(a){this.internalArray_=l(a)};U(CPb,q);CPb.repeatedFields_=[1];CPb.prototype.toObject=function(){return DPb(this)};var DPb=function(a){if(null!=a)return t(a),{additionalEffectiveEntriesList:Ub(oj(a,bu,1),cu)}};var EPb=function(a){this.internalArray_=l(a)};U(EPb,q);EPb.repeatedFields_=[1];EPb.prototype.toObject=function(){return FPb(this)};var FPb=function(a){if(null!=a)return t(a),{recipientEmailList:n(Xh(a,1))}};var GPb=function(a){this.internalArray_=l(a)};U(GPb,q);GPb.prototype.toObject=function(){return HPb(this)};var HPb=function(a){if(null!=a)return t(a),{allowLessSecureLink:n(Ur(a,1))}};var IPb=function(a){this.internalArray_=l(a)};U(IPb,q);IPb.prototype.toObject=function(){return JPb(this)};var JPb=function(a){if(null!=a)return t(a),{lockType:n(p(a,1))}};var KPb=function(a){this.internalArray_=l(a)};U(KPb,q);f=KPb.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return uk(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return uk(this,2,a)};f.toObject=function(){return LPb(this)};var LPb=function(a){if(null!=a)return t(a),{id:n(X(a,1)),title:n(X(a,2)),isRoot:n(Ur(a,3)),isTeamDriveRoot:n(Ur(a,4))}};var Bu=function(a){this.internalArray_=l(a)};U(Bu,q);Bu.prototype.getParentId=function(){return V(this,1)};Bu.prototype.setParentId=function(a){return uk(this,1,a)};Bu.prototype.toObject=function(){return MPb(this)};var MPb=function(a){if(null!=a)return t(a),{parentId:n(X(a,1)),shortcutId:n(X(a,2))}};var NPb=function(a){this.internalArray_=l(a)};U(NPb,q);NPb.repeatedFields_=[1,2];NPb.prototype.toObject=function(){return OPb(this)};var OPb=function(a){if(null!=a)return t(a),{migratedParentsList:Ub(oj(a,Bu,1),MPb),removedParentIdsList:n(Xh(a,2))}};var Cu=function(a){this.internalArray_=l(a)};U(Cu,q);Cu.prototype.getReason=function(){return aj(this,1,0)};Cu.prototype.setReason=function(a){cj(this,1,a)};Cu.prototype.toObject=function(){return PPb(this)};var PPb=function(a){if(null!=a)return t(a),{reason:n(p(a,1))}};var QPb=function(a){this.internalArray_=l(a)};U(QPb,q);QPb.repeatedFields_=[1,2,3];QPb.prototype.toObject=function(){return RPb(this)};var RPb=function(a){if(null!=a)return t(a),{addedParentList:Ub(oj(a,KPb,1),LPb),removedParentList:Ub(oj(a,KPb,2),LPb),reparentReasonList:Ub(oj(a,Cu,3),PPb),multiparentMigrationInfo:OPb(W(a,NPb,4))}};var SPb=function(a){this.internalArray_=l(a)};U(SPb,q);SPb.repeatedFields_=[1];SPb.prototype.toObject=function(){return TPb(this)};var TPb=function(a){if(null!=a)return t(a),{authedUsersList:n(sl(a,1))}};var UPb=function(a){this.internalArray_=l(a)};U(UPb,q);var VPb=[2];UPb.prototype.toObject=function(){return WPb(this)};var WPb=function(a){if(null!=a)return t(a),{privateDescription:n(X(a,1)),authedUserList:TPb(fk(a,SPb,2,VPb))}};var XPb=function(a){this.internalArray_=l(a)};U(XPb,q);f=XPb.prototype;f.getText=function(){return V(this,1)};f.setText=function(a){return uk(this,1,a)};f.getUrl=function(){return V(this,2)};f.setUrl=function(a){return uk(this,2,a)};f.hasUrl=function(){return Jk(this,2)};f.toObject=function(){return YPb(this)};var YPb=function(a){if(null!=a)return t(a),{text:n(X(a,1)),url:n(X(a,2)),privateContext:WPb(W(a,UPb,3))}};var Du=function(a){this.internalArray_=l(a)};U(Du,q);Du.repeatedFields_=[1];Du.prototype.toObject=function(){return ZPb(this)};var ZPb=function(a){if(null!=a)return t(a),{ownerGaiaIdList:n(zb(a,1,hb)),ownerIsTeamDrive:n(Ur(a,2)),teamDriveRootId:n(X(a,3)),teamDriveName:n(X(a,4)),teamDriveCreatorId:n(p(a,5))}};var $Pb=function(a){this.internalArray_=l(a)};U($Pb,q);$Pb.prototype.toObject=function(){return aQb(this)};var aQb=function(a){if(null!=a)return t(a),{publishMode:n(p(a,1)),signinRequired:n(Ur(a,2)),publishedTime:mu(W(a,Rh,3))}};var bQb=function(a){this.internalArray_=l(a)};U(bQb,q);bQb.prototype.toObject=function(){return cQb(this)};var cQb=function(a){if(null!=a)return t(a),{oldPublishState:aQb(W(a,$Pb,1)),newPublishState:aQb(W(a,$Pb,2))}};var dQb=function(a){this.internalArray_=l(a)};U(dQb,q);dQb.prototype.toObject=function(){return eQb(this)};var eQb=function(a){if(null!=a)return t(a),{oldTitle:n(X(a,1)),newTitle:n(X(a,2))}};var fQb=function(a){this.internalArray_=l(a)};U(fQb,q);fQb.repeatedFields_=[2];fQb.prototype.toObject=function(){return gQb(this)};var gQb=function(a){if(null!=a)return t(a),{recipientDocId:n(X(a,1)),importedRangesList:n(Xh(a,2))}};var Eu=function(a){this.internalArray_=l(a)};U(Eu,q);f=Eu.prototype;f.getType=function(){return aj(this,1,1)};f.setType=function(a){return cj(this,1,a)};f.hasType=function(){return tj(this,1)};f.getAppId=function(){return V(this,2)};f.setAppId=function(a){uk(this,2,a)};f.toObject=function(){return hQb(this)};var hQb=function(a){if(null!=a)return t(a),{type:aj(a,1,1),appId:n(X(a,2))}};var iQb=function(a){this.internalArray_=l(a)};U(iQb,q);iQb.prototype.toObject=function(){return jQb(this)};var jQb=function(a){if(null!=a)return t(a),{newItemId:n(X(a,1)),newItemTitle:n(X(a,2)),newItemCustomerId:n(p(a,3)),newOwnerGaiaId:n(p(a,4)),newMimeType:n(X(a,5))}};var kQb=function(a){this.internalArray_=l(a)};U(kQb,q);kQb.prototype.toObject=function(){return lQb(this)};var lQb=function(a){if(null!=a)return t(a),{packageRootId:n(X(a,1)),packageParentId:n(X(a,2)),packageMimeType:n(X(a,3))}};var Fu=function(a){this.internalArray_=l(a)};U(Fu,q);f=Fu.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return uk(this,1,a)};f.getVersion=function(){return It(this,4)};f.setVersion=function(a){return cj(this,4,a)};f.getVersionOrUndefined=function(){var a=p(this,4);return null==a?void 0:a};f.getName=function(){return V(this,2)};f.setName=function(a){return uk(this,2,a)};f.hasName=function(){return Jk(this,2)};f.getNameOrUndefined=function(){return Tt(this,2)};
f.getMimeType=function(){return V(this,3)};f.setMimeType=function(a){uk(this,3,a)};Fu.repeatedFields_=[6];Fu.prototype.toObject=function(){return mQb(this)};var mQb=function(a){if(null!=a)return t(a),{id:n(X(a,1)),version:n(p(a,4)),name:n(X(a,2)),mimeType:n(X(a,3)),objectType:aj(a,5,0),objectFamilyList:n(Uh(a,6)),isTeamDriveRoot:n(Ur(a,7)),packageEmbeddingData:lQb(W(a,kQb,8)),shortcutTargetId:n(X(a,9)),shortcutTargetMimeType:n(X(a,10))}};var nQb=function(a){this.internalArray_=l(a)};U(nQb,q);nQb.prototype.toObject=function(){return oQb(this)};var oQb=function(a){if(null!=a)return t(a),{allowLessSecureLinkForAllFiles:n(Ur(a,1))}};var pQb=function(a){this.internalArray_=l(a)};U(pQb,q);pQb.repeatedFields_=[5,6,10,9];pQb.prototype.toObject=function(){return qQb(this)};
var qQb=function(a){if(null!=a)return t(a),{teamDriveId:n(X(a,1)),teamDriveJoinMessage:n(X(a,3)),membershipChangeType:n(p(a,4)),addedTeamDriveRoleList:n(fl(a,5)),removedTeamDriveRoleList:n(fl(a,6)),resharedTeamDriveRoleList:n(fl(a,10)),sendShareNotification:Vj(a,7,!0),isIndirectMembershipChange:n(Ur(a,8)),indirectGroupsList:n(zb(a,9,hb)),isFromGroupAddedToTeamDrive:n(Ur(a,11))}};var Gu=function(a){this.internalArray_=l(a)};U(Gu,q);Gu.prototype.getOldValue=function(){return aj(this,1,0)};Gu.prototype.getNewValue=function(){return aj(this,2,0)};Gu.prototype.toObject=function(){return Hu(this)};var Hu=function(a){if(null!=a)return t(a),{oldValue:n(p(a,1)),newValue:n(p(a,2))}};var Iu=function(a){this.internalArray_=l(a)};U(Iu,q);Iu.prototype.getDownload=function(){return W(this,Gu,3)};Iu.prototype.setDownload=function(a){lj(this,Gu,3,a)};Iu.prototype.toObject=function(){return rQb(this)};var rQb=function(a){if(null!=a)return t(a),{crossDomainSharing:Hu(W(a,Gu,1)),directAcl:Hu(W(a,Gu,2)),download:Hu(a.getDownload()),driveFs:Hu(W(a,Gu,4)),fileOrganizerCanShareFolders:Hu(W(a,Gu,5))}};var sQb=function(a){this.internalArray_=l(a)};U(sQb,q);sQb.prototype.toObject=function(){return tQb(this)};var tQb=function(a){if(null!=a)return t(a),{currentState:n(p(a,1)),restoredSinceThisEvent:n(Ur(a,2))}};var Ju=function(a){this.internalArray_=l(a)};U(Ju,q);Ju.prototype.getCode=function(){return aj(this,2,0)};Ju.prototype.setCode=function(a){return cj(this,2,a)};Ju.prototype.toObject=function(){return uQb(this)};var uQb=function(a){if(null!=a)return t(a),{entry:cu(W(a,bu,1)),code:aj(a,2,0)}};var vQb=function(a){this.internalArray_=l(a)};U(vQb,q);vQb.repeatedFields_=[1,2,3,4];vQb.prototype.toObject=function(){return wQb(this)};var wQb=function(a){if(null!=a)return t(a),{addedEntryVisibilityList:Ub(oj(a,Ju,1),uQb),removedEntryVisibilityList:Ub(oj(a,Ju,2),uQb),fullAclVisibilityList:n(fl(a,3)),beforeEventVisibilityList:n(fl(a,4))}};var xQb=function(a){this.internalArray_=l(a)};U(xQb,q);xQb.repeatedFields_=[1,2];xQb.prototype.toObject=function(){return yQb(this)};var yQb=function(a){if(null!=a)return t(a),{addedWorkspaceIdsList:n(Xh(a,1)),removedWorkspaceIdsList:n(Xh(a,2))}};var zQb=function(a){this.internalArray_=l(a)};U(zQb,q);zQb.prototype.toObject=function(){return AQb(this)};var AQb=function(a){if(null!=a)return t(a),{deviceUserSessionId:n(X(a,1)),userAuthenticationTimeMs:n(p(a,2))}};var Ku=function(a){this.internalArray_=l(a)};U(Ku,q);Ku.prototype.getType=function(){return aj(this,1,0)};Ku.prototype.setType=function(a){return cj(this,1,a)};Ku.prototype.hasType=function(){return tj(this,1)};Ku.prototype.toObject=function(){return BQb(this)};var BQb=function(a){if(null!=a)return t(a),{type:n(p(a,1)),groupingId:n(X(a,2)),propagationStartTimeMillis:n(p(a,3)),propagationRootItemId:n(X(a,4))}};var CQb=function(a){this.internalArray_=l(a)};U(CQb,q);CQb.prototype.toObject=function(){return DQb(this)};var DQb=function(a){if(null!=a)return t(a),{intentType:n(p(a,1))}};var Lu=function(a){this.internalArray_=l(a)};U(Lu,q);Lu.prototype.getType=function(){return aj(this,1,0)};Lu.prototype.setType=function(a){return cj(this,1,a)};Lu.prototype.hasType=function(){return tj(this,1)};Lu.prototype.toObject=function(){return EQb(this)};var EQb=function(a){if(null!=a)return t(a),{type:n(p(a,1))}};var Mu=function(a){this.internalArray_=l(a)};U(Mu,q);Mu.prototype.getEmail=function(){return V(this,14)};Mu.prototype.setEmail=function(a){return uk(this,14,a)};Mu.prototype.hasEmail=function(){return Jk(this,14)};Mu.prototype.toObject=function(){return FQb(this)};var FQb=function(a){if(null!=a)return t(a),{gaiaid:n(p(a,13)),email:n(X(a,14))}};var Nu=function(a){this.internalArray_=l(a)};U(Nu,q);Nu.prototype.getId=function(){return It(this,11)};Nu.prototype.setId=function(a){return cj(this,11,a)};Nu.prototype.toObject=function(){return GQb(this)};var GQb=function(a){if(null!=a)return t(a),{id:n(p(a,11))}};var HQb=function(a){this.internalArray_=l(a)};U(HQb,q);HQb.repeatedFields_=[10];HQb.prototype.toObject=function(){return IQb(this)};var IQb=function(a){if(null!=a)return t(a),{keyvalue:n(p(a,9)),gaiaIdList:Ub(oj(a,Nu,10),GQb)}};var JQb=function(a){this.internalArray_=l(a)};U(JQb,q);JQb.repeatedFields_=[1];JQb.prototype.toObject=function(){return KQb(this)};var KQb=function(a){if(null!=a)return t(a),{scopeList:Ub(oj(a,au,1),ROb)}};var Ou=function(a){this.internalArray_=l(a)};U(Ou,q);Ou.prototype.getWrappedkeyList=function(){return oj(this,Wt,2)};Ou.repeatedFields_=[2];Ou.prototype.toObject=function(){return LQb(this)};var LQb=function(a){if(null!=a)return t(a),{hmacsha1:Xb(Sj(a,1)),wrappedkeyList:Ub(a.getWrappedkeyList(),Xt)}};var Pu=function(a){this.internalArray_=l(a)};U(Pu,q);Pu.prototype.getEmail=function(){return V(this,2)};Pu.prototype.setEmail=function(a){return uk(this,2,a)};Pu.prototype.hasEmail=function(){return Jk(this,2)};Pu.repeatedFields_=[12,7];Pu.prototype.toObject=function(){return MQb(this)};
var MQb=function(a){if(null!=a)return t(a),{inviteid:n(p(a,1)),requirelistedtoken:Vj(a,13,!1),tokenmetadataList:Ub(oj(a,Ou,12),LQb),email:n(X(a,2)),singleuse:Vj(a,3,!1),uses:n(Ft(a,4)),creationtimems:n(p(a,5)),rolevalue:n(Ft(a,6)),recipientemailList:n(Xh(a,7)),indirect:n(Ur(a,8)),expirationtimems:n(p(a,9)),allowanonymoususage:n(Ur(a,11)),inviter:n(p(a,14)),obsolete10:Xb(Sj(a,10))}};var NQb=function(a){this.internalArray_=l(a)};U(NQb,q);NQb.repeatedFields_=[1];NQb.prototype.toObject=function(){return OQb(this)};var OQb=function(a){if(null!=a)return t(a),{abuseTypeList:n(Uh(a,1))}};var PQb=function(a){this.internalArray_=l(a)};U(PQb,q);PQb.prototype.toObject=function(){return QQb(this)};var QQb=function(a){if(null!=a)return t(a),{minimumAgeYears:n(Ft(a,1)),maximumAgeYears:n(Ft(a,2))}};var RQb=function(a){this.internalArray_=l(a)};U(RQb,q);RQb.prototype.getContentType=function(){return aj(this,1,1)};RQb.prototype.toObject=function(){return SQb(this)};var SQb=function(a){if(null!=a)return t(a),{contentType:n(p(a,1))}};var TQb=function(a){this.internalArray_=l(a)};U(TQb,q);TQb.repeatedFields_=[2];TQb.prototype.toObject=function(){return UQb(this)};var UQb=function(a){if(null!=a)return t(a),{globalAgeRestriction:QQb(W(a,PQb,1)),locationBasedAgeRestrictionList:Ub(oj(a,RQb,2),SQb)}};var VQb=function(a){this.internalArray_=l(a)};U(VQb,q);var WQb=[1];VQb.prototype.toObject=function(){return XQb(this)};var XQb=function(a){if(null!=a)return t(a),{driveItemContentRegion:n(vn(a,1,WQb))}};var YQb=function(a){this.internalArray_=l(a)};U(YQb,q);YQb.prototype.toObject=function(){return ZQb(this)};var ZQb=function(a){if(null!=a)return t(a),{matchingDetectorId:n(X(a,1)),matchingDlpContentRegion:XQb(W(a,VQb,2))}};var $Qb=function(a){this.internalArray_=l(a)};U($Qb,q);$Qb.repeatedFields_=[2,3];$Qb.prototype.toObject=function(){return aRb(this)};var aRb=function(a){if(null!=a)return t(a),{matchingRuleId:n(p(a,1)),matchingDetectorIdList:n(Xh(a,2)),matchingDetectorDetailList:Ub(oj(a,YQb,3),ZQb)}};var Qu=function(a){this.internalArray_=l(a)};U(Qu,q);Qu.prototype.getObsolete4=function(){return oOb(this,4)};Qu.repeatedFields_=[2,3,4];Qu.prototype.toObject=function(){return bRb(this)};var bRb=function(a){if(null!=a)return t(a),{timestampMillis:n(p(a,1)),obsolete2List:n(sl(a,2)),matchingDlpRuleList:Ub(oj(a,$Qb,3),aRb),obsolete4List:n(sl(a,4)),matchedAtleastOnce:n(Ur(a,5))}};var Ru=function(a){this.internalArray_=l(a)};U(Ru,q);Ru.prototype.toObject=function(){return cRb(this)};var cRb=function(a){if(null!=a)return t(a),{domainId:n(p(a,1))}};var dRb=function(a){this.internalArray_=l(a)};U(dRb,q);dRb.prototype.hasUserId=function(){return $k(this,1)};dRb.prototype.toObject=function(){return eRb(this)};var eRb=function(a){if(null!=a)return t(a),{userId:n(p(a,1))}};var fRb=function(a){this.internalArray_=l(a)};U(fRb,q);f=fRb.prototype;f.getDomain=function(){return W(this,Ru,2)};f.setDomain=function(a){return lj(this,Ru,2,a)};f.hasDomain=function(){return Pj(this,Ru,2)};f.getDlpInfo=function(){return W(this,Qu,5)};f.toObject=function(){return gRb(this)};var gRb=function(a){if(null!=a)return t(a),{liableUser:eRb(W(a,dRb,1)),domain:cRb(a.getDomain()),abuse:OQb(W(a,NQb,3)),ageRestriction:UQb(W(a,TQb,4)),dlpInfo:bRb(a.getDlpInfo())}};var hRb=function(a){this.internalArray_=l(a)};U(hRb,q);hRb.prototype.toObject=function(){return iRb(this)};var iRb=function(a){if(null!=a)return t(a),{gaiaEmail:Vj(a,1,!1)}};var jRb=function(a){this.internalArray_=l(a)};U(jRb,q);jRb.prototype.getScope=function(){return W(this,au,1)};jRb.prototype.toObject=function(){return kRb(this)};var kRb=function(a){if(null!=a)return t(a),{scope:ROb(a.getScope()),knownsharetimedata:iRb(W(a,hRb,3))}};var Su=function(a){this.internalArray_=l(a)};U(Su,q);Su.prototype.getEntriesList=function(){return oj(this,bu,2)};Su.repeatedFields_=[2,17,3,7,8,12,22,20];Su.prototype.toObject=function(){return Tu(this)};
var Tu=function(a){if(null!=a)return t(a),{entriesList:Ub(a.getEntriesList(),cu),scopeinfoList:Ub(oj(a,jRb,17),kRb),invitesList:Ub(oj(a,Pu,3),MQb),obsolete16:Xb(Sj(a,16)),writerscaneditacl:n(Ur(a,4)),readerscaneditacl:n(Ur(a,6)),noanonymousaccess:n(Ur(a,5)),revokedkeyvaluesList:n(zb(a,7,hb)),persistentAccessSetList:Ub(oj(a,HQb,8),IQb),acceptedEmailInviteList:Ub(oj(a,Mu,12),FQb),requiredscopes:KQb(W(a,JQb,15)),policydata:gRb(W(a,fRb,18)),zookie:Xb(Sj(a,19)),resourceid:MOb(W(a,Yt,21)),zanzibarwrappedkeyList:Ub(oj(a,
Wt,22),Xt),ticketedwrappedkeyList:Ub(oj(a,Wt,20),Xt)}};var lRb=function(a){this.internalArray_=l(a)};U(lRb,q);lRb.prototype.toObject=function(){return mRb(this)};var mRb=function(a){if(null!=a)return t(a),{membershipAcl:Tu(W(a,Su,2)),visitorAcl:Tu(W(a,Su,3)),teamDriveState:n(p(a,4)),inheritedAcl:Tu(W(a,Su,5))}};var nRb=function(a){this.internalArray_=l(a)};U(nRb,q);nRb.prototype.toObject=function(){return oRb(this)};var oRb=function(a){if(null!=a)return t(a),{domainPolicyVisibilityState:n(p(a,1)),namedPartyState:n(p(a,2))}};var Uu=function(a){this.internalArray_=l(a)};U(Uu,q);f=Uu.prototype;f.getEventType=function(){return Mt(this,2)};f.setEventType=function(a){return Fb(this,2,a,void 0,fl)};f.getSource=function(){return W(this,Eu,35)};f.setSource=function(a){return lj(this,Eu,35,a)};f.hasSource=function(){return Pj(this,Eu,35)};f.getTimestamp=function(){return It(this,4)};f.setTimestamp=function(a){return cj(this,4,a)};f.hasTimestamp=function(){return null!=p(this,4)};f.getUser=function(){return It(this,5)};
f.setUser=function(a){cj(this,5,a)};f.hasUser=function(){return null!=p(this,5)};f.getTarget=function(){return W(this,Fu,6)};f.setTarget=function(a){return lj(this,Fu,6,a)};f.getComment=function(){return W(this,yu,14)};f.setComment=function(a){lj(this,yu,14,a)};f.getVisibility=function(){return W(this,vQb,51)};f.getDownload=function(){return W(this,APb,91)};f.setDownload=function(a){lj(this,APb,91,a)};f.getEventId=function(){return V(this,18)};f.setEventId=function(a){uk(this,18,a)};
f.getParent=function(a){return Lt(this,20,a)};f.setParent=function(a){return Ot(this,20,a)};f.getDlpInfo=function(){return W(this,Qu,64)};Uu.repeatedFields_=[2,41,29,57,24,77,85,20,21,22,39];Uu.prototype.toObject=function(){return pRb(this)};
var pRb=function(a){if(null!=a)return t(a),{primaryEventType:n(p(a,1)),eventTypeList:n(fl(a,2)),originatingApp:n(X(a,15)),originatingAppSubId:n(X(a,34)),source:hQb(a.getSource()),isAdminAction:Vj(a,31,!1),isSupportActor:Vj(a,93,!1),systemEvent:EQb(W(a,Lu,68)),requestIntentList:Ub(oj(a,CQb,41),DQb),timestamp:n(p(a,4)),user:n(p(a,5)),targetUserList:n(zb(a,29,hb)),targetGroupList:n(zb(a,57,hb)),target:mQb(a.getTarget()),move:RPb(W(a,QPb,7)),rename:eQb(W(a,dQb,8)),aclChange:ZOb(W(a,ju,9)),visitorAclChange:ZOb(W(a,
ju,55)),teamDriveInheritedAclChange:ZOb(W(a,ju,82)),copy:tPb(W(a,sPb,13)),sourceCopy:jQb(W(a,iQb,90)),comment:rPb(a.getComment()),trash:tQb(W(a,sQb,56)),dlpUpdate:xPb(W(a,wPb,52)),teamDriveMembershipChange:qQb(W(a,pQb,46)),teamDriveSettingsChange:rQb(W(a,Iu,70)),teamDriveLinkShareMetadataChange:oQb(W(a,nQb,88)),visibility:wQb(a.getVisibility()),originAppContext:YPb(W(a,XPb,65)),approvalChangeMessage:jPb(W(a,ru,75)),approvalSystemNotificationMessage:kPb(W(a,su,78)),accessRequestMessage:YOb(W(a,iu,
72)),sheetsRangeImportMessage:gQb(W(a,fQb,74)),propagationInfo:BQb(W(a,Ku,66)),hijackDetectionInfo:AQb(W(a,zQb,67)),ownerDomainIdList:n(zb(a,24,hb)),actorDomainId:n(p(a,59)),ownerCustomerId:n(p(a,79)),actorCustomerId:n(p(a,80)),previousOwnerCustomerId:n(p(a,92)),viewHistoryVisibility:oRb(W(a,nRb,71)),categoryMetadataChangesList:Ub(oj(a,oPb,77),pPb),publishChange:cQb(W(a,bQb,84)),appliedLabelChangesList:Ub(oj(a,qu,85),gPb),linkShareMetadataChange:HPb(W(a,GPb,87)),download:BPb(a.getDownload()),lock:JPb(W(a,
IPb,94)),eventId:n(X(a,18)),parentList:n(Xh(a,20)),ancestorList:n(Xh(a,21)),subscriberList:n(zb(a,22,hb)),ownerInfo:ZPb(W(a,Du,62)),previousOwnerInfo:ZPb(W(a,Du,61)),creatorGaiaId:n(p(a,63)),acl:Tu(W(a,Su,25)),teamDriveAcls:mRb(W(a,lRb,76)),ipAddress:n(X(a,26)),trashed:n(Ur(a,27)),dlpInfo:bRb(a.getDlpInfo()),customExtensionList:Ub(oj(a,TOb,39),UOb),domainTransferData:zPb(W(a,yPb,73)),workspaceChange:yQb(W(a,xQb,81)),emailAsAttachment:FPb(W(a,EPb,83)),effectiveAclChangeInfo:DPb(W(a,CPb,86))}};eu[10837399]=Tb(10837399,{messageSetExtension:0},Su,Tu);eu[62513794]=Tb(62513794,{messageSetExtension:0},Uu,pRb);var qRb=function(a){this.internalArray_=l(a)};U(qRb,q);qRb.prototype.getResourceKey=function(){return X(this,2)};qRb.prototype.toObject=function(){return rRb(this)};var rRb=function(a){if(null!=a)return t(a),{resourceKey:n(X(a,2))}};var sRb=function(a){this.internalArray_=l(a)};U(sRb,q);sRb.prototype.getCustomerId=function(){return X(this,1)};sRb.prototype.toObject=function(){return tRb(this)};var tRb=function(a){if(null!=a)return t(a),{customerId:n(X(a,1))}};var uRb=function(a){this.internalArray_=l(a)};U(uRb,q);uRb.prototype.toObject=function(){return vRb(this)};var vRb=function(a){if(null!=a)return t(a),{}};var wRb=function(a){this.internalArray_=l(a)};U(wRb,q);wRb.prototype.getCustomerId=function(){return W(this,sRb,1)};wRb.prototype.toObject=function(){return xRb(this)};var xRb=function(a){if(null!=a)return t(a),{customerId:tRb(a.getCustomerId())}};var yRb=function(a){this.internalArray_=l(a)};U(yRb,q);var zRb=[1,2];yRb.prototype.toObject=function(){return ARb(this)};var ARb=function(a){if(null!=a)return t(a),{consumerInfo:vRb(fk(a,uRb,1,zRb)),customerInfo:xRb(fk(a,wRb,2,zRb))}};var Vu=function(a){this.internalArray_=l(a)};U(Vu,q);Vu.prototype.toObject=function(){return BRb(this)};var BRb=function(a){if(null!=a)return t(a),{membershipCount:n(Ft(a,1)),memberType:n(p(a,2)),membershipState:n(p(a,3))}};var Wu=function(a){this.internalArray_=l(a)};U(Wu,q);Wu.prototype.getValueList=function(){return oj(this,Vu,1)};Wu.prototype.addValue=function(){return Mo(this,1,Vu)};Wu.prototype.setValue=function(a,b){return zt(this,1,Vu,a,b)};Wu.repeatedFields_=[1];Wu.prototype.toObject=function(){return CRb(this)};var CRb=function(a){if(null!=a)return t(a),{valueList:Ub(a.getValueList(),BRb)}};var Xu=function(a){this.internalArray_=l(a)};U(Xu,q);Xu.prototype.getDescription=function(){return V(this,3)};Xu.prototype.setDescription=function(a){return zj(this,3,a)};Xu.prototype.toObject=function(){return DRb(this)};var DRb=function(a){if(null!=a)return t(a),{sourceName:V(a,1),sourceLogoUrl:V(a,2),description:V(a,3),creditName:V(a,4),attributionUrl:V(a,5)}};var Yu=function(a){this.internalArray_=l(a)};U(Yu,q);Yu.prototype.getIndex=function(){return Ht(this,1)};Yu.prototype.setIndex=function(a){Db(this,1,eb(a),0)};Yu.prototype.toObject=function(){return ERb(this)};var ERb=function(a){if(null!=a)return t(a),{index:Ht(a,1),dataSourceIndex:Ht(a,2)}};var Zu=function(a){this.internalArray_=l(a)};U(Zu,q);f=Zu.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return zj(this,1,a)};f.getSourceId=function(){return aj(this,2,0)};f.setSourceId=function(a){return $i(this,2,a)};f.toObject=function(){return FRb(this)};var FRb=function(a){if(null!=a)return t(a),{id:V(a,1),sourceId:aj(a,2,0)}};var GRb=function(a){this.internalArray_=l(a)};U(GRb,q);GRb.prototype.toObject=function(){return HRb(this)};var HRb=function(a){if(null!=a)return t(a),{sampleRate:Vh(a,1),samples:Xb(Sj(a,2))}};var Th=function(a){this.internalArray_=l(a)};U(Th,q);f=Th.prototype;f.getSeconds=function(){return uj(this,1)};f.setSeconds=function(a){return Nb(this,1,a)};f.getNanos=function(){return Vh(this,2)};f.setNanos=function(a){return Kb(this,2,a)};f.toObject=function(){return $u(this)};var $u=function(a){if(null!=a)return t(a),{seconds:uj(a,1),nanos:Vh(a,2)}};var av=function(a){this.internalArray_=l(a)};U(av,q);av.prototype.getDuration=function(){return W(this,Th,1)};av.prototype.hasDuration=function(){return Pj(this,Th,1)};av.prototype.toObject=function(){return IRb(this)};var IRb=function(a){if(null!=a)return t(a),{duration:$u(a.getDuration()),internalPreviewUrl:V(a,2),internalWaveformUrl:V(a,3),internalWaveformData:HRb(W(a,GRb,4))}};var bv=function(a){this.internalArray_=l(a)};U(bv,q);f=bv.prototype;f.getUrl=function(){return V(this,1)};f.setUrl=function(a){return zj(this,1,a)};f.getHeight=function(){return Vh(this,2)};f.setHeight=function(a){return Kb(this,2,a)};f.getWidth=function(){return Vh(this,3)};f.setWidth=function(a){return Kb(this,3,a)};f.toObject=function(){return cv(this)};var cv=function(a){if(null!=a)return t(a),{url:V(a,1),height:Vh(a,2),width:Vh(a,3),rotation:Ht(a,4)}};var dv=function(a){this.internalArray_=l(a)};U(dv,q);dv.prototype.getDuration=function(){return W(this,Th,2)};dv.prototype.hasDuration=function(){return Pj(this,Th,2)};dv.prototype.getFormat=function(){return Jt(this,4)};dv.repeatedFields_=[4];dv.prototype.toObject=function(){return JRb(this)};var JRb=function(a){if(null!=a)return t(a),{aspectRatio:vj(a,1),duration:$u(a.getDuration()),internalPreviewUrl:V(a,3),streamingUrl:V(a,5),formatList:n(Uh(a,4))}};var KRb=function(a){this.internalArray_=l(a)};U(KRb,q);KRb.prototype.toObject=function(){return LRb(this)};var LRb=function(a){if(null!=a)return t(a),{left:vj(a,1),top:vj(a,2),right:vj(a,3),bottom:vj(a,4)}};var ev=function(a){this.internalArray_=l(a)};U(ev,q);ev.prototype.getRotate=function(){return Vh(this,2)};ev.prototype.setRotate=function(a){return Kb(this,2,a)};ev.prototype.toObject=function(){return MRb(this)};var MRb=function(a){if(null!=a)return t(a),{cropCoordinates:LRb(W(a,KRb,1)),rotate:Vh(a,2),caption:V(a,3)}};var NRb=function(a){this.internalArray_=l(a)};U(NRb,q);f=NRb.prototype;f.getEmail=function(){return V(this,1)};f.setEmail=function(a){return zj(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return zj(this,2,a)};f.getDisplayName=function(){return V(this,3)};f.setDisplayName=function(a){return zj(this,3,a)};f.toObject=function(){return ORb(this)};
var ORb=function(a){if(null!=a)return t(a),{email:V(a,1),name:V(a,2),displayName:V(a,3),templateProfilePhotoUrl:V(a,4),profilePhoto:cv(W(a,bv,5))}};var fv=function(a){this.internalArray_=l(a)};U(fv,q);fv.prototype.getBackgroundColor=function(){return V(this,2)};fv.prototype.setBackgroundColor=function(a){zj(this,2,a)};fv.prototype.setSelected=function(a){return Ib(this,5,a)};fv.prototype.toObject=function(){return PRb(this)};var PRb=function(a){if(null!=a)return t(a),{accessRole:aj(a,1,0),backgroundColor:V(a,2),foregroundColor:V(a,3),hidden:Vj(a,4),selected:Vj(a,5),profileMetadata:ORb(W(a,NRb,6))}};var QRb=function(a){this.internalArray_=l(a)};U(QRb,q);QRb.prototype.toObject=function(){return RRb(this)};var RRb=function(a){if(null!=a)return t(a),{rawBytes:Xb(Sj(a,1))}};var gv=function(a){this.internalArray_=l(a)};U(gv,q);f=gv.prototype;f.getEmailList=function(){return Xh(this,1)};f.addEmail=function(a){return Eb(this,1,ib(a))};f.getEmail=function(a){return Lt(this,1,a)};f.setEmail=function(a){return Ot(this,1,a)};f.getGroupId=function(a){return Lt(this,2,a)};f.setGroupId=function(a){Ot(this,2,a)};gv.repeatedFields_=[1,2];gv.prototype.toObject=function(){return SRb(this)};var SRb=function(a){if(null!=a)return t(a),{emailList:n(Xh(a,1)),groupIdList:n(Xh(a,2))}};var TRb=function(a){this.internalArray_=l(a)};U(TRb,q);TRb.prototype.toObject=function(){return URb(this)};var URb=function(a){if(null!=a)return t(a),{searchTerm:V(a,1)}};var VRb=function(a){this.internalArray_=l(a)};U(VRb,q);VRb.prototype.toObject=function(){return WRb(this)};var WRb=function(a){if(null!=a)return t(a),{originalGif:cv(W(a,bv,1)),originalLmsImage:cv(W(a,bv,2)),collectionMetadata:URb(W(a,TRb,3))}};var XRb=function(a){this.internalArray_=l(a)};U(XRb,q);XRb.prototype.getCategory=function(){return aj(this,1,0)};XRb.prototype.toObject=function(){return YRb(this)};var YRb=function(a){if(null!=a)return t(a),{category:aj(a,1,0),categoryLabel:V(a,2)}};var hv=function(a){this.internalArray_=l(a)};U(hv,q);hv.prototype.getTotalItems=function(){return Ht(this,1)};hv.prototype.setTotalItems=function(a){return Db(this,1,eb(a),0)};hv.prototype.toObject=function(){return ZRb(this)};var ZRb=function(a){if(null!=a)return t(a),{totalItems:Ht(a,1),startTimestamp:mu(W(a,Rh,2)),endTimestamp:mu(W(a,Rh,3))}};var iv=function(a){this.internalArray_=l(a)};U(iv,q);iv.prototype.getLatitude=function(){return vj(this,1)};iv.prototype.getLongitude=function(){return vj(this,2)};iv.prototype.toObject=function(){return $Rb(this)};var $Rb=function(a){if(null!=a)return t(a),{latitude:n(Qo(a,1)),longitude:n(Qo(a,2))}};var jv=function(a){this.internalArray_=l(a)};U(jv,q);jv.prototype.getDownloadUrl=function(){return V(this,5)};jv.prototype.toObject=function(){return aSb(this)};var aSb=function(a){if(null!=a)return t(a),{albumMetadata:ZRb(W(a,hv,1)),dedupKey:V(a,2),geolocationInfo:$Rb(W(a,iv,3)),sha1:Xb(Sj(a,4)),downloadUrl:V(a,5)}};var bSb=function(a){this.internalArray_=l(a)};U(bSb,q);bSb.prototype.toObject=function(){return cSb(this)};var cSb=function(a){if(null!=a)return t(a),{assetId:V(a,1)}};var dSb=function(a){this.internalArray_=l(a)};U(dSb,q);dSb.prototype.toObject=function(){return eSb(this)};var eSb=function(a){if(null!=a)return t(a),{contentId:V(a,1)}};var kv=function(a){this.internalArray_=l(a)};U(kv,q);kv.prototype.getPhotoId=function(){return V(this,1)};kv.prototype.toObject=function(){return fSb(this)};var fSb=function(a){if(null!=a)return t(a),{photoId:V(a,1)}};var gSb=function(a){this.internalArray_=l(a)};U(gSb,q);gSb.prototype.toObject=function(){return hSb(this)};var hSb=function(a){if(null!=a)return t(a),{remoteRef:V(a,1)}};var iSb=function(a){this.internalArray_=l(a)};U(iSb,q);iSb.prototype.toObject=function(){return jSb(this)};var jSb=function(a){if(null!=a)return t(a),{serializedUploadFileResponse:V(a,1)}};var lv=function(a){this.internalArray_=l(a)};U(lv,q);lv.prototype.getAgentId=function(){return aj(this,3,0)};var mv=[2,4,5,6,7];lv.prototype.toObject=function(){return kSb(this)};var kSb=function(a){if(null!=a)return t(a),{dataUrl:V(a,1),agentId:aj(a,3,0),gmailPhotosMetadata:hSb(fk(a,gSb,2,mv)),geoPhotoMetadata:fSb(fk(a,kv,4,mv)),myMapsMetadata:jSb(fk(a,iSb,5,mv)),culturalMetadata:cSb(fk(a,bSb,7,mv)),genericMetadata:eSb(fk(a,dSb,6,mv))}};var lSb=function(a){this.internalArray_=l(a)};U(lSb,q);lSb.prototype.getCategory=function(){return V(this,1)};lSb.prototype.toObject=function(){return mSb(this)};var mSb=function(a){if(null!=a)return t(a),{category:V(a,1)}};var nSb=function(a){this.internalArray_=l(a)};U(nSb,q);f=nSb.prototype;f.getWidth=function(){return Ht(this,1)};f.setWidth=function(a){return Db(this,1,eb(a),0)};f.getHeight=function(){return Ht(this,2)};f.setHeight=function(a){return Db(this,2,eb(a),0)};f.toObject=function(){return oSb(this)};var oSb=function(a){if(null!=a)return t(a),{width:Ht(a,1),height:Ht(a,2)}};var pSb=function(a){this.internalArray_=l(a)};U(pSb,q);pSb.prototype.toObject=function(){return qSb(this)};var qSb=function(a){if(null!=a)return t(a),{imageSize:oSb(W(a,nSb,1))}};var rSb=function(a){this.internalArray_=l(a)};U(rSb,q);rSb.prototype.toObject=function(){return sSb(this)};var sSb=function(a){if(null!=a)return t(a),{originalImage:cv(W(a,bv,1)),referrerUrl:V(a,2)}};var nv=function(a){this.internalArray_=l(a)};U(nv,q);nv.prototype.getVideoMetadata=function(){return W(this,dv,1)};nv.prototype.hasVideoMetadata=function(){return Pj(this,dv,1)};nv.prototype.toObject=function(){return tSb(this)};var tSb=function(a){if(null!=a)return t(a),{videoMetadata:JRb(a.getVideoMetadata()),channelName:V(a,2),channelId:V(a,3),viewCount:It(a,4)}};var uSb=function(a){this.internalArray_=l(a)};U(uSb,q);uSb.prototype.toObject=function(){return vSb(this)};var vSb=function(a){if(null!=a)return t(a),{youtubeVideoMetadata:tSb(W(a,nv,1))}};var ov=function(a){this.internalArray_=l(a)};U(ov,q);f=ov.prototype;f.getId=function(){return W(this,Zu,1)};f.setId=function(a){return lj(this,Zu,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return zj(this,2,a)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return zj(this,3,a)};f.getParentId=function(){return V(this,4)};f.setParentId=function(a){return zj(this,4,a)};f.getType=function(){return aj(this,6,0)};
f.setType=function(a){return $i(this,6,a)};f.getMimeType=function(){return V(this,7)};f.setMimeType=function(a){zj(this,7,a)};f.getUrl=function(){return V(this,8)};f.setUrl=function(a){return zj(this,8,a)};f.getIconUrl=function(){return V(this,11)};f.setIconUrl=function(a){return zj(this,11,a)};var pv=function(a){return oj(a,bv,10)};ov.prototype.getLastModifiedTimestamp=function(){return W(this,Rh,12)};ov.prototype.getVideoMetadata=function(){return W(this,dv,34)};
ov.prototype.hasVideoMetadata=function(){return Pj(this,dv,34)};var qv=function(a){return W(a,wSb,21)},xSb=function(a){this.internalArray_=l(a)};U(xSb,q);var wSb=function(a){this.internalArray_=l(a)};U(wSb,q);f=wSb.prototype;f.getShared=function(){return Vj(this,1)};f.setShared=function(a){Ib(this,1,a)};f.getVideoMetadata=function(){return W(this,dv,3)};f.hasVideoMetadata=function(){return Pj(this,dv,3)};f.getDownloadUrl=function(){return V(this,10)};f.getResourceKey=function(){return V(this,11)};
ov.repeatedFields_=[5,10,22];ov.prototype.toObject=function(){return rv(this)};
var rv=function(a){if(null!=a)return t(a),{id:FRb(a.getId()),name:V(a,2),description:V(a,3),parentId:V(a,4),allParentIdList:n(Xh(a,5)),type:aj(a,6,0),mimeType:V(a,7),url:V(a,8),templateThumbUrl:V(a,9),iconUrl:V(a,11),embedUrl:V(a,13),previewUrl:V(a,20),thumbnailList:Ub(pv(a),cv),internalThumbnailList:Ub(oj(a,bv,22),cv),lastModifiedTimestamp:mu(a.getLastModifiedTimestamp()),creationTimestampMs:mu(W(a,Rh,16)),videoMetadata:JRb(a.getVideoMetadata()),audioMetadata:IRb(W(a,av,35)),calendarMetadata:PRb(W(a,
fv,14)),webMetadata:sSb(W(a,rSb,15)),photosMetadata:aSb(W(a,jv,18)),themesMetadata:mSb(W(a,lSb,19)),driveMetadata:ySb(qv(a)),youtubeMetadata:vSb(W(a,uSb,24)),cameraMetadata:RRb(W(a,QRb,26)),contactsMetadata:SRb(W(a,gv,27)),partyMetadata:YRb(W(a,XRb,28)),urlMetadata:qSb(W(a,pSb,29)),uploadMetadata:kSb(W(a,lv,30)),cropPhotoMetadata:MRb(W(a,ev,32)),lmsMetadata:WRb(W(a,VRb,33)),bucketId:V(a,17),sizeBytes:It(a,23),itemDiagnosticsInfo:ERb(W(a,Yu,25)),isAttachment:Vj(a,31),attributionInfo:DRb(W(a,Xu,36))}};
xSb.prototype.toObject=function(){return zSb(this)};var zSb=function(a){if(null!=a)return t(a),{targetId:V(a,1),targetMimeType:V(a,2),targetItem:rv(W(a,ov,3)),targetLookupStatus:aj(a,4,0)}};wSb.prototype.toObject=function(){return ySb(this)};
var ySb=function(a){if(null!=a)return t(a),{shared:Vj(a,1),hasPrimarySyncParent:Vj(a,2),videoMetadata:JRb(a.getVideoMetadata()),recencyTimestamp:mu(W(a,Rh,4)),recencyReason:uj(a,5),sharedDriveId:V(a,6),hasOwnPermissions:Vj(a,7),shortcutDetails:zSb(W(a,xSb,8)),copyable:Vj(a,9),downloadUrl:V(a,10),resourceKey:V(a,11),isRecentUpload:Vj(a,12),canDownload:Vj(a,13),restrictedDownload:Vj(a,14)}};var sv=function(a){this.internalArray_=l(a)};U(sv,q);sv.prototype.getLabel=function(){return V(this,2)};sv.prototype.setLabel=function(a){return zj(this,2,a)};sv.prototype.toObject=function(){return ASb(this)};var ASb=function(a){if(null!=a)return t(a),{viewId:V(a,1),label:V(a,2),optionsJson:V(a,3)}};var tv=function(a){this.internalArray_=l(a)};U(tv,q);f=tv.prototype;f.getStatus=function(){return aj(this,1,0)};f.setStatus=function(a){return $i(this,1,a)};f.getItemList=function(){return oj(this,ov,2)};f.setItemList=function(a){rj(this,2,a)};f.addItem=function(a,b){return Mo(this,2,ov,a,b)};f.setItem=function(a,b){return zt(this,2,ov,a,b)};f.getItemCount=function(){return yt(this,ov,2)};f.getErrorCode=function(){return aj(this,4,0)};f.getInternalOnlyV1ViewInfo=function(){return W(this,sv,7)};
tv.repeatedFields_=[2];tv.prototype.toObject=function(){return BSb(this)};var BSb=function(a){if(null!=a)return t(a),{status:aj(a,1,0),itemList:Ub(a.getItemList(),rv),action:aj(a,3,0),errorCode:aj(a,4,0),internalOnlyV1ViewInfo:ASb(a.getInternalOnlyV1ViewInfo())}};var uv=function(a){this.internalArray_=l(a)};U(uv,q);uv.prototype.getEventType=function(){return aj(this,1,0)};uv.prototype.setEventType=function(a){return $i(this,1,a)};uv.prototype.toObject=function(){return CSb(this)};var CSb=function(a){if(null!=a)return t(a),{eventType:aj(a,1,0)}};var vv=function(a){this.internalArray_=l(a)};U(vv,q);f=vv.prototype;f.getItemList=function(){return oj(this,ov,1)};f.setItemList=function(a){rj(this,1,a)};f.addItem=function(a,b){return Mo(this,1,ov,a,b)};f.setItem=function(a,b){return zt(this,1,ov,a,b)};f.getItemCount=function(){return yt(this,ov,1)};vv.repeatedFields_=[1];vv.prototype.toObject=function(){return DSb(this)};
var DSb=function(a){if(null!=a)return t(a),{itemList:Ub(a.getItemList(),rv),currentItem:rv(W(a,ov,2)),currentItemIndex:Ht(a,3)}};var ESb=function(a){this.internalArray_=l(a)};U(ESb,q);f=ESb.prototype;f.getQuery=function(){return V(this,1)};f.setQuery=function(a){return zj(this,1,a)};f.clearQuery=function(){Ct(this,1)};f.setShowHidden=function(a){return Ib(this,3,a)};f.toObject=function(){return FSb(this)};var FSb=function(a){if(null!=a)return t(a),{query:V(a,1),minAccessRole:aj(a,2,0),showHidden:Vj(a,3),fetchProfile:Vj(a,4)}};var wv=function(a){this.internalArray_=l(a)};U(wv,q);wv.prototype.getUploadUrl=function(){return V(this,1)};wv.prototype.getAgentId=function(){return aj(this,3,0)};wv.repeatedFields_=[11];wv.prototype.toObject=function(){return GSb(this)};
var GSb=function(a){if(null!=a){t(a);var b=V(a,1);var c=Ab(a,7,nb);c=Wb(c);var d=Ab(a,2,nb);d=Wb(d);var e=Ab(a,6,nb);return{uploadUrl:b,uploadUrlParametersMap:c,metadataMap:d,videoMetadataMap:Wb(e),agentId:aj(a,3,0),configurationId:aj(a,4,0),sendDataUrl:Vj(a,5),fileExtensionsList:n(Xh(a,11))}}};var HSb=function(a){this.internalArray_=l(a)};U(HSb,q);HSb.prototype.getUploadSourceOptions=function(){return W(this,wv,2)};HSb.prototype.toObject=function(){return ISb(this)};var ISb=function(a){if(null!=a)return t(a),{uploadMode:aj(a,1,0),uploadSourceOptions:GSb(a.getUploadSourceOptions())}};var xv=function(a){this.internalArray_=l(a)};U(xv,q);xv.prototype.getQuery=function(){return V(this,1)};xv.prototype.setQuery=function(a){return zj(this,1,a)};xv.prototype.clearQuery=function(){Ct(this,1)};xv.prototype.toObject=function(){return JSb(this)};var JSb=function(a){if(null!=a)return t(a),{query:V(a,1)}};var yv=function(a){this.internalArray_=l(a)};U(yv,q);yv.prototype.getParent=function(a){return Lt(this,1,a)};yv.prototype.setParent=function(a){return Ot(this,1,a)};yv.repeatedFields_=[1,3];yv.prototype.toObject=function(){return KSb(this)};var KSb=function(a){if(null!=a)return t(a),{parentList:n(Xh(a,1)),embeddingParent:V(a,2),fileExtensionsList:n(Xh(a,3)),convertToDocsItem:Vj(a,4)}};var LSb=function(a){this.internalArray_=l(a)};U(LSb,q);LSb.repeatedFields_=[3];LSb.prototype.toObject=function(){return MSb(this)};var MSb=function(a){if(null!=a)return t(a),{allowOnlyDownloadableItems:Vj(a,1),allowOnlyCopyableItems:Vj(a,2),disabledItemIdsList:n(Xh(a,3))}};var NSb=function(a){this.internalArray_=l(a)};U(NSb,q);f=NSb.prototype;f.getType=function(){return aj(this,1,0)};f.setType=function(a){return $i(this,1,a)};f.getDirection=function(){return aj(this,2,0)};f.setDirection=function(a){return $i(this,2,a)};f.toObject=function(){return OSb(this)};var OSb=function(a){if(null!=a)return t(a),{type:aj(a,1,0),direction:aj(a,2,0),foldersFirst:Vj(a,3)}};var PSb=function(a){this.internalArray_=l(a)};U(PSb,q);f=PSb.prototype;f.getParentId=function(){return V(this,1)};f.setParentId=function(a){return zj(this,1,a)};f.getQuery=function(){return V(this,2)};f.setQuery=function(a){return zj(this,2,a)};f.clearQuery=function(){Ct(this,2)};f.getStarred=function(){return Vj(this,7)};f.setStarred=function(a){Ib(this,7,a)};f.getLastModified=function(){return W(this,Rh,9)};f.toObject=function(){return QSb(this)};
var QSb=function(a){if(null!=a)return t(a),{parentId:V(a,1),query:V(a,2),sortBy:OSb(W(a,NSb,3)),ownedBy:aj(a,4,0),sharedWithMe:Vj(a,5),starred:Vj(a,7),viewMode:aj(a,8,0),lastModified:mu(a.getLastModified()),disableInstantUpdates:Vj(a,10),inSharedDrive:Vj(a,11),inComputers:Vj(a,12),permissions:aj(a,13,0),itemSuggest:Vj(a,14),driveUploadOptions:KSb(W(a,yv,15)),encryptedOnlyMode:Vj(a,16),includeEncryptedItems:Vj(a,17),excludeSharedDriveItems:Vj(a,20),itemSuggestScenarioType:aj(a,18,0),restrictions:MSb(W(a,
LSb,19))}};var RSb=function(a){this.internalArray_=l(a)};U(RSb,q);RSb.prototype.toObject=function(){return SSb(this)};var SSb=function(a){if(null!=a)return t(a),{}};var TSb=function(a){this.internalArray_=l(a)};U(TSb,q);TSb.prototype.getCategory=function(){return aj(this,2,0)};TSb.prototype.toObject=function(){return USb(this)};var USb=function(a){if(null!=a)return t(a),{category:aj(a,2,0),deprecatedCategory:V(a,1)}};var VSb=function(a){this.internalArray_=l(a)};U(VSb,q);VSb.repeatedFields_=[8];VSb.prototype.toObject=function(){return WSb(this)};var WSb=function(a){if(null!=a)return t(a),{parentAlbumKey:V(a,1),bucketBy:aj(a,2,0),viewMode:aj(a,3,0),queryText:V(a,4),includePhotos:Vj(a,5),includeVideos:Vj(a,6),enableVideoPreviews:Vj(a,9),viewType:aj(a,7,0),associationOriginList:n(fl(a,8))}};var XSb=function(a){this.internalArray_=l(a)};U(XSb,q);XSb.repeatedFields_=[1];XSb.prototype.toObject=function(){return YSb(this)};var YSb=function(a){if(null!=a)return t(a),{mediaTypesList:n(fl(a,1))}};var ZSb=function(a){this.internalArray_=l(a)};U(ZSb,q);ZSb.prototype.toObject=function(){return $Sb(this)};var $Sb=function(a){if(null!=a)return t(a),{themeSourceId:aj(a,1,0)}};var aTb=function(a){this.internalArray_=l(a)};U(aTb,q);aTb.prototype.setMode=function(a){return $i(this,1,a)};aTb.prototype.toObject=function(){return bTb(this)};var bTb=function(a){if(null!=a)return t(a),{mode:aj(a,1,0)}};var zv=function(a){this.internalArray_=l(a)};U(zv,q);zv.prototype.getQuery=function(){return V(this,1)};zv.prototype.setQuery=function(a){return zj(this,1,a)};zv.prototype.clearQuery=function(){Ct(this,1)};zv.prototype.toObject=function(){return cTb(this)};var cTb=function(a){if(null!=a)return t(a),{query:V(a,1),initialQuery:V(a,5),showZeroStateSuggestions:Vj(a,6),usageRights:aj(a,2,0),disableSafeSearchMode:Vj(a,3),viewMode:aj(a,4,0)}};var Av=function(a){this.internalArray_=l(a)};U(Av,q);Av.prototype.getQuery=function(){return V(this,2)};Av.prototype.setQuery=function(a){return zj(this,2,a)};Av.prototype.clearQuery=function(){Ct(this,2)};Av.prototype.toObject=function(){return dTb(this)};var dTb=function(a){if(null!=a)return t(a),{viewMode:aj(a,1,0),query:V(a,2)}};var Bv=function(a){this.internalArray_=l(a)};U(Bv,q);f=Bv.prototype;f.getSourceId=function(){return aj(this,1,0)};f.setSourceId=function(a){return $i(this,1,a)};f.getName=function(){return V(this,8)};f.setName=function(a){return zj(this,8,a)};f.getUploadSourceOptions=function(){return W(this,wv,10)};f.getInternalOnlyV1ViewInfo=function(){return W(this,sv,18)};Bv.repeatedFields_=[14];Bv.prototype.toObject=function(){return eTb(this)};
var eTb=function(a){if(null!=a)return t(a),{sourceId:aj(a,1,0),name:V(a,8),driveSourceOptions:QSb(W(a,PSb,3)),calendarSourceOptions:FSb(W(a,ESb,4)),webSourceOptions:cTb(W(a,zv,5)),photosSourceOptions:WSb(W(a,VSb,6)),themesSourceOptions:$Sb(W(a,ZSb,7)),youtubeSourceOptions:dTb(W(a,Av,9)),uploadSourceOptions:GSb(a.getUploadSourceOptions()),contactsSourceOptions:JSb(W(a,xv,12)),partySourceOptions:USb(W(a,TSb,13)),urlSourceOptions:bTb(W(a,aTb,15)),cameraSourceOptions:ISb(W(a,HSb,16)),lmsSourceOptions:SSb(W(a,
RSb,17)),stockSourceOptions:YSb(W(a,XSb,19)),childSourceList:Ub(oj(a,Bv,14),eTb),internalOnlyV1ViewInfo:ASb(a.getInternalOnlyV1ViewInfo())}};var Cv=function(a){this.internalArray_=l(a)};U(Cv,q);f=Cv.prototype;f.getCommand=function(){return aj(this,1,0)};f.setCommand=function(a){return $i(this,1,a)};f.getSource=function(){return W(this,Bv,2)};f.setSource=function(a){return lj(this,Bv,2,a)};f.hasSource=function(){return Pj(this,Bv,2)};f.setVisible=function(a){return Ib(this,5,a)};f.getItemList=function(){return oj(this,ov,7)};f.setItemList=function(a){rj(this,7,a)};f.addItem=function(a,b){return Mo(this,7,ov,a,b)};
f.setItem=function(a,b){return zt(this,7,ov,a,b)};f.getItemCount=function(){return yt(this,ov,7)};Cv.repeatedFields_=[3,7];Cv.prototype.toObject=function(){if(null!=this){t(this);var a={command:aj(this,1,0),source:eTb(this.getSource()),itemIdList:Ub(oj(this,Zu,3),FRb),correlationId:V(this,4),visible:Vj(this,5),cssVisibilityChanged:Vj(this,6),itemList:Ub(this.getItemList(),rv)}}else a=void 0;return a};var fTb=function(a){this.internalArray_=l(a)};U(fTb,q);f=fTb.prototype;f.getCommand=function(){return aj(this,1,0)};f.setCommand=function(a){return $i(this,1,a)};f.getItemList=function(){return oj(this,ov,4)};f.setItemList=function(a){rj(this,4,a)};f.addItem=function(a,b){return Mo(this,4,ov,a,b)};f.setItem=function(a,b){return zt(this,4,ov,a,b)};f.getItemCount=function(){return yt(this,ov,4)};var gTb=Yb(fTb);fTb.repeatedFields_=[4];
fTb.prototype.toObject=function(){if(null!=this){t(this);var a={command:aj(this,1,0),pickerResult:BSb(W(this,tv,2)),correlationId:V(this,3),itemList:Ub(this.getItemList(),rv),previewData:DSb(W(this,vv,5)),latencyData:CSb(W(this,uv,6))}}else a=void 0;return a};var hTb=function(a){this.internalArray_=l(a)};U(hTb,q);hTb.prototype.getResourceKey=function(){return W(this,qRb,2)};hTb.prototype.toObject=function(){return iTb(this)};var iTb=function(a){if(null!=a)return t(a),{documentId:V(a,1),resourceKey:rRb(a.getResourceKey())}};var jTb=function(a){this.internalArray_=l(a)};U(jTb,q);jTb.prototype.getGroupId=function(){return V(this,1)};jTb.prototype.setGroupId=function(a){zj(this,1,a)};jTb.prototype.toObject=function(){return kTb(this)};var kTb=function(a){if(null!=a)return t(a),{groupId:V(a,1)}};var Qca="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var lTb=function(a){return function(){return a}},Dv=function(){},mTb=function(a){return a},dNa=function(){var a=cNa;return function(){return!a.apply(this,arguments)}},nTb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},oTb=function(a,b){var c=0;return function(d){ba.clearTimeout(c);var e=arguments;c=ba.setTimeout(function(){a.apply(void 0,e)},b)}},pTb=function(a,b){var c=0,d=!1,e=[],g=function(){c=0;d&&(d=!1,h())},h=function(){c=ba.setTimeout(g,b);var m=e;e=[];a.apply(void 0,m)};
return function(m){e=arguments;c?d=!0:h()}};var qTb={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var rTb,sTb=function(){if(void 0===rTb){var a=null,b=ba.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:WMb,createScript:WMb,createScriptURL:WMb})}catch(c){ba.console&&ba.console.error(c.message)}rTb=a}else rTb=a}return rTb};var fc=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===tTb&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=uTb};fc.prototype.implementsGoogStringTypedString=!0;fc.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var hc=function(a){return a instanceof fc&&a.constructor===fc&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===uTb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},fo=function(a){return new fc(tTb,a)},uTb={},tTb={};var Ev=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};Ev.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};Ev.prototype.implementsGoogStringTypedString=!0;Ev.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};
var Jh=function(a){if(a instanceof Ev&&a.constructor===Ev)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;Xa(a);return"type_error:TrustedResourceUrl"},eo=function(a){return Rg(hc(a))},vTb={},Rg=function(a){var b=sTb();a=b?b.createScriptURL(a):a;return new Ev(a,vTb)};var dc=function(a){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=a};dc.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};dc.prototype.implementsGoogStringTypedString=!0;dc.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
var ec=function(a){if(a instanceof dc&&a.constructor===dc)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;Xa(a);return"type_error:SafeUrl"},wTb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,xTb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,$ca=function(a){if(a instanceof dc)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);xTb.test(a)?a=Ug(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(wTb)?Ug(a):null);return a},yTb;
try{new URL("s://g"),yTb=!0}catch(a){yTb=!1}
var zTb=yTb,V2a=function(a){if(a instanceof dc)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);a:{var b=a;if(zTb){try{var c=new URL(b)}catch(d){b="https:";break a}b=c.protocol}else b:{c=document.createElement("a");try{c.href=b}catch(d){b=void 0;break b}b=c.protocol;b=":"===b||""===b?"https:":b}}"javascript:"===b&&(a="about:invalid#zClosurez");return Ug(a)},ATb={},Ug=function(a){return new dc(a,ATb)},ada=Ug("about:invalid#zClosurez");var BTb={},Fv=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a;this.implementsGoogStringTypedString=!0};Fv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};Fv.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
var CTb=function(a){if(a instanceof Fv&&a.constructor===Fv)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;Xa(a);return"type_error:SafeStyle"},DTb=new Fv("",BTb),Vca=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),Uca=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Tca=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)",
"g"),Wca=/\/\*/;var Gv=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a;this.implementsGoogStringTypedString=!0};Gv.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};Gv.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};var ETb=function(a){if(a instanceof Gv&&a.constructor===Gv)return a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;Xa(a);return"type_error:SafeStyleSheet"};var FTb={},Lg=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a;this.implementsGoogStringTypedString=!0};Lg.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};Lg.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var Og=function(a){if(a instanceof Lg&&a.constructor===Lg)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;Xa(a);return"type_error:SafeHtml"},kp=function(a){return a instanceof Lg?a:Mg(eNb("object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a)))},GTb=function(a){if(a instanceof Lg)return a;a=kp(a);a=Og(a).toString().replace(/(\r\n|\r|\n)/g,"<br>");return Mg(a)},ro=function(a,b,c){var d=String(a);if(!HTb.test(d))throw Error("ba");if(d.toUpperCase()in ITb)throw Error("ba");
a=String(a);d="<"+a;var e="";if(b)for(var g in b)if(Object.prototype.hasOwnProperty.call(b,g)){if(!HTb.test(g))throw Error("ba");var h=b[g];if(null!=h){var m=g;var r=h;if(r instanceof fc)r=hc(r);else if("style"==m.toLowerCase()){h=void 0;if(!wa(r))throw Error("ba");if(!(r instanceof Fv)){var v="";for(h in r)if(Object.prototype.hasOwnProperty.call(r,h)){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("aa`"+h);var y=r[h];null!=y&&(y=Array.isArray(y)?y.map(Zca).join(" "):Zca(y),v+=h+":"+y+";")}r=v?new Fv(v,
BTb):DTb}r=CTb(r)}else{if(/^on/i.test(m))throw Error("ba");if(m.toLowerCase()in JTb)if(r instanceof Ev)r=Jh(r).toString();else if(r instanceof dc)r=ec(r);else if("string"===typeof r)r=($ca(r)||ada).getTypedStringValue();else throw Error("ba");}r.implementsGoogStringTypedString&&(r=r.getTypedStringValue());m=m+'="'+eNb(String(r))+'"';e+=" "+m}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===qTb[a.toLowerCase()]?b+=">":(g=so(c),b+=">"+Og(g).toString()+"</"+a+">");return Mg(b)},KTb=function(a){var b=
kp(Us),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=kp(e),c.push(Og(e).toString()))};a.forEach(d);return Mg(c.join(Og(b).toString()))},so=function(a){return KTb(Array.prototype.slice.call(arguments))},Mg=function(a){var b=sTb();a=b?b.createHTML(a):a;return new Lg(a,FTb)},HTb=/^[a-zA-Z0-9-]+$/,JTb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},ITb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Us=
new Lg(ba.trustedTypes&&ba.trustedTypes.emptyHTML||"",FTb);var LTb=nTb(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Og(Us);return!b.parentElement}),bNa=function(a,b){if(LTb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Og(b)},MTb=function(a,b){b=b instanceof dc?b:V2a(b);a.action=ec(b)},OTb=function(a,b){var c=NTb(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=Jh(b)},W2a=function(a,
b,c,d){a=a instanceof dc?a:V2a(a);b=b||ba;c=c instanceof fc?hc(c):c||"";return void 0!==d?b.open(ec(a),c,d):b.open(ec(a),c)},PTb=/^[\w+/_-]+[=]{0,2}$/,NTb=function(a){a=(a||ba).document;return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&PTb.test(a)?a:"":""};var QTb=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},RTb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},Wp=function(a){return!/[^0-9]/.test(a)},Qp=function(a){return a=eNb(a)},STb=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=1==c?b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a},Ylb=function(a,b,c){return a.replace(new RegExp(In(b),
"g"),c.replace(/\$/g,"$$$$"))},In=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},TTb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Hv=function(a,b){if(!Number.isFinite(a))return String(a);a=String(a);var c=a.indexOf(".");-1===c&&(c=a.length);var d="-"===a[0]?"-":"";d&&(a=a.substring(1));return d+TTb("0",Math.max(0,b-c))+a},Nk=function(a){return null==a?"":String(a)},UTb=function(){return Math.floor(2147483648*
Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},li=function(a){var b=Number(a);return 0==b&&Ok(a)?NaN:b},ii=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},di=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},VTb=function(a){var b=1;a=a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));
return c};(function(a){function b(sa){r&&r.mark&&r.mark(sa)}function c(sa,Ja){r&&r.measure&&r.measure(sa,Ja)}function d(sa){return v+sa}function e(sa){za||a[Y]&&(za=a[Y].resolve(0));if(za){var Ja=za[ea];Ja||(Ja=za.then);Ja.call(za,sa)}else a[Z](sa,0)}function g(sa){0===cb&&0===ja.length&&e(h);sa&&ja.push(sa)}function h(){if(!va){for(va=!0;ja.length;){var sa=ja;ja=[];for(var Ja=0;Ja<sa.length;Ja++){var Qa=sa[Ja];try{Qa.zone.runTask(Qa,null,null)}catch(fb){Wa.onUnhandledError(fb)}}}Wa.microtaskDrainDone();va=
!1}}function m(){}var r=a.performance;b("Zone");var v=a.__Zone_symbol_prefix||"__zone_symbol__",y=!0===a[d("forceDuplicateZoneCheck")];if(a.Zone){if(y||"function"!==typeof a.Zone.__symbol__)throw Error("ca");return a.Zone}var A=function(sa,Ja){this._parent=sa;this._name=Ja?Ja.name||"unnamed":"<root>";this._properties=Ja&&Ja.properties||{};this._zoneDelegate=new N(this,this._parent&&this._parent._zoneDelegate,Ja)};A.assertZonePatched=function(){if(a.Promise!==Sa.ZoneAwarePromise)throw Error("da");
};A.__load_patch=function(sa,Ja,Qa){Qa=void 0===Qa?!1:Qa;if(Sa.hasOwnProperty(sa)){if(!Qa&&y)throw Error("ea`"+sa);}else a["__Zone_disable_"+sa]||(Qa="Zone:"+sa,b(Qa),Sa[sa]=Ja(a,A,Wa),c(Qa,Qa))};A.prototype.get=function(sa){var Ja=this.getZoneWith(sa);if(Ja)return Ja._properties[sa]};A.prototype.getZoneWith=function(sa){for(var Ja=this;Ja;){if(Ja._properties.hasOwnProperty(sa))return Ja;Ja=Ja._parent}return null};A.prototype.fork=function(sa){if(!sa)throw Error("fa");return this._zoneDelegate.fork(this,
sa)};A.prototype.wrap=function(sa,Ja){if("function"!==typeof sa)throw Error("ga`"+sa);var Qa=this._zoneDelegate.intercept(this,sa,Ja),fb=this;return function(){return fb.runGuarded(Qa,this,arguments,Ja)}};A.prototype.run=function(sa,Ja,Qa,fb){Qb={parent:Qb,zone:this};try{return this._zoneDelegate.invoke(this,sa,Ja,Qa,fb)}finally{Qb=Qb.parent}};A.prototype.runGuarded=function(sa,Ja,Qa,fb){Qb={parent:Qb,zone:this};try{try{return this._zoneDelegate.invoke(this,sa,void 0===Ja?null:Ja,Qa,fb)}catch(Za){if(this._zoneDelegate.handleError(this,
Za))throw Za;}}finally{Qb=Qb.parent}};A.prototype.runTask=function(sa,Ja,Qa){if(sa.zone!=this)throw Error("ha`"+(sa.zone||Pa).name+"`"+this.name);if("notScheduled"!==sa.state||"eventTask"!==sa.type&&"macroTask"!==sa.type){var fb="running"!=sa.state;fb&&sa._transitionTo("running","scheduled");sa.runCount++;var Za=Gb;Gb=sa;Qb={parent:Qb,zone:this};try{"macroTask"==sa.type&&sa.data&&!sa.data.isPeriodic&&(sa.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,sa,Ja,Qa)}catch(Yc){if(this._zoneDelegate.handleError(this,
Yc))throw Yc;}}finally{"notScheduled"!==sa.state&&"unknown"!==sa.state&&("eventTask"==sa.type||sa.data&&sa.data.isPeriodic?fb&&sa._transitionTo("scheduled","running"):(sa.runCount=0,this._updateTaskCount(sa,-1),fb&&sa._transitionTo("notScheduled","running","notScheduled"))),Qb=Qb.parent,Gb=Za}}};A.prototype.scheduleTask=function(sa){if(sa.zone&&sa.zone!==this)for(var Ja=this;Ja;){if(Ja===sa.zone)throw Error("ia`"+this.name+"`"+sa.zone.name);Ja=Ja.parent}sa._transitionTo("scheduling","notScheduled");
Ja=[];sa._zoneDelegates=Ja;sa._zone=this;try{sa=this._zoneDelegate.scheduleTask(this,sa)}catch(Qa){throw sa._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Qa),Qa;}sa._zoneDelegates===Ja&&this._updateTaskCount(sa,1);"scheduling"==sa.state&&sa._transitionTo("scheduled","scheduling");return sa};A.prototype.scheduleMicroTask=function(sa,Ja,Qa,fb){return this.scheduleTask(new Q("microTask",sa,Ja,Qa,fb,void 0))};A.prototype.scheduleMacroTask=function(sa,Ja,Qa,fb,
Za){return this.scheduleTask(new Q("macroTask",sa,Ja,Qa,fb,Za))};A.prototype.scheduleEventTask=function(sa,Ja,Qa,fb,Za){return this.scheduleTask(new Q("eventTask",sa,Ja,Qa,fb,Za))};A.prototype.cancelTask=function(sa){if(sa.zone!=this)throw Error("ja`"+(sa.zone||Pa).name+"`"+this.name);if("scheduled"===sa.state||"running"===sa.state){sa._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,sa)}catch(Ja){throw sa._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,
Ja),Ja;}this._updateTaskCount(sa,-1);sa._transitionTo("notScheduled","canceling");sa.runCount=0;return sa}};A.prototype._updateTaskCount=function(sa,Ja){var Qa=sa._zoneDelegates;-1==Ja&&(sa._zoneDelegates=null);for(var fb=0;fb<Qa.length;fb++)Qa[fb]._updateTaskCount(sa.type,Ja)};wh.Object.defineProperties(A.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});wh.Object.defineProperties(A,{root:{configurable:!0,
enumerable:!0,get:function(){for(var sa=A.current;sa.parent;)sa=sa.parent;return sa}},current:{configurable:!0,enumerable:!0,get:function(){return Qb.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return Gb}}});A.__symbol__=d;var G={name:"",onHasTask:function(sa,Ja,Qa,fb){return sa.hasTask(Qa,fb)},onScheduleTask:function(sa,Ja,Qa,fb){return sa.scheduleTask(Qa,fb)},onInvokeTask:function(sa,Ja,Qa,fb,Za,Yc){return sa.invokeTask(Qa,fb,Za,Yc)},onCancelTask:function(sa,Ja,Qa,fb){return sa.cancelTask(Qa,
fb)}},N=function(sa,Ja,Qa){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this.zone=sa;this._parentDelegate=Ja;this._forkZS=Qa&&(Qa&&Qa.onFork?Qa:Ja._forkZS);this._forkDlgt=Qa&&(Qa.onFork?Ja:Ja._forkDlgt);this._forkCurrZone=Qa&&(Qa.onFork?this.zone:Ja._forkCurrZone);this._interceptZS=Qa&&(Qa.onIntercept?Qa:Ja._interceptZS);this._interceptDlgt=Qa&&(Qa.onIntercept?Ja:Ja._interceptDlgt);this._interceptCurrZone=Qa&&(Qa.onIntercept?this.zone:Ja._interceptCurrZone);this._invokeZS=Qa&&(Qa.onInvoke?
Qa:Ja._invokeZS);this._invokeDlgt=Qa&&(Qa.onInvoke?Ja:Ja._invokeDlgt);this._invokeCurrZone=Qa&&(Qa.onInvoke?this.zone:Ja._invokeCurrZone);this._handleErrorZS=Qa&&(Qa.onHandleError?Qa:Ja._handleErrorZS);this._handleErrorDlgt=Qa&&(Qa.onHandleError?Ja:Ja._handleErrorDlgt);this._handleErrorCurrZone=Qa&&(Qa.onHandleError?this.zone:Ja._handleErrorCurrZone);this._scheduleTaskZS=Qa&&(Qa.onScheduleTask?Qa:Ja._scheduleTaskZS);this._scheduleTaskDlgt=Qa&&(Qa.onScheduleTask?Ja:Ja._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Qa&&(Qa.onScheduleTask?this.zone:Ja._scheduleTaskCurrZone);this._invokeTaskZS=Qa&&(Qa.onInvokeTask?Qa:Ja._invokeTaskZS);this._invokeTaskDlgt=Qa&&(Qa.onInvokeTask?Ja:Ja._invokeTaskDlgt);this._invokeTaskCurrZone=Qa&&(Qa.onInvokeTask?this.zone:Ja._invokeTaskCurrZone);this._cancelTaskZS=Qa&&(Qa.onCancelTask?Qa:Ja._cancelTaskZS);this._cancelTaskDlgt=Qa&&(Qa.onCancelTask?Ja:Ja._cancelTaskDlgt);this._cancelTaskCurrZone=Qa&&(Qa.onCancelTask?this.zone:Ja._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;var fb=Qa&&Qa.onHasTask,Za=Ja&&Ja._hasTaskZS;if(fb||Za)this._hasTaskZS=fb?Qa:G,this._hasTaskDlgt=Ja,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=sa,Qa.onScheduleTask||(this._scheduleTaskZS=G,this._scheduleTaskDlgt=Ja,this._scheduleTaskCurrZone=this.zone),Qa.onInvokeTask||(this._invokeTaskZS=G,this._invokeTaskDlgt=Ja,this._invokeTaskCurrZone=this.zone),Qa.onCancelTask||(this._cancelTaskZS=G,this._cancelTaskDlgt=Ja,this._cancelTaskCurrZone=this.zone)};N.prototype.fork=
function(sa,Ja){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,sa,Ja):new A(sa,Ja)};N.prototype.intercept=function(sa,Ja,Qa){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,sa,Ja,Qa):Ja};N.prototype.invoke=function(sa,Ja,Qa,fb,Za){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,sa,Ja,Qa,fb,Za):Ja.apply(Qa,fb)};N.prototype.handleError=function(sa,Ja){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,sa,Ja):!0};N.prototype.scheduleTask=function(sa,Ja){var Qa=Ja;if(this._scheduleTaskZS)this._hasTaskZS&&Qa._zoneDelegates.push(this._hasTaskDlgtOwner),(Qa=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,sa,Ja))||(Qa=Ja);else if(Ja.scheduleFn)Ja.scheduleFn(Ja);else if("microTask"==Ja.type)g(Ja);else throw Error("ka");return Qa};N.prototype.invokeTask=function(sa,Ja,Qa,fb){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,sa,Ja,Qa,fb):Ja.callback.apply(Qa,fb)};N.prototype.cancelTask=function(sa,Ja){if(this._cancelTaskZS)sa=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,sa,Ja);else{if(!Ja.cancelFn)throw Error("la");sa=Ja.cancelFn(Ja)}return sa};N.prototype.hasTask=function(sa,Ja){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,sa,Ja)}catch(Qa){this.handleError(sa,Qa)}};N.prototype._updateTaskCount=function(sa,Ja){var Qa=this._taskCounts,
fb=Qa[sa];Ja=Qa[sa]=fb+Ja;if(0>Ja)throw Error("ma");0!=fb&&0!=Ja||this.hasTask(this.zone,{microTask:0<Qa.microTask,macroTask:0<Qa.macroTask,eventTask:0<Qa.eventTask,change:sa})};var Q=function(sa,Ja,Qa,fb,Za,Yc){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=sa;this.source=Ja;this.data=fb;this.scheduleFn=Za;this.cancelFn=Yc;if(!Qa)throw Error("na");this.callback=Qa;var jb=this;this.invoke="eventTask"===sa&&fb&&fb.useG?Q.invokeTask:function(){return Q.invokeTask.call(a,
jb,this,arguments)}};Q.invokeTask=function(sa,Ja,Qa){sa||(sa=this);cb++;try{return sa.runCount++,sa.zone.runTask(sa,Ja,Qa)}finally{1==cb&&h(),cb--}};Q.prototype._transitionTo=function(sa,Ja,Qa){if(this._state===Ja||this._state===Qa)this._state=sa,"notScheduled"==sa&&(this._zoneDelegates=null);else throw Error("oa`"+this.type+"`"+this.source+"`"+sa+"`"+Ja+"`"+(Qa?" or '"+Qa+"'":"")+"`"+this._state);};Q.prototype.toString=function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():
Object.prototype.toString.call(this)};Q.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};wh.Object.defineProperties(Q.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var Z=d("setTimeout"),Y=d("Promise"),ea=d("then"),ja=[],va=!1,za,Pa={name:"NO ZONE"},Sa={},Wa={symbol:d,currentZoneFrame:function(){return Qb},onUnhandledError:m,
microtaskDrainDone:m,scheduleMicroTask:g,showUncaughtError:function(){return!A[d("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:m,patchMethod:function(){return m},bindArguments:function(){return[]},patchThen:function(){return m},patchMacroTask:function(){return m},patchEventPrototype:function(){return m},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return m},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},
ArraySlice:function(){return[]},patchClass:function(){return m},wrapWithCurrentZone:function(){return m},filterProperties:function(){return[]},attachOriginToPatched:function(){return m},_redefineProperty:function(){return m},patchCallbacks:function(){return m},nativeScheduleMicroTask:e},Qb={parent:null,zone:new A(null,null)},Gb=null,cb=0;c("Zone","Zone");return a.Zone=A})("undefined"!==typeof window&&window||"undefined"!==typeof self&&self||global);Zone.__load_patch("Error",function(a,b,c){function d(ja){for(var va={zoneName:ja.zone.name},za=va;ja.parent;){ja=ja.parent;var Pa={zoneName:ja.zone.name};va=va.parent=Pa}return za}function e(ja,va,za){za=void 0===za?!0:za;ja=ja.split("\n");for(var Pa=0;ja[Pa]!==v&&ja[Pa]!==y&&ja[Pa]!==A&&ja[Pa]!==G&&ja[Pa]!==N&&Pa<ja.length;)Pa++;for(;Pa<ja.length&&va;Pa++){var Sa=ja[Pa];if(Sa.trim())switch(r[Sa]){case 0:ja.splice(Pa,1);Pa--;break;case 1:va.parent?va=va.parent:va=null;ja.splice(Pa,1);Pa--;break;default:ja[Pa]+=
za?" ["+va.zone.name+"]":" ["+va.zoneName+"]"}}return ja.join("\n")}function g(){var ja=this,va=m.apply(this,arguments),za=va.originalStack=va.stack;if(g.stackRewrite&&za){var Pa=c.currentZoneFrame();if("lazy"===Q)va[c.symbol("zoneFrameNames")]=d(Pa);else if("default"===Q)try{va.stack=va.zoneAwareStack=e(za,Pa)}catch(Sa){}}return this instanceof m&&this.constructor!=m?(Object.keys(va).concat("stack","message").forEach(function(Sa){var Wa=va[Sa];if(void 0!==Wa)try{ja[Sa]=Wa}catch(Qb){}}),this):va}
var h=c.symbol("zoneJsInternalStackFrames"),m=a[c.symbol("Error")]=a.Error,r={},v,y,A,G,N;a.Error=g;var Q=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";g.prototype=m.prototype;g[h]=r;g.stackRewrite=!1;var Z=c.symbol("zoneAwareStack");"lazy"===Q&&Object.defineProperty(g.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[Z]||(this[Z]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[Z]},set:function(ja){this.originalStack=
ja;this[Z]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var Y=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(m))&&a.forEach(function(ja){0===Y.filter(function(va){return va===ja}).length&&Object.defineProperty(g,ja,{get:function(){return m[ja]},set:function(va){m[ja]=va}})});m.hasOwnProperty("stackTraceLimit")&&(m.stackTraceLimit=Math.max(m.stackTraceLimit,15),Object.defineProperty(g,"stackTraceLimit",{get:function(){return m.stackTraceLimit},set:function(ja){return m.stackTraceLimit=
ja}}));m.hasOwnProperty("captureStackTrace")&&Object.defineProperty(g,"captureStackTrace",{value:function(ja,va){m.captureStackTrace(ja,va)}});Object.defineProperty(g,"prepareStackTrace",{get:function(){return m.prepareStackTrace},set:function(ja){return ja&&"function"===typeof ja?m.prepareStackTrace=function(va,za){if(za)for(var Pa=0;Pa<za.length;Pa++)if("zoneCaptureStackTrace"===za[Pa].getFunctionName()){za.splice(Pa,1);break}return ja.call(this,va,za)}:m.prepareStackTrace=ja}});if("disable"!==
Q){var ea=b.current.fork({name:"detect",onHandleError:function(ja,va,za,Pa){if(Pa.originalStack&&Error===g)for(ja=Pa.originalStack.split(/\n/),Pa=za=va=!1;ja.length;){var Sa=ja.shift();if(/:\d+:\d+/.test(Sa)||"ZoneAwareError"===Sa){var Wa=Sa.split("(")[0].split("@")[0],Qb=1;-1!==Wa.indexOf("ZoneAwareError")&&(-1!==Wa.indexOf("new ZoneAwareError")?(v=Sa,y=Sa.replace("new ZoneAwareError","new Error.ZoneAwareError")):(A=Sa,G=Sa.replace("Error.",""),-1===Sa.indexOf("Error.ZoneAwareError")&&(N=Sa.replace("ZoneAwareError",
"Error.ZoneAwareError"))),r[y]=0);-1!==Wa.indexOf("runGuarded")?za=!0:-1!==Wa.indexOf("runTask")?Pa=!0:-1!==Wa.indexOf("run")?va=!0:Qb=0;r[Sa]=Qb;if(va&&za&&Pa){g.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(ja,va,za,Pa){return ja.scheduleTask(za,Pa)},onInvokeTask:function(ja,va,za,Pa,Sa,Wa){return ja.invokeTask(za,Pa,Sa,Wa)},onCancelTask:function(ja,va,za,Pa){return ja.cancelTask(za,Pa)},onInvoke:function(ja,va,za,Pa,Sa,Wa,Qb){return ja.invoke(za,Pa,Sa,Wa,Qb)}});
b=Error.stackTraceLimit;Error.stackTraceLimit=100;ea.run(function(){ea.runGuarded(function(){var ja=function(){};ea.scheduleEventTask(h,function(){ea.scheduleMacroTask(h,function(){ea.scheduleMicroTask(h,function(){throw Error();},void 0,function(va){va._transitionTo=ja;va.invoke()});ea.scheduleMicroTask(h,function(){throw Error();},void 0,function(va){va._transitionTo=ja;va.invoke()})},void 0,function(va){va._transitionTo=ja;va.invoke()},function(){})},void 0,function(va){va._transitionTo=ja;va.invoke()},
function(){})})});Error.stackTraceLimit=b}});var ic=Object.getOwnPropertyDescriptor,hda=Object.defineProperty,kda=Object.getPrototypeOf,WTb=Object.create,XTb=Array.prototype.slice,YTb=Zone.__symbol__("addEventListener"),ZTb=Zone.__symbol__("removeEventListener"),qc=Zone.__symbol__(""),kc=Zone.__symbol__,$Tb="undefined"!==typeof window,pc=$Tb?window:void 0,lc=$Tb&&pc||"object"===typeof self&&self||global,aUb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,rda=!("nw"in lc)&&"undefined"!==typeof lc.process&&"[object process]"===
{}.toString.call(lc.process),bUb=!rda&&!aUb&&!(!$Tb||!pc.HTMLElement),cUb="undefined"!==typeof lc.process&&"[object process]"==={}.toString.call(lc.process)&&!aUb&&!(!$Tb||!pc.HTMLElement),fda={},gda=function(a){if(a=a||lc.event){var b=fda[a.type];b||(b=fda[a.type]=kc("ON_PROPERTY"+a.type));var c=this||a.target||lc;b=c[b];bUb&&c===pc&&"error"===a.type?(c=a,c=b&&b.call(this,c.message,c.filename,c.lineno,c.colno,c.error),!0===c&&a.preventDefault()):(c=b&&b.apply(this,arguments),void 0==c||c||a.preventDefault());
return c}},mc=kc("originalInstance"),mda=!1,nda=!1;var sc=!1;if("undefined"!==typeof window)try{var dUb=Object.defineProperty({},"passive",{get:function(){sc=!0}});window.addEventListener("test",dUb,dUb);window.removeEventListener("test",dUb,dUb)}catch(a){sc=!1}var tda={useG:!0},rc={},sda={},vda=new RegExp("^"+qc+"(\\w+)(true|false)$"),qda=kc("propagationStopped");Zone.__load_patch("ZoneAwarePromise",function(a,b,c){function d(jb){if(jb&&jb.toString===Object.prototype.toString){var yb=jb.constructor&&jb.constructor.name;return(yb?yb:"")+": "+JSON.stringify(jb)}return jb?jb.toString():Object.prototype.toString.call(jb)}function e(jb){c.onUnhandledError(jb);try{var yb=b[za];"function"===typeof yb&&yb.call(this,jb)}catch(ab){}}function g(jb){return jb}function h(jb){return Za.reject(jb)}function m(jb,yb){return function(ab){try{r(jb,yb,ab)}catch(Mb){r(jb,!1,Mb)}}}
function r(jb,yb,ab){var Mb=cb();if(jb===ab)throw new TypeError("qa");if(null===jb[Pa]){var sb=null;try{if("object"===typeof ab||"function"===typeof ab)sb=ab&&ab.then}catch(Jb){return Mb(function(){r(jb,!1,Jb)})(),jb}if(!1!==yb&&ab instanceof Za&&ab.hasOwnProperty(Pa)&&ab.hasOwnProperty(Sa)&&null!==ab[Pa])v(ab),r(jb,ab[Pa],ab[Sa]);else if(!1!==yb&&"function"===typeof sb)try{sb.call(ab,Mb(m(jb,yb)),Mb(m(jb,!1)))}catch(Jb){Mb(function(){r(jb,!1,Jb)})()}else{jb[Pa]=yb;Mb=jb[Sa];jb[Sa]=ab;jb[Wa]===Wa&&
!0===yb&&(jb[Pa]=jb[Gb],jb[Sa]=jb[Qb]);!1===yb&&ab instanceof Error&&(sb=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&Q(ab,sa,{configurable:!0,enumerable:!1,writable:!0,value:sb});for(sb=0;sb<Mb.length;)y(jb,Mb[sb++],Mb[sb++],Mb[sb++],Mb[sb++]);if(0==Mb.length&&0==yb){jb[Pa]=0;yb=ab;try{throw Error("ra`"+d(ab)+"`"+(ab&&ab.stack?"\n"+ab.stack:""));}catch(Jb){yb=Jb}ea&&(yb.throwOriginal=!0);yb.rejection=ab;yb.promise=jb;yb.zone=b.current;yb.task=b.currentTask;Y.push(yb);
c.scheduleMicroTask()}}}return jb}function v(jb){if(0===jb[Pa]){try{var yb=b[Ja];yb&&"function"===typeof yb&&yb.call(this,{rejection:jb[Sa],promise:jb})}catch(ab){}jb[Pa]=!1;for(yb=0;yb<Y.length;yb++)jb===Y[yb].promise&&Y.splice(yb,1)}}function y(jb,yb,ab,Mb,sb){v(jb);var Jb=jb[Pa],Lb=Jb?"function"===typeof Mb?Mb:g:"function"===typeof sb?sb:h;yb.scheduleMicroTask("Promise.then",function(){try{var Fc=jb[Sa],Sc=!!ab&&Wa===ab[Wa];Sc&&(ab[Qb]=Fc,ab[Gb]=Jb);var pg=yb.run(Lb,void 0,Sc&&Lb!==h&&Lb!==g?[]:
[Fc]);r(ab,!0,pg)}catch(Rd){r(ab,!1,Rd)}},ab)}function A(jb){var yb=jb.prototype,ab=N(yb,"then");if(!ab||!1!==ab.writable&&ab.configurable){var Mb=yb.then;yb[va]=Mb;jb.prototype.then=function(sb,Jb){var Lb=this;return(new Za(function(Fc,Sc){Mb.call(Lb,Fc,Sc)})).then(sb,Jb)};jb[Yc]=!0}}function G(jb){return function(yb,ab){yb=jb.apply(yb,ab);if(yb instanceof Za)return yb;ab=yb.constructor;ab[Yc]||A(ab);return yb}}var N=Object.getOwnPropertyDescriptor,Q=Object.defineProperty,Z=c.symbol,Y=[],ea=!0===
a[Z("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],ja=Z("Promise"),va=Z("then");c.onUnhandledError=function(jb){if(c.showUncaughtError()){var yb=jb&&jb.rejection;yb?console.error("Unhandled Promise rejection:",yb instanceof Error?yb.message:yb,"; Zone:",jb.zone.name,"; Task:",jb.task&&jb.task.source,"; Value:",yb,yb instanceof Error?yb.stack:void 0):console.error(jb)}};c.microtaskDrainDone=function(){for(var jb={};Y.length;){jb={$jscomp$loop$prop$uncaughtPromiseError$1871173515$10:jb.$jscomp$loop$prop$uncaughtPromiseError$1871173515$10};
jb.$jscomp$loop$prop$uncaughtPromiseError$1871173515$10=Y.shift();try{jb.$jscomp$loop$prop$uncaughtPromiseError$1871173515$10.zone.runGuarded(function(yb){return function(){if(yb.$jscomp$loop$prop$uncaughtPromiseError$1871173515$10.throwOriginal)throw yb.$jscomp$loop$prop$uncaughtPromiseError$1871173515$10.rejection;throw yb.$jscomp$loop$prop$uncaughtPromiseError$1871173515$10;}}(jb))}catch(yb){e(yb)}}};var za=Z("unhandledPromiseRejectionHandler"),Pa=Z("state"),Sa=Z("value"),Wa=Z("finally"),Qb=Z("parentPromiseValue"),
Gb=Z("parentPromiseState"),cb=function(){var jb=!1;return function(yb){return function(){jb||(jb=!0,yb.apply(null,arguments))}}},sa=Z("currentTaskTrace"),Ja=Z("rejectionHandledHandler"),Qa=function(){},fb=a.AggregateError,Za=function(jb){if(!(this instanceof Za))throw Error("sa");this[Pa]=null;this[Sa]=[];try{var yb=cb();jb&&jb(yb(m(this,!0)),yb(m(this,!1)))}catch(ab){r(this,!1,ab)}};Za.toString=function(){return"function ZoneAwarePromise() { [native code] }"};Za.resolve=function(jb){return r(new this(null),
!0,jb)};Za.reject=function(jb){return r(new this(null),!1,jb)};Za.any=function(jb){if(!jb||"function"!==typeof jb[Symbol.iterator])return Promise.reject(new fb([],"All promises were rejected"));var yb=[],ab=0;try{for(var Mb=k(jb),sb=Mb.next();!sb.done;sb=Mb.next()){var Jb=sb.value;ab++;yb.push(Za.resolve(Jb))}}catch(Sc){return Promise.reject(new fb([],"All promises were rejected"))}if(0===ab)return Promise.reject(new fb([],"All promises were rejected"));var Lb=!1,Fc=[];return new Za(function(Sc,pg){for(var Rd=
0;Rd<yb.length;Rd++)yb[Rd].then(function(He){Lb||(Lb=!0,Sc(He))},function(He){Fc.push(He);ab--;0===ab&&(Lb=!0,pg(new fb(Fc,"All promises were rejected")))})})};Za.race=function(jb){function yb(Fc){Mb(Fc)}function ab(Fc){sb(Fc)}var Mb,sb,Jb=new this(function(Fc,Sc){Mb=Fc;sb=Sc});jb=k(jb);for(var Lb=jb.next();!Lb.done;Lb=jb.next())(Lb=Lb.value)&&Lb.then||(Lb=this.resolve(Lb)),Lb.then(yb,ab);return Jb};Za.all=function(jb){return Za.allWithCallback(jb)};Za.allSettled=function(jb){return(this&&this.prototype instanceof
Za?this:Za).allWithCallback(jb,{thenCallback:function(yb){return{status:"fulfilled",value:yb}},errorCallback:function(yb){return{status:"rejected",reason:yb}}})};Za.allWithCallback=function(jb,yb){var ab,Mb,sb=new this(function(Rd,He){ab=Rd;Mb=He}),Jb=2,Lb=0,Fc=[];jb=k(jb);for(var Sc=jb.next(),pg={};!Sc.done;pg={$jscomp$loop$prop$curValueIndex$1871173515$13:pg.$jscomp$loop$prop$curValueIndex$1871173515$13},Sc=jb.next()){(Sc=Sc.value)&&Sc.then||(Sc=this.resolve(Sc));pg.$jscomp$loop$prop$curValueIndex$1871173515$13=
Lb;try{Sc.then(function(Rd){return function(He){Fc[Rd.$jscomp$loop$prop$curValueIndex$1871173515$13]=yb?yb.thenCallback(He):He;Jb--;0===Jb&&ab(Fc)}}(pg),function(Rd){return function(He){yb?(Fc[Rd.$jscomp$loop$prop$curValueIndex$1871173515$13]=yb.errorCallback(He),Jb--,0===Jb&&ab(Fc)):Mb(He)}}(pg))}catch(Rd){Mb(Rd)}Jb++;Lb++}Jb-=2;0===Jb&&ab(Fc);return sb};wh.Object.defineProperty(Za.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});wh.Object.defineProperty(Za.prototype,
Symbol.species,{configurable:!0,enumerable:!0,get:function(){return Za}});Za.prototype.then=function(jb,yb){var ab,Mb=null==(ab=this.constructor)?void 0:ab[Symbol.species];Mb&&"function"===typeof Mb||(Mb=this.constructor||Za);ab=new Mb(Qa);Mb=b.current;null==this[Pa]?this[Sa].push(Mb,ab,jb,yb):y(this,Mb,ab,jb,yb);return ab};Za.prototype.catch=function(jb){return this.then(null,jb)};Za.prototype.finally=function(jb){var yb,ab=null==(yb=this.constructor)?void 0:yb[Symbol.species];ab&&"function"===typeof ab||
(ab=Za);yb=new ab(Qa);yb[Wa]=Wa;ab=b.current;null==this[Pa]?this[Sa].push(ab,yb,jb,jb):y(this,ab,yb,jb,jb);return yb};Za.resolve=Za.resolve;Za.reject=Za.reject;Za.race=Za.race;Za.all=Za.all;ja=a[ja]=a.Promise;a.Promise=Za;var Yc=Z("thenPatched");c.patchThen=A;ja&&(A(ja),oc(a,"fetch",function(jb){return G(jb)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=Y;return Za});var zda=kc("zoneTask");Zone.__load_patch("toString",function(a){var b=Function.prototype.toString,c=kc("OriginalDelegate"),d=kc("Promise"),e=kc("Error"),g=function(){if("function"===typeof this){var m=this[c];if(m)return"function"===typeof m?b.call(m):Object.prototype.toString.call(m);if(this===Promise&&(m=a[d])||this===Error&&(m=a[e]))return b.call(m)}return b.call(this)};g[c]=b;Function.prototype.toString=g;var h=Object.prototype.toString;Object.prototype.toString=function(){return"function"===typeof Promise&&this instanceof
Promise?"[object Promise]":h.call(this)}});Zone.__load_patch("util",function(a,b,c){var d=Cda(a);c.patchOnProperties=jda;c.patchMethod=oc;c.bindArguments=cda;c.patchMacroTask=lda;var e=b.__symbol__("BLACK_LISTED_EVENTS"),g=b.__symbol__("UNPATCHED_EVENTS");a[g]&&(a[e]=a[g]);a[e]&&(b[e]=b[g]=a[e]);c.patchEventPrototype=xda;c.patchEventTarget=wda;c.isIEOrEdge=oda;c.ObjectDefineProperty=hda;c.ObjectGetOwnPropertyDescriptor=ic;c.ObjectCreate=WTb;c.ArraySlice=XTb;c.patchClass=nc;c.wrapWithCurrentZone=bda;c.filterProperties=Bda;c.attachOriginToPatched=
jc;c._redefineProperty=Object.defineProperty;c.patchCallbacks=Ada;c.getGlobalObjects=function(){return{globalSources:sda,zoneSymbolEventNames:rc,eventNames:d,isBrowser:bUb,isMix:cUb,isNode:rda,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:qc,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var Dda,Eda,Fda,Gda,uc;var Oda=[].concat(ad("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(" ")),
ad(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),ad(["autocomplete","autocompleteerror"]),ad(["toggle"]),ad("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),ad("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(" ")),
ad("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),ad("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(" ")));(function(a){a[(a.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var b=a.Zone;b.__load_patch("defineProperty",function(c,d,e){e._redefineProperty=Kda;Jda()});b.__load_patch("registerElement",function(c,d,e){d=e.getGlobalObjects();var g=d.isMix;(d.isBrowser||g)&&"registerElement"in c.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])});b.__load_patch("EventTargetLegacy",function(c,
d,e){Lda(c,e);d=e.getGlobalObjects();var g=d.isMix;d.isNode&&!g||Nda(e,c)||(d="undefined"!==typeof WebSocket,Pda(e),e.patchClass("XMLHttpRequest"),d&&Mda(e,c),Zone[e.symbol("patchEvents")]=!0)})}})("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{});Zone.__load_patch("legacy",function(a){(a=a[Zone.__symbol__("legacyPatch")])&&a()});Zone.__load_patch("timers",function(a){tc(a,"set","clear","Timeout");tc(a,"set","clear","Interval");tc(a,"set","clear","Immediate")});Zone.__load_patch("requestAnimationFrame",function(a){tc(a,"request","cancel","AnimationFrame");tc(a,"mozRequest","mozCancel","AnimationFrame");tc(a,"webkitRequest","webkitCancel","AnimationFrame")});
Zone.__load_patch("blocking",function(a,b){for(var c=["alert","prompt","confirm"],d=0;d<c.length;d++)oc(a,c[d],function(e,g,h){return function(m,r){return b.current.run(e,a,r,h)}})});
Zone.__load_patch("EventTarget",function(a,b,c){c.patchEventPrototype(a,c);if(!Zone[c.symbol("patchEventTarget")]){var d=c.getGlobalObjects();b=d.eventNames;var e=d.zoneSymbolEventNames,g=d.TRUE_STR,h=d.FALSE_STR;d=d.ZONE_SYMBOL_PREFIX;for(var m=0;m<b.length;m++){var r=b[m],v=d+(r+h),y=d+(r+g);e[r]={};e[r][h]=v;e[r][g]=y}(b=a.EventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b&&b.prototype])}(b=a.XMLHttpRequestEventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b.prototype])});
Zone.__load_patch("MutationObserver",function(){nc("MutationObserver");nc("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",function(){nc("IntersectionObserver")});Zone.__load_patch("FileReader",function(){nc("FileReader")});
Zone.__load_patch("on_property",function(a,b,c){if((!rda||cUb)&&!Zone[c.symbol("patchEvents")]){b=a.__Zone_ignore_on_properties;c=[];if(bUb){var d=window;c=c.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var e=pc.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")){var g=!0;break a}}catch(m){}g=!1}e=g?[{target:d,ignoreProperties:["error"]}]:
[];g=Cda(d);var h=b?b.concat(e):b;e=kda(d);d&&(g=Bda(d,g,h),jda(d,g,e))}c=c.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));for(d=0;d<c.length;d++)(e=a[c[d]])&&e.prototype&&(g=e.prototype,e=Cda(e.prototype),g&&(e=Bda(g,e,b),jda(g,e,void 0)))}});
Zone.__load_patch("customElements",function(a,b,c){b=c.getGlobalObjects();var d=b.isMix;(b.isBrowser||d)&&a.customElements&&"customElements"in a&&c.patchCallbacks(c,a.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])});
Zone.__load_patch("XHR",function(a,b){(function(r){function v(za){var Pa=za.data,Sa=Pa.target;Sa[g]=!1;Sa[m]=!1;var Wa=Sa[e];N||(N=Sa[YTb],Q=Sa[ZTb]);Wa&&Q.call(Sa,"readystatechange",Wa);Wa=Sa[e]=function(){if(Sa.readyState===Sa.DONE)if(!Pa.aborted&&Sa[g]&&"scheduled"===za.state){var Qb=Sa[b.__symbol__("loadfalse")];if(0!==Sa.status&&Qb&&0<Qb.length){var Gb=za.invoke;za.invoke=function(){for(var cb=Sa[b.__symbol__("loadfalse")],sa=0;sa<cb.length;sa++)cb[sa]===za&&cb.splice(sa,1);Pa.aborted||"scheduled"!==
za.state||Gb.call(za)};Qb.push(za)}else za.invoke()}else Pa.aborted||!1!==Sa[g]||(Sa[m]=!0)};N.call(Sa,"readystatechange",Wa);Sa[c]||(Sa[c]=za);ja.apply(Sa,Pa.args);Sa[g]=!0;return za}function y(){}function A(za){za=za.data;za.aborted=!0;return va.apply(za.target,za.args)}var G=r.XMLHttpRequest;if(G){G=G.prototype;var N=G[YTb],Q=G[ZTb];!N&&(r=r.XMLHttpRequestEventTarget)&&(r=r.prototype,N=r[YTb],Q=r[ZTb]);var Z=oc(G,"open",function(){return function(za,Pa){za[d]=0==Pa[2];za[h]=Pa[1];return Z.apply(za,
Pa)}}),Y=kc("fetchTaskAborting"),ea=kc("fetchTaskScheduling"),ja=oc(G,"send",function(){return function(za,Pa){if(!0===b.current[ea]||za[d])return ja.apply(za,Pa);Pa={target:za,url:za[h],isPeriodic:!1,args:Pa,aborted:!1};var Sa=Zone.current.scheduleMacroTask("XMLHttpRequest.send",y,Pa,v,A);za&&!0===za[m]&&!Pa.aborted&&"scheduled"===Sa.state&&Sa.invoke()}}),va=oc(G,"abort",function(){return function(za,Pa){var Sa=za[c];if(Sa&&"string"==typeof Sa.type)null==Sa.cancelFn||Sa.data&&Sa.data.aborted||Sa.zone.cancelTask(Sa);
else if(!0===b.current[Y])return va.apply(za,Pa)}})}})(a);var c=kc("xhrTask"),d=kc("xhrSync"),e=kc("xhrListener"),g=kc("xhrScheduled"),h=kc("xhrURL"),m=kc("xhrErrorBeforeScheduled")});Zone.__load_patch("geolocation",function(a){a.navigator&&a.navigator.geolocation&&eda(a.navigator.geolocation)});
Zone.__load_patch("PromiseRejectionEvent",function(a,b){function c(d){return function(e){uda(a,d).forEach(function(g){var h=a.PromiseRejectionEvent;h&&(h=new h(d,{promise:e.promise,reason:e.rejection}),g.invoke(h))})}}a.PromiseRejectionEvent&&(b[kc("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),b[kc("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",function(a,b,c){yda(a,c)});Zone.__load_patch("canvas",function(a,b,c){a=a.HTMLCanvasElement;"undefined"!==typeof a&&a.prototype&&a.prototype.toBlob&&c.patchMacroTask(a.prototype,"toBlob",function(d,e){return{name:"HTMLCanvasElement.toBlob",target:d,cbIdx:0,args:e}})});var Rda=vc({"\u0275prov":vc}),Vda=vc({"\u0275inj":vc}),Sda=vc({ngInjectableDef:vc}),Wda=vc({ngInjectorDef:vc});var Ac=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};U(Ac,Error);var $da;var cea=vc({__forward_ref__:vc});var Nd=globalThis;var eUb={},fUb=/\n/gm,Ec=void 0;var Zc=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=wc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};Zc.prototype.toString=function(){return"InjectionToken "+this._desc};wh.Object.defineProperties(Zc.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Hea=new Zc("ENVIRONMENT_INITIALIZER");var gUb=new Zc("INJECTOR",-1);var Gea=new Zc("INJECTOR_DEF_TYPES");var Lea=function(){};Lea.prototype.get=function(a,b){b=void 0===b?eUb:b;if(b===eUb)throw a=Error("wa`"+zc(a)),a.name="NullInjectorError",a;return b};var Nc=vc({"\u0275cmp":vc}),qea=vc({"\u0275dir":vc}),uea=vc({"\u0275pipe":vc}),hUb=vc({"\u0275mod":vc}),wea=vc({"\u0275fac":vc}),td=vc({__NG_ELEMENT_ID__:vc}),iUb=vc({__NG_ENV_ID__:vc});var Pc={},Lc=[];var Iea=vc({provide:String,useValue:vc});var Fja=new Zc("Set Injector scope.");var Qea={},jUb={},Kea=void 0,Iv=function(){},Ad=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;Sea(a,function(g){return kUb(e,g)});this.records.set(gUb,$c(void 0,this));d.has("environment")&&this.records.set(Iv,$c(void 0,this));a=this.records.get(Fja);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Gea.multi,Lc,2))};U(Ad,Iv);
Ad.prototype.destroy=function(){lUb(this);this._destroyed=!0;try{for(var a=k(this._ngOnDestroyHooks),b=a.next();!b.done;b=a.next())b.value.ngOnDestroy();var c=this._onDestroyHooks;this._onDestroyHooks=[];for(var d=k(c),e=d.next();!e.done;e=d.next()){var g=e.value;g()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}};
Ad.prototype.onDestroy=function(a){var b=this;lUb(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);-1!==c&&b._onDestroyHooks.splice(c,1)}};Ad.prototype.runInContext=function(a){lUb(this);var b=Gc(this),c=Bc();try{return a()}finally{Gc(b),Bc(c)}};
Ad.prototype.get=function(a,b,c){b=void 0===b?eUb:b;c=void 0===c?0:c;lUb(this);if(a.hasOwnProperty(iUb))return a[iUb](this);c=eea(c);var d=Gc(this),e=Bc();try{if(!(c&4)){var g=this.records.get(a);if(void 0===g){var h=("function"===typeof a||"object"===typeof a&&a instanceof Zc)&&Tda(a),m;if(m=h)if(h.providedIn){var r=Dc(h.providedIn);m="string"===typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}else m=!1;m?g=$c(Oea(a),Qea):g=null;this.records.set(a,g)}if(null!=g){b=g;b.value===
Qea&&(b.value=jUb,b.value=b.factory());var v;if(v="object"===typeof b.value&&b.value){var y=b.value;v=null!==y&&"object"===typeof y&&"function"===typeof y.ngOnDestroy}v&&this._ngOnDestroyHooks.add(b.value);return b.value}}var A=c&2?Mea():this.parent;b=c&8&&b===eUb?null:b;return A.get(a,b)}catch(va){if("NullInjectorError"===va.name){(va.ngTempTokenPath=va.ngTempTokenPath||[]).unshift(zc(a));if(d)throw va;v=va;var G=this.source,N=v.ngTempTokenPath;a.__source&&N.unshift(a.__source);var Q="\n"+v.message;
a=G;a=void 0===a?null:a;Q=Q&&"\n"===Q.charAt(0)&&"\u0275"==Q.charAt(1)?Q.slice(2):Q;var Z=zc(N);if(Array.isArray(N))Z=N.map(zc).join(" -> ");else if("object"===typeof N){G=[];for(var Y in N)if(N.hasOwnProperty(Y)){var ea=N[Y];G.push(Y+":"+("string"===typeof ea?JSON.stringify(ea):zc(ea)))}Z="{"+G.join(", ")+"}"}var ja="R3InjectorError"+(a?"("+a+")":"")+"["+Z+"]: "+Q.replace(fUb,"\n  ");v.message=ja;v.ngTokenPath=N;v.ngTempTokenPath=null;throw v;}throw va;}finally{Bc(e),Gc(d)}};
var Dfa=function(a){var b=Gc(a),c=Bc();try{for(var d=a.get(Hea.multi,Lc,2),e=k(d),g=e.next();!g.done;g=e.next()){var h=g.value;h()}}finally{Gc(b),Bc(c)}};Ad.prototype.toString=function(){for(var a=[],b=k(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(zc(c.value));return"R3Injector["+a.join(", ")+"]"};
var lUb=function(a){if(a._destroyed)throw new Ac(205,!1);},kUb=function(a,b){b=Dc(b);var c=Xc(b)?b:Dc(b&&b.provide),d=Rea(b);if(Xc(b)||!0!==b.multi)a.records.get(c);else{var e=a.records.get(c);e||(e=$c(void 0,Qea,!0),e.factory=function(){return fea(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};wh.Object.defineProperties(Ad.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});Ic(bd(function(a){return{token:a}}),-1);var Jv=Ic(bd(),8);Ic(bd(),2);var Kv=Ic(bd(),4);Ic(bd(),1);var Xea=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};Xea.prototype.isFirstChange=function(){return this.firstChange};ed.ngInherit=!0;var jd=dfa(null),Ega=null,Cf=!0;var mUb=function(a){this.ref=a};mUb.prototype.deref=function(){return this.ref};var nUb,oUb=null!=(nUb=Nd.WeakRef)?nUb:mUb;var pUb=0,gfa=null,qUb=function(){this.id=pUb++;this.ref=new oUb(this);this.producers=new Map;this.consumers=new Map;this.trackingVersion=0};wh.Object.defineProperties(qUb.prototype,{hasProducers:{configurable:!0,enumerable:!0,get:function(){return 0<this.producers.size}}});var rUb=function(){},sUb=function(a,b){qUb.call(this);var c=this;this.watch=a;this.schedule=b;this.dirty=!1;this.cleanupFn=rUb;this.registerOnCleanup=function(d){c.cleanupFn=d}};U(sUb,qUb);sUb.prototype.notify=function(){this.dirty||this.schedule(this);this.dirty=!0};
sUb.prototype.run=function(){this.dirty=!1;var a;if(!(a=0===this.trackingVersion))a:{a=k(this.producers);for(var b=a.next();!b.done;b=a.next()){var c=k(b.value);b=c.next().value;var d=c=c.next().value;c=d.producerNode.deref();if(null==c||d.atTrackingVersion!==this.trackingVersion)this.producers.delete(b),b=void 0,null==(b=c)||b.consumers.delete(this.id);else if(b=d.seenValueVersion,0!==b||0!==b){a=!0;break a}}a=!1}if(a){a=rd(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rUb,this.watch(this.registerOnCleanup)}finally{rd(a)}}};
sUb.prototype.cleanup=function(){this.cleanupFn()};var xd=function(a,b){var c=C;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var nfa=!0,pfa=0,vd={},yd=function(a,b){this._tNode=a;this._lView=b};yd.prototype.get=function(a,b,c){return yfa(this._tNode,this._lView,a,eea(c),b)};vc({provide:String,useValue:vc});var Lv=function(){},hf=function(a){if(Array.isArray(a))return Efa({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return Efa({name:c},a.parent,a.providers,c)},tUb=new Lea;Lv.\u0275prov=wc({token:Lv,providedIn:"any",factory:function(){return u(gUb)}});Lv.__NG_ELEMENT_ID__=-1;var Mv=function(){};var uUb=function(){},vUb=function(){};var Ffa=void 0;var wUb=new Zc("AppId",{providedIn:"root",factory:function(){return"ng"}}),zja=new Zc("Platform Initializer"),Nv=new Zc("Platform ID",{providedIn:"platform",factory:function(){return"unknown"}});new Zc("Application Packages Root URL");var Ov=new Zc("AnimationModuleType"),xUb=new Zc("CSP nonce",{providedIn:"root",factory:function(){var a,b;return(null==(a=Gfa().body)?void 0:null==(b=a.querySelector("[ngCspNonce]"))?void 0:b.getAttribute("ngCspNonce"))||null}});new Zc("",{providedIn:"root",factory:function(){return new Set}});var yUb=function(){},zUb=function(){};var Bd=function(a){this.nativeElement=a};Bd.__NG_ELEMENT_ID__=function(){return Cd(kd(),w())};var AUb=function(){},Pv=function(){this.destroyNode=null};Pv.__NG_ELEMENT_ID__=function(){var a=w(),b=hd(kd().index,a);return(cd(b)?b:a)[11]};var Ifa=new Map,Cga=0;var Wd=function(){this._console=console};Wd.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};Wd.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};new Zc("");var BUb=new Zc("",{providedIn:"root",factory:function(){return!1}});var Ofa=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,Pfa=/(<|>)/;var Jd=function(){qUb.apply(this,arguments);this._lView=null};U(Jd,qUb);Jd.prototype.runInContext=function(a,b,c){var d=rd(this);this.trackingVersion++;try{a(b,c)}finally{rd(d)}};Jd.prototype.destroy=function(){this.trackingVersion++};wh.Object.defineProperties(Jd.prototype,{lView:{configurable:!0,enumerable:!0,set:function(a){this._lView=a}},hasReadASignal:{configurable:!0,enumerable:!0,get:function(){return this.hasProducers}}});var Id=null;var Ud={};var Kd=function(a){this.changingThisBreaksApplicationSecurity=a};Kd.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var CUb=function(){Kd.apply(this,arguments)};U(CUb,Kd);CUb.prototype.getTypeName=function(){return"HTML"};var DUb=function(){Kd.apply(this,arguments)};U(DUb,Kd);DUb.prototype.getTypeName=function(){return"URL"};var EUb=function(){Kd.apply(this,arguments)};U(EUb,Kd);
EUb.prototype.getTypeName=function(){return"ResourceURL"};var dga;var nga=function(a){this.inertDocumentHelper=a};nga.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(fga(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var mga=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
mga.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=fga(a);return b};var gga=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var FUb=Od("area,br,col,hr,img,wbr"),GUb=Od("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),HUb=Od("rp,rt"),IUb=Pd(HUb,GUb),JUb=Pd(GUb,Od("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")),KUb=Pd(HUb,Od("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")),
pga=Pd(FUb,JUb,KUb,IUb),rga=Od("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),LUb=Od("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"),
MUb=Od("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"),
qga=Pd(rga,LUb,MUb),sga=Od("script,style,template"),oga=function(){this.buf=[]};oga.prototype.endElement=function(a){a=a.nodeName.toLowerCase();pga.hasOwnProperty(a)&&!FUb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var tga=function(a,b){if(b&&(a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Aa`"+a.outerHTML);return b},iga=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jga=/([^#-~ |!])/g,lga;var NUb={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 vga;var Qv=function(){this.all=new Set;this.queue=new Map};Qv.prototype.create=function(a,b,c){var d=this,e="undefined"===typeof Zone?null:Zone.current,g=new sUb(a,function(m){d.all.has(m)&&d.queue.set(m,e)},c);this.all.add(g);g.notify();a=function(){g.cleanup();var m;null==(m=h)||m();d.all.delete(g);d.queue.delete(g)};var h=null==b?void 0:b.onDestroy(a);return{destroy:a}};
Qv.prototype.flush=function(){if(0!==this.queue.size)for(var a=k(this.queue),b=a.next(),c={};!b.done;c={$jscomp$loop$prop$watch$m2066454881$7:c.$jscomp$loop$prop$watch$m2066454881$7},b=a.next()){var d=k(b.value);b=d.next().value;d=d.next().value;c.$jscomp$loop$prop$watch$m2066454881$7=b;b=d;this.queue.delete(c.$jscomp$loop$prop$watch$m2066454881$7);b?b.run(function(e){return function(){return e.$jscomp$loop$prop$watch$m2066454881$7.run()}}(c)):c.$jscomp$loop$prop$watch$m2066454881$7.run()}};
Qv.\u0275prov=wc({token:Qv,providedIn:"root",factory:function(){return new Qv}});var ig=function(a,b){this._lView=a;this._cdRefInjectingView=b;this._appRef=null;this._attachedToViewContainer=!1};f=ig.prototype;f.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(dd(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(Sfa(a,c),yea(b,c))}this._attachedToViewContainer=!1}Ufa(this._lView[1],this._lView)};f.onDestroy=function(a){var b=this._lView;if(256===(b[2]&256))throw new Ac(911,!1);null===b[21]&&(b[21]=[]);b[21].push(a)};
f.markForCheck=function(){Lfa(this._cdRefInjectingView||this._lView)};f.detach=function(){this._lView[2]&=-129};f.detectChanges=function(){dha(this._lView[1],this._lView,this.context)};
wh.Object.defineProperties(ig.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return bha(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 256===(this._lView[2]&256)}}});var OUb=function(a){ig.call(this,a);this._view=a};U(OUb,ig);OUb.prototype.detectChanges=function(){var a=this._view;dha(a[1],a,a[8],!1)};
wh.Object.defineProperties(OUb.prototype,{context:{configurable:!0,enumerable:!0,get:function(){return null}}});var PUb=function(){};PUb.\u0275prov=wc({token:PUb,providedIn:"root",factory:function(){return null}});var Rv=function(){this.full="0.0.0-PLACEHOLDER";this.minor=this.major="0";this.patch=["0","0","0-PLACEHOLDER"].slice(2).join(".")},QUb=new Rv;var RUb={};var SUb=function(a){this.ngModule=a};U(SUb,Mv);var TUb=function(a,b){return new kg(b[Nc]||null,a.ngModule)},UUb=function(a,b){this.injector=a;this.parentInjector=b};UUb.prototype.get=function(a,b,c){c=eea(c);var d=this.injector.get(a,RUb,c);return d!==RUb||b===RUb?d:this.parentInjector.get(a,b,c)};
var kg=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(lea).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};U(kg,zUb);
kg.prototype.create=function(a,b,c,d){d=d||this.ngModule;var e;(d=d instanceof Iv?d:null==(e=d)?void 0:e.injector)&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);var g=d?new UUb(a,d):a;a=g.get(AUb,null);if(null===a)throw new Ac(407,!1);e=g.get(PUb,null);d=g.get(Qv,null);d={rendererFactory:a,sanitizer:e,effectManager:d};a=a.createRenderer(null,this.componentDef);e=this.componentDef.selectors[0][0]||"div";if(c)e=this.componentDef.encapsulation,e=g.get(BUb,
!1)||3===e,e=a.selectRootElement(c,e);else{var h=e.toLowerCase();e=a.createElement(e,"svg"===h?"svg":"math"===h?"math":null)}h=e;e=this.componentDef.onPush?576:528;var m=this.componentDef.signals?4608:e;e=Oga(0,null,null,1,0,null,null,null,null,null,null);g=Dga(null,e,null,m,null,null,d,a,g,null,null);cfa(g);try{var r=this.componentDef;m=null;if(r.findHostDirectiveDefs){var v=[];m=new Map;r.findHostDirectiveDefs(r,v,m);v.push(r)}else v=[r];var y=g[1];g[25]=h;var A=Td(y,25,2,"#host",null);y=v;for(var G=
g[1],N=k(y),Q=N.next();!Q.done;Q=N.next())A.mergedAttrs=Jc(A.mergedAttrs,Q.value.hostAttrs);null!==A.mergedAttrs&&(aha(A,A.mergedAttrs,!0),null!==h&&$fa(a,h,A));N=null;null!==h&&(N=null);var Z=d.rendererFactory.createRenderer(h,r);Q=16;r.signals?Q=4096:r.onPush&&(Q=64);var Y=Dga(g,Iga(r),null,Q,g[A.index],A,d,Z,null,null,N);G.firstCreatePass&&Rga(G,A,y.length-1);Jga(g,Y);var ea=g[A.index]=Y;var ja=e.data[25];if(h)if(c)hea(a,h,["ng-version",QUb.full]);else{var va=r.selectors[0];c=[];A=[];G=1;for(Z=
2;G<va.length;){var za=va[G];if("string"===typeof za)2===Z?""!==za&&c.push(za,va[++G]):8===Z&&A.push(za);else{if(0!==(Z&1))break;Z=za}G++}c&&hea(a,h,c);if(A&&0<A.length){var Pa=A.join(" ");""===Pa?a.removeAttribute(h,"class"):a.setAttribute(h,"class",Pa)}}if(void 0!==b){var Sa=this.ngContentSelectors,Wa=ja.projection=[];for(va=0;va<Sa.length;va++){var Qb=b[va];Wa.push(null!=Qb?Array.from(Qb):null)}}b=v;Sa=m;v=[hha];var Gb=kd(),cb=g[1],sa=gd(Gb,g);Sga(cb,g,Gb,b,null,Sa);for(Sa=0;Sa<b.length;Sa++){var Ja=
wd(g,cb,Gb.directiveStart+Sa,Gb);Dd(Ja,g)}Lga(cb,g,Gb);sa&&Dd(sa,g);var Qa=wd(g,cb,Gb.directiveStart+Gb.componentOffset,Gb);ea[8]=g[8]=Qa;if(null!==v)for(var fb=k(v),Za=fb.next();!Za.done;Za=fb.next()){var Yc=Za.value;Yc(Qa,r)}Hga(cb,Gb,ea);var jb=Qa;$ga(e,g,null)}finally{ffa()}return new Sv(this.componentType,jb,Cd(ja,g),g,ja)};
wh.Object.defineProperties(kg.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){var a=this.componentDef,b=a.inputTransforms;a=gha(a.inputs);if(null!==b)for(var c=k(a),d=c.next();!d.done;d=c.next())d=d.value,b.hasOwnProperty(d.propName)&&(d.transform=b[d.propName]);return a}},outputs:{configurable:!0,enumerable:!0,get:function(){return gha(this.componentDef.outputs)}}});
var Sv=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 OUb(d);this.componentType=a};U(Sv,yUb);
Sv.prototype.setInput=function(a,b){var c=this._tNode.inputs,d;null!==c&&(d=c[a])&&(null!=this.previousInputValues||(this.previousInputValues=new Map),this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),b)||(c=this._rootLView,Qga(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=hd(this._tNode.index,c),Lfa(a)))};Sv.prototype.destroy=function(){this.hostView.destroy()};Sv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
wh.Object.defineProperties(Sv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new yd(this._tNode,this._rootLView)}}});var Xd=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new SUb(this);var d=(a[hUb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=Cfa(a,b,[{provide:uUb,useValue:this},{provide:Mv,useValue:this.componentFactoryResolver}].concat(ad(c)),zc(a),new Set(["environment"]));Dfa(this._r3Injector);this.instance=this._r3Injector.get(a)};U(Xd,uUb);
Xd.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};Xd.prototype.onDestroy=function(a){this.destroyCbs.push(a)};wh.Object.defineProperties(Xd.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var VUb=function(a){this.moduleType=a};U(VUb,vUb);VUb.prototype.create=function(a){return new Xd(this.moduleType,a,[])};
var jha=function(a){this.componentFactoryResolver=new SUb(this);this.instance=null;var b=new Ad([].concat(ad(a.providers),[{provide:uUb,useValue:this},{provide:Mv,useValue:this.componentFactoryResolver}]),a.parent||Mea(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&Dfa(b)};U(jha,uUb);jha.prototype.destroy=function(){this.injector.destroy()};jha.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var WUb=new Zc("Application Initializer"),Tv=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=null!=(b=Hc(WUb,{optional:!0}))?b:[]},XUb=function(a){if(!a.initialized){for(var b=[],c=k(a.appInits),d=c.next(),e={};!d.done;e={$jscomp$loop$prop$initResult$m761133046$1:e.$jscomp$loop$prop$initResult$m761133046$1},d=c.next())d=d.value,e.$jscomp$loop$prop$initResult$m761133046$1=d(),Yd(e.$jscomp$loop$prop$initResult$m761133046$1)?
b.push(e.$jscomp$loop$prop$initResult$m761133046$1):lha(e.$jscomp$loop$prop$initResult$m761133046$1)&&(d=new Promise(function(g){return function(h,m){g.$jscomp$loop$prop$initResult$m761133046$1.subscribe({complete:h,error:m})}}(e)),b.push(d));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(g){a.reject(g)});0===b.length&&(a.done=!0,a.resolve());a.initialized=!0}};Tv.\u0275fac=function(a){return new (a||Tv)};Tv.\u0275prov=wc({token:Tv,factory:Tv.\u0275fac,providedIn:"root"});var Uv=function(){};Uv.prototype.log=function(a){console.log(a)};Uv.prototype.warn=function(a){console.warn(a)};Uv.\u0275fac=function(a){return new (a||Uv)};Uv.\u0275prov=wc({token:Uv,factory:Uv.\u0275fac,providedIn:"platform"});var nha=["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 1===Math.floor(Math.abs(a))&&0===b?1:5}];var oha={};var Bh=new Zc("LocaleId",{providedIn:"root",factory:function(){return Hc(Bh,12)||("undefined"!==typeof PMb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new Zc("DefaultCurrencyCode",{providedIn:"root",factory:function(){return"USD"}});new Zc("Translations");new Zc("TranslationsFormat");var YUb=!1,fe={Promise:void 0,set useDeprecatedSynchronousErrorHandling(a){a?console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+Error().stack):YUb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");YUb=a},get useDeprecatedSynchronousErrorHandling(){return YUb}};var ve="function"===typeof Symbol&&Symbol.observable||"@@observable";var ZUb={closed:!0,next:function(){},error:function(a){if(fe.useDeprecatedSynchronousErrorHandling)throw a;$d(a)},complete:function(){}};var ce=function(){function a(b){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;return this}a.prototype=Object.create(Error.prototype);return a}();var le=Array.isArray||function(a){return a&&"number"===typeof a.length};var be=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
be.prototype.unsubscribe=function(){if(!this.closed){var a=this._parentOrParents,b=this._ctorUnsubscribe,c=this._unsubscribe,d=this._subscriptions;this.closed=!0;this._subscriptions=this._parentOrParents=null;if(a instanceof be)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(ae(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(r){var g=r instanceof ce?rha(r.errors):[r]}}if(le(d)){e=-1;for(var h=d.length;++e<h;){var m=d[e];if(pha(m))try{m.unsubscribe()}catch(r){g=
g||[],r instanceof ce?g=g.concat(rha(r.errors)):g.push(r)}}}if(g)throw new ce(g);}};
be.prototype.add=function(a){var b=a;if(!a)return be.EMPTY;switch(typeof a){case "function":b=new be(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof be||(a=b,b=new be,b._subscriptions=[a]);break;default:throw Error("Ca`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof be){if(c===this)return b;b._parentOrParents=[c,this]}else if(-1===c.indexOf(this))c.push(this);else return b;
a=this._subscriptions;null===a?this._subscriptions=[b]:a.push(b);return b};be.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};var $Ub=new be;$Ub.closed=!0;be.EMPTY=$Ub;var de=function(a,b,c){be.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=ZUb;break;case 1:if(!a){this.destination=ZUb;break}if("object"===typeof a){a instanceof de?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new Vv(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new Vv(this,a,b,c)}};U(de,be);
de.EMPTY=be.EMPTY;de.create=function(a,b,c){a=new de(a,b,c);a.syncErrorThrowable=!1;return a};f=de.prototype;f.next=function(a){this.isStopped||this._next(a)};f.error=function(a){this.isStopped||(this.isStopped=!0,this._error(a))};f.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())};f.unsubscribe=function(){this.closed||(this.isStopped=!0,be.prototype.unsubscribe.call(this))};f._next=function(a){this.destination.next(a)};f._error=function(a){this.destination.error(a);this.unsubscribe()};
f._complete=function(){this.destination.complete();this.unsubscribe()};var Vv=function(a,b,c,d){de.call(this);this._parentSubscriber=a;var e=this;if(ae(b))var g=b;else b&&(g=b.next,c=b.error,d=b.complete,b!==ZUb&&(e=Object.create(b),qha(b)&&b.add(this.unsubscribe.bind(this)),e.unsubscribe=this.unsubscribe.bind(this)));this._context=e;this._next=g;this._error=c;this._complete=d};U(Vv,de);Vv.EMPTY=de.EMPTY;Vv.create=de.create;f=Vv.prototype;
f.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;fe.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,this._next,a)&&this.unsubscribe():this.__tryOrUnsub(this._next,a)}};
f.error=function(a){if(!this.isStopped){var b=this._parentSubscriber,c=fe.useDeprecatedSynchronousErrorHandling;if(this._error)c&&b.syncErrorThrowable?this.__tryOrSetError(b,this._error,a):this.__tryOrUnsub(this._error,a),this.unsubscribe();else if(b.syncErrorThrowable)c?(b.syncErrorValue=a,b.syncErrorThrown=!0):$d(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;$d(a)}}};
f.complete=function(){var a=this;if(!this.isStopped){var b=this._parentSubscriber;if(this._complete){var c=function(){return a._complete.call(a._context)};fe.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,c):this.__tryOrUnsub(c)}this.unsubscribe()}};f.__tryOrUnsub=function(a,b){try{a.call(this._context,b)}catch(c){this.unsubscribe();if(fe.useDeprecatedSynchronousErrorHandling)throw c;$d(c)}};
f.__tryOrSetError=function(a,b,c){if(!fe.useDeprecatedSynchronousErrorHandling)throw Error("Da");try{b.call(this._context,c)}catch(d){return fe.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):$d(d),!0}return!1};f._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this._context=null;a.unsubscribe()};var aVb=function(a){de.call(this);this.destination=a};U(aVb,de);aVb.EMPTY=de.EMPTY;aVb.create=de.create;var ge=function(a){a&&(this._subscribe=a)};f=ge.prototype;f.lift=function(a){var b=new ge;b.source=this;b.operator=a;return b};
f.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof de||vha(a)&&qha(a))break a;if(vha(a)){a=new aVb(a);break a}}a=a||b||c?new de(a,b,c):new de(ZUb)}d?a.add(d.call(a,this.source)):a.add(this.source||fe.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(fe.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
f._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){fe.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=b),sha(a)?a.error(b):console.warn(b)}};f.forEach=function(a,b){var c=this;b=wha(b);return new b(function(d,e){var g=c.subscribe(function(h){try{a(h)}catch(m){e(m),g&&g.unsubscribe()}},e,d)})};f._subscribe=function(a){var b=this.source;return b&&b.subscribe(a)};ge.prototype[ve]=function(){return this};
ge.prototype.pipe=function(){var a=Wc.apply(0,arguments);return 0===a.length?this:tha(a)(this)};var bVb=function(a){var b=wha(b);return new b(function(c,d){var e;a.subscribe(function(g){return e=g},function(g){return d(g)},function(){return c(e)})})};ge.create=function(a){return new ge(a)};var cVb=function(a,b){be.call(this);this.subject=a;this.subscriber=b;this.closed=!1};U(cVb,be);cVb.EMPTY=be.EMPTY;cVb.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this.subject,b=a.observers;this.subject=null;!b||0===b.length||a.isStopped||a.closed||(a=b.indexOf(this.subscriber),-1!==a&&b.splice(a,1))}};var Wv=function(){function a(){this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}a.prototype=Object.create(Error.prototype);return a}();var We=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};U(We,ge);f=We.prototype;f.lift=function(a){var b=new Xv(this,this);b.operator=a;return b};f.next=function(a){if(this.closed)throw new Wv;if(!this.isStopped){var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].next(a)}};
f.error=function(a){if(this.closed)throw new Wv;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};f.complete=function(){if(this.closed)throw new Wv;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};f.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};
f._trySubscribe=function(a){if(this.closed)throw new Wv;return ge.prototype._trySubscribe.call(this,a)};f._subscribe=function(a){if(this.closed)throw new Wv;if(this.hasError)return a.error(this.thrownError),be.EMPTY;if(this.isStopped)return a.complete(),be.EMPTY;this.observers.push(a);return new cVb(this,a)};var dVb=function(a){var b=new ge;b.source=a;return b};
wh.Object.defineProperties(We.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return 0<(null==(a=this.observers)?void 0:a.length)}}});We.create=function(a,b){return new Xv(a,b)};var Xv=function(a,b){We.call(this);this.destination=a;this.source=b};U(Xv,We);Xv.create=We.create;Xv.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};Xv.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
Xv.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};Xv.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):be.EMPTY};var me=function(){We.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};U(me,We);me.create=We.create;me.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),be.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),be.EMPTY):We.prototype._subscribe.call(this,a)};me.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};me.prototype.error=function(a){this.hasCompleted||We.prototype.error.call(this,a)};
me.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&We.prototype.next.call(this,this.value);We.prototype.complete.call(this)};var Yv=function(a){We.call(this);this._value=a};U(Yv,We);Yv.create=We.create;Yv.prototype._subscribe=function(a){var b=We.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};Yv.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Wv;return this._value};Yv.prototype.next=function(a){We.prototype.next.call(this,this._value=a)};wh.Object.defineProperties(Yv.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Be=new ge(function(a){return a.complete()});var zha=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var eVb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};eVb.prototype.observe=function(a){switch(this.kind){case "N":var b;null==(b=a.next)||b.call(a,this.value);break;case "E":var c;null==(c=a.error)||c.call(a,this.error);break;case "C":var d;null==(d=a.complete)||d.call(a)}};
eVb.prototype.accept=function(a,b,c){if(a&&"function"===typeof a.next)a=this.observe(a);else{switch(this.kind){case "N":null==a||a(this.value);break;case "E":null==b||b(this.error);break;case "C":null==c||c()}a=void 0}return a};var fVb={now:function(){return(fVb.delegate||Date).now()},delegate:void 0};var Ve=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?fVb:c;We.call(this);this.timestampProvider=c;this._events=[];this._infiniteTimeWindow=!1;this._bufferSize=1>a?1:a;this._windowTime=1>b?1:b;Infinity===b?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow};U(Ve,We);Ve.create=We.create;f=Ve.prototype;
f.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();We.prototype.next.call(this,a)};f.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();We.prototype.next.call(this,a)};
f._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new Wv;if(this.isStopped||this.hasError)var e=be.EMPTY;else this.observers.push(a),e=new cVb(this,a);if(b)for(var g=0;g<d&&!a.closed;g++)a.next(c[g]);else for(g=0;g<d&&!a.closed;g++)a.next(c[g].value);this.hasError?a.error(this.thrownError):this.isStopped&&a.complete();return e};f._getNow=function(){var a=this.timestampProvider;return a?a.now():fVb.now()};
f._trimBufferThenGetEvents=function(){for(var a=this._getNow(),b=this._bufferSize,c=this._windowTime,d=this._events,e=d.length,g=0;g<e&&!(a-d[g].time<c);)g++;e>b&&(g=Math.max(g,e-b));0<g&&d.splice(0,g);return d};var hVb=function(a,b){b=void 0===b?gVb:b;this.SchedulerAction=a;this.now=b};hVb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var gVb=fVb.now;var Pe=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}a.prototype=Object.create(Error.prototype);return a}();var Dha=function(){};Dha.prototype.call=function(a,b){b._refCount++;a=new iVb(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};var iVb=function(a,b){de.call(this,a);this.connectable=b;this.connection=null};U(iVb,de);iVb.EMPTY=de.EMPTY;iVb.create=de.create;
iVb.prototype._unsubscribe=function(){var a=this.connectable;if(a){this.connectable=null;var b=a._refCount;0>=b?this.connection=null:(a._refCount=b-1,1<b?this.connection=null:(b=this.connection,a=a._connection,this.connection=null,!a||b&&a!==b||a.unsubscribe()))}else this.connection=null};var Zv=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};U(Zv,ge);Zv.create=ge.create;Zv.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};Zv.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
Zv.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new be,a.add(this.source.subscribe(new $v(this.getSubject(),this))),a.closed&&(this._connection=null,a=be.EMPTY));return a};Zv.prototype.refCount=function(){return ke()(this)};var aja,jVb=Zv.prototype;
aja={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:jVb._subscribe},_isComplete:{value:jVb._isComplete,writable:!0},getSubject:{value:jVb.getSubject},connect:{value:jVb.connect},refCount:{value:jVb.refCount}};var $v=function(a,b){de.call(this);this.destination=a;this.connectable=b};U($v,de);$v.EMPTY=de.EMPTY;$v.create=de.create;
$v.prototype._error=function(a){this._unsubscribe();de.prototype._error.call(this,a)};$v.prototype._complete=function(){this.connectable._isComplete=!0;this._unsubscribe();de.prototype._complete.call(this)};$v.prototype._unsubscribe=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()}};var Eha=function(a){this.project=a;this.thisArg=void 0};Eha.prototype.call=function(a,b){return b.subscribe(new kVb(a,this.project,this.thisArg))};var kVb=function(a,b,c){de.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};U(kVb,de);kVb.EMPTY=de.EMPTY;kVb.create=de.create;kVb.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 ue="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var Vha=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var lVb=function(a){return function(b){var c=a[ue]();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);"function"===typeof c.return&&b.add(function(){c.return&&c.return()});return b}};var mVb=function(a){return function(b){var c=a[ve]();if("function"!==typeof c.subscribe)throw new TypeError("Ha");return c.subscribe(b)}};var nVb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,$d);return b}};var Qha=function(a){if(a&&"function"===typeof a[ve])return mVb(a);if(Vha(a))return zha(a);if(Mha(a))return nVb(a);if(a&&"function"===typeof a[ue])return lVb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return Oha(a);throw new TypeError("Ia`"+(pha(a)?"an invalid object":"'"+a+"'"));};var aw=function(a){de.call(this);this.parent=a};U(aw,de);aw.EMPTY=de.EMPTY;aw.create=de.create;aw.prototype._next=function(a){this.parent.notifyNext(a)};aw.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};aw.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var bw=function(a,b,c){de.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};U(bw,de);bw.EMPTY=de.EMPTY;bw.create=de.create;
bw.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};bw.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};bw.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var cw=function(){de.apply(this,arguments)};U(cw,de);cw.EMPTY=de.EMPTY;cw.create=de.create;cw.prototype.notifyNext=function(a){this.destination.next(a)};cw.prototype.notifyError=function(a){this.destination.error(a)};
cw.prototype.notifyComplete=function(){this.destination.complete()};var dw=function(){de.apply(this,arguments)};U(dw,de);dw.EMPTY=de.EMPTY;dw.create=de.create;dw.prototype.notifyNext=function(a,b){this.destination.next(b)};dw.prototype.notifyError=function(a){this.destination.error(a)};dw.prototype.notifyComplete=function(){this.destination.complete()};var oVb={},Cia=function(a,b){this.resultSelector=a;this.keys=b};Cia.prototype.call=function(a,b){return b.subscribe(new pVb(a,this.resultSelector,this.keys))};var pVb=function(a,b,c){dw.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};U(pVb,dw);pVb.EMPTY=dw.EMPTY;pVb.create=dw.create;f=pVb.prototype;f._next=function(a){this.values.push(oVb);this.observables.push(a)};
f._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{this.toRespond=this.active=b;for(var c=0;c<b;c++)this.add(te(a[c],new bw(this,null,c)))}};f.notifyComplete=function(){0===--this.active&&this.destination.complete()};
f.notifyNext=function(a,b,c){var d=this.values,e=d[c];e=this.toRespond?e===oVb?--this.toRespond:this.toRespond:0;d[c]=b;0===e&&(this.resultSelector?this._tryResultSelector(d):this.destination.next(this.keys?this.keys.reduce(function(g,h,m){return g[h]=d[m],g},{}):d.slice()))};f._tryResultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var Xha=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};Xha.prototype.call=function(a,b){return b.subscribe(new ew(a,this.project,this.concurrent))};var ew=function(a,b,c){c=void 0===c?Infinity:c;cw.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};U(ew,cw);ew.EMPTY=cw.EMPTY;ew.create=cw.create;
ew.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 aw(this);this.destination.add(a);te(c,a)}else this.buffer.push(a)};ew.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};ew.prototype.notifyNext=function(a){this.destination.next(a)};
ew.prototype.notifyComplete=function(){var a=this.buffer;this.active--;0<a.length?this._next(a.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()};var $ha=function(a){var b=requestAnimationFrame,c=cancelAnimationFrame;fw&&(b=fw.requestAnimationFrame,c=fw.cancelAnimationFrame);var d=b(function(e){c=void 0;a(e)});return new be(function(){var e;return null==(e=c)?void 0:e(d)})},qVb=function(){return((null==fw?void 0:fw.requestAnimationFrame)||requestAnimationFrame).apply(null,ad(Wc.apply(0,arguments)))},rVb=function(){((null==fw?void 0:fw.cancelAnimationFrame)||cancelAnimationFrame).apply(null,ad(Wc.apply(0,arguments)))},fw=void 0;var Zha={now:function(){return(Zha.delegate||performance).now()},delegate:void 0};var sVb=aia();var tVb=function(){be.call(this)};U(tVb,be);tVb.EMPTY=be.EMPTY;tVb.prototype.schedule=function(){return this};var uVb=function(a,b){var c=Wc.apply(2,arguments);return(null==gw?0:gw.setInterval)?gw.setInterval.apply(gw,[a,b].concat(ad(c))):setInterval.apply(null,[a,b].concat(ad(c)))},gw=void 0;var hw=function(a,b){be.call(this);this.scheduler=a;this.work=b;this.pending=!1};U(hw,tVb);hw.EMPTY=tVb.EMPTY;f=hw.prototype;f.schedule=function(a,b){b=void 0===b?0:b;if(this.closed)return this;this.state=a;a=this.id;var c=this.scheduler;null!=a&&(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};f.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return uVb(a.flush.bind(a,this),c)};
f.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&this.delay===c&&!1===this.pending)return b;((null==gw?void 0:gw.clearInterval)||clearInterval)(b)};f.execute=function(a,b){if(this.closed)return Error("Ma");this.pending=!1;if(a=this._execute(a,b))return a;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};f._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};
f._unsubscribe=function(){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;-1!==d&&c.splice(d,1);null!=a&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null};var iw=function(a,b){b=void 0===b?gVb:b;hVb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};U(iw,hVb);iw.prototype.flush=function(a){var b=this.actions;if(this.active)b.push(a);else{var c;this.active=!0;do if(c=a.execute(a.state,a.delay))break;while(a=b.shift());this.active=!1;if(c){for(;a=b.shift();)a.unsubscribe();throw c;}}};var Ee=new iw(hw);var vVb=new ge(Ae);var kia=function(a,b){this.predicate=a;this.thisArg=b};kia.prototype.call=function(a,b){return b.subscribe(new wVb(a,this.predicate,this.thisArg))};var wVb=function(a,b,c){de.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};U(wVb,de);wVb.EMPTY=de.EMPTY;wVb.create=de.create;wVb.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 mia=function(){};mia.prototype.call=function(a,b){return b.subscribe(new xVb(a))};var xVb=function(a){dw.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};U(xVb,dw);xVb.EMPTY=dw.EMPTY;xVb.create=dw.create;f=xVb.prototype;f._next=function(a){this.observables.push(a)};
f._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{for(var c=0;c<b&&!this.hasFirst;c++){var d=te(a[c],new bw(this,null,c));this.subscriptions&&this.subscriptions.push(d);this.add(d)}this.observables=null}};f.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)};
f.notifyComplete=function(a){this.hasFirst=!0;dw.prototype.notifyComplete.call(this,a)};f.notifyError=function(a){this.hasFirst=!0;dw.prototype.notifyError.call(this,a)};var yVb=function(a){this.resultSelector=a};yVb.prototype.call=function(a,b){return b.subscribe(new jw(a,this.resultSelector))};var jw=function(a,b,c){void 0===c&&Object.create(null);de.call(this,a);this.iterators=[];this.active=0;this.resultSelector=b};U(jw,de);jw.EMPTY=de.EMPTY;jw.create=de.create;jw.prototype._next=function(a){var b=this.iterators;le(a)?b.push(new zVb(a)):"function"===typeof a[ue]?b.push(new AVb(a[ue]())):b.push(new kw(this.destination,this,a))};
jw.prototype._complete=function(){var a=this.iterators,b=a.length;this.unsubscribe();if(0===b)this.destination.complete();else{this.active=b;for(var c=0;c<b;c++){var d=a[c];d.stillUnsubscribed?this.destination.add(d.subscribe()):this.active--}}};jw.prototype._tryresultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var AVb=function(a){this.iterator=a;this.nextResult=a.next()};AVb.prototype.hasValue=function(){return!0};
AVb.prototype.next=function(){var a=this.nextResult;this.nextResult=this.iterator.next();return a};AVb.prototype.hasCompleted=function(){var a=this.nextResult;return a&&!!a.done};var zVb=function(a){this.array=a;this.length=this.index=0;this.length=a.length};zVb.prototype[ue]=function(){return this};zVb.prototype.next=function(){var a=this.index++,b=this.array;return a<this.length?{value:b[a],done:!1}:{value:null,done:!0}};zVb.prototype.hasValue=function(){return this.array.length>this.index};
zVb.prototype.hasCompleted=function(){return this.array.length===this.index};var kw=function(a,b,c){cw.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1};U(kw,cw);kw.EMPTY=cw.EMPTY;kw.create=cw.create;kw.prototype[ue]=function(){return this};f=kw.prototype;f.next=function(){var a=this.buffer;return 0===a.length&&this.isComplete?{value:null,done:!0}:{value:a.shift(),done:!1}};f.hasValue=function(){return 0<this.buffer.length};
f.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete};f.notifyComplete=function(){if(0<this.buffer.length){this.isComplete=!0;var a=this.parent;a.active--;0===a.active&&a.destination.complete()}else this.destination.complete()};
f.notifyNext=function(a){this.buffer.push(a);a:{a=this.parent;for(var b=a.iterators,c=b.length,d=a.destination,e=0;e<c;e++){var g=b[e];if("function"===typeof g.hasValue&&!g.hasValue())break a}e=!1;g=[];for(var h=0;h<c;h++){var m=b[h],r=m.next();m.hasCompleted()&&(e=!0);if(r.done){d.complete();break a}g.push(r.value)}a.resultSelector?a._tryresultSelector(g):d.next(g);e&&d.complete()}};f.subscribe=function(){return te(this.observable,new aw(this))};var BVb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};U(BVb,ge);BVb.create=ge.create;BVb.prototype._subscribe=function(a){var b=new be,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new CVb(c));b.add(d.subscribe(a));return b};var CVb=function(a){be.call(this);this.parent=a;a.count++};U(CVb,be);CVb.EMPTY=be.EMPTY;
CVb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(be.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var tia=function(){function a(b){this.message="Timeout has occurred";this.name="TimeoutError";this.info=void 0===b?null:b;return this}a.prototype=Object.create(Error.prototype);return a}();var DVb=function(a,b){a=void 0===a?lw:a;b=void 0===b?Infinity:b;iw.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};U(DVb,iw);DVb.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 lw=function(a,b,c){c=void 0===c?a.index+=1:c;hw.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};U(lw,hw);lw.EMPTY=hw.EMPTY;lw.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return hw.prototype.schedule.call(this,a,b);this.active=!1;var c=new lw(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return be.EMPTY};
lw.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(EVb);return!0};lw.prototype.recycleAsyncId=function(){};lw.prototype._execute=function(a,b){if(!0===this.active)return hw.prototype._execute.call(this,a,b)};var EVb=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 FVb=function(a,b){hw.call(this,a,b);this.scheduler=a;this.work=b};U(FVb,hw);FVb.EMPTY=hw.EMPTY;FVb.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return hw.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=qVb(function(){return a.flush(void 0)}))};
FVb.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return hw.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(rVb(b),a.scheduled=void 0)};var GVb=function(){iw.apply(this,arguments)};U(GVb,iw);GVb.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 HVb=new GVb(FVb);var IVb=1,JVb,uia={},KVb=function(a){var b=IVb++;uia[b]=!0;JVb||(JVb=Promise.resolve());JVb.then(function(){return via(b)&&a()});return b},LVb=function(a){via(a)};var NVb=function(){return((null==MVb?void 0:MVb.setImmediate)||KVb).apply(null,ad(Wc.apply(0,arguments)))},MVb=void 0;var OVb=function(a,b){hw.call(this,a,b);this.scheduler=a;this.work=b};U(OVb,hw);OVb.EMPTY=hw.EMPTY;OVb.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return hw.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=NVb(a.flush.bind(a,void 0)))};
OVb.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return hw.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(((null==MVb?void 0:MVb.clearImmediate)||LVb)(b),a.scheduled=void 0)};var PVb=function(){iw.apply(this,arguments)};U(PVb,iw);PVb.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 QVb=new PVb(OVb);var mw=function(a,b){hw.call(this,a,b);this.scheduler=a;this.work=b};U(mw,hw);mw.EMPTY=hw.EMPTY;mw.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return hw.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};mw.prototype.execute=function(a,b){return 0<b||this.closed?hw.prototype.execute.call(this,a,b):this._execute(a,b)};
mw.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?hw.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var RVb=function(){iw.apply(this,arguments)};U(RVb,iw);var SVb=new RVb(mw);var TVb=function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}a.prototype=Object.create(Error.prototype);return a}();var UVb=function(){function a(b){this.message=b;this.name="NotFoundError";return this}a.prototype=Object.create(Error.prototype);return a}();var VVb=function(){function a(b){this.message=b;this.name="SequenceError";return this}a.prototype=Object.create(Error.prototype);return a}();var E={};E.Observable=ge;E.ConnectableObservable=Zv;E.GroupedObservable=BVb;E.observable=ve;E.animationFrames=function(a){return a?aia(a):sVb};E.Subject=We;E.BehaviorSubject=Yv;E.ReplaySubject=Ve;E.AsyncSubject=me;E.asap=QVb;E.asapScheduler=QVb;E.async=Ee;E.asyncScheduler=Ee;E.queue=SVb;E.queueScheduler=SVb;E.animationFrame=HVb;E.animationFrameScheduler=HVb;E.VirtualTimeScheduler=DVb;E.VirtualAction=lw;E.Scheduler=hVb;E.Subscription=be;E.Subscriber=de;E.Notification=eVb;
E.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};E.pipe=uha;E.noop=Ae;E.identity=ee;E.isObservable=function(a){return!!a&&(a instanceof ge||"function"===typeof a.lift&&"function"===typeof a.subscribe)};E.lastValueFrom=function(a){return new Promise(function(b,c){var d=!1,e;a.subscribe({next:function(g){e=g;d=!0},error:c,complete:function(){d?b(e):c(new Pe)}})})};
E.firstValueFrom=function(a){return new Promise(function(b,c){var d=new be;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new Pe)}}))})};E.ArgumentOutOfRangeError=TVb;E.EmptyError=Pe;E.NotFoundError=UVb;E.ObjectUnsubscribedError=Wv;E.SequenceError=VVb;E.TimeoutError=tia;E.UnsubscriptionError=ce;E.bindCallback=Fha;E.bindNodeCallback=Iha;
E.combineLatest=function(){var a=Wc.apply(0,arguments),b=void 0,c=void 0,d=void 0;ie(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];le(e)&&(a=e);pha(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(g){return e[g]}))}return je(he(a,c),new Cia(b,d))};E.concat=ze;E.defer=Yha;E.empty=function(a){return a?xha(a):Be};
E.forkJoin=function(){var a=Wc.apply(0,arguments);if(1===a.length){var b=a[0];if(le(b))return bia(b,null);if(pha(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),bia(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&le(a[0])?a[0]:a;return bia(a,null).pipe(D(function(d){return c.apply(null,ad(d))}))}return bia(a,null)};E.from=we;E.fromEvent=cia;E.fromEventPattern=eia;
E.generate=function(a,b,c,d,e){if(1==arguments.length){var g=a.initialState;b=a.condition;c=a.iterate;var h=a.resultSelector||ee;e=a.scheduler}else void 0===d||ie(d)?(g=a,h=ee,e=d):(g=a,h=d);return new ge(function(m){var r=g;if(e)return e.schedule(fia,0,{subscriber:m,iterate:c,condition:b,resultSelector:h,state:r});do{if(b){var v=void 0;try{v=b(r)}catch(y){m.error(y);break}if(!v){m.complete();break}}v=void 0;try{v=h(r)}catch(y){m.error(y);break}m.next(v);if(m.closed)break;try{r=c(r)}catch(y){m.error(y);
break}}while(1)})};E.iif=function(a,b,c){b=void 0===b?Be:b;c=void 0===c?Be:c;return Yha(function(){return a()?b:c})};E.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?Ee:b;if(!gia(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=Ee);return new ge(function(c){c.add(b.schedule(hia,a,{subscriber:c,counter:0,period:a}));return c})};
E.merge=function(){var a=Wc.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];ie(d)?(c=a.pop(),1<a.length&&"number"===typeof a[a.length-1]&&(b=a.pop())):"number"===typeof d&&(b=a.pop());return!c&&1===a.length&&a[0]instanceof ge?a[0]:ye(b)(he(a,c))};E.never=function(){return vVb};E.of=Aha;E.onErrorResumeNext=iia;
E.pairs=function(a,b){return b?new ge(function(c){var d=Object.keys(a),e=new be;e.add(b.schedule(jia,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new ge(function(c){for(var d=Object.keys(a),e=0;e<d.length&&!c.closed;e++){var g=d[e];a.hasOwnProperty(g)&&c.next([g,a[g]])}c.complete()})};E.partition=function(a,b,c){return[De(b,c)(new ge(Qha(a))),De(lia(b,c))(new ge(Qha(a)))]};E.race=nia;
E.range=function(a,b,c){a=void 0===a?0:a;return new ge(function(d){void 0===b&&(b=a,a=0);var e=0,g=a;if(c)return c.schedule(oia,0,{index:e,count:b,start:a,subscriber:d});do{if(e++>=b){d.complete();break}d.next(g++);if(d.closed)break}while(1)})};E.throwError=function(a,b){return b?new ge(function(c){return b.schedule(Bha,0,{error:a,subscriber:c})}):new ge(function(c){return c.error(a)})};E.timer=ria;
E.using=function(a,b){return new ge(function(c){try{var d=a()}catch(h){c.error(h);return}try{var e=b(d)}catch(h){c.error(h);return}var g=(e?we(e):Be).subscribe(c);return function(){g.unsubscribe();d&&d.unsubscribe()}})};E.zip=function(){var a=Wc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return je(he(a),new yVb(b))};E.scheduled=Wha;E.EMPTY=Be;E.NEVER=vVb;E.config=fe;var nw=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new E.BehaviorSubject(!1)};nw.prototype.add=function(){this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};nw.prototype.remove=function(a){this.pendingTasks.delete(a);0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)};nw.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this.hasPendingTasks.next(!1)};nw.\u0275fac=function(a){return new (a||nw)};
nw.\u0275prov=wc({token:nw,factory:nw.\u0275fac,providedIn:"root"});var ow=function(){};ow.prototype.getModuleId=function(){};ow.\u0275fac=function(a){return new (a||ow)};ow.\u0275prov=wc({token:ow,factory:ow.\u0275fac,providedIn:"root"});new Zc("compilerOptions");var pw=function(a){a=void 0===a?!1:a;E.Subject.call(this);this.__isAsync=a};U(pw,E.Subject);pw.create=E.Subject.create;pw.prototype.emit=function(a){E.Subject.prototype.next.call(this,a)};
pw.prototype.subscribe=function(a,b,c){var d=a;b=b||function(){return null};if(a&&"object"===typeof a){var e;d=null==(e=a.next)?void 0:e.bind(a);var g;b=null==(g=a.error)?void 0:g.bind(a);var h;c=null==(h=a.complete)?void 0:h.bind(a)}this.__isAsync&&(b=wia(b),d&&(d=wia(d)),c&&(c=wia(c)));d=E.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof E.Subscription&&a.add(d);return d};var yia=function(a){this.durationSelector=a};yia.prototype.call=function(a,b){return b.subscribe(new qw(a,this.durationSelector))};var qw=function(a,b){cw.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};U(qw,cw);qw.EMPTY=cw.EMPTY;qw.create=cw.create;
qw.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=te(c,new aw(this));!a||a.closed?WVb(this):this.add(this.throttled=a)}};var WVb=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))};qw.prototype.notifyNext=function(){WVb(this)};qw.prototype.notifyComplete=function(){WVb(this)};var Aia=function(a){this.closingNotifier=a};Aia.prototype.call=function(a,b){return b.subscribe(new rw(a,this.closingNotifier))};var rw=function(a,b){cw.call(this,a);this.buffer=[];this.add(te(b,new aw(this)))};U(rw,cw);rw.EMPTY=cw.EMPTY;rw.create=cw.create;rw.prototype._next=function(a){this.buffer.push(a)};rw.prototype.notifyNext=function(){var a=this.buffer;this.buffer=[];this.destination.next(a)};var Gia=function(a){this.durationSelector=a};Gia.prototype.call=function(a,b){return b.subscribe(new XVb(a,this.durationSelector))};var XVb=function(a,b){cw.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};U(XVb,cw);XVb.EMPTY=cw.EMPTY;XVb.create=cw.create;f=XVb.prototype;f._next=function(a){try{var b=this.durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}};f._complete=function(){YVb(this);this.destination.complete()};
f._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.hasValue=!0;c&&(c.unsubscribe(),this.remove(c));(c=te(b,new aw(this)))&&!c.closed&&this.add(this.durationSubscription=c)};f.notifyNext=function(){YVb(this)};f.notifyComplete=function(){YVb(this)};var YVb=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;cw.prototype._next.call(a,b)}};var Iia=function(a,b){this.dueTime=a;this.scheduler=b};Iia.prototype.call=function(a,b){return b.subscribe(new sw(a,this.dueTime,this.scheduler))};var sw=function(a,b,c){de.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};U(sw,de);sw.EMPTY=de.EMPTY;sw.create=de.create;sw.prototype._next=function(a){ZVb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(Lia,this.dueTime,this))};
sw.prototype._complete=function(){Jia(this);this.destination.complete()};var Jia=function(a){ZVb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},ZVb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var Mia=function(a){this.defaultValue=a};Mia.prototype.call=function(a,b){return b.subscribe(new tw(a,this.defaultValue))};var tw=function(a,b){de.call(this,a);this.defaultValue=b;this.isEmpty=!0};U(tw,de);tw.EMPTY=de.EMPTY;tw.create=de.create;tw.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};tw.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var Nia=function(a,b){this.delay=a;this.scheduler=b};Nia.prototype.call=function(a,b){return b.subscribe(new uw(a,this.delay,this.scheduler))};var uw=function(a,b,c){de.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};U(uw,de);uw.EMPTY=de.EMPTY;uw.create=de.create;
var $Vb=function(a){for(var b=a.source,c=b.queue,d=a.scheduler,e=a.destination;0<c.length&&0>=c[0].time-d.now();)e.next(c.shift().value);0<c.length?(b=Math.max(0,c[0].time-d.now()),this.schedule(a,b)):(b.isStopped?b.destination.complete():this.unsubscribe(),b.active=!1)};uw.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule($Vb,this.delay,{source:this,destination:b,scheduler:a}))};
uw.prototype._next=function(a){var b=this.scheduler;a=new aWb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};uw.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};uw.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var aWb=function(a,b){this.time=a;this.value=b};var Oia=function(a){this.compare=a;this.keySelector=void 0};Oia.prototype.call=function(a,b){return b.subscribe(new vw(a,this.compare,this.keySelector))};var vw=function(a,b,c){de.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};U(vw,de);vw.EMPTY=de.EMPTY;vw.create=de.create;vw.prototype.compare=function(a,b){return a===b};
vw.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 Pia=function(){this.count=1};Pia.prototype.call=function(a,b){return b.subscribe(new bWb(a,this.count))};var bWb=function(a,b){de.call(this,a);this.count=b;this._valueCount=0};U(bWb,de);bWb.EMPTY=de.EMPTY;bWb.create=de.create;bWb.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 Ria=function(a){this.errorFactory=a};Ria.prototype.call=function(a,b){return b.subscribe(new ww(a,this.errorFactory))};var ww=function(a,b){de.call(this,a);this.errorFactory=b;this.hasValue=!1};U(ww,de);ww.EMPTY=de.EMPTY;ww.create=de.create;ww.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};ww.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var Tia=function(a){this.callback=a};Tia.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var Uia=function(){};Uia.prototype.call=function(a,b){return b.subscribe(new cWb(a))};var cWb=function(){de.apply(this,arguments)};U(cWb,de);cWb.EMPTY=de.EMPTY;cWb.create=de.create;cWb.prototype._next=function(){};var Wia=function(){this.total=1};Wia.prototype.call=function(a,b){return b.subscribe(new xw(a,this.total))};var xw=function(a,b){de.call(this,a);this.total=b;this.ring=[];this.count=0};U(xw,de);xw.EMPTY=de.EMPTY;xw.create=de.create;xw.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
xw.prototype._complete=function(){var a=this.destination,b=this.count;if(0<b)for(var c=this.count>=this.total?this.total:this.count,d=this.ring,e=0;e<c;e++){var g=b++%c;a.next(d[g])}a.complete()};var Yia=function(a){this.value=a};Yia.prototype.call=function(a,b){return b.subscribe(new dWb(a,this.value))};var dWb=function(a,b){de.call(this,a);this.value=b};U(dWb,de);dWb.EMPTY=de.EMPTY;dWb.create=de.create;dWb.prototype._next=function(){this.destination.next(this.value)};var Zia=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};Zia.prototype.call=function(a,b){return b.subscribe(new eWb(a,this.accumulator,this.seed,this.hasSeed))};var eWb=function(a,b,c,d){de.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};U(eWb,de);eWb.EMPTY=de.EMPTY;eWb.create=de.create;
eWb.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 gja=function(a){this.total=a};gja.prototype.call=function(a,b){return b.subscribe(new fWb(a,this.total))};var fWb=function(a,b){de.call(this,a);this.total=b;this.count=0};U(fWb,de);fWb.EMPTY=de.EMPTY;fWb.create=de.create;fWb.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var hja=function(a){this.project=a};hja.prototype.call=function(a,b){return b.subscribe(new gWb(a,this.project))};var gWb=function(a,b){cw.call(this,a);this.destination=a;this.project=b;this.index=0};U(gWb,cw);gWb.EMPTY=cw.EMPTY;gWb.create=cw.create;f=gWb.prototype;f._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 aw(this);this.destination.add(a);this.innerSubscription=a;te(c,a)};
f._complete=function(){var a=this.innerSubscription;a&&!a.closed||cw.prototype._complete.call(this);this.unsubscribe()};f._unsubscribe=function(){this.innerSubscription=void 0};f.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&cw.prototype._complete.call(this)};f.notifyNext=function(a){this.destination.next(a)};var ija=function(a){this.notifier=a};ija.prototype.call=function(a,b){a=new yw(a);var c=te(this.notifier,new aw(a));return c&&!a.notifierHasNotified?(a.add(c),b.subscribe(a)):a};var yw=function(a){cw.call(this,a);this.notifierHasNotified=!1};U(yw,cw);yw.EMPTY=cw.EMPTY;yw.create=cw.create;yw.prototype.notifyNext=function(){this.notifierHasNotified=!0;this.complete()};yw.prototype.notifyComplete=function(){};var jja=function(a,b){this.predicate=a;this.inclusive=b};jja.prototype.call=function(a,b){return b.subscribe(new hWb(a,this.predicate,this.inclusive))};var hWb=function(a,b,c){de.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};U(hWb,de);hWb.EMPTY=de.EMPTY;hWb.create=de.create;hWb.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 lja=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};lja.prototype.call=function(a,b){return b.subscribe(new zw(a,this.nextOrObserver,this.error,this.complete))};var zw=function(a,b,c,d){de.call(this,a);this._tapComplete=this._tapError=this._tapNext=Ae;this._tapError=c||Ae;this._tapComplete=d||Ae;ae(b)?(this._context=this,this._tapNext=b):b&&(this._context=b,this._tapNext=b.next||Ae,this._tapError=b.error||Ae,this._tapComplete=b.complete||Ae)};U(zw,de);zw.EMPTY=de.EMPTY;
zw.create=de.create;zw.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};zw.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};zw.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var mja={leading:!0,trailing:!1},nja=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};nja.prototype.call=function(a,b){return b.subscribe(new Aw(a,this.durationSelector,this.leading,this.trailing))};var Aw=function(a,b,c,d){cw.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};U(Aw,cw);Aw.EMPTY=cw.EMPTY;Aw.create=cw.create;
Aw.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():iWb(this,a))};Aw.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),iWb(this,a));this._hasValue=!1;this._sendValue=null};var iWb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=te(c,new aw(a)))},jWb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
Aw.prototype.notifyNext=function(){jWb(this)};Aw.prototype.notifyComplete=function(){jWb(this)};var qja=function(a,b){this.observables=a;this.project=b};qja.prototype.call=function(a,b){return b.subscribe(new Bw(a,this.observables,this.project))};var Bw=function(a,b,c){dw.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(te(b[c],new bw(this,void 0,c)))};U(Bw,dw);Bw.EMPTY=dw.EMPTY;Bw.create=dw.create;
Bw.prototype.notifyNext=function(a,b,c){this.values[c]=b;b=this.toRespond;0<b.length&&(c=b.indexOf(c),-1!==c&&b.splice(c,1))};Bw.prototype.notifyComplete=function(){};Bw.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(ad(this.values)),this.project?this._tryProject(a):this.destination.next(a))};Bw.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var ef=function(a){var b=void 0===a.enableLongStackTrace?!1:a.enableLongStackTrace,c=void 0===a.shouldCoalesceEventChangeDetection?!1:a.shouldCoalesceEventChangeDetection;a=void 0===a.shouldCoalesceRunChangeDetection?!1:a.shouldCoalesceRunChangeDetection;this.hasPendingMicrotasks=this.hasPendingMacrotasks=!1;this.isStable=!0;this.onUnstable=new pw(!1);this.onMicrotaskEmpty=new pw(!1);this.onStable=new pw(!1);this.onError=new pw(!1);if("undefined"==typeof Zone)throw new Ac(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.lastRequestAnimationFrameId=-1;c="function"===typeof Nd.requestAnimationFrame;b=Nd[c?"requestAnimationFrame":"setTimeout"];c=Nd[c?"cancelAnimationFrame":"clearTimeout"];"undefined"!==
typeof Zone&&b&&c&&((c=b[Zone.__symbol__("OriginalDelegate")])&&(b=c),Zone.__symbol__("OriginalDelegate"));this.nativeRequestAnimationFrame=b;vja(this)},xja=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},wja=function(){if(xja())throw new Ac(909,!1);};ef.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};ef.prototype.runTask=function(a,b,c){var d=this._inner;a=d.scheduleEventTask("NgZoneEvent: undefined",a,kWb,xia,xia);try{return d.runTask(a,b,c)}finally{d.cancelTask(a)}};
ef.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};ef.prototype.runOutsideAngular=function(a){return this._outer.run(a)};var kWb={},jf=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new pw;this.onMicrotaskEmpty=new pw;this.onStable=new pw;this.onError=new pw};jf.prototype.run=function(a,b,c){return a.apply(b,c)};jf.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};jf.prototype.runOutsideAngular=function(a){return a()};
jf.prototype.runTask=function(a,b,c){return a.apply(b,c)};var Oja=new Zc("",{providedIn:"root",factory:yja});var lWb=new Zc(""),mWb=new Zc(""),Cw=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._pendingCount=0;this._isZoneStable=!0;this._didWork=!1;this._callbacks=[];this.taskTrackingZone=null;nWb||(nWb=c,oWb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})};
Cw.prototype._watchAngularEvents=function(){var a=this;this._ngZone.onUnstable.subscribe({next:function(){a._didWork=!0;a._isZoneStable=!1}});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.subscribe({next:function(){wja();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};Cw.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
Cw.prototype._runCallbacksIfReady=function(){var a=this;if(this.isStable())queueMicrotask(function(){for(;0!==a._callbacks.length;){var c=a._callbacks.pop();clearTimeout(c.timeoutId);c.doneCb(a._didWork)}a._didWork=!1});else{var b=pWb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0});this._didWork=!0}};
var pWb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};f=Cw.prototype;f.addCallback=function(a,b,c){var d=this,e=-1;b&&0<b&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(g){return g.timeoutId!==e});a(d._didWork,pWb(d))},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};
f.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Pa");this.addCallback(a,b,c);this._runCallbacksIfReady()};f.registerApplication=function(a){this.registry.registerApplication(a,this)};f.unregisterApplication=function(a){this.registry.unregisterApplication(a)};f.findProviders=function(){return[]};Cw.\u0275fac=function(a){return new (a||Cw)(u(ef),u(Dw),u(mWb))};Cw.\u0275prov=wc({token:Cw,factory:Cw.\u0275fac});var Dw=function(){this._applications=new Map};
Dw.prototype.registerApplication=function(a,b){this._applications.set(a,b)};Dw.prototype.unregisterApplication=function(a){this._applications.delete(a)};Dw.prototype.findTestabilityInTree=function(a,b){var c,d;return null!=(d=null==(c=nWb)?void 0:c.findTestabilityInTree(this,a,void 0===b?!0:b))?d:null};Dw.\u0275fac=function(a){return new (a||Dw)};Dw.\u0275prov=wc({token:Dw,factory:Dw.\u0275fac,providedIn:"platform"});var nWb;var qWb=this,ff=null,Cja=new Zc("AllowMultipleToken"),Gja=new Zc("PlatformDestroyListeners"),rWb=new Zc("appBootstrapListener"),sWb=function(a,b){this.name=a;this.token=b},gf=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},tWb=function(a,b,c){var d=Ija(null==c?void 0:c.ngZone,Hja({eventCoalescing:null==c?void 0:c.ngZoneEventCoalescing,runCoalescing:null==c?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=iha(b.moduleType,a.injector,Pja(function(){return d})),
g=e.injector.get(Wd,null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(m){g.handleError(m)}});e.onDestroy(function(){Lja(a._modules,e);h.unsubscribe()})});return Jja(g,d,function(){var h=e.injector.get(Tv);XUb(h);return h.donePromise.then(function(){var m=e.injector.get(Bh,"en-US")||"en-US";if(null==m)throw Error("va`Expected localeId to be defined` [Expected=> null != "+(m+" <=Actual]"));a._moduleDoBootstrap(e);return e})})})},vWb=function(){var a=uWb(),b=Ew;var c=void 0===
c?[]:c;var d=Kja({},c);Promise.resolve(new VUb(b)).then(function(e){return tWb(a,e,d)})};gf.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(Fw);if(0<a._bootstrapComponents.length)a._bootstrapComponents.forEach(function(c){return b.bootstrap(c)});else if(a.instance.ngDoBootstrap)a.instance.ngDoBootstrap(b);else throw new Ac(-403,!1);this._modules.push(a)};gf.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
gf.prototype.destroy=function(){if(this._destroyed)throw new Ac(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Gja,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};wh.Object.defineProperties(gf.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
gf.\u0275fac=function(a){return new (a||gf)(u(Lv))};gf.\u0275prov=wc({token:gf,factory:gf.\u0275fac,providedIn:"platform"});var Fw=function(){var a=this;this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=Hc(Nja);this.zoneIsStable=Hc(Oja);this.componentTypes=[];this.components=[];this.isStable=Hc(nw).hasPendingTasks.pipe(af(function(b){return b?(0,E.of)(!1):a.zoneIsStable}),Ne(),Xe());this._injector=Hc(Iv)};
Fw.prototype.bootstrap=function(a,b){var c=this,d=a instanceof zUb;if(!this._injector.get(Tv).done)throw new Ac(405,!1);var e;d?e=a:e=TUb(this._injector.get(Mv),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(uUb);var g=e.create(tUb,[],b||e.selector,a),h=g.location.nativeElement,m=g.injector.get(lWb,null);null==m||m.registerApplication(h);g.onDestroy(function(){c.detachView(g.hostView);Lja(c.components,g);null==m||m.unregisterApplication(h)});this._loadComponent(g);
return g};var wWb=function(a){if(a._runningTick)throw new Ac(101,!1);try{a._runningTick=!0;for(var b=k(a._views),c=b.next();!c.done;c=b.next())c.value.detectChanges()}catch(d){a.internalErrorHandler(d)}finally{a._runningTick=!1}},xWb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new Ac(902,!1);b._appRef=a};f=Fw.prototype;f.detachView=function(a){Lja(this._views,a);a._appRef=null;var b=a._lView;Hd(b[11],2,a._lView[1].firstChild,b,null,null,!1)};
f._loadComponent=function(a){xWb(this,a.hostView);wWb(this);this.components.push(a);var b=this._injector.get(rWb,[]);b.push.apply(b,ad(this._bootstrapListeners));b.forEach(function(c){return c(a)})};f.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=[]}};
f.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return Lja(b._destroyListeners,a)}};f.destroy=function(){if(this._destroyed)throw new Ac(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};wh.Object.defineProperties(Fw.prototype,{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}}});
Fw.\u0275fac=function(a){return new (a||Fw)};Fw.\u0275prov=wc({token:Fw,factory:Fw.\u0275fac,providedIn:"root"});var Nja=new Zc("",{providedIn:"root",factory:function(){return Hc(Wd).handleError.bind(qWb)}}),kf=function(){this.zone=Hc(ef);this.applicationRef=Hc(Fw)};kf.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.zone.run(function(){wWb(a.applicationRef)})}}))};
kf.prototype.ngOnDestroy=function(){var a;null==(a=this._onMicrotaskEmptySubscription)||a.unsubscribe()};kf.\u0275fac=function(a){return new (a||kf)};kf.\u0275prov=wc({token:kf,factory:kf.\u0275fac,providedIn:"root"});new Zc("");new Zc("AnalyzeForEntryComponents");var tf=0,uf=0,vf=0,cka=0,eka=0;var vka=wka;var Qf=function(a){this._injector=a;this.cachedInjectors=new Map};Qf.prototype.ngOnDestroy=function(){try{for(var a=k(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;null!==c&&c.destroy()}}finally{this.cachedInjectors.clear()}};Qf.\u0275prov=wc({token:Qf,providedIn:"environment",factory:function(){return new Qf(u(Iv))}});var fg=function(a){this._emitDistinctChangesOnly=a=void 0===a?!1:a;this.dirty=!0;this._results=[];this._changesDetected=!1;this._changes=null;this.length=0;this.last=this.first=void 0;var b=fg.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Lka)};f=fg.prototype;f.get=function(a){return this._results[a]};f.map=function(a){return this._results.map(a)};f.filter=function(a){return this._results.filter(a)};f.find=function(a){return this._results.find(a)};
f.reduce=function(a,b){return this._results.reduce(a,b)};f.forEach=function(a){this._results.forEach(a)};f.some=function(a){return this._results.some(a)};f.toArray=function(){return this._results.slice()};f.toString=function(){return this._results.toString()};
f.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],g=a[d];b&&(e=b(e),g=b(g));if(g!==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 ag=function(a){!a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};fg.prototype.setDirty=function(){this.dirty=!0};
fg.prototype.destroy=function(){this.changes.complete();this.changes.unsubscribe()};wh.Object.defineProperties(fg.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){return this._changes||(this._changes=new pw)}}});Symbol.iterator;var Zf=function(){};Zf.__NG_ELEMENT_ID__=Nka;var Xf=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};U(Xf,Zf);Xf.__NG_ELEMENT_ID__=Zf.__NG_ELEMENT_ID__;Xf.prototype.createEmbeddedView=function(a,b){return yWb(this,a,b)};
var yWb=function(a,b,c){var d=a._declarationTContainer.tView;c=Dga(a._declarationLView,d,b,a._declarationLView[2]&4096?4096:16,null,d.declTNode,null,null,null,c||null,null);c[16]=a._declarationLView[a._declarationTContainer.index];a=a._declarationLView[18];null!==a&&(c[18]=a.createEmbeddedView(d));$ga(d,c,b);return new ig(c)};wh.Object.defineProperties(Xf.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this._declarationTContainer.tView)?void 0:a.ssrId)||null}}});var $f=function(){};$f.__NG_ELEMENT_ID__=Pka;var Yf=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};U(Yf,$f);Yf.__NG_ELEMENT_ID__=$f.__NG_ELEMENT_ID__;f=Yf.prototype;f.clear=function(){for(;0<this.length;)this.remove(this.length-1)};f.get=function(a){var b=this._lContainer[8];return null!==b&&b[a]||null};f.createEmbeddedView=function(a,b,c){if("number"===typeof c)var d=c;else if(null!=c){d=c.index;var e=c.injector}a=yWb(a,b||{},e);zWb(this,a,d);return a};
f.createComponent=function(a,b,c,d){var e=a&&"function"!==typeof a;if(!e){var g=b||{};b=g.index;c=g.injector;d=g.projectableNodes;g=g.environmentInjector||g.ngModuleRef}a=e?a:new kg(a[Nc]||null);c=c||this.parentInjector;g||null!=a.ngModule||(e=(e?c:this.parentInjector).get(Iv,null))&&(g=e);d=a.create(c,d,null,g);zWb(this,d.hostView,b);return d};f.insert=function(a,b){return zWb(this,a,b)};
var zWb=function(a,b,c){var d=b._lView,e=d[1];if(dd(d[3])){var g=a.indexOf(b);-1!==g?a.detach(g):(g=d[3],g=new Yf(g,g[6],g[3]),g.detach(g.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;g=11+c;var h=a.length;0<c&&(a[g-1][4]=d);c<h-11?(d[4]=a[g],g=11+c,g>=a.length?a.push(d):a.splice(g,0,d)):(a.push(d),d[4]=null);d[3]=a;g=d[16];null!==g&&a!==g&&(h=g[9],d[15]!==d[3][3][15]&&(g[2]=!0),null===h?g[9]=[d]:h.push(d));g=d[18];null!==g&&AWb(g,e);d[2]|=128;g=Xfa(c,a);h=d[11];var m=h.parentNode(a[7]);if(null!==
m){var r=a[6];d[0]=m;d[6]=r;Hd(h,1,e.firstChild,d,m,g,!1)}if(b._appRef)throw new Ac(902,!1);b._attachedToViewContainer=!0;d=Qka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};f=Yf.prototype;f.move=function(a,b){return this.insert(a,b)};f.indexOf=function(a){var b=this._lContainer[8];return null!==b?b.indexOf(a):-1};f.remove=function(a){a=this._adjustIndex(a,-1);var b=Sfa(this._lContainer,a);b&&(yea(Qka(this._lContainer),a),Ufa(b[1],b))};
f.detach=function(a){a=this._adjustIndex(a,-1);var b=Sfa(this._lContainer,a);return b&&null!=yea(Qka(this._lContainer),a)?new ig(b):null};f._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
wh.Object.defineProperties(Yf.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return Cd(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new yd(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=tfa(this._hostTNode,this._hostLView);if(-1!==a){var b=mfa(a,this._hostLView);return new yd(b[1].data[(a&32767)+8],b)}return new yd(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-11}}});var Rka=Ska;var Zka=function(a){this.queryList=a;this.matches=null};Zka.prototype.clone=function(){return new Zka(this.queryList)};Zka.prototype.setDirty=function(){this.queryList.setDirty()};var Yka=function(a){this.queries=a=void 0===a?[]:a};Yka.prototype.createEmbeddedView=function(a){var b=a.queries;if(null!==b){a=null!==a.contentQueries?a.contentQueries[0]:b.length;for(var c=[],d=0;d<a;d++)c.push(this.queries[b.queries[d].indexInDeclarationView].clone());return new Yka(c)}return null};
Yka.prototype.detachView=function(a){AWb(this,a)};var AWb=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},Wka=function(a,b,c){this.predicate=a;this.flags=b;this.read=void 0===c?null:c},$ka=function(a){this.queries=a=void 0===a?[]:a};f=$ka.prototype;f.elementStart=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].elementStart(a,b)};f.elementEnd=function(a){for(var b=0;b<this.queries.length;b++)this.queries[b].elementEnd(a)};
f.embeddedTView=function(a){for(var b=null,c=0;c<this.length;c++){var d=this.queries[c].embeddedTView(a,null!==b?b.length:0);d&&(d.indexInDeclarationView=c,null!==b?b.push(d):b=[d])}return null!==b?new $ka(b):null};f.template=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].template(a,b)};f.track=function(a){this.queries.push(a)};wh.Object.defineProperties($ka.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var gg=function(a,b){this.metadata=a;this.matches=null;this.indexInDeclarationView=-1;this.crossesNgTemplate=!1;this._appliesToNextNode=!0;this._declarationNodeIndex=void 0===b?-1:b};
gg.prototype.elementStart=function(a,b){if(BWb(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 g=b.localNames;if(null!==g)for(var h=0;h<g.length;h+=2)if(g[h]===e){g=g[h+1];break a}g=null}CWb(this,a,b,g);CWb(this,a,b,Afa(b,a,e,!1,!1))}else c===Zf?b.type&4&&CWb(this,a,b,-1):CWb(this,a,b,Afa(b,a,c,!1,!1))}};gg.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
gg.prototype.template=function(a,b){this.elementStart(a,b)};gg.prototype.embeddedTView=function(a,b){return BWb(this,a)?(this.crossesNgTemplate=!0,DWb(this,-a.index,b),new gg(this.metadata)):null};
var BWb=function(a,b){if(a._appliesToNextNode&&1!==(a.metadata.flags&1)){a=a._declarationNodeIndex;for(b=b.parent;null!==b&&b.type&8&&b.index!==a;)b=b.parent;return a===(null!==b?b.index:-1)}return a._appliesToNextNode},CWb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===Bd||e===$f||e===Zf&&c.type&4?DWb(a,c.index,-2):(b=Afa(c,b,e,!1,!1),null!==b&&DWb(a,c.index,b)):DWb(a,c.index,d)}},DWb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};var Gw=function(){};Gw.\u0275fac=function(a){return new (a||Gw)(u(Fw))};Gw.\u0275mod=Oc({type:Gw});Gw.\u0275inj=xc({});var Hw=function(){};Hw.__NG_ELEMENT_ID__=ala;var EWb=function(){};EWb.prototype.supports=function(a){return Vja(a)};EWb.prototype.create=function(a){return new Iw(a)};var FWb=function(a,b){return b},Iw=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||FWb};
Iw.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};var GWb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var g=!a||c&&c.currentIndex<bla(a,d,e)?c:a,h=bla(g,d,e),m=g.currentIndex;if(g===a)d--,a=a._nextRemoved;else if(c=c._next,null==g.previousIndex)d++;else{e||(e=[]);var r=h-d,v=m-d;if(r!=v){for(var y=0;y<r;y++){var A=y<e.length?e[y]:e[y]=0,G=A+y;v<=G&&G<r&&(e[y]=A+1)}e[g.previousIndex]=v-r}}h!==m&&b(g,h,m)}};
Iw.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};Iw.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};var HWb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};f=Iw.prototype;f.diff=function(a){null==a&&(a=[]);if(!Vja(a))throw new Ac(900,!1);return this.check(a)?this:null};f.onDestroy=function(){};
f.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 g=a[e];var h=this._trackByFn(e,g);null!==c&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,g,h,e)),Object.is(c.item,g)||this._addIdentityChange(c,g)):(c=this._mismatch(c,g,h,e),d=!0);c=c._next}}else{var m=0;Wja(a,function(r){h=b._trackByFn(m,r);null!==c&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,r,h,m)),Object.is(c.item,r)||b._addIdentityChange(c,
r)):(c=b._mismatch(c,r,h,m),d=!0);c=c._next;m++});this.length=m}this._truncate(c);this.collection=a;return this.isDirty};
f._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;this._additionsHead=this._additionsTail=null;for(a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._identityChangesHead=this._identityChangesTail=this._removalsHead=this._removalsTail=this._movesHead=this._movesTail=null}};
f._mismatch=function(a,b,c,d){if(null===a)var e=this._itTail;else e=a._prev,this._remove(a);a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):(a=null===this._linkedRecords?null:this._linkedRecords.get(c,d),null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):a=this._addAfter(new IWb(b,c),e,d));return a};
f._verifyReinsertion=function(a,b,c,d){b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==b?a=this._reinsertAfter(b,a._prev,d):a.currentIndex!=d&&(a.currentIndex=d,this._addToMoves(a,d));return a};
f._truncate=function(a){for(;null!==a;){var b=a._next;this._addToRemovals(this._unlink(a));a=b}null!==this._unlinkedRecords&&this._unlinkedRecords.clear();null!==this._additionsTail&&(this._additionsTail._nextAdded=null);null!==this._movesTail&&(this._movesTail._nextMoved=null);null!==this._itTail&&(this._itTail._next=null);null!==this._removalsTail&&(this._removalsTail._nextRemoved=null);null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)};
f._reinsertAfter=function(a,b,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);var d=a._prevRemoved,e=a._nextRemoved;null===d?this._removalsHead=e:d._nextRemoved=e;null===e?this._removalsTail=d:e._prevRemoved=d;this._insertAfter(a,b,c);this._addToMoves(a,c);return a};f._moveAfter=function(a,b,c){this._unlink(a);this._insertAfter(a,b,c);this._addToMoves(a,c);return a};
f._addAfter=function(a,b,c){this._insertAfter(a,b,c);this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a;return a};f._insertAfter=function(a,b,c){var d=null===b?this._itHead:b._next;a._next=d;a._prev=b;null===d?this._itTail=a:d._prev=a;null===b?this._itHead=a:b._next=a;null===this._linkedRecords&&(this._linkedRecords=new Jw);this._linkedRecords.put(a);a.currentIndex=c;return a};f._remove=function(a){return this._addToRemovals(this._unlink(a))};
f._unlink=function(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);var b=a._prev,c=a._next;null===b?this._itHead=c:b._next=c;null===c?this._itTail=b:c._prev=b;return a};f._addToMoves=function(a,b){if(a.previousIndex===b)return a;this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a;return a};
f._addToRemovals=function(a){null===this._unlinkedRecords&&(this._unlinkedRecords=new Jw);this._unlinkedRecords.put(a);a.currentIndex=null;a._nextRemoved=null;null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a);return a};
f._addIdentityChange=function(a,b){a.item=b;this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};wh.Object.defineProperties(Iw.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var IWb=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},JWb=function(){this._tail=this._head=null};JWb.prototype.add=function(a){null===this._head?(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)};
JWb.prototype.get=function(a,b){var c;for(c=this._head;null!==c;c=c._nextDup)if((null===b||b<=c.currentIndex)&&Object.is(c.trackById,a))return c;return null};JWb.prototype.remove=function(a){var b=a._prevDup;a=a._nextDup;null===b?this._head=a:b._nextDup=a;null===a?this._tail=b:a._prevDup=b;return null===this._head};var Jw=function(){this.map=new Map};Jw.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new JWb,this.map.set(b,c));c.add(a)};
Jw.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};Jw.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};Jw.prototype.clear=function(){this.map.clear()};wh.Object.defineProperties(Jw.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var KWb=function(){};KWb.prototype.supports=function(a){return a instanceof Map||Uja(a)};KWb.prototype.create=function(){return new LWb};var LWb=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};LWb.prototype.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)};var MWb=function(a,b){for(a=a._changesHead;null!==a;a=a._nextChanged)b(a)};
f=LWb.prototype;f.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};f.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};f.diff=function(a){if(!a)a=new Map;else if(!(a instanceof Map||Uja(a)))throw new Ac(900,!1);return this.check(a)?this:null};f.onDestroy=function(){};
f.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;null!==a;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};f._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};
f._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 NWb(a);this._records.set(a,c);c.currentValue=b;this._addToAdditions(c);return c};
f._reset=function(){if(this.isDirty){var a;for(a=this._previousMapHead=this._mapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._removalsHead=this._additionsHead=this._additionsTail=this._changesHead=this._changesTail=null}};
f._maybeAddToChanges=function(a,b){Object.is(b,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=b,this._addToChanges(a))};f._addToAdditions=function(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};f._addToChanges=function(a){null===this._changesHead?this._changesHead=this._changesTail=a:this._changesTail=this._changesTail._nextChanged=a};
f._forEach=function(a,b){a instanceof Map?a.forEach(b):Object.keys(a).forEach(function(c){return b(a[c],c)})};wh.Object.defineProperties(LWb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var NWb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var Kw=function(a){this.factories=a};Kw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new Ac(901,!1);};Kw.\u0275prov=wc({token:Kw,providedIn:"root",factory:function(){return new Kw([new EWb])}});var Lw=function(a){this.factories=a};Lw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new Ac(901,!1);};Lw.\u0275prov=wc({token:Lw,providedIn:"root",factory:function(){return new Lw([new KWb])}});var OWb=Eja(null,"core",[]);var PWb=/\s+/,QWb=[],Mw=function(a,b,c,d){this._iterableDiffers=a;this._keyValueDiffers=b;this._ngEl=c;this._renderer=d;this.initialClasses=QWb;this.stateMap=new Map};
Mw.prototype.ngDoCheck=function(){for(var a=k(this.initialClasses),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(a=k(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(null!=a){var c=k(Object.keys(a));for(b=c.next();!b.done;b=c.next())b=b.value,this._updateState(b,!!a[b])}this._applyStateDiff()};
Mw.prototype._updateState=function(a,b){var c=this.stateMap.get(a);void 0!==c?(c.enabled!==b&&(c.changed=!0,c.enabled=b),c.touched=!0):this.stateMap.set(a,{enabled:b,changed:!0,touched:!0})};Mw.prototype._applyStateDiff=function(){for(var a=k(this.stateMap),b=a.next();!b.done;b=a.next()){var c=b.value;b=c[0];c=c[1];c.changed?(this._toggleClass(b,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b));c.touched=!1}};
Mw.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(PWb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};wh.Object.defineProperties(Mw.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(PWb):QWb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(PWb):a}}});
Mw.\u0275fac=function(a){return new (a||Mw)(C(Kw),C(Lw),C(Bd),C(Pv))};Mw.\u0275dir=Qc({type:Mw,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});var RWb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};wh.Object.defineProperties(RWb.prototype,{first:{configurable:!0,enumerable:!0,get:function(){return 0===this.index}},last:{configurable:!0,enumerable:!0,get:function(){return this.index===this.count-1}},even:{configurable:!0,enumerable:!0,get:function(){return 0===this.index%2}},odd:{configurable:!0,enumerable:!0,get:function(){return!this.even}}});
var Nw=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};Nw.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)};
Nw.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;GWb(a,function(h,m,r){null==h.previousIndex?c.createEmbeddedView(b._template,new RWb(h.item,b._ngForOf,-1,-1),null===r?void 0:r):null==r?c.remove(null===m?void 0:m):null!==m&&(m=c.get(m),c.move(m,r),m.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var g=c.get(d).context;g.index=d;g.count=e;g.ngForOf=this._ngForOf}HWb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
wh.Object.defineProperties(Nw.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)}}});Nw.\u0275fac=function(a){return new (a||Nw)(C($f),C(Zf),C(Kw))};
Nw.\u0275dir=Qc({type:Nw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var Ow=function(a,b){this._viewContainer=a;this._context=new SWb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
Ow.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)))};
wh.Object.defineProperties(Ow.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){dla("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){dla("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});Ow.\u0275fac=function(a){return new (a||Ow)(C($f),C(Zf))};
Ow.\u0275dir=Qc({type:Ow,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var SWb=function(){this.ngIf=this.$implicit=null};var TWb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};TWb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};TWb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var Pw=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};Pw.prototype._addCase=function(){return this._caseCount++};Pw.prototype._addDefault=function(a){this._defaultViews.push(a)};
Pw.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};
Pw.prototype._updateDefaultCases=function(a){if(0<this._defaultViews.length&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=k(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()}}};wh.Object.defineProperties(Pw.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});Pw.\u0275fac=function(a){return new (a||Pw)};
Pw.\u0275dir=Qc({type:Pw,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var Qw=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new TWb(a,b)};Qw.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};Qw.\u0275fac=function(a){return new (a||Qw)(C($f),C(Zf),C(Pw,9))};Qw.\u0275dir=Qc({type:Qw,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var Rw=function(a,b,c){c._addDefault(new TWb(a,b))};Rw.\u0275fac=function(a){return new (a||Rw)(C($f),C(Zf),C(Pw,9))};Rw.\u0275dir=Qc({type:Rw,selectors:[["","ngSwitchDefault",""]],standalone:!0});var Sw=function(a,b,c){this._ngEl=a;this._differs=b;this._renderer=c;this._differ=this._ngStyle=null};Sw.prototype.ngDoCheck=function(){if(this._differ){var a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}};Sw.prototype._setStyle=function(a,b){var c=k(a.split("."));a=c.next().value;c=c.next().value;var d=-1===a.indexOf("-")?void 0:2;null!=b?this._renderer.setStyle(this._ngEl.nativeElement,a,c?""+b+c:b,d):this._renderer.removeStyle(this._ngEl.nativeElement,a,d)};
Sw.prototype._applyChanges=function(a){var b=this;a.forEachRemovedItem(function(c){return b._setStyle(c.key,null)});a.forEachAddedItem(function(c){return b._setStyle(c.key,c.currentValue)});MWb(a,function(c){return b._setStyle(c.key,c.currentValue)})};wh.Object.defineProperties(Sw.prototype,{ngStyle:{configurable:!0,enumerable:!0,set:function(a){this._ngStyle=a;!this._differ&&a&&(this._differ=this._differs.find(a).create())}}});Sw.\u0275fac=function(a){return new (a||Sw)(C(Bd),C(Lw),C(Pv))};
Sw.\u0275dir=Qc({type:Sw,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});var Tw=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};
Tw.prototype.ngOnChanges=function(a){if(a.ngTemplateOutlet||a.ngTemplateOutletInjector)if(a=this._viewContainerRef,this._viewRef&&a.remove(a.indexOf(this._viewRef)),this.ngTemplateOutlet){var b=this.ngTemplateOutletInjector;this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext,b?{injector:b}:void 0)}else this._viewRef=null;else this._viewRef&&a.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)};
Tw.\u0275fac=function(a){return new (a||Tw)(C($f))};Tw.\u0275dir=Qc({type:Tw,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ed]});var UWb=function(){};UWb.prototype.createSubscription=function(a,b){return hfa(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};UWb.prototype.dispose=function(a){hfa(function(){return a.unsubscribe()})};var VWb=function(){};VWb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};VWb.prototype.dispose=function(){};var WWb=new VWb,XWb=new UWb,Uw=function(a){this._strategy=this._obj=this._subscription=this._latestValue=null;this._ref=a};f=Uw.prototype;
f.ngOnDestroy=function(){this._subscription&&this._dispose();this._ref=null};f.transform=function(a){return this._obj?a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue:(a&&this._subscribe(a),this._latestValue)};f._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)})};
f._selectStrategy=function(a){if(Yd(a))return WWb;if(lha(a))return XWb;throw ng();};f._dispose=function(){this._strategy.dispose(this._subscription);this._obj=this._subscription=this._latestValue=null};f._updateLatestValue=function(a,b){a===this._obj&&(this._latestValue=b,this._ref.markForCheck())};Uw.\u0275fac=function(a){return new (a||Uw)(C(Hw,16))};Uw.\u0275pipe=Rc({name:"async",type:Uw,pure:!1,standalone:!0});var Vw=function(){};Vw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw ng();return a.toLowerCase()};Vw.\u0275fac=function(a){return new (a||Vw)};Vw.\u0275pipe=Rc({name:"lowercase",type:Vw,pure:!0,standalone:!0});
var YWb=/(?:[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,Ww=
function(){};Ww.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw ng();return a.replace(YWb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};Ww.\u0275fac=function(a){return new (a||Ww)};Ww.\u0275pipe=Rc({name:"titlecase",type:Ww,pure:!0,standalone:!0});var Dla=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,sg={},qla=/((?:[^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]*)/,tla={};var ZWb=new Zc("DATE_PIPE_DEFAULT_TIMEZONE"),$Wb=new Zc("DATE_PIPE_DEFAULT_OPTIONS"),Xw=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};
Xw.prototype.transform=function(a,b,c,d){if(null==a||""===a||a!==a)return null;try{var e,g,h=null!=(g=null!=b?b:null==(e=this.defaultOptions)?void 0:e.dateFormat)?g:"mediumDate",m,r,v,y=null!=(v=null!=(r=null!=c?c:null==(m=this.defaultOptions)?void 0:m.timezone)?r:this.defaultTimezone)?v:void 0;return xla(a,h,d||this.locale,y)}catch(A){throw ng();}};Xw.\u0275fac=function(a){return new (a||Xw)(C(Bh,16),C(ZWb,24),C($Wb,24))};Xw.\u0275pipe=Rc({name:"date",type:Xw,pure:!0,standalone:!0});var Yw=function(){};Yw.prototype.transform=function(a){return JSON.stringify(a,null,2)};Yw.\u0275fac=function(a){return new (a||Yw)};Yw.\u0275pipe=Rc({name:"json",type:Yw,pure:!1,standalone:!0});var Zw=function(a){this.differs=a;this.keyValues=[];this.compareFn=Fla};Zw.prototype.transform=function(a,b){var c=this;b=void 0===b?Fla:b;if(!a||!(a instanceof Map)&&"object"!==typeof a)return null;this.differ||(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};
Zw.\u0275fac=function(a){return new (a||Zw)(C(Lw,16))};Zw.\u0275pipe=Rc({name:"keyvalue",type:Zw,pure:!1,standalone:!0});var Ila=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var $w=function(a){this._locale=a};
$w.prototype.transform=function(a,b,c){if(null==a||""===a||a!==a)return null;c=c||this._locale;try{if("string"!==typeof a||isNaN(Number(a)-parseFloat(a))){if("number"!==typeof a)throw Error("$a`"+a);var d=a}else d=Number(a);a=d;var e=Zd(c)[14][0],g=mg(c,5);g=void 0===g?"-":g;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),m=h[0],r=h[1],v=-1!==m.indexOf(".")?m.split("."):[m.substring(0,m.lastIndexOf("0")+1),m.substring(m.lastIndexOf("0")+
1)],y=v[0],A=v[1]||"";d.posPre=y.substring(0,y.indexOf("#"));for(e=0;e<A.length;e++){var G=A.charAt(e);"0"===G?d.minFrac=d.maxFrac=e+1:"#"===G?d.maxFrac=e+1:d.posSuf+=G}var N=y.split(",");d.gSize=N[1]?N[1].length:0;d.lgSize=N[2]||N[1]?(N[2]||N[1]).length:0;if(r){var Q=m.length-d.posPre.length-d.posSuf.length,Z=r.indexOf("#");d.negPre=r.substring(0,Z).replace(/'/g,"");d.negSuf=r.slice(Z+Q).replace(/'/g,"")}else d.negPre=g+d.posPre,d.negSuf=d.posSuf;return Lla(a,d,c,b)}catch(Y){throw ng();}};
$w.\u0275fac=function(a){return new (a||$w)(C(Bh,16))};$w.\u0275pipe=Rc({name:"number",type:$w,pure:!0,standalone:!0});var ax=function(){};ax.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw ng();return a.slice(b,c)};ax.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};ax.\u0275fac=function(a){return new (a||ax)};ax.\u0275pipe=Rc({name:"slice",type:ax,pure:!1,standalone:!0});var bx=function(){};bx.\u0275fac=function(a){return new (a||bx)};bx.\u0275mod=Oc({type:bx});bx.\u0275inj=xc({});var cx=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};cx.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};cx.prototype.registerOnTouched=function(a){this.onTouched=a};cx.prototype.registerOnChange=function(a){this.onChange=a};cx.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};cx.\u0275fac=function(a){return new (a||cx)(C(Pv),C(Bd))};cx.\u0275dir=Qc({type:cx});
var yg=function(){cx.apply(this,arguments)};U(yg,cx);yg.\u0275fac=function(){var a;return function(b){return(a||(a=zd(yg)))(b||yg)}}();yg.\u0275dir=Qc({type:yg,features:[lf]});var dx=new Zc("NgValueAccessor");var aXb=function(a){return a.src};new Zc("ImageLoader",{providedIn:"root",factory:function(){return aXb}});var uh=new Zc("DocumentToken");new Zc("PRECONNECT_CHECK_BLOCKLIST");new Zc("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var bXb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]};new Zc("ImageConfig",{providedIn:"root",factory:function(){return bXb}});var cXb=null,dXb=function(){};var ex=function(){};ex.prototype.historyGo=function(){throw Error("ab");};ex.\u0275fac=function(a){return new (a||ex)};ex.\u0275prov=wc({token:ex,factory:function(){return Hc(fx)},providedIn:"platform"});var eXb=new Zc("Location Initialized"),fx=function(){this._doc=Hc(uh);this._location=window.location;this._history=window.history};U(fx,ex);
fx.prototype.onPopState=function(a){var b=fXb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};var gXb=function(a,b){var c=fXb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};f=fx.prototype;f.pushState=function(a,b,c){this._history.pushState(a,b,c)};f.replaceState=function(a,b,c){this._history.replaceState(a,b,c)};f.forward=function(){this._history.forward()};
f.back=function(){this._history.back()};f.historyGo=function(a){this._history.go(void 0===a?0:a)};f.getState=function(){return this._history.state};
wh.Object.defineProperties(fx.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}}});fx.\u0275fac=function(a){return new (a||fx)};fx.\u0275prov=wc({token:fx,factory:function(){return new fx},providedIn:"platform"});var gx=function(){};gx.prototype.historyGo=function(){throw Error("ab");};gx.\u0275fac=function(a){return new (a||gx)};gx.\u0275prov=wc({token:gx,factory:function(){return Hc(hx)},providedIn:"root"});var hXb=new Zc("appBaseHref"),hx=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=null!=(e=null!=(d=null!=b?b:cXb.getBaseHref())?d:null==(c=Hc(uh).location)?void 0:c.origin)?e:""};U(hx,gx);f=hx.prototype;f.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
f.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),gXb(this._platformLocation,a))};f.getBaseHref=function(){return this._baseHref};f.prepareExternalUrl=function(a){return Mla(this._baseHref,a)};f.path=function(a){var b=this._platformLocation.pathname+ug(this._platformLocation.search),c=this._platformLocation.hash;return c&&(void 0===a?0:a)?b+c:b};f.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+ug(d)))};
f.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+ug(d)))};f.forward=function(){this._platformLocation.forward()};f.back=function(){this._platformLocation.back()};f.getState=function(){return this._platformLocation.getState()};f.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};hx.\u0275fac=function(a){return new (a||hx)(u(ex),u(hXb,8))};hx.\u0275prov=wc({token:hx,factory:hx.\u0275fac,providedIn:"root"});var ix=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};U(ix,gx);f=ix.prototype;f.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};f.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),gXb(this._platformLocation,a))};f.getBaseHref=function(){return this._baseHref};
f.path=function(){var a=this._platformLocation.hash;null==a&&(a="#");return 0<a.length?a.substring(1):a};f.prepareExternalUrl=function(a){a=Mla(this._baseHref,a);return 0<a.length?"#"+a:a};f.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+ug(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.pushState(a,b,c)};
f.replaceState=function(a,b,c,d){c=this.prepareExternalUrl(c+ug(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.replaceState(a,b,c)};f.forward=function(){this._platformLocation.forward()};f.back=function(){this._platformLocation.back()};f.getState=function(){return this._platformLocation.getState()};f.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};ix.\u0275fac=function(a){return new (a||ix)(u(ex),u(hXb,8))};
ix.\u0275prov=wc({token:ix,factory:ix.\u0275fac});var jx=function(a){var b=this;this._subject=new pw;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=Ola(Nla(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.emit({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};f=jx.prototype;f.ngOnDestroy=function(){var a;null==(a=this._urlChangeSubscription)||a.unsubscribe();this._urlChangeListeners=[]};
f.path=function(a){return this.normalize(this._locationStrategy.path(void 0===a?!1:a))};f.getState=function(){return this._locationStrategy.getState()};f.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 Nla(b)};f.prepareExternalUrl=function(a){a&&"/"!==a[0]&&(a="/"+a);return this._locationStrategy.prepareExternalUrl(a)};
f.go=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.pushState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+ug(b)),c)};f.replaceState=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.replaceState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+ug(b)),c)};f.forward=function(){this._locationStrategy.forward()};f.back=function(){this._locationStrategy.back()};
f.historyGo=function(a){var b,c;null==(c=(b=this._locationStrategy).historyGo)||c.call(b,void 0===a?0:a)};f._notifyUrlChangeListeners=function(a,b){a=void 0===a?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};f.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b,complete:c})};jx.\u0275fac=function(a){return new (a||jx)(u(gx))};jx.\u0275prov=wc({token:jx,factory:function(){return new jx(u(gx))},providedIn:"root"});new Rv;var iXb=function(){};iXb.\u0275prov=wc({token:iXb,providedIn:"root",factory:function(){return new jXb}});var jXb=function(){var a=u(uh),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};jXb.prototype.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=a};jXb.prototype.getScrollPosition=function(){return kXb(this)?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]};
var lXb=function(a,b){kXb(a)&&a.window.scrollTo(b[0],b[1])},kXb=function(a){try{return!!a.window&&!!a.window.scrollTo&&"pageXOffset"in a.window}catch(b){return!1}};var mXb=function(){};var nXb={provide:dx,useExisting:Cc(function(){return xg}),multi:!0},oXb=new Zc("CompositionEventMode"),xg=function(a,b,c){cx.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((cXb?window.navigator.userAgent:"").toLowerCase()))};U(xg,cx);xg.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};xg.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
xg.prototype._compositionStart=function(){this._composing=!0};xg.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};xg.\u0275fac=function(a){return new (a||xg)(C(Pv),C(Bd),C(oXb,8))};
xg.\u0275dir=Qc({type:xg,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:[Pf([nXb]),lf]});var kx=new Zc("NgValidators"),pXb=new Zc("NgAsyncValidators"),qXb=function(a){return Rla(a)};var lx=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};f=lx.prototype;f._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=ama(this._rawValidators)};f._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=cma(this._rawAsyncValidators)};f._registerOnDestroy=function(a){this._onDestroyCallbacks.push(a)};
f._invokeOnDestroyCallbacks=function(){this._onDestroyCallbacks.forEach(function(a){return a()});this._onDestroyCallbacks=[]};f.reset=function(a){this.control&&this.control.reset(a)};f.hasError=function(a,b){return this.control?this.control.hasError(a,b):!1};f.getError=function(a,b){return this.control?this.control.getError(a,b):null};
wh.Object.defineProperties(lx.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 mx=function(){lx.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};U(mx,lx);var nx=function(){lx.apply(this,arguments)};U(nx,lx);wh.Object.defineProperties(nx.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var rXb=function(a){this._cd=a};
wh.Object.defineProperties(rXb.prototype,{isTouched:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.touched)}},isUntouched:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.untouched)}},isPristine:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.pristine)}},isDirty:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==
(a=this._cd)?0:null==(b=a.control)?0:b.dirty)}},isValid:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.valid)}},isInvalid:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.invalid)}},isPending:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this._cd)?0:null==(b=a.control)?0:b.pending)}},isSubmitted:{configurable:!0,enumerable:!0,get:function(){var a;return!(null==
(a=this._cd)||!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 ox=function(a){this._cd=a};U(ox,rXb);ox.\u0275fac=function(a){return new (a||ox)(C(mx,2))};
ox.\u0275dir=Qc({type:ox,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&yf("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)},features:[lf]});var px=function(a){this._cd=a};U(px,rXb);px.\u0275fac=function(a){return new (a||px)(C(nx,10))};
px.\u0275dir=Qc({type:px,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&yf("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)("ng-submitted",b.isSubmitted)},features:[lf]});var sXb=new Zc("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var qx=function(a,b){this._pendingTouched=this._hasOwnPendingAsyncValidator=this._pendingDirty=!1;this._onCollectionChange=function(){};this._parent=null;this.pristine=!0;this.touched=!1;this._onDisabledChange=[];this._assignValidators(a);this._assignAsyncValidators(b)},nma=function(a,b){a._assignValidators(b)},oma=function(a,b){a._assignAsyncValidators(b)},tXb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(qXb):a===qXb},qma=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&qma(a._parent,b)},uXb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){uXb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},rma=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&rma(a._parent,b)},vXb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){vXb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};f=qx.prototype;
f.disable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="DISABLED";this.errors=null;this._forEachChild(function(c){c.disable(Object.assign({},a,{onlySelf:!0}))});this._updateValue();!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status));this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!0)})};
f.enable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="VALID";this._forEachChild(function(c){c.enable(Object.assign({},a,{onlySelf:!0}))});wg(this,{onlySelf:!0,emitEvent:a.emitEvent});this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!1)})};f._updateAncestors=function(a){this._parent&&!a.onlySelf&&(wg(this._parent,a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())};
f.setParent=function(a){this._parent=a};f.getRawValue=function(){return this.value};var wg=function(a,b){b=void 0===b?{}:b;a._setInitialStatus();a._updateValue();a.enabled&&(a._cancelExistingSubscription(),a.errors=a._runValidator(),a.status=a._calculateStatus(),"VALID"!==a.status&&"PENDING"!==a.status||a._runAsyncValidator(b.emitEvent));!1!==b.emitEvent&&(a.valueChanges.emit(a.value),a.statusChanges.emit(a.status));a._parent&&!b.onlySelf&&wg(a._parent,b)};f=qx.prototype;
f._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});wg(this,{onlySelf:!0,emitEvent:a.emitEvent})};f._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"};f._runValidator=function(){return this.validator?this.validator(this):null};
f._runAsyncValidator=function(a){var b=this;this.asyncValidator&&(this.status="PENDING",this._hasOwnPendingAsyncValidator=!0,this._asyncValidationSubscription=Wla(this.asyncValidator(this)).subscribe(function(c){b._hasOwnPendingAsyncValidator=!1;b.setErrors(c,{emitEvent:a})}))};f._cancelExistingSubscription=function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)};
f.setErrors=function(a,b){b=void 0===b?{}:b;this.errors=a;this._updateControlsErrors(!1!==b.emitEvent)};f.get=function(a){if(null==a)return null;Array.isArray(a)||(a=a.split("."));return 0===a.length?null:a.reduce(function(b,c){return b&&b._find(c)},this)};f.getError=function(a,b){return(b=b?this.get(b):this)&&b.errors?b.errors[a]:null};f.hasError=function(a,b){return!!this.getError(a,b)};
f._updateControlsErrors=function(a){this.status=this._calculateStatus();a&&this.statusChanges.emit(this.status);this._parent&&this._parent._updateControlsErrors(a)};f._initObservables=function(){this.valueChanges=new pw;this.statusChanges=new pw};f._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"};
f._anyControlsHaveStatus=function(a){return this._anyControls(function(b){return b.status===a})};f._anyControlsDirty=function(){return this._anyControls(function(a){return a.dirty})};f._anyControlsTouched=function(){return this._anyControls(function(a){return a.touched})};f._updatePristine=function(a){a=void 0===a?{}:a;this.pristine=!this._anyControlsDirty();this._parent&&!a.onlySelf&&this._parent._updatePristine(a)};
f._updateTouched=function(a){a=void 0===a?{}:a;this.touched=this._anyControlsTouched();this._parent&&!a.onlySelf&&this._parent._updateTouched(a)};f._registerOnCollectionChange=function(a){this._onCollectionChange=a};f._setUpdateStrategy=function(a){zg(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)};f._parentMarkedDirty=function(a){var b=this._parent&&this._parent.dirty;return!a&&!!b&&!this._parent._anyControlsDirty()};f._find=function(){return null};
f._assignValidators=function(a){a=this._rawValidators=Array.isArray(a)?a.slice():a;this._composedValidatorFn=Array.isArray(a)?ama(a):a||null};f._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?cma(a):a||null};
wh.Object.defineProperties(qx.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"VALID"===
this.status}},invalid:{configurable:!0,enumerable:!0,get:function(){return"INVALID"===this.status}},pending:{configurable:!0,enumerable:!0,get:function(){return"PENDING"==this.status}},disabled:{configurable:!0,enumerable:!0,get:function(){return"DISABLED"===this.status}},enabled:{configurable:!0,enumerable:!0,get:function(){return"DISABLED"!==this.status}},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 rx=function(a,b,c){var d=qx.call,e=vma(b);c=(zg(b)?b.asyncValidators:c)||null;d.call(qx,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();wg(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};U(rx,qx);var wXb=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};f=rx.prototype;
f.addControl=function(a){var b=void 0===b?{}:b;wXb(this,a);wg(this,{emitEvent:b.emitEvent});this._onCollectionChange()};f.removeControl=function(a){var b=void 0===b?{}:b;this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){});delete this.controls[a];wg(this,{emitEvent:b.emitEvent});this._onCollectionChange()};f.contains=function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled};
f.setValue=function(a,b){var c=this;b=void 0===b?{}:b;wma(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new Ac(1E3,"");if(!e[d])throw new Ac(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});wg(this,b)};f.reset=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;this._forEachChild(function(c,d){c.reset(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b);this._updateTouched(b);wg(this,b)};
f.getRawValue=function(){return this._reduceChildren({},function(a,b,c){a[c]=b.getRawValue();return a})};f._syncPendingControls=function(){var a=this._reduceChildren(!1,function(b,c){return c._syncPendingControls()?!0:b});a&&wg(this,{onlySelf:!0});return a};f._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};f._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};
f._updateValue=function(){this.value=this._reduceValue()};f._anyControls=function(a){for(var b=k(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};f._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};f._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};
f._allControlsDisabled=function(){for(var a=k(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return 0<Object.keys(this.controls).length||this.disabled};f._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var xXb={provide:nx,useExisting:Cc(function(){return sx})},yXb=Promise.resolve(),sx=function(a,b,c){nx.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new pw;this.form=new rx({},ama(a),cma(b))};U(sx,nx);f=sx.prototype;f.ngAfterViewInit=function(){this._setUpdateStrategy()};
f.addControl=function(a){var b=this;yXb.then(function(){var c=b._findContainer(a.path);a.control=wXb(c,a.name,a.control);vg(a.control,a,b.callSetDisabledState);wg(a.control,{emitEvent:!1});b._directives.add(a)})};f.removeControl=function(a){var b=this;yXb.then(function(){var c=b._findContainer(a.path);c&&c.removeControl(a.name);b._directives.delete(a)})};f.updateModel=function(a,b){var c=this;yXb.then(function(){c.form.get(a.path).setValue(b)})};f.setValue=function(a){this.control.setValue(a)};
f.onSubmit=function(a){this.submitted=!0;tma(this.form,this._directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};f.onReset=function(){this.resetForm()};f.resetForm=function(){this.form.reset(void 0);this.submitted=!1};f._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)};f._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
wh.Object.defineProperties(sx.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}}});sx.\u0275fac=function(a){return new (a||sx)(C(kx,10),C(pXb,10),C(sXb,8))};
sx.\u0275dir=Qc({type:sx,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:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Pf([xXb]),lf]});var tx=function(a,b,c){a=void 0===a?null:a;var d=qx.call,e=vma(b);c=(zg(b)?b.asyncValidators:c)||null;d.call(qx,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();wg(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});zg(b)&&(b.nonNullable||b.initialValueIsDefault)&&(xma(a)?this.defaultValue=a.value:this.defaultValue=a)};U(tx,qx);f=tx.prototype;
f.setValue=function(a,b){var c=this;b=void 0===b?{}:b;this.value=this._pendingValue=a;this._onChange.length&&!1!==b.emitModelToViewChange&&this._onChange.forEach(function(d){return d(c.value,!1!==b.emitViewToModelChange)});wg(this,b)};f.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);vXb(this,b);uXb(this,b);this.setValue(this.value,b);this._pendingChange=!1};f._updateValue=function(){};f._anyControls=function(){return!1};f._allControlsDisabled=function(){return this.disabled};
f.registerOnChange=function(a){this._onChange.push(a)};f._unregisterOnChange=function(a){var b=this._onChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};f._unregisterOnDisabledChange=function(a){var b=this._onDisabledChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};f._forEachChild=function(){};
f._syncPendingControls=function(){return"submit"===this.updateOn&&(this._pendingDirty&&rma(this),this._pendingTouched&&qma(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};f._applyFormState=function(a){xma(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 zXb={provide:mx,useExisting:Cc(function(){return ux})},AXb=Promise.resolve(),ux=function(a,b,c,d,e,g){mx.call(this);this._changeDetectorRef=e;this.callSetDisabledState=g;this.control=new tx;this._registered=!1;this.name="";this.update=new pw;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=uma(d)};U(ux,mx);f=ux.prototype;
f.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);sma(a,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)};f.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};
f.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};f._setUpControl=function(){this._setUpdateStrategy();this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this);this._registered=!0};f._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)};f._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)};
f._setUpStandalone=function(){vg(this.control,this,this.callSetDisabledState);wg(this.control,{emitEvent:!1})};f._checkForErrors=function(){this._checkName()};f._checkParentType=function(){};f._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name)};f._updateValue=function(a){var b=this;AXb.then(function(){b.control.setValue(a,{emitViewToModelChange:!1});var c;null==(c=b._changeDetectorRef)||c.markForCheck()})};
f._updateDisabled=function(a){var b=this;a=a.isDisabled.currentValue;var c=0!==a&&jg(a);AXb.then(function(){c&&!b.control.disabled?b.control.disable():!c&&b.control.disabled&&b.control.enable();var d;null==(d=b._changeDetectorRef)||d.markForCheck()})};f._getPath=function(a){return this._parent?ema(a,this._parent):[a]};
wh.Object.defineProperties(ux.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}}});ux.\u0275fac=function(a){return new (a||ux)(C(nx,9),C(kx,10),C(pXb,10),C(dx,10),C(Hw,8),C(sXb,8))};
ux.\u0275dir=Qc({type:ux,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Pf([zXb]),lf,ed]});var vx=function(){};vx.\u0275fac=function(a){return new (a||vx)};vx.\u0275dir=Qc({type:vx,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var BXb={provide:dx,useExisting:Cc(function(){return wx}),multi:!0},wx=function(){yg.apply(this,arguments)};U(wx,yg);wx.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};wx.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};wx.\u0275fac=function(){var a;return function(b){return(a||(a=zd(wx)))(b||wx)}}();
wx.\u0275dir=Qc({type:wx,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:[Pf([BXb]),lf]});var CXb={provide:dx,useExisting:Cc(function(){return xx}),multi:!0},yx=function(){};yx.\u0275fac=function(a){return new (a||yx)};yx.\u0275mod=Oc({type:yx});yx.\u0275inj=xc({});var zx=function(){this._accessors=[]};zx.prototype.add=function(a,b){this._accessors.push([a,b])};zx.prototype.remove=function(a){for(var b=this._accessors.length-1;0<=b;--b)if(this._accessors[b][1]===a){this._accessors.splice(b,1);break}};
zx.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};zx.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};zx.\u0275fac=function(a){return new (a||zx)};zx.\u0275prov=wc({token:zx,factory:zx.\u0275fac,providedIn:yx});
var xx=function(a,b,c,d){yg.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=Hc(sXb,{optional:!0}))?e:"whenDisabledForLegacyCode"};U(xx,yg);f=xx.prototype;f.ngOnInit=function(){this._control=this._injector.get(mx);this._checkName();this._registry.add(this._control,this)};f.ngOnDestroy=function(){this._registry.remove(this)};
f.writeValue=function(a){this._state=a===this.value;this.setProperty("checked",this._state)};f.registerOnChange=function(a){var b=this;this._fn=a;this.onChange=function(){a(b.value);b._registry.select(b)}};f.setDisabledState=function(a){(this.setDisabledStateFired||a||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",a);this.setDisabledStateFired=!0};f._checkName=function(){!this.name&&this.formControlName&&(this.name=this.formControlName)};
xx.\u0275fac=function(a){return new (a||xx)(C(Pv),C(Bd),C(zx),C(Lv))};xx.\u0275dir=Qc({type:xx,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:[Pf([CXb]),lf]});var DXb=new Zc("NgModelWithFormControlWarning"),EXb={provide:mx,useExisting:Cc(function(){return Ax})},Ax=function(a,b,c,d,e){mx.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new pw;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=uma(c)};U(Ax,mx);
Ax.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&lma(b,this);vg(this.form,this,this.callSetDisabledState);wg(this.form,{emitEvent:!1})}sma(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Ax.prototype.ngOnDestroy=function(){this.form&&lma(this.form,this)};Ax.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Ax.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
wh.Object.defineProperties(Ax.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}}});Ax.\u0275fac=function(a){return new (a||Ax)(C(kx,10),C(pXb,10),C(dx,10),C(DXb,8),C(sXb,8))};
Ax.\u0275dir=Qc({type:Ax,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Pf([EXb]),lf,ed]});var FXb={provide:nx,useExisting:Cc(function(){return Bx})},Bx=function(a,b,c){nx.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 pw;this._setValidators(a);this._setAsyncValidators(b)};U(Bx,nx);f=Bx.prototype;f.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
f.ngOnDestroy=function(){this.form&&(kma(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};f.addControl=function(a){var b=this.form.get(a.path);vg(b,a,this.callSetDisabledState);wg(b,{emitEvent:!1});this.directives.push(a);return b};f.removeControl=function(a){lma(a.control||null,a);var b=this.directives;a=b.indexOf(a);-1<a&&b.splice(a,1)};f.updateModel=function(a,b){this.form.get(a.path).setValue(b)};
f.onSubmit=function(a){this.submitted=!0;tma(this.form,this.directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};f.onReset=function(){this.resetForm()};f.resetForm=function(){this.form.reset(void 0);this.submitted=!1};f._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=b.control,d=a.form.get(b.path);c!==d&&(lma(c||null,b),d instanceof tx&&(vg(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
f._setUpFormContainer=function(a){var b=this.form.get(a.path);fma(b,a);wg(b,{emitEvent:!1})};f._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&kma(b,a)&&wg(b,{emitEvent:!1})}};f._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};f._updateValidators=function(){fma(this.form,this);this._oldForm&&kma(this._oldForm,this)};f._checkFormPresent=function(){};
wh.Object.defineProperties(Bx.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[]}}});Bx.\u0275fac=function(a){return new (a||Bx)(C(kx,10),C(pXb,10),C(sXb,8))};
Bx.\u0275dir=Qc({type:Bx,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Pf([FXb]),lf,ed]});var GXb={provide:mx,useExisting:Cc(function(){return Cx})},Cx=function(a,b,c,d,e){mx.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new pw;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=uma(d)};U(Cx,mx);f=Cx.prototype;f.ngOnChanges=function(a){this._added||this._setUpControl();sma(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
f.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};f.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};f._checkParentType=function(){};f._setUpControl=function(){this.control=this.formDirective.addControl(this);this._added=!0};
wh.Object.defineProperties(Cx.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return ema(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Cx.\u0275fac=function(a){return new (a||Cx)(C(nx,13),C(kx,10),C(pXb,10),C(dx,10),C(DXb,8))};
Cx.\u0275dir=Qc({type:Cx,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Pf([GXb]),lf,ed]});var Dx=function(){this._validator=Tla};Dx.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):Tla,this._onChange&&this._onChange())};Dx.prototype.validate=function(a){return this._validator(a)};Dx.prototype.registerOnValidatorChange=function(a){this._onChange=a};Dx.prototype.enabled=function(a){return null!=a};Dx.\u0275fac=function(a){return new (a||Dx)};
Dx.\u0275dir=Qc({type:Dx,features:[ed]});var HXb={provide:kx,useExisting:Cc(function(){return Ex}),multi:!0},Ex=function(){Dx.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return Qla(a)}};U(Ex,Dx);Ex.\u0275fac=function(){var a;return function(b){return(a||(a=zd(Ex)))(b||Ex)}}();
Ex.\u0275dir=Qc({type:Ex,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&&pf("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[Pf([HXb]),lf]});var IXb={provide:kx,useExisting:Cc(function(){return Fx}),multi:!0},Fx=function(){Dx.apply(this,arguments);this.inputName="required";this.normalizeInput=jg;this.createValidator=function(){return Rla}};
U(Fx,Dx);Fx.prototype.enabled=function(a){return a};Fx.\u0275fac=function(){var a;return function(b){return(a||(a=zd(Fx)))(b||Fx)}}();Fx.\u0275dir=Qc({type:Fx,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&pf("required",b._enabled?"":null)},inputs:{required:"required"},features:[Pf([IXb]),lf]});
var JXb={provide:kx,useExisting:Cc(function(){return Gx}),multi:!0},Gx=function(){Dx.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return Sla(a)}};U(Gx,Dx);Gx.\u0275fac=function(){var a;return function(b){return(a||(a=zd(Gx)))(b||Gx)}}();
Gx.\u0275dir=Qc({type:Gx,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&pf("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Pf([JXb]),lf]});var KXb={provide:kx,useExisting:Cc(function(){return Hx}),multi:!0},Hx=function(){Dx.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return Ula(a)}};
U(Hx,Dx);Hx.\u0275fac=function(){var a;return function(b){return(a||(a=zd(Hx)))(b||Hx)}}();Hx.\u0275dir=Qc({type:Hx,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&pf("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[Pf([KXb]),lf]});var Ix=function(){};Ix.\u0275fac=function(a){return new (a||Ix)};Ix.\u0275mod=Oc({type:Ix});Ix.\u0275inj=xc({imports:[yx]});var Jx=function(){};Jx.\u0275fac=function(a){return new (a||Jx)};Jx.\u0275mod=Oc({type:Jx});Jx.\u0275inj=xc({imports:[Ix]});var Kx=function(){};Kx.\u0275fac=function(a){return new (a||Kx)};Kx.\u0275mod=Oc({type:Kx});Kx.\u0275inj=xc({imports:[Ix]});new Rv;var yma,zma="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 Ag;var Dma,Cg;var Fma;var LXb;try{LXb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){LXb=!1}
var Lx=function(a){this.EDGE=(this.isBrowser=(this._platformId=a)?"browser"===this._platformId:"object"===typeof document&&!!document)&&/(edge)/i.test(navigator.userAgent);this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);this.BLINK=this.isBrowser&&!(!window.chrome&&!LXb)&&"undefined"!==typeof CSS&&!this.EDGE&&!this.TRIDENT;this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&
!("MSStream"in window);this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};Lx.\u0275fac=function(a){return new (a||Lx)(u(Nv))};Lx.\u0275prov=wc({token:Lx,factory:Lx.\u0275fac,providedIn:"root"});var Mx=function(a){this._platform=a};Mx.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};Mx.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var MXb=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&&(-1===Jma(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=Jma(b);if(b.hasAttribute("contenteditable"))a=-1!==d;else{var e;if(!(e="iframe"===c||"object"===c)&&(e=a._platform.WEBKIT&&a._platform.IOS)){e=b.nodeName.toLowerCase();var g="input"===e&&b.type;e=!("text"===g||"password"===g||"select"===e||"textarea"===e)}a=e?!1:"audio"===
c?b.hasAttribute("controls")?-1!==d:!1:"video"===c?-1===d?!1:null!==d?!0:a._platform.FIREFOX||b.hasAttribute("controls"):0<=b.tabIndex}return a};
Mx.prototype.isFocusable=function(a,b){if("input"==a.nodeName.toLowerCase()&&"hidden"==a.type)var c=!1;else c=a.nodeName.toLowerCase(),c="input"===c||"select"===c||"button"===c||"textarea"===c||"a"==a.nodeName.toLowerCase()&&a.hasAttribute("href")||a.hasAttribute("contenteditable")||Ima(a);return c&&!this.isDisabled(a)&&((null==b?void 0:b.ignoreVisibility)||this.isVisible(a))};Mx.\u0275fac=function(a){return new (a||Mx)(u(Lx))};Mx.\u0275prov=wc({token:Mx,factory:Mx.\u0275fac,providedIn:"root"});var Nx=function(a,b,c,d,e){var g=this;this._element=a;this._checker=b;this._ngZone=c;this._document=d;this._hasAttached=!1;this.startAnchorListener=function(){return NXb(g)};this.endAnchorListener=function(){return OXb(g)};this._enabled=!0;(void 0===e?0:e)||PXb(this)};
Nx.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 PXb=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))},QXb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
Nx.prototype._getRegionBoundary=function(a){var b=this._element.querySelectorAll("[cdk-focus-region-"+a+"], [cdkFocusRegion"+(a+"], [cdk-focus-")+(a+"]"));return"start"==a?b.length?b[0]:this._getFirstTabbableElement(this._element):b.length?b[b.length-1]:this._getLastTabbableElement(this._element)};
Nx.prototype.focusInitialElement=function(){var a=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(a){if(!this._checker.isFocusable(a))return a=this._getFirstTabbableElement(a),null==a||a.focus(void 0),!!a;a.focus(void 0);return!0}return OXb(this)};var OXb=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},NXb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};f=Nx.prototype;f.hasAttached=function(){return this._hasAttached};
f._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&MXb(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};f._getLastTabbableElement=function(a){if(this._checker.isFocusable(a)&&MXb(this._checker,a))return a;a=a.children;for(var b=a.length-1;0<=b;b--){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(a[b]):null;if(c)return c}return null};
f._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};f._toggleAnchorTabIndex=function(a,b){a?b.setAttribute("tabindex","0"):b.removeAttribute("tabindex")};var RXb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
Nx.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(Oe()).subscribe(a)};wh.Object.defineProperties(Nx.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 Ox=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
Ox.prototype.create=function(a,b){return new Nx(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};Ox.\u0275fac=function(a){return new (a||Ox)(u(Mx),u(ef),u(uh))};Ox.\u0275prov=wc({token:Ox,factory:Ox.\u0275fac,providedIn:"root"});var Px=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)};f=Px.prototype;
f.ngOnDestroy=function(){this.focusTrap.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};f.ngAfterContentInit=function(){PXb(this.focusTrap);this.autoCapture&&this._captureFocus()};f.ngDoCheck=function(){this.focusTrap.hasAttached()||PXb(this.focusTrap)};f.ngOnChanges=function(a){(a=a.autoCapture)&&!a.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()};
f._captureFocus=function(){this._previouslyFocusedElement=Dg();QXb(this.focusTrap)};wh.Object.defineProperties(Px.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.focusTrap.enabled},set:function(a){this.focusTrap.enabled=Gg(a)}},autoCapture:{configurable:!0,enumerable:!0,get:function(){return this._autoCapture},set:function(a){this._autoCapture=Gg(a)}}});Px.\u0275fac=function(a){return new (a||Px)(C(Bd),C(Ox),C(uh))};
Px.\u0275dir=Qc({type:Px,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[ed]});var SXb=new Zc("cdk-input-modality-detector-options"),TXb={ignoreKeys:[18,17,224,91,16]},Qx=Bg({passive:!0,capture:!0}),Rx=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new E.BehaviorSubject(null);this._lastTouchMs=0;this._onKeydown=function(g){var h,m;(null==(h=e._options)?0:null==(m=h.ignoreKeys)?0:m.some(function(r){return r===g.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=Eg(g))};this._onMousedown=function(g){650>Date.now()-e._lastTouchMs||
(e._modality.next(Lma(g)?"keyboard":"mouse"),e._mostRecentTarget=Eg(g))};this._onTouchstart=function(g){Mma(g)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=Eg(g))};this._options=Object.assign({},TXb,d);this.modalityDetected=this._modality.pipe(Ze(1));this.modalityDetected.pipe(Ne());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,Qx);c.addEventListener("mousedown",e._onMousedown,Qx);c.addEventListener("touchstart",
e._onTouchstart,Qx)})};Rx.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qx),document.removeEventListener("mousedown",this._onMousedown,Qx),document.removeEventListener("touchstart",this._onTouchstart,Qx))};wh.Object.defineProperties(Rx.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
Rx.\u0275fac=function(a){return new (a||Rx)(u(Lx),u(ef),u(uh),u(SXb,8))};Rx.\u0275prov=wc({token:Rx,factory:Rx.\u0275fac,providedIn:"root"});var UXb=new Zc("cdk-focus-monitor-default-options"),VXb=Bg({passive:!0,capture:!0}),Sx=function(a,b,c,d,e){var g=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(){g._windowFocused=!0;g._windowFocusTimeoutId=window.setTimeout(function(){return g._windowFocused=!1})};this._stopInputModalityDetector=
new E.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var m=Eg(h);m;m=m.parentElement)"focus"===h.type?g._onFocus(h,m):g._onBlur(h,m)};this._document=d;this._detectionMode=(null==e?void 0:e.detectionMode)||0};
Sx.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=Ig(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,E.of)();var c=Gma(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new E.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
Sx.prototype.stopMonitoring=function(a){a=Ig(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var Tx=function(a,b,c,d){b=Ig(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;return a._originChanged(e,c,g)}):(a._setOrigin(c),"function"===typeof b.focus&&b.focus(d))};f=Sx.prototype;
f.ngOnDestroy=function(){var a=this;this._elementInfo.forEach(function(b,c){return a.stopMonitoring(c)})};f._getDocument=function(){return this._document||document};f._getWindow=function(){return this._getDocument().defaultView||window};
f._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"};f._shouldBeAttributedToTouch=function(a){return 1===this._detectionMode||!(null==a||!a.contains(this._inputModalityDetector._mostRecentTarget))};
f._setClasses=function(a,b){a.classList.toggle("cdk-focused",!!b);a.classList.toggle("cdk-touch-focused","touch"===b);a.classList.toggle("cdk-keyboard-focused","keyboard"===b);a.classList.toggle("cdk-mouse-focused","mouse"===b);a.classList.toggle("cdk-program-focused","program"===b)};
f._setOrigin=function(a,b){var c=this;b=void 0===b?!1:b;this._ngZone.runOutsideAngular(function(){c._origin=a;c._originFromTouchInteraction="touch"===a&&b;0===c._detectionMode&&(clearTimeout(c._originTimeoutId),c._originTimeoutId=setTimeout(function(){return c._origin=null},c._originFromTouchInteraction?650:1))})};f._onFocus=function(a,b){var c=this._elementInfo.get(b);a=Eg(a);c&&(c.checkChildren||b===a)&&this._originChanged(b,this._getFocusOrigin(a),c)};
f._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))};f._emitOrigin=function(a,b){a.subject.observers.length&&this._ngZone.run(function(){return a.subject.next(b)})};
f._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,VXb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,VXb)});this._rootNodeFocusListenerCount.set(c,a+1);1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(bf(this._stopInputModalityDetector)).subscribe(function(d){b._setOrigin(d,!0)}))}};
f._removeGlobalListeners=function(a){a=a.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var b=this._rootNodeFocusListenerCount.get(a);1<b?this._rootNodeFocusListenerCount.set(a,b-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,VXb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,VXb),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),
clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))};f._originChanged=function(a,b,c){this._setClasses(a,b);this._emitOrigin(c,b);this._lastFocusOrigin=b};f._getClosestElementsInfo=function(a){var b=[];this._elementInfo.forEach(function(c,d){(d===a||c.checkChildren&&d.contains(a))&&b.push([d,c])});return b};
f._isLastInteractionFromInputLabel=function(a){var b=this._inputModalityDetector,c=b._mostRecentTarget;if("mouse"!==b.mostRecentModality||!c||c===a||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName||a.disabled)return!1;if(a=a.labels)for(b=0;b<a.length;b++)if(a[b].contains(c))return!0;return!1};Sx.\u0275fac=function(a){return new (a||Sx)(u(ef),u(Lx),u(Rx),u(uh,8),u(UXb,8))};Sx.\u0275prov=wc({token:Sx,factory:Sx.\u0275fac,providedIn:"root"});
var Ux=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new pw};Ux.prototype.ngAfterViewInit=function(){var a=this,b=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(b,1===b.nodeType&&b.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(c){a._focusOrigin=c;a.cdkFocusChange.emit(c)})};Ux.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
wh.Object.defineProperties(Ux.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});Ux.\u0275fac=function(a){return new (a||Ux)(C(Bd),C(Sx))};Ux.\u0275dir=Qc({type:Ux,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});var Vx=function(){};Vx.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};Vx.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};wh.Object.defineProperties(Vx.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var Wx=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};U(Wx,Vx);
var Xx=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};U(Xx,Vx);Xx.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return Vx.prototype.attach.call(this,a)};Xx.prototype.detach=function(){this.context=void 0;return Vx.prototype.detach.call(this)};wh.Object.defineProperties(Xx.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var Yx=function(){this._isDisposed=!1};f=Yx.prototype;
f.hasAttached=function(){return!!this._attachedPortal};f.attach=function(a){if(a instanceof Wx)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof Xx)return this._attachedPortal=a,this.attachTemplatePortal(a)};f.detach=function(){this._attachedPortal&&(this._attachedPortal=this._attachedPortal._attachedHost=null);this._invokeDisposeFn()};f.dispose=function(){this.hasAttached()&&this.detach();this._invokeDisposeFn();this._isDisposed=!0};
f.setDisposeFn=function(a){this._disposeFn=a};f._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)};var Zx=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};U(Zx,Yx);
Zx.prototype.attachComponentPortal=function(a){var b=this,c=TUb(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||tUb),xWb(this._appRef,d.hostView),this.setDisposeFn(function(){0<b._appRef.viewCount&&b._appRef.detachView(d.hostView);
d.destroy()});this.outletElement.appendChild(this._getComponentRootNode(d));this._attachedPortal=a;return d};Zx.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);-1!==e&&c.remove(e)});this._attachedPortal=a;return d};
Zx.prototype.dispose=function(){Yx.prototype.dispose.call(this);this.outletElement.remove()};Zx.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var ay=function(a,b){Xx.call(this,a,b)};U(ay,Xx);ay.\u0275fac=function(a){return new (a||ay)(C(Zf),C($f))};ay.\u0275dir=Qc({type:ay,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[lf]});var by=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new pw;this._document=c};U(by,Yx);f=by.prototype;f.ngOnInit=function(){this._isInitialized=!0};
f.ngOnDestroy=function(){Yx.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
f.attachComponentPortal=function(a){a._attachedHost=this;var b=null!=a.viewContainerRef?a.viewContainerRef:this._viewContainerRef,c=TUb(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]);Yx.prototype.setDisposeFn.call(this,function(){return d.destroy()});this._attachedPortal=a;this._attachedRef=d;this.attached.emit(d);
return d};f.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});Yx.prototype.setDisposeFn.call(this,function(){return b._viewContainerRef.clear()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);return c};f._getRootNode=function(){var a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode};
wh.Object.defineProperties(by.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&Yx.prototype.detach.call(this),a&&Yx.prototype.attach.call(this,a),this._attachedPortal=a||null}}});by.\u0275fac=function(a){return new (a||by)(C(Mv),C($f),C(uh))};
by.\u0275dir=Qc({type:by,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[lf]});var cy=function(){};cy.\u0275fac=function(a){return new (a||cy)};cy.\u0275mod=Oc({type:cy});cy.\u0275inj=xc({});var WXb=function(){};U(WXb,dXb);var dy=function(){};U(dy,WXb);var XXb=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};dy.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};dy.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};dy.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var fXb=function(a,b){return"window"===b?window:"document"===b?a:"body"===b?a.body:null};
dy.prototype.getBaseHref=function(){var a=(YXb=YXb||document.querySelector("base"))?YXb.getAttribute("href"):null;null==a?a=null:(ZXb=ZXb||document.createElement("a"),ZXb.setAttribute("href",a),a=ZXb.pathname,a="/"===a.charAt(0)?a:"/"+a);return a};var YXb=null,ZXb;var $Xb=function(){},oWb=function(a){Nd.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw new Ac(5103,!1);return b};Nd.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Nd.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Nd.frameworkStabilizers||(Nd.frameworkStabilizers=[]);Nd.frameworkStabilizers.push(function(b){var c=Nd.getAllAngularTestabilities(),d=c.length,e=!1,g=function(h){e=e||
h;d--;0==d&&b(e)};c.forEach(function(h){h.whenStable(g)})})};$Xb.prototype.findTestabilityInTree=function(a,b,c){if(null==b)return null;var d=a._applications.get(b)||null;if(null!=d)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 ey=function(){};ey.prototype.build=function(){return new XMLHttpRequest};ey.\u0275fac=function(a){return new (a||ey)};ey.\u0275prov=wc({token:ey,factory:ey.\u0275fac});var aYb=new Zc("EventManagerPlugins"),fy=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()};fy.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};fy.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 Ac(5101,!1);this._eventNameToPlugin.set(a,b);return b};
fy.\u0275fac=function(a){return new (a||fy)(u(aYb),u(ef))};fy.\u0275prov=wc({token:fy,factory:fy.\u0275fac});var bYb=function(a){this._doc=a};var gy=function(a,b,c,d){d=void 0===d?{}:d;this.doc=a;this.appId=b;this.nonce=c;this.styleRef=new Map;this.hostNodes=new Set;this.styleNodesInDOM=cYb(this);this.platformIsServer="server"===d;dYb(this)},gYb=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===eYb(a,c,1))for(var d=a,e=k(d.hostNodes),g=e.next();!g.done;g=e.next())fYb(d,g.value,c)};
gy.prototype.ngOnDestroy=function(){var a=this.styleNodesInDOM;a&&(a.forEach(function(c){return c.remove()}),a.clear());a=k(this.styleRef.keys());for(var b=a.next();!b.done;b=a.next())hYb(this,b.value);dYb(this)};
var hYb=function(a,b){a=a.styleRef;var c,d;null==(c=a.get(b))||null==(d=c.elements)||d.forEach(function(e){return e.remove()});a.delete(b)},cYb=function(a){var b,c=null==(b=a.doc.head)?void 0:b.querySelectorAll('style[ng-app-id="'+a.appId+'"]');if(null==c?0:c.length){var d=new Map;c.forEach(function(e){null!=e.textContent&&d.set(e.textContent,e)});return d}return null},eYb=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},fYb=function(a,
b,c){var d=a.styleNodesInDOM;var e=null==d?void 0:d.get(c);(null==e?void 0:e.parentNode)===b?(d.delete(c),e.removeAttribute("ng-app-id"),d=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);a=a.styleRef;var g;(b=null==(g=a.get(c))?void 0:g.elements)?b.push(d):a.set(c,{elements:[d],usage:1})},dYb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
gy.\u0275fac=function(a){return new (a||gy)(u(uh),u(wUb),u(xUb,8),u(Nv))};gy.\u0275prov=wc({token:gy,factory:gy.\u0275fac});var iYb={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/MathML/"},Nma=/%COMP%/g,jYb=new Zc("RemoveStylesOnCompDestroy",{providedIn:"root",factory:function(){return!0}}),iy=function(a,b,c,d,e,g,h,m){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=d;this.doc=e;this.ngZone=h;this.nonce=void 0===
m?null:m;this.rendererByCompId=new Map;this.platformIsServer="server"===g;this.defaultRenderer=new hy(a,e,h,this.platformIsServer)};
iy.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&3===b.encapsulation&&(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,g=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,r=this.platformIsServer;switch(b.encapsulation){case 0:d=new kYb(g,h,b,this.appId,m,d,e,r);break;case 3:b=new lYb(g,h,a,b,d,e,this.nonce,r);break a;default:d=new jy(g,h,b,m,d,e,
r)}c.set(b.id,d)}b=d}b instanceof kYb?(gYb(b.sharedStylesHost,b.styles),b.setAttribute(a,b.hostAttr,"")):b instanceof jy&&gYb(b.sharedStylesHost,b.styles);return b};iy.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};iy.\u0275fac=function(a){return new (a||iy)(u(fy),u(gy),u(wUb),u(jYb),u(uh),u(Nv),u(ef),u(xUb))};iy.\u0275prov=wc({token:iy,factory:iy.\u0275fac});
var hy=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};f=hy.prototype;f.destroy=function(){};f.createElement=function(a,b){return b?this.doc.createElementNS(iYb[b]||b,a):this.doc.createElement(a)};f.createComment=function(a){return this.doc.createComment(a)};f.createText=function(a){return this.doc.createTextNode(a)};f.appendChild=function(a,b){("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).appendChild(b)};
f.insertBefore=function(a,b,c){a&&("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).insertBefore(b,c)};f.removeChild=function(a,b){a&&a.removeChild(b)};f.selectRootElement=function(a,b){a="string"===typeof a?this.doc.querySelector(a):a;if(!a)throw new Ac(-5104,!1);b||(a.textContent="");return a};f.parentNode=function(a){return a.parentNode};f.nextSibling=function(a){return a.nextSibling};
f.setAttribute=function(a,b,c,d){d?(b=d+":"+b,(d=iYb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};f.removeAttribute=function(a,b,c){if(c){var d=iYb[c];d?a.removeAttributeNS(d,b):a.removeAttribute(c+":"+b)}else a.removeAttribute(b)};f.addClass=function(a,b){a.classList.add(b)};f.removeClass=function(a,b){a.classList.remove(b)};f.setStyle=function(a,b,c,d){d&3?a.style.setProperty(b,c,d&1?"important":""):a.style[b]=c};
f.removeStyle=function(a,b,c){c&2?a.style.removeProperty(b):a.style[b]=""};f.setProperty=function(a,b,c){a[b]=c};f.setValue=function(a,b){a.nodeValue=b};f.listen=function(a,b,c){if("string"===typeof a&&(a=fXb(this.doc,a),!a))throw Error("bb`"+a+"`"+b);return this.eventManager.addEventListener(a,b,mYb(this,c))};
var mYb=function(a,b){return function(c){if("__ngUnwrap__"===c)return b;!1===(a.platformIsServer?a.ngZone.runGuarded(function(){return b(c)}):b(c))&&c.preventDefault()}},lYb=function(a,b,c,d,e,g,h,m){hy.call(this,a,e,g,m);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=k(a.styleRef.keys());for(e=c.next();!e.done;e=c.next())fYb(a,b,e.value);d=Oma(d.id,d.styles);d=k(d);for(a=d.next();!a.done;a=d.next())a=
a.value,b=document.createElement("style"),h&&b.setAttribute("nonce",h),b.textContent=a,this.shadowRoot.appendChild(b)};U(lYb,hy);var nYb=function(a,b){return b===a.hostEl?a.shadowRoot:b};f=lYb.prototype;f.appendChild=function(a,b){return hy.prototype.appendChild.call(this,nYb(this,a),b)};f.insertBefore=function(a,b,c){return hy.prototype.insertBefore.call(this,nYb(this,a),b,c)};f.removeChild=function(a,b){return hy.prototype.removeChild.call(this,nYb(this,a),b)};
f.parentNode=function(a){return nYb(this,hy.prototype.parentNode.call(this,nYb(this,a)))};f.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var jy=function(a,b,c,d,e,g,h,m){hy.call(this,a,e,g,h);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;this.styles=m?Oma(m,c.styles):c.styles};U(jy,hy);
jy.prototype.destroy=function(){if(this.removeStylesOnCompDestroy)for(var a=this.sharedStylesHost,b=k(this.styles),c=b.next();!c.done;c=b.next())c=c.value,0>=eYb(a,c,-1)&&hYb(a,c)};var kYb=function(a,b,c,d,e,g,h,m){d=d+"-"+c.id;jy.call(this,a,b,c,e,g,h,m,d);this.contentAttr="_ngcontent-%COMP%".replace(Nma,d);this.hostAttr="_nghost-%COMP%".replace(Nma,d)};U(kYb,jy);
kYb.prototype.createElement=function(a,b){a=jy.prototype.createElement.call(this,a,b);jy.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var ly=function(a){this._doc=a};U(ly,bYb);ly.prototype.supports=function(){return!0};ly.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};ly.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};ly.\u0275fac=function(a){return new (a||ly)(u(uh))};ly.\u0275prov=wc({token:ly,factory:ly.\u0275fac});var oYb=["alt","control","meta","shift"],pYb={"\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"},qYb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},my=function(a){this._doc=a};U(my,bYb);my.prototype.supports=function(a){return null!=rYb(a)};
my.prototype.addEventListener=function(a,b,c){var d=rYb(b),e=sYb(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return XXb(a,d.domEventName,e)})};
var rYb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=tYb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");oYb.forEach(function(g){var h=b.indexOf(g);-1<h&&(b.splice(h,1),d+=g+".")});d+=c;if(0!=b.length||0===c.length)return null;a={domEventName:a};a.fullKey=d;return a},uYb=function(a,b){var c=pYb[a.key]||a.key,d="";-1<b.indexOf("code.")&&(c=a.code,d="code.");if(null==c||!c)return!1;c=c.toLowerCase();" "===c?
c="space":"."===c&&(c="dot");oYb.forEach(function(e){e!==c&&(0,qYb[e])(a)&&(d+=e+".")});d+=c;return d===b},sYb=function(a,b,c){return function(d){uYb(d,a)&&c.runGuarded(function(){return b(d)})}},tYb=function(a){switch(a){case "esc":return"escape";default:return a}};my.\u0275fac=function(a){return new (a||my)(u(uh))};my.\u0275prov=wc({token:my,factory:my.\u0275fac});var uWb=Eja(OWb,"browser",[{provide:Nv,useValue:"browser"},{provide:zja,useValue:function(){var a=new dy;cXb||(cXb=a)},multi:!0},{provide:uh,useFactory:function(){return Ffa=document},deps:[]}]),vYb=new Zc(""),wYb=[{provide:mWb,useClass:$Xb,deps:[]},{provide:lWb,useClass:Cw,deps:[ef,Dw,mWb]},{provide:Cw,useClass:Cw,deps:[ef,Dw,mWb]}],xYb=[{provide:Fja,useValue:"root"},{provide:Wd,useFactory:function(){return new Wd},deps:[]},{provide:aYb,useClass:ly,multi:!0,deps:[uh,ef,Nv]},{provide:aYb,useClass:my,
multi:!0,deps:[uh]},iy,gy,fy,{provide:AUb,useExisting:iy},{provide:mXb,useClass:ey,deps:[]},[]],ny=function(){};ny.\u0275fac=function(a){return new (a||ny)(u(vYb,12))};ny.\u0275mod=Oc({type:ny});ny.\u0275inj=xc({providers:[].concat(ad(xYb),ad(wYb)),imports:[bx,Gw]});var oy=function(a){this._doc=a};oy.prototype.getTitle=function(){return this._doc.title};oy.prototype.setTitle=function(a){this._doc.title=a||""};oy.\u0275fac=function(a){return new (a||oy)(u(uh))};oy.\u0275prov=wc({token:oy,factory:function(a){var b=null;a?b=new a:b=new oy(u(uh));return b},providedIn:"root"});new Zc("HammerGestureConfig");new Zc("HammerLoader");var yYb=function(){},zYb=function(){};var py=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?"string"===typeof a?this.lazyInit=function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");if(0<d){var e=c.slice(0,d),g=e.toLowerCase();c=c.slice(d+1).trim();AYb(b,e,g);b.headers.has(g)?b.headers.get(g).push(c):b.headers.set(g,[c])}})}:"undefined"!==typeof Headers&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){BYb(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=
k(c);c=d.next().value;d=d.next().value;BYb(b,c,d)})}:this.headers=new Map};f=py.prototype;f.has=function(a){this.init();return this.headers.has(a.toLowerCase())};f.get=function(a){this.init();return(a=this.headers.get(a.toLowerCase()))&&0<a.length?a[0]:null};f.keys=function(){this.init();return Array.from(this.normalizedNames.values())};f.getAll=function(a){this.init();return this.headers.get(a.toLowerCase())||null};f.append=function(a,b){return this.clone({name:a,value:b,op:"a"})};
f.set=function(a,b){return this.clone({name:a,value:b,op:"s"})};f.delete=function(a,b){return this.clone({name:a,value:b,op:"d"})};var AYb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};py.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof py?CYb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return DYb(a,b)}),this.lazyUpdate=null))};
var CYb=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))})};py.prototype.clone=function(a){var b=new py;b.lazyInit=this.lazyInit&&this.lazyInit instanceof py?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var DYb=function(a,b){var c=b.name.toLowerCase();switch(b.op){case "a":case "s":var d=b.value;"string"===typeof d&&(d=[d]);if(0===d.length)break;AYb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,ad(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(g){return-1===e.indexOf(g)}),0===d.length?(a.headers.delete(c),a.normalizedNames.delete(c)):a.headers.set(c,d)}else a.headers.delete(c),a.normalizedNames.delete(c)}},BYb=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);AYb(a,b,d)};py.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 EYb=function(){},Qma=/%(\d[a-f0-9])/gi,Rma={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},qy=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new EYb;if(a.fromString){if(a.fromObject)throw Error("cb");this.map=Pma(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(Tma):[""+d];b.map.set(c,d)})):this.map=null};f=qy.prototype;
f.has=function(a){this.init();return this.map.has(a)};f.get=function(a){this.init();return(a=this.map.get(a))?a[0]:null};f.getAll=function(a){this.init();return this.map.get(a)||null};f.keys=function(){this.init();return Array.from(this.map.keys())};f.append=function(a,b){return this.clone({param:a,value:b,op:"a"})};f.set=function(a,b){return this.clone({param:a,value:b,op:"s"})};f.delete=function(a,b){return this.clone({param:a,value:b,op:"d"})};
f.toString=function(){var a=this;this.init();return this.keys().map(function(b){var c=Sma(b);return a.map.get(b).map(function(d){return c+"="+Sma(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};f.clone=function(a){var b=new qy({encoder:this.encoder});b.cloneFrom=this.cloneFrom||this;b.updates=(this.updates||[]).concat(a);return b};
f.init=function(){var a=this;null===this.map&&(this.map=new Map);null!==this.cloneFrom&&(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=("a"===b.op?a.map.get(b.param):void 0)||[];c.push(""+b.value);a.map.set(b.param,c);break;case "d":if(void 0!==b.value){c=a.map.get(b.param)||[];var d=c.indexOf(""+b.value);-1!==d&&c.splice(d,1);0<c.length?a.map.set(b.param,c):a.map.delete(b.param)}else a.map.delete(b.param)}}),
this.cloneFrom=this.updates=null)};var FYb=function(){this.map=new Map};f=FYb.prototype;f.set=function(a,b){this.map.set(a,b);return this};f.get=function(a){this.map.has(a)||this.map.set(a,a.defaultValue());return this.map.get(a)};f.delete=function(a){this.map.delete(a);return this};f.has=function(a){return this.map.has(a)};f.keys=function(){return this.map.keys()};var ry=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=void 0!==c?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.headers||(this.headers=new py);this.context||(this.context=new FYb);this.params?(c=this.params.toString(),0===c.length?this.urlWithParams=b:(d=b.indexOf("?"),this.urlWithParams=b+(-1===d?"?":d<b.length-1?"&":"")+c)):(this.params=new qy,this.urlWithParams=b)},GYb=function(a){return null===a.body?null:Uma(a.body)||Vma(a.body)||Wma(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof URLSearchParams||"string"===typeof a.body?a.body:a.body instanceof
qy?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
ry.prototype.clone=function(a){a=void 0===a?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e=void 0!==a.body?a.body:this.body,g=void 0!==a.withCredentials?a.withCredentials:this.withCredentials,h=void 0!==a.reportProgress?a.reportProgress:this.reportProgress,m=a.headers||this.headers,r=a.params||this.params,v,y=null!=(v=a.context)?v:this.context;void 0!==a.setHeaders&&(m=Object.keys(a.setHeaders).reduce(function(A,G){return A.set(G,a.setHeaders[G])},m));a.setParams&&
(r=Object.keys(a.setParams).reduce(function(A,G){return A.set(G,a.setParams[G])},r));return new ry(b,c,e,{params:r,headers:m,context:y,reportProgress:h,responseType:d,withCredentials:g})};var sy=function(a,b,c){b=void 0===b?200:b;c=void 0===c?"OK":c;this.headers=a.headers||new py;this.status=void 0!==a.status?a.status:b;this.statusText=a.statusText||c;this.url=a.url||null;this.ok=200<=this.status&&300>this.status},HYb=function(a){a=void 0===a?{}:a;sy.call(this,a);this.type=2};U(HYb,sy);
HYb.prototype.clone=function(a){a=void 0===a?{}:a;return new HYb({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};var ty=function(a){a=void 0===a?{}:a;sy.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};U(ty,sy);
ty.prototype.clone=function(a){a=void 0===a?{}:a;return new ty({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};
var IYb=function(a){sy.call(this,a,0,"Unknown Error");this.name="HttpErrorResponse";this.ok=!1;this.message=200<=this.status&&300>this.status?"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};U(IYb,sy);var uy=function(a){this.handler=a};f=uy.prototype;
f.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof ry)b=a;else{var e=void 0;e=c.headers instanceof py?c.headers:new py(c.headers);var g=void 0;c.params&&(g=c.params instanceof qy?c.params:new qy({fromObject:c.params}));b=new ry(a,b,void 0!==c.body?c.body:null,{headers:e,context:c.context,params:g,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials})}e=(0,E.of)(b).pipe(xe(function(h){return d.handler.handle(h)},1));if(a instanceof
ry||"events"===c.observe)return e;a=e.pipe(De(function(h){return h instanceof ty}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(D(function(h){if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw Error("db");return h.body}));case "blob":return a.pipe(D(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("eb");return h.body}));case "text":return a.pipe(D(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("fb");return h.body}));
default:return a.pipe(D(function(h){return h.body}))}case "response":return a;default:throw Error("gb`"+c.observe);}};f.delete=function(a,b){b=void 0===b?{}:b;return this.request("DELETE",a,b)};f.get=function(a,b){b=void 0===b?{}:b;return this.request("GET",a,b)};f.head=function(a,b){b=void 0===b?{}:b;return this.request("HEAD",a,b)};f.jsonp=function(a,b){return this.request("JSONP",a,{params:(new qy).append(b,"JSONP_CALLBACK"),observe:"body",responseType:"json"})};
f.options=function(a,b){b=void 0===b?{}:b;return this.request("OPTIONS",a,b)};f.patch=function(a,b,c){c=void 0===c?{}:c;return this.request("PATCH",a,Xma(c,b))};f.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,Xma(c,b))};f.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,Xma(c,b))};uy.\u0275fac=function(a){return new (a||uy)(u(yYb))};uy.\u0275prov=wc({token:uy,factory:uy.\u0275fac});var JYb=new Zc(""),KYb=new Zc(""),LYb=new Zc(""),vy=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=Hc(nw)};U(vy,yYb);vy.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set([].concat(ad(this.injector.get(KYb)),ad(this.injector.get(LYb,[]))))).reduceRight(function(d,e){return $ma(d,e,b.injector)},Yma));var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(Qe(function(){return b.pendingTasks.remove(c)}))};
vy.\u0275fac=function(a){return new (a||vy)(u(zYb),u(Iv))};vy.\u0275prov=wc({token:vy,factory:vy.\u0275fac});var MYb=/^\)\]\}',?\n/,wy=function(a){this.xhrFactory=a};
wy.prototype.handle=function(a){if("JSONP"===a.method)throw new Ac(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?(0,E.from)(b.\u0275loadImpl()):(0,E.of)(null)).pipe(af(function(){return new E.Observable(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(N,Q){return d.setRequestHeader(N,Q.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=
null===a.body||Wma(a.body)?null:Vma(a.body)?a.body.type||null:Uma(a.body)?null:"string"===typeof a.body?"text/plain":a.body instanceof qy?"application/x-www-form-urlencoded;charset=UTF-8":"object"===typeof a.body||"number"===typeof a.body||"boolean"===typeof a.body?"application/json":null;null!==e&&d.setRequestHeader("Content-Type",e)}a.responseType&&(e=a.responseType.toLowerCase(),d.responseType="json"!==e?e:"text");var g=GYb(a),h=null,m=function(){if(null!==h)return h;var N=d.statusText||"OK",Q=
new py(d.getAllResponseHeaders()),Z=("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 HYb({headers:Q,status:d.status,statusText:N,url:Z})},r=function(){var N=m(),Q=N.headers,Z=N.status,Y=N.statusText;N=N.url;var ea=null;204!==Z&&(ea="undefined"===typeof d.response?d.responseText:d.response);0===Z&&(Z=ea?200:0);var ja=200<=Z&&300>Z;if("json"===a.responseType&&"string"===typeof ea){var va=
ea;ea=ea.replace(MYb,"");try{ea=""!==ea?JSON.parse(ea):null}catch(za){ea=va,ja&&(ja=!1,ea={error:za,text:ea})}}ja?(c.next(new ty({body:ea,headers:Q,status:Z,statusText:Y,url:N||void 0})),c.complete()):c.error(new IYb({error:ea,headers:Q,status:Z,statusText:Y,url:N||void 0}))},v=function(N){var Q=m().url;N=new IYb({error:N,status:d.status||0,statusText:d.statusText||"Unknown Error",url:Q||void 0});c.error(N)},y=!1,A=function(N){y||(c.next(m()),y=!0);var Q={type:3,loaded:N.loaded};N.lengthComputable&&
(Q.total=N.total);"text"===a.responseType&&d.responseText&&(Q.partialText=d.responseText);c.next(Q)},G=function(N){var Q={type:1,loaded:N.loaded};N.lengthComputable&&(Q.total=N.total);c.next(Q)};d.addEventListener("load",r);d.addEventListener("error",v);d.addEventListener("timeout",v);d.addEventListener("abort",v);a.reportProgress&&(d.addEventListener("progress",A),null!==g&&d.upload&&d.upload.addEventListener("progress",G));d.send(g);c.next({type:0});return function(){d.removeEventListener("error",
v);d.removeEventListener("abort",v);d.removeEventListener("load",r);d.removeEventListener("timeout",v);a.reportProgress&&(d.removeEventListener("progress",A),null!==g&&d.upload&&d.upload.removeEventListener("progress",G));d.readyState!==d.DONE&&d.abort()}})}))};wy.\u0275fac=function(a){return new (a||wy)(u(mXb))};wy.\u0275prov=wc({token:wy,factory:wy.\u0275fac});var ana=new Zc("XSRF_ENABLED"),NYb=new Zc("XSRF_COOKIE_NAME",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),cna=new Zc("XSRF_HEADER_NAME",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),bna=function(){},xy=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
xy.prototype.getToken=function(){if("server"===this.platform)return null;var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=k(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=k(-1==e?[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};
xy.\u0275fac=function(a){return new (a||xy)(u(uh),u(Nv),u(NYb))};xy.\u0275prov=wc({token:xy,factory:xy.\u0275fac});var OYb=new Zc("LEGACY_INTERCEPTOR_FN");var yy=function(){};yy.\u0275fac=function(a){return new (a||yy)};yy.\u0275mod=Oc({type:yy});
yy.\u0275inj=xc({providers:[function(){for(var a=[uy,wy,vy,{provide:yYb,useExisting:vy},{provide:zYb,useExisting:wy},{provide:KYb,useValue:dna,multi:!0},{provide:ana,useValue:!0},{provide:bna,useClass:xy}],b=k(Wc.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,ad(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:OYb,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=Hc(JYb,{optional:!0}))?d:[]).reduceRight(Zma,
Yma)}var e=Hc(nw),g=e.add();return a(b,c).pipe(Qe(function(){return e.remove(g)}))}}},{provide:KYb,useExisting:OYb,multi:!0}]})]});new Zc("");var zy=function(){};zy.\u0275fac=function(a){return new (a||zy)};zy.\u0275prov=wc({token:zy,factory:function(a){return a?new (a||zy):u(Ay)},providedIn:"root"});var Ay=function(a){this._doc=a};U(Ay,zy);
Ay.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return Md(b,"HTML")?Ld(b):uga(this._doc,String(b)).toString();case 2:return Md(b,"Style")?Ld(b):b;case 3:if(Md(b,"Script"))return Ld(b);throw new Ac(5200,!1);case 4:return Md(b,"URL")?Ld(b):hga(String(b));case 5:if(Md(b,"ResourceURL"))return Ld(b);throw new Ac(5201,!1);default:throw new Ac(5202,!1);}};Ay.prototype.bypassSecurityTrustHtml=function(a){return new CUb(a)};Ay.prototype.bypassSecurityTrustUrl=function(a){return new DUb(a)};
Ay.prototype.bypassSecurityTrustResourceUrl=function(a){return new EUb(a)};Ay.\u0275fac=function(a){return new (a||Ay)(u(uh))};Ay.\u0275prov=wc({token:Ay,factory:function(a){a?a=new a:(a=u(Lv),a=new Ay(a.get(uh)));return a},providedIn:"root"});new Rv;(function(){return""}).toString().indexOf("`");var RYb=function(a){var b=bp("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(h){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||ba.$googDebugFname||b}catch(h){e="Not available",c=!0}b=PYb(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(null==c){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,QYb[c])c=QYb[c];else{c=String(c);if(!QYb[c]){var g=/function\s+([^\(]+)/m.exec(c);QYb[c]=g?g[1]:"[Anonymous]"}c=QYb[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack=
b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}},PYb=function(a,b){b||(b={});b[SYb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[SYb(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=PYb(a,b));return c},SYb=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},QYb={};var TYb;try{new URL("s://g"),TYb=!0}catch(a){TYb=!1}var ena=TYb;var hna=/^[a-z][a-z\d-]*$/i,ina="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),lna="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),mna=["action","formaction","href"];var nna=function(a){this.isValid=a},ona=[Tg("data"),Tg("http"),Tg("https"),Tg("mailto"),Tg("ftp"),new nna(function(a){return/^[^:]*([/?#]|$)/.test(a)})];var By=function(a){this.decorated=new Ay(a)};U(By,zy);By.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof Ev||b instanceof dc||b instanceof Lg){if(UYb(b,a))return this.decorated.sanitize(a,VYb(this,b));throw Error("hb`"+NUb[a]+"`"+b);}return this.decorated.sanitize(a,b)};By.prototype.bypassSecurityTrustHtml=function(){throw Error("ib");};By.prototype.bypassSecurityTrustUrl=function(){throw Error("ib");};
By.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("ib");};var VYb=function(a,b){if(null!=b){if(b instanceof Lg)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof dc)return a.decorated.bypassSecurityTrustUrl(ec(b));if(b instanceof Ev)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},UYb=function(a,b){switch(b){case 1:return a instanceof Lg;case 4:return a instanceof dc||a instanceof Ev;case 5:return a instanceof Ev;case 3:return!1;default:return!1}};
By.\u0275fac=function(a){return new (a||By)(u(uh))};By.\u0275prov=wc({token:By,factory:By.\u0275fac});var WYb=[{provide:PUb,useExisting:zy},{provide:zy,useClass:By}],Cy=function(){};Cy.\u0275fac=function(a){return new (a||Cy)};Cy.\u0275mod=Oc({type:Cy});Cy.\u0275inj=xc({providers:WYb,imports:[ny]});var sna=new Set(["true","1"]),tna=new Set(["false","0"]);var XYb=function(){},YYb=function(){};var dh=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=(void 0===a?0:a)+(void 0===b?0:b)};f=dh.prototype;f._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};f.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};
f.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};f.onDestroy=function(a){this._onDestroyFns.push(a)};f.hasStarted=function(){return this._started};f.init=function(){};f.play=function(){this.hasStarted()||(this._onStart(),ZYb(this));this._started=!0};var ZYb=function(a){queueMicrotask(function(){return a._onFinish()})};f=dh.prototype;f._onStart=function(){this._onStartFns.forEach(function(a){return a()});this._onStartFns=[]};f.pause=function(){};f.restart=function(){};
f.finish=function(){this._onFinish()};f.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};f.reset=function(){this._finished=this._started=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};f.setPosition=function(a){this._position=this.totalTime?a*this.totalTime:1};
f.getPosition=function(){return this.totalTime?this._position/this.totalTime:1};f.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var vna=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,g=this.players.length;0==g?queueMicrotask(function(){return b._onFinish()}):this.players.forEach(function(h){h.onDone(function(){++c==g&&b._onFinish()});h.onDestroy(function(){++d==g&&b._onDestroy()});h.onStart(function(){++e==g&&b._onStart()})});this.totalTime=this.players.reduce(function(h,
m){return Math.max(h,m.totalTime)},0)};f=vna.prototype;f._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};f.init=function(){this.players.forEach(function(a){return a.init()})};f.onStart=function(a){this._onStartFns.push(a)};f._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[])};f.onDone=function(a){this._onDoneFns.push(a)};f.onDestroy=function(a){this._onDestroyFns.push(a)};
f.hasStarted=function(){return this._started};f.play=function(){this.parentPlayer||this.init();this._onStart();this.players.forEach(function(a){return a.play()})};f.pause=function(){this.players.forEach(function(a){return a.pause()})};f.restart=function(){this.players.forEach(function(a){return a.restart()})};f.finish=function(){this._onFinish();this.players.forEach(function(a){return a.finish()})};f.destroy=function(){this._onDestroy()};
f._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=[])};f.reset=function(){this.players.forEach(function(a){return a.reset()});this._started=this._finished=this._destroyed=!1};f.setPosition=function(a){var b=a*this.totalTime;this.players.forEach(function(c){c.setPosition(c.totalTime?Math.min(1,b/c.totalTime):1)})};
f.getPosition=function(){var a=this.players.reduce(function(b,c){return null===b||c.totalTime>b.totalTime?c:b},null);return null!=a?a.getPosition():0};f.beforeDestroy=function(){this.players.forEach(function(a){a.beforeDestroy&&a.beforeDestroy()})};f.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var Dna="undefined"===typeof document?null:document.documentElement;var Nna=RegExp("{{\\s*(.+?)\\s*}}","g"),Pna=/-+([a-z0-9])/g;var Rna=RegExp("s*:selfs*,?","g"),$Yb=function(a){this._driver=a};f=$Yb.prototype;f.build=function(a,b){b=new aZb(b);this._resetContextStyleTimingState(b);return nh(this,lh(a),b)};f._resetContextStyleTimingState=function(a){a.currentQuerySelector="";a.collectedStyles=new Map;a.collectedStyles.set("",new Map);a.currentTime=0};
f.visitTrigger=function(a,b){var c=this,d=b.queryCount=0,e=b.depCount=0,g=[],h=[];"@"==a.name.charAt(0)&&b.errors.push(new Ac(3006,!1));a.definitions.forEach(function(m){c._resetContextStyleTimingState(b);if(0==m.type){var r=m.name;r.toString().split(/\s*,\s*/).forEach(function(v){m.name=v;g.push(c.visitState(m,b))});m.name=r}else 1==m.type?(r=c.visitTransition(m,b),d+=r.queryCount,e+=r.depCount,h.push(r)):b.errors.push(new Ac(3007,!1))});return{type:7,name:a.name,states:g,transitions:h,queryCount:d,
depCount:e,options:null}};f.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,g=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(m){Lna(m).forEach(function(r){g.hasOwnProperty(r)||e.add(r)})})});e.size&&(Ona(e.values()),b.errors.push(new Ac(3008,!1)))}return{type:0,name:a.name,style:c,options:d?{params:d}:null}};
f.visitTransition=function(a,b){b.queryCount=0;b.depCount=0;var c=nh(this,lh(a.animation),b);return{type:1,matchers:rna(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:oh(a.options)}};f.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return nh(c,d,b)}),options:oh(a.options)}};
f.visitGroup=function(a,b){var c=this,d=b.currentTime,e=0,g=a.steps.map(function(h){b.currentTime=d;h=nh(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:g,options:oh(a.options)}};
f.visitAnimate=function(a,b){var c=Una(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:Zg({});if(5==d.type)a=this.visitKeyframes(d,b);else{d=a.styles;a=!1;d||(a=!0,d={},c.easing&&(d.easing=c.easing),d=Zg(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}};f.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
f._makeStyleAst=function(a,b){var c=[],d=Array.isArray(a.styles)?a.styles:[a.styles];d=k(d);for(var e=d.next();!e.done;e=d.next())e=e.value,"string"===typeof e?"*"===e?c.push(e):b.errors.push(new Ac(3002,!1)):c.push(Jna(e));var g=!1,h=null;c.forEach(function(m){if(m instanceof Map&&(m.has("easing")&&(h=m.get("easing"),m.delete("easing")),!g)){m=k(m.values());for(var r=m.next();!r.done;r=m.next())if(0<=r.value.toString().indexOf("{{")){g=!0;break}}});return{type:6,styles:c,easing:h,offset:a.offset,
containsDynamicStyles:g,options:null}};f._validateStyleAst=function(a,b){var c=b.currentAnimateTimings,d=b.currentTime,e=b.currentTime;c&&0<e&&(e-=c.duration+c.delay);a.styles.forEach(function(g){"string"!==typeof g&&g.forEach(function(h,m){var r=b.collectedStyles.get(b.currentQuerySelector),v=r.get(m),y=!0;v&&(e!=d&&e>=v.startTime&&d<=v.endTime&&(b.errors.push(new Ac(3010,!1)),y=!1),e=v.startTime);y&&r.set(m,{startTime:e,endTime:d});b.options&&Mna(h,b.options,b.errors)})})};
f.visitKeyframes=function(a,b){var c=this,d={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(new Ac(3011,!1)),d;var e=0,g=[],h=!1,m=!1,r=0,v=a.steps.map(function(Z){Z=c._makeStyleAst(Z,b);var Y=null!=Z.offset?Z.offset:Tna(Z.styles),ea=0;null!=Y&&(e++,ea=Z.offset=Y);m=m||0>ea||1<ea;h=h||ea<r;r=ea;g.push(ea);return Z});m&&b.errors.push(new Ac(3012,!1));h&&b.errors.push(new Ac(3200,!1));a=a.steps.length;var y=0;0<e&&e<a?b.errors.push(new Ac(3202,!1)):0==e&&(y=1/(a-1));
var A=a-1,G=b.currentTime,N=b.currentAnimateTimings,Q=N.duration;v.forEach(function(Z,Y){Y=0<y?Y==A?1:y*Y:g[Y];var ea=Y*Q;b.currentTime=G+N.delay+ea;N.duration=ea;c._validateStyleAst(Z,b);Z.offset=Y;d.styles.push(Z)});return d};f.visitReference=function(a,b){return{type:8,animation:nh(this,lh(a.animation),b),options:oh(a.options)}};f.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:oh(a.options)}};
f.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:oh(a.options)}};
f.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=k(Sna(a.selector)),g=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+g:g;fh(b.collectedStyles,b.currentQuerySelector,new Map);var h=nh(this,lh(a.animation),b);b.currentQuery=null;b.currentQuerySelector=c;return{type:11,selector:g,limit:d.limit||0,optional:!!d.optional,includeSelf:e,animation:h,originalSelector:a.selector,options:oh(a.options)}};
f.visitStagger=function(a,b){b.currentQuery||b.errors.push(new Ac(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:Ina(a.timings,b.errors,!0);return{type:12,animation:nh(this,lh(a.animation),b),timings:c,options:null}};var aZb=function(a){this.errors=a;this.depCount=this.queryCount=0;this.currentAnimateTimings=this.currentQuerySelector=this.currentQuery=null;this.currentTime=0;this.collectedStyles=new Map;this.options=null};var Dy=function(){this._map=new Map};Dy.prototype.get=function(a){return this._map.get(a)||[]};Dy.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,ad(b))};Dy.prototype.has=function(a){return this._map.has(a)};Dy.prototype.clear=function(){this._map.clear()};var bZb=RegExp(":enter","g"),cZb=RegExp(":leave","g"),Wna=function(){};f=Wna.prototype;
f.buildKeyframes=function(a,b,c,d,e,g,h,m,r,v){v=void 0===v?[]:v;r=r||new Dy;a=new dZb(a,b,r,d,e,v,[]);a.options=m;d=m.delay?gh(m.delay):0;a.currentTimeline.delayNextStep(d);eZb(a.currentTimeline,[g],null,a.errors,m);nh(this,c,a);c=a.timelines.filter(function(A){return A.containsAnimation()});if(c.length&&h.size){for(g=c.length-1;0<=g;g--)if(e=c[g],e.element===b){var y=e;break}y&&y._currentEmptyStepKeyframe===y._currentKeyframe&&eZb(y,[h],null,a.errors,m)}return c.length?c.map(function(A){return A.buildKeyframes()}):
[Vna(b,[],[],[],0,d,"",!1)]};f.visitTrigger=function(){};f.visitState=function(){};f.visitTransition=function(){};f.visitAnimateChild=function(a,b){var c=b.subInstructions.get(b.element);if(c){var d=Ey(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&Fy(b,c)}b.previousNode=a};
f.visitAnimateRef=function(a,b){var c=Ey(b,a.options);Fy(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);Fy(b,c.currentTimeline.currentTime);b.previousNode=a};f._applyAnimationRefDelays=function(a,b,c){a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,g=null==(e=d)?void 0:e.delay;if(g){var h=e=void 0;d="number"===typeof g?g:gh(mh(g,null!=(h=null==(e=d)?void 0:e.params)?h:{},b.errors));c.delayNextStep(d)}}};
f._visitSubInstructions=function(a,b,c){var d=b.currentTimeline.currentTime,e=null!=c.duration?gh(c.duration):null,g=null!=c.delay?gh(c.delay):null;0!==e&&a.forEach(function(h){var m={duration:null!=e?e:h.duration,delay:b.currentTimeline.currentTime+(null!=g?g:0)+h.delay,easing:""};h=new fZb(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,m,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,m.duration+m.delay)});return d};
f.visitReference=function(a,b){gZb(b,a.options,!0);nh(this,a.animation,b);b.previousNode=a};f.visitSequence=function(a,b){var c=this,d=b.subContextCount,e=b,g=a.options;g&&(g.params||g.delay)&&(e=Ey(b,g),Fy(e),null!=g.delay&&(6==e.previousNode.type&&(hZb(e.currentTimeline),e.previousNode=iZb),e.delayNextStep(gh(g.delay))));a.steps.length&&(a.steps.forEach(function(h){return nh(c,h,e)}),Gy(e.currentTimeline),e.subContextCount>d&&Fy(e));b.previousNode=a};
f.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,g=a.options&&a.options.delay?gh(a.options.delay):0;a.steps.forEach(function(h){var m=Ey(b,a.options);g&&m.delayNextStep(g);nh(c,h,m);e=Math.max(e,m.currentTimeline.currentTime);d.push(m.currentTimeline)});d.forEach(function(h){return jZb(b.currentTimeline,h)});Fy(b,e);b.previousNode=a};
f._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?mh(a,b.params,b.errors):a,Ina(a,b.errors)):{duration:a.duration,delay:a.delay,easing:a.easing}};
f.visitAnimate=function(a,b){var c=b.currentAnimateTimings=this._visitTiming(a.timings,b),d=b.currentTimeline;c.delay&&(kZb(b.currentTimeline,b.currentTimeline.duration+c.delay),hZb(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):(kZb(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),Gy(d));b.currentAnimateTimings=null;b.previousNode=a};
f.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&0<c._currentKeyframe.size&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=k(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c._backFill.set(e,g||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else eZb(c,a.styles,d,b.errors,b.options);b.previousNode=
a};f.visitKeyframes=function(a,b){var c=b.currentAnimateTimings,d=b.currentTimeline.duration,e=c.duration,g=Ey(b).currentTimeline;g.easing=c.easing;a.styles.forEach(function(h){kZb(g,(h.offset||0)*e);eZb(g,h.styles,h.easing,b.errors,b.options);Gy(g)});jZb(b.currentTimeline,g);Fy(b,d+e);b.previousNode=a};
f.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},g=e.delay?gh(e.delay):0;g&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(hZb(b.currentTimeline),b.previousNode=iZb);var h=d;d=lZb(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var m=null;d.forEach(function(r,v){b.currentQueryIndex=v;v=Ey(b,a.options,r);g&&v.delayNextStep(g);r===b.element&&(m=v.currentTimeline);nh(c,a.animation,v);Gy(v.currentTimeline);
h=Math.max(h,v.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;Fy(b,h);m&&(jZb(b.currentTimeline,m),hZb(b.currentTimeline));b.previousNode=a};
f.visitStagger=function(a,b){var c=b.parentContext,d=b.currentTimeline,e=a.timings,g=Math.abs(e.duration),h=g*(b.currentQueryTotal-1);g*=b.currentQueryIndex;switch(0>e.duration?"reverse":e.easing){case "reverse":g=h-g;break;case "full":g=c.currentStaggerTime}e=b.currentTimeline;g&&e.delayNextStep(g);e=e.currentTime;nh(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var iZb={},dZb=function(a,b,c,d,e,g,h,m){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=g;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=iZb;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=m||new Hy(this._driver,b,0);h.push(this.currentTimeline)},gZb=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
gh(b.duration));null!=b.delay&&(d.delay=gh(b.delay));var e=b.params;if(e){var g=d.params;g||(g=a.options.params={});Object.keys(e).forEach(function(h){c&&g.hasOwnProperty(h)||(g[h]=mh(e[h],g,a.errors))})}}};dZb.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 Ey=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new dZb(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();gZb(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},Fy=function(a,b){a.previousNode=iZb;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};dZb.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var lZb=function(a,b,c,d,e,g){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(bZb,"."+a._enterClassName),b=b.replace(cZb,"."+a._leaveClassName),a=a._driver.query(a.element,b,1!=c),0!==c&&(a=0>c?a.slice(a.length+c,a.length):a.slice(0,c)),h.push.apply(h,ad(a)));e||0!=h.length||g.push(new Ac(3014,!1));return h};
wh.Object.defineProperties(dZb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var Hy=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()};Hy.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};Hy.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(kZb(this,this.currentTime+a),b&&hZb(this)):this.startTime+=a};
Hy.prototype.fork=function(a,b){Gy(this);return new Hy(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};Hy.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 kZb=function(a,b){Gy(a);a.duration=b;a._loadKeyframe()};
Hy.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 eZb=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=Zna(b,a._globalTimelineStyles);b=k(b);for(e=b.next();!e.done;e=b.next()){var g=k(e.value);e=g.next().value;g=g.next().value;g=mh(g,c,d);a._pendingStyles.set(e,g);if(!a._localTimelineStyles.has(e)){var h=void 0;a._backFill.set(e,null!=(h=a._globalTimelineStyles.get(e))?h:"*")}a._updateStyle(e,g)}},Gy=function(a){0!=a._pendingStyles.size&&(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)}))},hZb=function(a){for(var b=k(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},jZb=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)})};
Hy.prototype.buildKeyframes=function(){var a=this;Gy(this);var b=new Set,c=new Set,d=1===this._keyframes.size&&0===this.duration,e=[];this._keyframes.forEach(function(v,y){v=ih(v,new Map,a._backFill);v.forEach(function(A,G){"!"===A?b.add(G):"*"===A&&c.add(G)});d||v.set("offset",y/a.duration);e.push(v)});var g=b.size?Ona(b.values()):[],h=c.size?Ona(c.values()):[];if(d){var m=e[0],r=new Map(m);m.set("offset",0);r.set("offset",1);e=[m,r]}return Vna(this.element,e,g,h,this.duration,this.startTime,this.easing,
!1)};wh.Object.defineProperties(Hy.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 fZb=function(a,b,c,d,e,g,h){h=void 0===h?!1:h;Hy.call(this,a,b,g.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:g.duration,delay:g.delay,easing:g.easing}};
U(fZb,Hy);fZb.prototype.containsAnimation=function(){return 1<this.keyframes.length};
fZb.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 g=c/e,h=ih(a[0]);h.set("offset",0);b.push(h);h=ih(a[0]);h.set("offset",Yna(g));b.push(h);g=a.length-1;for(h=1;h<=g;h++){var m=ih(a[h]),r=m.get("offset");m.set("offset",Yna((c+r*d)/e));b.push(m)}d=e;c=0;e="";a=b}return Vna(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var mZb=function(){};var nZb=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(" ")),oZb=function(){};U(oZb,mZb);
var xna=function(a,b,c){var d="",e=b.toString().trim();nZb.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new Ac(3005,!1)));return e+d};var Iy=function(){};f=Iy.prototype;f.containsElement=function(a,b){return Fna(a,b)};f.getParentElement=function(a){return Ena(a)};f.query=function(a,b,c){return Gna(a,b,c)};f.computeStyle=function(a,b,c){return c||""};f.animate=function(a,b,c,d){return new dh(c,d)};Iy.\u0275fac=function(a){return new (a||Iy)};Iy.\u0275prov=wc({token:Iy,factory:Iy.\u0275fac});var pZb=function(){};var qZb={},ph=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};ph.prototype.match=function(a,b,c,d){return aoa(this.ast.matchers,a,b,c,d)};ph.prototype.buildStyles=function(a,b,c){var d=this._stateStyles.get("*");void 0!==a&&(d=this._stateStyles.get(null==a?void 0:a.toString())||d);return d?d.buildStyles(b,c):new Map};
ph.prototype.build=function(a,b,c,d,e,g,h,m,r,v){var y=[],A=this.ast.options&&this.ast.options.params||qZb;h=this.buildStyles(c,h&&h.params||qZb,y);var G=m&&m.params||qZb;m=this.buildStyles(d,G,y);var N=new Set,Q=new Map,Z=new Map,Y="void"===d,ea;A={params:boa(G,A),delay:null==(ea=this.ast.options)?void 0:ea.delay};a=v?[]:Xna(a,b,this.ast.animation,e,g,h,m,A,r,y);var ja=0;a.forEach(function(va){ja=Math.max(va.duration+va.delay,ja)});if(y.length)return $na(b,this._triggerName,c,d,Y,h,m,[],[],Q,Z,ja,
y);a.forEach(function(va){var za=va.element,Pa=fh(Q,za,new Set);va.preStyleProps.forEach(function(Wa){return Pa.add(Wa)});var Sa=fh(Z,za,new Set);va.postStyleProps.forEach(function(Wa){return Sa.add(Wa)});za!==b&&N.add(za)});y=Ona(N.values());return $na(b,this._triggerName,c,d,Y,h,m,a,y,Q,Z,ja)};var rZb=function(a,b){this.styles=a;this.defaultParams=b};
rZb.prototype.buildStyles=function(a,b){var c=new Map,d=hh(this.defaultParams);Object.keys(a).forEach(function(e){var g=a[e];null!==g&&(d[e]=g)});this.styles.styles.forEach(function(e){"string"!==typeof e&&e.forEach(function(g,h){g&&(g=mh(g,d,b));var m=wna(h);g=xna(m,g,b);c.set(h,g)})});return c};var sZb=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 rZb(e.style,e.options&&e.options.params||{}))});doa(this.states,"true","1");doa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new ph(a,e,d.states))});this.fallbackTransition=coa(a,this.states)},tZb=function(a,b,c,d,e){return a.transitionFactories.find(function(g){return g.match(b,c,
d,e)})||null};var uZb=new Dy,vZb=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};f=vZb.prototype;f.register=function(a,b){var c=[];b=(new $Yb(this._driver)).build(b,c,[]);if(c.length)throw new Ac(3503,!1);this._animations.set(a,b)};f._buildPlayer=function(a,b,c){var d=a.element;b=yna(a.keyframes,b,c);return this._driver.animate(d,b,a.duration,a.delay,a.easing,[],!0)};
f.create=function(a,b,c){var d=this;c=void 0===c?{}:c;var e=[],g=this._animations.get(a),h=new Map;g?(b=Xna(this._driver,b,g,"ng-enter","ng-leave",new Map,new Map,c,uZb,e),b.forEach(function(m){var r=fh(h,m.element,new Map);m.postStyleProps.forEach(function(v){return r.set(v,null)})})):(e.push(new Ac(3300,!1)),b=[]);if(e.length)throw new Ac(3504,!1);h.forEach(function(m,r){m.forEach(function(v,y){m.set(y,d._driver.computeStyle(r,y,"*"))})});e=b.map(function(m){var r=h.get(m.element);return d._buildPlayer(m,
new Map,r)});e=eh(e);this._playersById.set(a,e);e.onDestroy(function(){return d.destroy(a)});this.players.push(e);return e};f.destroy=function(a){var b=this._getPlayer(a);b.destroy();this._playersById.delete(a);a=this.players.indexOf(b);0<=a&&this.players.splice(a,1)};f._getPlayer=function(a){a=this._playersById.get(a);if(!a)throw new Ac(3301,!1);return a};f.listen=function(a,b,c,d){b=Bna(b,"","","");Ana(this._getPlayer(a),c,b,d);return function(){}};
f.command=function(a,b,c,d){if("register"==c)this.register(a,d[0]);else if("create"==c)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 wZb=[],xZb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},goa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},yZb=function(a,b){this.namespaceId=void 0===b?"":b;var c=(b=a&&a.hasOwnProperty("value"))?a.value:a;this.value=null!=c?c:null;b?(a=hh(a),delete a.value,this.options=a):this.options={};this.options.params||(this.options.params={})},zZb=function(a,b){var c=b.params;if(c){var d=a.options.params;Object.keys(c).forEach(function(e){null==
d[e]&&(d[e]=c[e])})}};wh.Object.defineProperties(yZb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var AZb=new yZb("void"),Jy=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;qh(b,this._hostClassName)};f=Jy.prototype;
f.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new Ac(3302,!1);if(null==c||0==c.length)throw new Ac(3303,!1);if("start"!=c&&"done"!=c)throw new Ac(3400,!1);var g=fh(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};g.push(h);var m=fh(this._engine.statesByElement,a,new Map);m.has(b)||(qh(a,"ng-trigger"),qh(a,"ng-trigger-"+b),m.set(b,AZb));return function(){BZb(e._engine,function(){var r=g.indexOf(h);0<=r&&g.splice(r,1);e._triggers.has(b)||m.delete(b)})}};
f.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};f._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new Ac(3401,!1);return a};
f.trigger=function(a,b,c,d){var e=this;d=void 0===d?!0:d;var g=this._getTrigger(b),h=new CZb(this.id,b,a),m=this._engine.statesByElement.get(a);m||(qh(a,"ng-trigger"),qh(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,m=new Map));var r=m.get(b),v=new yZb(c,this.id);c&&c.hasOwnProperty("value")||!r||zZb(v,r.options);m.set(b,v);r||(r=AZb);if("void"!==v.value&&r.value===v.value){if(!moa(r.params,v.params)){d=[];var y=g.fallbackTransition.buildStyles(r.value,r.params,d),A=g.fallbackTransition.buildStyles(v.value,
v.params,d);d.length?this._engine.reportError(d):BZb(this._engine,function(){kh(a,y);jh(a,A)})}}else{c=fh(this._engine.playersByElement,a,[]);c.forEach(function(N){N.namespaceId==e.id&&N.triggerName==b&&N.queued&&N.destroy()});m=tZb(g,r.value,v.value,a,v.params);var G=!1;if(!m){if(!d)return;m=g.fallbackTransition;G=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:m,fromState:r,toState:v,player:h,isFallbackTransition:G});G||(qh(a,"ng-animate-queued"),h.onStart(function(){rh(a,
"ng-animate-queued")}));h.onDone(function(){var N=e.players.indexOf(h);0<=N&&e.players.splice(N,1);if(N=e._engine.playersByElement.get(a)){var Q=N.indexOf(h);0<=Q&&N.splice(Q,1)}});this.players.push(h);c.push(h);return h}};f.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 DZb=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))};
Jy.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 g=EZb(c._engine,e);g.size?g.forEach(function(h){return FZb(h,e,b,!1,!0)}):DZb(c,e)}});this._engine.afterFlushAnimationsDone(function(){return d.forEach(function(e){return DZb(c,e)})})};
var FZb=function(a,b,c,d,e){var g=a._engine.statesByElement.get(b),h=new Map;if(g){var m=[];g.forEach(function(r,v){h.set(v,r.value);a._triggers.has(v)&&(r=a.trigger(b,v,"void",e))&&m.push(r)});if(m.length){GZb(a._engine,a.id,b,!0,c,h);if(d)eh(m).onDone(function(){return sh(a._engine,b)});return!0}}return!1},HZb=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(g){g=g.name;if(!e.has(g)){e.add(g);var h=a._triggers.get(g).fallbackTransition,
m=d.get(g)||AZb,r=new yZb("void"),v=new CZb(a.id,g,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:g,transition:h,fromState:m,toState:r,player:v,isFallbackTransition:!0})}})}};
Jy.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!FZb(this,a,b,!0)){var e=!1;if(d.totalAnimations){var g=d.players.length?d.playersByQueriedElement.get(a):[];if(g&&g.length)e=!0;else for(g=a;g=g.parentNode;)if(d.statesByElement.get(g)){e=!0;break}}HZb(this,a);e?GZb(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==xZb||(BZb(d,function(){return DZb(c,a)}),IZb(d,a),d._onRemovalComplete(a,b)))}};
Jy.prototype.insertNode=function(a){qh(a,this._hostClassName)};
var JZb=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var g=d.element,h=a._elementListeners.get(g);h&&h.forEach(function(m){if(m.name==d.triggerName){var r=Bna(g,d.triggerName,d.fromState.value,d.toState.value);r._data=b;Ana(d.player,m.phase,r,m.callback)}});e.markedForDestroy?BZb(a._engine,function(){e.destroy()}):c.push(d)}});a._queue=[];return c.sort(function(d,e){var g=d.transition.ast.depCount,h=e.transition.ast.depCount;return 0==g||0==h?g-h:a._engine.driver.containsElement(d.element,
e.element)?1:-1})};Jy.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var Ky=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(){}};
f=Ky.prototype;f._onRemovalComplete=function(a,b){this.onRemovalComplete(a,b)};f._balanceNamespaceList=function(a,b){var c=this._namespaceList,d=this.namespacesByHostElement;if(0<=c.length-1){for(var e=!1,g=this.driver.getParentElement(b);g;){var h=d.get(g);if(h){e=c.indexOf(h);c.splice(e+1,0,a);e=!0;break}g=this.driver.getParentElement(g)}e||c.unshift(a)}else c.push(a);d.set(b,a);return a};
f.register=function(a,b){var c=this._namespaceLookup[a];c||(c=new Jy(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};f.registerTrigger=function(a,b,c){(a=this._namespaceLookup[a])&&a.register(b,c)&&this.totalAnimations++};
f.destroy=function(a,b){var c=this;a&&(BZb(this,function(){}),this.afterFlushAnimationsDone(function(){var d=c._fetchNamespace(a);c.namespacesByHostElement.delete(d.hostElement);var e=c._namespaceList.indexOf(d);0<=e&&c._namespaceList.splice(e,1);d.destroy(b);delete c._namespaceLookup[a]}))};f._fetchNamespace=function(a){return this._namespaceLookup[a]};
var EZb=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=k(b.values());for(var d=b.next();!d.done;d=b.next())d=d.value,d.namespaceId&&(d=a._fetchNamespace(d.namespaceId))&&c.add(d)}return c};Ky.prototype.trigger=function(a,b,c,d){return eoa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
Ky.prototype.insertNode=function(a,b,c,d){if(eoa(b)){var e=b.__ng_removed;e&&e.setForRemoval&&(e.setForRemoval=!1,e.setForMove=!0,e=this.collectedLeaveElements.indexOf(b),0<=e&&this.collectedLeaveElements.splice(e,1));a&&(a=this._fetchNamespace(a))&&a.insertNode(b,c);d&&this.collectedEnterElements.push(b)}};var KZb=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),qh(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),rh(b,"ng-animate-disabled"))};
Ky.prototype.removeNode=function(a,b,c){if(eoa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):GZb(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var GZb=function(a,b,c,d,e,g){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:g}};Ky.prototype.listen=function(a,b,c,d,e){return eoa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
Ky.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 IZb=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return LZb(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return MZb(a,d)}))},LZb=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},MZb=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},sh=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
xZb;if(c.namespaceId){IZb(a,b);var d=a._fetchNamespace(c.namespaceId);d&&DZb(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&KZb(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(g){KZb(a,g,!1)})};
Ky.prototype.flush=function(a){var b=this;a=void 0===a?-1:a;var c=[];this.newHostElements.size&&(this.newHostElements.forEach(function(g,h){return b._balanceNamespaceList(g,h)}),this.newHostElements.clear());if(this.totalAnimations&&this.collectedEnterElements.length)for(var d=0;d<this.collectedEnterElements.length;d++)qh(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++)sh(this,this.collectedLeaveElements[a]);this.totalQueuedPlayers=0;this.collectedEnterElements.length=0;this.collectedLeaveElements.length=0;this._flushFns.forEach(function(g){return g()});this._flushFns=[];if(this._whenQuietFns.length){var e=this._whenQuietFns;this._whenQuietFns=[];if(c.length)eh(c).onDone(function(){e.forEach(function(g){return g()})});else e.forEach(function(g){return g()})}};
Ky.prototype.reportError=function(){throw new Ac(3402,!1);};
Ky.prototype._flushAnimations=function(a,b){var c=this,d=new Dy,e=[],g=new Map,h=[],m=new Map,r=new Map,v=new Map,y=new Set;this.disabledNodes.forEach(function(ab){y.add(ab);ab=c.driver.query(ab,".ng-animate-queued",!0);for(var Mb=0;Mb<ab.length;Mb++)y.add(ab[Mb])});var A=this.bodyNode,G=Array.from(this.statesByElement.keys()),N=ioa(G,this.collectedEnterElements),Q=new Map,Z=0;N.forEach(function(ab,Mb){var sb="ng-enter"+Z++;Q.set(Mb,sb);ab.forEach(function(Jb){return qh(Jb,sb)})});for(var Y=[],ea=
new Set,ja=new Set,va=0;va<this.collectedLeaveElements.length;va++){var za=this.collectedLeaveElements[va],Pa=za.__ng_removed;Pa&&Pa.setForRemoval&&(Y.push(za),ea.add(za),Pa.hasAnimation?this.driver.query(za,".ng-star-inserted",!0).forEach(function(ab){return ea.add(ab)}):ja.add(za))}var Sa=new Map,Wa=ioa(G,Array.from(ea));Wa.forEach(function(ab,Mb){var sb="ng-leave"+Z++;Sa.set(Mb,sb);ab.forEach(function(Jb){return qh(Jb,sb)})});a.push(function(){N.forEach(function(ab,Mb){var sb=Q.get(Mb);ab.forEach(function(Jb){return rh(Jb,
sb)})});Wa.forEach(function(ab,Mb){var sb=Sa.get(Mb);ab.forEach(function(Jb){return rh(Jb,sb)})});Y.forEach(function(ab){sh(c,ab)})});var Qb=[],Gb=[];for(a=this._namespaceList.length-1;0<=a;a--)JZb(this._namespaceList[a],b).forEach(function(ab){var Mb=ab.player,sb=ab.element;Qb.push(Mb);if(c.collectedEnterElements.length){var Jb=sb.__ng_removed;if(Jb&&Jb.setForMove){if(Jb.previousTriggersValues&&Jb.previousTriggersValues.has(ab.triggerName)){Jb=Jb.previousTriggersValues.get(ab.triggerName);var Lb=
c.statesByElement.get(ab.element);if(Lb&&Lb.has(ab.triggerName)){var Fc=Lb.get(ab.triggerName);Fc.value=Jb;Lb.set(ab.triggerName,Fc)}}Mb.destroy();return}}Jb=!A||!c.driver.containsElement(A,sb);Lb=Sa.get(sb);Fc=Q.get(sb);var Sc=c._buildInstruction(ab,d,Fc,Lb,Jb);if(Sc.errors&&Sc.errors.length)Gb.push(Sc);else if(Jb)Mb.onStart(function(){return kh(sb,Sc.fromStyles)}),Mb.onDestroy(function(){return jh(sb,Sc.toStyles)}),e.push(Mb);else if(ab.isFallbackTransition)Mb.onStart(function(){return kh(sb,Sc.fromStyles)}),
Mb.onDestroy(function(){return jh(sb,Sc.toStyles)}),e.push(Mb);else{var pg=[];Sc.timelines.forEach(function(Rd){Rd.stretchStartingKeyframe=!0;c.disabledNodes.has(Rd.element)||pg.push(Rd)});Sc.timelines=pg;d.append(sb,Sc.timelines);h.push({instruction:Sc,player:Mb,element:sb});Sc.queriedElements.forEach(function(Rd){return fh(m,Rd,[]).push(Mb)});Sc.preStyleProps.forEach(function(Rd,He){if(Rd.size){var ek=r.get(He);ek||r.set(He,ek=new Set);Rd.forEach(function(Kia,fu){return ek.add(fu)})}});Sc.postStyleProps.forEach(function(Rd,
He){var ek=v.get(He);ek||v.set(He,ek=new Set);Rd.forEach(function(Kia,fu){return ek.add(fu)})})}});if(Gb.length){var cb=[];Gb.forEach(function(){cb.push(new Ac(3505,!1))});Qb.forEach(function(ab){return ab.destroy()});this.reportError(cb)}var sa=new Map,Ja=new Map;h.forEach(function(ab){var Mb=ab.element;d.has(Mb)&&(Ja.set(Mb,Mb),c._beforeAnimationBuild(ab.player.namespaceId,ab.instruction,sa))});e.forEach(function(ab){var Mb=ab.element;c._getPreviousPlayers(Mb,!1,ab.namespaceId,ab.triggerName,null).forEach(function(sb){fh(sa,
Mb,[]).push(sb);sb.destroy()})});var Qa=Y.filter(function(ab){return noa(ab,r,v)}),fb=new Map;hoa(fb,this.driver,ja,v,"*").forEach(function(ab){noa(ab,r,v)&&Qa.push(ab)});var Za=new Map;N.forEach(function(ab){hoa(Za,c.driver,new Set(ab),r,"!")});Qa.forEach(function(ab){var Mb=fb.get(ab),sb=Za.get(ab),Jb,Lb;fb.set(ab,new Map([].concat(ad(null!=(Jb=null==Mb?void 0:Mb.entries())?Jb:[]),ad(null!=(Lb=null==sb?void 0:sb.entries())?Lb:[]))))});var Yc=[],jb=[],yb={};h.forEach(function(ab){var Mb=ab.element,
sb=ab.player,Jb=ab.instruction;if(d.has(Mb))if(y.has(Mb))sb.onDestroy(function(){return jh(Mb,Jb.toStyles)}),sb.disabled=!0,sb.totalTime=Jb.totalTime,e.push(sb);else{var Lb=yb;if(1<Ja.size){ab=Mb;for(var Fc=[];ab=ab.parentNode;){var Sc=Ja.get(ab);if(Sc){Lb=Sc;break}Fc.push(ab)}Fc.forEach(function(pg){return Ja.set(pg,Lb)})}ab=c._buildAnimation(sb.namespaceId,Jb,sa,g,Za,fb);NZb(sb,ab);Lb===yb?Yc.push(sb):((ab=c.playersByElement.get(Lb))&&ab.length&&(sb.parentPlayer=eh(ab)),e.push(sb))}else kh(Mb,Jb.fromStyles),
sb.onDestroy(function(){return jh(Mb,Jb.toStyles)}),jb.push(sb),y.has(Mb)&&e.push(sb)});jb.forEach(function(ab){var Mb=g.get(ab.element);Mb&&Mb.length&&(Mb=eh(Mb),NZb(ab,Mb))});e.forEach(function(ab){ab.parentPlayer?OZb(ab,ab.parentPlayer):ab.destroy()});for(b=0;b<Y.length;b++)if(ja=Y[b],a=ja.__ng_removed,rh(ja,"ng-leave"),!a||!a.hasAnimation){a=[];if(m.size)for((G=m.get(ja))&&G.length&&a.push.apply(a,ad(G)),G=this.driver.query(ja,".ng-animating",!0),va=0;va<G.length;va++)(za=m.get(G[va]))&&za.length&&
a.push.apply(a,ad(za));a=a.filter(function(ab){return!ab.destroyed});a.length?joa(this,ja,a):sh(this,ja)}Y.length=0;Yc.forEach(function(ab){c.players.push(ab);ab.onDone(function(){ab.destroy();var Mb=c.players.indexOf(ab);c.players.splice(Mb,1)});ab.play()});return Yc};var BZb=function(a,b){a._flushFns.push(b)};f=Ky.prototype;f.afterFlushAnimationsDone=function(a){this._whenQuietFns.push(a)};
f._getPreviousPlayers=function(a,b,c,d,e){var g=[];if(b)(e=this.playersByQueriedElement.get(a))&&(g=e);else if(a=this.playersByElement.get(a)){var h=!e||"void"==e;a.forEach(function(m){m.queued||(h||m.triggerName==d)&&g.push(m)})}if(c||d)g=g.filter(function(m){return c&&c!=m.namespaceId||d&&d!=m.triggerName?!1:!0});return g};
f._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 g=k(b.timelines),h=g.next(),m={};!h.done;m={$jscomp$loop$prop$players$950586020$17:m.$jscomp$loop$prop$players$950586020$17},h=g.next()){h=h.value.element;var r=h!==e;m.$jscomp$loop$prop$players$950586020$17=fh(c,h,[]);this._getPreviousPlayers(h,r,a,d,b.toState).forEach(function(v){return function(y){var A=y._player;A.beforeDestroy&&A.beforeDestroy();y.destroy();
v.$jscomp$loop$prop$players$950586020$17.push(y)}}(m))}kh(e,b.fromStyles)};
f._buildAnimation=function(a,b,c,d,e,g){var h=this,m=b.triggerName,r=b.element,v=[],y=new Set,A=new Set,G=b.timelines.map(function(Q){var Z=Q.element;y.add(Z);var Y=Z.__ng_removed;if(Y&&Y.removedBeforeQueried)return new dh(Q.duration,Q.delay);Y=Z!==r;var ea=loa((c.get(Z)||wZb).map(function(za){return za._player})).filter(function(za){return za.element?za.element===Z:!1}),ja=e.get(Z),va=g.get(Z);ja=yna(Q.keyframes,ja,va);ea=h._buildPlayer(Q,ja,ea);Q.subTimeline&&d&&A.add(Z);Y&&(Q=new CZb(a,m,Z),NZb(Q,
ea),v.push(Q));return ea});v.forEach(function(Q){fh(h.playersByQueriedElement,Q.element,[]).push(Q);Q.onDone(function(){var Z=h.playersByQueriedElement,Y=Q.element,ea=Z.get(Y);if(ea){if(ea.length){var ja=ea.indexOf(Q);ea.splice(ja,1)}0==ea.length&&Z.delete(Y)}return ea})});y.forEach(function(Q){return qh(Q,"ng-animating")});var N=eh(G);N.onDestroy(function(){y.forEach(function(Q){return rh(Q,"ng-animating")});jh(r,b.toStyles)});A.forEach(function(Q){fh(d,Q,[]).push(N)});return N};
f._buildPlayer=function(a,b,c){return 0<b.length?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new dh(a.duration,a.delay)};
var CZb=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new dh;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},NZb=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return Ana(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
OZb=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()})};f=CZb.prototype;f._queueEvent=function(a,b){fh(this._queuedCallbacks,a,[]).push(b)};f.onDone=function(a){this.queued&&this._queueEvent("done",a);this._player.onDone(a)};f.onStart=function(a){this.queued&&this._queueEvent("start",a);this._player.onStart(a)};
f.onDestroy=function(a){this.queued&&this._queueEvent("destroy",a);this._player.onDestroy(a)};f.init=function(){this._player.init()};f.hasStarted=function(){return this.queued?!1:this._player.hasStarted()};f.play=function(){!this.queued&&this._player.play()};f.pause=function(){!this.queued&&this._player.pause()};f.restart=function(){!this.queued&&this._player.restart()};f.finish=function(){this._player.finish()};f.destroy=function(){this.destroyed=!0;this._player.destroy()};
f.reset=function(){!this.queued&&this._player.reset()};f.setPosition=function(a){this.queued||this._player.setPosition(a)};f.getPosition=function(){return this.queued?0:this._player.getPosition()};f.triggerCallback=function(a){var b=this._player;b.triggerCallback&&b.triggerCallback(a)};var Ly=function(a,b,c){var d=this;this.bodyNode=a;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new Ky(a,b,c);this._timelineEngine=new vZb(a,b,c);this._transitionEngine.onRemovalComplete=function(e,g){return d.onRemovalComplete(e,g)}};f=Ly.prototype;
f.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new $Yb(this._driver)).build(e,c,[]);if(c.length)throw new Ac(3404,!1);c=new sZb(d,e,this._normalizer);this._triggerCache[a]=c}this._transitionEngine.registerTrigger(b,d,c)};f.register=function(a,b){this._transitionEngine.register(a,b)};f.destroy=function(a,b){this._transitionEngine.destroy(a,b)};f.onRemove=function(a,b,c){this._transitionEngine.removeNode(a,b,c)};
f.disableAnimations=function(a,b){KZb(this._transitionEngine,a,b)};f.process=function(a,b,c,d){"@"==c.charAt(0)?(c=k(Cna(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};f.listen=function(a,b,c,d,e){return"@"==c.charAt(0)?(c=k(Cna(c)),a=c.next().value,c=c.next().value,this._timelineEngine.listen(a,b,c,e)):this._transitionEngine.listen(a,b,c,d,e)};f.flush=function(a){this._transitionEngine.flush(void 0===a?-1:a)};
f.afterFlushAnimationsDone=function(a){this._transitionEngine.afterFlushAnimationsDone(a)};wh.Object.defineProperties(Ly.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return[].concat(ad(this._transitionEngine.players),ad(this._timelineEngine.players))}}});var poa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=PZb.get(a);d||PZb.set(a,d=new Map);this._initialStyles=d};poa.prototype.start=function(){1>this._state&&(this._startStyles&&jh(this._element,this._startStyles,this._initialStyles),this._state=1)};poa.prototype.finish=function(){this.start();2>this._state&&(jh(this._element,this._initialStyles),this._endStyles&&(jh(this._element,this._endStyles),this._endStyles=null),this._state=1)};
poa.prototype.destroy=function(){this.finish();3>this._state&&(PZb.delete(this._element),this._startStyles&&(kh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(kh(this._element,this._endStyles),this._endStyles=null),jh(this._element,this._initialStyles),this._state=3)};var PZb=new WeakMap;var QZb=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};f=QZb.prototype;
f._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};f.init=function(){this._buildPlayer();this._preparePlayerBeforeStart()};f._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;this.domPlayer.addEventListener("finish",function(){return a._onFinish()})}};
f._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()};f._convertKeyframesToObject=function(a){var b=[];a.forEach(function(c){b.push(Object.fromEntries(c))});return b};f._triggerWebAnimation=function(a,b,c){return a.animate(this._convertKeyframesToObject(b),c)};f.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};f.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};f.onDestroy=function(a){this._onDestroyFns.push(a)};
f.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()};f.pause=function(){this.init();this.domPlayer.pause()};f.finish=function(){this.init();this._specialStyles&&this._specialStyles.finish();this._onFinish();this.domPlayer.finish()};
f.reset=function(){this._resetDomPlayerState();this._started=this._finished=this._destroyed=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};f._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()};f.restart=function(){this.reset();this.play()};f.hasStarted=function(){return this._started};
f.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=[])};f.setPosition=function(a){void 0===this.domPlayer&&this.init();this.domPlayer.currentTime=a*this.time};f.getPosition=function(){return this.domPlayer.currentTime/this.time};
f.beforeDestroy=function(){var a=this,b=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(c,d){if("offset"!==d){var e=b.set,g;a._finished?g=c:g=window.getComputedStyle(a.element)[d];e.call(b,d,g)}});this.currentSnapshot=b};f.triggerCallback=function(a){a="start"===a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};wh.Object.defineProperties(QZb.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var RZb=function(){};f=RZb.prototype;f.containsElement=function(a,b){return Fna(a,b)};f.getParentElement=function(a){return Ena(a)};f.query=function(a,b,c){return Gna(a,b,c)};f.computeStyle=function(a,b){return window.getComputedStyle(a)[b]};
f.animate=function(a,b,c,d,e,g){g=void 0===g?[]:g;var h={duration:c,delay:d,fill:0==d?"both":"forwards"};e&&(h.easing=e);var m=new Map;e=g.filter(function(v){return v instanceof QZb});0!==c&&0!==d||e.forEach(function(v){v.currentSnapshot.forEach(function(y,A){return m.set(A,y)})});var r=Kna(b).map(function(v){return ih(v)});r=Qna(a,r,m);b=qoa(a,r);return new QZb(a,r,h,b)};var My=function(a,b){this._nextAnimationId=0;this._renderer=a.createRenderer(b.body,{id:"0",encapsulation:2,styles:[],data:{animation:[]}})};U(My,XYb);My.prototype.build=function(a){var b=this._nextAnimationId.toString();this._nextAnimationId++;a=[Array.isArray(a)?{type:2,steps:a,options:null}:a];this._renderer.setProperty(null,"@@"+b+":register",a);return new SZb(b,this._renderer)};My.\u0275fac=function(a){return new (a||My)(u(AUb),u(uh))};My.\u0275prov=wc({token:My,factory:My.\u0275fac});
var SZb=function(a,b){this._id=a;this._renderer=b};U(SZb,YYb);SZb.prototype.create=function(a,b){return new TZb(this._id,a,b||{},this._renderer)};var TZb=function(a,b,c,d){this.id=a;this.element=b;this._renderer=d;this.parentPlayer=null;this._started=!1;this.totalTime=0;this._command("create",c)};f=TZb.prototype;f._listen=function(a,b){return this._renderer.listen(this.element,"@@"+this.id+":"+a,b)};
f._command=function(a){return this._renderer.setProperty(this.element,"@@"+this.id+":"+a,Wc.apply(1,arguments))};f.onDone=function(a){this._listen("done",a)};f.onStart=function(a){this._listen("start",a)};f.onDestroy=function(a){this._listen("destroy",a)};f.init=function(){this._command("init")};f.hasStarted=function(){return this._started};f.play=function(){this._command("play");this._started=!0};f.pause=function(){this._command("pause")};f.restart=function(){this._command("restart")};f.finish=function(){this._command("finish")};
f.destroy=function(){this._command("destroy")};f.reset=function(){this._command("reset");this._started=!1};f.setPosition=function(a){this._command("setPosition",a)};f.getPosition=function(){var a,b;return null!=(b=null==(a=this._renderer.engine.players[+this.id])?void 0:a.getPosition())?b:0};var Ny=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 g=null==e?void 0:e.parentNode(d);g&&e.removeChild(g,d)}};
Ny.prototype.createRenderer=function(a,b){var c=this,d=this.delegate.createRenderer(a,b);if(!(a&&b&&b.data&&b.data.animation))return b=this._rendererCache.get(d),b||(b=new UZb("",d,this.engine,function(){return c._rendererCache.delete(d)}),this._rendererCache.set(d,b)),b;var e=b.id,g=b.id+"-"+this._currentId;this._currentId++;this.engine.register(g,a);var h=function(m){Array.isArray(m)?m.forEach(h):c.engine.registerTrigger(e,g,a,m.name,m)};b.data.animation.forEach(h);return new VZb(this,g,d,this.engine)};
Ny.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};Ny.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var WZb=function(a,b,c,d){0<=b&&b<a._microtaskId?a._zone.run(function(){return c(d)}):(0==a._animationCallbacksBuffer.length&&queueMicrotask(function(){a._zone.run(function(){a._animationCallbacksBuffer.forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;e(g)});a._animationCallbacksBuffer=[]})}),a._animationCallbacksBuffer.push([c,d]))};
Ny.prototype.end=function(){var a=this;this._cdRecurDepth--;0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){a._scheduleCountTask();a.engine.flush(a._microtaskId)});this.delegate.end&&this.delegate.end()};Ny.\u0275fac=function(a){return new (a||Ny)(u(AUb),u(Ly),u(ef))};Ny.\u0275prov=wc({token:Ny,factory:Ny.\u0275fac});var UZb=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d};f=UZb.prototype;
f.destroyNode=function(a){var b,c;null==(c=(b=this.delegate).destroyNode)||c.call(b,a)};f.destroy=function(){var a=this;this.engine.destroy(this.namespaceId,this.delegate);this.engine.afterFlushAnimationsDone(function(){queueMicrotask(function(){a.delegate.destroy()})});var b;null==(b=this._onDestroy)||b.call(this)};f.createElement=function(a,b){return this.delegate.createElement(a,b)};f.createComment=function(a){return this.delegate.createComment(a)};f.createText=function(a){return this.delegate.createText(a)};
f.appendChild=function(a,b){this.delegate.appendChild(a,b);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,!1)};f.insertBefore=function(a,b,c,d){d=void 0===d?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};f.removeChild=function(a,b){this.engine.onRemove(this.namespaceId,b,this.delegate)};f.selectRootElement=function(a,b){return this.delegate.selectRootElement(a,b)};f.parentNode=function(a){return this.delegate.parentNode(a)};
f.nextSibling=function(a){return this.delegate.nextSibling(a)};f.setAttribute=function(a,b,c,d){this.delegate.setAttribute(a,b,c,d)};f.removeAttribute=function(a,b,c){this.delegate.removeAttribute(a,b,c)};f.addClass=function(a,b){this.delegate.addClass(a,b)};f.removeClass=function(a,b){this.delegate.removeClass(a,b)};f.setStyle=function(a,b,c,d){this.delegate.setStyle(a,b,c,d)};f.removeStyle=function(a,b,c){this.delegate.removeStyle(a,b,c)};
f.setProperty=function(a,b,c){"@"==b.charAt(0)&&"@.disabled"==b?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};f.setValue=function(a,b){this.delegate.setValue(a,b)};f.listen=function(a,b,c){return this.delegate.listen(a,b,c)};f.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};wh.Object.defineProperties(UZb.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});
var VZb=function(a,b,c,d,e){UZb.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};U(VZb,UZb);VZb.prototype.setProperty=function(a,b,c){"@"==b.charAt(0)?"."==b.charAt(1)&&"@.disabled"==b?this.disableAnimations(a,void 0===c?!0:!!c):this.engine.process(this.namespaceId,a,b.slice(1),c):this.delegate.setProperty(a,b,c)};
VZb.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=roa(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=k(soa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(g){WZb(d.factory,g._data||-1,c,g)})}return this.delegate.listen(a,b,c)};var Oy=function(a,b,c){Ly.call(this,a.body,b,c)};U(Oy,Ly);Oy.prototype.ngOnDestroy=function(){this.flush()};Oy.\u0275fac=function(a){return new (a||Oy)(u(uh),u(pZb),u(mZb),u(Fw))};Oy.\u0275prov=wc({token:Oy,factory:Oy.\u0275fac});var XZb=[{provide:XYb,useClass:My},{provide:mZb,useFactory:function(){return new oZb}},{provide:Ly,useClass:Oy},{provide:AUb,useFactory:function(a,b,c){return new Ny(a,b,c)},deps:[iy,Ly,ef]}],YZb=[{provide:pZb,useFactory:function(){return new RZb}},{provide:Ov,useValue:"BrowserAnimations"}].concat(ad(XZb));
[{provide:pZb,useClass:Iy},{provide:Ov,useValue:"NoopAnimations"}].concat(ad(XZb));var Py=function(){};Py.\u0275fac=function(a){return new (a||Py)};Py.\u0275mod=Oc({type:Py});Py.\u0275inj=xc({providers:YZb,imports:[Cy]});var ZZb=new Set,Qy,Ry=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):toa};Ry.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!ZZb.has(a))try{Qy||(Qy=document.createElement("style"),b&&(Qy.nonce=b),Qy.setAttribute("type","text/css"),document.head.appendChild(Qy)),Qy.sheet&&(Qy.sheet.insertRule("@media "+a+" {body{ }}",0),ZZb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
Ry.\u0275fac=function(a){return new (a||Ry)(u(Lx),u(xUb,8))};Ry.\u0275prov=wc({token:Ry,factory:Ry.\u0275fac,providedIn:"root"});var Sy=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new E.Subject};Sy.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
Sy.prototype.observe=function(a){var b=this;a=uoa(Fg(a)).map(function(c){return b._registerQuery(c).observable});a=(0,E.combineLatest)(a);a=(0,E.concat)(a.pipe(Oe()),a.pipe(Ze(1),Ke(0)));return a.pipe(D(function(c){var d={matches:!1,breakpoints:{}};c.forEach(function(e){var g=e.matches;e=e.query;d.matches=d.matches||g;d.breakpoints[e]=g});return d}))};
Sy.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 E.Observable(function(e){var g=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(g);return function(){c.removeListener(g)}})).pipe($e(c),D(function(e){return{query:a,matches:e.matches}}),bf(this._destroySubject)),mql:c};this._queries.set(a,d);return d};Sy.\u0275fac=function(a){return new (a||Sy)(u(Ry),u(ef))};
Sy.\u0275prov=wc({token:Sy,factory:Sy.\u0275fac,providedIn:"root"});var Ty=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=Hc(Sy).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},$Zb=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};Ty.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
Ty.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=$Zb(this);1===b?a.add("cdk-high-contrast-active","cdk-high-contrast-black-on-white"):2===b&&a.add("cdk-high-contrast-active","cdk-high-contrast-white-on-black")}};
Ty.\u0275fac=function(a){return new (a||Ty)(u(Lx),u(uh))};Ty.\u0275prov=wc({token:Ty,factory:Ty.\u0275fac,providedIn:"root"});var a_b=new Zc("liveAnnouncerElement",{providedIn:"root",factory:voa}),b_b=new Zc("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var Uy=function(){};Uy.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};Uy.\u0275fac=function(a){return new (a||Uy)};Uy.\u0275prov=wc({token:Uy,factory:Uy.\u0275fac,providedIn:"root"});var Vy=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};f=Vy.prototype;f.ngOnDestroy=function(){var a=this;this._observedElements.forEach(function(b,c){return a._cleanupObserver(c)})};
f.observe=function(a){var b=this,c=Ig(a);return new E.Observable(function(d){var e=b._observeElement(c).subscribe(d);return function(){e.unsubscribe();b._unobserveElement(c)}})};f._observeElement=function(a){if(this._observedElements.has(a))this._observedElements.get(a).count++;else{var b=new E.Subject,c=this._mutationObserverFactory.create(function(d){return b.next(d)});c&&c.observe(a,{characterData:!0,childList:!0,subtree:!0});this._observedElements.set(a,{observer:c,stream:b,count:1})}return this._observedElements.get(a).stream};
f._unobserveElement=function(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))};f._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)}};Vy.\u0275fac=function(a){return new (a||Vy)(u(Uy))};Vy.\u0275prov=wc({token:Vy,factory:Vy.\u0275fac,providedIn:"root"});
var Wy=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new pw;this._disabled=!1;this._currentSubscription=null};Wy.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};Wy.prototype.ngOnDestroy=function(){this._unsubscribe()};
Wy.prototype._subscribe=function(){var a=this;this._unsubscribe();var b=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){a._currentSubscription=(a.debounce?b.pipe(Ke(a.debounce)):b).subscribe(a.event)})};Wy.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
wh.Object.defineProperties(Wy.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Gg(a))?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=Jg(a);this._subscribe()}}});Wy.\u0275fac=function(a){return new (a||Wy)(C(Vy),C(Bd),C(ef))};
Wy.\u0275dir=Qc({type:Wy,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});var Xy=function(){};Xy.\u0275fac=function(a){return new (a||Xy)};Xy.\u0275mod=Oc({type:Xy});Xy.\u0275inj=xc({providers:[Uy]});var c_b=0,Yy=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};f=Yy.prototype;
f.announce=function(a){var b=Wc.apply(1,arguments),c=this,d=this._defaultOptions;if(1===b.length&&"number"===typeof b[0])var e=b[0];else{b=k(b);var g=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);g||(g=d&&d.politeness?d.politeness:"polite");null==e&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",g);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;"number"===typeof e&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));c._currentResolve();c._currentPromise=c._currentResolve=void 0},100);return c._currentPromise})};f.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
f.ngOnDestroy=function(){clearTimeout(this._previousTimeout);var a;null==(a=this._liveElement)||a.remove();this._liveElement=null;var b;null==(b=this._currentResolve)||b.call(this);this._currentPromise=this._currentResolve=void 0};
f._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-"+c_b++;this._document.body.appendChild(b);return b};
f._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?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};Yy.\u0275fac=function(a){return new (a||Yy)(u(a_b,8),u(ef),u(uh),u(b_b,8))};Yy.\u0275prov=wc({token:Yy,factory:Yy.\u0275fac,providedIn:"root"});var Zy=function(a){a._applyBodyHighContrastModeCssClasses()};Zy.\u0275fac=function(a){return new (a||Zy)(u(Ty))};Zy.\u0275mod=Oc({type:Zy});Zy.\u0275inj=xc({imports:[Xy]});var zoa=0,$y=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+zoa++;this._document=a;this._id=Hc(wUb)+"-"+zoa++};$y.prototype.describe=function(a,b,c){if(this._canBeDescribed(a,b)){var d=yoa(b,c);"string"!==typeof b?(Aoa(b,this._id),this._messageRegistry.set(d,{messageElement:b,referenceCount:0})):this._messageRegistry.has(d)||this._createMessageElement(b,c);this._isElementDescribedByMessage(a,d)||this._addMessageReference(a,d)}};
var d_b=function(a,b,c,d){if(c&&a._isElementNode(b)){d=yoa(c,d);a._isElementDescribedByMessage(b,d)&&a._removeMessageReference(b,d);"string"===typeof c&&(b=a._messageRegistry.get(d))&&0===b.referenceCount&&a._deleteMessageElement(d);var e;0===(null==(e=a._messagesContainer)?void 0:e.childNodes.length)&&(a._messagesContainer.remove(),a._messagesContainer=null)}};f=$y.prototype;
f.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;null==(c=this._messagesContainer)||c.remove();this._messagesContainer=null;this._messageRegistry.clear()};
f._createMessageElement=function(a,b){var c=this._document.createElement("div");Aoa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(yoa(a,b),{messageElement:c,referenceCount:0})};f._deleteMessageElement=function(a){var b,c;null==(b=this._messageRegistry.get(a))||null==(c=b.messageElement)||c.remove();this._messageRegistry.delete(a)};
f._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}};
f._removeCdkDescribedByReferenceIds=function(a){var b=woa(a,"aria-describedby").filter(function(c){return 0!=c.indexOf("cdk-describedby-message")});a.setAttribute("aria-describedby",b.join(" "))};f._addMessageReference=function(a,b){b=this._messageRegistry.get(b);xoa(a,"aria-describedby",b.messageElement.id);a.setAttribute("cdk-describedby-host",this._id);b.referenceCount++};
f._removeMessageReference=function(a,b){b=this._messageRegistry.get(b);b.referenceCount--;th(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};f._isElementDescribedByMessage=function(a,b){a=woa(a,"aria-describedby");b=(b=this._messageRegistry.get(b))&&b.messageElement.id;return!!b&&-1!=a.indexOf(b)};
f._canBeDescribed=function(a,b){if(!this._isElementNode(a))return!1;if(b&&"object"===typeof b)return!0;b=null==b?"":b.trim();a=a.getAttribute("aria-label");return b?!a||a.trim()!==b:!1};f._isElementNode=function(a){return a.nodeType===this._document.ELEMENT_NODE};$y.\u0275fac=function(a){return new (a||$y)(u(uh),u(Lx))};$y.\u0275prov=wc({token:$y,factory:$y.\u0275fac,providedIn:"root"});var az=function(a,b,c,d,e,g,h){Nx.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=g;this._focusTrapManager.register(this)};U(az,Nx);az.prototype.destroy=function(){this._focusTrapManager.deregister(this);Nx.prototype.destroy.call(this)};az.prototype._enable=function(){e_b(this._inertStrategy,this);RXb(this,!0)};az.prototype._disable=function(){var a=this._inertStrategy;a._listener&&(this._document.removeEventListener("focus",a._listener,!0),a._listener=null);RXb(this,!1)};
wh.Object.defineProperties(az.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 f_b=function(){this._listener=null},e_b=function(a,b){a._listener&&b._document.removeEventListener("focus",a._listener,!0);a._listener=function(c){return a._trapFocus(b,c)};b._ngZone.runOutsideAngular(function(){b._document.addEventListener("focus",a._listener,!0)})};f_b.prototype._trapFocus=function(a,b){b=b.target;var c=a._element,d;!b||c.contains(b)||(null==(d=b.closest)?0:d.call(b,"div.cdk-overlay-pane"))||setTimeout(function(){a.enabled&&!c.contains(a._document.activeElement)&&OXb(a)})};var g_b=new Zc("FOCUS_TRAP_INERT_STRATEGY");var bz=function(){this._focusTrapStack=[]};bz.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()};bz.prototype.deregister=function(a){a._disable();var b=this._focusTrapStack;a=b.indexOf(a);-1!==a&&(b.splice(a,1),b.length&&b[b.length-1]._enable())};bz.\u0275fac=function(a){return new (a||bz)};bz.\u0275prov=wc({token:bz,factory:bz.\u0275fac,providedIn:"root"});var cz=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new f_b};cz.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new az(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};cz.\u0275fac=function(a){return new (a||cz)(u(Mx),u(ef),u(bz),u(uh),u(g_b,8))};cz.\u0275prov=wc({token:cz,factory:cz.\u0275fac,providedIn:"root"});var dz=function(a){var b=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new E.Subject;this._typeaheadSubscription=E.Subscription.EMPTY;this._vertical=!0;this._allowedModifierKeys=[];this._homeAndEnd=!1;this._pageUpAndDown={enabled:!1,delta:10};this._skipPredicateFn=function(c){return c.disabled};this._pressedLetters=[];this.tabOut=new E.Subject;this.change=new E.Subject;a instanceof fg&&(this._itemChangesSubscription=a.changes.subscribe(function(c){b._activeItem&&
(c=c.toArray().indexOf(b._activeItem),-1<c&&c!==b._activeItemIndex&&(b._activeItemIndex=c))}))},h_b=function(a,b){a._skipPredicateFn=b;return a},ez=function(a){a._wrap=!0;return a},fz=function(a,b){a._vertical=void 0===b?!0:b;return a},gz=function(a,b){a._horizontal=b;return a},i_b=function(a){a._allowedModifierKeys=["shiftKey"];return a},j_b=function(a,b){b=void 0===b?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(cf(function(c){return a._pressedLetters.push(c)}),
Ke(b),De(function(){return 0<a._pressedLetters.length}),D(function(){return a._pressedLetters.join("")})).subscribe(function(c){for(var d=a._getItemsArray(),e=1;e<d.length+1;e++){var g=(a._activeItemIndex+e)%d.length,h=d[g];if(!a._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(c)){a.setActiveItem(g);break}}a._pressedLetters=[]});return a},hz=function(a){a._homeAndEnd=!0;return a},k_b=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
dz.prototype.setActiveItem=function(a){var b=this._activeItem;iz(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
dz.prototype.onKeydown=function(a){var b=this,c=a.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(function(e){return!a[e]||-1<b._allowedModifierKeys.indexOf(e)});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){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&
d){"rtl"===this._horizontal?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){l_b(this);break}else return;case 33:if(this._pageUpAndDown.enabled&&d){c=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(0<c?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||Kg(a,"shiftKey"))a.key&&1===a.key.length?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(65<=c&&90>=c||48<=c&&57>=c)&&this._letterKeyStream.next(String.fromCharCode(c));return}this._pressedLetters=[];a.preventDefault()};var l_b=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};dz.prototype.setNextItemActive=function(){0>this._activeItemIndex?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
dz.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?l_b(this):this._setActiveItemByDelta(-1)};var iz=function(a,b){var c=a._getItemsArray();b="number"===typeof b?b:c.indexOf(b);c=c[b];a._activeItem=null==c?null:c;a._activeItemIndex=b};f=dz.prototype;
f.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;null==(a=this._itemChangesSubscription)||a.unsubscribe();this._letterKeyStream.complete();this.tabOut.complete();this.change.complete();this._pressedLetters=[]};f._setActiveItemByDelta=function(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)};
f._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}}};f._setActiveInDefaultMode=function(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)};f._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)}};
f._getItemsArray=function(){return this._items instanceof fg?this._items.toArray():this._items};wh.Object.defineProperties(dz.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var jz=function(){dz.apply(this,arguments)};U(jz,dz);jz.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();dz.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var kz=function(){dz.apply(this,arguments);this._origin="program"};U(kz,dz);var m_b=function(a,b){a._origin=b;return a};kz.prototype.setActiveItem=function(a){dz.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var n_b=new Zc("cdk-dir-doc",{providedIn:"root",factory:Boa});var o_b=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,lz=function(a){this.value="ltr";this.change=new pw;if(a){var b=a.documentElement?a.documentElement.dir:null;b=(a.body?a.body.dir:null)||b||"ltr";b=(null==b?void 0:b.toLowerCase())||"";var c;this.value="auto"===b&&"undefined"!==typeof navigator&&(null==(c=navigator)?0:c.language)?o_b.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};lz.prototype.ngOnDestroy=function(){this.change.complete()};
lz.\u0275fac=function(a){return new (a||lz)(u(n_b,8))};lz.\u0275prov=wc({token:lz,factory:lz.\u0275fac,providedIn:"root"});var mz=function(){};mz.\u0275fac=function(a){return new (a||mz)};mz.\u0275mod=Oc({type:mz});mz.\u0275inj=xc({});var nz=function(a){this._attachedOverlays=[];this._document=a};nz.prototype.ngOnDestroy=function(){this.detach()};nz.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};nz.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};nz.\u0275fac=function(a){return new (a||nz)(u(uh))};nz.\u0275prov=wc({token:nz,factory:nz.\u0275fac,providedIn:"root"});var oz=function(a,b){nz.call(this,a);var c=this;this._ngZone=b;this._keydownListener=function(d){for(var e=c._attachedOverlays,g={},h=e.length-1;-1<h;g={$jscomp$loop$prop$keydownEvents$m1792715361$1:g.$jscomp$loop$prop$keydownEvents$m1792715361$1},h--)if(0<e[h]._keydownEvents.observers.length){g.$jscomp$loop$prop$keydownEvents$m1792715361$1=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(m){return function(){return m.$jscomp$loop$prop$keydownEvents$m1792715361$1.next(d)}}(g)):g.$jscomp$loop$prop$keydownEvents$m1792715361$1.next(d);
break}}};U(oz,nz);oz.prototype.add=function(a){var b=this;nz.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)};oz.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
oz.\u0275fac=function(a){return new (a||oz)(u(uh),u(ef,8))};oz.\u0275prov=wc({token:oz,factory:oz.\u0275fac,providedIn:"root"});var pz=function(a,b,c){nz.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=Eg(e)};this._clickListener=function(e){var g=Eg(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:g;d._pointerDownEventTarget=null;for(var m=d._attachedOverlays.slice(),r={},v=m.length-1;-1<v;r={$jscomp$loop$prop$outsidePointerEvents$1581787796$1:r.$jscomp$loop$prop$outsidePointerEvents$1581787796$1},v--){var y=
m[v];if(!(1>y._outsidePointerEvents.observers.length)&&y.hasAttached()){if(y.overlayElement.contains(g)||y.overlayElement.contains(h))break;r.$jscomp$loop$prop$outsidePointerEvents$1581787796$1=y._outsidePointerEvents;d._ngZone?d._ngZone.run(function(A){return function(){return A.$jscomp$loop$prop$outsidePointerEvents$1581787796$1.next(e)}}(r)):r.$jscomp$loop$prop$outsidePointerEvents$1581787796$1.next(e)}}}};U(pz,nz);
pz.prototype.add=function(a){var b=this;nz.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}};
pz.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}};
pz.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)};pz.\u0275fac=function(a){return new (a||pz)(u(uh),u(Lx),u(ef,8))};pz.\u0275prov=wc({token:pz,factory:pz.\u0275fac,providedIn:"root"});var qz=function(a,b){this._platform=b;this._document=a};qz.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var p_b=function(a){a._containerElement||a._createContainer();return a._containerElement};
qz.prototype._createContainer=function(){if(this._platform.isBrowser||Hma())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");Hma()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
qz.\u0275fac=function(a){return new (a||qz)(u(uh),u(Lx))};qz.\u0275prov=wc({token:qz,factory:qz.\u0275fac,providedIn:"root"});var q_b=Cma(),r_b=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};r_b.prototype.attach=function(){};
r_b.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=Hg(-this._previousScrollPosition.left);a.style.top=Hg(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
r_b.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");q_b&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);q_b&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
r_b.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 s_b=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()})}};s_b.prototype.attach=function(a){this._overlayRef=a};
s_b.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(De(function(c){return!c||!a._overlayRef.overlayElement.contains(c.elementRef.nativeElement)}));this._config&&this._config.threshold&&1<this._config.threshold?(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)}};s_b.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};s_b.prototype.detach=function(){this.disable();this._overlayRef=null};var t_b=function(){};t_b.prototype.enable=function(){};t_b.prototype.disable=function(){};t_b.prototype.attach=function(){};var u_b=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};u_b.prototype.attach=function(a){this._overlayRef=a};
u_b.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;Coa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
u_b.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};u_b.prototype.detach=function(){this.disable();this._overlayRef=null};new Zc("VIRTUAL_SCROLL_STRATEGY");var rz=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new E.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};rz.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};rz.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
rz.prototype.scrolled=function(a){var b=this;a=void 0===a?20:a;return this._platform.isBrowser?new E.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=0<a?b._scrolled.pipe(Ge(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,E.of)()};
rz.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var v_b=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};rz.prototype._getWindow=function(){return this._document.defaultView||window};
rz.prototype._scrollableContainsElement=function(a,b){b=Ig(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};rz.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,E.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
rz.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};rz.\u0275fac=function(a){return new (a||rz)(u(ef),u(Lx),u(uh,8))};rz.\u0275prov=wc({token:rz,factory:rz.\u0275fac,providedIn:"root"});var sz=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new E.Subject;this._elementScrolled=new E.Observable(function(g){return e.ngZone.runOutsideAngular(function(){return(0,E.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(bf(e._destroyed)).subscribe(g)})})};sz.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};sz.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
sz.prototype.scrollTo=function(a){var b=this.elementRef.nativeElement,c=this.dir&&"rtl"==this.dir.value;null==a.left&&(a.left=c?a.end:a.start);null==a.right&&(a.right=c?a.start:a.end);null!=a.bottom&&(a.top=b.scrollHeight-b.clientHeight-a.bottom);c&&0!=Ema()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==Ema()?a.left=a.right:1==Ema()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
sz.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;Cma()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};sz.\u0275fac=function(a){return new (a||sz)(C(Bd),C(rz),C(ef),C(lz,8))};sz.\u0275dir=Qc({type:sz,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var w_b=function(){},x_b=function(a,b,c,d){GWb(a,function(e,g,h){if(null==e.previousIndex){var m=c(e,g,h);m=b.createEmbeddedView(m.templateRef,m.context,m.index);g=1}else null==h?(b.remove(g),g=3):(m=b.get(g),b.move(m,h),g=2);if(d){var r;d({context:null==(r=m)?void 0:r.context,operation:g,record:e})}})};w_b.prototype.detach=function(){};var tz=function(a,b,c,d){var e=this;a=void 0===a?!1:a;c=void 0===c?!0:c;this._multiple=a;this._emitChanges=c;this.compareWith=d;this._selection=new Set;this._deselectedToEmit=[];this._selectedToEmit=[];this.changed=new E.Subject;b&&b.length&&(a?b.forEach(function(g){return e._markSelected(g)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};f=tz.prototype;
f.select=function(){var a=this;Wc.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};f.deselect=function(){var a=this;Wc.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};f.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
f.clear=function(a){a=void 0===a?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};f.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};f.isEmpty=function(){return 0===this._selection.size};f.hasValue=function(){return!this.isEmpty()};f.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
f._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=[]};f._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))};
f._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};f._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};f._verifyValueAssignment=function(){};f._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
f._getConcreteValue=function(a){if(this.compareWith)for(var b=k(this._selection),c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c;return a};wh.Object.defineProperties(tz.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var uz=function(){this._listeners=[]};uz.prototype.notify=function(a,b){for(var c=k(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};uz.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};uz.prototype.ngOnDestroy=function(){this._listeners=[]};uz.\u0275fac=function(a){return new (a||uz)};uz.\u0275prov=wc({token:uz,factory:uz.\u0275fac,providedIn:"root"});var y_b=new Zc("_ViewRepeater");var vz=function(a,b,c){var d=this;this._platform=a;this._change=new E.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})})};f=vz.prototype;
f.ngOnDestroy=function(){if(this._platform.isBrowser){var a=this._getWindow();a.removeEventListener("resize",this._changeListener);a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()};f.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var a={width:this._viewportSize.width,height:this._viewportSize.height};this._platform.isBrowser||(this._viewportSize=null);return a};
f.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}};f.change=function(a){a=void 0===a?20:a;return 0<a?this._change.pipe(Ge(a)):this._change};f._getWindow=function(){return this._document.defaultView||window};
f._updateViewportSize=function(){var a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}};vz.\u0275fac=function(a){return new (a||vz)(u(Lx),u(ef),u(uh,8))};vz.\u0275prov=wc({token:vz,factory:vz.\u0275fac,providedIn:"root"});new Zc("VIRTUAL_SCROLLABLE");var wz=function(){};wz.\u0275fac=function(a){return new (a||wz)};wz.\u0275mod=Oc({type:wz});wz.\u0275inj=xc({});var xz=function(){};xz.\u0275fac=function(a){return new (a||xz)};xz.\u0275mod=Oc({type:xz});xz.\u0275inj=xc({imports:[mz,wz,mz,wz]});var yz=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new t_b};this.close=function(g){return new s_b(e._scrollDispatcher,e._ngZone,e._viewportRuler,g)};this.block=function(){return new r_b(e._viewportRuler,e._document)};this.reposition=function(g){return new u_b(e._scrollDispatcher,e._viewportRuler,e._ngZone,g)};this._document=d};yz.\u0275fac=function(a){return new (a||yz)(u(rz),u(vz),u(ef),u(uh))};
yz.\u0275prov=wc({token:yz,factory:yz.\u0275fac,providedIn:"root"});var zz=function(a){this.scrollStrategy=new t_b;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,void 0!==a[c]&&(this[c]=a[c])}};var Az=function(a,b,c,d,e,g,h,m,r,v){var y=this;v=void 0===v?!1:v;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=g;this._document=h;this._location=m;this._outsideClickDispatcher=r;this._animationsDisabled=v;this._backdropElement=null;this._backdropClick=new E.Subject;this._attachments=new E.Subject;this._detachments=new E.Subject;this._locationChanges=E.Subscription.EMPTY;this._backdropClickHandler=function(A){return y._backdropClick.next(A)};
this._backdropTransitionendHandler=function(A){y._disposeBackdrop(A.target)};this._keydownEvents=new E.Subject;this._outsidePointerEvents=new E.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy};f=Az.prototype;
f.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();this._ngZone.onStable.pipe(Oe()).subscribe(function(){b.hasAttached()&&b.updatePosition()});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("function"===typeof(null==a?void 0:a.onDestroy))a.onDestroy(function(){b.hasAttached()&&b._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){return b.detach()})})});
return a};f.detach=function(){if(this.hasAttached()){z_b(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._detachContentWhenStable();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
f.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;null==(b=this._host)||b.remove();this._previousHostParent=
this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete()};f.hasAttached=function(){return this._portalOutlet.hasAttached()};f.backdropClick=function(){return this._backdropClick};f.attachments=function(){return this._attachments};f.keydownEvents=function(){return this._keydownEvents};f.outsidePointerEvents=function(){return this._outsidePointerEvents};f.getConfig=function(){return this._config};f.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};
f.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};f.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};f.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};f.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};f.getDirection=function(){var a=this._config.direction;return a?"string"===typeof a?a:a.value:"ltr"};
f._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())};f._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=Hg(this._config.width);a.height=Hg(this._config.height);a.minWidth=Hg(this._config.minWidth);a.minHeight=Hg(this._config.minHeight);a.maxWidth=Hg(this._config.maxWidth);a.maxHeight=Hg(this._config.maxHeight)}};f._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
f._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||"undefined"===typeof requestAnimationFrame?this._backdropElement.classList.add("cdk-overlay-backdrop-showing"):this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a._backdropElement&&a._backdropElement.classList.add("cdk-overlay-backdrop-showing")})})};f._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var z_b=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)})))};
Az.prototype._toggleClasses=function(a,b,c){b=Fg(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,ad(b)):a.classList.remove.apply(a.classList,ad(b)))};
Az.prototype._detachContentWhenStable=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._ngZone.onStable.pipe(bf((0,E.merge)(a._attachments,a._detachments))).subscribe(function(){a._pane&&a._host&&0!==a._pane.children.length||(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())})})};
Az.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};Az.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)};
wh.Object.defineProperties(Az.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var A_b=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var Foa=/([A-Za-z%]+)$/,Bz=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 E.Subject;this._resizeSubscription=E.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};Bz.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()})};
Bz.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)B_b(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=p_b(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],g,h=k(this._preferredPositions),m=h.next();!m.done;m=h.next()){m=m.value;var r=this._getOriginPoint(a,d,m),v=this._getOverlayPoint(r,b,m),y=this._getOverlayFit(v,b,c,m);if(y.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(m,r);return}if(this._canFitWithFlexibleDimensions(y,v,c))e.push({position:m,origin:r,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(r,m)});else if(!g||g.overlayFit.visibleArea<y.visibleArea)g={overlayFit:y,
overlayPoint:v,originPoint:r,position:m,overlayRect:b}}if(e.length){a=null;b=-1;e=k(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(g.position,g.originPoint)}};Bz.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
Bz.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&vh(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 B_b=function(a){if(!a._isDisposed&&a._platform.isBrowser){var b=a._lastPosition;if(b){a._originRect=a._getOriginRect();a._overlayRect=a._pane.getBoundingClientRect();a._viewportRect=a._getNarrowedViewportRect();a._containerRect=p_b(a._overlayContainer).getBoundingClientRect();var c=a._getOriginPoint(a._originRect,a._containerRect,b);a._applyPosition(b,c)}else a.apply()}},C_b=function(a,b){a._scrollables=b;return a},Cz=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=
null);return a},Dz=function(a,b){a._viewportMargin=b;return a},Ez=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},D_b=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},E_b=function(a,b){a._canPush=void 0===b?!0:b;return a},F_b=function(a,b){a._positionLocked=void 0===b?!0:b;return a};Bz.prototype.setOrigin=function(a){this._origin=a;return this};var G_b=function(a,b){a._transformOriginSelector=b;return a};f=Bz.prototype;
f._getOriginPoint=function(a,b,c){if("center"==c.originX)var d=a.left+a.width/2;else{d=this._isRtl()?a.right:a.left;var e=this._isRtl()?a.left:a.right;d="start"==c.originX?d:e}0>b.left&&(d-=b.left);a="center"==c.originY?a.top+a.height/2:"top"==c.originY?a.top:a.bottom;0>b.top&&(a-=b.top);return{x:d,y:a}};
f._getOverlayPoint=function(a,b,c){var d="center"==c.overlayX?-b.width/2:"start"===c.overlayX?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width;return{x:a.x+d,y:a.y+("center"==c.overlayY?-b.height/2:"top"==c.overlayY?0:-b.height)}};
f._getOverlayFit=function(a,b,c,d){b=Hoa(b);var e=a.x;a=a.y;var g=this._getOffset(d,"x");d=this._getOffset(d,"y");g&&(e+=g);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}};
f._canFitWithFlexibleDimensions=function(a,b,c){if(this._hasFlexibleDimensions){var d=c.bottom-b.y;c=c.right-b.x;b=Goa(this._overlayRef.getConfig().minHeight);var e=Goa(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||null!=e&&e<=c;return(a.fitsInViewportVertically||null!=b&&b<=d)&&c}return!1};
f._pushOverlayOnScreen=function(a,b,c){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};b=Hoa(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),g=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),m=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?m||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-g: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}};f._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);this._lastPosition=a;this._positionChanges.observers.length&&(b=this._getScrollVisibility(),this._positionChanges.next(new A_b(a,b)));this._isInitialRender=!1};
f._setTransformOrigin=function(a){if(this._transformOriginSelector){var b=this._boundingBox.querySelectorAll(this._transformOriginSelector),c=a.overlayY;a="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(var d=0;d<b.length;d++)b[d].style.transformOrigin=a+" "+c}};
f._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if("top"===b.overlayY){var e=a.y;var g=c.height-e+this._viewportMargin}else if("bottom"===b.overlayY){var h=c.height-a.y+2*this._viewportMargin;g=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var m=this._lastBoundingBoxSize.height;g=2*e;e=a.y-e;g>m&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-m/2)}m="start"===b.overlayX&&!d||"end"===b.overlayX&&d;if("end"===b.overlayX&&!d||"start"===
b.overlayX&&d){var r=c.width-a.x+this._viewportMargin;b=a.x-this._viewportMargin}else if(m){var v=a.x;b=c.right-a.x}else v=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=2*v,v=a.x-v,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(v=a.x-c/2);return{top:e,left:v,bottom:h,right:r,width:b,height:g}};
f._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=Hg(a.height);c.top=Hg(a.top);c.bottom=Hg(a.bottom);
c.width=Hg(a.width);c.left=Hg(a.left);c.right=Hg(a.right);c.alignItems="center"===b.overlayX?"center":"end"===b.overlayX?"flex-end":"flex-start";c.justifyContent="center"===b.overlayY?"center":"bottom"===b.overlayY?"flex-end":"flex-start";d&&(c.maxHeight=Hg(d));e&&(c.maxWidth=Hg(e))}this._lastBoundingBoxSize=a;vh(this._boundingBox.style,c)};f._resetBoundingBoxStyles=function(){vh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
f._resetOverlayElementStyles=function(){vh(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})};
f._setOverlayElementStyles=function(a,b){var c={},d=this._hasExactPosition(),e=this._hasFlexibleDimensions,g=this._overlayRef.getConfig();if(d){var h=this._viewportRuler.getViewportScrollPosition();vh(c,this._getExactOverlayY(b,a,h));vh(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();g.maxHeight&&(d?c.maxHeight=Hg(g.maxHeight):e&&(c.maxHeight=""));g.maxWidth&&
(d?c.maxWidth=Hg(g.maxWidth):e&&(c.maxWidth=""));vh(this._pane.style,c)};f._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));"bottom"===a.overlayY?d.bottom=this._document.documentElement.clientHeight-(b.y+this._overlayRect.height)+"px":d.top=Hg(b.y);return d};
f._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));"right"===(this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left")?d.right=this._document.documentElement.clientWidth-(b.x+this._overlayRect.width)+"px":d.left=Hg(b.x);return d};
f._getScrollVisibility=function(){var a=this._getOriginRect(),b=this._pane.getBoundingClientRect(),c=this._scrollables.map(function(d){return d.elementRef.nativeElement.getBoundingClientRect()});return{isOriginClipped:Doa(a,c),isOriginOutsideView:Coa(a,c),isOverlayClipped:Doa(b,c),isOverlayOutsideView:Coa(b,c)}};f._subtractOverflows=function(a){return Wc.apply(1,arguments).reduce(function(b,c){return b-Math.max(c,0)},a)};
f._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}};f._isRtl=function(){return"rtl"===this._overlayRef.getDirection()};
f._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed};f._getOffset=function(a,b){return"x"===b?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY};f._validatePositions=function(){};f._addPanelClasses=function(a){var b=this;this._pane&&Fg(a).forEach(function(c){""!==c&&-1===b._appliedPanelClasses.indexOf(c)&&(b._appliedPanelClasses.push(c),b._pane.classList.add(c))})};
f._clearPanelClasses=function(){var a=this;this._pane&&(this._appliedPanelClasses.forEach(function(b){a._pane.classList.remove(b)}),this._appliedPanelClasses=[])};f._getOriginRect=function(){var a=this._origin;if(a instanceof Bd)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}};
wh.Object.defineProperties(Bz.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var H_b=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};f=H_b.prototype;f.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};
f.top=function(a){this._bottomOffset="";this._topOffset=void 0===a?"":a;this._alignItems="flex-start";return this};f.left=function(a){this._xOffset=void 0===a?"":a;this._xPosition="left";return this};f.bottom=function(a){this._topOffset="";this._bottomOffset=void 0===a?"":a;this._alignItems="flex-end";return this};f.right=function(a){this._xOffset=void 0===a?"":a;this._xPosition="right";return this};f.start=function(a){this._xOffset=void 0===a?"":a;this._xPosition="start";return this};
f.end=function(a){this._xOffset=void 0===a?"":a;this._xPosition="end";return this};f.width=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a;return this};f.height=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a;return this};var I_b=function(a){a.left("");a._xPosition="center";return a},J_b=function(a){a.top("");a._alignItems="center";return a};
H_b.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,g=c.maxWidth;c=c.maxHeight;d=("100%"===d||"100vw"===d)&&(!g||"100%"===g||"100vw"===g);e=("100%"===e||"100vh"===e)&&(!c||"100%"===c||"100vh"===c);g=this._xPosition;c=this._xOffset;var h="rtl"===this._overlayRef.getConfig().direction,m="",r="",v="";if(d)v="flex-start";else if("center"===
g)v="center",h?r=c:m=c;else if(h)if("left"===g||"end"===g)v="flex-end",m=c;else{if("right"===g||"start"===g)v="flex-start",r=c}else if("left"===g||"start"===g)v="flex-start",m=c;else if("right"===g||"end"===g)v="flex-end",r=c;a.position=this._cssPosition;a.marginLeft=d?"0":m;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":r;b.justifyContent=v;b.alignItems=e?"flex-start":this._alignItems}};
H_b.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 Fz=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};Fz.prototype.global=function(){return new H_b};var Gz=function(a,b){return new Bz(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};Fz.\u0275fac=function(a){return new (a||Fz)(u(vz),u(uh),u(Lx),u(qz))};Fz.\u0275prov=wc({token:Fz,factory:Fz.\u0275fac,providedIn:"root"});var K_b=0,Hz=function(a,b,c,d,e,g,h,m,r,v,y,A){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=g;this._ngZone=h;this._document=m;this._directionality=r;this._location=v;this._outsideClickDispatcher=y;this._animationsModuleType=A};f=Hz.prototype;
f.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new zz(a);a.direction=a.direction||this._directionality.value;return new Az(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)};f.position=function(){return this._positionBuilder};
f._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+K_b++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};f._createHostElement=function(){var a=this._document.createElement("div");p_b(this._overlayContainer).appendChild(a);return a};f._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(Fw));return new Zx(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
Hz.\u0275fac=function(a){return new (a||Hz)(u(yz),u(qz),u(Mv),u(Fz),u(oz),u(Lv),u(ef),u(uh),u(lz),u(jx),u(pz),u(Ov,8))};Hz.\u0275prov=wc({token:Hz,factory:Hz.\u0275fac,providedIn:"root"});var L_b=[{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"}],M_b=new Zc("cdk-connected-overlay-scroll-strategy"),Iz=function(a){this.elementRef=a};Iz.\u0275fac=function(a){return new (a||Iz)(C(Bd))};
Iz.\u0275dir=Qc({type:Iz,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var Jz=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._push=this._flexibleDimensions=this._growAfterOpen=this._lockPosition=this._hasBackdrop=!1;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=E.Subscription.EMPTY;this.viewportMargin=0;this.disableClose=this.open=!1;this.backdropClick=new pw;this.positionChange=new pw;this.attach=new pw;this.detach=new pw;this.overlayKeydown=new pw;this.overlayOutsideClick=new pw;this._templatePortal=new Xx(b,
c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};f=Jz.prototype;f.ngOnDestroy=function(){this._attachSubscription.unsubscribe();this._detachSubscription.unsubscribe();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this._overlayRef&&this._overlayRef.dispose()};
f.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())};
f._createOverlay=function(){var a=this;this.positions&&this.positions.length||(this.positions=L_b);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);27!==c.keyCode||a.disableClose||Kg(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){a.overlayOutsideClick.next(c)})};
f._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new zz({direction:this._dir,positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});if(this.width||0===this.width)a.width=this.width;if(this.height||0===this.height)a.height=this.height;if(this.minWidth||0===this.minWidth)a.minWidth=this.minWidth;if(this.minHeight||0===this.minHeight)a.minHeight=this.minHeight;this.backdropClass&&(a.backdropClass=this.backdropClass);
this.panelClass&&(a.panelClass=this.panelClass);return a};
f._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 G_b(F_b(Dz(D_b(E_b(Ez(Cz(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
f._createPositionStrategy=function(){var a=Gz(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};f._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof Iz?this.origin.elementRef:this.origin};
f._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();0<this.positionChange.observers.length&&(this._positionSubscription=this._position.positionChanges.pipe(kja(function(){return 0<
a.positionChange.observers.length})).subscribe(function(b){a.positionChange.emit(b);0===a.positionChange.observers.length&&a._positionSubscription.unsubscribe()}))};f._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
wh.Object.defineProperties(Jz.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)}},hasBackdrop:{configurable:!0,enumerable:!0,get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=
Gg(a)}},lockPosition:{configurable:!0,enumerable:!0,get:function(){return this._lockPosition},set:function(a){this._lockPosition=Gg(a)}},flexibleDimensions:{configurable:!0,enumerable:!0,get:function(){return this._flexibleDimensions},set:function(a){this._flexibleDimensions=Gg(a)}},growAfterOpen:{configurable:!0,enumerable:!0,get:function(){return this._growAfterOpen},set:function(a){this._growAfterOpen=Gg(a)}},push:{configurable:!0,enumerable:!0,get:function(){return this._push},set:function(a){this._push=
Gg(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"}}});Jz.\u0275fac=function(a){return new (a||Jz)(C(Hz),C(Zf),C($f),C(M_b),C(lz,8))};
Jz.\u0275dir=Qc({type:Jz,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth",
"minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],
hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],
standalone:!0,features:[ed]});var N_b={provide:M_b,deps:[Hz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var Kz=function(){};Kz.\u0275fac=function(a){return new (a||Kz)};Kz.\u0275mod=Oc({type:Kz});Kz.\u0275inj=xc({providers:[Hz,N_b],imports:[mz,cy,xz,xz]});new Rv;new Rv;var O_b=new Zc("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Lz=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};Lz.prototype._checkIsEnabled=function(a){return Hma()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};Lz.\u0275fac=function(a){return new (a||Lz)(u(Ty),u(O_b,8),u(uh))};Lz.\u0275mod=Oc({type:Lz});
Lz.\u0275inj=xc({imports:[mz,mz]});new Zc("MAT_DATE_LOCALE",{providedIn:"root",factory:Koa});var Mz=function(){this.localeChanges=this._localeChanges=new E.Subject},Nz=function(a,b){return P_b(b)&&a.isValid(b)?b:null};Mz.prototype.deserialize=function(a){return null==a||P_b(a)&&this.isValid(a)?a:this.invalid()};Mz.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var Oz=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
Mz.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!Oz(this,a,b):c==d}return a==b};var Q_b=function(a,b,c,d){return c&&0>Oz(a,b,c)?c:d&&0<Oz(a,b,d)?d:b};var Pz=new Zc("mat-date-formats");var Qz=function(){};Qz.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};Qz.\u0275fac=function(a){return new (a||Qz)};Qz.\u0275prov=wc({token:Qz,factory:Qz.\u0275fac,providedIn:"root"});var R_b=function(){};R_b.\u0275fac=function(a){return new (a||R_b)};R_b.\u0275dir=Qc({type:R_b,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});var Rz=function(){};Rz.\u0275fac=function(a){return new (a||Rz)};Rz.\u0275mod=Oc({type:Rz});Rz.\u0275inj=xc({imports:[Lz,Lz]});var S_b=new Zc("MAT_OPTION_PARENT_COMPONENT");zh(function(){});var T_b=new Zc("MatOptgroup");var U_b=Bg({passive:!0,capture:!0}),W_b=function(a,b,c,d){var e=V_b,g=e._events.get(b);g?(a=g.get(c))?a.add(d):g.set(c,new Set([d])):(e._events.set(b,new Map([[c,new Set([d])]])),a.runOutsideAngular(function(){document.addEventListener(b,e._delegateEventHandler,U_b)}))};var X_b=function(a,b,c,d){d=void 0===d?!1:d;this._renderer=a;this.element=b;this.config=c;this._animationForciblyDisabledThroughCss=d;this.state=3};var Y_b={enterDuration:225,exitDuration:150},Z_b=Bg({passive:!0,capture:!0}),$_b=["mousedown","touchstart"],a0b=["mouseup","mouseleave","touchend","touchcancel"],b0b=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=Ig(c))},c0b=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),g=Object.assign({},
Y_b,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Moa(b,c,e);b-=e.left;var m=c-e.top;c=g.enterDuration;var r=document.createElement("div");r.classList.add("mat-ripple-element");r.style.left=b-h+"px";r.style.top=m-h+"px";r.style.height=2*h+"px";r.style.width=2*h+"px";null!=d.color&&(r.style.backgroundColor=d.color);r.style.transitionDuration=c+"ms";a._containerElement.appendChild(r);h=window.getComputedStyle(r);b=h.transitionDuration;e="none"===h.transitionProperty||
"0s"===b||"0s, 0s"===b||0===e.width&&0===e.height;var v=new X_b(a,r,d,e);r.style.transform="scale3d(1, 1, 1)";v.state=0;d.persistent||(a._mostRecentTransientRipple=v);var y=null;e||!c&&!g.exitDuration||a._ngZone.runOutsideAngular(function(){var A=function(){return a._finishRippleTransition(v)},G=function(){return a._destroyRipple(v)};r.addEventListener("transitionend",A);r.addEventListener("transitioncancel",G);y={onTransitionEnd:A,onTransitionCancel:G}});a._activeRipples.set(v,y);!e&&c||a._finishRippleTransition(v);
return v},d0b=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},Y_b,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};b0b.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||d0b(a._renderer,a)})};
var e0b=function(a,b){var c=Ig(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,$_b.forEach(function(d){W_b(a._ngZone,d,c,a)}))};f=b0b.prototype;
f.handleEvent=function(a){var b=this;"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp();this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(function(){a0b.forEach(function(c){b._triggerElement.addEventListener(c,b,Z_b)})}),this._pointerUpEventsRegistered=!0)};f._finishRippleTransition=function(a){0===a.state?this._startFadeOutTransition(a):2===a.state&&this._destroyRipple(a)};
f._startFadeOutTransition=function(a){var b=a===this._mostRecentTransientRipple,c=a.config.persistent;a.state=1;c||b&&this._isPointerDown||d0b(a._renderer,a)};
f._destroyRipple=function(a){var b,c=null!=(b=this._activeRipples.get(a))?b:null;this._activeRipples.delete(a);this._activeRipples.size||(this._containerRect=null);a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null);a.state=3;null!==c&&(a.element.removeEventListener("transitionend",c.onTransitionEnd),a.element.removeEventListener("transitioncancel",c.onTransitionCancel));a.element.remove()};
f._onMousedown=function(a){var b=Lma(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,c0b(this,a.clientX,a.clientY,this._target.rippleConfig))};f._onTouchStart=function(a){if(!this._target.rippleDisabled&&!Mma(a)&&(this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0,a=a.changedTouches))for(var b=0;b<a.length;b++)c0b(this,a[b].clientX,a[b].clientY,this._target.rippleConfig)};
f._onPointerUp=function(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(function(a){var b=1===a.state||a.config.terminateOnPointerUp&&0===a.state;!a.config.persistent&&b&&d0b(a._renderer,a)}))};f._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
f._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&($_b.forEach(function(c){var d=V_b,e=d._events.get(c);if(e){var g=e.get(b);g&&(g.delete(a),0===g.size&&e.delete(b),0===e.size&&(d._events.delete(c),document.removeEventListener(c,d._delegateEventHandler,U_b)))}}),this._pointerUpEventsRegistered&&a0b.forEach(function(c){return b.removeEventListener(c,a,Z_b)}))};
var V_b=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=Eg(b);if(c){var d;null==(d=a._events.get(b.type))||d.forEach(function(e,g){(g===c||g.contains(c))&&e.forEach(function(h){return h.handleEvent(b)})})}}};var f0b=new Zc("mat-ripple-global-options"),Sz=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 b0b(this,b,a,c)};f=Sz.prototype;f.ngOnInit=function(){this._isInitialized=!0;this._setupTriggerEventsIfEnabled()};f.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()};f.fadeOutAllNonPersistent=function(){this._rippleRenderer.fadeOutAllNonPersistent()};
f._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&e0b(this._rippleRenderer,this.trigger)};f.launch=function(a,b,c){return"number"===typeof a?c0b(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):c0b(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
wh.Object.defineProperties(Sz.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,"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||!!this._globalOptions.disabled}}});Sz.\u0275fac=function(a){return new (a||Sz)(C(Bd),C(ef),C(Lx),C(f0b,8),C(Ov,8))};
Sz.\u0275dir=Qc({type:Sz,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mat-ripple-unbounded",b.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]});var Tz=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};Tz.\u0275fac=function(a){return new (a||Tz)(C(Ov,8))};
Tz.\u0275cmp=Mc({type:Tz,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&yf("mat-pseudo-checkbox-indeterminate","indeterminate"===b.state)("mat-pseudo-checkbox-checked","checked"===b.state)("mat-pseudo-checkbox-disabled",b.disabled)("mat-pseudo-checkbox-minimal","minimal"===b.appearance)("mat-pseudo-checkbox-full","full"===b.appearance)("_mat-animation-noopable","NoopAnimations"===b._animationMode)},inputs:{state:"state",disabled:"disabled",
appearance:"appearance"},decls:0,vars:0,template:function(){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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 g0b=["text"],h0b=0,i0b=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},Uz=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-"+h0b++;this.onSelectionChange=new pw;this._stateChanges=new E.Subject};f=Uz.prototype;f.select=function(a){a=void 0===a?!0:a;this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};
f.deselect=function(a){a=void 0===a?!0:a;this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};f.focus=function(a,b){var c=this._getHostElement();"function"===typeof c.focus&&c.focus(b)};f.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())};f.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())};f.getLabel=function(){return this.viewValue};
f._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||Kg(a)||(this._selectViaInteraction(),a.preventDefault())};f._selectViaInteraction=function(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))};f._getTabIndex=function(){return this.disabled?"-1":"0"};f._getHostElement=function(){return this._element.nativeElement};
f.ngAfterViewChecked=function(){if(this._selected){var a=this.viewValue;a!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=a)}};f.ngOnDestroy=function(){this._stateChanges.complete()};f._emitSelectionChangeEvent=function(a){this.onSelectionChange.emit(new i0b(this,void 0===a?!1:a))};
wh.Object.defineProperties(Uz.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=Gg(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((null==(a=this._text)?void 0:a.nativeElement.textContent)||"").trim()}}});Uz.\u0275fac=function(){Fd()};
Uz.\u0275dir=Qc({type:Uz,viewQuery:function(a,b){a&1&&cg(g0b,7);if(a&2){var c;bg(c=eg())&&(b._text=c.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});var Vz=function(){};Vz.\u0275fac=function(a){return new (a||Vz)};Vz.\u0275mod=Oc({type:Vz});Vz.\u0275inj=xc({imports:[Lz,Lz]});var Wz=function(){};Wz.\u0275fac=function(a){return new (a||Wz)};Wz.\u0275mod=Oc({type:Wz});Wz.\u0275inj=xc({imports:[Lz]});var j0b={capture:!0},k0b=["focus","click","mouseenter","touchstart"],Xz=function(){var a=this;this._document=Hc(uh,{optional:!0});this._animationMode=Hc(Ov,{optional:!0});this._globalRippleOptions=Hc(f0b,{optional:!0});this._platform=Hc(Lx);this._ngZone=Hc(ef);this._onInteraction=function(b){b.target instanceof HTMLElement&&(b=b.target.closest("[mat-ripple-loader-uninitialized]"))&&l0b(a,b)};this._ngZone.runOutsideAngular(function(){for(var b=k(k0b),c=b.next();!c.done;c=b.next()){c=c.value;var d=
void 0;null==(d=a._document)||d.addEventListener(c,a._onInteraction,j0b)}})};Xz.prototype.ngOnDestroy=function(){for(var a=k(k0b),b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;null==(c=this._document)||c.removeEventListener(b,this._onInteraction,j0b)}};
var m0b=function(a,b){a.setAttribute("mat-ripple-loader-uninitialized","");!b.className&&a.hasAttribute("mat-ripple-loader-class-name")||a.setAttribute("mat-ripple-loader-class-name",b.className||"");b.centered&&a.setAttribute("mat-ripple-loader-centered","");b.disabled&&a.setAttribute("mat-ripple-loader-disabled","")},n0b=function(a,b){return b.matRipple?b.matRipple:l0b(a,b)};
Xz.prototype.setDisabled=function(a,b){var c=a.matRipple;c?c.disabled=b:b?a.setAttribute("mat-ripple-loader-disabled",""):a.removeAttribute("mat-ripple-loader-disabled")};
var l0b=function(a,b){if(a._document){var c;null==(c=b.querySelector(".mat-ripple"))||c.remove();c=a._document.createElement("span");c.classList.add("mat-ripple",b.getAttribute("mat-ripple-loader-class-name"));b.append(c);a=new Sz(new Bd(c),a._ngZone,a._platform,a._globalRippleOptions?a._globalRippleOptions:void 0,a._animationMode?a._animationMode:void 0);a._isInitialized=!0;a.trigger=b;a.centered=b.hasAttribute("mat-ripple-loader-centered");a.disabled=b.hasAttribute("mat-ripple-loader-disabled");
o0b(b,a);return a}},o0b=function(a,b){a.removeAttribute("mat-ripple-loader-uninitialized");a.matRipple=b};Xz.\u0275fac=function(a){return new (a||Xz)};Xz.\u0275prov=wc({token:Xz,factory:Xz.\u0275fac,providedIn:"root"});var p0b=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini",
"mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],q0b=xh(zh(yh(function(a){this._elementRef=a}))),Yz=function(a,b,c,d){var e=q0b.call(this,a)||this;e._platform=b;e._ngZone=c;e._animationMode=d;e._focusMonitor=Hc(Sx);e._rippleLoader=Hc(Xz);e._isFab=!1;e._disableRipple=!1;e._disabled=!1;null==e._rippleLoader||m0b(e._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});var g=a.nativeElement.classList;a=k(p0b);for(var h=a.next();!h.done;h=
a.next())h=h.value,e._hasHostAttributes(h.selector)&&h.mdcClasses.forEach(function(m){g.add(m)});return e};U(Yz,q0b);f=Yz.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){(a=void 0===a?"program":a)?Tx(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};f._hasHostAttributes=function(){var a=this;return Wc.apply(0,arguments).some(function(b){return a._elementRef.nativeElement.hasAttribute(b)})};
f._updateRippleDisabled=function(){var a;null==(a=this._rippleLoader)||a.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)};
wh.Object.defineProperties(Yz.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this._rippleLoader)?void 0:n0b(a,this._elementRef.nativeElement)},set:function(a){null==this._rippleLoader||o0b(this._elementRef.nativeElement,a)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Gg(a);this._updateRippleDisabled()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){this._disabled=Gg(a);this._updateRippleDisabled()}}});Yz.\u0275fac=function(){Fd()};Yz.\u0275dir=Qc({type:Yz,features:[lf]});var Zz=function(a,b,c,d){var e=Yz.call(this,a,b,c,d)||this;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};U(Zz,Yz);Zz.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};
Zz.prototype.ngOnDestroy=function(){Yz.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};Zz.\u0275fac=function(){Fd()};Zz.\u0275dir=Qc({type:Zz,features:[lf]});var r0b=["mat-button",""],s0b=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],t0b=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
u0b=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(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    );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{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.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, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.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{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.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'},
v0b=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"},$z=function(a,b,c,d){return Yz.call(this,a,b,c,d)||this};U($z,Yz);$z.\u0275dir=Yz.\u0275dir;
$z.\u0275fac=function(a){return new (a||$z)(C(Bd),C(Lx),C(ef),C(Ov,8))};
$z.\u0275cmp=Mc({type:$z,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(a,b){a&2&&(pf("disabled",b.disabled||null),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[lf],attrs:r0b,ngContentSelectors:t0b,
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&&(Gf(s0b),J(0,"span",0),Hf(1),H(2,"span",1),Hf(3,1),I(),Hf(4,2),J(5,"span",2)(6,"span",3));a&2&&yf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[u0b(),v0b()],encapsulation:2,changeDetection:0});var aA=function(a,b,c,d){return Zz.call(this,a,b,c,d)||this};U(aA,Zz);aA.\u0275dir=Zz.\u0275dir;
aA.\u0275fac=function(a){return new (a||aA)(C(Bd),C(Lx),C(ef),C(Ov,8))};
aA.\u0275cmp=Mc({type:aA,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(a,b){a&2&&(pf("disabled",b.disabled||null)("tabindex",b.disabled?-1:b.tabIndex)("aria-disabled",b.disabled.toString()),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},
exportAs:["matButton","matAnchor"],features:[lf],attrs:r0b,ngContentSelectors:t0b,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&&(Gf(s0b),J(0,"span",0),Hf(1),H(2,"span",1),Hf(3,1),I(),Hf(4,2),J(5,"span",2)(6,"span",3));a&2&&yf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[u0b(),v0b()],encapsulation:2,changeDetection:0});var bA=function(a,b,c,d){a=Yz.call(this,a,b,c,d)||this;m0b(a._elementRef.nativeElement,{centered:!0});return a};U(bA,Yz);bA.\u0275dir=Yz.\u0275dir;bA.\u0275fac=function(a){return new (a||bA)(C(Bd),C(Lx),C(ef),C(Ov,8))};
bA.\u0275cmp=Mc({type:bA,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(a,b){a&2&&(pf("disabled",b.disabled||null),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[lf],attrs:["mat-icon-button",""],ngContentSelectors:["*"],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&&(Gf(),J(0,"span",0),Hf(1),J(2,"span",1)(3,"span",2))},styles:['.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{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.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{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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',
".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"],encapsulation:2,changeDetection:0});var cA=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new E.Subject;this.selection=a};cA.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};cA.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};cA.prototype._isValidDateInstance=function(a){return P_b(a)&&this._adapter.isValid(a)};cA.\u0275fac=function(){Fd()};cA.\u0275prov=wc({token:cA,factory:cA.\u0275fac});
var dA=function(a){cA.call(this,null,a)};U(dA,cA);dA.prototype.add=function(a){cA.prototype.updateSelection.call(this,a,this)};dA.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};dA.prototype.isComplete=function(){return null!=this.selection};dA.prototype.clone=function(){var a=new dA(this._adapter);a.updateSelection(this.selection,this);return a};dA.\u0275fac=function(a){return new (a||dA)(u(Mz))};dA.\u0275prov=wc({token:dA,factory:dA.\u0275fac});
var w0b={provide:cA,deps:[[new Jv,new Kv,cA],Mz],useFactory:function(a,b){return a||new dA(b)}};new Jv;new Kv;var eA=function(){this.changes=new E.Subject};eA.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};eA.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};eA.\u0275fac=function(a){return new (a||eA)};eA.\u0275prov=wc({token:eA,factory:eA.\u0275fac,providedIn:"root"});var x0b=function(a,b,c,d,e,g,h){e=void 0===e?{}:e;this.value=a;this.displayValue=b;this.ariaLabel=c;this.enabled=d;this.cssClasses=e;this.compareValue=void 0===g?a:g;this.rawValue=h},y0b=1,z0b=Bg({passive:!1,capture:!0}),fA=Bg({passive:!0,capture:!0}),A0b=Bg({passive:!0}),gA=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=Hc(Lx);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=
null;this.selectedValueChange=new pw;this.previewChange=new pw;this.activeDateChange=new pw;this.dragStarted=new pw;this.dragEnded=new pw;this._didDragSinceMouseDown=!1;this._enterHandler=function(d){if(c._skipNextFocus&&"focus"===d.type)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=Yoa(d),g=e?c._getCellFromElement(e):
null;e!==d.target&&(c._didDragSinceMouseDown=!0);Uoa(d.target)&&d.preventDefault();c._ngZone.run(function(){return c.previewChange.emit({value:(null==g?0:g.enabled)?g:null,event:d})})}};this._leaveHandler=function(d){null!==c.previewEnd&&c.isRange&&("blur"!==d.type&&(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.rawValue)&&c._ngZone.run(function(){c.dragStarted.emit({value:e.rawValue,event:d})})}};this._mouseupHandler=function(d){if(c.isRange){var e=Uoa(d.target);e?e.closest(".mat-calendar-body")===c._elementRef.nativeElement&&c._ngZone.run(function(){var g=c._getCellFromElement(e),h;c.dragEnded.emit({value:null!=(h=null==g?void 0:g.rawValue)?h:null,event:d})}):c._ngZone.run(function(){c.dragEnded.emit({value:null,
event:d})})}};this._touchendHandler=function(d){(d=Yoa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+y0b++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,z0b);d.addEventListener("mouseenter",c._enterHandler,fA);d.addEventListener("focus",c._enterHandler,fA);d.addEventListener("mouseleave",c._leaveHandler,fA);d.addEventListener("blur",
c._leaveHandler,fA);d.addEventListener("mousedown",c._mousedownHandler,A0b);d.addEventListener("touchstart",c._mousedownHandler,A0b);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};f=gA.prototype;f.ngAfterViewChecked=function(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)};
f._cellClicked=function(a,b){this._didDragSinceMouseDown||a.enabled&&this.selectedValueChange.emit({value:a.value,event:b})};f._emitActiveDateChange=function(a,b){a.enabled&&this.activeDateChange.emit({value:a.value,event:b})};f._isSelected=function(a){return this.startValue===a||this.endValue===a};
f.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+"%"};
f.ngOnDestroy=function(){var a=this._elementRef.nativeElement;a.removeEventListener("touchmove",this._touchmoveHandler,z0b);a.removeEventListener("mouseenter",this._enterHandler,fA);a.removeEventListener("focus",this._enterHandler,fA);a.removeEventListener("mouseleave",this._leaveHandler,fA);a.removeEventListener("blur",this._leaveHandler,fA);a.removeEventListener("mousedown",this._mousedownHandler,A0b);a.removeEventListener("touchstart",this._mousedownHandler,A0b);this._platform.isBrowser&&(window.removeEventListener("mouseup",
this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))};f._isActiveCell=function(a,b){b=a*this.numCols+b;a&&(b-=this._firstRowOffset);return b==this.activeCell};f._focusActiveCell=function(a){var b=this;a=void 0===a?!0:a;this._ngZone.runOutsideAngular(function(){b._ngZone.onStable.pipe(Oe()).subscribe(function(){setTimeout(function(){var c=b._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(a||(b._skipNextFocus=!0),c.focus())})})})};
f._scheduleFocusActiveCellAfterViewChecked=function(){this._focusActiveCellAfterViewChecked=!0};f._isRangeStart=function(a){return Voa(a,this.startValue,this.endValue)};f._isRangeEnd=function(a){return Woa(a,this.startValue,this.endValue)};f._isInRange=function(a){return Xoa(a,this.startValue,this.endValue,this.isRange)};f._isComparisonStart=function(a){return Voa(a,this.comparisonStart,this.comparisonEnd)};
f._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)};f._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)};
f._isComparisonEnd=function(a){return Woa(a,this.comparisonStart,this.comparisonEnd)};f._isInComparisonRange=function(a){return Xoa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};f._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};f._isPreviewStart=function(a){return Voa(a,this.previewStart,this.previewEnd)};f._isPreviewEnd=function(a){return Woa(a,this.previewStart,this.previewEnd)};
f._isInPreview=function(a){return Xoa(a,this.previewStart,this.previewEnd,this.isRange)};f._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};f._getCellFromElement=function(a){var b=Uoa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
gA.\u0275fac=function(a){return new (a||gA)(C(Bd),C(ef))};
gA.\u0275cmp=Mc({type:gA,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",
endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[ed],attrs:["mat-calendar-body",""],decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",
3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,b){a&1&&(P(0,Poa,3,6,"tr",0),P(1,Soa,3,2,"tr",1),H(2,"label",
2),R(3),I(),H(4,"label",2),R(5),I());a&2&&(F("ngIf",b._firstRowOffset<b.labelMinRequiredCells),B(1),F("ngForOf",b.rows),B(1),F("id",b._startDateLabelId),B(1),Mf(" ",b.startDateAccessibleName,"\n"),B(1),F("id",b._endDateLabelId),B(1),Mf(" ",b.endDateAccessibleName,"\n"))},dependencies:[Mw,Nw,Ow],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:left;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}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],
encapsulation:2,changeDetection:0});var B0b=new Zc("MAT_DATE_RANGE_SELECTION_STRATEGY");new Jv;new Kv;var hA=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=E.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new pw;this._userSelection=new pw;this.dragStarted=new pw;this.dragEnded=new pw;this.activeDateChange=new pw;this._activeDate=new Hl};f=hA.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe($e(null)).subscribe(function(){return a._init()})};
f.ngOnChanges=function(a){var b=a.comparisonStart||a.comparisonEnd;b&&!b.firstChange&&this._setRanges(this.selected);a.activeDrag&&!this.activeDrag&&this._clearPreview()};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};f._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()};
f._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a.value);Oz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this._activeDate)};
f._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=iA(this._activeDate,c?1:-1);break;case 39:this.activeDate=iA(this._activeDate,c?-1:1);break;case 38:this.activeDate=iA(this._activeDate,-7);break;case 40:this.activeDate=iA(this._activeDate,7);break;case 36:this.activeDate=iA(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=iA(this._activeDate,C0b(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?jA(this._activeDate,-1):kA(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?jA(this._activeDate,1):kA(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||Kg(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}Oz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};f._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:a}),this._selectionKeyPressed=!1};
f._init=function(){this._setRanges(this.selected);this._todayDate=this._getCellCompareValue(new Hl);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();var a=lA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(a)-this._dateAdapter.getFirstDayOfWeek())%
7;this._initWeekdays();this._createWeekCells();this._changeDetectorRef.markForCheck()};f._focusActiveCell=function(a){this._matCalendarBody._focusActiveCell(a)};f._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
f._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=null==(e=(d=this._rangeStrategy).createDrag)?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()}};
f._dragEnded=function(a){if(this.activeDrag)if(a.value){var b,c,d=null==(b=this._rangeStrategy)?void 0:null==(c=b.createDrag)?void 0:c.call(b,this.activeDrag.value,this.selected,a.value,a.event);this.dragEnded.emit({value:null!=d?d:null,event:a.event})}else this.dragEnded.emit({value:null,event:a.event})};f._getDateFromDayOfMonth=function(a){return lA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
f._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=D0b(this._dateAdapter,"narrow"),c=D0b(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e]}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
f._createWeekCells=function(){var a=C0b(this.activeDate),b=E0b;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=lA(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),g=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),m=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new x0b(c+1,b[c],h,g,m,this._getCellCompareValue(e),
e))}};f._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=Oz(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=Oz(this._dateAdapter,a,this.maxDate))&&(!this.dateFilter||this.dateFilter(a))};f._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};f._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
f._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};f._isRtl=function(){return this._dir&&"rtl"===this._dir.value};f._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)};
f._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};f._clearPreview=function(){this._previewStart=this._previewEnd=null};
wh.Object.defineProperties(hA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))||new Hl;this._activeDate=Q_b(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=Nz(this._dateAdapter,this._dateAdapter.deserialize(a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});hA.\u0275fac=function(a){return new (a||hA)(C(Hw),C(Pz,8),C(Mz,8),C(lz,8),C(B0b,8))};
hA.\u0275cmp=Mc({type:hA,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&cg(gA,5);if(a&2){var c;bg(c=eg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",
_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[ed],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd",
"isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(a,b){a&1&&(H(0,"table",0)(1,"thead",1)(2,"tr"),P(3,Zoa,5,2,"th",2),I(),H(4,"tr"),J(5,"th",3),I()(),H(6,"tbody",4),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)}),I()());a&2&&(B(3),F("ngForOf",b._weekdays),B(3),F("label",b._monthLabel)("rows",b._weeks)("todayValue",b._todayDate)("startValue",b._rangeStart)("endValue",b._rangeEnd)("comparisonStart",b._comparisonRangeStart)("comparisonEnd",b._comparisonRangeEnd)("previewStart",
b._previewStart)("previewEnd",b._previewEnd)("isRange",b._isRange)("labelMinRequiredCells",3)("activeCell",b._dateAdapter.getDate(b.activeDate)-1)("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName))},dependencies:[Nw,gA],encapsulation:2,changeDetection:0});var mA=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=E.Subscription.EMPTY;this.selectedChange=new pw;this.yearSelected=new pw;this.activeDateChange=new pw;this._activeDate=new Hl};f=mA.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe($e(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new Hl);var b=this._dateAdapter.getYear(this._activeDate)-Ch(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var c=0,d=[];24>c;c++)d.push(b+c),4==d.length&&(this._years.push(d.map(function(e){return a._createCellForYear(e)})),d=[]);this._changeDetectorRef.markForCheck()};f._yearSelected=function(a){var b=a.value;a=lA(b,0,1);b=this._getDateFromYear(b);this.yearSelected.emit(a);this.selectedChange.emit(b)};
f._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromYear(a.value);Oz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
f._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=jA(this._activeDate,c?1:-1);break;case 39:this.activeDate=jA(this._activeDate,c?-1:1);break;case 38:this.activeDate=jA(this._activeDate,-4);break;case 40:this.activeDate=jA(this._activeDate,4);break;case 36:this.activeDate=jA(this._activeDate,-Ch(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=jA(this._activeDate,24-Ch(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=jA(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=jA(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Oz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate);this._focusActiveCellAfterViewChecked();a.preventDefault()};
f._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:a}),this._selectionKeyPressed=!1};f._getActiveCell=function(){return Ch(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)};f._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};f._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
f._getDateFromYear=function(a){var b=this._dateAdapter.getMonth(this.activeDate);var c=lA(a,b,1);c=C0b(c);return lA(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};f._createCellForYear=function(a){var b=lA(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new x0b(a,c,c,this._shouldEnableYear(a),b)};
f._shouldEnableYear=function(a){if(void 0===a||null===a||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=lA(a,0,1);this._dateAdapter.getYear(b)==a;b=iA(b,1))if(this.dateFilter(b))return!0;return!1};f._isRtl=function(){return this._dir&&"rtl"===this._dir.value};f._setSelectedYear=function(a){this._selectedYear=null;a&&(this._selectedYear=this._dateAdapter.getYear(a))};
wh.Object.defineProperties(mA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))||new Hl;this._activeDate=Q_b(this._dateAdapter,a,this.minDate,this.maxDate);apa(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=Nz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});mA.\u0275fac=function(a){return new (a||mA)(C(Hw),C(Mz,8),C(lz,8))};
mA.\u0275cmp=Mc({type:mA,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&cg(gA,5);if(a&2){var c;bg(c=eg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden",
"true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(H(0,"table",0)(1,"thead",1)(2,"tr"),J(3,"th",2),I()(),H(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)}),I()());a&2&&(B(4),F("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[gA],encapsulation:2,changeDetection:0});var nA=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=E.Subscription.EMPTY;this.selectedChange=new pw;this.monthSelected=new pw;this.activeDateChange=new pw;this._activeDate=new Hl};f=nA.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe($e(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._monthSelected=function(a){a=a.value;var b=lA(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(b);a=this._getDateFromMonth(a);this.selectedChange.emit(a)};f._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromMonth(a.value);Oz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
f._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=kA(this._activeDate,c?1:-1);break;case 39:this.activeDate=kA(this._activeDate,c?-1:1);break;case 38:this.activeDate=kA(this._activeDate,-4);break;case 40:this.activeDate=kA(this._activeDate,4);break;case 36:this.activeDate=kA(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=kA(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=jA(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=jA(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Oz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};
f._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:a}),this._selectionKeyPressed=!1};
f._init=function(){var a=this;this._setSelectedMonth(this.selected);this._todayMonth=this._getMonthInCurrentYear(new Hl);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()};f._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};f._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
f._getMonthInCurrentYear=function(a){return a&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(a):null};f._getDateFromMonth=function(a){var b=lA(this._dateAdapter.getYear(this.activeDate),a,1);b=C0b(b);return lA(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
f._createCellForMonth=function(a,b){var c=lA(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 x0b(a,b.toLocaleUpperCase(),d,this._shouldEnableMonth(a),c)};
f._shouldEnableMonth=function(a){var b=this._dateAdapter.getYear(this.activeDate);if(void 0===a||null===a||this._isYearAndMonthAfterMaxDate(b,a)||this._isYearAndMonthBeforeMinDate(b,a))return!1;if(!this.dateFilter)return!0;for(b=lA(b,a,1);this._dateAdapter.getMonth(b)==a;b=iA(b,1))if(this.dateFilter(b))return!0;return!1};f._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};
f._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};f._isRtl=function(){return this._dir&&"rtl"===this._dir.value};f._setSelectedMonth=function(a){this._selectedMonth=this._getMonthInCurrentYear(a)};
wh.Object.defineProperties(nA.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))||new Hl;this._activeDate=Q_b(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=Nz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});nA.\u0275fac=function(a){return new (a||nA)(C(Hw),C(Pz,8),C(Mz,8),C(lz,8))};
nA.\u0275cmp=Mc({type:nA,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&cg(gA,5);if(a&2){var c;bg(c=eg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",
1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(H(0,"table",0)(1,"thead",1)(2,"tr"),J(3,"th",2),I()(),H(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)}),I()());a&2&&(B(4),F("label",b._yearLabel)("rows",b._months)("todayValue",b._todayMonth)("startValue",b._selectedMonth)("endValue",b._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._dateAdapter.getMonth(b.activeDate)))},dependencies:[gA],encapsulation:2,changeDetection:0});var F0b=1,oA=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+F0b++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
oA.prototype._isSameView=function(a,b){return"month"==this.calendar.currentView?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b)&&this._dateAdapter.getMonth(a)==this._dateAdapter.getMonth(b):"year"==this.calendar.currentView?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b):apa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
oA.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-Ch(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+lA(a,0,1).getFullYear();b=""+lA(b,0,1).getFullYear();return[a,b]};
wh.Object.defineProperties(oA.prototype,{periodButtonText:{configurable:!0,enumerable:!0,get:function(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRange.apply(this._intl,ad(this._formatMinAndMaxYearLabels()))}},periodButtonDescription:{configurable:!0,enumerable:!0,get:function(){return"month"==
this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRangeLabel.apply(this._intl,ad(this._formatMinAndMaxYearLabels()))}},periodButtonLabel:{configurable:!0,enumerable:!0,get:function(){return"month"==this.calendar.currentView?"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]}}});oA.\u0275fac=function(a){return new (a||oA)(C(eA),C(Cc(function(){return pA})),C(Mz,8),C(Pz,8),C(Hw))};
oA.\u0275cmp=Mc({type:oA,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:["*"],decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",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,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(a,b){a&1&&(Gf(),H(0,"div",0)(1,"div",1)(2,"button",2),M("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),H(3,"span",3),R(4),I(),pd(),H(5,"svg",4),J(6,"polygon",5),I()(),qd(),J(7,"div",6),Hf(8),H(9,"button",7),M("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?
kA(b.calendar.activeDate,-1):jA(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),I(),H(10,"button",8),M("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?kA(b.calendar.activeDate,1):jA(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),I()()(),H(11,"label",9),R(12),I());a&2&&(B(2),pf("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),B(2),Nf(b.periodButtonText),B(1),yf("mat-calendar-invert","month"!==b.calendar.currentView),
B(4),F("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),pf("aria-label",b.prevButtonLabel),B(1),F("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),pf("aria-label",b.nextButtonLabel),B(1),F("id",b._periodButtonLabelId),B(1),Nf(b.periodButtonDescription))},dependencies:[$z,bA],encapsulation:2,changeDetection:0});
var pA=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 pw;this.yearSelected=new pw;this.monthSelected=new pw;this.viewChanged=new pw(!0);this._userSelection=new pw;this._userDragDrop=new pw;this._activeDrag=null;this.stateChanges=new E.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};f=pA.prototype;
f.ngAfterContentInit=function(){this._calendarHeaderPortal=new Wx(this.headerComponent||oA);this.activeDate=this.startAt||new Hl;this._currentView=this.startView};f.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this._getCurrentViewComponent()._focusActiveCell(!1))};f.ngOnDestroy=function(){this._intlChanges.unsubscribe();this.stateChanges.complete()};
f.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()};
f._dateSelected=function(a){var b=a.value;b&&!this._dateAdapter.sameDate(b,this.selected)&&this.selectedChange.emit(b);this._userSelection.emit(a)};f._yearSelectedInMultiYearView=function(a){this.yearSelected.emit(a)};f._monthSelectedInYearView=function(a){this.monthSelected.emit(a)};f._goToDateInView=function(a,b){this.activeDate=a;this.currentView=b};f._dragStarted=function(a){this._activeDrag=a};f._dragEnded=function(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)};
f._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView};
wh.Object.defineProperties(pA.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Nz(this._dateAdapter,this._dateAdapter.deserialize(a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=Q_b(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)}}});pA.\u0275fac=function(a){return new (a||pA)(C(eA),C(Mz,8),C(Pz,8),C(Hw))};
pA.\u0275cmp=Mc({type:pA,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(cg(hA,5),cg(nA,5),cg(mA,5));if(a&2){var c;bg(c=eg())&&(b.monthView=c.first);bg(c=eg())&&(b.yearView=c.first);bg(c=eg())&&(b.multiYearView=c.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",
startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Pf([w0b]),ed],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter",
"maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate",
"selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(a,b){a&1&&(P(0,bpa,
0,0,"ng-template",0),H(1,"div",1),P(2,cpa,1,11,"mat-month-view",2),P(3,dpa,1,6,"mat-year-view",3),P(4,epa,1,6,"mat-multi-year-view",4),I());a&2&&(F("cdkPortalOutlet",b._calendarHeaderPortal),B(1),F("ngSwitch",b.currentView),B(1),F("ngSwitchCase","month"),B(1),F("ngSwitchCase","year"),B(1),F("ngSwitchCase","multi-year"))},dependencies:[Pw,Qw,Ux,by,hA,nA,mA],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)}.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,.mat-datepicker-content .mat-calendar-next-button{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:""}.mat-calendar-hidden-label{display:none}\n'],
encapsulation:2,changeDetection:0});var G0b=["mat-button",""],H0b=["*"],I0b=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"},
J0b="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),K0b=xh(zh(yh(function(a){this._elementRef=a}))),qA=function(a,b,c){var d=K0b.call(this,a)||this;d._focusMonitor=b;d._animationMode=c;d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab");d.isIconButton=d._hasHostAttributes("mat-icon-button");for(var e=k(J0b),g=e.next();!g.done;g=e.next())g=g.value,d._hasHostAttributes(g)&&d._getHostElement().classList.add(g);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};U(qA,K0b);f=qA.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){a?Tx(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b)};f._getHostElement=function(){return this._elementRef.nativeElement};f._isRippleDisabled=function(){return this.disableRipple||this.disabled};
f._hasHostAttributes=function(){var a=this;return Wc.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};qA.\u0275fac=function(a){return new (a||qA)(C(Bd),C(Sx),C(Ov,8))};
qA.\u0275cmp=Mc({type:qA,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&&cg(Sz,5);if(a&2){var c;bg(c=eg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(a,b){a&2&&(pf("disabled",b.disabled||null),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[lf],attrs:G0b,ngContentSelectors:H0b,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&&(Gf(),H(0,"span",0),Hf(1),I(),J(2,"span",1)(3,"span",2));a&2&&(B(2),yf("mat-button-ripple-round",b.isRoundButton||b.isIconButton),F("matRippleDisabled",
b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Sz],styles:[I0b()],encapsulation:2,changeDetection:0});var rA=function(a,b,c,d){var e=qA.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};U(rA,qA);
rA.prototype.ngAfterViewInit=function(){var a=this;qA.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};rA.prototype.ngOnDestroy=function(){qA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
rA.\u0275fac=function(a){return new (a||rA)(C(Sx),C(Bd),C(Ov,8),C(ef,8))};
rA.\u0275cmp=Mc({type:rA,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:7,hostBindings:function(a,b){a&2&&(pf("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString()),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",b.disabled))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[lf],attrs:G0b,ngContentSelectors:H0b,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&&(Gf(),H(0,"span",0),Hf(1),I(),J(2,"span",1)(3,"span",2));a&2&&(B(2),yf("mat-button-ripple-round",b.isRoundButton||b.isIconButton),
F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Sz],styles:[I0b()],encapsulation:2,changeDetection:0});var sA=function(a,b,c,d){return Uz.call(this,a,b,c,d)||this};U(sA,Uz);sA.\u0275fac=function(a){return new (a||sA)(C(Bd),C(Hw),C(S_b,8),C(T_b,8))};
sA.\u0275cmp=Mc({type:sA,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(a,b){a&1&&M("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Ef("id",b.id),pf("tabindex",b._getTabIndex())("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),yf("mat-selected",b.selected)("mat-option-multiple",b.multiple)("mat-active",b.active)("mat-option-disabled",b.disabled))},
exportAs:["matOption"],features:[lf],ngContentSelectors:["*"],decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(a,b){a&1&&(Gf(),P(0,fpa,1,2,"mat-pseudo-checkbox",0),H(1,"span",1,2),Hf(3),I(),P(4,gpa,2,1,"span",
3),J(5,"div",4));a&2&&(F("ngIf",b.multiple),B(4),F("ngIf",b.group&&b.group._inert),B(1),F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[Sz,Ow,Tz],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-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-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n'],
encapsulation:2,changeDetection:0});var tA=function(){};tA.\u0275fac=function(a){return new (a||tA)};tA.\u0275mod=Oc({type:tA});tA.\u0275inj=xc({imports:[Vz,bx,Lz,Wz]});var L0b={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},M0b=Wg("dialogContainer",[$g("void, exit",Zg({opacity:0,transform:"scale(0.7)"})),$g("enter",Zg({transform:"none"})),ah("* => enter",una([Yg("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Zg({transform:"none",opacity:1})),ch("@*",bh())]),L0b),ah("* => void, * => exit",una([Yg("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Zg({opacity:0})),ch("@*",bh())]),L0b)]);var N0b=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.maxWidth="80vw";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnNavigation=this.delayFocusTrap=this.restoreFocus=!0};var O0b=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 uA=function(a,b,c,d,e,g,h,m){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=g;this._overlayRef=h;this._focusMonitor=m;this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=null;this._ariaLabelledBy=this._config.ariaLabelledBy||null;this._document=c};U(uA,Yx);f=uA.prototype;f._contentAttached=function(){this._initializeFocusTrap();this._handleBackdropClicks();this._captureInitialFocus()};
f._captureInitialFocus=function(){this._trapFocus()};f.ngOnDestroy=function(){this._restoreFocus()};f.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._contentAttached();return a};f.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._contentAttached();return a};f._recaptureFocus=function(){this._containsFocus()||this._trapFocus()};
f._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)};f._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
f._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":QXb(this._focusTrap).then(function(c){c||a._focusDialogContainer()});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}};
f._restoreFocus=function(){var a=this._config.restoreFocus,b=null;"string"===typeof a?b=this._document.querySelector(a):"boolean"===typeof a?b=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(b=a);if(this._config.restoreFocus&&b&&"function"===typeof b.focus){a=Dg();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(Tx(this._focusMonitor,b,this._closeInteractionType),this._closeInteractionType=null):b.focus()}this._focusTrap&&this._focusTrap.destroy()};
f._focusDialogContainer=function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()};f._containsFocus=function(){var a=this._elementRef.nativeElement,b=Dg();return a===b||a.contains(b)};f._initializeFocusTrap=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._document&&(this._elementFocusedBeforeDialogWasOpened=Dg())};
f._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};uA.\u0275fac=function(a){return new (a||uA)(C(Bd),C(Ox),C(uh,8),C(O0b),C(Mx),C(ef),C(Az),C(Sx))};
uA.\u0275cmp=Mc({type:uA,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&cg(by,7);if(a&2){var c;bg(c=eg())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&pf("id",b._config.id||null)("role",b._config.role)("aria-modal",b._config.ariaModal)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledBy)("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null)},features:[lf],decls:1,
vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&P(0,hpa,0,0,"ng-template",0)},dependencies:[by],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var P0b=new Zc("DialogScrollStrategy"),Q0b=new Zc("DialogData"),R0b=new Zc("DefaultDialogConfig"),S0b={provide:P0b,deps:[Hz],useFactory:function(a){return function(){return a.scrollStrategies.block()}}};var T0b=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new E.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){27!==d.keyCode||c.disableClose||Kg(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(){!1!==b.closeOnOverlayDetachments&&c.close()})};f=T0b.prototype;f.close=function(a,b){if(this.containerInstance){var c=this.closed;this.containerInstance._closeInteractionType=(null==b?void 0:b.focusOrigin)||"program";this._detachSubscription.unsubscribe();this.overlayRef.dispose();c.next(a);c.complete();this.componentInstance=this.containerInstance=null}};f.updatePosition=function(){this.overlayRef.updatePosition()};
f.updateSize=function(a,b){this.overlayRef.updateSize({width:void 0===a?"":a,height:void 0===b?"":b})};f.addPanelClass=function(a){this.overlayRef.addPanelClass(a)};f.removePanelClass=function(a){this.overlayRef.removePanelClass(a)};var U0b=0,vA=function(a,b,c,d,e,g){var h=this;this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new E.Subject;this._afterOpenedAtThisLevel=new E.Subject;this._ariaHiddenElements=new Map;(0,E.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe($e(void 0))});this._scrollStrategy=g};f=vA.prototype;
f.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new O0b,b);b.id=b.id||"cdk-dialog-"+U0b++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new T0b(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};f.closeAll=function(){ipa(this.openDialogs,function(a){return a.close()})};f.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};f.ngOnDestroy=function(){var a=this;ipa(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});ipa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
f._getOverlayConfig=function(a){var b=new zz({positionStrategy:a.positionStrategy||J_b(I_b(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};
f._attachContainer=function(a,b,c){var d,e=c.injector||(null==(d=c.viewContainerRef)?void 0:d.injector);b=[{provide:O0b,useValue:c},{provide:T0b,useValue:b},{provide:Az,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,ad(c.container.providers(c)))):d=uA;c=new Wx(d,c.viewContainerRef,hf({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
f._attachDialogContent=function(a,b,c,d){if(a instanceof Zf){var e=this._createInjector(d,b,c,void 0);b={$implicit:d.data,dialogRef:b};d.templateContext&&(b=Object.assign({},b,"function"===typeof d.templateContext?d.templateContext():d.templateContext));c.attachTemplatePortal(new Xx(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new Wx(a,d.viewContainerRef,e,d.componentFactoryResolver)),b.componentInstance=a.instance};
f._createInjector=function(a,b,c,d){var e,g=a.injector||(null==(e=a.viewContainerRef)?void 0:e.injector);e=[{provide:Q0b,useValue:a.data},{provide:T0b,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,ad(a.providers(b,a,c))):e.push.apply(e,ad(a.providers)));!a.direction||g&&g.get(lz,null,{optional:!0})||e.push({provide:lz,useValue:{value:a.direction,change:(0,E.of)()}});return hf({parent:g||d,providers:e})};
f._removeOpenDialog=function(a,b){a=this.openDialogs.indexOf(a);-1<a&&(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()))};
f._hideNonDialogContentFromAssistiveTechnology=function(){var a=p_b(this._overlayContainer);if(a.parentElement)for(var b=a.parentElement.children,c=b.length-1;-1<c;c--){var d=b[c];d===a||"SCRIPT"===d.nodeName||"STYLE"===d.nodeName||d.hasAttribute("aria-live")||(this._ariaHiddenElements.set(d,d.getAttribute("aria-hidden")),d.setAttribute("aria-hidden","true"))}};f._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
wh.Object.defineProperties(vA.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}}});vA.\u0275fac=function(a){return new (a||vA)(u(Hz),u(Lv),u(R0b,8),u(vA,12),u(qz),u(P0b))};vA.\u0275prov=wc({token:vA,factory:vA.\u0275fac});var wA=function(){};wA.\u0275fac=function(a){return new (a||wA)};wA.\u0275mod=Oc({type:wA});wA.\u0275inj=xc({providers:[vA,S0b],imports:[Kz,cy,Zy,cy]});var xA=function(a,b,c,d,e,g,h,m){uA.call(this,a,b,c,d,e,g,h,m);this._animationStateChanged=new pw};U(xA,uA);xA.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};xA.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};xA.\u0275fac=function(a){return new (a||xA)(C(Bd),C(Ox),C(uh,8),C(N0b),C(Mx),C(ef),C(Az),C(Sx))};
xA.\u0275cmp=Mc({type:xA,selectors:[["ng-component"]],features:[lf],decls:0,vars:0,template:function(){},encapsulation:2});var V0b=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new E.Subject;this._beforeClosed=new E.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;c._animationStateChanged.pipe(De(function(e){return"opened"===e.state}),Oe()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(De(function(e){return"closed"===e.state}),Oe()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);d._finishDialogClose()});
a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,E.merge)(this.backdropClick(),this.keydownEvents().pipe(De(function(e){return 27===e.keyCode&&!d.disableClose&&!Kg(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};
V0b.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(De(function(c){return"closing"===c.state}),Oe()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();z_b(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};V0b.prototype.afterOpened=function(){return this._afterOpened};var yA=function(a){return a._ref.closed};
f=V0b.prototype;f.backdropClick=function(){return this._ref.backdropClick};f.keydownEvents=function(){return this._ref.keydownEvents};f.updatePosition=function(a){var b=this._ref.config.positionStrategy;a&&(a.left||a.right)?a.left?b.left(a.left):b.right(a.right):I_b(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):J_b(b);this._ref.updatePosition()};f.updateSize=function(a,b){this._ref.updateSize(void 0===a?"":a,void 0===b?"":b)};f.addPanelClass=function(a){this._ref.addPanelClass(a)};
f.removePanelClass=function(a){this._ref.removePanelClass(a)};f.getState=function(){return this._state};f._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};new Zc("MatMdcDialogData");new Zc("mat-mdc-dialog-default-options");new Zc("mat-mdc-dialog-scroll-strategy");
var W0b=0,zA=function(a,b,c,d,e,g,h,m,r){var v=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=m;this._dialogDataToken=r;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new E.Subject;this._afterOpenedAtThisLevel=new E.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=N0b;(0,E.defer)(function(){return v.openDialogs.length?v._getAfterAllClosed():v._getAfterAllClosed().pipe($e(void 0))});this._scrollStrategy=
g;this._dialog=b.get(vA)};f=zA.prototype;f._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
f.open=function(a,b){var c=this,d;b=Object.assign({},this._defaultOptions||new N0b,b);b.id=b.id||"mat-dialog-"+W0b++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:J_b(I_b(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:O0b,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,g,h){d=new c._dialogRefConstructor(e,b,h);var m;d.updatePosition(null==(m=b)?void 0:m.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:g.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);yA(d).subscribe(function(){var e=c.openDialogs.indexOf(d);-1<e&&(c.openDialogs.splice(e,1),c.openDialogs.length||c._getAfterAllClosed().next())});return d};
f.closeAll=function(){this._closeDialogs(this.openDialogs)};f.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};f.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel);this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete()};f._closeDialogs=function(a){for(var b=a.length;b--;)a[b].close()};
wh.Object.defineProperties(zA.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}}});zA.\u0275fac=function(){Fd()};zA.\u0275prov=wc({token:zA,factory:zA.\u0275fac});var AA=function(){V0b.apply(this,arguments)};U(AA,V0b);var X0b=function(){N0b.apply(this,arguments);this.enterAnimationDuration=L0b.params.enterAnimationDuration;this.exitAnimationDuration=L0b.params.exitAnimationDuration};U(X0b,N0b);var BA=function(a,b,c,d,e,g,h,m,r){xA.call(this,a,b,c,d,e,g,h,r);this._changeDetectorRef=m;this._state="enter"};U(BA,xA);BA.prototype._onAnimationDone=function(a){var b=a.toState;a=a.totalTime;"enter"===b?this._openAnimationDone(a):"exit"===b&&this._animationStateChanged.next({state:"closed",totalTime:a})};
BA.prototype._onAnimationStart=function(a){var b=a.toState;a=a.totalTime;"enter"===b?this._animationStateChanged.next({state:"opening",totalTime:a}):("exit"===b||"void"===b)&&this._animationStateChanged.next({state:"closing",totalTime:a})};BA.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
BA.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};BA.\u0275fac=function(a){return new (a||BA)(C(Bd),C(Ox),C(uh,8),C(X0b),C(Mx),C(ef),C(Az),C(Hw),C(Sx))};
BA.\u0275cmp=Mc({type:BA,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(a,b){a&1&&rka("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(Ef("id",b._config.id),pf("aria-modal",b._config.ariaModal)("role",b._config.role)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledBy)("aria-label",b._config.ariaLabel)("aria-describedby",
b._config.ariaDescribedBy||null),Ff("@dialogContainer",b._getAnimationState()))},features:[lf],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&P(0,jpa,0,0,"ng-template",0)},dependencies:[by],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],
encapsulation:2,data:{animation:[M0b]}});var CA=new Zc("MatDialogData"),Y0b=new Zc("mat-dialog-default-options"),Z0b=new Zc("mat-dialog-scroll-strategy"),$0b={provide:Z0b,deps:[Hz],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},DA=function(a,b,c,d,e,g,h,m){zA.call(this,a,b,d,g,h,e,AA,BA,CA,m);this.dialogConfigClass=X0b};U(DA,zA);DA.\u0275fac=function(a){return new (a||DA)(u(Hz),u(Lv),u(jx,8),u(Y0b,8),u(Z0b),u(DA,12),u(qz),u(Ov,8))};DA.\u0275prov=wc({token:DA,factory:DA.\u0275fac});var a1b=0,EA=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};EA.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=kpa(this._elementRef,this._dialog.openDialogs))};EA.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};EA.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
EA.\u0275fac=function(a){return new (a||EA)(C(AA,8),C(Bd),C(DA))};EA.\u0275dir=Qc({type:EA,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(c){return b._onButtonClick(c)});a&2&&pf("aria-label",b.ariaLabel||null)("type",b.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ed]});
var FA=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+a1b++};FA.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=kpa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){var b=a._dialogRef._containerInstance;b&&!b._ariaLabelledBy&&(b._ariaLabelledBy=a.id)})};FA.\u0275fac=function(a){return new (a||FA)(C(AA,8),C(Bd),C(DA))};
FA.\u0275dir=Qc({type:FA,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&Ef("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});var GA=function(){};GA.\u0275fac=function(a){return new (a||GA)};GA.\u0275dir=Qc({type:GA,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var HA=function(){this.align="start"};
HA.\u0275fac=function(a){return new (a||HA)};HA.\u0275dir=Qc({type:HA,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&yf("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var IA=function(){};IA.\u0275fac=function(a){return new (a||IA)};IA.\u0275mod=Oc({type:IA});IA.\u0275inj=xc({providers:[DA,$0b],imports:[wA,Kz,cy,Lz,Lz]});var b1b=Bg({passive:!0}),JA=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
JA.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return E.EMPTY;var c=Ig(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new E.Subject,e=function(g){"cdk-text-field-autofill-start"!==g.animationName||c.classList.contains("cdk-text-field-autofilled")?"cdk-text-field-autofill-end"===g.animationName&&c.classList.contains("cdk-text-field-autofilled")&&(c.classList.remove("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:g.target,isAutofilled:!1})})):
(c.classList.add("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:g.target,isAutofilled:!0})}))};this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",e,b1b);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,b1b)}});return d};
JA.prototype.stopMonitoring=function(a){a=Ig(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))};JA.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};JA.\u0275fac=function(a){return new (a||JA)(u(Lx),u(ef))};JA.\u0275prov=wc({token:JA,factory:JA.\u0275fac,providedIn:"root"});var KA=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new E.Subject;this._enabled=!0;this._previousMinRows=-1;this._isViewInited=!1;this._handleFocusEvent=function(g){e._hasFocus="focus"===g.type};this._document=d;this._textareaElement=this._elementRef.nativeElement};f=KA.prototype;f._setMinHeight=function(){var a=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.minHeight=a)};
f._setMaxHeight=function(){var a=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.maxHeight=a)};
f.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,c1b(this),this._ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a._getWindow(),"resize").pipe(Ge(16),bf(a._destroyed)).subscribe(function(){return c1b(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,c1b(this,!0))};
f.ngOnDestroy=function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent);this._textareaElement.removeEventListener("blur",this._handleFocusEvent);this._destroyed.next();this._destroyed.complete()};
f._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()}};
f._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};
f._cacheTextareaPlaceholderHeight=function(){if(this._isViewInited&&void 0==this._cachedPlaceholderHeight)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};f.ngDoCheck=function(){this._platform.isBrowser&&c1b(this)};
var c1b=function(a,b){b=void 0===b?!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(){"undefined"!==typeof requestAnimationFrame?requestAnimationFrame(function(){return a._scrollToCaretPosition(c)}):setTimeout(function(){return a._scrollToCaretPosition(c)})}),
a._previousValue=d,a._previousMinRows=a._minRows}};f=KA.prototype;f.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)};f._noopInputHandler=function(){};f._getDocument=function(){return this._document||document};f._getWindow=function(){return this._getDocument().defaultView||window};f._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
wh.Object.defineProperties(KA.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=Jg(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=Jg(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){a=Gg(a);this._enabled!==a&&((this._enabled=a)?c1b(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()}}});KA.\u0275fac=function(a){return new (a||KA)(C(Bd),C(Lx),C(ef),C(uh,8))};
KA.\u0275dir=Qc({type:KA,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&M("input",function(){})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});var LA=function(){};LA.\u0275fac=function(a){return new (a||LA)};LA.\u0275mod=Oc({type:LA});LA.\u0275inj=xc({});var d1b=new Zc("MatError");var e1b=new Zc("MatPrefix");var f1b=new Zc("MatSuffix");var g1b=Wg("transitionMessages",[$g("enter",Zg({opacity:1,transform:"translateY(0%)"})),ah("void => enter",[Zg({opacity:0,transform:"translateY(-5px)"}),Yg("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var MA=function(){};MA.\u0275fac=function(a){return new (a||MA)};MA.\u0275dir=Qc({type:MA});new Zc("FloatingLabelParent");var h1b=new Zc("MatFormField");new Zc("MAT_FORM_FIELD_DEFAULT_OPTIONS");var i1b=0,NA=function(a,b){this.id="mat-error-"+i1b++;a||b.nativeElement.setAttribute("aria-live","polite")};NA.\u0275fac=function(a){return new (a||NA)(ud("aria-live"),C(Bd))};NA.\u0275dir=Qc({type:NA,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(a,b){a&2&&pf("id",b.id)},inputs:{id:"id"},features:[Pf([{provide:d1b,useExisting:NA}])]});var j1b=0,k1b=new Zc("MatHint"),OA=function(){this.align="start";this.id="mat-hint-"+j1b++};OA.\u0275fac=function(a){return new (a||OA)};OA.\u0275dir=Qc({type:OA,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(a,b){a&2&&(pf("id",b.id)("align",null),yf("mat-form-field-hint-end","end"===b.align))},inputs:{align:"align",id:"id"},features:[Pf([{provide:k1b,useExisting:OA}])]});var PA=function(){};PA.\u0275fac=function(a){return new (a||PA)};PA.\u0275dir=Qc({type:PA,selectors:[["mat-label"]]});var l1b=function(){};l1b.\u0275fac=function(a){return new (a||l1b)};l1b.\u0275dir=Qc({type:l1b,selectors:[["mat-placeholder"]]});var m1b=["connectionContainer"],n1b=["inputContainer"],o1b=["label"],p1b=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],q1b=0,r1b=xh(function(a){this._elementRef=a},"primary"),s1b=new Zc("MAT_FORM_FIELD_DEFAULT_OPTIONS"),QA=function(a,b,c,d,e,g,h){a=r1b.call(this,a)||this;a._changeDetectorRef=b;a._dir=c;a._defaults=d;a._platform=e;a._ngZone=g;a._outlineGapCalculationNeededImmediately=
!1;a._outlineGapCalculationNeededOnStable=!1;a._destroyed=new E.Subject;a._hideRequiredMarker=!1;a._showAlwaysAnimate=!1;a._subscriptAnimationState="";a._hintLabel="";a._hintLabelId="mat-hint-"+q1b++;a._labelId="mat-form-field-label-"+q1b++;a.floatLabel=a._getDefaultFloatLabelState();a._animationsEnabled="NoopAnimations"!==h;a.appearance=(null==d?void 0:d.appearance)||"legacy";d&&(a._hideRequiredMarker=!!d.hideRequiredMarker,d.color&&(a.color=a.defaultColor=d.color));return a};U(QA,r1b);f=QA.prototype;
f._shouldAlwaysFloat=function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate};f._canLabelFloat=function(){return"never"!==this.floatLabel};f.getLabelId=function(){return this._hasFloatingLabel()?this._labelId:null};
f.ngAfterContentInit=function(){var a=this,b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+b.controlType);b.stateChanges.pipe($e(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(bf(this._destroyed)).subscribe(function(){return a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(bf(a._destroyed)).subscribe(function(){a._outlineGapCalculationNeededOnStable&&
Dh(a)})});(0,E.merge)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._outlineGapCalculationNeededOnStable=!0;a._changeDetectorRef.markForCheck()});this._hintChildren.changes.pipe($e(null)).subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.pipe($e(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._dir&&this._dir.change.pipe(bf(this._destroyed)).subscribe(function(){"function"===
typeof requestAnimationFrame?a._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return Dh(a)})}):Dh(a)})};f.ngAfterContentChecked=function(){this._outlineGapCalculationNeededImmediately&&Dh(this)};f.ngAfterViewInit=function(){this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};f.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};f._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
f._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)};f._hasLabel=function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)};f._shouldLabelFloat=function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())};f._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()};
f._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()};f._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"};
f._animateAndLockLabel=function(){var a=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,E.fromEvent)(this._label.nativeElement,"transitionend").pipe(Oe()).subscribe(function(){a._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())};f._validatePlaceholders=function(){};f._processHints=function(){this._syncDescribedByIds()};f._validateHints=function(){};
f._getDefaultFloatLabelState=function(){return this._defaults&&this._defaults.floatLabel||"auto"};
f._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&"string"===typeof this._control.userAriaDescribedBy&&a.push.apply(a,ad(this._control.userAriaDescribedBy.split(" ")));if("hint"===this._getDisplayedMessages()){var b=this._hintChildren?this._hintChildren.find(function(d){return"start"===d.align}):null,c=this._hintChildren?this._hintChildren.find(function(d){return"end"===d.align}):null;b?a.push(b.id):this._hintLabel&&a.push(this._hintLabelId);c&&a.push(c.id)}else this._errorChildren&&
a.push.apply(a,ad(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};f._validateControlChild=function(){};
var Dh=function(a){var b=a._label?a._label.nativeElement:null,c=a._connectionContainerRef.nativeElement;if("outline"===a.appearance&&a._platform.isBrowser)if(b&&b.children.length&&b.textContent.trim())if(a._isAttachedToDOM()){var d=0,e=0,g=c.querySelectorAll(".mat-form-field-outline-start"),h=c.querySelectorAll(".mat-form-field-outline-gap");if(a._label&&a._label.nativeElement.children.length){d=c.getBoundingClientRect();if(0===d.width&&0===d.height){a._outlineGapCalculationNeededOnStable=!0;a._outlineGapCalculationNeededImmediately=
!1;return}d=a._getStartEnd(d);e=b.children;c=a._getStartEnd(e[0].getBoundingClientRect());for(var m=b=0;m<e.length;m++)b+=e[m].offsetWidth;d=Math.abs(c-d)-5;e=0<b?.75*b+10:0}for(b=0;b<g.length;b++)g[b].style.width=d+"px";for(g=0;g<h.length;g++)h[g].style.width=e+"px";a._outlineGapCalculationNeededOnStable=a._outlineGapCalculationNeededImmediately=!1}else a._outlineGapCalculationNeededImmediately=!0;else for(a=c.querySelectorAll(".mat-form-field-outline-start, .mat-form-field-outline-gap"),h=0;h<a.length;h++)a[h].style.width=
"0"};QA.prototype._getStartEnd=function(a){return this._dir&&"rtl"===this._dir.value?a.right:a.left};QA.prototype._isAttachedToDOM=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
wh.Object.defineProperties(QA.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this._appearance},set:function(a){var b=this._appearance,c;this._appearance=a||(null==(c=this._defaults)?void 0:c.appearance)||"legacy";"outline"===this._appearance&&b!==a&&(this._outlineGapCalculationNeededOnStable=!0)}},hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=Gg(a)}},hintLabel:{configurable:!0,
enumerable:!0,get:function(){return this._hintLabel},set:function(a){this._hintLabel=a;this._processHints()}},floatLabel:{configurable:!0,enumerable:!0,get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(a){a!==this._floatLabel&&(this._floatLabel=a||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},_control:{configurable:!0,enumerable:!0,get:function(){return this._explicitFormFieldControl||this._controlNonStatic||
this._controlStatic},set:function(a){this._explicitFormFieldControl=a}}});QA.\u0275fac=function(a){return new (a||QA)(C(Bd),C(Hw),C(lz,8),C(s1b,8),C(Lx),C(ef),C(Ov,8))};
QA.\u0275cmp=Mc({type:QA,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(dg(c,MA,5),dg(c,MA,7),dg(c,PA,5),dg(c,PA,7),dg(c,l1b,5),dg(c,d1b,5),dg(c,k1b,5),dg(c,e1b,5),dg(c,f1b,5));if(a&2){var d;bg(d=eg())&&(b._controlNonStatic=d.first);bg(d=eg())&&(b._controlStatic=d.first);bg(d=eg())&&(b._labelChildNonStatic=d.first);bg(d=eg())&&(b._labelChildStatic=d.first);bg(d=eg())&&(b._placeholderChild=d.first);bg(d=eg())&&(b._errorChildren=d);bg(d=eg())&&(b._hintChildren=d);bg(d=eg())&&(b._prefixChildren=
d);bg(d=eg())&&(b._suffixChildren=d)}},viewQuery:function(a,b){a&1&&(cg(m1b,7),cg(n1b,5),cg(o1b,5));if(a&2){var c;bg(c=eg())&&(b._connectionContainerRef=c.first);bg(c=eg())&&(b._inputContainerRef=c.first);bg(c=eg())&&(b._label=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(a,b){a&2&&yf("mat-form-field-appearance-standard","standard"==b.appearance)("mat-form-field-appearance-fill","fill"==b.appearance)("mat-form-field-appearance-outline","outline"==
b.appearance)("mat-form-field-appearance-legacy","legacy"==b.appearance)("mat-form-field-invalid",b._control.errorState)("mat-form-field-can-float",b._canLabelFloat())("mat-form-field-should-float",b._shouldLabelFloat())("mat-form-field-has-label",b._hasFloatingLabel())("mat-form-field-hide-placeholder",b._hideControlPlaceholder())("mat-form-field-disabled",b._control.disabled)("mat-form-field-autofilled",b._control.autofilled)("mat-focused",b._control.focused)("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"))("_mat-animation-noopable",!b._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[Pf([{provide:h1b,useExisting:QA}]),lf],ngContentSelectors:"* [matPrefix] mat-placeholder mat-label [matSuffix] mat-error mat-hint:not([align='end']) mat-hint[align='end']".split(" "),
decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",
4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled",
"id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(a,b){a&1&&(Gf(p1b),H(0,"div",0)(1,"div",
1,2),M("click",function(){return b._control.onContainerClick()}),P(3,lpa,9,0,"ng-container",3),P(4,mpa,2,1,"div",4),H(5,"div",5,6),Hf(7),H(8,"span",7),P(9,qpa,5,16,"label",8),I()(),P(10,rpa,2,0,"div",9),I(),P(11,spa,2,4,"div",10),H(12,"div",11),P(13,tpa,2,1,"div",12),P(14,vpa,5,2,"div",13),I()());a&2&&(B(3),F("ngIf","outline"==b.appearance),B(1),F("ngIf",b._prefixChildren.length),B(5),F("ngIf",b._hasFloatingLabel()),B(1),F("ngIf",b._suffixChildren.length),B(1),F("ngIf","outline"!=b.appearance),B(1),
F("ngSwitch",b._getDisplayedMessages()),B(1),F("ngSwitchCase","error"),B(1),F("ngSwitchCase","hint"))},dependencies:[Ow,Pw,Qw,Wy],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}\n",
'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n',
'.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-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;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',
".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",
".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",
".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],
encapsulation:2,data:{animation:[g1b]},changeDetection:0});var RA=function(){};RA.\u0275fac=function(a){return new (a||RA)};RA.\u0275mod=Oc({type:RA});RA.\u0275inj=xc({imports:[bx,Lz,Xy,Lz]});var t1b=new Zc("MAT_INPUT_VALUE_ACCESSOR");var u1b="button checkbox file hidden image radio range reset submit".split(" "),v1b=0,w1b=Ioa(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new E.Subject}),SA=function(a,b,c,d,e,g,h,m,r,v){var y=w1b.call(this,g,d,e,c)||this;y._elementRef=a;y._platform=b;y._autofillMonitor=m;y._formField=v;y._uid="mat-input-"+v1b++;y.focused=!1;y.stateChanges=new E.Subject;y.controlType="mat-input";y.autofilled=!1;y._disabled=!1;y._type=
"text";y._readonly=!1;y._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(G){return Ama().has(G)});y._iOSKeyupListener=function(G){G=G.target;G.value||0!==G.selectionStart||0!==G.selectionEnd||(G.setSelectionRange(1,1),G.setSelectionRange(0,0))};c=y._elementRef.nativeElement;var A=c.nodeName.toLowerCase();y._inputValueAccessor=h||c;y._previousNativeValue=y.value;y.id=y.id;b.IOS&&r.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",y._iOSKeyupListener)});
y._isServer=!y._platform.isBrowser;y._isNativeSelect="select"===A;y._isTextarea="textarea"===A;y._isInFormField=!!v;y._isNativeSelect&&(y.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select");return y};U(SA,w1b);f=SA.prototype;f.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};f.ngOnChanges=function(){this.stateChanges.next()};
f.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)};f.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};
f.focus=function(a){this._elementRef.nativeElement.focus(a)};f._focusChanged=function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())};f._onInput=function(){};f._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
f._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")}};f._getPlaceholder=function(){return this.placeholder||null};f._validateType=function(){u1b.indexOf(this._type)};f._isNeverEmpty=function(){return-1<this._neverEmptyInputTypes.indexOf(this._type)};
f._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};f.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};f.onContainerClick=function(){this.focused||this.focus()};f._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||1<a.size)};
wh.Object.defineProperties(SA.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Gg(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 null!=(d=null!=(c=this._required)?c:null==(a=this.ngControl)?void 0:null==(b=a.control)?void 0:tXb(b))?d:!1},
set:function(a){this._required=Gg(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&Ama().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},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=Gg(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||!!(-1<a.selectedIndex&&b&&b.label)}return this.focused||!this.empty}}});
SA.\u0275fac=function(a){return new (a||SA)(C(Bd),C(Lx),C(mx,10),C(sx,8),C(Bx,8),C(Qz),C(t1b,10),C(JA),C(ef),C(h1b,8))};
SA.\u0275dir=Qc({type:SA,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(){return b._onInput()});a&2&&(Ef("id",b.id)("disabled",b.disabled)("required",b.required),pf("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),yf("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:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Pf([{provide:MA,useExisting:SA}]),lf,ed]});var TA=function(){var a=SA.apply(this,arguments)||this;a._legacyFormField=Hc(h1b,{optional:!0});return a};U(TA,SA);TA.prototype._getPlaceholder=function(){var a=this._legacyFormField,b;return!a||"legacy"!==a.appearance||(null==(b=a._hasLabel)?0:b.call(a))?this.placeholder:null};TA.\u0275fac=function(){var a;return function(b){return(a||(a=zd(TA)))(b||TA)}}();
TA.\u0275dir=Qc({type:TA,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:15,hostBindings:function(a,b){a&2&&(pf("data-placeholder",b.placeholder),yf("mat-input-server",b._isServer)("mat-mdc-input-element",!1)("mat-mdc-form-field-textarea-control",!1)("mat-mdc-form-field-input-control",!1)("mdc-text-field__input",
!1)("mat-mdc-native-select-inline",!1)("mat-native-select-inline",b._isInlineSelect()))},exportAs:["matInput"],features:[Pf([{provide:MA,useExisting:TA}]),lf]});var UA=function(){};UA.\u0275fac=function(a){return new (a||UA)};UA.\u0275mod=Oc({type:UA});UA.\u0275inj=xc({providers:[Qz],imports:[LA,RA,Lz,LA,RA]});var x1b={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},VA=x1b;VA=x1b;var y1b=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),z1b=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,A1b=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,B1b=function(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31},C1b=function(a,b,c,d,e){a=new Date(a,b,c);d=void 0!==d?d:3;e=e||0;b=((a.getDay()+6)%7-e+7)%7;return a.valueOf()+864E5*((d-e+7)%7-b)},WA=function(a,b,c,d,e,g){"string"===
typeof a?(this.years="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.years=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=g||0)};f=WA.prototype;
f.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(0>b&&0<c)return null;if(!a&&0==b&&0==c)return"PT0S";c=[];0>b&&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("")};f.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};f.clone=function(){return new WA(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
f.isZero=function(){return 0==this.years&&0==this.months&&0==this.days&&0==this.hours&&0==this.minutes&&0==this.seconds};f.times=function(a){return new WA(this.years*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};f.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 ci=function(a,b,c){"number"===typeof a?(this.date=D1b(a,b||0,c||1),E1b(this,c||1)):wa(a)?(this.date=D1b(a.getFullYear(),a.getMonth(),a.getDate()),E1b(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),E1b(this,a))},D1b=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};f=ci.prototype;f.firstDayOfWeek_=VA.FIRSTDAYOFWEEK;
f.firstWeekCutOffDay_=VA.FIRSTWEEKCUTOFFDAY;f.clone=function(){var a=new ci(this.date);a.firstDayOfWeek_=this.firstDayOfWeek_;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};f.getFullYear=function(){return this.date.getFullYear()};f.getYear=function(){return this.getFullYear()};f.getMonth=function(){return this.date.getMonth()};f.getDate=function(){return this.date.getDate()};f.getTime=function(){return this.date.getTime()};f.getDay=function(){return this.date.getDay()};
f.getUTCFullYear=function(){return this.date.getUTCFullYear()};f.getUTCMonth=function(){return this.date.getUTCMonth()};f.getUTCDate=function(){return this.date.getUTCDate()};f.getUTCDay=function(){return this.date.getDay()};f.getUTCHours=function(){return this.date.getUTCHours()};f.getUTCMinutes=function(){return this.date.getUTCMinutes()};f.getFirstDayOfWeek=function(){return this.firstDayOfWeek_};var C0b=function(a){return B1b(a.getFullYear(),a.getMonth())};f=ci.prototype;
f.getDayOfYear=function(){for(var a=this.getDate(),b=this.getFullYear(),c=this.getMonth()-1;0<=c;c--)a+=B1b(b,c);return a};f.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};f.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};f.setFullYear=function(a){this.date.setFullYear(a)};f.setYear=function(a){this.setFullYear(a)};f.setMonth=function(a){this.date.setMonth(a)};f.setDate=function(a){this.date.setDate(a)};f.setTime=function(a){this.date.setTime(a)};
f.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};f.setUTCMonth=function(a){this.date.setUTCMonth(a)};f.setUTCDate=function(a){this.date.setUTCDate(a)};
f.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+12*a.years,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(B1b(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getYear(),b=0<=c&&99>=c?-1900:0,c=new Date(c,this.getMonth(),this.getDate(),12),a=new Date(c.getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),E1b(this,a.getDate()))};
f.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+Hv(Math.abs(b),c?6:4),Hv(this.getMonth()+1,2),Hv(this.getDate(),2)].join(a?"-":"")};f.equals=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};f.toString=function(){return this.toIsoString()};var E1b=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};ci.prototype.valueOf=function(){return this.date.valueOf()};
var Hl=function(a,b,c,d,e,g,h){this.date="number"===typeof a?new Date(a,b||0,c||1,d||0,e||0,g||0,h||0):new Date(a&&a.getTime?a.getTime():Date.now())};nt(Hl,ci);f=Hl.prototype;f.getHours=function(){return this.date.getHours()};f.getMinutes=function(){return this.date.getMinutes()};f.getSeconds=function(){return this.date.getSeconds()};f.getMilliseconds=function(){return this.date.getMilliseconds()};f.getUTCDay=function(){return this.date.getUTCDay()};f.getUTCHours=function(){return this.date.getUTCHours()};
f.getUTCMinutes=function(){return this.date.getUTCMinutes()};f.getUTCSeconds=function(){return this.date.getUTCSeconds()};f.getUTCMilliseconds=function(){return this.date.getUTCMilliseconds()};f.setHours=function(a){this.date.setHours(a)};f.setMinutes=function(a){this.date.setMinutes(a)};f.setSeconds=function(a){this.date.setSeconds(a)};f.setMilliseconds=function(a){this.date.setMilliseconds(a)};f.setUTCHours=function(a){this.date.setUTCHours(a)};f.setUTCMinutes=function(a){this.date.setUTCMinutes(a)};
f.setUTCSeconds=function(a){this.date.setUTCSeconds(a)};f.setUTCMilliseconds=function(a){this.date.setUTCMilliseconds(a)};f.add=function(a){ci.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)};
f.toIsoString=function(a){var b=ci.prototype.toIsoString.call(this,a);return a?b+"T"+Hv(this.getHours(),2)+":"+Hv(this.getMinutes(),2)+":"+Hv(this.getSeconds(),2):b+"T"+Hv(this.getHours(),2)+Hv(this.getMinutes(),2)+Hv(this.getSeconds(),2)};f.equals=function(a){return this.getTime()==a.getTime()};f.toString=function(){return this.toIsoString()};f.clone=function(){var a=new Hl(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var F1b=function(){},Hk=function(a){if("number"==typeof a){var b=new F1b;b.standardOffset_=a;var c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Hv(c,2));c=d.join("")}b.timeZoneId_=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=G1b(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new F1b;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},G1b=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Hv(Math.floor(a/60)%100,2),":",Hv(a%60,2));return b.join("")},H1b=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 0==c?0:a.transitions_[c-1]};
F1b.prototype.getOffset=function(a){a=this.standardOffset_-H1b(this,a);return-1440===a?0:a};var XA=function(a){this.patternParts_=[];this.dateTimeSymbols_=VA;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},I1b=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],J1b=function(a){return a.getHours?a.getHours():0};
XA.prototype.applyPattern_=function(a){for(K1b&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<I1b.length;++c){var d=a.match(I1b[c]);if(d){var e=d[0];a=a.substring(e.length);0==c&&("''"==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("jb`"+a);}};
XA.prototype.format=function(a,b){if(!a)throw Error("kb");var c=b?6E4*(a.getTimezoneOffset()-b.getOffset(a)):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),e=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));c=[];for(var g=0;g<this.patternParts_.length;++g){var h=this.patternParts_[g].text;1==this.patternParts_[g].type?c.push(L1b(this,h,a,d,e,b)):c.push(h)}return c.join("")};
XA.prototype.applyStandardPattern_=function(a){if(4>a)var b=this.dateTimeSymbols_.DATEFORMATS[a];else if(8>a)b=this.dateTimeSymbols_.TIMEFORMATS[a-4];else if(12>a)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(12===a)b=this.dateTimeSymbols_.DATEFORMATS[0].replace(/[^EMd]*yy*[^EMd]*/,"");else{this.applyStandardPattern_(10);return}this.applyPattern_(b)};
var YA=function(a,b){return M1b(b,a.dateTimeSymbols_)},K1b=!1,M1b=function(a,b){a=String(a);b=b||VA;if(void 0===b.ZERODIGIT)return a;for(var c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);c.push(48<=e&&57>=e?String.fromCharCode(b.ZERODIGIT+e-48):a.charAt(d))}return c.join("")},ZA=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("lb");},N1b=function(a,b){ZA(b);b=J1b(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},L1b=function(a,b,c,d,e,g){var h=b.length;switch(b.charAt(0)){case "G":return c=
0<d.getFullYear()?1:0,4<=h?a.dateTimeSymbols_.ERANAMES[c]:a.dateTimeSymbols_.ERAS[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==h&&(c%=100),YA(a,Hv(c,h));case "Y":return c=d.getMonth(),e=d.getDate(),c=C1b(d.getFullYear(),c,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),YA(a,Hv(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=YA(a,Hv(c+1,h))}return h;case "k":return ZA(e),c=J1b(e)||24,YA(a,Hv(c,h));case "S":return YA(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(3<h?Hv(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return N1b(a,e);case "b":return N1b(a,e);case "B":return N1b(a,e);case "h":return ZA(e),c=J1b(e)%12||12,YA(a,Hv(c,h));case "K":return ZA(e),c=J1b(e)%
12,YA(a,Hv(c,h));case "H":return ZA(e),c=J1b(e),YA(a,Hv(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=YA(a,Hv(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=YA(a,Hv(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.dateTimeSymbols_.SHORTQUARTERS[c]:a.dateTimeSymbols_.QUARTERS[c];case "d":return YA(a,Hv(d.getDate(),h));case "m":return ZA(e),YA(a,Hv(e.getMinutes?e.getMinutes():0,h));case "s":return ZA(e),YA(a,Hv(e.getSeconds(),h));case "v":return(g||Hk(c.getTimezoneOffset())).timeZoneId_;case "V":return a=g||Hk(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<H1b(a,c)?void 0!==a.tzNamesExt_.DST_GENERIC_LOCATION?a.tzNamesExt_.DST_GENERIC_LOCATION:
a.tzNamesExt_.DST_GENERIC_LOCATION:void 0!==a.tzNamesExt_.STD_GENERIC_LOCATION?a.tzNamesExt_.STD_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION;case "w":return c=e.getMonth(),d=e.getDate(),c=C1b(e.getFullYear(),c,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),YA(a,Hv(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=g||Hk(c.getTimezoneOffset()),4>h?a.tzNames_[0<H1b(a,c)?2:0]:a.tzNames_[0<H1b(a,c)?3:1];
case "Z":return d=g||Hk(c.getTimezoneOffset()),4>h?(h=-d.getOffset(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Hv(Math.floor(h/60)%100,2),Hv(h%60,2)),h=a.join("")):h=YA(a,G1b(d.getOffset(c))),h;default:return""}};var wpa;var O1b=function(a,b){this.url=a;this.svgText=null;this.options=b},$A=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},aB=function(a,b,c){a._addSvgIconConfig("",b,new O1b(c))},P1b=function(a,b){return a._fontCssClassesByAlias.get(b)||
b};$A.prototype.setDefaultFontSetClass=function(){this._defaultFontSetClass=Wc.apply(0,arguments)};var Q1b=function(a,b,c){c=void 0===c?"":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,E.throwError)(Error("mb`"+d))};f=$A.prototype;
f.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};f._getSvgFromConfig=function(a){return a.svgText?(0,E.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(D(function(b){return b.cloneNode(!0)}))};
f._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,E.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(Ie(function(g){g="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+g.message;c._errorHandler.handleError(Error(g));return(0,E.of)(null)}))});return(0,E.forkJoin)(d).pipe(D(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("mb`"+a);return e}))};
f._extractIconWithNameFromAnySet=function(a,b){for(var c=b.length-1;0<=c;c--){var d=b[c];if(d.svgText&&-1<d.svgText.toString().indexOf(a)){var e=this._svgElementFromConfig(d);if(d=this._extractSvgIconFromSet(e,a,d.options))return d}}return null};f._loadSvgIconFromConfig=function(a){var b=this;return this._fetchIcon(a).pipe(cf(function(c){return a.svgText=c}),D(function(){return b._svgElementFromConfig(a)}))};
f._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,E.of)(null):this._fetchIcon(a).pipe(cf(function(b){return a.svgText=b}))};
f._extractSvgIconFromSet=function(a,b,c){a=a.querySelector('[id="'+b+'"]');if(!a)return null;a=a.cloneNode(!0);a.removeAttribute("id");if("svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,c);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),c);b=this._svgElementFromString(ypa("<svg></svg>"));b.appendChild(a);return this._setSvgAttributes(b,c)};
f._svgElementFromString=function(a){var b=this._document.createElement("DIV");b.innerHTML=a;a=b.querySelector("svg");if(!a)throw Error("pb");return a};f._toSvgElement=function(a){for(var b=this._svgElementFromString(ypa("<svg></svg>")),c=a.attributes,d=0;d<c.length;d++){var e=c[d],g=e.name;e=e.value;"id"!==g&&b.setAttribute(g,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};
f._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};
f._fetchIcon=function(a){var b=this,c=a.url,d,e;a=null!=(e=null==(d=a.options)?void 0:d.withCredentials)?e:!1;if(!this._httpClient)throw Error("nb");if(null==c)throw Error("qb`"+c);var g=this._sanitizer.sanitize(5,c);if(!g)throw Error("ob`"+c);if(c=this._inProgressUrlFetches.get(g))return c;c=this._httpClient.get(g,{responseType:"text",withCredentials:a}).pipe(D(function(h){return ypa(h)}),Qe(function(){return b._inProgressUrlFetches.delete(g)}),Xe());this._inProgressUrlFetches.set(g,c);return c};
f._addSvgIconConfig=function(a,b,c){this._svgIconConfigs.set(a+":"+b,c);return this};f._addSvgIconSetConfig=function(a,b){var c=this._iconSetConfigs.get(a);c?c.push(b):this._iconSetConfigs.set(a,[b]);return this};f._svgElementFromConfig=function(a){if(!a.svgElement){var b=this._svgElementFromString(a.svgText);this._setSvgAttributes(b,a.options);a.svgElement=b}return a.svgElement};
f._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 O1b(d.url,d.options):new O1b(d)}};$A.\u0275fac=function(a){return new (a||$A)(u(uy,8),u(zy),u(uh,8),u(Wd))};$A.\u0275prov=wc({token:$A,factory:$A.\u0275fac,providedIn:"root"});new Jv;new Kv;new Jv;new Jv;var R1b=xh(function(a){this._elementRef=a}),S1b=new Zc("MAT_ICON_DEFAULT_OPTIONS"),T1b=new Zc("mat-icon-location",{providedIn:"root",factory:zpa}),U1b="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),V1b=U1b.map(function(a){return"["+a+"]"}).join(", "),W1b=/^url\(['"]?#(.*?)['"]?\)$/,bB=function(a,b,c,d,e,g){var h=R1b.call(this,a)||this;h._iconRegistry=b;h._location=d;h._errorHandler=e;h._inline=!1;h._previousFontSetClass=[];h._currentIconFetch=
E.Subscription.EMPTY;g&&(g.color&&(h.color=h.defaultColor=g.color),g.fontSet&&(h.fontSet=g.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true");return h};U(bB,R1b);f=bB.prototype;f._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("rb`"+a);}};f.ngOnInit=function(){this._updateFontIconClasses()};
f.ngAfterViewChecked=function(){var a=this._elementsWithExternalReferences;a&&a.size&&(a=this._location.getPathname(),a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a)))};f.ngOnDestroy=function(){this._currentIconFetch.unsubscribe();this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()};f._usingFontIcon=function(){return!this.svgIcon};
f._setSvgElement=function(a){this._clearSvgElement();var b=this._location.getPathname();this._previousPath=b;this._cacheChildrenWithExternalReferences(a);this._prependPathToReferences(b);this._elementRef.nativeElement.appendChild(a)};f._clearSvgElement=function(){var a=this._elementRef.nativeElement,b=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();b--;){var c=a.childNodes[b];1===c.nodeType&&"svg"!==c.nodeName.toLowerCase()||c.remove()}};
f._updateFontIconClasses=function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,b=(this.fontSet?P1b(this._iconRegistry,this.fontSet).split(/ +/):this._iconRegistry._defaultFontSetClass).filter(function(c){return 0<c.length});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)}};f._cleanupFontValue=function(a){return"string"===typeof a?a.trim().split(" ")[0]:a};f._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+"')")})})};
f._cacheChildrenWithExternalReferences=function(a){var b=a.querySelectorAll(V1b),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={$jscomp$loop$prop$i$1147197573$1:0};a.$jscomp$loop$prop$i$1147197573$1<b.length;a={$jscomp$loop$prop$i$1147197573$1:a.$jscomp$loop$prop$i$1147197573$1},a.$jscomp$loop$prop$i$1147197573$1++)U1b.forEach(function(d){return function(e){var g=b[d.$jscomp$loop$prop$i$1147197573$1],h=g.getAttribute(e);if(h=h?h.match(W1b):null){var m=
c.get(g);m||(m=[],c.set(g,m));m.push({name:e,value:h[1]})}}}(a))};f._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=k(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=Q1b(this._iconRegistry,d,c).pipe(Oe()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("sb`"+c+"`"+d+"`"+e.message))})}};
wh.Object.defineProperties(bB.prototype,{inline:{configurable:!0,enumerable:!0,get:function(){return this._inline},set:function(a){this._inline=Gg(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())}}});bB.\u0275fac=function(a){return new (a||bB)(C(Bd),C($A),ud("aria-hidden"),C(T1b),C(Wd),C(S1b,8))};
bB.\u0275cmp=Mc({type:bB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(a,b){a&2&&(pf("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),yf("mat-icon-inline",b.inline)("mat-icon-no-color","primary"!==b.color&&"accent"!==b.color&&"warn"!==b.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",
fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[lf],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Gf(),Hf(0))},styles:[".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 cB=function(){};cB.\u0275fac=function(a){return new (a||cB)};cB.\u0275mod=Oc({type:cB});cB.\u0275inj=xc({});var dB=function(){};dB.\u0275fac=function(a){return new (a||dB)};dB.\u0275mod=Oc({type:dB});dB.\u0275inj=xc({});var eB={};eB.AssertionError=aaa;eB.ENABLE_ASSERTS=!1;eB.assert=function(a){return a};eB.assertArray=function(a){return a};eB.assertBoolean=function(a){return a};eB.assertElement=function(a){return a};eB.assertExists=function(a){return a};eB.assertFinite=function(a){return a};eB.assertFunction=function(a){return a};eB.assertInstanceof=function(a){return a};eB.assertNumber=function(a){return a};eB.assertObject=function(a){return a};eB.assertString=function(a){return a};eB.fail=function(){};var fB=function(){};fB.\u0275fac=function(a){return new (a||fB)};fB.\u0275mod=Oc({type:fB});fB.\u0275inj=xc({});var gB=function(){};gB.\u0275fac=function(a){return new (a||gB)};gB.\u0275mod=Oc({type:gB});gB.\u0275inj=xc({imports:[fB]});var hB=function(){};hB.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,E.of)(a?JSON.parse(a):null)};hB.prototype.getValues=function(a){return(0,E.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))};hB.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,E.of)(void 0)};hB.\u0275fac=function(a){return new (a||hB)};
hB.\u0275prov=wc({token:hB,factory:hB.\u0275fac,providedIn:fB});var X1b=function(a){this.cellValue_=a};var Y1b=function(a,b,c){this.metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};f=Y1b.prototype;f.addCell=function(a){var b=Wc.apply(1,arguments),c=this.getCells(b);c?c.push(new X1b(a)):this.setCell(a,b)};f.setCell=function(a){var b=this.getKey_(Wc.apply(1,arguments));this.cellMap_.set(b,[new X1b(a)])};f.getCells=function(){var a=this.getKey_(Wc.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
f.getCell=function(){var a=this.getCells(Wc.apply(0,arguments));return a&&a.length?a[0]:void 0};f.clear=function(){this.cellMap_.clear()};f.getKey_=function(){var a=Wc.apply(0,arguments);return a?a.join(","):"key"};var Z1b=function(a,b){Y1b.call(this,a,3,b)};U(Z1b,Y1b);Z1b.prototype.incrementCounter=function(){this.incrementCounterBy(1,Wc.apply(0,arguments))};Z1b.prototype.incrementCounterBy=function(a){var b=Wc.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue_);this.setCell(c+a,b)};var $1b=function(a,b){Y1b.call(this,a,2,b)};U($1b,Y1b);$1b.prototype.record=function(a){this.addCell(a,Wc.apply(1,arguments))};var iB=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};iB.prototype.disposed_=!1;iB.prototype.isDisposed=function(){return this.disposed_};iB.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var jB=function(a,b){b=mt(Eh,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};iB.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var kB=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};kB.prototype.stopPropagation=function(){this.propagationStopped_=!0};kB.prototype.preventDefault=function(){this.defaultPrevented=!0};var a2b=[],b2b=[],c2b=!1,d2b=function(a){a2b[a2b.length]=a;if(c2b)for(var b=0;b<b2b.length;b++)a(lt(b2b[b].wrap,b2b[b]))};var e2b=function(){if(!ba.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};ba.addEventListener("test",c,b);ba.removeEventListener("test",c,b)}catch(d){}return a}();var lB=function(a,b){kB.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.event_=null;a&&this.init(a,b)};nt(lB,kB);var f2b={2:"touch",3:"pen",4:"mouse"};
lB.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)?qt&&(oNb(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=rt||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=rt||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?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||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=Iq?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:f2b[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&lB.superClass_.preventDefault.call(this)};lB.prototype.stopPropagation=function(){lB.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
lB.prototype.preventDefault=function(){lB.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var g2b="closure_listenable_"+(1E6*Math.random()|0),mB=function(a){return!(!a||!a[g2b])};var h2b=0;var i2b=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=++h2b;this.removed=this.callOnce=!1},j2b=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var nB=function(a){this.src=a;this.listeners={};this.typeCount_=0};nB.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.listeners[g];a||(a=this.listeners[g]=[],this.typeCount_++);var h=k2b(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new i2b(b,this.src,g,!!d,e),b.callOnce=c,a.push(b));return b};
nB.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=k2b(e,b,c,d);return-1<b?(j2b(e[b]),saa(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var l2b=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=qa(a.listeners[c],b);d&&(j2b(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
nB.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,j2b(d[e]);delete this.listeners[c];this.typeCount_--}return b};nB.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=k2b(a,b,c,d));return-1<e?a[e]:null};
nB.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Jca(this.listeners,function(g){for(var h=0;h<g.length;++h)if(!(c&&g[h].type!=d||e&&g[h].capture!=b))return!0;return!1})};var k2b=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.removed&&g.listener==b&&g.capture==!!c&&g.handler==d)return e}return-1};var m2b="closure_lm_"+(1E6*Math.random()|0),n2b={},o2b=0,gp=function(a,b,c,d,e){if(d&&d.once)return oB(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)gp(a,b[g],c,d,e);return null}c=p2b(c);return mB(a)?a.listen(b,c,wa(d)?!!d.capture:!!d,e):q2b(a,b,c,!1,d,e)},q2b=function(a,b,c,d,e,g){if(!b)throw Error("tb");var h=wa(e)?!!e.capture:!!e,m=r2b(a);m||(a[m2b]=m=new nB(a));c=m.add(b,c,d,h,g);if(c.proxy)return c;d=s2b();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)e2b||(e=h),void 0===
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(t2b(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("ub");o2b++;return c},s2b=function(){var a=u2b,b=function(c){return a.call(b.src,b.listener,c)};return b},oB=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)oB(a,b[g],c,d,e);return null}c=p2b(c);return mB(a)?a.listenOnce(b,c,wa(d)?!!d.capture:!!d,e):q2b(a,b,c,!0,d,e)},pB=function(a,b,c,d,e){if(Array.isArray(b))for(var g=
0;g<b.length;g++)pB(a,b[g],c,d,e);else d=wa(d)?!!d.capture:!!d,c=p2b(c),mB(a)?a.unlisten(b,c,d,e):a&&(a=r2b(a))&&(b=a.getListener(b,c,d,e))&&qB(b)},qB=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(mB(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(t2b(c),d):b.addListener&&b.removeListener&&b.removeListener(d);o2b--;(c=r2b(b))?(l2b(c,a),0==c.typeCount_&&(c.src=null,b[m2b]=null)):j2b(a);
return!0},t2b=function(a){return a in n2b?n2b[a]:n2b[a]="on"+a},u2b=function(a,b){if(a.removed)a=!0;else{b=new lB(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&qB(a);a=c.call(d,b)}return a},r2b=function(a){a=a[m2b];return a instanceof nB?a:null},v2b="__closure_events_fn_"+(1E9*Math.random()>>>0),p2b=function(a){if("function"===typeof a)return a;a[v2b]||(a[v2b]=function(b){return a.handleEvent(b)});return a[v2b]};d2b(function(a){u2b=a(u2b)});var fp=function(){iB.call(this);this.eventTargetListeners_=new nB(this);this.actualEventTarget_=this;this.parentEventTarget_=null};nt(fp,iB);fp.prototype[g2b]=!0;f=fp.prototype;f.getParentEventTarget=function(){return this.parentEventTarget_};f.setParentEventTarget=function(a){this.parentEventTarget_=a};f.addEventListener=function(a,b,c,d){gp(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){pB(this,a,b,c,d)};
f.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("string"===typeof a)a=new kB(a,c);else if(a instanceof kB)a.target=a.target||c;else{var e=a;a=new kB(d,c);Rca(a,e)}e=!0;if(b)for(var g=b.length-1;!a.propagationStopped_&&0<=g;g--){var h=a.currentTarget=b[g];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(g=0;!a.propagationStopped_&&g<b.length;g++)h=a.currentTarget=b[g],e=h.fireListeners(d,!1,a)&&e;return e};f.disposeInternal=function(){fp.superClass_.disposeInternal.call(this);this.removeAllListeners();this.parentEventTarget_=null};f.listen=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!1,c,d)};f.listenOnce=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!0,c,d)};
f.unlisten=function(a,b,c,d){return this.eventTargetListeners_.remove(String(a),b,c,d)};f.unlistenByKey=function(a){return l2b(this.eventTargetListeners_,a)};f.removeAllListeners=function(a){return this.eventTargetListeners_?this.eventTargetListeners_.removeAll(a):0};
f.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 g=a[e];if(g&&!g.removed&&g.capture==b){var h=g.listener,m=g.handler||g.src;g.callOnce&&this.unlistenByKey(g);d=!1!==h.call(m,c)&&d}}return d&&!c.defaultPrevented};f.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
f.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(void 0!==a?String(a):void 0,b)};var w2b=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};w2b.prototype.get=function(){if(0<this.occupants_){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};w2b.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 x2b=Gq||rt;var y2b=function(a,b){return a+Math.random()*(b-a)};var Qq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};Qq.prototype.clone=function(){return new Qq(this.x,this.y)};Qq.prototype.equals=function(a){return a instanceof Qq&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var Rq=function(a,b){return new Qq(a.x-b.x,a.y-b.y)};f=Qq.prototype;f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};f.translate=function(a,b){a instanceof Qq?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};f.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var rB=function(a,b){this.width=a;this.height=b},Blb=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};f=rB.prototype;f.clone=function(){return new rB(this.width,this.height)};f.aspectRatio=function(){return this.width/this.height};f.isEmpty=function(){return!(this.width*this.height)};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};f.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var ip=function(a){return a?new sB(tB(a)):XMb||(XMb=new sB)},z2b=function(a,b){return"string"===typeof b?a.getElementById(b):b},uB=function(a,b){return(b||document).getElementsByTagName(String(a))},B2b=function(a,b){Zb(b,function(c,d){c&&"object"==typeof c&&c.implementsGoogStringTypedString&&(c=c.getTypedStringValue());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:A2b.hasOwnProperty(d)?a.setAttribute(A2b[d],c):fi(d,"aria-")||fi(d,"data-")?a.setAttribute(d,c):a[d]=c})},
A2b={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"},vB=function(a){a=(a||window).document;a=C2b(a)?a.documentElement:a.body;return new rB(a.clientWidth,a.clientHeight)},wB=function(a){var b=D2b(a);a=a.parentWindow||a.defaultView;return Gq&&a.pageYOffset!=b.scrollTop?new Qq(b.scrollLeft,b.scrollTop):new Qq(a.pageXOffset||
b.scrollLeft,a.pageYOffset||b.scrollTop)},D2b=function(a){return a.scrollingElement?a.scrollingElement:!rt&&C2b(a)?a.documentElement:a.body||a.documentElement},xB=function(a){return a?a.parentWindow||a.defaultView:window},F2b=function(a,b,c){return E2b(document,arguments)},E2b=function(a,b){var c=b[1],d=no(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):B2b(d,c));2<b.length&&G2b(a,d,b,2);return d},G2b=function(a,b,c,d){function e(m){m&&b.appendChild("string"===
typeof m?a.createTextNode(m):m)}for(;d<c.length;d++){var g=c[d];if(!ua(g)||wa(g)&&0<g.nodeType)e(g);else{a:{if(g&&"number"==typeof g.length){if(wa(g)){var h="function"==typeof g.item||"string"==typeof g.item;break a}if("function"===typeof g){h="function"==typeof g.item;break a}}h=!1}oa(h?ta(g):g,e)}}},no=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},C2b=function(a){return"CSS1Compat"==a.compatMode},H2b=function(a,b){G2b(tB(a),a,arguments,
1)},I2b=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},yB=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},zB=function(a){return wa(a)&&1==a.nodeType},wnb=function(a){var b;if(x2b&&(b=a.parentElement))return b;b=a.parentNode;return zB(b)?b:null},w9a=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==
a},tB=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},J2b=function(a){return a.contentDocument||a.contentWindow.document},K2b=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else I2b(a),a.appendChild(tB(a).createTextNode(String(b)))},L2b={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},M2b={IMG:" ",BR:"\n"},N2b=
function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},O2b=function(a,b,c){if(!(a.nodeName in L2b))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in M2b)b.push(M2b[a.nodeName]);else for(a=a.firstChild;a;)O2b(a,b,c),a=a.nextSibling},Wlb=function(){var a=xB();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?P2b(3)||P2b(2)||P2b(1.5)||P2b(1)||.75:1},P2b=function(a){return xB().matchMedia("(min-resolution: "+
a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},sB=function(a){this.document_=a||ba.document||document};f=sB.prototype;f.getDomHelper=ip;f.getElement=function(a){return z2b(this.document_,a)};f.$=sB.prototype.getElement;f.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};
f.getElementsByTagNameAndClass=function(a,b,c){c=c||this.document_;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))b=c.querySelectorAll(a+(b?"."+b:""));else if(b&&c.getElementsByClassName)if(c=c.getElementsByClassName(b),a){for(var d={},e=0,g=0,h;h=c[g];g++)a==h.nodeName&&(d[e++]=h);d.length=e;b=d}else b=c;else if(c=c.getElementsByTagName(a||"*"),b){d={};for(g=e=0;h=c[g];g++)a=h.className,"function"==typeof a.split&&pa(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;
b=d}else b=c;return b};f.$$=sB.prototype.getElementsByTagNameAndClass;f.setProperties=B2b;f.getViewportSize=function(a){return vB(a||this.getWindow())};f.createDom=function(a,b,c){return E2b(this.document_,arguments)};f.createElement=function(a){return no(this.document_,a)};f.createTextNode=function(a){return this.document_.createTextNode(String(a))};f.getWindow=function(){var a=this.document_;return a.parentWindow||a.defaultView};f.appendChild=function(a,b){a.appendChild(b)};f.append=H2b;
f.canHaveChildren=function(a){if(1!=a.nodeType)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};f.removeChildren=I2b;f.removeNode=yB;
f.getChildren=function(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})};f.isElement=zB;f.getParentElement=wnb;f.contains=w9a;
f.isFocusable=function(a){var b;"A"==a.tagName&&a.hasAttribute("href")||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?b=!a.disabled&&(!a.hasAttribute("tabindex")||N2b(a)):b=a.hasAttribute("tabindex")&&N2b(a);if(b&&Gq){var c;"function"!==typeof a.getBoundingClientRect||Gq&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};var Q2b,R2b=function(){var a=ba.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!ia("Presto")&&(a=function(){var e=no(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var h="callImmediate"+Math.random(),m="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=lt(function(r){if(("*"==m||r.origin==m)&&r.data==h)this.port1.onmessage()},
this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(h,m)}}});if("undefined"!==typeof a&&!eaa()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){ba.setTimeout(e,0)}},S2b=mTb;d2b(function(a){S2b=a});var T2b=function(){this.workTail_=this.workHead_=null};T2b.prototype.add=function(a,b){var c=U2b.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};T2b.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 U2b=new w2b(function(){return new V2b},function(a){return a.reset()}),V2b=function(){this.next=this.scope=this.fn=null};
V2b.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};V2b.prototype.reset=function(){this.next=this.scope=this.fn=null};var W2b,X2b=!1,Y2b=new T2b,AB=function(a,b){W2b||Z2b();X2b||(W2b(),X2b=!0);Y2b.add(a,b)},Z2b=function(){if(ba.Promise&&ba.Promise.resolve){var a=ba.Promise.resolve(void 0);W2b=function(){a.then($2b)}}else W2b=function(){var b=$2b;b=S2b(b);"function"!==typeof ba.setImmediate||ba.Window&&ba.Window.prototype&&(ka()||!ia("Edge"))&&ba.Window.prototype.setImmediate==ba.setImmediate?(Q2b||(Q2b=R2b()),Q2b(b)):ba.setImmediate(b)}},$2b=function(){for(var a;a=Y2b.remove();){try{a.fn.call(a.scope)}catch(b){baa(b)}U2b.put(a)}X2b=
!1};var a3b=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var CB=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=Dv)try{var b=this;a.call(void 0,function(c){BB(b,2,c)},function(c){BB(b,3,c)})}catch(c){BB(this,3,c)}},b3b=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};b3b.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var c3b=new w2b(function(){return new b3b},function(a){a.reset()}),d3b=function(a,b,c){var d=c3b.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},e3b=function(a){if(a instanceof CB)return a;var b=new CB(Dv);BB(b,2,a);return b},f3b=function(a){return new CB(function(b,c){c(a)})},h3b=function(a,b,c){g3b(a,b,c,null)||AB(mt(b,a))},i3b=function(a){return new CB(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],h3b(e,b,c)})},j3b=function(a){return new CB(function(b,c){var d=
a.length,e=[];if(d)for(var g=function(v,y){d--;e[v]=y;0==d&&b(e)},h=function(v){c(v)},m=0,r;m<a.length;m++)r=a[m],h3b(r,mt(g,m),h);else b(e)})},k3b=function(a){return new CB(function(b,c){var d=a.length,e=[];if(d)for(var g=function(v){b(v)},h=function(v,y){d--;e[v]=y;0==d&&c(e)},m=0,r;m<a.length;m++)r=a[m],h3b(r,g,mt(h,m));else b(void 0)})},m3b=function(){var a,b,c=new CB(function(d,e){a=d;b=e});return new l3b(c,a,b)};
CB.prototype.then=function(a,b,c){return n3b(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};CB.prototype.$goog_Thenable=!0;var p3b=function(a,b){b=d3b(b,b);b.always=!0;o3b(a,b);return a};CB.prototype.thenCatch=function(a,b){return n3b(this,null,a,b)};CB.prototype.catch=CB.prototype.thenCatch;CB.prototype.cancel=function(a){if(0==this.state_){var b=new DB(a);AB(function(){q3b(this,b)},this)}};
var q3b=function(a,b){if(0==a.state_)if(a.parent_){var c=a.parent_;if(c.callbackEntries_){for(var d=0,e=null,g=null,h=c.callbackEntries_;h&&(h.always||(d++,h.child==a&&(e=h),!(e&&1<d)));h=h.next)e||(g=h);e&&(0==c.state_&&1==d?q3b(c,b):(g?(d=g,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):r3b(c),s3b(c,e,3,b)))}a.parent_=null}else BB(a,3,b)},o3b=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||t3b(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},n3b=function(a,b,c,d){var e=d3b(null,null,null);e.child=new CB(function(g,h){e.onFulfilled=b?function(m){try{var r=b.call(d,m);g(r)}catch(v){h(v)}}:g;e.onRejected=c?function(m){try{var r=c.call(d,m);void 0===r&&m instanceof DB?h(m):g(r)}catch(v){h(v)}}:h});e.child.parent_=a;o3b(a,e);return e.child};CB.prototype.unblockAndFulfill_=function(a){this.state_=0;BB(this,2,a)};CB.prototype.unblockAndReject_=function(a){this.state_=0;BB(this,3,a)};
var BB=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("vb")),a.state_=1,g3b(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,t3b(a),3!=b||c instanceof DB||u3b(a,c)))},g3b=function(a,b,c,d){if(a instanceof CB)return o3b(a,d3b(b||Dv,c||null,d)),!0;if(a3b(a))return a.then(b,c,d),!0;if(wa(a))try{var e=a.then;if("function"===typeof e)return v3b(a,e,b,c,d),!0}catch(g){return c.call(d,g),!0}return!1},v3b=function(a,b,c,d,e){var g=!1,h=function(r){g||(g=!0,
c.call(e,r))},m=function(r){g||(g=!0,d.call(e,r))};try{b.call(a,h,m)}catch(r){m(r)}},t3b=function(a){a.executing_||(a.executing_=!0,AB(a.executeCallbacks_,a))},r3b=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};CB.prototype.executeCallbacks_=function(){for(var a;a=r3b(this);)s3b(this,a,this.state_,this.result_);this.executing_=!1};
var s3b=function(a,b,c,d){if(3==c&&b.onRejected&&!b.always)for(;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1;if(b.child)b.child.parent_=null,w3b(b,c,d);else try{b.always?b.onFulfilled.call(b.context):w3b(b,c,d)}catch(e){x3b.call(null,e)}c3b.put(b)},w3b=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},u3b=function(a,b){a.hadUnhandledRejection_=!0;AB(function(){a.hadUnhandledRejection_&&x3b.call(null,b)})},x3b=baa,DB=function(a){aa.call(this,
a);this.reportErrorToServer=!1};nt(DB,aa);DB.prototype.name="cancel";var l3b=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var EB=function(a,b){fp.call(this);this.interval_=a||1;this.timerObject_=b||ba;this.boundTick_=lt(this.tick_,this);this.last_=Date.now()};nt(EB,fp);f=EB.prototype;f.enabled=!1;f.timer_=null;f.setInterval=function(a){this.interval_=a;this.timer_&&this.enabled?(this.stop(),this.start()):this.timer_&&this.stop()};
f.tick_=function(){if(this.enabled){var a=Date.now()-this.last_;0<a&&a<.8*this.interval_?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()))}};f.start=function(){this.enabled=!0;this.timer_||(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=Date.now())};
f.stop=function(){this.enabled=!1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};f.disposeInternal=function(){EB.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var yo=function(a,b,c){if("function"===typeof a)c&&(a=lt(a,c));else if(a&&"function"==typeof a.handleEvent)a=lt(a.handleEvent,a);else throw Error("wb");return 2147483647<Number(b)?-1:ba.setTimeout(a,b||0)},zo=function(a){ba.clearTimeout(a)},y3b=function(a,b){var c=null;return(new CB(function(d,e){c=yo(function(){d(b)},a);-1==c&&e(Error("xb"))})).thenCatch(function(d){zo(c);throw d;})};var z3b=function(a){iB.call(this);this.streamzLogger_=a;this.metricMap=new Map;this.disabledMetrics_=new Set;this.invocationCount=0;this.flushInterval=3E4;this.flushTimer=new EB(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);jB(this,this.flushTimer)};U(z3b,iB);var A3b=function(a){a.flushTimer.enabled||a.flushTimer.start();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};f=z3b.prototype;
f.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(ad(a)).filter(function(b){return b.cellMap_.size});a.length&&this.streamzLogger_.flush(a,!1);B3b(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};f.addNewCounter=function(a){var b=Wc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new Z1b(a,b))};f.addNewEventMetric=function(a){var b=Wc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new $1b(a,b))};
f.getMetric=function(a){return this.disabledMetrics_.has(a)?void 0:this.metricMap.get(a)};f.incrementCounter=function(a){this.incrementCounterBy.apply(this,[a,1].concat(ad(Wc.apply(1,arguments))))};f.incrementCounterBy=function(a,b){var c=Wc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof Z1b&&(d.incrementCounterBy(b,c),A3b(this))};f.record=function(a,b){var c=Wc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof $1b&&(d.record(b,c),A3b(this))};var B3b=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var C3b=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"})};C3b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};C3b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var D3b=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"})};D3b.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};D3b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var E3b=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"})};E3b.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};E3b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var F3b=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"})};F3b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};F3b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var G3b={toString:function(a){var b=[],c=0;a-=-2147483648;b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(a%52);for(a=Math.floor(a/52);0<a;)b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(a%62),a=Math.floor(a/62);return b.join("")}};var J3b=function(a){a=H3b(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,g=e,h=0,m=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};12<=g;g-=12,h+=12)b+=I3b(a,h),c+=I3b(a,h+4),d+=I3b(a,h+8),m();d+=e;switch(g){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]}m();return G3b.toString(d)},K3b=function(a){return a},H3b=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},I3b=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var FB=function(a){this.internalArray_=l(a)};U(FB,q);FB.prototype.getValueCase=function(){return Oi(this,GB)};var GB=[1,2,3];FB.prototype.toObject=function(){return L3b(this)};var L3b=function(a){if(null!=a){t(a);var b=n(Ro(a,1,GB));var c=Ft(a,yn(a,GB,2));return{strVal:b,intVal:n(c),boolVal:n(Ur(a,yn(a,GB,3)))}}};var M3b=function(a){this.internalArray_=l(a)};U(M3b,q);M3b.prototype.getCount=function(){return uj(this,2)};M3b.prototype.setCount=function(a){return cj(this,2,a)};M3b.prototype.toObject=function(){return N3b(this)};var N3b=function(a){if(null!=a)return t(a),{valueOrBucket:n(Qo(a,1)),count:n(p(a,2))}};var O3b=function(a){this.internalArray_=l(a)};U(O3b,q);O3b.repeatedFields_=[1];O3b.prototype.toObject=function(){return P3b(this)};var P3b=function(a){if(null!=a)return t(a),{entryList:Ub(oj(a,M3b,1),N3b)}};var HB=function(a){this.internalArray_=l(a)};U(HB,q);HB.prototype.getValueCase=function(){return Oi(this,IB)};var IB=[1,2,3];HB.prototype.toObject=function(){return Q3b(this)};var Q3b=function(a){if(null!=a)return t(a),{int64Val:n(Qt(a,1,IB)),doubleVal:n(Qo(a,yn(a,IB,2))),histogramVal:P3b(fk(a,O3b,3,IB))}};var JB=function(a){this.internalArray_=l(a)};U(JB,q);JB.prototype.setField=function(a){zt(this,1,FB,a)};JB.repeatedFields_=[1];JB.prototype.toObject=function(){return R3b(this)};var R3b=function(a){if(null!=a)return t(a),{fieldList:Ub(oj(a,FB,1),L3b),incBy:Q3b(W(a,HB,2))}};var S3b=function(a){this.internalArray_=l(a)};U(S3b,q);S3b.prototype.toObject=function(){return T3b(this)};var T3b=function(a){if(null!=a)return t(a),{logSourceName:n(X(a,1))}};var U3b=function(a){this.internalArray_=l(a)};U(U3b,q);U3b.prototype.getAppName=function(){return V(this,1)};U3b.prototype.toObject=function(){return V3b(this)};var V3b=function(a){if(null!=a)return t(a),{appName:n(X(a,1)),appVersion:n(X(a,2)),useMobilespec:n(Ur(a,3))}};var W3b=function(a){this.internalArray_=l(a)};U(W3b,q);W3b.prototype.getAppName=function(){return V(this,1)};W3b.prototype.getExperimentId=function(){return Vh(this,3)};W3b.prototype.toObject=function(){return X3b(this)};var X3b=function(a){if(null!=a)return t(a),{appName:n(X(a,1)),appVersion:n(X(a,2)),experimentId:n(Ft(a,3)),useMobilespec:n(Ur(a,4))}};var Y3b=function(a){this.internalArray_=l(a)};U(Y3b,q);Y3b.prototype.getMobile=function(){return fk(this,U3b,1,Z3b)};var Z3b=[1,2,3];Y3b.prototype.toObject=function(){return $3b(this)};var $3b=function(a){if(null!=a)return t(a),{mobile:V3b(a.getMobile()),mobileExp:X3b(fk(a,W3b,2,Z3b)),logSourceSchema:T3b(fk(a,S3b,3,Z3b))}};var KB=function(a){this.internalArray_=l(a)};U(KB,q);KB.prototype.getFieldName=function(){return Lt(this,3)};KB.prototype.setFieldName=function(a){Ot(this,3,a)};KB.repeatedFields_=[3,6,4];KB.prototype.toObject=function(){return a4b(this)};var a4b=function(a){if(null!=a)return t(a),{streamzName:n(X(a,1)),hashedStreamzName:n(p(a,5)),rootSpec:$3b(W(a,Y3b,2)),fieldNameList:n(Xh(a,3)),hashedFieldNameList:n(zb(a,6,hb)),incList:Ub(oj(a,JB,4),R3b)}};var b4b=function(a){this.internalArray_=l(a)};U(b4b,q);b4b.prototype.getKey=function(){return V(this,1)};b4b.prototype.hasKey=function(){return Jk(this,1)};b4b.prototype.toObject=function(){return c4b(this)};var c4b=function(a){if(null!=a)return t(a),{key:n(X(a,1))}};var d4b=function(a){this.internalArray_=l(a)};U(d4b,q);d4b.repeatedFields_=[1];d4b.prototype.toObject=function(){if(null!=this){t(this);var a={batchList:Ub(oj(this,KB,1),a4b),slicerMetadata:c4b(W(this,b4b,2))}}else a=void 0;return a};var e4b=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.startsWith("blob:")&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("yb`"+a);if("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"!==c)throw Error("zb`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};var g4b=function(a,b,c){var d=String(ba.location.href);return d&&a&&b?[b,f4b(e4b(d),a,c||null)].join(" "):null},f4b=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],oa(d,function(m){e.push(m)}),h4b(e.join(" "));var g=[],h=[];oa(c,function(m){h.push(m.key);g.push(m.value)});c=Math.floor((new Date).getTime()/1E3);e=0==g.length?[c,b,a]:[g.join(":"),c,b,a];oa(d,function(m){e.push(m)});a=h4b(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},h4b=function(a){var b=
Bpa();b.update(a);return b.digestString().toLowerCase()};var i4b={};var j4b=function(){this.document_=document||{cookie:""}};f=j4b.prototype;f.isEnabled=function(){if(!ba.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
f.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.sameSite;d=c.secure||!1;var g=c.domain||void 0;var h=c.path||void 0;var m=c.maxAge}if(/[;=\s]/.test(a))throw Error("Ab`"+a);if(/[;\r\n]/.test(b))throw Error("Bb`"+b);void 0===m&&(m=-1);c=g?";domain="+g:"";h=h?";path="+h:"";d=d?";secure":"";m=0>m?"":0==m?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*m)).toUTCString();this.document_.cookie=a+"="+b+c+h+m+d+(null!=e?";samesite="+e:"")};
f.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,g;e<d.length;e++){g=hi(d[e]);if(0==g.lastIndexOf(c,0))return g.slice(c.length);if(g==a)return""}return b};f.remove=function(a,b,c){var d=this.containsKey(a);this.set(a,"",{maxAge:0,path:b,domain:c});return d};f.getKeys=function(){return k4b(this).keys};f.getValues=function(){return k4b(this).values};f.isEmpty=function(){return!this.document_.cookie};
f.getCount=function(){return this.document_.cookie?(this.document_.cookie||"").split(";").length:0};f.containsKey=function(a){return void 0!==this.get(a)};f.containsValue=function(a){for(var b=k4b(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};f.clear=function(){for(var a=k4b(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var k4b=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,g=0;g<a.length;g++)e=hi(a[g]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};var l4b=function(a){return!!i4b.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},m4b=function(a,b,c,d){(a=ba[a])||"undefined"===typeof document||(a=(new j4b).get(b));return a?g4b(a,c,d):null},cp=function(a,b){b=void 0===b?!1:b;var c=e4b(String(ba.location.href)),d=[];var e=b;e=void 0===e?!1:e;var g=ba.__SAPISID||ba.__APISID||ba.__3PSAPISID||ba.__OVERRIDE_SID;l4b(e)&&(g=g||ba.__1PSAPISID);if(g)e=!0;else{if("undefined"!==typeof document){var h=new j4b;g=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||
h.get("SID")||h.get("OSID");l4b(e)&&(g=g||h.get("__Secure-1PAPISID"))}e=!!g}e&&(e=(c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:"))?ba.__SAPISID:ba.__APISID,e||"undefined"===typeof document||(e=new j4b,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?g4b(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&l4b(b)&&((b=m4b("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=m4b("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var LB=function(a){this.internalArray_=l(a)};U(LB,q);LB.repeatedFields_=[2];LB.prototype.toObject=function(){return n4b(this)};var n4b=function(a){if(null!=a)return t(a),{clearBlob:Xb(So(a,1)),clearBlobJs:n(X(a,4)),encryptedBlobList:Xb(Bt(a,2)),usersMatch:n(Ur(a,3))}};var o4b=function(a){this.internalArray_=l(a)};U(o4b,q);o4b.prototype.toObject=function(){return p4b(this)};var p4b=function(a){if(null!=a)return t(a),{originAssociatedProductId:n(Ft(a,13))}};var q4b=function(a){this.internalArray_=l(a)};U(q4b,q);q4b.prototype.toObject=function(){return r4b(this)};var r4b=function(a){if(null!=a)return t(a),{prequest:p4b(W(a,o4b,2))}};var s4b=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};s4b.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};s4b.prototype.getValue=function(){return this.currValue_};var t4b=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\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,""))},u4b=function(a){try{return ba.JSON.parse(a)}catch(b){}a=String(a);if(t4b(a))try{return eval("("+a+")")}catch(b){}throw Error("Cb`"+a);},w4b=function(a,b){return(new v4b(b)).serialize(a)},v4b=function(a){this.replacer_=
a};v4b.prototype.serialize=function(a){var b=[];x4b(this,a,b);return b.join("")};
var x4b=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g<b;g++)c.push(e),e=d[g],x4b(a,a.replacer_?a.replacer_.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(g),y4b(d,c),c.push(":"),x4b(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),g=","));c.push("}");return}}switch(typeof b){case "string":y4b(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("Db`"+typeof b);}}},z4b={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},A4b=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,y4b=function(a,b){b.push('"',a.replace(A4b,
function(c){var d=z4b[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),z4b[c]=d);return d}),'"')};var B4b=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 C4b=function(){};C4b.prototype.cachedOptions_=null;C4b.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var D4b,E4b=function(){};nt(E4b,C4b);E4b.prototype.createInstance=function(){var a=F4b(this);return a?new ActiveXObject(a):new XMLHttpRequest};E4b.prototype.internalGetOptions=function(){var a={};F4b(this)&&(a[0]=!0,a[1]=!0);return a};
var F4b=function(a){if(!a.ieProgId_&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.ieProgId_=d}catch(e){}}throw Error("Eb");}return a.ieProgId_};D4b=new E4b;var G4b=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),H4b=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}},I4b=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||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]},J4b=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)J4b(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},K4b=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)J4b(a[b],a[b+1],c);return c.join("&")},L4b=function(a){var b=[],c;for(c in a)J4b(c,a[c],b);return b.join("&")},MB=function(a,b){var c=2==arguments.length?K4b(arguments[1],0):K4b(arguments,
1);return I4b(a,c)},Fwa=function(a,b){b=L4b(b);return I4b(a,b)},M4b=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return I4b(a,b+c)},N4b=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var g=a.charCodeAt(b-1);if(38==g||63==g)if(g=a.charCodeAt(b+e),!g||61==g||38==g||35==g)return b;b+=e+1}return-1},O4b=/#|$/,P4b=function(a,b){var c=a.search(O4b),d=N4b(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,
-1!==e?e:0).replace(/\+/g," "))},Q4b=/[?&]($|#)/;var NB=function(a){fp.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.useXhr2Timeout_=this.withCredentials_=!1;this.trustToken_=null};nt(NB,fp);
var R4b=/^https?$/i,S4b=["POST","PUT"],T4b=[],oo=function(a,b,c,d,e,g,h){var m=new NB;T4b.push(m);b&&m.listen("complete",b);m.listenOnce("ready",m.cleanupSend_);g&&(m.timeoutInterval_=Math.max(0,g));h&&(m.withCredentials_=h);m.send(a,c,d,e);return m};NB.prototype.cleanupSend_=function(){this.dispose();qa(T4b,this)};NB.prototype.setTrustToken=function(a){this.trustToken_=a};
NB.prototype.send=function(a,b,c,d){if(this.xhr_)throw Error("Fb`"+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():D4b.getOptions();this.xhr_.onreadystatechange=lt(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("function"===typeof d.keys&&"function"===typeof d.get){e=k(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Gb`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=ba.FormData&&a instanceof ba.FormData;!pa(S4b,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=k(c);for(d=
b.next();!d.done;d=b.next())c=k(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(h){}try{U4b(this),0<this.timeoutInterval_&&((this.useXhr2Timeout_=V4b(this.xhr_))?(this.xhr_.timeout=
this.timeoutInterval_,this.xhr_.ontimeout=lt(this.timeout_,this)):this.timeoutId_=yo(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var V4b=function(a){return Gq&&"number"===typeof a.timeout&&void 0!==a.ontimeout};NB.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():D4b.createInstance()};
NB.prototype.timeout_=function(){"undefined"!=typeof PMb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};NB.prototype.error_=function(a,b){this.active_=!1;this.xhr_&&(this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1);this.lastError_=b;this.lastErrorCode_=a;W4b(this);X4b(this)};var W4b=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
NB.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"),X4b(this))};NB.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),X4b(this,!0));NB.superClass_.disposeInternal.call(this)};
NB.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)Y4b(this);else this.onReadyStateChangeEntryPoint_()};NB.prototype.onReadyStateChangeEntryPoint_=function(){Y4b(this)};
var Y4b=function(a){if(a.active_&&"undefined"!=typeof PMb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())yo(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=2<a.getReadyState()?a.xhr_.statusText:""}catch(c){b=""}a.lastError_=b+" ["+a.getStatus()+"]";W4b(a)}}finally{X4b(a)}}},X4b=function(a,
b){if(a.xhr_){U4b(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){}}},U4b=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&(zo(a.timeoutId_),a.timeoutId_=null)};f=NB.prototype;f.isActive=function(){return!!this.xhr_};f.isComplete=function(){return 4==this.getReadyState()};
f.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=0===a)a=String(this.lastUri_).match(G4b)[1]||null,!a&&ba.self&&ba.self.location&&(a=ba.self.location.protocol.slice(0,-1)),a=!R4b.test(a?a.toLowerCase():"");b=a}return b};f.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};f.getStatus=function(){try{return 2<this.getReadyState()?this.xhr_.status:-1}catch(a){return-1}};
f.getLastUri=function(){return String(this.lastUri_)};f.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};f.getResponseJson=function(a){if(this.xhr_){var b=this.xhr_.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));a:{a=b;if(ba.JSON)try{var c=ba.JSON.parse(a);break a}catch(d){}c=u4b(a)}return c}};
f.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}};f.getResponseHeader=function(a){if(this.xhr_&&this.isComplete())return a=this.xhr_.getResponseHeader(a),null===a?void 0:a};
f.getAllResponseHeaders=function(){return this.xhr_&&2<=this.getReadyState()?this.xhr_.getAllResponseHeaders()||"":""};f.getResponseHeaders=function(){for(var a={},b=this.getAllResponseHeaders().split("\r\n"),c=0;c<b.length;c++)if(!Ok(b[c])){var d=VTb(b[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var g=a[e]||[];a[e]=g;g.push(d)}}return Ica(a,function(h){return h.join(", ")})};var Gh=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};NB.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
NB.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};d2b(function(a){NB.prototype.onReadyStateChangeEntryPoint_=a(NB.prototype.onReadyStateChangeEntryPoint_)});var OB=function(a){this.internalArray_=l(a)};U(OB,q);OB.prototype.setTransmissionType=function(a){cj(this,1,a)};OB.prototype.setRetryCount=function(a){dj(this,3,a)};OB.prototype.toObject=function(){return Z4b(this)};var Z4b=function(a){if(null!=a)return t(a),{transmissionType:n(p(a,1)),isFinal:n(Ur(a,2)),retryCount:n(Ft(a,3))}};var $4b=function(a){this.internalArray_=l(a)};U($4b,q);f=$4b.prototype;f.getVersion=function(){return X(this,2)};f.getVersion_legacyNullable=function(){return X(this,2)};f.setVersion=function(a){return uk(this,2,a)};f.getVersionOrUndefined=function(){return Tt(this,2)};f.toObject=function(){return a5b(this)};var a5b=function(a){if(null!=a)return t(a),{brand:n(X(a,1)),version:n(X(a,2))}};var PB=function(a){this.internalArray_=l(a)};U(PB,q);PB.prototype.getMobile=function(){return Ur(this,2)};PB.prototype.setModel=function(a){return uk(this,6,a)};PB.repeatedFields_=[1];PB.prototype.toObject=function(){return b5b(this)};var b5b=function(a){if(null!=a)return t(a),{uaListList:Ub(oj(a,$4b,1),a5b),mobile:n(Ur(a,2)),platform:n(X(a,3)),platformVersion:n(X(a,4)),architecture:n(X(a,5)),model:n(X(a,6)),uaFullVersion:n(X(a,7)),bitness:n(X(a,8))}};var QB=function(a){this.internalArray_=l(a)};U(QB,q);f=QB.prototype;f.getLocale=function(){return X(this,5)};f.setLocale=function(a){return uk(this,5,a)};f.setBuildLabel=function(a){uk(this,7,a)};f.getMutableFlushInfo=function(){return nOb(this,OB,10)};f.toObject=function(){return c5b(this)};
var c5b=function(a){if(null!=a)return t(a),{os:n(X(a,1)),osVersion:n(X(a,2)),deviceType:n(p(a,3)),country:n(X(a,4)),locale:n(X(a,5)),osType:n(p(a,6)),buildLabel:n(X(a,7)),continent:n(X(a,8)),clientHints:b5b(W(a,PB,9)),flushInfo:Z4b(W(a,OB,10))}};var d5b=["platform","platformVersion","architecture","model","uaFullVersion"];new PB;var e5b=function(a){this.internalArray_=l(a)};U(e5b,q);e5b.prototype.toObject=function(){return f5b(this)};var f5b=function(a){if(null!=a)return t(a),{guestAngle:n(Ur(a,1))}};var g5b=function(a){this.internalArray_=l(a)};U(g5b,q);g5b.prototype.toObject=function(){return h5b(this)};var h5b=function(a){if(null!=a)return t(a),{buildVersion:n(X(a,1)),buildType:n(X(a,4)),omahaChannel:n(X(a,5)),battlestarClientType:n(p(a,2)),graphicsCapabilities:f5b(W(a,e5b,3)),battlestarMachineTier:n(p(a,6)),hypervisorType:n(p(a,7))}};var RB=function(a){this.internalArray_=l(a)};U(RB,q);RB.prototype.getClientType=function(){return p(this,1)};RB.prototype.setClientType=function(a){return cj(this,1,a)};RB.prototype.setBuildLabel=function(a){uk(this,2,a)};RB.prototype.toObject=function(){return i5b(this)};var i5b=function(a){if(null!=a)return t(a),{clientType:n(p(a,1)),buildLabel:n(X(a,2)),birdsongBuildLabel:n(X(a,3))}};var j5b=function(a){this.internalArray_=l(a)};U(j5b,q);j5b.prototype.getLocale=function(){return X(this,1)};j5b.prototype.setLocale=function(a){return uk(this,1,a)};j5b.prototype.toObject=function(){return k5b(this)};var k5b=function(a){if(null!=a)return t(a),{locale:n(X(a,1)),browser:n(X(a,2)),browserVersion:n(X(a,3)),flashVersion:n(X(a,4))}};var l5b=function(a){this.internalArray_=l(a)};U(l5b,q);f=l5b.prototype;f.getClientId=function(){return X(this,1)};f.setClientId=function(a){return uk(this,1,a)};f.getLoggingId=function(){return X(this,2)};f.setLoggingId=function(a){uk(this,2,a)};f.toObject=function(){return m5b(this)};
var m5b=function(a){if(null!=a)return t(a),{clientId:n(X(a,1)),loggingId:n(X(a,2)),os:n(X(a,3)),osMajorVersion:n(X(a,4)),osFullVersion:n(X(a,5)),applicationBuild:n(X(a,6)),country:n(X(a,7)),applicationBuildCl:n(p(a,8)),clearcutVersion:n(Ft(a,9))}};var n5b=function(a){this.internalArray_=l(a)};U(n5b,q);n5b.prototype.toObject=function(){return o5b(this)};var o5b=function(a){if(null!=a)return t(a),{buildVersion:n(X(a,1)),driveDesktopClientType:n(p(a,2))}};var p5b=function(a){this.internalArray_=l(a)};U(p5b,q);p5b.prototype.toObject=function(){return q5b(this)};var q5b=function(a){if(null!=a)return t(a),{buildVersion:n(X(a,1)),g1DesktopClientType:n(p(a,2))}};var r5b=function(a){this.internalArray_=l(a)};U(r5b,q);r5b.prototype.getLocale=function(){return X(this,11)};r5b.prototype.setLocale=function(a){return uk(this,11,a)};r5b.prototype.toObject=function(){return s5b(this)};
var s5b=function(a){if(null!=a)return t(a),{deviceId:n(X(a,9)),deviceModel:n(X(a,1)),appVersion:n(X(a,2)),acpVersion:n(X(a,16)),opalVersion:n(X(a,18)),virtualReleaseChannel:n(X(a,17)),manufacturer:n(X(a,3)),productName:n(X(a,4)),factoryCountry:n(X(a,5)),buildType:n(X(a,6)),systemBuild:n(X(a,7)),backendType:n(p(a,8)),locale:n(X(a,11)),onDeviceAssistantEnabled:n(Ur(a,12)),surfaceType:n(p(a,13)),ontologicalSurfaceType:n(p(a,19)),osType:n(p(a,14)),optedInMetricsLogging:n(Ur(a,15))}};var t5b=function(a){this.internalArray_=l(a)};U(t5b,q);t5b.prototype.getLocale=function(){return X(this,5)};t5b.prototype.setLocale=function(a){return uk(this,5,a)};t5b.prototype.toObject=function(){return u5b(this)};var u5b=function(a){if(null!=a)return t(a),{appVersion:n(X(a,1)),coreAppVersion:n(X(a,3)),deviceModel:n(X(a,2)),mccMnc:n(X(a,4)),locale:n(X(a,5))}};var v5b=function(a){this.internalArray_=l(a)};U(v5b,q);v5b.prototype.toObject=function(){return w5b(this)};var w5b=function(a){if(null!=a)return t(a),{osMajorVersion:n(X(a,1)),osFullVersion:n(X(a,2)),applicationBuild:n(X(a,3)),country:n(X(a,4)),applicationBuildCl:n(p(a,5)),clearcutVersion:n(Ft(a,6)),applicationBundleId:n(X(a,7))}};var x5b=function(a){this.internalArray_=l(a)};U(x5b,q);x5b.prototype.getAppId=function(){return X(this,3)};x5b.prototype.setAppId=function(a){uk(this,3,a)};x5b.prototype.toObject=function(){return y5b(this)};var y5b=function(a){if(null!=a)return t(a),{deviceId:n(X(a,1)),os:n(p(a,2)),appId:n(X(a,3)),appVersion:n(X(a,4)),mccMnc:n(X(a,5))}};var z5b=function(a){this.internalArray_=l(a)};U(z5b,q);f=z5b.prototype;f.getClientId=function(){return X(this,1)};f.setClientId=function(a){return uk(this,1,a)};f.getLoggingId=function(){return X(this,7)};f.setLoggingId=function(a){uk(this,7,a)};f.setModel=function(a){return uk(this,4,a)};f.toObject=function(){return A5b(this)};
var A5b=function(a){if(null!=a)return t(a),{clientId:n(X(a,1)),loggingId:n(X(a,7)),make:n(X(a,3)),model:n(X(a,4)),applicationBuild:n(X(a,5)),platformVersion:n(X(a,6)),country:n(X(a,8))}};var B5b=function(a){this.internalArray_=l(a)};U(B5b,q);B5b.prototype.toObject=function(){return C5b(this)};var C5b=function(a){if(null!=a)return t(a),{usageType:n(p(a,1))}};var D5b=function(a){this.internalArray_=l(a)};U(D5b,q);D5b.prototype.toObject=function(){return E5b(this)};var E5b=function(a){if(null!=a)return t(a),{isExtendedAdvertisingSupported:n(Ur(a,1)),isPeripheralRoleSupported:n(Ur(a,2)),isLowEnergySupported:n(Ur(a,3)),isAdvertisementOffloadSupported:n(Ur(a,4))}};var F5b=function(a){this.internalArray_=l(a)};U(F5b,q);F5b.prototype.toObject=function(){return G5b(this)};var G5b=function(a){if(null!=a)return t(a),{manufacturer:n(X(a,1)),deviceName:n(X(a,2)),driverProviderName:n(X(a,3)),driverVersion:n(X(a,4)),driverDate:n(X(a,5))}};var H5b=function(a){this.internalArray_=l(a)};U(H5b,q);H5b.repeatedFields_=[13,14];H5b.prototype.toObject=function(){return I5b(this)};
var I5b=function(a){if(null!=a)return t(a),{deviceType:n(p(a,1)),deviceManufacturer:n(X(a,2)),deviceModel:n(X(a,3)),physicalMemory:n(p(a,4)),processorCount:n(Ft(a,5)),logicalProcessorCount:n(Ft(a,6)),osName:n(X(a,7)),osVersion:n(X(a,8)),osArchitecture:n(X(a,9)),osLanguageCode:n(X(a,10)),cpuManufacturer:n(X(a,11)),cpuName:n(X(a,12)),bluetoothDriverInfosList:Ub(oj(a,F5b,13),G5b),networkDriverInfosList:Ub(oj(a,F5b,14),G5b),bleExtdAdvSupported:n(Ur(a,15)),bluetoothInfo:E5b(W(a,D5b,16)),usageType:n(p(a,
17))}};var SB=function(a){this.internalArray_=l(a)};U(SB,q);SB.prototype.getBattlestarClientInfo=function(){return fk(this,g5b,1,J5b)};SB.prototype.getDriveDesktopClientInfo=function(){return fk(this,n5b,2,J5b)};SB.prototype.getG1DesktopClientInfo=function(){return fk(this,p5b,3,J5b)};SB.prototype.getWindowsClientInfo=function(){return fk(this,H5b,5,J5b)};var J5b=[1,2,3,4,5];SB.prototype.toObject=function(){return K5b(this)};
var K5b=function(a){if(null!=a)return t(a),{battlestarClientInfo:h5b(a.getBattlestarClientInfo()),driveDesktopClientInfo:o5b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:q5b(a.getG1DesktopClientInfo()),nearbyClientInfo:C5b(fk(a,B5b,4,J5b)),windowsClientInfo:I5b(a.getWindowsClientInfo())}};var L5b=function(a){this.internalArray_=l(a)};U(L5b,q);L5b.prototype.toObject=function(){return M5b(this)};var M5b=function(a){if(null!=a)return t(a),{machineClass:n(p(a,1))}};var N5b=function(a){this.internalArray_=l(a)};U(N5b,q);N5b.prototype.setModel=function(a){return uk(this,6,a)};N5b.prototype.toObject=function(){return O5b(this)};var O5b=function(a){if(null!=a)return t(a),{vrClientType:n(p(a,1)),sdkVersion:n(X(a,2)),fingerprint:n(X(a,3)),gvrVersion:n(X(a,4)),manufacturer:n(X(a,5)),model:n(X(a,6)),language:n(X(a,7)),country:n(X(a,8)),unityVersion:n(X(a,9)),unitySdkVersion:n(X(a,10))}};var P5b=function(a){this.internalArray_=l(a)};U(P5b,q);f=P5b.prototype;f.setBuildLabel=function(a){uk(this,1,a)};f.setEnvironment=function(a){return uk(this,3,a)};f.getEnvironmentOrUndefined=function(){return Tt(this,3)};f.getLocation=function(){return X(this,4)};f.toObject=function(){return Q5b(this)};
var Q5b=function(a){if(null!=a)return t(a),{buildLabel:n(X(a,1)),deploymentType:n(X(a,2)),environment:n(X(a,3)),location:n(X(a,4)),machine:n(X(a,5)),gameletId:n(X(a,6)),machineShape:n(X(a,7)),metro:n(X(a,8)),vmPurpose:n(X(a,9)),releaseStage:n(X(a,10))}};var TB=function(a){this.internalArray_=l(a)};U(TB,q);f=TB.prototype;f.getClientType=function(){return p(this,1)};f.setClientType=function(a){return cj(this,1,a)};f.getBattlestarClientInfo=function(){return W(this,g5b,22)};f.getDriveDesktopClientInfo=function(){return W(this,n5b,24)};f.getG1DesktopClientInfo=function(){return W(this,p5b,25)};f.getMutableJsClientInfo=function(){return nOb(this,QB,11)};f.getWindowsClientInfo=function(){return W(this,H5b,26)};f.toObject=function(){return R5b(this)};
var R5b=function(a){if(null!=a)return t(a),{clientType:n(p(a,1)),remoteHost:n(X(a,6)),remoteHost6:n(X(a,7)),battlestarClientInfo:h5b(a.getBattlestarClientInfo()),birdsongClientInfo:i5b(W(a,RB,14)),desktopClientInfo:m5b(W(a,l5b,3)),driveDesktopClientInfo:o5b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:q5b(a.getG1DesktopClientInfo()),googleHomeClientInfo:s5b(W(a,r5b,16)),jsClientInfo:c5b(W(a,QB,11)),kaiosClientInfo:u5b(W(a,t5b,20)),macClientInfo:w5b(W(a,v5b,13)),pancettaClientInfo:y5b(W(a,x5b,
10)),playCeClientInfo:A5b(W(a,z5b,5)),portablePhenotypeLibraryClientInfo:K5b(W(a,SB,23)),sparklightClientInfo:M5b(W(a,L5b,18)),vrClientInfo:O5b(W(a,N5b,8)),windowsClientInfo:I5b(a.getWindowsClientInfo()),yetiClientInfo:Q5b(W(a,P5b,15)),browserInfo:k5b(W(a,j5b,9)),heterodyneConfigVersion:n(p(a,12))}};eu[66321687]=Tb(66321687,{messageSetExtension:0},TB,R5b);var S5b=function(a){this.internalArray_=l(a)};U(S5b,q);S5b.repeatedFields_=[1,2,3,4,5];S5b.prototype.toObject=function(){return T5b(this)};var T5b=function(a){if(null!=a)return t(a),{clientAlteringExperimentList:n(Xh(a,1)),otherExperimentList:n(Xh(a,2)),gwsExperimentList:n(Uh(a,3)),playExperimentList:n(sl(a,4)),unsupportedPlayExperimentList:n(sl(a,5))}};var U5b=function(a){this.internalArray_=l(a)};U(U5b,q);f=U5b.prototype;f.getVersion=function(){return X(this,3)};f.getVersion_legacyNullable=function(){return X(this,3)};f.setVersion=function(a){return uk(this,3,a)};f.getVersionOrUndefined=function(){return Tt(this,3)};f.toObject=function(){return V5b(this)};var V5b=function(a){if(null!=a)return t(a),{appType:n(Ft(a,1)),androidPackageName:n(X(a,2)),version:n(X(a,3))}};var W5b=function(a){this.internalArray_=l(a)};U(W5b,q);f=W5b.prototype;f.getKey=function(){return X(this,1)};f.hasKey=function(){return Jk(this,1)};f.getValue=function(){return X(this,2)};f.getValue_legacyNullable=function(){return X(this,2)};f.setValue=function(a){return uk(this,2,a)};f.hasValue=function(){return Jk(this,2)};f.toObject=function(){return X5b(this)};var X5b=function(a){if(null!=a)return t(a),{key:n(X(a,1)),value:n(X(a,2))}};var Y5b=function(a){this.internalArray_=l(a)};U(Y5b,q);Y5b.prototype.toObject=function(){return Z5b(this)};var Z5b=function(a){if(null!=a)return t(a),{networkType:aj(a,1,-1),mobileSubtype:aj(a,2,0)}};var UB=function(a){this.internalArray_=l(a)};U(UB,q);UB.prototype.toObject=function(){return $5b(this)};var $5b=function(a){if(null!=a)return t(a),{privacyContext:r4b(W(a,q4b,1)),productIdOrigin:aj(a,2,0)}};var VB=function(a){this.internalArray_=l(a,34)};U(VB,q);f=VB.prototype;f.getTag=function(){return X(this,2)};f.getComponentId=function(){return X(this,26)};f.setComponentId=function(a){return uk(this,26,a)};f.hasComponentId=function(){return Jk(this,26)};f.getValueList=function(){return oj(this,W5b,3)};f.addValue=function(){return Mo(this,3,W5b)};f.setValue=function(a,b){return zt(this,3,W5b,a,b)};f.getStore=function(){return So(this,4)};var a6b=function(a,b){return uk(a,8,b)};
VB.prototype.getExperimentIds=function(){return W(this,LB,16)};VB.prototype.setExperimentIds=function(a){lj(this,LB,16,a)};VB.prototype.clearExperimentIds=function(){return Ct(this,16)};var b6b=function(a,b){uk(a,24,b)};VB.prototype.getComplianceData=function(){return W(this,UB,33)};VB.prototype.setComplianceData=function(a){lj(this,UB,33,a)};var c6b={};VB.repeatedFields_=[3,20,27];VB.prototype.toObject=function(){return d6b(this)};
var d6b=function(a){if(null!=a){t(a);var b={eventTimeMs:n(p(a,1)),eventUptimeMs:n(p(a,17)),bootCount:n(p(a,22)),sequencePosition:n(p(a,21)),tag:n(X(a,2)),eventCode:n(Ft(a,11)),componentId:n(X(a,26)),eventFlowId:n(p(a,12)),isUserInitiated:n(Ur(a,10)),valueList:Ub(a.getValueList(),X5b),store:Xb(a.getStore()),appUsage1p:V5b(W(a,U5b,9)),sourceExtension:Xb(So(a,6)),sourceExtensionJs:n(X(a,8)),sourceExtensionJson:n(X(a,13)),sourceExtensionJsonProto3:n(X(a,29)),exp:T5b(W(a,S5b,7)),testId:n(X(a,14)),timezoneOffsetSeconds:uj(a,
15,18E4),experimentIds:n4b(a.getExperimentIds()),clientVe:Xb(So(a,18)),clientVeJs:n(X(a,24)),internalEvent:n(p(a,19)),testCodeList:n(Uh(a,20)),genericDimensionsList:n(Uh(a,27)),networkConnectionInfo:Z5b(W(a,Y5b,23)),inDirectBootMode:n(Ur(a,25)),zwiebackCookieOverride:n(X(a,28)),moduleAppliedSamplingRate:n(Qo(a,30)),clientAppliedSamplingRate:n(Qo(a,32)),complianceData:$5b(a.getComplianceData())};Vb(a,b,c6b);return b}};var e6b=function(a){this.internalArray_=l(a)};U(e6b,q);e6b.prototype.toObject=function(){return f6b(this)};var f6b=function(a){if(null!=a)return t(a),{collectStartMs:n(p(a,3)),collectUntilMs:n(p(a,1)),skipPersistentLogStorage:n(Ur(a,2))}};var g6b=function(a){this.internalArray_=l(a)};U(g6b,q);g6b.prototype.toObject=function(){return h6b(this)};var h6b=function(a){if(null!=a)return t(a),{isUnmetered:n(Ur(a,1)),isCharging:n(Ur(a,2)),autoTimeStatus:n(p(a,3)),isGooglerDevice:n(Ur(a,4))}};var i6b=function(a){this.internalArray_=l(a)};U(i6b,q);f=i6b.prototype;f.getSource=function(){return X(this,3)};f.setSource=function(a){return uk(this,3,a)};f.hasSource=function(){return Jk(this,3)};f.getSourceOrUndefined=function(){return Tt(this,3)};f.toObject=function(){return j6b(this)};var j6b=function(a){if(null!=a)return t(a),{timeMs:n(p(a,1)),uptimeMs:n(p(a,2)),source:n(X(a,3))}};var k6b=function(a){this.internalArray_=l(a,19)};U(k6b,q);f=k6b.prototype;f.getClientInfo=function(){return W(this,TB,1)};f.getMutableClientInfo=function(){return nOb(this,TB,1)};f.setClientInfo=function(a){lj(this,TB,1,a)};f.setLogSource=function(a){return cj(this,2,a)};f.getQosTier=function(){return aj(this,9,0)};f.getComplianceData=function(){return W(this,UB,18)};f.setComplianceData=function(a){lj(this,UB,18,a)};var l6b={};k6b.repeatedFields_=[3,5];
k6b.prototype.toObject=function(){if(null!=this){t(this);var a={requestTimeMs:n(p(this,4)),requestUptimeMs:n(p(this,8)),clientInfo:R5b(this.getClientInfo()),logSource:aj(this,2,-1),logSourceName:n(X(this,6)),zwiebackCookie:n(X(this,7)),logEventList:Ub(oj(this,VB,3),d6b),serializedLogEventsList:Xb(Bt(this,5)),logEventDroppedCount:n(p(this,14)),qosTier:aj(this,9,0),scheduler:n(p(this,10)),deviceStatus:h6b(W(this,g6b,11)),externalTimestamp:j6b(W(this,i6b,12)),collectForDebug:f6b(W(this,e6b,13)),appMobilespecId:n(db(p(this,
16))),complianceData:$5b(this.getComplianceData())};Vb(this,a,l6b)}else a=void 0;return a};var WB=function(a){this.internalArray_=l(a)};U(WB,q);WB.prototype.getId=function(a){return Lt(this,1,a)};WB.prototype.setId=function(a){return Ot(this,1,a)};WB.repeatedFields_=[1];WB.prototype.toObject=function(){return m6b(this)};var m6b=function(a){if(null!=a)return t(a),{idList:n(Xh(a,1))}};var n6b=function(a){this.internalArray_=l(a)};U(n6b,q);n6b.prototype.toObject=function(){return o6b(this)};var o6b=function(a){if(null!=a)return t(a),{logRequestIndex:n(Ft(a,1)),responseAction:n(p(a,2))}};var p6b=function(a){this.internalArray_=l(a)};U(p6b,q);p6b.repeatedFields_=[1];p6b.prototype.toObject=function(){return q6b(this)};var q6b=function(a){if(null!=a)return t(a),{logSourceNameList:n(Xh(a,1))}};var r6b=function(a){this.internalArray_=l(a)};U(r6b,q);r6b.prototype.getQosTier=function(){return p(this,2)};r6b.prototype.setLogSource=function(a){return cj(this,3,a)};r6b.prototype.toObject=function(){return s6b(this)};var s6b=function(a){if(null!=a)return t(a),{logSourceName:n(X(a,1)),qosTier:n(p(a,2)),logSource:aj(a,3,-1)}};var t6b=function(a){this.internalArray_=l(a)};U(t6b,q);t6b.repeatedFields_=[1];t6b.prototype.toObject=function(){return u6b(this)};var u6b=function(a){if(null!=a)return t(a),{qosTierConfigurationList:Ub(oj(a,r6b,1),s6b),qosTierFingerprint:n(p(a,2))}};var XB=function(a){this.internalArray_=l(a,6)};U(XB,q);XB.prototype.getExperiments=function(){return W(this,WB,2)};XB.prototype.setExperiments=function(a){lj(this,WB,2,a)};XB.prototype.hasExperiments=function(){return Pj(this,WB,2)};XB.prototype.getQosTier=function(){return W(this,t6b,3)};var v6b=Yb(XB),w6b={};XB.repeatedFields_=[5];
XB.prototype.toObject=function(){if(null!=this){t(this);var a={nextRequestWaitMillis:Ki(this,1,"-1"),experiments:m6b(this.getExperiments()),qosTier:u6b(this.getQosTier()),logSourceBatchingDenylist:q6b(W(this,p6b,4)),logResponseDetailsList:Ub(oj(this,n6b,5),o6b)};Vb(this,a,w6b)}else a=void 0;return a};var x6b=function(a){this.internalArray_=l(a)};U(x6b,q);x6b.prototype.toObject=function(){return y6b(this)};var y6b=function(a){if(null!=a)return t(a),{suggestedFlushIntervalMillis:Vh(a,1,-1)}};var z6b=Tb(175237375,{jsExtension:0},x6b,y6b);w6b[175237375]=z6b;var ZB=function(a){fp.call(this);var b=this;this.componentId="";this.pendingEvents=[];this.lastFailedAuth="";this.useGetRequestForFinalFlush=this.useSendBeaconForFinalFlush=this.clientSideLogOnlyForDevelopment=!1;this.noFlushUntilMs=this.startWaitingMs=-1;this.useConsistentTimezoneOffset=this.clientSpecifiedFlushInterval=!1;this.gzipCompressor=this.experimentIds=null;this.numRetriesSinceLastSuccessfulFlush=this.numLogsDroppedSinceLastFlush=0;this.sequencePosition=1;this.timeoutMillis=0;this.sendBeaconApiEnabled=
!1;fp.call(this);this.logSource=a.logSource;this.getAuthHeaderValue=a.getAuthHeaderValue||function(){};this.logRequestBuilder=new YB(a.logSource,a.isServiceWorkerScope);this.network=a.network;this.productID=a.productID||null;this.bufferSize=1E3;this.uniformRandomFunction=mt(y2b,0,1);this.clearcutUrl=a.urlOverride||null;this.sessionIndex=a.sessionIndex||null;this.disableAutomaticFlush=a.disableAutomaticFlush||!1;this.pageId=a.pageId||null;this.logger=null;this.withCredentials=!a.disableWithCredentials;
this.isServiceWorkerScope=a.isServiceWorkerScope||!1;this.isSendBeaconSupported=!this.isServiceWorkerScope&&!!xB()&&!!xB().navigator&&void 0!==xB().navigator.sendBeacon;var c=(new TB).setClientType(1);this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new s4b(1E4);this.flushTimer=new EB(this.flushBackoff.getValue());jB(this,this.flushTimer);a=A6b(this,a.backgroundJobDeferrer);gp(this.flushTimer,"tick",a,!1,this);this.backupTimer=new EB(6E5);jB(this,this.backupTimer);gp(this.backupTimer,"tick",
a,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(gp(document,"visibilitychange",function(){"hidden"===document.visibilityState&&b.finalFlush()}),gp(document,"pagehide",this.finalFlush,!1,this))};U(ZB,fp);var A6b=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}};ZB.prototype.disposeInternal=function(){this.finalFlush();fp.prototype.disposeInternal.call(this)};
ZB.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};ZB.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};ZB.prototype.getClearcutUrl=function(){this.clearcutUrl||(this.clearcutUrl=.01>this.uniformRandomFunction()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return this.clearcutUrl};var $B=function(a,b){b instanceof VB?a.log(b):(b=a6b(new VB,b.serialize()),a.log(b))};f=ZB.prototype;
f.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};f.setComponentId=function(a){this.componentId=a};f.setProductID=function(a){this.productID=a};f.setOpaqueExperimentIds=function(a){this.experimentIds||(this.experimentIds=new LB);mOb(this.experimentIds,2,a)};f.setClearExperimentIds=function(a){a?(this.experimentIds||(this.experimentIds=new LB),a=a.serialize(),uk(this.experimentIds,4,a)):this.experimentIds&&Ct(this.experimentIds,4)};
f.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};f.setGzipCompressor=function(a){this.gzipCompressor=a};f.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};f.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;B6b(this,a)};var B6b=function(a,b){a.flushBackoff=new s4b(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
ZB.prototype.log=function(a){a=a.clone();var b=this.sequencePosition++;a=cj(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(!p(a,1)){b=a;var c=Date.now().toString();cj(b,1,c)}$k(a,15)||cj(a,15,(new Date).getTimezoneOffset()*(this.useConsistentTimezoneOffset?-60:60));this.experimentIds&&a.setExperimentIds(this.experimentIds.clone());b=this.pendingEvents.length-this.bufferSize+1;0<b&&(this.pendingEvents.splice(0,b),this.numLogsDroppedSinceLastFlush+=b);this.pendingEvents.push(a);this.dispatchEvent(new C6b(a));
this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
ZB.prototype.flush=function(a,b){var c=this;if(0===this.pendingEvents.length)a&&a();else if(this.sendBeaconApiEnabled)this.logRequestBuilder.setTransmissionType(3),D6b(this);else{var d=Date.now();if(this.noFlushUntilMs>d&&this.startWaitingMs<d)b&&b("throttled");else{this.logRequestBuilder.setTransmissionType(1);var e=this.logRequestBuilder.build(this.pendingEvents,this.numLogsDroppedSinceLastFlush,this.numRetriesSinceLastSuccessfulFlush,this.productID);d={};var g=this.getAuthHeaderValue();g&&(d.Authorization=
g);var h=this.getClearcutUrl();this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,h=M4b(h,"authuser",this.sessionIndex));this.pageId&&(d["X-Goog-PageId"]=this.pageId,h=M4b(h,"pageId",this.pageId));if(g&&this.lastFailedAuth===g)b&&b("stale-auth-token");else if(this.pendingEvents=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{var m=e.serialize(),r;this.gzipCompressor&&this.gzipCompressor.getHiddenPropertyName_()&&
(r=this.gzipCompressor.compress(m));var v={url:h,body:m,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},y=function(N){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());if(N){var Q=null;try{var Z=JSON.stringify(JSON.parse(N.replace(")]}'\n","")));Q=v6b(Z)}catch(Y){}Q&&(N=Number(Ki(Q,1,"-1")),0<N&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+N),Q=Dca(Q,z6b))&&(Q=Vh(Q,1,-1),-1!==Q&&(c.clientSpecifiedFlushInterval||
B6b(c,Q)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},A=function(N,Q){var Z=oj(e,VB,3),Y=p(e,14),ea=c.flushBackoff;ea.currBaseValue_=Math.min(3E5,2*ea.currBaseValue_);ea.currValue_=Math.min(3E5,ea.currBaseValue_+Math.round(.2*(Math.random()-.5)*ea.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());401===N&&g&&(c.lastFailedAuth=g);Y&&(c.numLogsDroppedSinceLastFlush+=Y);void 0===Q&&(Q=500<=N&&600>N||401===N||0===N);Q&&(c.pendingEvents=Z.concat(c.pendingEvents),c.disableAutomaticFlush||
c.flushTimer.enabled||c.flushTimer.start());b&&b("net-send-failed",N);++c.numRetriesSinceLastSuccessfulFlush},G=function(){c.network&&c.network.send(v,y,A)};r?r.then(function(N){v.requestHeaders["Content-Encoding"]="gzip";v.requestHeaders["Content-Type"]="application/binary";v.body=N;v.bodyType=2;G()},function(){G()}):G()}}}};
ZB.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(E6b(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),D6b(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),F6b(this)),this.flush(),E6b(this.logRequestBuilder,!1))};
var D6b=function(a){G6b(a,32,10,function(b,c){b=M4b(b,"format","json");var d=!1;try{d=xB().navigator.sendBeacon(b,c.serialize())}catch(e){}a.sendBeaconApiEnabled&&!d&&(a.sendBeaconApiEnabled=!1);return d})},F6b=function(a){G6b(a,6,5,function(b,c){c=c.serialize();for(var d=[],e=0,g=0;g<c.length;g++){var h=c.charCodeAt(g);255<h&&(d[e++]=h&255,h>>=8);d[e++]=h}c=Daa(d,3);b=MB(b,"format","base64json","p",c);if(15360<b.length)return!1;(new Image).src=b;return!0})},G6b=function(a,b,c,d){if(0!==a.pendingEvents.length){var e=
a.getClearcutUrl();for(var g=e.search(O4b),h=0,m,r=[];0<=(m=N4b(e,h,"format",g));)r.push(e.substring(h,m)),h=Math.min(e.indexOf("&",m)+1||g,g);r.push(e.slice(h));e=r.join("").replace(Q4b,"$1");e=MB(e,"auth",a.getAuthHeaderValue(),"authuser",a.sessionIndex||"0");for(g=0;g<c&&a.pendingEvents.length;++g){h=a.pendingEvents.slice(0,b);m=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush,a.productID);if(!d(e,m)){++a.numRetriesSinceLastSuccessfulFlush;break}a.numLogsDroppedSinceLastFlush=
0;a.numRetriesSinceLastSuccessfulFlush=0;a.pendingEvents=a.pendingEvents.slice(h.length)}a.flushTimer.enabled&&a.flushTimer.stop()}},C6b=function(){kB.call(this,"event-logged",void 0)};U(C6b,kB);var YB=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new k6b;Number.isInteger(a)&&this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new TB)};
YB.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};YB.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);a.getClientType()||a.setClientType(1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),W(a,PB,9)||lj(a,PB,9,this.uach))};YB.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};
YB.prototype.setTransmissionType=function(a){Pj(this.getMutableClientInfo(),QB,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var E6b=function(a,b){Pj(a.getMutableClientInfo(),QB,11)&&(a=a.getMutableFlushInfo(),Xj(a,2,b))};YB.prototype.setRetryCount=function(a){Pj(this.getMutableClientInfo(),QB,11)&&this.getMutableFlushInfo().setRetryCount(a)};YB.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var H6b=function(a,b){var c=void 0===c?d5b:c;b(xB(),c).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();lj(d,PB,9,a.uach);return!0}).catch(function(){return!1})};YB.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=W(a,QB,11);b||(b=new QB,lj(a,QB,11,b));return b};YB.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=W(a,OB,10);b||(b=new OB,Xj(b,2,!1),lj(a,OB,10,b));return b};
YB.prototype.getComplianceData=function(a){var b=new o4b;a=dj(b,13,a);b=new q4b;a=lj(b,o4b,2,a);b=new UB;return lj(b,q4b,1,a)};YB.prototype.build=function(a,b,c,d){b=void 0===b?0:b;this.setRetryCount(void 0===c?0:c);c=this.logRequest.clone();var e=Date.now().toString();c=cj(c,4,e);a=rj(c,3,a);d&&a.setComplianceData(this.getComplianceData(d));b&&cj(a,14,b);return a};var I6b=function(){};I6b.prototype.send=function(a,b,c){b=void 0===b?function(){}:b;c=void 0===c?function(){}:c;oo(a.url,function(d){d=d.target;d.isSuccess()?b(d.getResponseText()):c(d.getStatus())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};var J6b=function(a,b){iB.call(this);this.logSource=a;this.sessionIndex=b;this.destinationUrl="https://play.google.com/log?format=json&hasfast=true";this.serviceWorkerScopeEnabled=!1;this.componentId="";this.sendBeaconApiEnabled=this.getRequestForFinalFlush=this.sendBeaconForFinalFlush=!1;this.useConsistentTimezoneOffset=void 0;this.network=new I6b};U(J6b,iB);f=J6b.prototype;f.setBuildLabel=function(a){this.buildLabel=a};f.setGzipCompressor=function(a){this.gzipCompressor=a};
f.setComponentId=function(a){this.componentId=a;return this};f.setProductID=function(a){this.productID=a};f.setClearExperimentIds=function(a){this.clearExperimentIds=a};f.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds=a};f.setClearcutClientInfo=function(a){this.clearcutClientInfo=a};f.useSendBeaconForFinalFlush=function(){this.sendBeaconForFinalFlush=!0;return this};f.useGetRequestForFinalFlush=function(){this.getRequestForFinalFlush=!0;return this};
f.setFlushIntervalMs=function(a){this.flushIntervalMs=Math.max(a,1E3)};f.disableWithCredentials=function(){this.withCredentialsDisabled=!0;return this};f.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
f.build=function(){var a=new ZB({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:cp,sessionIndex:this.sessionIndex,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,pageId:void 0,backgroundJobDeferrer:void 0,network:this.network?this.network:void 0});jB(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.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);this.userAgentClientHintsProvider&&H6b(a.logRequestBuilder,this.userAgentClientHintsProvider);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);return a};var K6b=function(a,b,c,d,e,g){a=void 0===a?-1:a;b=void 0===b?"":b;c=void 0===c?"":c;d=void 0===d?!1:d;e=void 0===e?"":e;iB.call(this);g?c=g:(a=(new J6b(a,"0")).setComponentId(b),jB(this,a),""!=c&&(a.destinationUrl=c),d&&(a.serviceWorkerScopeEnabled=!0),e&&a.setBuildLabel(e),c=a.build());this.componentId_=b;this.transport_=c};U(K6b,iB);K6b.prototype.getComponentId=function(){return this.componentId_};
K6b.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new d4b,c=[],d=0;d<a.length;d++){var e=a[d],g=e;var h=new KB;h=uk(h,1,g.metricName_);for(var m=g,r=[],v=0;v<m.fields_.length;v++)r.push(m.fields_[v].field_name);h=Ri(h,3,r);m=[];r=[];v=k(g.cellMap_.keys());for(var y=v.next();!y.done;y=v.next())r.push(y.value.split(","));for(v=0;v<r.length;v++){y=r[v];var A=g.cellType_;for(var G=g.getCells(y)||[],N=[],Q=0;Q<G.length;Q++){var Z=G[Q];Z=Z&&Z.cellValue_;var Y=new HB;switch(A){case 3:Co(Y,1,
IB,Number(Z));break;case 2:Co(Y,2,IB,Va(Number(Z)))}N.push(Y)}A=N;for(G=0;G<A.length;G++){N=A[G];Q=new JB;N=lj(Q,HB,2,N);Q=y;Z=[];Y=g;for(var ea=[],ja=0;ja<Y.fields_.length;ja++)ea.push(Y.fields_[ja].field_type);Y=ea;for(ea=0;ea<Y.length;ea++){ja=Y[ea];var va=Q[ea],za=new FB;switch(ja){case 3:Io(za,1,GB,String(va));break;case 2:Co(za,2,GB,mba(Number(va)));break;case 1:Co(za,3,GB,Ya("true"==va))}Z.push(za)}rj(N,1,Z);m.push(N)}}rj(h,4,m);c.push(h);e.clear()}rj(b,1,c);$B(this.transport_,b);this.transport_.flush()}};var L6b=new Zc("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(" ")}}),M6b=new Zc("STREAMZ_PRODUCT_IDENTIFIER"),N6b=new Zc("STREAMZ_ALLOWLIST_IDENTIFIER"),O6b=new Zc("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return Hc(ef).runOutsideAngular(function(){var a=new K6b(1503);a=new z3b(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),aC=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new C3b(this.streamzService);new D3b(this.streamzService);new E3b(this.streamzService);new F3b(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(K3b);this.allowlistIdentifier=J3b(null!=e?e:this.productIdentifier)};
aC.prototype.logUsageMetric=function(a,b){var c=this;this.zone.runOutsideAngular(function(){P6b(c)&&c.oneDeveloperWorkflowUsageMetrics.increment(a,c.productIdentifier,b)})};var P6b=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};aC.\u0275fac=function(a){return new (a||aC)(u(O6b),u(ef),u(L6b),u(M6b,8),u(N6b,8))};aC.\u0275prov=wc({token:aC,factory:aC.\u0275fac,providedIn:"root"});var Q6b=new Zc("Feature Tooltip Controller Config");new Zc("TooltipAnchor");new Zc("TooltipPeventer");var R6b=Wg("transformMenu",[$g("void",Zg({opacity:0,transform:"scale(0.8)"})),ah("void => enter",Yg("120ms cubic-bezier(0, 0, 0.2, 1)",Zg({opacity:1,transform:"scale(1)"}))),ah("* => void",Yg("100ms 25ms linear",Zg({opacity:0})))]),S6b=Wg("fadeInItems",[$g("showing",Zg({opacity:1})),ah("void => *",[Zg({opacity:0}),Yg("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var T6b=new Zc("MatMenuContent"),bC=function(a,b,c,d,e,g,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=g;this._changeDetectorRef=h;this._attached=new E.Subject};
bC.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new Xx(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new Zx(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;null==(c=this._changeDetectorRef)||c.markForCheck();this._portal.attach(this._outlet,a);this._attached.next()};
bC.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};bC.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};bC.\u0275fac=function(a){return new (a||bC)(C(Zf),C(Mv),C(Fw),C(Lv),C($f),C(uh),C(Hw))};bC.\u0275dir=Qc({type:bC});var U6b=new Zc("MAT_MENU_PANEL");var V6b=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],W6b=yh(zh(function(){})),cC=function(a,b,c,d,e){var g=W6b.call(this)||this;g._elementRef=a;g._document=b;g._focusMonitor=c;g._parentMenu=d;g._changeDetectorRef=e;g.role="menuitem";g._hovered=new E.Subject;g._focused=new E.Subject;g._highlighted=!1;g._triggersSubmenu=!1;var h;null==d||null==(h=d.addItem)||h.call(d,g);return g};U(cC,W6b);f=cC.prototype;
f.focus=function(a,b){this._focusMonitor&&a?Tx(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};f.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};f.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
f._getTabIndex=function(){return this.disabled?"-1":"0"};f._getHostElement=function(){return this._elementRef.nativeElement};f._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};f._handleMouseEnter=function(){this._hovered.next(this)};f.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(null==(d=a.textContent)?void 0:d.trim())||""};
f._setHighlighted=function(a){this._highlighted=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};f._setTriggersSubmenu=function(a){this._triggersSubmenu=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};f._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};cC.\u0275fac=function(a){return new (a||cC)(C(Bd),C(uh),C(Sx),C(U6b,8),C(Hw))};
cC.\u0275cmp=Mc({type:cC,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&&(pf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),yf("mat-mdc-menu-item-highlighted",b._highlighted)("mat-mdc-menu-item-submenu-trigger",b._triggersSubmenu))},inputs:{disabled:"disabled",
disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[lf],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"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["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&&(Gf(V6b),Hf(0),H(1,"span",0),Hf(2,1),I(),J(3,"div",1),P(4,Cpa,2,0,"svg",2));a&2&&(B(3),F("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),B(1),F("ngIf",b._triggersSubmenu))},dependencies:[Ow,Sz],encapsulation:2,changeDetection:0});var X6b=0,Y6b=new Zc("mat-menu-default-options",{providedIn:"root",factory:Epa}),dC=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._changeDetectorRef=d;this._directDescendantItems=new fg;this._classList={};this._panelAnimationState="void";this._animationDone=new E.Subject;this.close=this.closed=new pw;this.panelId="mat-menu-panel-"+X6b++;this.overlayPanelClass=c.overlayPanelClass||"";this._xPosition=c.xPosition;this._yPosition=c.yPosition;this.backdropClass=c.backdropClass;this._overlapTrigger=
c.overlapTrigger;this._hasBackdrop=c.hasBackdrop};f=dC.prototype;f.ngOnInit=function(){this.setPositionClasses()};
f.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=hz(j_b(ez(new kz(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe($e(this._directDescendantItems),af(function(b){return E.merge.apply(null,ad(b.map(function(c){return c._focused})))})).subscribe(function(b){return iz(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,
d;"enter"===a._panelAnimationState&&(null==(d=c.activeItem)?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())})};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;null==(b=this._firstItemFocusSubscription)||b.unsubscribe()};
f._hovered=function(){return this._directDescendantItems.changes.pipe($e(this._directDescendantItems),af(function(a){return E.merge.apply(null,ad(a.map(function(b){return b._hovered})))}))};f.addItem=function(){};f.removeItem=function(){};
f._handleKeydown=function(a){var b=a.keyCode,c=this._keyManager;switch(b){case 27:Kg(a)||(a.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:38!==b&&40!==b||m_b(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var Z6b=function(a,b){b=void 0===b?"program":b;var c;null==(c=a._firstItemFocusSubscription)||c.unsubscribe();a._firstItemFocusSubscription=a._ngZone.onStable.pipe(Oe()).subscribe(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;m_b(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}})};f=dC.prototype;
f.setElevation=function(a){var b=this;a=this._elevationPrefix+Math.min(this._baseElevation+a,24);var c=Object.keys(this._classList).find(function(d){return d.startsWith(b._elevationPrefix)});c&&c!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)};
f.setPositionClasses=function(a,b){a=void 0===a?this.xPosition:a;b=void 0===b?this.yPosition:b;var c=this._classList;c["mat-menu-before"]="before"===a;c["mat-menu-after"]="after"===a;c["mat-menu-above"]="above"===b;c["mat-menu-below"]="below"===b;var d;null==(d=this._changeDetectorRef)||d.markForCheck()};f._startAnimation=function(){this._panelAnimationState="enter"};f._resetAnimation=function(){this._panelAnimationState="void"};
f._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};f._onAnimationStart=function(a){this._isAnimating=!0;"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)};f._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe($e(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));ag(a._directDescendantItems)})};
wh.Object.defineProperties(dC.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()}},overlapTrigger:{configurable:!0,enumerable:!0,get:function(){return this._overlapTrigger},set:function(a){this._overlapTrigger=Gg(a)}},hasBackdrop:{configurable:!0,enumerable:!0,
get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=Gg(a)}},panelClass:{configurable:!0,enumerable:!0,set:function(a){var b=this,c=this._previousPanelClass;c&&c.length&&c.split(" ").forEach(function(d){b._classList[d]=!1});(this._previousPanelClass=a)&&a.length&&(a.split(" ").forEach(function(d){b._classList[d]=!0}),this._elementRef.nativeElement.className="")}},classList:{configurable:!0,enumerable:!0,get:function(){return this.panelClass},set:function(a){this.panelClass=a}}});
dC.\u0275fac=function(a){return new (a||dC)(C(Bd),C(ef),C(Y6b),C(Hw))};
dC.\u0275dir=Qc({type:dC,contentQueries:function(a,b,c){a&1&&(dg(c,T6b,5),dg(c,cC,5),dg(c,cC,4));if(a&2){var d;bg(d=eg())&&(b.lazyContent=d.first);bg(d=eg())&&(b._allItems=d);bg(d=eg())&&(b.items=d)}},viewQuery:function(a,b){a&1&&cg(Zf,5);if(a&2){var c;bg(c=eg())&&(b.templateRef=c.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",
overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}});var eC=function(a,b,c,d){dC.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=8};U(eC,dC);eC.\u0275dir=dC.\u0275dir;eC.\u0275fac=function(a){return new (a||eC)(C(Bd),C(ef),C(Y6b),C(Hw))};
eC.\u0275cmp=Mc({type:eC,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(a){a&2&&pf("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Pf([{provide:U6b,useExisting:eC}]),lf],ngContentSelectors:["*"],decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(a){a&1&&(Gf(),P(0,Dpa,
3,6,"ng-template"))},dependencies:[Mw],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;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{--mat-menu-container-shape:4px;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-item{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;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:16px;padding-right:16px}.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{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.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{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) 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:[R6b,S6b]},changeDetection:0});var $6b=new Zc("mat-menu-scroll-strategy"),a7b={provide:$6b,deps:[Hz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},b7b=Bg({passive:!0}),fC=function(a,b,c,d,e,g,h,m,r){var v=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=g;this._dir=h;this._focusMonitor=m;this._ngZone=r;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=this._hoverSubscription=this._closingActionsSubscription=E.Subscription.EMPTY;this._changeDetectorRef=
Hc(Hw);this._handleTouchStart=function(y){Mma(y)||(v._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new pw;this.onMenuClose=this.menuClosed=new pw;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof dC?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,b7b)};fC.prototype.ngAfterContentInit=function(){this._handleHover()};
fC.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,b7b);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var gC=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};f=fC.prototype;
f.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=null==b.hasBackdrop?!gC(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 dC&&(b._startAnimation(),b._directDescendantItems.changes.pipe(bf(b.close)).subscribe(function(){B_b(F_b(e,
!1));F_b(e,!0)}))}};f.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};f.focus=function(a,b){this._focusMonitor&&a?Tx(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};f.updatePosition=function(){var a;null==(a=this._overlayRef)||a.updatePosition()};
f._destroyMenu=function(a){var b=this;if(this._overlayRef&&this.menuOpen){var c=this.menu;this._closingActionsSubscription.unsubscribe();this._overlayRef.detach();!this.restoreFocus||"keydown"!==a&&this._openedBy&&gC(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof dC)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(De(function(e){return"void"===e.toState}),Oe(),bf(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;null==c||null==(d=c.lazyContent)||d.detach()}}};f._initMenu=function(a){a.parentMenu=gC(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);Z6b(a,this._openedBy||"program");this._setIsMenuOpen(!0)};f._setMenuElevation=function(a){if(a.setElevation){for(var b=0,c=a.parentMenu;c;)b++,c=c.parentMenu;a.setElevation(b)}};
f._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),gC(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};f._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};
f._getOverlayConfig=function(a){return new zz({positionStrategy:G_b(D_b(F_b(Gz(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})};
f._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){var e="start"===d.connectionPair.overlayX?"after":"before",g="top"===d.connectionPair.overlayY?"below":"above";c._ngZone?c._ngZone.run(function(){return a.setPositionClasses(e,g)}):a.setPositionClasses(e,g)})};
f._setPosition=function(a,b){var c=k("before"===a.xPosition?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=k("above"===a.yPosition?["bottom","top"]:["top","bottom"]),g=e.next().value;e=e.next().value;var h=k([g,e]),m=h.next().value;h=h.next().value;var r=k([d,c]),v=r.next().value;r=r.next().value;var y=0;gC(this)?(r=d="before"===a.xPosition?"start":"end",c=v="end"===d?"start":"end",this._parentMaterialMenu&&(null==this._parentInnerPadding&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),y="bottom"===g?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(m="top"===g?"bottom":"top",h="top"===e?"bottom":"top");Cz(b,[{originX:d,originY:m,overlayX:v,overlayY:g,offsetY:y},{originX:c,originY:m,overlayX:r,overlayY:g,offsetY:y},{originX:d,originY:h,overlayX:v,overlayY:e,offsetY:-y},{originX:c,originY:h,overlayX:r,overlayY:e,offsetY:-y}])};
f._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,E.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(De(function(g){return g!==a._menuItemInstance}),De(function(){return a._menuOpen})):(0,E.of)();return(0,E.merge)(b,d,e,c)};f._handleMousedown=function(a){Lma(a)||(this._openedBy=0===a.button?"mouse":void 0,gC(this)&&a.preventDefault())};
f._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";gC(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};f._handleClick=function(a){gC(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
f._handleHover=function(){var a=this;gC(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(De(function(b){return b===a._menuItemInstance&&!b.disabled}),Me(0,E.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof dC&&a.menu._isAnimating?a.menu._animationDone.pipe(Oe(),Me(0,E.asapScheduler),bf(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
f._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new Xx(a.templateRef,this._viewContainerRef));return this._portal};
wh.Object.defineProperties(fC.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);"click"!==d&&"tab"!==d||!b._parentMaterialMenu||b._parentMaterialMenu.closed.emit(d)}));
var c;null==(c=this._menuItemInstance)||c._setTriggersSubmenu(gC(this))}}},menuOpen:{configurable:!0,enumerable:!0,get:function(){return this._menuOpen}},dir:{configurable:!0,enumerable:!0,get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}});fC.\u0275fac=function(a){return new (a||fC)(C(Hz),C(Bd),C($f),C($6b),C(U6b,8),C(cC,10),C(lz,8),C(Sx),C(ef))};
fC.\u0275dir=Qc({type:fC,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&&pf("aria-haspopup",b.menu?"menu":null)("aria-expanded",b.menuOpen)("aria-controls",b.menuOpen?b.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData",
"menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}});var hC=function(){fC.apply(this,arguments)};U(hC,fC);hC.\u0275fac=function(){var a;return function(b){return(a||(a=zd(hC)))(b||hC)}}();hC.\u0275dir=Qc({type:hC,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[lf]});var iC=function(){bC.apply(this,arguments)};U(iC,bC);iC.\u0275fac=function(){var a;return function(b){return(a||(a=zd(iC)))(b||iC)}}();iC.\u0275dir=Qc({type:iC,selectors:[["ng-template","matMenuContent",""]],features:[Pf([{provide:T6b,useExisting:iC}]),lf]});var jC=function(){return cC.apply(this,arguments)||this};U(jC,cC);jC.\u0275fac=function(){var a;return function(b){return(a||(a=zd(jC)))(b||jC)}}();
jC.\u0275cmp=Mc({type:jC,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(a,b){a&2&&(pf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled.toString())("disabled",b.disabled||null),yf("mat-menu-item",!0)("mat-menu-item-highlighted",b._highlighted)("mat-menu-item-submenu-trigger",b._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",
!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[Pf([{provide:cC,useExisting:jC}]),lf],attrs:["mat-menu-item",""],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],
template:function(a,b){a&1&&(Gf(),Hf(0),J(1,"div",0),P(2,Fpa,2,0,"svg",1));a&2&&(B(1),F("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),B(1),F("ngIf",b._triggersSubmenu))},dependencies:[Ow,Sz],encapsulation:2,changeDetection:0});var kC=function(){fC.apply(this,arguments)};U(kC,fC);kC.\u0275fac=function(){var a;return function(b){return(a||(a=zd(kC)))(b||kC)}}();kC.\u0275dir=Qc({type:kC,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[lf]});var lC=function(a,b,c,d){dC.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=4};U(lC,dC);lC.\u0275dir=dC.\u0275dir;lC.\u0275fac=function(a){return new (a||lC)(C(Bd),C(ef),C(Y6b),C(Hw))};
lC.\u0275cmp=Mc({type:lC,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(a){a&2&&pf("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[Pf([{provide:U6b,useExisting:lC}]),lf],ngContentSelectors:["*"],decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(a){a&1&&(Gf(),P(0,Gpa,3,6,"ng-template"))},
dependencies:[Mw],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],
encapsulation:2,data:{animation:[R6b,S6b]},changeDetection:0});var mC=function(){};mC.\u0275fac=function(a){return new (a||mC)};mC.\u0275mod=Oc({type:mC});mC.\u0275inj=xc({providers:[a7b],imports:[bx,Lz,Vz,Kz,wz,Lz]});var c7b=["tooltip"],d7b=new Zc("mat-tooltip-scroll-strategy"),e7b={provide:d7b,deps:[Hz],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},f7b=new Zc("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),g7b=Bg({passive:!0}),nC=function(a,b,c,d,e,g,h,m,r,v,y,A){var G=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=
g;this._ariaDescriber=h;this._focusMonitor=m;this._dir=v;this._defaultOptions=y;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._viewportMargin=8;this._cssClassPrefix="mat";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=new E.Subject;this._scrollStrategy=r;this._document=A;y&&(this._showDelay=y.showDelay,this._hideDelay=y.hideDelay,y.position&&(this.position=y.position),y.positionAtOrigin&&
(this.positionAtOrigin=y.positionAtOrigin),y.touchGestures&&(this.touchGestures=y.touchGestures));v.change.pipe(bf(this._destroyed)).subscribe(function(){G._overlayRef&&G._updatePosition(G._overlayRef)})};f=nC.prototype;f.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(bf(this._destroyed)).subscribe(function(b){b?"keyboard"===b&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
f.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,g7b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();d_b(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
f.show=function(a,b){var c=this;a=void 0===a?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;null==(d=this._tooltipInstance)||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new Wx(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b._onHide.pipe(bf(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};f.hide=function(a){a=void 0===a?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};f.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};f._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
f._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof Bd)return this._overlayRef;this._detach()}c=v_b(this._scrollDispatcher,this._elementRef);a=C_b(Dz(Ez(G_b(Gz(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(bf(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(bf(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(bf(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(bf(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!Kg(e)&&(e.preventDefault(),e.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))});var d;(null==(d=this._defaultOptions)?0:d.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(this._cssClassPrefix+"-tooltip-panel-non-interactive");return this._overlayRef};
f._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};f._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();Cz(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};f._addOffset=function(a){return a};
f._getOrigin=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b||"below"==b)var c={originX:"center",originY:"above"==b?"top":"bottom"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={originX:"start",originY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={originX:"end",originY:"center"};a=this._invertPosition(c.originX,c.originY);return{main:c,fallback:{originX:a.x,originY:a.y}}};
f._getOverlayPosition=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b)var c={overlayX:"center",overlayY:"bottom"};else if("below"==b)c={overlayX:"center",overlayY:"top"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={overlayX:"end",overlayY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={overlayX:"start",overlayY:"center"};a=this._invertPosition(c.overlayX,c.overlayY);return{main:c,fallback:{overlayX:a.x,overlayY:a.y}}};
f._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Oe(),bf(this._destroyed)).subscribe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()}))};f._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
f._invertPosition=function(a,b){"above"===this.position||"below"===this.position?"top"===b?b="bottom":"bottom"===b&&(b="top"):"end"===a?a="start":"start"===a&&(a="end");return{x:a,y:b}};
f._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b="center"===b?this._dir&&"rtl"===this._dir.value?"end"===c?"left":"right":"start"===c?"left":"right":"bottom"===b&&"top"===a?"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}};
f._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;void 0!==b.x&&void 0!==b.y&&(c=b);a.show(void 0,c)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=null==(c=b.targetTouches)?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))};
f._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&&(null==(e=a._overlayRef)?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if("off"!==this.touchGestures){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,ad(b))}};f._addListeners=function(a){var b=this;a.forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,g7b)})};f._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
f._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()}};
f._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if("off"!==a){var b=this._elementRef.nativeElement,c=b.style;if("on"===a||"INPUT"!==b.nodeName&&"TEXTAREA"!==b.nodeName)c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";"on"!==a&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
wh.Object.defineProperties(nC.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;null==(b=this._tooltipInstance)||b.show(0);this._overlayRef.updatePosition()}}},positionAtOrigin:{configurable:!0,enumerable:!0,get:function(){return this._positionAtOrigin},set:function(a){this._positionAtOrigin=Gg(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Gg(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=Jg(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=Jg(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;d_b(this._ariaDescriber,this._elementRef.nativeElement,this._message,"tooltip");this._message=null!=a?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){b._ariaDescriber.describe(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)}}});nC.\u0275fac=function(){Fd()};
nC.\u0275dir=Qc({type:nC,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}});
var pC=function(a,b,c,d,e,g,h,m,r,v,y,A){nC.call(this,a,b,c,d,e,g,h,m,r,v,y,A);this._tooltipComponent=oC;this._cssClassPrefix="mat-mdc";this._viewportMargin=8};U(pC,nC);pC.prototype._addOffset=function(a){var b=!this._dir||"ltr"==this._dir.value;"top"===a.originY?a.offsetY=-8:"bottom"===a.originY?a.offsetY=8:"start"===a.originX?a.offsetX=b?-8:8:"end"===a.originX&&(a.offsetX=b?8:-8);return a};
pC.\u0275fac=function(a){return new (a||pC)(C(Hz),C(Bd),C(rz),C($f),C(ef),C(Lx),C($y),C(Sx),C(d7b),C(lz,8),C(f7b,8),C(uh))};pC.\u0275dir=Qc({type:pC,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mat-mdc-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[lf]});
var qC=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new E.Subject;this._animationsDisabled="NoopAnimations"===b};f=qC.prototype;f.show=function(a){var b=this;null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};
f.hide=function(a){var b=this;null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};f.isVisible=function(){return this._isVisible};f.ngOnDestroy=function(){this._cancelPendingAnimations();this._onHide.complete();this._triggerElement=null};f._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)};f._markForCheck=function(){this._changeDetectorRef.markForCheck()};
f._handleMouseLeave=function(a){(a=a.relatedTarget)&&this._triggerElement.contains(a)||(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))};f._onShow=function(){};f._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};
f._cancelPendingAnimations=function(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};f._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
f._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&&"function"===typeof getComputedStyle&&(c=getComputedStyle(b),"0s"===c.getPropertyValue("animation-duration")||"none"===c.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};
qC.\u0275fac=function(a){return new (a||qC)(C(Hw),C(Ov,8))};qC.\u0275dir=Qc({type:qC});var oC=function(a,b,c){qC.call(this,a,c);this._elementRef=b;this._isMultiline=!1;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide"};U(oC,qC);oC.\u0275dir=qC.\u0275dir;oC.prototype._onShow=function(){this._isMultiline=this._isTooltipMultiline();this._markForCheck()};
oC.prototype._isTooltipMultiline=function(){var a=this._elementRef.nativeElement.getBoundingClientRect();return 24<a.height&&200<=a.width};oC.\u0275fac=function(a){return new (a||oC)(C(Hw),C(Bd),C(Ov,8))};
oC.\u0275cmp=Mc({type:oC,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&cg(c7b,7);if(a&2){var c;bg(c=eg())&&(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&&xf("zoom",b.isVisible()?1:null)},features:[lf],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],
template:function(a,b){a&1&&(H(0,"div",0,1),M("animationend",function(c){return b._handleAnimationEnd(c)}),H(2,"div",2),R(3),I()());a&2&&(yf("mdc-tooltip--multiline",b._isMultiline),F("ngClass",b.tooltipClass),B(3),Nf(b.message))},dependencies:[Mw],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-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.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-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 rC=function(){};rC.\u0275fac=function(a){return new (a||rC)};rC.\u0275mod=Oc({type:rC});rC.\u0275inj=xc({providers:[e7b],imports:[Zy,bx,Kz,Lz,Lz,wz]});/*

 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 h7b=["tooltip"],tC=function(a,b,c,d,e,g,h,m,r,v,y,A){nC.call(this,a,b,c,d,e,g,h,m,r,v,y,A);this._tooltipComponent=sC};U(tC,nC);tC.\u0275fac=function(a){return new (a||tC)(C(Hz),C(Bd),C(rz),C($f),C(ef),C(Lx),C($y),C(Sx),C(d7b),C(lz,8),C(f7b,8),C(uh))};tC.\u0275dir=Qc({type:tC,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[lf]});
var sC=function(a,b,c){qC.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)")};U(sC,qC);sC.\u0275dir=qC.\u0275dir;sC.\u0275fac=function(a){return new (a||sC)(C(Hw),C(Sy),C(Ov,8))};
sC.\u0275cmp=Mc({type:sC,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&cg(h7b,7);if(a&2){var c;bg(c=eg())&&(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&&(pf("mat-id-collision",null),xf("zoom",b.isVisible()?1:null))},features:[lf],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(a,b){a&1&&(H(0,"div",0,1),M("animationend",
function(d){return b._handleAnimationEnd(d)}),S(2,"async"),R(3),I());if(a&2){var c;yf("mat-tooltip-handset",null==(c=T(2,4,b._isHandset))?null:c.matches);F("ngClass",b.tooltipClass);B(3);Nf(b.message)}},dependencies:[Mw,Uw],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 uC=function(){};uC.\u0275fac=function(a){return new (a||uC)};uC.\u0275mod=Oc({type:uC});uC.\u0275inj=xc({imports:[Lz,Lz]});var i7b=new Zc("g3cWidgetTaskManagementServicePromiseClient"),j7b=new Zc("g3cWidgetUserPrefsServicePromiseClient"),k7b=new Zc("g3cWidgetServiceConfig");var Ph=function(a){this.internalArray_=l(a)};U(Ph,q);f=Ph.prototype;f.getYear=function(){return Vh(this,1)};f.setYear=function(a){return Kb(this,1,a)};f.getMonth=function(){return Vh(this,2)};f.setMonth=function(a){return Kb(this,2,a)};f.getDay=function(){return Vh(this,3)};f.toObject=function(){return vC(this)};var vC=function(a){if(null!=a)return t(a),{year:Vh(a,1),month:Vh(a,2),day:Vh(a,3)}};var l7b=function(a){this.internalArray_=l(a)};U(l7b,q);l7b.prototype.getDueDate=function(){return fk(this,Ph,1,m7b)};var m7b=[1,2];l7b.prototype.toObject=function(){return n7b(this)};var n7b=function(a){if(null!=a)return t(a),{dueDate:vC(a.getDueDate()),dueTimeMs:n(Qt(a,2,m7b)),dueType:aj(a,3,0)}};var o7b=function(a){this.internalArray_=l(a)};U(o7b,q);o7b.prototype.getTaskStatus=function(){return aj(this,1,0)};o7b.prototype.setTaskStatus=function(a){return $i(this,1,a)};o7b.prototype.toObject=function(){return p7b(this)};var p7b=function(a){if(null!=a)return t(a),{taskStatus:aj(a,1,0)}};var Hp=function(a){this.internalArray_=l(a)};U(Hp,q);f=Hp.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return zj(this,1,a)};f.getApprovalStatus=function(){return aj(this,2,0)};f.getOwnersList=function(){return Xh(this,3)};f.setOwnersList=function(a){return Ri(this,3,a)};Hp.repeatedFields_=[3];Hp.prototype.toObject=function(){return q7b(this)};var q7b=function(a){if(null!=a)return t(a),{label:V(a,1),approvalStatus:aj(a,2,0),ownersList:n(Xh(a,3))}};var r7b=function(a){this.internalArray_=l(a)};U(r7b,q);f=r7b.prototype;f.getId=function(){return uj(this,1)};f.setId=function(a){return Nb(this,1,a)};f.getLabel=function(){return V(this,2)};f.setLabel=function(a){return zj(this,2,a)};f.toObject=function(){return s7b(this)};var s7b=function(a){if(null!=a)return t(a),{id:uj(a,1),label:V(a,2)}};var t7b=function(a){this.internalArray_=l(a)};U(t7b,q);f=t7b.prototype;f.getId=function(){return uj(this,2)};f.setId=function(a){return Nb(this,2,a)};f.getLabel=function(){return V(this,3)};f.setLabel=function(a){return zj(this,3,a)};f.toObject=function(){return u7b(this)};var u7b=function(a){if(null!=a)return t(a),{deprecated:Vj(a,1),id:uj(a,2),label:V(a,3),helpText:V(a,4)}};var v7b=function(a){this.internalArray_=l(a)};U(v7b,q);v7b.prototype.toObject=function(){return w7b(this)};var w7b=function(a){if(null!=a)return t(a),{selectOptionId:uj(a,1),fdlcPhase:aj(a,2,0)}};var x7b=function(a){this.internalArray_=l(a)};U(x7b,q);x7b.repeatedFields_=[1];x7b.prototype.toObject=function(){return y7b(this)};var y7b=function(a){if(null!=a)return t(a),{fdlcMapList:Ub(oj(a,v7b,1),w7b)}};var z7b=function(a){this.internalArray_=l(a)};U(z7b,q);f=z7b.prototype;f.getId=function(){return Ob(p(this,1),"0")};f.setId=function(a){var b=this.internalArray_,c=tb(b);Ra(c);vb(b,c,1,null!=a&&0!==+a?a:void 0);return this};f.getLabel=function(){return V(this,2)};f.setLabel=function(a){return zj(this,2,a)};f.getTeamId=function(){return It(this,3)};f.setTeamId=function(a){return Db(this,3,a,0)};f.toObject=function(){return A7b(this)};
var A7b=function(a){if(null!=a)return t(a),{id:Ob(p(a,1),"0"),label:V(a,2),teamId:It(a,3)}};var B7b=function(a){this.internalArray_=l(a)};U(B7b,q);f=B7b.prototype;f.getId=function(){return uj(this,1)};f.setId=function(a){return Nb(this,1,a)};f.getLabel=function(){return V(this,2)};f.setLabel=function(a){return zj(this,2,a)};f.getType=function(){return aj(this,3,0)};f.setType=function(a){return $i(this,3,a)};f.getOwner=function(){return Vj(this,9)};f.setOwner=function(a){return Ib(this,9,a)};f.getOptionsList=function(){return oj(this,t7b,16)};
f.setOptionsList=function(a){return rj(this,16,a)};f.setOptions=function(a){zt(this,16,t7b,a)};B7b.repeatedFields_=[16];var C7b=[5,6],D7b=[20];B7b.prototype.toObject=function(){return E7b(this)};
var E7b=function(a){if(null!=a)return t(a),{id:uj(a,1),label:V(a,2),type:aj(a,3,0),helpText:V(a,4),productArea:A7b(fk(a,z7b,5,C7b)),approverDefinition:s7b(fk(a,r7b,6,C7b)),doNotCopy:Vj(a,7),pdaRelated:Vj(a,8),owner:Vj(a,9),mcrRelated:Vj(a,10),eventsRelated:Vj(a,11),brandingRelated:Vj(a,12),securityRelated:Vj(a,13),marketingPdaRelated:Vj(a,14),alwaysEditable:Vj(a,15),onlyConfigurableByAdmins:Vj(a,17),isConfigurationAttribute:Vj(a,18),emptySetNotValid:Vj(a,19),optionsList:Ub(a.getOptionsList(),u7b),
singleSelectMetadata:y7b(fk(a,x7b,20,D7b))}};var wC=function(a){this.internalArray_=l(a)};U(wC,q);wC.prototype.getTypeName=function(){return V(this,1).split("/").pop()};wC.prototype.getValue=function(){var a=p(this,2);if(Array.isArray(a)||a instanceof q)throw Error("W");return Sj(this,2)};wC.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=cj(this,2,Uba(a));else if("string"===typeof a||a instanceof Ba||ya(a))a=Dt(this,2,a);else throw Error("X`"+a);return a};wC.prototype.toObject=function(){return F7b(this)};
var F7b=function(a){if(null!=a)return t(a),{typeUrl:V(a,1),value:Fca(a)}};var xC=function(a){this.internalArray_=l(a)};U(xC,q);xC.prototype.getValue=function(){return W(this,wC,2)};xC.prototype.setValue=function(a){return lj(this,wC,2,a)};xC.prototype.hasValue=function(){return Pj(this,wC,2)};xC.prototype.toObject=function(){return G7b(this)};var G7b=function(a){if(null!=a)return t(a),{definition:E7b(W(a,B7b,1)),value:F7b(a.getValue())}};var H7b=function(a){this.internalArray_=l(a)};U(H7b,q);H7b.prototype.getYear=function(){return Vh(this,1)};H7b.prototype.setYear=function(a){return Kb(this,1,a)};H7b.prototype.toObject=function(){return I7b(this)};var I7b=function(a){if(null!=a)return t(a),{year:Vh(a,1),number:Vh(a,2)}};var WWa=function(a){this.internalArray_=l(a)};U(WWa,q);var XWa=[1,2,3];WWa.prototype.toObject=function(){return J7b(this)};var J7b=function(a){if(null!=a)return t(a),{specificDate:vC(fk(a,Ph,1,XWa)),quarter:I7b(fk(a,H7b,2,XWa)),toBeDetermined:n(Ur(a,yn(a,XWa,3)))}};var sn=function(a){this.internalArray_=l(a)};U(sn,q);f=sn.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return zj(this,1,a)};f.getStatus=function(){return aj(this,3,0)};f.setStatus=function(a){return $i(this,3,a)};f.getVersion=function(){return uj(this,5)};f.setVersion=function(a){return Nb(this,5,a)};f.getOwnedByMe=function(){return Vj(this,7)};f.setOwnedByMe=function(a){return Ib(this,7,a)};f.getCreatorEmail=function(){return V(this,9)};
sn.repeatedFields_=[4,6];sn.prototype.toObject=function(){return K7b(this)};var K7b=function(a){if(null!=a)return t(a),{description:V(a,1),launchDate:J7b(W(a,WWa,2)),status:aj(a,3,0),approversList:Ub(oj(a,Hp,4),q7b),version:uj(a,5),attributesList:Ub(oj(a,xC,6),G7b),ownedByMe:Vj(a,7),needBitApprovalFromMe:Vj(a,8),creatorEmail:V(a,9)}};var L7b=function(a){this.internalArray_=l(a)};U(L7b,q);f=L7b.prototype;f.getContent=function(){return V(this,1)};f.setContent=function(a){return zj(this,1,a)};f.getAuthorEmail=function(){return V(this,2)};f.getCommentNumber=function(){return Vh(this,4)};f.setCommentNumber=function(a){return Kb(this,4,a)};f.getFormattingMode=function(){return aj(this,5,0)};f.setFormattingMode=function(a){return $i(this,5,a)};f.toObject=function(){return M7b(this)};
var M7b=function(a){if(null!=a)return t(a),{content:V(a,1),authorEmail:V(a,2),modifiedTimestamp:uj(a,3),commentNumber:Vh(a,4),formattingMode:aj(a,5,0)}};var yC=function(a){this.internalArray_=l(a)};U(yC,q);yC.prototype.toObject=function(){return N7b(this)};var N7b=function(a){if(null!=a)return t(a),{startTimeMs:uj(a,1),endTimeMs:uj(a,2),targetTimeMs:uj(a,3)}};var O7b=function(a){this.internalArray_=l(a)};U(O7b,q);f=O7b.prototype;f.getAssignmentBounds=function(){return W(this,yC,1)};f.setAssignmentBounds=function(a){lj(this,yC,1,a)};f.hasAssignmentBounds=function(){return Pj(this,yC,1)};f.getResponseBounds=function(){return W(this,yC,2)};f.setResponseBounds=function(a){lj(this,yC,2,a)};f.hasResponseBounds=function(){return Pj(this,yC,2)};f.getClosureBounds=function(){return W(this,yC,3)};f.setClosureBounds=function(a){lj(this,yC,3,a)};
f.hasClosureBounds=function(){return Pj(this,yC,3)};f.toObject=function(){return P7b(this)};var P7b=function(a){if(null!=a)return t(a),{assignmentBounds:N7b(a.getAssignmentBounds()),responseBounds:N7b(a.getResponseBounds()),closureBounds:N7b(a.getClosureBounds())}};var zC=function(a){this.internalArray_=l(a)};U(zC,q);zC.prototype.getAccessLevel=function(){return aj(this,1,0)};zC.prototype.setAccessLevel=function(a){return $i(this,1,a)};zC.prototype.toObject=function(){return Q7b(this)};var Q7b=function(a){if(null!=a)return t(a),{accessLevel:aj(a,1,0)}};var R7b=function(a){this.internalArray_=l(a)};U(R7b,q);f=R7b.prototype;f.getType=function(){return aj(this,1,0)};f.setType=function(a){return $i(this,1,a)};f.getPriority=function(){return aj(this,2,0)};f.setPriority=function(a){return $i(this,2,a)};f.getSeverity=function(){return aj(this,3,0)};f.setSeverity=function(a){return $i(this,3,a)};f.getStatus=function(){return aj(this,4,0)};f.setStatus=function(a){return $i(this,4,a)};f.getSloStatus=function(){return W(this,O7b,20)};
f.setSloStatus=function(a){lj(this,O7b,20,a)};f.hasSloStatus=function(){return Pj(this,O7b,20)};f.getCcEmailsList=function(){return Xh(this,7)};f.getIsStarred=function(){return Vj(this,8)};f.getComponentId=function(){return uj(this,11)};f.setComponentId=function(a){return Nb(this,11,a)};f.getVersion=function(){return Vh(this,16)};f.setVersion=function(a){return Kb(this,16,a)};f.getAssignedToMe=function(){return Vj(this,13)};f.getAccessLimit=function(){return W(this,zC,21)};
f.setAccessLimit=function(a){return lj(this,zC,21,a)};f.getBlockingIssueIdsList=function(){return sl(this,22)};f.getCommentsList=function(){return oj(this,L7b,10)};R7b.repeatedFields_=[7,22,10];R7b.prototype.toObject=function(){return S7b(this)};
var S7b=function(a){if(null!=a)return t(a),{type:aj(a,1,0),priority:aj(a,2,0),severity:aj(a,3,0),status:aj(a,4,0),sloStatus:P7b(a.getSloStatus()),reporterEmail:V(a,5),assigneeEmail:V(a,6),verifierEmail:V(a,14),ccEmailsList:n(Xh(a,7)),isStarred:Vj(a,8),lastModifiedByUserEmail:V(a,9),componentId:uj(a,11),canonicalIssueId:uj(a,18),version:Vh(a,16),majorModifiedTimestampMs:uj(a,19),reportedByMe:Vj(a,12),assignedToMe:Vj(a,13),ccIncludesMe:Vj(a,17),bugjugglerInCcList:Vj(a,15),accessLimit:Q7b(a.getAccessLimit()),
blockingIssueIdsList:n(sl(a,22)),commentsList:Ub(a.getCommentsList(),M7b),isOwnedByMyTeams:Vj(a,23)}};var AC=function(a){this.internalArray_=l(a)};U(AC,q);AC.prototype.getType=function(){return aj(this,1,0)};AC.prototype.setType=function(a){return $i(this,1,a)};AC.prototype.getState=function(){return aj(this,5,0)};AC.repeatedFields_=[3];AC.prototype.toObject=function(){return T7b(this)};var T7b=function(a){if(null!=a)return t(a),{type:aj(a,1,0),approverEmailsList:n(Xh(a,3)),reasonMessage:V(a,4),state:aj(a,5,0)}};var BC=function(a){this.internalArray_=l(a)};U(BC,q);BC.prototype.getAuthorEmail=function(){return V(this,3)};BC.prototype.getContent=function(){return V(this,4)};BC.prototype.setContent=function(a){return zj(this,4,a)};BC.prototype.toObject=function(){return U7b(this)};var U7b=function(a){if(null!=a)return t(a),{publishTimestamp:uj(a,2),authorEmail:V(a,3),content:V(a,4),resolved:Vj(a,8)}};var V7b=function(a){this.internalArray_=l(a)};U(V7b,q);f=V7b.prototype;f.getAuthorEmail=function(){return V(this,2)};f.getContent=function(){return V(this,3)};f.setContent=function(a){return zj(this,3,a)};f.getRepliesList=function(){return oj(this,BC,5)};f.getExternalLink=function(){return V(this,6)};V7b.repeatedFields_=[5];V7b.prototype.toObject=function(){return W7b(this)};
var W7b=function(a){if(null!=a)return t(a),{publishTimestamp:uj(a,1),authorEmail:V(a,2),content:V(a,3),resolved:Vj(a,4),repliesList:Ub(a.getRepliesList(),U7b),externalLink:V(a,6)}};var nn=function(a){this.internalArray_=l(a)};U(nn,q);f=nn.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return zj(this,1,a)};f.getCategory=function(){return aj(this,2,0)};f.getStatus=function(){return aj(this,3,0)};f.setStatus=function(a){return $i(this,3,a)};f.getIsStarred=function(){return Vj(this,4)};f.getReviewerEmailsList=function(){return Xh(this,6)};f.getCommentsList=function(){return oj(this,V7b,7)};f.getAuthorEmail=function(){return V(this,10)};
f.getCcEmailsList=function(){return Xh(this,11)};f.getNeedsAttention=function(){return Vj(this,12)};f.getChangeSize=function(){return aj(this,18,0)};nn.repeatedFields_=[5,6,7,11,17,13,14];nn.prototype.toObject=function(){return X7b(this)};
var X7b=function(a){if(null!=a)return t(a),{description:V(a,1),descriptionUsesMarkdown:Vj(a,16),category:aj(a,2,0),status:aj(a,3,0),isStarred:Vj(a,4),approvalStatesList:Ub(oj(a,AC,5),T7b),reviewerEmailsList:n(Xh(a,6)),commentsList:Ub(a.getCommentsList(),W7b),externalLinkToCider:V(a,8),needsAttentionFromReviewer:Vj(a,9),authorEmail:V(a,10),isAuthorFromMyTeams:Vj(a,19),ccEmailsList:n(Xh(a,11)),needsAttention:Vj(a,12),attentionSetUsersList:n(Xh(a,17)),bugsList:n(Xh(a,13)),fixedBugsList:n(Xh(a,14)),workspaceName:V(a,
15),changeSize:aj(a,18,0)}};var CC=function(a){this.internalArray_=l(a)};U(CC,q);CC.prototype.getContent=function(){return V(this,3)};CC.prototype.setContent=function(a){return zj(this,3,a)};CC.prototype.getExternalLink=function(){return V(this,4)};CC.prototype.toObject=function(){return Y7b(this)};var Y7b=function(a){if(null!=a)return t(a),{authorDisplayName:V(a,1),authorPhotoLink:V(a,2),content:V(a,3),externalLink:V(a,4),modifiedTimestamp:uj(a,5),action:aj(a,6,0)}};var Z7b=function(a){this.internalArray_=l(a)};U(Z7b,q);f=Z7b.prototype;f.getCommentId=function(){return V(this,1)};f.getAssignedToMe=function(){return Vj(this,2)};f.getContent=function(){return V(this,8)};f.setContent=function(a){return zj(this,8,a)};f.getExternalLink=function(){return V(this,12)};f.getRepliesList=function(){return oj(this,CC,14)};f.getDueDate=function(){return W(this,Ph,18)};Z7b.repeatedFields_=[14];Z7b.prototype.toObject=function(){return $7b(this)};
var $7b=function(a){if(null!=a)return t(a),{commentId:V(a,1),assignedToMe:Vj(a,2),mentioningMe:Vj(a,3),isSuggestion:Vj(a,4),commentStatus:aj(a,5,0),authorDisplayName:V(a,6),authorPhotoLink:V(a,7),content:V(a,8),prependQuotedContent:V(a,9),quotedContent:V(a,10),appendQuotedContent:V(a,11),externalLink:V(a,12),modifiedTimestamp:uj(a,13),repliesList:Ub(a.getRepliesList(),Y7b),isDocwrapComment:Vj(a,15),assignedToMeTimestampMs:uj(a,16),mentioningMeTimestampMs:uj(a,17),dueDate:vC(a.getDueDate()),lastCommentAddedByMeTimestampMs:uj(a,
19)}};var qn=function(a){this.internalArray_=l(a)};U(qn,q);f=qn.prototype;f.getCreatedTimestamp=function(){return uj(this,1)};f.getOwnedByMe=function(){return Vj(this,3)};f.setOwnedByMe=function(a){return Ib(this,3,a)};f.getSharedToMe=function(){return Vj(this,14)};f.getMimeType=function(){return V(this,15)};f.setMimeType=function(a){zj(this,15,a)};f.getCommentsList=function(){return oj(this,Z7b,6)};f.getIsStarred=function(){return Vj(this,9)};f.getCreatorEmail=function(){return V(this,11)};
qn.repeatedFields_=[17,6];qn.prototype.toObject=function(){return a8b(this)};
var a8b=function(a){if(null!=a)return t(a),{createdTimestamp:uj(a,1),createdByMe:Vj(a,2),ownedByMe:Vj(a,3),recentlySharedWithMe:Vj(a,8),sharedWithMeTimestamp:uj(a,4),sharedToMe:Vj(a,14),sharedToMyGroups:Vj(a,18),sharedToMyTeamDrive:Vj(a,19),actionItemsChecksum:V(a,5),mimeType:V(a,15),teamDriveId:V(a,16),parentIdsList:n(Xh(a,17)),openCommentsCount:Vh(a,21),commentsAssignedToMeCount:Vh(a,22),commentsMentioningMeCount:Vh(a,23),suggestionsCount:Vh(a,24),isDocwrapIncoming:Vj(a,25),isDocwrapOutgoing:Vj(a,
26),commentsList:Ub(a.getCommentsList(),$7b),lastCommentedTimestamp:uj(a,7),lastCommentedByGaiaId:uj(a,20),isStarred:Vj(a,9),ownerEmail:V(a,10),creatorEmail:V(a,11),lastModifiedByUserEmail:V(a,12),lastCommentedByUserDisplayName:V(a,13)}};var b8b=function(a){this.internalArray_=l(a)};U(b8b,q);b8b.prototype.getTitle=function(){return V(this,2)};b8b.prototype.setTitle=function(a){return zj(this,2,a)};b8b.prototype.toObject=function(){return c8b(this)};var c8b=function(a){if(null!=a)return t(a),{gtaskId:V(a,1),title:V(a,2),isCompleted:Vj(a,3),details:V(a,4),dueDateTimestamp:uj(a,5)}};var d8b=function(a){this.internalArray_=l(a)};U(d8b,q);f=d8b.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return zj(this,1,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return zj(this,2,a)};f.toObject=function(){return e8b(this)};var e8b=function(a){if(null!=a)return t(a),{id:V(a,1),title:V(a,2)}};var f8b=function(a){this.internalArray_=l(a)};U(f8b,q);f8b.prototype.getTaskList=function(){return W(this,d8b,8)};f8b.repeatedFields_=[5];var g8b=[9,10];f8b.prototype.toObject=function(){return h8b(this)};var h8b=function(a){if(null!=a)return t(a),{isCompleted:Vj(a,4),details:V(a,1),dueDateTimestamp:uj(a,2),emailLink:V(a,3),subtasksList:Ub(oj(a,b8b,5),c8b),isNewTask:Vj(a,7),taskList:e8b(a.getTaskList()),sourceGroup:kTb(fk(a,jTb,9,g8b)),sourceDocument:iTb(fk(a,hTb,10,g8b))}};var DC=function(a){this.internalArray_=l(a)};U(DC,q);DC.prototype.getParentId=function(){return uj(this,11)};DC.prototype.setParentId=function(a){return Nb(this,11,a)};DC.prototype.toObject=function(){return i8b(this)};var i8b=function(a){if(null!=a)return t(a),{membershipId:uj(a,1),childId:uj(a,10),childName:V(a,2),childEmail:V(a,3),parentId:uj(a,11),parentName:V(a,4),parentEmail:V(a,5),createTimeMs:uj(a,6),expireTimeMs:uj(a,7),membershipType:aj(a,8,0),getEmail:Vj(a,9)}};var j8b=function(a){this.internalArray_=l(a)};U(j8b,q);j8b.prototype.getMembership=function(){return fk(this,DC,1,k8b)};var k8b=[1];j8b.prototype.toObject=function(){return l8b(this)};var l8b=function(a){if(null!=a)return t(a),{membership:i8b(a.getMembership())}};var m8b=function(a){this.internalArray_=l(a)};U(m8b,q);m8b.prototype.getState=function(){return aj(this,1,0)};m8b.prototype.toObject=function(){return n8b(this)};var n8b=function(a){if(null!=a)return t(a),{state:aj(a,1,0),updaterId:uj(a,2),updaterName:V(a,3),updaterEmail:V(a,4),updateTimeMs:uj(a,5),updateReason:V(a,6)}};var EC=function(a){this.internalArray_=l(a)};U(EC,q);EC.prototype.getOriginal=function(){return W(this,j8b,2)};EC.prototype.getState=function(){return aj(this,6,0)};EC.repeatedFields_=[7];EC.prototype.toObject=function(){return o8b(this)};var o8b=function(a){if(null!=a)return t(a),{upsert:l8b(W(a,j8b,1)),original:l8b(a.getOriginal()),changeType:aj(a,3,0),createTimeMs:uj(a,4),state:aj(a,6,0),proposalUpdatesList:Ub(oj(a,m8b,7),n8b)}};var p8b=function(a){this.internalArray_=l(a)};U(p8b,q);p8b.prototype.getResourceCase=function(){return Oi(this,q8b)};p8b.prototype.getMembership=function(){return fk(this,DC,2,q8b)};var q8b=[1,2];p8b.prototype.toObject=function(){return r8b(this)};var r8b=function(a){if(null!=a)return t(a),{proposal:o8b(fk(a,EC,1,q8b)),membership:i8b(a.getMembership())}};var s8b=function(a){this.internalArray_=l(a)};U(s8b,q);f=s8b.prototype;f.getCommentId=function(){return V(this,1)};f.getMessage=function(){return V(this,2)};f.setMessage=function(a){zj(this,2,a)};f.getAuthorEmail=function(){return V(this,3)};f.toObject=function(){return t8b(this)};var t8b=function(a){if(null!=a)return t(a),{commentId:V(a,1),message:V(a,2),authorEmail:V(a,3),updatedTimeMs:uj(a,4),unresolved:Vj(a,5),inReplyTo:V(a,6)}};var u8b=function(a){this.internalArray_=l(a)};U(u8b,q);u8b.prototype.getValue=function(){return Vh(this,1)};u8b.prototype.setValue=function(a){return Kb(this,1,a)};u8b.prototype.toObject=function(){return v8b(this)};var v8b=function(a){if(null!=a)return t(a),{value:Vh(a,1),voterEmail:V(a,2)}};var w8b=function(a){this.internalArray_=l(a)};U(w8b,q);w8b.repeatedFields_=[2];w8b.prototype.toObject=function(){return x8b(this)};var x8b=function(a){if(null!=a)return t(a),{labelName:V(a,1),votesList:Ub(oj(a,u8b,2),v8b),minVoteValue:Vh(a,3),maxVoteValue:Vh(a,4)}};var y8b=function(a){this.internalArray_=l(a)};U(y8b,q);f=y8b.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return zj(this,1,a)};f.getCategory=function(){return aj(this,15,0)};f.getReviewerEmailsList=function(){return Xh(this,6)};f.getCcEmailsList=function(){return Xh(this,7)};f.getNeedsAttention=function(){return Vj(this,18)};f.setHost=function(a){return zj(this,8,a)};f.getProject=function(){return V(this,9)};f.setProject=function(a){zj(this,9,a)};
f.getChangeSize=function(){return aj(this,11,0)};f.getIsStarred=function(){return Vj(this,13)};f.getCommentsList=function(){return oj(this,s8b,14)};y8b.repeatedFields_=[3,6,7,17,12,14];y8b.prototype.toObject=function(){return z8b(this)};
var z8b=function(a){if(null!=a)return t(a),{description:V(a,1),category:aj(a,15,0),ownerEmail:V(a,2),statusesList:n(fl(a,3)),submittable:Vj(a,4),assigneeEmail:V(a,5),reviewerEmailsList:n(Xh(a,6)),ccEmailsList:n(Xh(a,7)),attentionSetEmailsList:n(Xh(a,17)),needsAttention:Vj(a,18),host:V(a,8),project:V(a,9),branch:V(a,10),changeSize:aj(a,11,0),labelApprovalStatesList:Ub(oj(a,w8b,12),x8b),isStarred:Vj(a,13),commentsList:Ub(a.getCommentsList(),t8b),hostRepoBranchLink:V(a,16)}};var A8b=function(a){this.internalArray_=l(a)};U(A8b,q);A8b.prototype.getDescription=function(){return V(this,3)};A8b.prototype.setDescription=function(a){return zj(this,3,a)};A8b.prototype.toObject=function(){return B8b(this)};var B8b=function(a){if(null!=a)return t(a),{eventLogTimestamp:mu(W(a,Rh,1)),updaterEmail:V(a,2),description:V(a,3)}};var C8b=function(a){this.internalArray_=l(a)};U(C8b,q);C8b.prototype.getEntriesList=function(){return oj(this,A8b,1)};C8b.repeatedFields_=[1];C8b.prototype.toObject=function(){return D8b(this)};var D8b=function(a){if(null!=a)return t(a),{entriesList:Ub(a.getEntriesList(),B8b)}};var E8b=function(a){this.internalArray_=l(a)};U(E8b,q);f=E8b.prototype;f.getDescription=function(){return V(this,1)};f.setDescription=function(a){return zj(this,1,a)};f.getStatus=function(){return aj(this,2,0)};f.setStatus=function(a){return $i(this,2,a)};f.getPriority=function(){return aj(this,3,0)};f.setPriority=function(a){return $i(this,3,a)};f.getCcEmailsList=function(){return Xh(this,6)};f.getAssignedToMe=function(){return Vj(this,10)};f.getDueDate=function(){return W(this,Ph,13)};
E8b.repeatedFields_=[6];E8b.prototype.toObject=function(){return F8b(this)};var F8b=function(a){if(null!=a)return t(a),{description:V(a,1),status:aj(a,2,0),priority:aj(a,3,0),assigneeEmail:V(a,4),requesterEmail:V(a,5),ccEmailsList:n(Xh(a,6)),ticketType:V(a,7),worklog:D8b(W(a,C8b,8)),requestedByMe:Vj(a,9),assignedToMe:Vj(a,10),myApprovalNeeded:Vj(a,11),ccIncludesMe:Vj(a,12),dueDate:vC(a.getDueDate())}};var G8b=function(a){this.internalArray_=l(a)};U(G8b,q);f=G8b.prototype;f.getStatus=function(){return aj(this,3,0)};f.setStatus=function(a){return $i(this,3,a)};f.getPriority=function(){return aj(this,4,0)};f.setPriority=function(a){return $i(this,4,a)};f.getCreatorEmail=function(){return V(this,6)};f.getDescription=function(){return V(this,10)};f.setDescription=function(a){return zj(this,10,a)};G8b.repeatedFields_=[7,8,11];G8b.prototype.toObject=function(){return H8b(this)};
var H8b=function(a){if(null!=a)return t(a),{productName:V(a,1),productLink:V(a,2),status:aj(a,3,0),priority:aj(a,4,0),resolveDeadline:mu(W(a,Rh,5)),creatorEmail:V(a,6),productEmailsList:n(Xh(a,7)),privacyEmailsList:n(Xh(a,8)),autoCreated:Vj(a,9),description:V(a,10),descriptionUsesMarkdown:Vj(a,13),participantEmailsList:n(Xh(a,11)),bugId:uj(a,12)}};var FC=function(a){this.internalArray_=l(a)};U(FC,q);FC.prototype.getResourceCase=function(){return Oi(this,I8b)};FC.prototype.getTaskStatus=function(){return aj(this,3,0)};FC.prototype.setTaskStatus=function(a){return $i(this,3,a)};FC.prototype.getNeedsAttention=function(){return Vj(this,5)};FC.repeatedFields_=[2];var I8b=[101];FC.prototype.toObject=function(){return J8b(this)};
var J8b=function(a){if(null!=a)return t(a),{ownerEmail:V(a,1),attentionSetList:n(Xh(a,2)),taskStatus:aj(a,3,0),referenceName:V(a,4),needsAttention:Vj(a,5),trackable:H8b(fk(a,G8b,101,I8b))}};var GC=function(a){this.internalArray_=l(a)};U(GC,q);f=GC.prototype;f.getResourceCase=function(){return Oi(this,on)};f.getResourceId=function(){return V(this,17)};f.setResourceId=function(a){zj(this,17,a)};f.getTitle=function(){return V(this,2)};f.setTitle=function(a){return zj(this,2,a)};f.getLastModifiedTimestamp=function(){return uj(this,3)};f.getIconName=function(){return V(this,10)};f.getExternalLink=function(){return V(this,16)};f.getIsDeleted=function(){return Vj(this,19)};
f.setIsDeleted=function(a){Ib(this,19,a)};var rn=function(a){return fk(a,qn,5,on)},Ip=function(a){return fk(a,R7b,6,on)},pn=function(a){return fk(a,nn,8,on)},tn=function(a){return fk(a,sn,9,on)},on=[5,6,7,8,9,18,22,23,24];GC.prototype.toObject=function(){return K8b(this)};
var K8b=function(a){if(null!=a)return t(a),{resourceId:V(a,17),taskSource:V(a,1),title:V(a,2),lastModifiedTimestamp:uj(a,3),fingerprint:V(a,4),iconName:V(a,10),itemTypeName:V(a,11),statusDescription:V(a,12),latestAction:V(a,13),latestActionTimestamp:uj(a,14),latestActionByUserEmail:V(a,20),hasDetails:Vj(a,15),externalLink:V(a,16),isDeleted:Vj(a,19),driveResource:a8b(rn(a)),buganizerResource:S7b(Ip(a)),gtasksResource:h8b(fk(a,f8b,7,on)),critiqueResource:X7b(pn(a)),arianeResource:K7b(tn(a)),gerritResource:z8b(fk(a,
y8b,18,on)),ganpatiResource:r8b(fk(a,p8b,22,on)),gutsResource:F8b(fk(a,E8b,23,on)),privacyResource:J8b(fk(a,FC,24,on))}};var L8b=function(a){this.internalArray_=l(a)};U(L8b,q);f=L8b.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return zj(this,1,a)};f.getContent=function(){return V(this,2)};f.setContent=function(a){return zj(this,2,a)};f.toObject=function(){return M8b(this)};var M8b=function(a){if(null!=a)return t(a),{name:V(a,1),content:V(a,2)}};var HC=function(a){this.internalArray_=l(a)};U(HC,q);var N8b=function(a,b){return zj(a,1,b)};HC.prototype.getTaskStatus=function(){return aj(this,3,0)};HC.prototype.setTaskStatus=function(a){return $i(this,3,a)};HC.prototype.getResource=function(){return W(this,GC,6)};HC.prototype.setResource=function(a){return lj(this,GC,6,a)};var O8b=function(a,b){return Nb(a,12,b)};f=HC.prototype;f.getNote=function(){return W(this,L8b,22)};f.hasNote=function(){return Pj(this,L8b,22)};
f.getCreatedTimestamp=function(){return uj(this,7)};f.getUpdatedTimestamp=function(){return uj(this,8)};f.toObject=function(){return IC(this)};
var IC=function(a){if(null!=a)return t(a),{taskId:V(a,1),gaiaId:uj(a,2),taskStatus:aj(a,3,0),naturallyCompleted:Vj(a,4),hasNoActionItems:Vj(a,24),naturallyCompletedDescription:V(a,11),priorityOrder:vj(a,5),priorityOrderReservedUpper:vj(a,9),priorityOrderResetTimestampMs:uj(a,16),currentStatusSince:uj(a,10),currentStatusAutoUpdated:Vj(a,17),resource:K8b(a.getResource()),snoozeUntilMs:uj(a,12),autoUnsnoozeOnUpdate:Vj(a,18),prevStatusState:p7b(W(a,o7b,13)),note:M8b(a.getNote()),readTimestampMs:uj(a,
15),createdTimestamp:uj(a,7),updatedTimestamp:uj(a,8),manuallyAdded:Vj(a,19),hasNote:Vj(a,20),dueInfo:n7b(W(a,l7b,23)),taskStatusRequiresAck:Vj(a,25),taskStatusRequiresAckReason:V(a,26)}};var P8b=function(a){this.internalArray_=l(a)};U(P8b,q);P8b.prototype.toObject=function(){return Q8b(this)};var Q8b=function(a){if(null!=a)return t(a),{autoArchiveInactive:aj(a,1,0),launchDateAsDueDate:aj(a,2,0)}};var R8b=function(a){this.internalArray_=l(a)};U(R8b,q);R8b.prototype.toObject=function(){return S8b(this)};var S8b=function(a){if(null!=a)return t(a),{autoArchiveClosed:aj(a,1,0),sloAsDueDate:aj(a,2,0)}};var T8b=function(a){this.internalArray_=l(a)};U(T8b,q);T8b.prototype.toObject=function(){return U8b(this)};var U8b=function(a){if(null!=a)return t(a),{autoArchiveSubmitted:aj(a,1,0),dueAfterReceivingDays:uj(a,2),dueDateEnabled:aj(a,3,0)}};var V8b=function(a){this.internalArray_=l(a)};U(V8b,q);V8b.prototype.toObject=function(){return W8b(this)};var W8b=function(a){if(null!=a)return t(a),{invitationUserAction:aj(a,2,0),autoArchiveSelfOwnedAllResolved:aj(a,3,0),autoArchiveOthersOwnedAllResolved:aj(a,4,0),dueAfterMentionReceivingDays:uj(a,5),dueAfterAssignmentReceivingDays:uj(a,6),mentionDueDateEnabled:aj(a,7,0),assignmentDueDateEnabled:aj(a,8,0),dueAfterReceivingDays:uj(a,9),dueDateEnabled:aj(a,10,0)}};var X8b=function(a){this.internalArray_=l(a)};U(X8b,q);X8b.prototype.toObject=function(){return Y8b(this)};var Y8b=function(a){if(null!=a)return t(a),{invitationUserAction:aj(a,1,0),unsnoozedTasks:aj(a,2,0)}};var Z8b=function(a){this.internalArray_=l(a)};U(Z8b,q);Z8b.repeatedFields_=[4];Z8b.prototype.toObject=function(){return $8b(this)};var $8b=function(a){if(null!=a)return t(a),{invitationUserAction:aj(a,1,0),autoArchiveCompleted:aj(a,2,0),completeOnArchiveOrMute:aj(a,3,0),gtaskTaskListIdsList:n(Xh(a,4))}};var a9b=function(a){this.internalArray_=l(a)};U(a9b,q);a9b.prototype.toObject=function(){return b9b(this)};var b9b=function(a){if(null!=a)return t(a),{expirationAsDue:aj(a,4,0),autoArchiveResolved:aj(a,3,0)}};var c9b=function(a){this.internalArray_=l(a)};U(c9b,q);c9b.repeatedFields_=[1];c9b.prototype.toObject=function(){return d9b(this)};var d9b=function(a){if(null!=a)return t(a),{gerritHostsList:n(Xh(a,1)),autoArchiveSubmitted:aj(a,2,0),invitationUserAction:aj(a,3,0),dueAfterReceivingDays:uj(a,4),dueDateEnabled:aj(a,5,0)}};var e9b=function(a){this.internalArray_=l(a)};U(e9b,q);e9b.prototype.toObject=function(){return f9b(this)};var f9b=function(a){if(null!=a)return t(a),{invitationUserAction:aj(a,1,0),autoArchiveClosed:aj(a,2,0),dueDateEnabled:aj(a,3,0)}};var g9b=function(a){this.internalArray_=l(a)};U(g9b,q);g9b.prototype.toObject=function(){return h9b(this)};var h9b=function(a){if(null!=a)return t(a),{orderingOption:aj(a,1,0),pinOverdueTasks:aj(a,2,0),pinTasksDueInFiveDays:aj(a,3,0)}};var i9b=function(a){this.internalArray_=l(a)};U(i9b,q);i9b.prototype.toObject=function(){return j9b(this)};var j9b=function(a){if(null!=a)return t(a),{autoArchiveClosed:aj(a,1,0),trackableDueDateEnabled:aj(a,2,0)}};var k9b=function(a){this.internalArray_=l(a)};U(k9b,q);k9b.prototype.toObject=function(){return l9b(this)};var l9b=function(a){if(null!=a)return t(a),{filterEnabled:Vj(a,1),arianeLaunches:aj(a,2,0),arianeReviews:aj(a,3,0)}};var m9b=function(a){this.internalArray_=l(a)};U(m9b,q);m9b.prototype.getAssignedToMe=function(){return Vj(this,2)};m9b.prototype.toObject=function(){return n9b(this)};var n9b=function(a){if(null!=a)return t(a),{filterEnabled:Vj(a,1),assignedToMe:Vj(a,2),reportedByMe:Vj(a,3),ccIncludesMe:Vj(a,6),bugjugglerInCcList:aj(a,4,0),other:aj(a,5,0)}};var o9b=function(a){this.internalArray_=l(a)};U(o9b,q);o9b.prototype.toObject=function(){return p9b(this)};var p9b=function(a){if(null!=a)return t(a),{filterEnabled:Vj(a,1),outgoingReviews:Vj(a,2),incomingReviews:Vj(a,3),ccedReviews:Vj(a,4),inAttentionSet:aj(a,5,0),inPending:aj(a,7,0),other:aj(a,6,0)}};var q9b=function(a){this.internalArray_=l(a)};U(q9b,q);q9b.prototype.getSharedToMe=function(){return aj(this,12,0)};q9b.prototype.toObject=function(){return r9b(this)};
var r9b=function(a){if(null!=a)return t(a),{filterEnabled:Vj(a,1),includeDocs:Vj(a,2),includeSlides:Vj(a,3),includeSheets:Vj(a,4),includeOtherTypes:Vj(a,5),commentsWithMentions:Vj(a,6),commentsWithAssignments:Vj(a,7),commentsWithSuggestions:Vj(a,8),filterBySharingAge:Vj(a,9),maxSharingAgeInDays:Vh(a,10),openComments:Vj(a,11),sharedToMe:aj(a,12,0),sharedToMyGroups:aj(a,13,0),sharedToMyTeamDrive:aj(a,14,0),other:aj(a,15,0),incomingDesignReview:aj(a,16,0),outgoingDesignReview:aj(a,17,0)}};var s9b=function(a){this.internalArray_=l(a)};U(s9b,q);s9b.prototype.toObject=function(){return t9b(this)};var t9b=function(a){if(null!=a)return t(a),{filterEnabled:Vj(a,1)}};var u9b=function(a){this.internalArray_=l(a)};U(u9b,q);u9b.prototype.toObject=function(){return v9b(this)};var v9b=function(a){if(null!=a)return t(a),{filterEnabled:aj(a,1,0)}};var w9b=function(a){this.internalArray_=l(a)};U(w9b,q);w9b.prototype.toObject=function(){return x9b(this)};var x9b=function(a){if(null!=a)return t(a),{filterEnabled:Vj(a,1),outgoingReviews:aj(a,2,0),incomingReviews:aj(a,3,0),ccedReviews:aj(a,4,0),inAttentionSet:aj(a,5,0),other:aj(a,6,0)}};var y9b=function(a){this.internalArray_=l(a)};U(y9b,q);y9b.prototype.toObject=function(){return z9b(this)};var z9b=function(a){if(null!=a)return t(a),{filterEnabled:aj(a,1,0)}};var A9b=function(a){this.internalArray_=l(a)};U(A9b,q);A9b.prototype.toObject=function(){return B9b(this)};var B9b=function(a){if(null!=a)return t(a),{filterEnabled:aj(a,1,0),inAttentionSet:aj(a,2,0),other:aj(a,3,0)}};var JC=function(a){this.internalArray_=l(a)};U(JC,q);JC.prototype.toObject=function(){return KC(this)};var KC=function(a){if(null!=a)return t(a),{critiqueFilter:p9b(W(a,o9b,1)),driveFilter:r9b(W(a,q9b,2)),buganizerFilter:n9b(W(a,m9b,3)),arianeFilter:l9b(W(a,k9b,4)),gtasksFilter:t9b(W(a,s9b,5)),gerritFilter:x9b(W(a,w9b,7)),ganpatiFilter:v9b(W(a,u9b,8)),gutsFilter:z9b(W(a,y9b,10)),privacyFilter:B9b(W(a,A9b,11)),taskAgeInDays:Vh(a,6),showPrivateNoteOnly:aj(a,9,0)}};var C9b=function(a){this.internalArray_=l(a)};U(C9b,q);C9b.prototype.toObject=function(){return D9b(this)};
var D9b=function(a){if(null!=a){t(a);var b=V(a,1),c=Q8b(W(a,P8b,15)),d=S8b(W(a,R8b,16)),e=U8b(W(a,T8b,17)),g=W8b(W(a,V8b,3)),h=b9b(W(a,a9b,27)),m=d9b(W(a,c9b,23)),r=$8b(W(a,Z8b,4)),v=f9b(W(a,e9b,29)),y=j9b(W(a,i9b,32)),A=Vj(a,5),G=Vj(a,6),N=Vj(a,7),Q=Vj(a,8),Z=Vj(a,24),Y=aj(a,28,0),ea=Vj(a,22),ja=Vj(a,9),va=Vj(a,30),za=aj(a,31,0),Pa=KC(W(a,JC,10)),Sa=KC(W(a,JC,11)),Wa=KC(W(a,JC,12)),Qb=KC(W(a,JC,13)),Gb=KC(W(a,JC,14)),cb=V(a,19),sa=uj(a,20),Ja=uj(a,21);var Qa=ik(a,25,g9b);return{mostRecentWorkspaceId:b,
arianeTaskPrefs:c,buganizerTaskPrefs:d,critiqueTaskPrefs:e,driveTaskPrefs:g,ganpatiTaskPrefs:h,gerritTaskPrefs:m,gtasksTaskPrefs:r,gutsTaskPrefs:v,privacyTaskPrefs:y,arianeEnabled:A,buganizerEnabled:G,critiqueEnabled:N,driveEnabled:Q,ganpatiEnabledDeprecated:Z,ganpatiEnabled:Y,gerritEnabled:ea,gtasksEnabled:ja,gutsEnabled:va,privacyEnabled:za,pinnedTaskFilter:Pa,inboxFilter:Sa,snoozedTaskFilter:Wa,completedTaskFilter:Qb,dismissedTaskFilter:Gb,viewedLaunchVersion:cb,hiringChipDismissedTimestampMs:sa,
latestVisitTimestampMs:Ja,taskOrderingPrefsMap:Wb(Qa,h9b),g3NotificationsPrefs:Y8b(W(a,X8b,26))}}};var LC=function(a){this.internalArray_=l(a)};U(LC,q);LC.prototype.getCreatedTimestamp=function(){return uj(this,3)};LC.prototype.getUpdatedTimestamp=function(){return uj(this,4)};var E9b=[2];LC.prototype.toObject=function(){return F9b(this)};var F9b=function(a){if(null!=a)return t(a),{prefsId:V(a,1),taskManagementPrefs:D9b(fk(a,C9b,2,E9b)),initialized:Vj(a,5),createdTimestamp:uj(a,3),updatedTimestamp:uj(a,4)}};var G9b=function(a){this.internalArray_=l(a)};U(G9b,q);var H9b=function(){var a=new G9b;return Ri(a,1,[void 0])};G9b.repeatedFields_=[1];G9b.prototype.toObject=function(){if(null!=this){t(this);var a={taskIdsList:n(Xh(this,1))}}else a=void 0;return a};var mj=function(a){this.internalArray_=l(a)};U(mj,q);f=mj.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return zj(this,1,a)};f.getVersion=function(){return V(this,2)};f.setVersion=function(a){return zj(this,2,a)};f.toObject=function(){return MC(this)};var MC=function(a){if(null!=a)return t(a),{id:V(a,1),version:V(a,2)}};var I9b=function(a){this.internalArray_=l(a)};U(I9b,q);f=I9b.prototype;f.getTask=function(){return W(this,HC,8)};f.setTask=function(a){return lj(this,HC,8,a)};f.hasTask=function(){return Pj(this,HC,8)};f.setUndoToken=function(a){return zj(this,7,a)};f.getClientId=function(){return Vh(this,9)};f.setClientId=function(a){return Kb(this,9,a)};f.getClientTimeZone=function(){return W(this,mj,10)};
f.toObject=function(){if(null!=this){t(this);var a={task:IC(this.getTask()),belowTaskId:V(this,3),undoToken:V(this,7),clientId:Vh(this,9),clientTimeZone:MC(this.getClientTimeZone())}}else a=void 0;return a};var NC=function(a){this.internalArray_=l(a)};U(NC,q);NC.prototype.getName=function(){return V(this,1)};NC.prototype.setName=function(a){return zj(this,1,a)};NC.prototype.toObject=function(){if(null!=this){t(this);var a={name:V(this,1)}}else a=void 0;return a};var OC=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.taskManagementApiPromiseClient=b;this.config=c;this.sessionIndex="0";(0,E.defer)(function(){var e=(new NC).setName("keys/2");return(0,E.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(D(function(e){return(e=fk(e.getUserPrefs()||new LC,C9b,2,E9b))?12096E5>=Date.now()-uj(e,21):!1}),Ye(1))};
OC.prototype.getTask=function(){var a=this,b=H9b();return(0,E.defer)(function(){var c=E.from;var d=a.taskManagementApiPromiseClient;var e=a.getHeaders();d=PC(d.client_,d.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskManagementService/ListTasksForIds",b,e||{},J9b);return c.call(E,d)}).pipe(D(function(c){return(c=c.getTasksList())&&0!==c.length?{taskId:void 0,taskStatus:K9b(c[0].getTaskStatus()),snoozeUntilMs:Number(uj(c[0],12)||"")}:{taskId:void 0,taskStatus:0,snoozeUntilMs:0}}))};
OC.prototype.updateTaskStatus=function(a,b){var c=this;var d=void 0===d?0:d;var e=(new I9b).setTask(O8b(N8b((new HC).setTaskStatus(a),b),d||0)).setUndoToken("");return(0,E.defer)(function(){return(0,E.from)(c.taskManagementApiPromiseClient.updateTaskStatus(e,c.getHeaders()))}).pipe(D(function(g){g=g.getTask();return{taskId:V(g,1),taskStatus:K9b(g.getTaskStatus()),snoozeUntilMs:Number(uj(g,12)||0)}}))};
OC.prototype.getHeaders=function(){return{"X-Goog-Api-Key":this.config?this.config.apikey?this.config.apikey:"nonprod"===this.config.environment?"AIzaSyA_nAdTKd1fntCxJ6UHI2Vf7AZ2idvJrrA":"AIzaSyBIugcexIJggeGpV_dVry6fkIO6bKH_nHk":"AIzaSyA_nAdTKd1fntCxJ6UHI2Vf7AZ2idvJrrA",Authorization:cp([])||"","X-Goog-AuthUser":this.sessionIndex}};var K9b=function(a){switch(a){case 0:case 6:case 2:case 3:case 5:case 1:return a;default:Fh(a)}};OC.\u0275fac=function(a){return new (a||OC)(u(j7b),u(i7b),u(k7b,8))};
OC.\u0275prov=wc({token:OC,factory:OC.\u0275fac,providedIn:"root"});var QC=function(){};QC.\u0275fac=function(a){return new (a||QC)};QC.\u0275mod=Oc({type:QC});QC.\u0275inj=xc({imports:[Vz,Lz,Lz]});var RC=function(){};RC.\u0275fac=function(a){return new (a||RC)};RC.\u0275mod=Oc({type:RC});RC.\u0275inj=xc({imports:[Zy,cB,bx,gB,QC,uC,Kz,dB]});var L9b=function(a){this.internalArray_=l(a)};U(L9b,q);L9b.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};var M9b=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};M9b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};M9b.prototype.getMetadata=function(){return this.metadata_};var N9b=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};N9b.prototype.getMetadata=function(){return this.metadata_};N9b.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};N9b.prototype.getStatus=function(){return this.status_};var SC=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},O9b=function(a,b,c){c=void 0===c?{}:c;return new M9b(b,a,c)};SC.prototype.getName=function(){return this.name};SC.prototype.getName=SC.prototype.getName;var TC=function(a){this.internalArray_=l(a)};U(TC,q);TC.prototype.getTasksList=function(){return oj(this,HC,1)};TC.prototype.setTasksList=function(a){return rj(this,1,a)};var P9b=Yb(TC);TC.repeatedFields_=[1];TC.prototype.toObject=function(){if(null!=this){t(this);var a={tasksList:Ub(this.getTasksList(),IC)}}else a=void 0;return a};var J9b=new SC("/google.internal.devopsconsole.v1.TaskManagementService/ListTasksForIds",G9b,TC,function(a){return a.serialize()},P9b);var UC=function(a){this.internalArray_=l(a)};U(UC,q);UC.prototype.getTask=function(){return W(this,HC,1)};UC.prototype.setTask=function(a){return lj(this,HC,1,a)};UC.prototype.hasTask=function(){return Pj(this,HC,1)};UC.prototype.setUndoToken=function(a){return zj(this,4,a)};var Q9b=Yb(UC);UC.prototype.toObject=function(){if(null!=this){t(this);var a={task:IC(this.getTask()),undoToken:V(this,4)}}else a=void 0;return a};var R9b=new SC("/google.internal.devopsconsole.v1.TaskManagementService/UpdateTaskStatus",I9b,UC,function(a){return a.serialize()},Q9b);var VC=function(a){this.internalArray_=l(a)};U(VC,q);f=VC.prototype;f.getTasksList=function(){return oj(this,HC,1)};f.setTasksList=function(a){return rj(this,1,a)};f.setUndoToken=function(a){return zj(this,2,a)};f.getClientId=function(){return Vh(this,3)};f.setClientId=function(a){return Kb(this,3,a)};f.getClientTimeZone=function(){return W(this,mj,4)};VC.repeatedFields_=[1];
VC.prototype.toObject=function(){if(null!=this){t(this);var a={tasksList:Ub(this.getTasksList(),IC),undoToken:V(this,2),clientId:Vh(this,3),clientTimeZone:MC(this.getClientTimeZone())}}else a=void 0;return a};var WC=function(a){this.internalArray_=l(a)};U(WC,q);WC.prototype.getTasksList=function(){return oj(this,HC,1)};WC.prototype.setTasksList=function(a){return rj(this,1,a)};WC.prototype.setUndoToken=function(a){return zj(this,2,a)};var S9b=Yb(WC);WC.repeatedFields_=[1];WC.prototype.toObject=function(){if(null!=this){t(this);var a={tasksList:Ub(this.getTasksList(),IC),undoToken:V(this,2)}}else a=void 0;return a};var T9b=new SC("/google.internal.devopsconsole.v1.TaskManagementService/UpdateTaskStatuses",VC,WC,function(a){return a.serialize()},S9b);var U9b=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}},V9b=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 XC=function(a,b,c){c=void 0===c?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c};U(XC,Error);XC.prototype.toString=function(){var a="RpcError("+(V9b(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};XC.prototype.name="RpcError";var W9b=Promise;var YC=function(a){this.internalArray_=l(a)};U(YC,q);YC.prototype.getCode=function(){return Vh(this,1)};YC.prototype.setCode=function(a){return Kb(this,1,a)};YC.prototype.getMessage=function(){return V(this,2)};YC.prototype.setMessage=function(a){zj(this,2,a)};var X9b=Yb(YC);YC.repeatedFields_=[3];YC.prototype.toObject=function(){return Y9b(this)};var Y9b=function(a){if(null!=a)return t(a),{code:Vh(a,1),message:V(a,2),detailsList:Ub(oj(a,wC,3),F7b)}};var ZC=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_&&Z9b(this)},e$b=function(a,b){gp(a.xhr_,"complete",function(){if(a.xhr_.isSuccess()){var c=a.xhr_.getResponseText();if(b&&"text/plain"===a.xhr_.getResponseHeader("Content-Type")){if(!atob)throw Error("Hb");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(g){$9b(a,new XC(13,"Error when deserializing response data; error: "+g+(", response: "+c)));return}c=U9b(a.xhr_.getStatus());a$b(a,b$b(a));0==c?c$b(a,d):$9b(a,new XC(c,"Xhr succeeded but the status code is not 200"))}else{d=a.xhr_.getResponseText();var e={};d?(e=d$b(a,d),d=e.code,c=e.details,e=e.metadata):(d=2,c="Rpc failed due to xhr error. error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError());a$b(a,b$b(a));$9b(a,new XC(d,c,e))}})},Z9b=function(a){a.xhrNodeReadableStream_.on("data",
function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){$9b(a,new XC(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&c$b(a,d)}if("2"in b)for(b=d$b(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){a$b(a,b$b(a));for(var b=0;b<a.onEndCallbacks_.length;b++)a.onEndCallbacks_[b]()});a.xhrNodeReadableStream_.on("error",function(){if(0!=a.onErrorCallbacks_.length){var b=
a.xhr_.getLastErrorCode();0!==b||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=U9b(c);break;default:d=14}a$b(a,b$b(a));b=B4b(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);$9b(a,new XC(d,b))}})},b$b=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},d$b=function(a,b){var c=2,d={};try{var e=X9b(b);c=e.getCode();var g=e.getMessage();
oj(e,wC,3).length&&(d["grpc-web-status-details-bin"]=b)}catch(h){a.xhr_&&404===a.xhr_.getStatus()?(c=5,g="Not Found: "+a.xhr_.getLastUri()):(c=14,g="Unable to parse RpcStatus: "+h)}return{code:c,details:g,metadata:d}};ZC.prototype.on=function(a,b){"data"==a?this.onDataCallbacks_.push(b):"metadata"==a?this.onMetadataCallbacks_.push(b):"status"==a?this.onStatusCallbacks_.push(b):"end"==a?this.onEndCallbacks_.push(b):"error"==a&&this.onErrorCallbacks_.push(b);return this};
var f$b=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};ZC.prototype.removeListener=function(a,b){"data"==a?f$b(this.onDataCallbacks_,b):"metadata"==a?f$b(this.onMetadataCallbacks_,b):"status"==a?f$b(this.onStatusCallbacks_,b):"end"==a?f$b(this.onEndCallbacks_,b):"error"==a&&f$b(this.onErrorCallbacks_,b);return this};ZC.prototype.cancel=function(){this.xhr_.abort()};
var c$b=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},a$b=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},$9b=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};ZC.prototype.cancel=ZC.prototype.cancel;ZC.prototype.removeListener=ZC.prototype.removeListener;ZC.prototype.on=ZC.prototype.on;var $C=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};nt($C,C4b);$C.prototype.createInstance=function(){var a=new aD(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};$C.prototype.internalGetOptions=lTb({});$C.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
$C.prototype.setCacheMode=function(a){this.cacheMode_=a};var aD=function(a,b){fp.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};
nt(aD,fp);aD.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Ib");this.method_=a;this.url_=b;this.readyState=1;g$b(this)};aD.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Jb");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||ba).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
aD.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});1<=this.readyState&&this.inProgress_&&4!=this.readyState&&(this.inProgress_=!1,h$b(this));this.readyState=0};
aD.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,g$b(this)),this.inProgress_&&(this.readyState=3,g$b(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof ba.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Kb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;i$b(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var i$b=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
aD.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?h$b(this):g$b(this);3==this.readyState&&i$b(this)}};aD.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,h$b(this))};
aD.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,h$b(this))};aD.prototype.handleSendFailure_=function(){this.inProgress_&&h$b(this)};var h$b=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;g$b(a)};f=aD.prototype;f.setRequestHeader=function(a,b){this.requestHeaders_.append(a,b)};f.getResponseHeader=function(a){return this.responseHeaders_?this.responseHeaders_.get(a.toLowerCase())||"":""};
f.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")};f.setCredentialsMode=function(a){this.credentialsMode_=a};f.setCacheMode=function(a){this.cacheMode_=a};var g$b=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(aD.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var j$b=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(ua(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},bD=function(a){if(a.getValues&&"function"==typeof a.getValues)return a.getValues();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Kca(a)},k$b=
function(a){if(a.getKeys&&"function"==typeof a.getKeys)return a.getKeys();if(!a.getValues||"function"!=typeof a.getValues){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ua(a)||"string"===typeof a){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}}},l$b=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ua(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=k$b(a),e=bD(a),g=e.length,h=0;h<g;h++)b.call(c,e[h],d&&d[h],a)},m$b=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(ua(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=k$b(a),e=bD(a),g=e.length,h=0;h<g;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var lp=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof lp?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,cD(this,a.scheme_),this.setUserInfo(a.getUserInfo()),this.setDomain(a.getDomain()),dD(this,a.port_),this.setPath(a.getPath()),n$b(this,a.queryData_.clone()),o$b(this,a.fragment_)):a&&(c=String(a).match(G4b))?(this.ignoreCase_=!!b,cD(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),this.setDomain(c[3]||"",
!0),dD(this,c[4]),this.setPath(c[5]||"",!0),n$b(this,c[6]||"",!0),o$b(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new eD(null,this.ignoreCase_))};
lp.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(p$b(b,q$b,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(p$b(b,q$b,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.port_,null!=c&&a.push(":",String(c));if(c=this.getPath())this.hasDomain()&&"/"!=c.charAt(0)&&a.push("/"),a.push(p$b(c,"/"==c.charAt(0)?r$b:s$b,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",p$b(c,
t$b));return a.join("")};
lp.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?cD(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=a.hasDomain();c?b.setDomain(a.getDomain()):c=null!=a.port_;var d=a.getPath();if(c)dD(b,a.port_);else if(c=a.hasPath()){if("/"!=d.charAt(0))if(this.hasDomain()&&!this.hasPath())d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(ha(e,"./")||ha(e,"/.")){d=fi(e,"/");e=e.split("/");for(var g=[],h=
0;h<e.length;){var m=e[h++];"."==m?d&&h==e.length&&g.push(""):".."==m?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&h==e.length&&g.push("")):(g.push(m),d=!0)}d=g.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?n$b(b,a.queryData_.clone()):c=!!a.fragment_;c&&o$b(b,a.fragment_);return b};lp.prototype.clone=function(){return new lp(this)};var cD=function(a,b,c){a.scheme_=c?fD(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};f=lp.prototype;f.getUserInfo=function(){return this.userInfo_};
f.setUserInfo=function(a,b){this.userInfo_=b?fD(a):a;return this};f.hasUserInfo=function(){return!!this.userInfo_};f.getDomain=function(){return this.domain_};f.setDomain=function(a,b){this.domain_=b?fD(a,!0):a;return this};f.hasDomain=function(){return!!this.domain_};var dD=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Lb`"+b);a.port_=b}else a.port_=null;return a};lp.prototype.getPath=function(){return this.path_};lp.prototype.setPath=function(a,b){this.path_=b?fD(a,!0):a;return this};
lp.prototype.hasPath=function(){return!!this.path_};lp.prototype.hasQuery=function(){return""!==this.queryData_.toString()};var n$b=function(a,b,c){b instanceof eD?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=p$b(b,u$b)),a.queryData_=new eD(b,a.ignoreCase_));return a};lp.prototype.setQuery=function(a){return n$b(this,a)};lp.prototype.getQuery=function(){return this.queryData_.toString()};
var gD=function(a,b,c){a.queryData_.set(b,c);return a},hD=function(a,b){return a.queryData_.get(b)},o$b=function(a,b,c){a.fragment_=c?fD(b):b;return a},v$b=function(a){gD(a,"zx",UTb());return a};lp.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};lp.prototype.isReadOnly=function(){return!1};lp.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var iD=function(a,b){return a instanceof lp?a.clone():new lp(a,b)},w$b=function(a,b,c,d,e){var g=new lp(null);a&&cD(g,a);b&&g.setUserInfo(b);c&&g.setDomain(c);d&&dD(g,d);e&&g.setPath(e);return g},fD=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},p$b=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,x$b),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},x$b=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
q$b=/[#\/\?@]/g,s$b=/[#\?:]/g,r$b=/[#\?]/g,u$b=/[#\?@]/g,t$b=/#/g,eD=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},jD=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&H4b(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};f=eD.prototype;f.getCount=function(){jD(this);return this.count_};
f.add=function(a,b){jD(this);this.encodedQuery_=null;a=kD(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};f.remove=function(a){jD(this);a=kD(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1};f.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};f.isEmpty=function(){jD(this);return 0==this.count_};f.containsKey=function(a){jD(this);a=kD(this,a);return this.keyMap_.has(a)};
f.containsValue=function(a){var b=this.getValues();return pa(b,a)};f.forEach=function(a,b){jD(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};f.getKeys=function(){jD(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],g=0;g<e.length;g++)c.push(b[d]);return c};
f.getValues=function(a){jD(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(kD(this,a))));else{a=Array.from(this.keyMap_.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};f.set=function(a,b){jD(this);this.encodedQuery_=null;a=kD(this,a);this.containsKey(a)&&(this.count_-=this.keyMap_.get(a).length);this.keyMap_.set(a,[b]);this.count_+=1;return this};f.get=function(a,b){if(!a)return b;a=this.getValues(a);return 0<a.length?String(a[0]):b};
f.setValues=function(a,b){this.remove(a);0<b.length&&(this.encodedQuery_=null,this.keyMap_.set(kD(this,a),ta(b)),this.count_+=b.length)};f.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 g=0;g<d.length;g++){var h=e;""!==d[g]&&(h+="="+encodeURIComponent(String(d[g])));a.push(h)}}return this.encodedQuery_=a.join("&")};
f.clone=function(){var a=new eD;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var kD=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};eD.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(jD(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};
eD.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)l$b(arguments[b],function(c,d){this.add(d,c)},this)};var y$b=function(a){var b="";Zb(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},z$b=function(a,b,c){if(ac(c))return a;c=y$b(c);if("string"===typeof a)return M4b(a,encodeURIComponent(String(b)),c);gD(a,b,c);return a};var Mq=function(a){iB.call(this);this.handler_=a;this.keys_={}};nt(Mq,iB);var A$b=[];Mq.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(A$b[0]=b.toString()),b=A$b);for(var e=0;e<b.length;e++){var g=gp(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!g)break;this.keys_[g.key]=g}return this};Mq.prototype.listenOnce=function(a,b,c,d){return B$b(this,a,b,c,d)};
var B$b=function(a,b,c,d,e,g){if(Array.isArray(c))for(var h=0;h<c.length;h++)B$b(a,b,c[h],d,e,g);else{b=oB(b,c,d||a.handleEvent,e,g||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
Mq.prototype.unlisten=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.unlisten(a,b[g],c,d,e);else c=c||this.handleEvent,d=wa(d)?!!d.capture:!!d,e=e||this.handler_||this,c=p2b(c),d=!!d,b=mB(a)?a.getListener(b,c,d,e):a?(a=r2b(a))?a.getListener(b,c,d,e):null:null,b&&(qB(b),delete this.keys_[b.key]);return this};Mq.prototype.removeAll=function(){Zb(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&qB(a)},this);this.keys_={}};
Mq.prototype.disposeInternal=function(){Mq.superClass_.disposeInternal.call(this);this.removeAll()};Mq.prototype.handleEvent=function(){throw Error("Nb");};var C$b=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};C$b.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Ob`"+this.streamPos_+"`"+b+"`"+a);};
C$b.prototype.decode=function(a){this.isInputValid_||this.error_(a,"stream already broken");this.leftoverInput_+=a;a=Math.floor(this.leftoverInput_.length/4);if(0==a)return null;try{var b=RNb(this.leftoverInput_.slice(0,4*a))}catch(c){this.error_(this.leftoverInput_,c.message)}this.streamPos_+=4*a;this.leftoverInput_=this.leftoverInput_.slice(4*a);return b};var Hh=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};Hh.prototype.getErrorMessage=function(){return this.errorMessage_};Hh.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_);};Hh.prototype.acceptsBinaryInput=function(){return!0};
Hh.prototype.parse=function(a){function b(r){r&128&&g.error_(h,m,"invalid tag");2!=(r&7)&&g.error_(h,m,"invalid wire type");g.tag_=r>>>3;1!=g.tag_&&2!=g.tag_&&15!=g.tag_&&g.error_(h,m,"unexpected tag");g.state_=1;g.length_=0;g.countLengthBytes_=0}function c(r){g.countLengthBytes_++;5==g.countLengthBytes_&&r&240&&g.error_(h,m,"message length too long");g.length_|=(r&127)<<7*(g.countLengthBytes_-1);r&128||(g.state_=2,g.countMessageBytes_=0,"undefined"!==typeof Uint8Array?g.messageBuffer_=new Uint8Array(g.length_):
g.messageBuffer_=Array(g.length_),0==g.length_&&e())}function d(r){g.messageBuffer_[g.countMessageBytes_++]=r;g.countMessageBytes_==g.length_&&e()}function e(){if(15>g.tag_){var r={};r[g.tag_]=g.messageBuffer_;g.result_.push(r)}g.state_=0}for(var g=this,h=a instanceof Array?a:new Uint8Array(a),m=0;m<h.length;){switch(g.state_){case 3:g.error_(h,m,"stream already broken");break;case 0:b(h[m]);break;case 1:c(h[m]);break;case 2:d(h[m]);break;default:throw Error("Pb`"+g.state_);}g.streamPos_++;m++}a=
g.result_;g.result_=[];return 0<a.length?a:null};var Ih=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new C$b;this.pbParser_=new Hh};Ih.prototype.getErrorMessage=function(){return this.errorMessage_};Ih.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};Ih.prototype.acceptsBinaryInput=function(){return!1};
Ih.prototype.parse=function(a){null!==this.errorMessage_&&this.error_(a,"stream already broken");var b=null;try{var c=this.base64Decoder_.decode(a);b=null===c?null:this.pbParser_.parse(c)}catch(d){this.error_(a,d.message)}this.streamPos_+=a.length;return b};var lD=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var Ipa=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)},D$b={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};f=Ipa.prototype;f.getErrorMessage=function(){return this.errorMessage_};f.done=function(){return 2===this.streamState_};f.error_=function(a,b){this.streamState_=3;this.errorMessage_="The stream is broken @"+this.pos_+"/"+b+". With input:\n"+a;throw Error(this.errorMessage_);};f.acceptsBinaryInput=function(){return!1};
f.parse=function(a){function b(){for(;G<a.length;)if(lD(a[G]))G++,g.pos_++;else break;return G<v}function c(){for(var Q;;){Q=a[G++];if(!Q)break;g.pos_++;switch(g.state_){case r.INIT:"{"===Q?g.state_=r.OBJECT_OPEN:"["===Q?g.state_=r.ARRAY_OPEN:lD(Q)||g.error_(a,G);continue;case r.KEY_START:case r.OBJECT_OPEN:if(lD(Q))continue;if(g.state_===r.KEY_START)h.push(r.KEY_END);else if("}"===Q){e("{}");g.state_=d();continue}else h.push(r.OBJECT_END);'"'===Q?g.state_=r.STRING:g.error_(a,G);continue;case r.KEY_END:case r.OBJECT_END:if(lD(Q))continue;
":"===Q?(g.state_===r.OBJECT_END&&(h.push(r.OBJECT_END),g.depth_++),g.state_=r.VALUE):"}"===Q?(g.depth_--,e(),g.state_=d()):","===Q?(g.state_===r.OBJECT_END&&h.push(r.OBJECT_END),g.state_=r.KEY_START):g.error_(a,G);continue;case r.ARRAY_OPEN:case r.VALUE:if(lD(Q))continue;if(g.state_===r.ARRAY_OPEN)if(g.depth_++,g.state_=r.VALUE,"]"===Q){g.depth_--;if(0===g.depth_){g.state_=r.ARRAY_END;return}e("[]");g.state_=d();continue}else h.push(r.ARRAY_END);'"'===Q?g.state_=r.STRING:"{"===Q?g.state_=r.OBJECT_OPEN:
"["===Q?g.state_=r.ARRAY_OPEN:"t"===Q?g.state_=r.TRUE1:"f"===Q?g.state_=r.FALSE1:"n"===Q?g.state_=r.NULL1:"-"!==Q&&(-1!=="0123456789".indexOf(Q)?g.state_=r.NUM_DIGIT:g.error_(a,G));continue;case r.ARRAY_END:if(","===Q)h.push(r.ARRAY_END),g.state_=r.VALUE,1===g.depth_&&(A=G);else if("]"===Q){g.depth_--;if(0===g.depth_)return;e();g.state_=d()}else if(lD(Q))continue;else g.error_(a,G);continue;case r.STRING:var Z=G;a:for(;;){for(;0<g.unicodeCount_;)if(Q=a[G++],4===g.unicodeCount_?g.unicodeCount_=0:g.unicodeCount_++,
!Q)break a;if('"'===Q&&!g.slashed_){g.state_=d();break}if("\\"===Q&&!g.slashed_&&(g.slashed_=!0,Q=a[G++],!Q))break;if(g.slashed_)if(g.slashed_=!1,"u"===Q&&(g.unicodeCount_=1),Q=a[G++])continue;else break;m.lastIndex=G;Q=m.exec(a);if(!Q){G=a.length+1;break}G=Q.index+1;Q=a[Q.index];if(!Q)break}g.pos_+=G-Z;continue;case r.TRUE1:if(!Q)continue;"r"===Q?g.state_=r.TRUE2:g.error_(a,G);continue;case r.TRUE2:if(!Q)continue;"u"===Q?g.state_=r.TRUE3:g.error_(a,G);continue;case r.TRUE3:if(!Q)continue;"e"===Q?
g.state_=d():g.error_(a,G);continue;case r.FALSE1:if(!Q)continue;"a"===Q?g.state_=r.FALSE2:g.error_(a,G);continue;case r.FALSE2:if(!Q)continue;"l"===Q?g.state_=r.FALSE3:g.error_(a,G);continue;case r.FALSE3:if(!Q)continue;"s"===Q?g.state_=r.FALSE4:g.error_(a,G);continue;case r.FALSE4:if(!Q)continue;"e"===Q?g.state_=d():g.error_(a,G);continue;case r.NULL1:if(!Q)continue;"u"===Q?g.state_=r.NULL2:g.error_(a,G);continue;case r.NULL2:if(!Q)continue;"l"===Q?g.state_=r.NULL3:g.error_(a,G);continue;case r.NULL3:if(!Q)continue;
"l"===Q?g.state_=d():g.error_(a,G);continue;case r.NUM_DECIMAL_POINT:"."===Q?g.state_=r.NUM_DIGIT:g.error_(a,G);continue;case r.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(Q))continue;else G--,g.pos_--,g.state_=d();continue;default:g.error_(a,G)}}}function d(){var Q=h.pop();return null!=Q?Q:r.VALUE}function e(Q){1<g.depth_||(Q||(Q=-1===A?g.buffer_+a.substring(y,G):a.substring(A,G)),g.deliverMessageAsRawString_?g.result_.push(Q):g.result_.push(JSON.parse(Q)),A=G)}for(var g=this,h=g.stack_,m=g.stringInputPattern_,
r=D$b,v=a.length,y=0,A=-1,G=0;G<v;)switch(g.streamState_){case 3:return g.error_(a,G),null;case 2:return b()&&g.error_(a,G),null;case 0:if(b()){var N=a[G++];g.pos_++;if("["===N){g.streamState_=1;y=G;g.state_=r.ARRAY_OPEN;continue}else g.error_(a,G)}return null;case 1:return c(),0===g.depth_&&g.state_==r.ARRAY_END?(g.streamState_=2,g.buffer_=a.substring(G)):g.buffer_=-1===A?g.buffer_+a.substring(y):a.substring(A),0<g.result_.length?(N=g.result_,g.result_=[],N):null}return null};var Hpa=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Hpa.prototype.getErrorMessage=function(){return this.errorMessage_};Hpa.prototype.acceptsBinaryInput=function(){return!1};
Hpa.prototype.parse=function(a){function b(r){g.state_=6;g.errorMessage_="The stream is broken @"+g.streamPos_+"/"+h+". Error: "+r+". With input:\n";throw Error(g.errorMessage_);}function c(){g.jsonStreamParser_=new Ipa({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(r){if(r)for(var v=0;v<r.length;v++){var y={};y[1]=r[v];g.result_.push(y)}}function e(r){if(r){(g.statusParsed_||1<r.length)&&b("extra status: "+r);g.statusParsed_=!0;var v={};v[2]=r[0];g.result_.push(v)}}for(var g=
this,h=0;h<a.length;){var m;if(m=2!==g.state_){a:{for(;h<a.length;){if(!lD(a[h])){m=!0;break a}h++;g.streamPos_++}m=!1}m=!m}if(m)return null;switch(g.state_){case 6:b("stream already broken");break;case 0:"["===a[h]?(g.state_=1,h++,g.streamPos_++):b("unexpected input token");break;case 1:"["===a[h]?(g.state_=2,c()):","===a[h]||"null,"==a.slice(h,h+5)?g.state_=3:"]"===a[h]?(g.state_=5,h++,g.streamPos_++):b("unexpected input token");break;case 2:m=g.jsonStreamParser_.parse(a.substring(h));d(m);g.jsonStreamParser_.done()?
(g.state_=3,m=g.jsonStreamParser_.buffer_,g.streamPos_+=a.length-h-m.length,a=m,h=0):(g.streamPos_+=a.length-h,h=a.length);break;case 3:","===a[h]||"null,"==a.slice(h,h+5)?(g.state_=4,c(),g.jsonStreamParser_.parse("["),h+=","===a[h]?1:5,g.streamPos_++):"]"===a[h]&&(g.state_=5,h++,g.streamPos_++);break;case 4:m=g.jsonStreamParser_.parse(a.substring(h));e(m);g.jsonStreamParser_.done()?(g.state_=5,m=g.jsonStreamParser_.buffer_,g.streamPos_+=a.length-h-m.length,a=m,h=0):(g.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return 0<g.result_.length?(a=g.result_,g.result_=[],a):null};var E$b=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 Mq(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};E$b.prototype.getXhr=function(){return this.xhr_};
var mD=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},F$b=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};E$b.prototype.getStatus=function(){return this.status_};
E$b.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 g=this.xhr_.getResponse();0<g.length&&g[0]instanceof Uint8Array&&(this.hasStreamingResponseData_=!0,a=g)}if(!(3>b||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?mD(this,7):7==c?mD(this,8):d||mD(this,3)),this.parser_||(this.parser_=Jpa(this.xhr_),
null==this.parser_&&mD(this,5)),2<this.status_)F$b(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var m=0;m<h;m++){var r=this.parser_.parse(Array.from(a[m]));r&&(c=c.concat(r))}else{r="";if(!this.textDecoder_){if("undefined"===typeof TextDecoder)throw Error("Qb");this.textDecoder_=new TextDecoder}for(m=0;m<h;m++)r+=this.textDecoder_.decode(a[m],{stream:4==b&&m==h-1});c=this.parser_.parse(r)}a.splice(0,h);c&&this.dataHandler_(c)}catch(y){mD(this,
5);F$b(this);break a}}else if(e.length>this.pos_){m=e.slice(this.pos_);this.pos_=e.length;try{var v=this.parser_.parse(m);null!=v&&this.dataHandler_&&this.dataHandler_(v)}catch(y){mD(this,5);F$b(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?mD(this,2):mD(this,4),F$b(this)):mD(this,1)}}}catch(y){mD(this,6),F$b(this)}};var G$b=function(a){this.xhrReader_=a;a=lt(this.onData_,this);this.xhrReader_.dataHandler_=a;a=lt(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.callbackMap_={};this.callbackOnceMap_={}};f=G$b.prototype;f.on=function(a,b){var c=this.callbackMap_[a];c||(c=[],this.callbackMap_[a]=c);c.push(b);return this};f.addListener=function(a,b){this.on(a,b);return this};f.removeListener=function(a,b){var c=this.callbackMap_[a];c&&qa(c,b);(a=this.callbackOnceMap_[a])&&qa(a,b);return this};
f.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};f.onData_=function(a){var b=this.callbackMap_.data;b&&H$b(this,a,b);(b=this.callbackOnceMap_.data)&&H$b(this,a,b);this.callbackOnceMap_.data=[]};
var H$b=function(a,b,c){for(var d={},e=0;e<b.length;d={$jscomp$loop$prop$message$1909164038$1:d.$jscomp$loop$prop$message$1909164038$1},e++)d.$jscomp$loop$prop$message$1909164038$1=b[e],c.forEach(function(g){return function(h){try{h(g.$jscomp$loop$prop$message$1909164038$1)}catch(m){a.handleError_("message-callback exception (ignored) "+m)}}}(d))};
G$b.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:I$b(this,"readable");break;case 5:case 6:case 4:case 7:case 3:I$b(this,"error");break;case 8:I$b(this,"close");break;case 2:I$b(this,"end")}};var I$b=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]=[]};G$b.prototype.handleError_=function(){};var nD=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||bp("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||bp("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},L$b=function(a,b,c,d,e){var g=b.substr(0,b.length-e.name.length);return J$b(function(h){return new W9b(function(m,r){var v=
{},y=K$b(a,h,g);y.on("error",function(A){return r(A)});y.on("metadata",function(A){v=A});y.on("data",function(A){var G=v;G=void 0===G?{}:G;m(new N9b(A,h.getMethodDescriptor(),G))})})},a.unaryInterceptors_).call(a,O9b(e,c,d)).then(function(h){return h.responseMessage_})},PC=function(a,b,c,d,e){return L$b(a,b,c,d,e)};
nD.prototype.serverStreaming=function(a,b,c,d){var e=this,g=a.substr(0,a.length-d.name.length);return J$b(function(h){var m=h.getMethodDescriptor(),r=h.getMetadata(),v=M$b(e,!1);r=N$b(e,r,v,g+m.getName());var y=O$b(v,m.responseDeserializeFn,!0);h=m.requestSerializeFn(h.requestMessage_);v.send(r,"POST",h);return y},this.streamInterceptors_).call(this,O9b(d,b,c))};
var K$b=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),g=M$b(a,!0);a=N$b(a,e,g,c+d.getName());c=O$b(g,d.responseDeserializeFn,!1);e$b(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);g.send(a,"POST",b);return c},M$b=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new NB(new $C({worker:a.workerScope_,streamBinaryChunks:b})):new NB},N$b=function(a,b,c,d){b["Content-Type"]="application/json+protobuf";b["X-User-Agent"]=
"grpc-web-javascript/0.1";var e="Authorization"in b?(e=b.Authorization)?!!{SAPISIDHASH:!0,APISIDHASH:!0}[e.split(" ")[0]]:!1:!1;if(e||a.withCredentials_)c.withCredentials_=!0;if(a.suppressCorsPreflight_)d=z$b(d,"$httpHeaders",b);else for(var g in b)c.headers.set(g,b[g]);return d},O$b=function(a,b,c){if(c)if(!Gq||10<=Number(st)){c=new E$b(a);var d=new G$b(c)}else d=null;return new ZC({xhr:a,nodeReadableStream:d},b)},J$b=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(g){return d.intercept(g,
e)}});return c};var P$b=function(a){this.client_=new nD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};P$b.prototype.updateTaskStatus=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskManagementService/UpdateTaskStatus",a,b||{},R9b)};P$b.prototype.updateTaskStatuses=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskManagementService/UpdateTaskStatuses",a,b||{},T9b)};var Q$b=function(a){this.internalArray_=l(a)};U(Q$b,q);Q$b.prototype.getUserPrefs=function(){return W(this,LC,1)};var R$b=Yb(Q$b);Q$b.prototype.toObject=function(){if(null!=this){t(this);var a={userPrefs:F9b(this.getUserPrefs())}}else a=void 0;return a};var S$b=new SC("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",NC,Q$b,function(a){return a.serialize()},R$b);var oD=function(a){this.internalArray_=l(a)};U(oD,q);oD.repeatedFields_=[1];oD.prototype.toObject=function(){return pD(this)};var pD=function(a){if(null!=a)return t(a),{pathsList:n(Xh(a,1))}};var T$b=function(a){this.client_=new nD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};T$b.prototype.getUserPrefs=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},S$b)};var U$b=function(a,b){this.target=a;this.targetElement=b;this.value=this.target.value},qD=function(a,b,c){var d=this;this._elementRef=a;this._dateAdapter=b;this._dateFormats=c;this.dateChange=new pw;this.dateInput=new pw;this.stateChanges=new E.Subject;this._onTouched=function(){};this._validatorOnChange=function(){};this._cvaOnChange=function(){};this._localeSubscription=this._valueChangesSubscription=E.Subscription.EMPTY;this._parseValidator=function(){return d._lastValueValid?null:{matDatepickerParse:{text:d._elementRef.nativeElement.value}}};
this._filterValidator=function(e){e=Nz(d._dateAdapter,d._dateAdapter.deserialize(e.value));return!e||d._matchesFilter(e)?null:{matDatepickerFilter:!0}};this._minValidator=function(e){e=Nz(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.min;return!g||!e||0>=Oz(d._dateAdapter,g,e)?null:{matDatepickerMin:{min:g,actual:e}}};this._maxValidator=function(e){e=Nz(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.max;return!g||!e||0<=Oz(d._dateAdapter,g,e)?null:
{matDatepickerMax:{max:g,actual:e}}};this._lastValueValid=!1;this._localeSubscription=b.localeChanges.subscribe(function(){d._assignValueProgrammatically(d.value)})};f=qD.prototype;f._getValidators=function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]};
f._registerModel=function(a){var b=this;this._model=a;this._valueChangesSubscription.unsubscribe();this._pendingValue&&this._assignValue(this._pendingValue);this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(c){b._shouldHandleChangeEvent(c)&&(c=b._getValueFromModel(c.selection),b._lastValueValid=b._isValidValue(c),b._cvaOnChange(c),b._onTouched(),b._formatValue(c),b.dateInput.emit(new U$b(b,b._elementRef.nativeElement)),b.dateChange.emit(new U$b(b,b._elementRef.nativeElement)))})};
f.ngAfterViewInit=function(){this._isInitialized=!0};f.ngOnChanges=function(a){a:{var b=this._dateAdapter,c=Object.keys(a);c=k(c);for(var d=c.next();!d.done;d=c.next()){var e=a[d.value];d=e.previousValue;e=e.currentValue;if(P_b(d)&&P_b(e)){if(!b.sameDate(d,e)){a=!0;break a}}else{a=!0;break a}}a=!1}a&&this.stateChanges.next(void 0)};f.ngOnDestroy=function(){this._valueChangesSubscription.unsubscribe();this._localeSubscription.unsubscribe();this.stateChanges.complete()};
f.registerOnValidatorChange=function(a){this._validatorOnChange=a};f.validate=function(a){return this._validator?this._validator(a):null};f.writeValue=function(a){this._assignValueProgrammatically(a)};f.registerOnChange=function(a){this._cvaOnChange=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this.disabled=a};
f._onKeydown=function(a){var b=["ctrlKey","shiftKey","metaKey"];Kg(a,"altKey")&&40===a.keyCode&&b.every(function(c){return!Kg(a,c)})&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),a.preventDefault())};
f._onInput=function(a){var b=this._lastValueValid,c=this._dateAdapter.parse(a,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(c);c=Nz(this._dateAdapter,c);var d=!this._dateAdapter.sameDate(c,this.value);!c||d?this._cvaOnChange(c):(a&&!this.value&&this._cvaOnChange(c),b!==this._lastValueValid&&this._validatorOnChange());d&&(this._assignValue(c),this.dateInput.emit(new U$b(this,this._elementRef.nativeElement)))};f._onChange=function(){this.dateChange.emit(new U$b(this,this._elementRef.nativeElement))};
f._onBlur=function(){this.value&&this._formatValue(this.value);this._onTouched()};f._formatValue=function(a){this._elementRef.nativeElement.value=null!=a?this._dateAdapter.format(a,this._dateFormats.display.dateInput):""};f._assignValue=function(a){this._model?(this._assignValueToModel(a),this._pendingValue=null):this._pendingValue=a};f._isValidValue=function(a){return!a||this._dateAdapter.isValid(a)};f._parentDisabled=function(){return!1};
f._assignValueProgrammatically=function(a){a=this._dateAdapter.deserialize(a);this._lastValueValid=this._isValidValue(a);a=Nz(this._dateAdapter,a);this._assignValue(a);this._formatValue(a)};f._matchesFilter=function(a){var b=this._rangeInput.dateFilter;return!b||b(a)};
wh.Object.defineProperties(qD.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(a){this._assignValueProgrammatically(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return!!this._disabled||this._parentDisabled()},set:function(a){a=Gg(a);var b=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0));a&&this._isInitialized&&b.blur&&b.blur()}}});
qD.\u0275fac=function(a){return new (a||qD)(C(Bd),C(Mz,8),C(Pz,8))};qD.\u0275dir=Qc({type:qD,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ed]});var V$b=new Zc("MAT_DATE_RANGE_INPUT_PARENT"),rD=function(a,b,c,d,e,g,h,m){qD.call(this,b,h,m);this._rangeInput=a;this._elementRef=b;this._defaultErrorStateMatcher=c;this._injector=d;this._parentForm=e;this._parentFormGroup=g;this._dir=Hc(lz,{optional:!0})};U(rD,qD);f=rD.prototype;f.ngOnInit=function(){var a=this._injector.get(mx,null,{optional:!0,self:!0});a&&(this.ngControl=a)};f.ngDoCheck=function(){this.ngControl&&this.updateErrorState()};f.isEmpty=function(){return 0===this._elementRef.nativeElement.value.length};
f._getPlaceholder=function(){return this._elementRef.nativeElement.placeholder};f.focus=function(){this._elementRef.nativeElement.focus()};f._onInput=function(a){qD.prototype._onInput.call(this,a);this._rangeInput._handleChildValueChange()};f._openPopup=function(){this._rangeInput._openDatepicker()};f._getMinDate=function(){return this._rangeInput.min};f._getMaxDate=function(){return this._rangeInput.max};f._getDateFilter=function(){return this._rangeInput.dateFilter};f._parentDisabled=function(){return this._rangeInput._groupDisabled};
f._shouldHandleChangeEvent=function(a){a=a.source;return a!==this._rangeInput._startInput&&a!==this._rangeInput._endInput};f._assignValueProgrammatically=function(a){qD.prototype._assignValueProgrammatically.call(this,a);var b;null==(b=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)||b._validatorOnChange()};f._getAccessibleName=function(){return Kpa(this._elementRef.nativeElement,!0)};
rD.\u0275fac=function(a){return new (a||rD)(C(V$b),C(Bd),C(Qz),C(Lv),C(sx,8),C(Bx,8),C(Mz,8),C(Pz,8))};rD.\u0275dir=Qc({type:rD,features:[lf]});Ioa(rD);var W$b={provide:new Zc("mat-datepicker-scroll-strategy"),deps:[Hz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};xh(function(a){this._elementRef=a});var X$b=new Zc("mat-mdc-fab-default-options",{providedIn:"root",factory:Lpa});[].concat(ad(["disabled","disableRipple","color","tabIndex"]),["extended"]);var sD=function(){};sD.\u0275fac=function(a){return new (a||sD)};sD.\u0275mod=Oc({type:sD});sD.\u0275inj=xc({imports:[Lz,Vz,Lz]});var tD=function(){};tD.\u0275fac=function(a){return new (a||tD)};tD.\u0275mod=Oc({type:tD});tD.\u0275inj=xc({providers:[eA,W$b],imports:[bx,sD,Kz,Zy,cy,Lz,wz]});var uD=function(){};uD.\u0275fac=function(a){return new (a||uD)};uD.\u0275mod=Oc({type:uD});uD.\u0275inj=xc({providers:[e7b],imports:[Zy,bx,Kz,Lz,Lz,wz]});var vD=function(){};vD.\u0275fac=function(a){return new (a||vD)};vD.\u0275mod=Oc({type:vD});vD.\u0275inj=xc({providers:[{provide:j7b,useFactory:function(a){return new T$b(Mpa(a))},deps:[k7b]},{provide:i7b,useFactory:function(a){return new P$b(Mpa(a))},deps:[k7b]},OC],imports:[bx,RC,QC,tD,IA,uC,UA,mC,uD]});var Y$b=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"})};Y$b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};Y$b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var Z$b=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"})};Z$b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};Z$b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var $$b=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"})};$$b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};$$b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var aac="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var bac=function(a){this.servicePromise_=a;a.then(lt(function(){},this),function(){},this)},cac=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("Sb`"+b);return e.apply(d,c)})},eac=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=dac(a,b).then(function(g){return g.apply(null,d)});return new bac(e)},fac={},dac=function(a,b){var c=fac[b];if(c)return c;c=(c=bp(b))?e3b(c):(new CB(function(d,e){var g=(new sB(document)).createElement("SCRIPT");
g.async=!0;Kh(g,eo(a));g.onload=g.onreadystatechange=function(){g.readyState&&"loaded"!=g.readyState&&"complete"!=g.readyState||d()};g.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(g)})).then(function(){var d=bp(b);if(!d)throw Error("Tb`"+b+"`"+a);return d});return fac[b]=c};var gac=function(a){this.loader_=a};gac.prototype.startFeedback=function(a){cac(this.loader_,"startFeedback",arguments)};gac.prototype.requestSurvey=function(a){cac(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};gac.prototype.presentSurvey=function(a){cac(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var hac=fo("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");dac(hac,"help.service.Lazy.create").thenCatch(function(){});var wD=function(){},xD=function(){};var yD=function(a){this.internalArray_=l(a,0,yD.messageId)};U(yD,q);f=yD.prototype;f.getAuthor=function(){return V(this,1)};f.setAuthor=function(a){uk(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return uk(this,2,a)};f.hasDescription=function(){return Jk(this,2)};f.getPending=function(){return Vj(this,3)};f.getTimestamp=function(){return uj(this,4)};f.setTimestamp=function(a){return cj(this,4,a)};f.hasTimestamp=function(){return $k(this,4)};
yD.repeatedFields_=[5];yD.prototype.toObject=function(){if(null!=this){t(this);var a={author:n(X(this,1)),description:n(X(this,2)),pending:n(Ur(this,3)),timestamp:n(p(this,4)),affectedFilesList:n(Xh(this,5))}}else a=void 0;return a};yD.messageId="b.ChangelistDetailsResponse";var zD=function(a){this.internalArray_=l(a)};U(zD,q);zD.prototype.getIssueIdsList=function(){return Wh(this,1)};zD.prototype.setIssueIdsList=function(a){return xj(this,1,a)};zD.prototype.addIssueIds=function(a){Eb(this,1,a)};zD.prototype.getAuthorEmail=function(){return V(this,3)};zD.repeatedFields_=[1];zD.prototype.toObject=function(){return iac(this)};
var iac=function(a){if(null!=a)return t(a),{issueIdsList:n(Wh(a,1)),changelistStatus:n(p(a,2)),authorEmail:n(X(a,3)),reviewerEmail:n(X(a,4)),ccEmail:n(X(a,5))}};var jac=function(a){this.internalArray_=l(a,0,jac.messageId)};U(jac,q);f=jac.prototype;f.getQuery=function(){return W(this,zD,1)};f.setQuery=function(a){return lj(this,zD,1,a)};f.clearQuery=function(){Ct(this,1)};f.hasQuery=function(){return Pj(this,zD,1)};f.getNextPageToken=function(){return V(this,2)};f.toObject=function(){if(null!=this){t(this);var a={query:iac(this.getQuery()),nextPageToken:n(X(this,2))}}else a=void 0;return a};jac.messageId="b.ListChangelistsRequest";var kac=function(a){this.internalArray_=l(a)};U(kac,q);f=kac.prototype;f.getAuthor=function(){return V(this,1)};f.setAuthor=function(a){uk(this,1,a)};f.getPending=function(){return Vj(this,3)};f.getTimestamp=function(){return W(this,Rh,4)};f.setTimestamp=function(a){return lj(this,Rh,4,a)};f.hasTimestamp=function(){return Pj(this,Rh,4)};f.getIssueIdsList=function(){return Wh(this,5)};f.setIssueIdsList=function(a){return xj(this,5,a)};f.addIssueIds=function(a){Eb(this,5,a)};
kac.repeatedFields_=[5,6];kac.prototype.toObject=function(){return lac(this)};var lac=function(a){if(null!=a)return t(a),{author:n(X(a,1)),changelistNumber:n(Ft(a,2)),pending:n(Ur(a,3)),timestamp:mu(a.getTimestamp()),issueIdsList:n(Wh(a,5)),fixedIssueIdsList:n(Wh(a,6))}};var AD=function(a){this.internalArray_=l(a,0,AD.messageId)};U(AD,q);AD.prototype.getChangelistsList=function(){return oj(this,kac,1)};AD.prototype.getNextPageToken=function(){return V(this,2)};AD.repeatedFields_=[1];AD.prototype.toObject=function(){if(null!=this){t(this);var a={changelistsList:Ub(this.getChangelistsList(),lac),nextPageToken:n(X(this,2))}}else a=void 0;return a};AD.messageId="b.ListChangelistsResponse";var BD=function(a){this.internalArray_=l(a,0,BD.messageId)};U(BD,q);BD.repeatedFields_=[1];BD.prototype.toObject=function(){if(null!=this){t(this);var a={changelistNumbersList:n(Uh(this,1))}}else a=void 0;return a};BD.messageId="b.PendingChangelistsResponse";var CD=function(a){this.executor=a};CD.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:BD}).pipe(D(Wpa))};CD.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:yD}).pipe(D(Zpa))};
var mac=function(a,b){var c=new jac,d=c.setQuery;b=(new zD).setIssueIdsList(b);b=cj(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:AD}).pipe(D(Ypa))};CD.\u0275fac=function(a){return new (a||CD)(u(wD))};CD.\u0275prov=wc({token:CD,factory:CD.\u0275fac,providedIn:"root"});var DD=function(a){this.changelistResources=a};DD.prototype.getPendingChangelistsForIssue=function(a){return(0,E.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};
DD.prototype.getChangelistDetails=function(a){return(0,E.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};DD.\u0275fac=function(a){return new (a||DD)(u(CD))};DD.\u0275prov=wc({token:DD,factory:DD.\u0275fac,providedIn:"root"});var nac={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},Aqa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Cqa={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},csa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"LIMIT_NONE",2:"LIMIT_VIEW",3:"LIMIT_APPEND",4:"LIMIT_VIEW_TRUSTED"},msa={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},
wsa={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},Rra={0:"OFF",1:"ON"},Sra={OFF:0,ON:1},AGa={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},oac={CONFIDENCE_LEVEL_UNSPECIFIED:0,VERY_HIGH:1,HIGH:2,MEDIUM:3,LOW:4},ara={0:"UNKNOWN",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},gra={UNKNOWN:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},Mra={0:"DAY_TYPE_UNSPECIFIED",
1:"CALENDAR",2:"BUSINESS"},Pra={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},Yra={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},ksa={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,PII:3,RETENTION:4},Xta={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},kua={COMFORTABLE:1,COZY:2,COMPACT:3},HAa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},nta={0:"UNKNOWN_DIFF_TYPE",1:"SINGLE_VALUE",2:"COLLECTION",5:"USER_COLLECTION",
3:"LINKED_COLLECTION",4:"CUSTOM_FIELD",6:"STATUS_UPDATE"},cra={0:"EDIT_SIGNIFICANCE_UNSPECIFIED",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},hra={EDIT_SIGNIFICANCE_UNSPECIFIED:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},Tk={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},il={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Wta={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},jua={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},aqb={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"},cta={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},pac={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},
qac={UNSPECIFIED:"UNSPECIFIED",INHERIT:"INHERIT",DISABLED:"DISABLED",ENABLED:"ENABLED"},bra={0:"UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},ira={UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3},rac={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL_AUDIENCE:1,EXTERNAL_AUDIENCE:2},sac={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},Gta={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},isa={UNSPECIFIED_FORMATTING_MODE:0,
PLAIN:1,MARKDOWN:2,LITERAL:3},Mqa={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},tac={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},ol={ISSUE_ID:"ISSUE_ID",COMPONENT_PATH:"COMPONENT_PATH",TYPE:"TYPE",STATUS:"STATUS",PRIORITY:"PRIORITY",SEVERITY:"SEVERITY",REPORTER:"REPORTER",ASSIGNEE:"ASSIGNEE",VERIFIER:"VERIFIER",CC:"CC",COLLABORATOR:"COLLABORATOR",CHANGELIST:"CHANGELIST",POSTMORTEM:"POSTMORTEM",BLOCKING_ISSUE_ID:"BLOCKING_ISSUE_ID",BLOCKED_BY_ISSUE_ID:"BLOCKED_BY_ISSUE_ID",CREATED_TIME:"CREATED_TIME",
MODIFIED_TIME:"MODIFIED_TIME",RESOLVED_TIME:"RESOLVED_TIME",VERIFIED_TIME:"VERIFIED_TIME",DELETION_TIME:"DELETION_TIME",TITLE:"TITLE",FOUND_IN_VERSION:"FOUND_IN_VERSION",TARGETED_TO_VERSION:"TARGETED_TO_VERSION",VERIFIED_IN_VERSION:"VERIFIED_IN_VERSION",IN_PROD:"IN_PROD",CANONICAL_ISSUE_ID:"CANONICAL_ISSUE_ID",CUSTOM_FIELD:"CUSTOM_FIELD",POSITION:"POSITION",VOTE_COUNT:"VOTE_COUNT",DUPLICATE_COUNT:"DUPLICATE_COUNT",CC_COUNT:"CC_COUNT",COLLABORATOR_COUNT:"COLLABORATOR_COUNT",MODIFIED_BY:"MODIFIED_BY",
LAST_MODIFIER:"LAST_MODIFIER",ARCHIVED:"ARCHIVED",MIN_SLO:"MIN_SLO",ASSIGNMENT_SLO:"ASSIGNMENT_SLO",RESPONSE_SLO:"RESPONSE_SLO",CLOSURE_SLO:"CLOSURE_SLO",TEAM:"TEAM",ESTIMATE:"ESTIMATE",ESTIMATE_TOTAL_OPEN:"ESTIMATE_TOTAL_OPEN",ESTIMATE_TOTAL_COMPLETE:"ESTIMATE_TOTAL_COMPLETE"},eua={1:ol.ISSUE_ID,2:ol.COMPONENT_PATH,3:ol.TYPE,4:ol.STATUS,5:ol.PRIORITY,6:ol.SEVERITY,7:ol.REPORTER,8:ol.ASSIGNEE,9:ol.VERIFIER,10:ol.CC,43:ol.COLLABORATOR,11:ol.CHANGELIST,32:ol.POSTMORTEM,12:ol.BLOCKING_ISSUE_ID,13:ol.BLOCKED_BY_ISSUE_ID,
14:ol.CREATED_TIME,15:ol.MODIFIED_TIME,16:ol.RESOLVED_TIME,17:ol.VERIFIED_TIME,38:ol.DELETION_TIME,18:ol.TITLE,19:ol.FOUND_IN_VERSION,20:ol.TARGETED_TO_VERSION,21:ol.VERIFIED_IN_VERSION,22:ol.IN_PROD,23:ol.CANONICAL_ISSUE_ID,24:ol.CUSTOM_FIELD,25:ol.POSITION,26:ol.VOTE_COUNT,27:ol.DUPLICATE_COUNT,28:ol.CC_COUNT,44:ol.COLLABORATOR_COUNT,29:ol.MODIFIED_BY,30:ol.LAST_MODIFIER,31:ol.ARCHIVED,33:ol.MIN_SLO,35:ol.ASSIGNMENT_SLO,36:ol.RESPONSE_SLO,37:ol.CLOSURE_SLO,39:ol.TEAM,40:ol.ESTIMATE,41:ol.ESTIMATE_TOTAL_OPEN,
42:ol.ESTIMATE_TOTAL_COMPLETE},sua={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},Csa={ISSUE_RELATION_UNSPECIFIED:0,BLOCKING:1,BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},Zra={0:"TYPE_UNSPECIFIED",1:"BUG",2:"FEATURE_REQUEST",3:"CUSTOMER_ISSUE",4:"INTERNAL_CLEANUP",5:"PROCESS",6:"VULNERABILITY",7:"PRIVACY_ISSUE",8:"PROJECT",9:"FEATURE",10:"MILESTONE",11:"EPIC",12:"STORY",13:"TASK"},esa={TYPE_UNSPECIFIED:0,BUG:1,
FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PROJECT:8,FEATURE:9,MILESTONE:10,EPIC:11,STORY:12,TASK:13},$pb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},uac={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},sta={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",
3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},zsa={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},bqb={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},KGb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},vac={PII_SEVERITY_UNSPECIFIED:"PII_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",PII:"PII",SPII:"SPII"},xra={0:"PII_SEVERITY_UNSPECIFIED",1:"NONE_DETECTED",2:"PII",3:"SPII"},GAa={0:"PRINCIPAL_TYPE_UNSPECIFIED",
1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},wac={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},$ra={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},gsa={PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},xac={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},Jta={0:"REACTION_TYPE_UNSPECIFIED",1:"UPVOTE"},yac={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},Osa={0:"UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},wGa={REJECTION_REASON_UNSPECIFIED:0,
REVERSED:1,SIMILAR:2,NOT_SIMILAR:3,OTHER:4},Wya={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},zac={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},Aac={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},Xra={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},jsa={RETENTION_UNSPECIFIED:0,COMPONENT_DEFAULT:1,INDEFINITE:2},Bac={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",
CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},sra={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},ura={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},asa={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},hsa={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},Cac={SIGNAL_TYPE_UNKNOWN:"SIGNAL_TYPE_UNKNOWN",NEAR_SLO:"NEAR_SLO",MENTIONED:"MENTIONED",REPLIED_TO_MENTION:"REPLIED_TO_MENTION",
NEWLY_BLOCKING:"NEWLY_BLOCKING",UNBLOCKED:"UNBLOCKED",ASSIGNED:"ASSIGNED",NEEDS_REPORTER_INPUT:"NEEDS_REPORTER_INPUT"},fua={0:"SIGNAL_TYPE_UNKNOWN",1:"NEAR_SLO",2:"MENTIONED",6:"REPLIED_TO_MENTION",7:"NEWLY_BLOCKING",3:"UNBLOCKED",5:"ASSIGNED",4:"NEEDS_REPORTER_INPUT"},uua={SIGNAL_TYPE_UNKNOWN:0,NEAR_SLO:1,MENTIONED:2,REPLIED_TO_MENTION:6,NEWLY_BLOCKING:7,UNBLOCKED:3,ASSIGNED:5,NEEDS_REPORTER_INPUT:4},Vpb={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"},JGb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},Lra={0:"METRIC_UNSPECIFIED",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},Ora={METRIC_UNSPECIFIED:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},bsa={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},lsa={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},bta={0:"SLO_SOURCE_UNSPECIFIED",
1:"USER",2:"BUGSCOPE"},Era={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},Vqa={0:"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"},Xqa={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},yrb={0:"STATE_UNSPECIFIED",1:"STATE_DISABLED",2:"STATE_ENABLED"},Dac={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"},sj={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"},fsa={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},Psa={0:"ACTIVE",1:"DELETED",2:"PURGED"},Ota={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},Cya={0:"UNKNOWN",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",33:"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:"DUPLICATE_OF_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",32:"CANONICAL_ISSUE_ID",34:"MIN_SLO",35:"ASSIGNMENT_SLO",
36:"RESPONSE_SLO",37:"CLOSURE_SLO",39:"TEAM",40:"ESTIMATE",41:"ESTIMATE_TOTAL_OPEN",42:"ESTIMATE_TOTAL_COMPLETE"},Eya={UNKNOWN:0,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:33,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,DUPLICATE_OF_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,CANONICAL_ISSUE_ID:32,MIN_SLO:34,ASSIGNMENT_SLO:35,RESPONSE_SLO:36,CLOSURE_SLO:37,TEAM:39,ESTIMATE:40,ESTIMATE_TOTAL_OPEN:41,ESTIMATE_TOTAL_COMPLETE:42},dqb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},zGa={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION"},Eac={TYPE_UNSPECIFIED:0,ISSUE_DEDUPLICATION:1},vGa={TYPE_UNSPECIFIED:0,VIEWED:1,ACCEPTED:2,REJECTED:3},
Hqa={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Iqa={UNSPECIFIED:0,ACTIVE:1,DELETED:2,UNAVAILABLE:3},zrb={0:"USER_GROUP_UNSPECIFIED",1:"USER_GROUP_BUGANIZER_TEAM",2:"USER_GROUP_TRUSTED_TESTER"},Xpb={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},Fac={VIEW_UNSPECIFIED:0,BASIC:1,FULL:2};var eqa=Object.prototype.hasOwnProperty;var QGb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),Gac={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var ni=function(a){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};
ni.prototype.getValue=function(){return 0===this.numericValue?this.numericValue:this.textValue||this.dateValue||this.enumValue||this.numericValue||this.repeatedTextValue||this.repeatedDateValue||this.repeatedEnumValue||this.repeatedNumericValue||null};ni.prototype.isEmpty=function(){var a=this.getValue();return null==a?!0:"string"===typeof a?""===a:"number"===typeof a?!1:null!=a.values?0===a.values.length:!a||!a.day||!a.month||!a.year};var mi=function(){this.required=!1;this.allowedValue=null;this.stateOnIssues="INHERIT";this.shared=!1;this.type="TEXT";this.fieldSignificance="MINOR"};mi.prototype.isDate=function(){return"DATE"===this.type};mi.prototype.isText=function(){return"TEXT"===this.type};mi.prototype.isNumeric=function(){return"NUMERIC"===this.type};mi.prototype.isRepeated=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var oi=function(a){this.internalArray_=l(a,0,oi.messageId)};U(oi,q);oi.prototype.getAccessLevel=function(){return aj(this,1,0)};oi.prototype.setAccessLevel=function(a){return cj(this,1,a)};oi.prototype.toObject=function(){return Hac(this)};var Hac=function(a){if(null!=a)return t(a),{accessLevel:n(p(a,1))}};oi.messageId="b.AccessLimit";var vi=function(a){this.internalArray_=l(a)};U(vi,q);f=vi.prototype;f.getEmailAddress=function(){return V(this,1)};f.setEmailAddress=function(a){uk(this,1,a)};f.getObfuscatedEmailAddress=function(){return V(this,2)};f.setObfuscatedEmailAddress=function(a){uk(this,2,a)};f.getUserGaiaStatus=function(){return aj(this,3,0)};f.setUserGaiaStatus=function(a){cj(this,3,a)};f.getAliasesList=function(){return Xh(this,4)};f.setAliasesList=function(a){Ri(this,4,a)};vi.repeatedFields_=[4];
vi.prototype.toObject=function(){return ED(this)};var ED=function(a){if(null!=a)return t(a),{emailAddress:n(X(a,1)),obfuscatedEmailAddress:n(X(a,2)),userGaiaStatus:n(p(a,3)),aliasesList:n(Xh(a,4))}};var Fi=function(a){this.internalArray_=l(a)};U(Fi,q);f=Fi.prototype;f.getUser=function(){return fk(this,vi,1,FD)};f.setUser=function(a){Ko(this,1,FD,a)};f.hasUser=function(){return ck(this,vi,1,FD)};f.getGroup=function(){return fk(this,vi,2,FD)};f.setGroup=function(a){Ko(this,2,FD,a)};f.getAlias=function(){return Pt(this,3,FD)};f.setAlias=function(a){Io(this,3,FD,a)};var FD=[1,2,3];Fi.prototype.toObject=function(){return GD(this)};
var GD=function(a){if(null!=a)return t(a),{user:ED(a.getUser()),group:ED(a.getGroup()),alias:n(Ro(a,3,FD))}};var HD=function(a){this.internalArray_=l(a,0,HD.messageId)};U(HD,q);f=HD.prototype;f.getAdminsList=function(){return oj(this,Fi,2)};f.setAdminsList=function(a){rj(this,2,a)};f.getInheritedAdminsList=function(){return oj(this,Fi,3)};f.getEditorsList=function(){return oj(this,Fi,4)};f.setEditorsList=function(a){rj(this,4,a)};f.getImplicitEditorsList=function(){return oj(this,Fi,5)};f.getAppendersList=function(){return oj(this,Fi,6)};f.setAppendersList=function(a){rj(this,6,a)};
f.getImplicitAppendersList=function(){return oj(this,Fi,7)};f.getReadersList=function(){return oj(this,Fi,8)};f.setReadersList=function(a){rj(this,8,a)};f.getImplicitReadersList=function(){return oj(this,Fi,9)};f.getRestrictedReadersList=function(){return oj(this,Fi,11)};f.setRestrictedReadersList=function(a){rj(this,11,a)};f.getRestrictedPlusReadersList=function(){return oj(this,Fi,12)};f.setRestrictedPlusReadersList=function(a){rj(this,12,a)};f.getImplicitAccess=function(){return aj(this,10,0)};
f.setImplicitAccess=function(a){return cj(this,10,a)};HD.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];
HD.prototype.toObject=function(){if(null!=this){t(this);var a={adminsList:Ub(this.getAdminsList(),GD),inheritedAdminsList:Ub(this.getInheritedAdminsList(),GD),editorsList:Ub(this.getEditorsList(),GD),implicitEditorsList:Ub(this.getImplicitEditorsList(),GD),appendersList:Ub(this.getAppendersList(),GD),implicitAppendersList:Ub(this.getImplicitAppendersList(),GD),readersList:Ub(this.getReadersList(),GD),implicitReadersList:Ub(this.getImplicitReadersList(),GD),restrictedReadersList:Ub(this.getRestrictedReadersList(),
GD),restrictedPlusReadersList:Ub(this.getRestrictedPlusReadersList(),GD),implicitAccess:n(p(this,10))}}else a=void 0;return a};HD.messageId="b.AccessPolicy";var Li=function(a){this.internalArray_=l(a,0,Li.messageId)};U(Li,q);f=Li.prototype;f.getResourcePath=function(){return V(this,2)};f.setResourcePath=function(a){return uk(this,2,a)};f.hasResourcePath=function(){return Jk(this,2)};f.getSeverity=function(){return aj(this,3,0)};f.setSeverity=function(a){return cj(this,3,a)};f.hasSeverity=function(){return tj(this,3)};f.getJudgementReason=function(){return V(this,4)};f.setJudgementReason=function(a){return uk(this,4,a)};f.toObject=function(){return ID(this)};
var ID=function(a){if(null!=a)return t(a),{contentJudgementId:n(p(a,1)),resourcePath:n(X(a,2)),severity:n(p(a,3)),judgementReason:n(X(a,4)),contentJudge:n(X(a,5))}};Li.messageId="b.ContentJudgement";var Ui=function(a){this.internalArray_=l(a)};U(Ui,q);Ui.prototype.getValuesList=function(){return oj(this,Ph,1)};Ui.prototype.setValuesList=function(a){rj(this,1,a)};Ui.prototype.setValues=function(a,b){zt(this,1,Ph,a,b)};Ui.repeatedFields_=[1];Ui.prototype.toObject=function(){return Iac(this)};var Iac=function(a){if(null!=a)return t(a),{valuesList:Ub(a.getValuesList(),vC)}};var Ti=function(a){this.internalArray_=l(a)};U(Ti,q);Ti.prototype.getValuesList=function(){return At(this,1)};Ti.prototype.setValuesList=function(a){Cb(this,1,a,iba)};Ti.prototype.getValues=function(a){return pOb(this,a)};Ti.prototype.setValues=function(a,b){Fb(this,1,a,hba(b),At)};Ti.repeatedFields_=[1];Ti.prototype.toObject=function(){return Jac(this)};var Jac=function(a){if(null!=a)return t(a),{valuesList:n(At(a,1))}};var Si=function(a){this.internalArray_=l(a)};U(Si,q);Si.prototype.getValuesList=function(){return Xh(this,1)};Si.prototype.setValuesList=function(a){Ri(this,1,a)};Si.prototype.getValues=function(a){return Lt(this,1,a)};Si.prototype.setValues=function(a,b){Ot(this,1,a,b)};Si.repeatedFields_=[1];Si.prototype.toObject=function(){return Kac(this)};var Kac=function(a){if(null!=a)return t(a),{valuesList:n(Xh(a,1))}};var Qi=function(a){this.internalArray_=l(a)};U(Qi,q);f=Qi.prototype;f.getCustomFieldId=function(){return Ki(this,1)};f.setCustomFieldId=function(a){cj(this,1,a)};f.hasCustomFieldId=function(){return Ji(this,1)};f.getDisplayValues=function(){return Lt(this,12)};f.setDisplayValues=function(a,b){Ot(this,12,a,b)};f.getTextValue=function(){return Pt(this,4,Pi)};f.setTextValue=function(a){Io(this,4,Pi,a)};f.getDateValue=function(){return fk(this,Ph,5,Pi)};f.setDateValue=function(a){Ko(this,5,Pi,a)};
f.getEnumValue=function(){return Pt(this,6,Pi)};f.setEnumValue=function(a){Io(this,6,Pi,a)};f.getNumericValue=function(){return vj(this,yn(this,Pi,7))};f.setNumericValue=function(a){Co(this,7,Pi,Va(a))};f.getRepeatedTextValue=function(){return fk(this,Si,8,Pi)};f.setRepeatedTextValue=function(a){Ko(this,8,Pi,a)};f.getRepeatedDateValue=function(){return fk(this,Ui,9,Pi)};f.setRepeatedDateValue=function(a){Ko(this,9,Pi,a)};f.getRepeatedEnumValue=function(){return fk(this,Si,10,Pi)};
f.setRepeatedEnumValue=function(a){Ko(this,10,Pi,a)};f.getRepeatedNumericValue=function(){return fk(this,Ti,11,Pi)};f.setRepeatedNumericValue=function(a){Ko(this,11,Pi,a)};Qi.repeatedFields_=[12];var Pi=[4,5,6,7,8,9,10,11];Qi.prototype.toObject=function(){return Lac(this)};
var Lac=function(a){if(null!=a)return t(a),{customFieldId:n(p(a,1)),displayValuesList:n(Xh(a,12)),textValue:n(Ro(a,4,Pi)),dateValue:vC(a.getDateValue()),enumValue:n(Ro(a,6,Pi)),numericValue:n(Qo(a,yn(a,Pi,7))),repeatedTextValue:Kac(a.getRepeatedTextValue()),repeatedDateValue:Iac(a.getRepeatedDateValue()),repeatedEnumValue:Kac(a.getRepeatedEnumValue()),repeatedNumericValue:Jac(a.getRepeatedNumericValue())}};var Vi=function(a){this.internalArray_=l(a)};U(Vi,q);f=Vi.prototype;f.getCustomFieldId=function(){return Ki(this,1)};f.setCustomFieldId=function(a){cj(this,1,a)};f.hasCustomFieldId=function(){return Ji(this,1)};f.getComponentId=function(){return Ki(this,2)};f.setComponentId=function(a){return cj(this,2,a)};f.hasComponentId=function(){return Ji(this,2)};f.getType=function(){return aj(this,3,0)};f.setType=function(a){return cj(this,3,a)};f.hasType=function(){return tj(this,3)};
f.getRequired=function(){return Vj(this,4)};f.setRequired=function(a){Xj(this,4,a)};f.getName=function(){return V(this,5)};f.setName=function(a){return uk(this,5,a)};f.hasName=function(){return Jk(this,5)};f.getNameOrUndefined=function(){return Tt(this,5)};f.getDescription=function(){return V(this,6)};f.setDescription=function(a){return uk(this,6,a)};f.hasDescription=function(){return Jk(this,6)};f.getTypedDefaultValue=function(){return W(this,Qi,10)};
f.setTypedDefaultValue=function(a){lj(this,Qi,10,a)};f.getFieldSignificance=function(){return aj(this,9,0)};f.setFieldSignificance=function(a){return cj(this,9,a)};f.getStateOnIssues=function(){return aj(this,11,0)};f.setStateOnIssues=function(a){return cj(this,11,a)};f.getEnabledOnIssues=function(){return Vj(this,12)};f.setEnabledOnIssues=function(a){return Xj(this,12,a)};f.getShared=function(){return Vj(this,13)};f.setShared=function(a){Xj(this,13,a)};Vi.repeatedFields_=[8];
Vi.prototype.toObject=function(){return Mac(this)};var Mac=function(a){if(null!=a)return t(a),{customFieldId:n(p(a,1)),componentId:n(p(a,2)),type:n(p(a,3)),required:n(Ur(a,4)),name:n(X(a,5)),description:n(X(a,6)),typedDefaultValue:Lac(a.getTypedDefaultValue()),allowedValueList:n(Xh(a,8)),fieldSignificance:n(p(a,9)),stateOnIssues:n(p(a,11)),enabledOnIssues:n(Ur(a,12)),shared:n(Ur(a,13))}};var Ni=function(a){this.internalArray_=l(a,0,Ni.messageId)};U(Ni,q);f=Ni.prototype;f.getCustomFieldId=function(){return uj(this,yn(this,JD,1))};f.setCustomFieldId=function(a){Co(this,1,JD,a)};f.hasCustomFieldId=function(){return null!=Qt(this,1,JD)};f.getStandardField=function(){return aj(this,yn(this,JD,2),0)};f.setStandardField=function(a){Co(this,2,JD,a)};var JD=[1,2];Ni.prototype.toObject=function(){return Nac(this)};
var Nac=function(a){if(null!=a)return t(a),{customFieldId:n(Qt(a,1,JD)),standardField:n(vn(a,2,JD))}};Ni.messageId="b.FieldId";var Zi=function(a){this.internalArray_=l(a)};U(Zi,q);f=Zi.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return zj(this,1,a)};f.getValue=function(){return vj(this,2)};f.setValue=function(a){return Db(this,2,Va(a),0)};f.toObject=function(){return Oac(this)};var Oac=function(a){if(null!=a)return t(a),{label:V(a,1),value:vj(a,2)}};var Yi=function(a){this.internalArray_=l(a)};U(Yi,q);Yi.prototype.getOptionsList=function(){return oj(this,Zi,1)};Yi.prototype.setOptionsList=function(a){return rj(this,1,a)};Yi.prototype.setOptions=function(a){zt(this,1,Zi,a)};Yi.repeatedFields_=[1];Yi.prototype.toObject=function(){return Pac(this)};var Pac=function(a){if(null!=a)return t(a),{optionsList:Ub(a.getOptionsList(),Oac)}};var Xi=function(a){this.internalArray_=l(a)};U(Xi,q);var lra=function(a,b){return Db(a,1,Va(b),0)};Xi.prototype.toObject=function(){return Qac(this)};var Qac=function(a){if(null!=a)return t(a),{multiplier:vj(a,1)}};var Wi=function(a){this.internalArray_=l(a)};U(Wi,q);f=Wi.prototype;f.getInherit=function(){return Vj(this,1)};f.setInherit=function(a){Ib(this,1,a)};f.getId=function(){return uj(this,2)};f.setId=function(a){return Nb(this,2,a)};f.getName=function(){return V(this,3)};f.setName=function(a){return zj(this,3,a)};var kra=function(a,b){Ko(a,4,dk,b)},mra=function(a,b){Ko(a,5,dk,b)};Wi.prototype.getCustomFieldId=function(){return uj(this,100)};Wi.prototype.setCustomFieldId=function(a){Nb(this,100,a)};
var dk=[4,5];Wi.prototype.toObject=function(){return Rac(this)};var Rac=function(a){if(null!=a)return t(a),{inherit:Vj(a,1),id:uj(a,2),name:V(a,3),numericSpec:Qac(fk(a,Xi,4,dk)),enumSpec:Pac(fk(a,Yi,5,dk)),aggregationType:aj(a,6,0),customFieldId:uj(a,100)}};var yj=function(a){this.internalArray_=l(a)};U(yj,q);yj.prototype.toObject=function(){return Sac(this)};var Sac=function(a){if(null!=a)return t(a),{specId:uj(a,1),estimate:V(a,2),averageDays:vj(a,3),totalOpen:vj(a,4),totalComplete:vj(a,5)}};var KD=function(a){this.internalArray_=l(a)};U(KD,q);f=KD.prototype;f.getStartTime=function(){return W(this,Rh,1)};f.setStartTime=function(a){lj(this,Rh,1,a)};f.getEndTime=function(){return W(this,Rh,2)};f.setEndTime=function(a){lj(this,Rh,2,a)};f.getTargetTime=function(){return W(this,Rh,3)};f.setTargetTime=function(a){lj(this,Rh,3,a)};f.getObjective=function(){return W(this,Th,4)};f.setObjective=function(a){return lj(this,Th,4,a)};f.getBusinessDays=function(){return Vh(this,5)};
f.setBusinessDays=function(a){return Kb(this,5,a)};f.getDayType=function(){return aj(this,6,0)};f.setDayType=function(a){return $i(this,6,a)};f.toObject=function(){return Tac(this)};var Tac=function(a){if(null!=a)return t(a),{startTime:mu(a.getStartTime()),endTime:mu(a.getEndTime()),targetTime:mu(a.getTargetTime()),objective:$u(a.getObjective()),businessDays:Vh(a,5),dayType:aj(a,6,0)}};var Uac=function(a){this.internalArray_=l(a)};U(Uac,q);f=Uac.prototype;f.getAssignmentBounds=function(){return W(this,KD,1)};f.setAssignmentBounds=function(a){lj(this,KD,1,a)};f.hasAssignmentBounds=function(){return Pj(this,KD,1)};f.getResponseBounds=function(){return W(this,KD,2)};f.setResponseBounds=function(a){lj(this,KD,2,a)};f.hasResponseBounds=function(){return Pj(this,KD,2)};f.getClosureBounds=function(){return W(this,KD,3)};f.setClosureBounds=function(a){lj(this,KD,3,a)};
f.hasClosureBounds=function(){return Pj(this,KD,3)};f.toObject=function(){return Vac(this)};var Vac=function(a){if(null!=a)return t(a),{assignmentBounds:Tac(a.getAssignmentBounds()),responseBounds:Tac(a.getResponseBounds()),closureBounds:Tac(a.getClosureBounds())}};var Mj=function(a){this.internalArray_=l(a)};U(Mj,q);Mj.prototype.getSourceIssueIdsList=function(){return sl(this,1)};Mj.prototype.setSourceIssueIdsList=function(a){return Cb(this,1,a,gb)};Mj.repeatedFields_=[1];Mj.prototype.toObject=function(){return Wac(this)};var Wac=function(a){if(null!=a)return t(a),{sourceIssueIdsList:n(sl(a,1))}};var Xac=function(a){this.internalArray_=l(a)};U(Xac,q);Xac.prototype.getBlobRef=function(){return Sj(this,2)};Xac.prototype.toObject=function(){return Yac(this)};var Yac=function(a){if(null!=a)return t(a),{resourceName:V(a,1),blobRef:Xb(a.getBlobRef())}};var Zac=function(a){this.internalArray_=l(a)};U(Zac,q);Zac.prototype.getSeverity=function(){return aj(this,1,0)};Zac.prototype.setSeverity=function(a){return $i(this,1,a)};Zac.prototype.toObject=function(){return $ac(this)};var $ac=function(a){if(null!=a)return t(a),{severity:aj(a,1,0)}};var abc=function(a){this.internalArray_=l(a)};U(abc,q);abc.prototype.toObject=function(){return bbc(this)};var bbc=function(a){if(null!=a)return t(a),{restrictionVerdict:$ac(W(a,Zac,1))}};var LD=function(a){this.internalArray_=l(a)};U(LD,q);f=LD.prototype;f.getStatus=function(){return aj(this,1,0)};f.setStatus=function(a){return $i(this,1,a)};f.getReason=function(){return aj(this,2,0)};f.setReason=function(a){$i(this,2,a)};f.toObject=function(){return cbc(this)};var cbc=function(a){if(null!=a)return t(a),{status:aj(a,1,0),reason:aj(a,2,0)}};var MD=function(a){this.internalArray_=l(a)};U(MD,q);f=MD.prototype;f.getRetentionPeriod=function(){return W(this,Th,1)};f.setRetentionPeriod=function(a){lj(this,Th,1,a)};f.getScheduledDeletionTime=function(){return W(this,Rh,2)};f.setScheduledDeletionTime=function(a){lj(this,Rh,2,a)};f.toObject=function(){return dbc(this)};var dbc=function(a){if(null!=a)return t(a),{retentionPeriod:$u(a.getRetentionPeriod()),scheduledDeletionTime:mu(a.getScheduledDeletionTime())}};var ebc=function(a){this.internalArray_=l(a)};U(ebc,q);f=ebc.prototype;f.getAttachmentId=function(){return uj(this,1)};f.setAttachmentId=function(a){Nb(this,1,a)};f.getContentType=function(){return V(this,2)};f.getLength=function(){return uj(this,3)};f.getFilename=function(){return V(this,4)};f.setFilename=function(a){zj(this,4,a)};f.getEntityStatus=function(){return W(this,LD,6)};f.getEtag=function(){return Sj(this,7)};f.setEtag=function(a){Dt(this,7,a)};
f.getContentVerdict=function(){return W(this,abc,10)};f.getRestrictedRetentionState=function(){return W(this,MD,11)};f.toObject=function(){return fbc(this)};var fbc=function(a){if(null!=a)return t(a),{attachmentId:uj(a,1),contentType:V(a,2),length:uj(a,3),filename:V(a,4),attachmentDataRef:Yac(W(a,Xac,5)),entityStatus:cbc(a.getEntityStatus()),etag:Xb(a.getEtag()),contentVerdict:bbc(a.getContentVerdict()),restrictedRetentionState:dbc(a.getRestrictedRetentionState()),restrictedRetention:aj(a,12,0)}};var ND=function(a){this.internalArray_=l(a)};U(ND,q);ND.prototype.getValuesList=function(){return oj(this,Ph,1)};ND.prototype.setValuesList=function(a){rj(this,1,a)};ND.prototype.setValues=function(a,b){zt(this,1,Ph,a,b)};ND.repeatedFields_=[1];ND.prototype.toObject=function(){return gbc(this)};var gbc=function(a){if(null!=a)return t(a),{valuesList:Ub(a.getValuesList(),vC)}};var OD=function(a){this.internalArray_=l(a)};U(OD,q);OD.prototype.getValuesList=function(){return At(this,1)};OD.prototype.setValuesList=function(a){Cb(this,1,a,iba)};OD.prototype.getValues=function(a){return pOb(this,a)};OD.prototype.setValues=function(a,b){Fb(this,1,a,hba(b),At)};OD.repeatedFields_=[1];OD.prototype.toObject=function(){return hbc(this)};var hbc=function(a){if(null!=a)return t(a),{valuesList:n(At(a,1))}};var PD=function(a){this.internalArray_=l(a)};U(PD,q);PD.prototype.getValuesList=function(){return Xh(this,1)};PD.prototype.setValuesList=function(a){Ri(this,1,a)};PD.prototype.getValues=function(a){return Lt(this,1,a)};PD.prototype.setValues=function(a,b){Ot(this,1,a,b)};PD.repeatedFields_=[1];PD.prototype.toObject=function(){return ibc(this)};var ibc=function(a){if(null!=a)return t(a),{valuesList:n(Xh(a,1))}};var QD=function(a){this.internalArray_=l(a)};U(QD,q);f=QD.prototype;f.getValueCase=function(){return Oi(this,RD)};f.getCustomFieldId=function(){return uj(this,1)};f.setCustomFieldId=function(a){Nb(this,1,a)};f.getTextValue=function(){return Pt(this,2,RD)};f.setTextValue=function(a){Io(this,2,RD,a)};f.getDateValue=function(){return fk(this,Ph,3,RD)};f.setDateValue=function(a){Ko(this,3,RD,a)};f.getEnumValue=function(){return Pt(this,4,RD)};f.setEnumValue=function(a){Io(this,4,RD,a)};
f.getNumericValue=function(){return vj(this,yn(this,RD,5))};f.setNumericValue=function(a){Co(this,5,RD,Va(a))};f.getRepeatedTextValue=function(){return fk(this,PD,6,RD)};f.setRepeatedTextValue=function(a){Ko(this,6,RD,a)};f.getRepeatedDateValue=function(){return fk(this,ND,7,RD)};f.setRepeatedDateValue=function(a){Ko(this,7,RD,a)};f.getRepeatedEnumValue=function(){return fk(this,PD,8,RD)};f.setRepeatedEnumValue=function(a){Ko(this,8,RD,a)};
f.getRepeatedNumericValue=function(){return fk(this,OD,9,RD)};f.setRepeatedNumericValue=function(a){Ko(this,9,RD,a)};f.getDisplayString=function(){return V(this,10)};var RD=[2,3,4,5,6,7,8,9];QD.prototype.toObject=function(){return jbc(this)};
var jbc=function(a){if(null!=a)return t(a),{customFieldId:uj(a,1),textValue:n(Ro(a,2,RD)),dateValue:vC(a.getDateValue()),enumValue:n(Ro(a,4,RD)),numericValue:n(Qo(a,yn(a,RD,5))),repeatedTextValue:ibc(a.getRepeatedTextValue()),repeatedDateValue:gbc(a.getRepeatedDateValue()),repeatedEnumValue:ibc(a.getRepeatedEnumValue()),repeatedNumericValue:hbc(a.getRepeatedNumericValue()),displayString:V(a,10)}};var kbc=function(a){this.internalArray_=l(a)};U(kbc,q);f=kbc.prototype;f.getCustomFieldId=function(){return uj(this,1)};f.setCustomFieldId=function(a){Nb(this,1,a)};f.getComponentId=function(){return uj(this,2)};f.setComponentId=function(a){return Nb(this,2,a)};f.getType=function(){return aj(this,3,0)};f.setType=function(a){return $i(this,3,a)};f.getRequired=function(){return Vj(this,4)};f.setRequired=function(a){Ib(this,4,a)};f.getName=function(){return V(this,5)};
f.setName=function(a){return zj(this,5,a)};f.getDescription=function(){return V(this,6)};f.setDescription=function(a){return zj(this,6,a)};f.getTypedDefaultValue=function(){return W(this,QD,10)};f.setTypedDefaultValue=function(a){lj(this,QD,10,a)};f.getEnumValues=function(a){return Lt(this,8,a)};f.getFieldSignificance=function(){return aj(this,9,0)};f.setFieldSignificance=function(a){return $i(this,9,a)};f.getShared=function(){return Vj(this,11)};f.setShared=function(a){Ib(this,11,a)};
kbc.repeatedFields_=[8];kbc.prototype.toObject=function(){return lbc(this)};var lbc=function(a){if(null!=a)return t(a),{customFieldId:uj(a,1),componentId:uj(a,2),type:aj(a,3,0),required:Vj(a,4),name:V(a,5),description:V(a,6),defaultValue:V(a,7),typedDefaultValue:jbc(a.getTypedDefaultValue()),enumValuesList:n(Xh(a,8)),fieldSignificance:aj(a,9,0),shared:Vj(a,11)}};var mbc=function(a){this.internalArray_=l(a)};U(mbc,q);f=mbc.prototype;f.getCustomFieldId=function(){return uj(this,yn(this,SD,1))};f.setCustomFieldId=function(a){Co(this,1,SD,a)};f.hasCustomFieldId=function(){return null!=Qt(this,1,SD)};f.getStandardField=function(){return aj(this,yn(this,SD,2),0)};f.setStandardField=function(a){Co(this,2,SD,a)};var SD=[1,2];mbc.prototype.toObject=function(){return nbc(this)};
var nbc=function(a){if(null!=a)return t(a),{customFieldId:n(Qt(a,1,SD)),standardField:n(vn(a,2,SD))}};var fj=function(a){this.internalArray_=l(a)};U(fj,q);f=fj.prototype;f.getEmailAddress=function(){return V(this,1)};f.setEmailAddress=function(a){zj(this,1,a)};f.getObfuscatedEmailAddress=function(){return V(this,2)};f.setObfuscatedEmailAddress=function(a){zj(this,2,a)};f.getUserGaiaStatus=function(){return aj(this,3,0)};f.setUserGaiaStatus=function(a){$i(this,3,a)};f.getAliasesList=function(){return Xh(this,4)};f.setAliasesList=function(a){Ri(this,4,a)};fj.repeatedFields_=[4];
fj.prototype.toObject=function(){return TD(this)};var TD=function(a){if(null!=a)return t(a),{emailAddress:V(a,1),obfuscatedEmailAddress:V(a,2),userGaiaStatus:aj(a,3,0),aliasesList:n(Xh(a,4))}};var UD=function(a){this.internalArray_=l(a)};U(UD,q);f=UD.prototype;f.getHasReacted=function(){return Vj(this,1)};f.setHasReacted=function(a){return Ib(this,1,a)};f.getCount=function(){return uj(this,2)};f.setCount=function(a){return Nb(this,2,a)};f.getRecentRespondersList=function(){return oj(this,fj,3)};f.getType=function(){return aj(this,4,0)};f.setType=function(a){return $i(this,4,a)};UD.repeatedFields_=[3];UD.prototype.toObject=function(){return obc(this)};
var obc=function(a){if(null!=a)return t(a),{hasReacted:Vj(a,1),count:uj(a,2),recentRespondersList:Ub(a.getRecentRespondersList(),TD),type:aj(a,4,0)}};var VD=function(a){this.internalArray_=l(a)};U(VD,q);VD.prototype.getReactionStatesList=function(){return oj(this,UD,2)};VD.prototype.addReactionStates=function(a){return Mo(this,2,UD,a)};VD.repeatedFields_=[2];VD.prototype.toObject=function(){return pbc(this)};var pbc=function(a){if(null!=a)return t(a),{reactionStatesList:Ub(a.getReactionStatesList(),obc)}};var tk=function(a){this.internalArray_=l(a)};U(tk,q);tk.prototype.toObject=function(){return WD(this)};var WD=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseSafeHtmlWrappedValue:n(X(a,2))}};var XD=function(a){this.internalArray_=l(a)};U(XD,q);XD.prototype.getContent=function(){return W(this,tk,1)};XD.prototype.setContent=function(a){return lj(this,tk,1,a)};XD.prototype.hasContent=function(){return Pj(this,tk,1)};XD.prototype.toObject=function(){return qbc(this)};var qbc=function(a){if(null!=a)return t(a),{content:WD(a.getContent())}};var YD=function(a){this.internalArray_=l(a)};U(YD,q);YD.prototype.getContent=function(){return W(this,tk,1)};YD.prototype.setContent=function(a){return lj(this,tk,1,a)};YD.prototype.hasContent=function(){return Pj(this,tk,1)};YD.prototype.toObject=function(){return rbc(this)};var rbc=function(a){if(null!=a)return t(a),{content:WD(a.getContent())}};var sbc=function(a){this.internalArray_=l(a)};U(sbc,q);f=sbc.prototype;f.getIsQuoted=function(){return Vj(this,1)};f.setIsQuoted=function(a){return Ib(this,1,a)};f.getContent=function(){return W(this,tk,2)};f.setContent=function(a){return lj(this,tk,2,a)};f.hasContent=function(){return Pj(this,tk,2)};f.toObject=function(){return tbc(this)};var tbc=function(a){if(null!=a)return t(a),{isQuoted:Vj(a,1),content:WD(a.getContent())}};var ZD=function(a){this.internalArray_=l(a)};U(ZD,q);ZD.prototype.getPlainSectionList=function(){return oj(this,sbc,1)};ZD.prototype.setPlainSectionList=function(a){return rj(this,1,a)};ZD.repeatedFields_=[1];ZD.prototype.toObject=function(){return ubc(this)};var ubc=function(a){if(null!=a)return t(a),{plainSectionList:Ub(a.getPlainSectionList(),tbc)}};var $D=function(a){this.internalArray_=l(a)};U($D,q);f=$D.prototype;f.getKindCase=function(){return Oi(this,aE)};f.getPlainFormat=function(){return fk(this,ZD,1,aE)};f.setPlainFormat=function(a){Ko(this,1,aE,a)};f.hasPlainFormat=function(){return ck(this,ZD,1,aE)};f.getMarkdownFormat=function(){return fk(this,YD,2,aE)};f.setMarkdownFormat=function(a){Ko(this,2,aE,a)};f.hasMarkdownFormat=function(){return ck(this,YD,2,aE)};f.getLiteralFormat=function(){return fk(this,XD,3,aE)};
f.setLiteralFormat=function(a){Ko(this,3,aE,a)};f.hasLiteralFormat=function(){return ck(this,XD,3,aE)};var aE=[1,2,3];$D.prototype.toObject=function(){return vbc(this)};var vbc=function(a){if(null!=a)return t(a),{plainFormat:ubc(a.getPlainFormat()),markdownFormat:rbc(a.getMarkdownFormat()),literalFormat:qbc(a.getLiteralFormat())}};var bE=function(a){this.internalArray_=l(a)};U(bE,q);bE.prototype.getMentionedUser=function(){return W(this,fj,1)};bE.prototype.getState=function(){return aj(this,2,0)};bE.repeatedFields_=[3];bE.prototype.toObject=function(){return wbc(this)};var wbc=function(a){if(null!=a)return t(a),{mentionedUser:TD(a.getMentionedUser()),state:aj(a,2,0),displayEmailList:n(Xh(a,3))}};var cE=function(a){this.internalArray_=l(a)};U(cE,q);f=cE.prototype;f.getIssueId=function(){return uj(this,6)};f.setIssueId=function(a){return Nb(this,6,a)};f.getCommentNumber=function(){return Vh(this,7)};f.setCommentNumber=function(a){return Kb(this,7,a)};f.getComment=function(){return V(this,1)};f.setComment=function(a){zj(this,1,a)};f.getFormattedComment=function(){return W(this,$D,16)};f.hasFormattedComment=function(){return Pj(this,$D,16)};f.getMentionsList=function(){return oj(this,bE,14)};
f.getFormattingMode=function(){return aj(this,9,0)};f.setFormattingMode=function(a){return $i(this,9,a)};f.getAttachmentsList=function(){return oj(this,ebc,2)};f.setAttachmentsList=function(a){rj(this,2,a)};f.getModifiedTime=function(){return W(this,Rh,4)};f.getEntityStatus=function(){return W(this,LD,5)};f.getVersion=function(){return Vh(this,8)};f.setVersion=function(a){return Kb(this,8,a)};f.getContentVerdict=function(){return W(this,abc,10)};
f.getRestrictedRetentionState=function(){return W(this,MD,11)};f.getRedacted=function(){return Vj(this,13)};f.getEtag=function(){return Sj(this,15)};f.setEtag=function(a){Dt(this,15,a)};f.getCommentReaction=function(){return W(this,VD,17)};cE.repeatedFields_=[14,2];cE.prototype.toObject=function(){return xbc(this)};
var xbc=function(a){if(null!=a)return t(a),{issueId:uj(a,6),commentNumber:Vh(a,7),comment:V(a,1),formattedComment:vbc(a.getFormattedComment()),mentionsList:Ub(a.getMentionsList(),wbc),formattingMode:aj(a,9,0),attachmentsList:Ub(a.getAttachmentsList(),fbc),lastEditor:TD(W(a,fj,3)),modifiedTime:mu(a.getModifiedTime()),entityStatus:cbc(a.getEntityStatus()),version:Vh(a,8),contentVerdict:bbc(a.getContentVerdict()),restrictedRetentionState:dbc(a.getRestrictedRetentionState()),restrictedRetention:aj(a,
12,0),redacted:Vj(a,13),etag:Xb(a.getEtag()),commentReaction:pbc(a.getCommentReaction())}};var dE=function(a){this.internalArray_=l(a)};U(dE,q);dE.prototype.getAccessLevel=function(){return aj(this,1,0)};dE.prototype.setAccessLevel=function(a){return $i(this,1,a)};dE.prototype.toObject=function(){return ybc(this)};var ybc=function(a){if(null!=a)return t(a),{accessLevel:aj(a,1,0)}};var zbc=function(a){this.internalArray_=l(a)};U(zbc,q);f=zbc.prototype;f.getComponentId=function(){return uj(this,1)};f.setComponentId=function(a){return Nb(this,1,a)};f.getType=function(){return aj(this,2,0)};f.setType=function(a){return $i(this,2,a)};f.getStatus=function(){return aj(this,3,0)};f.setStatus=function(a){return $i(this,3,a)};f.getPriority=function(){return aj(this,4,0)};f.setPriority=function(a){return $i(this,4,a)};f.getSeverity=function(){return aj(this,5,0)};
f.setSeverity=function(a){return $i(this,5,a)};f.getTitle=function(){return V(this,6)};f.setTitle=function(a){return zj(this,6,a)};f.getReporter=function(){return W(this,fj,7)};f.setReporter=function(a){lj(this,fj,7,a)};f.getAssignee=function(){return W(this,fj,8)};f.setAssignee=function(a){lj(this,fj,8,a)};f.clearAssignee=function(){return Ct(this,8)};f.getVerifier=function(){return W(this,fj,9)};f.setVerifier=function(a){lj(this,fj,9,a)};f.clearVerifier=function(){return Ct(this,9)};
f.getCcsList=function(){return oj(this,fj,10)};f.getCollaboratorsList=function(){return oj(this,fj,31)};f.setCollaborators=function(a){zt(this,31,fj,a)};f.getBlockingIssueIdsList=function(){return sl(this,13)};f.addHotlistIds=function(a,b){return Eb(this,14,a,b)};f.getCustomFieldsList=function(){return oj(this,QD,15)};f.setCustomFieldsList=function(a){rj(this,15,a)};f.getInProd=function(){return Vj(this,20)};f.setInProd=function(a){Ib(this,20,a)};f.getIsArchived=function(){return Vj(this,21)};
f.setIsArchived=function(a){return Ib(this,21,a)};f.getIsDeleted=function(){return Vj(this,23)};f.setIsDeleted=function(a){Ib(this,23,a)};f.getDeletionReason=function(){return aj(this,24,0)};f.setDeletionReason=function(a){$i(this,24,a)};f.getEntityStatus=function(){return W(this,LD,25)};f.getSloEndTime=function(){return W(this,Rh,34)};f.setSloEndTime=function(a){lj(this,Rh,34,a)};f.hasSloEndTime=function(){return Pj(this,Rh,34)};f.getSloSnoozeType=function(){return aj(this,30,0)};
f.setSloSnoozeType=function(a){$i(this,30,a)};f.getPostmortemsList=function(){return Xh(this,27)};f.setPostmortemsList=function(a){Ri(this,27,a)};f.getRetention=function(){return aj(this,28,0)};f.setRetention=function(a){$i(this,28,a)};f.getEffort=function(){return W(this,yj,29)};f.setEffort=function(a){lj(this,yj,29,a)};f.hasEffort=function(){return Pj(this,yj,29)};f.getAccessLimit=function(){return W(this,dE,32)};f.setAccessLimit=function(a){return lj(this,dE,32,a)};
zbc.repeatedFields_=[10,31,12,13,14,15,16,17,18,19,22,27];zbc.prototype.toObject=function(){return Abc(this)};
var Abc=function(a){if(null!=a)return t(a),{componentId:uj(a,1),type:aj(a,2,0),status:aj(a,3,0),priority:aj(a,4,0),severity:aj(a,5,0),title:V(a,6),reporter:TD(a.getReporter()),assignee:TD(a.getAssignee()),verifier:TD(a.getVerifier()),ccsList:Ub(a.getCcsList(),TD),collaboratorsList:Ub(a.getCollaboratorsList(),TD),canonicalIssueId:uj(a,11),blockedByIssueIdsList:n(sl(a,12)),blockingIssueIdsList:n(sl(a,13)),hotlistIdsList:n(sl(a,14)),customFieldsList:Ub(a.getCustomFieldsList(),jbc),codeChangesList:n(Xh(a,
16)),foundInVersionsList:n(Xh(a,17)),targetedToVersionsList:n(Xh(a,18)),verifiedInVersionsList:n(Xh(a,19)),inProd:Vj(a,20),isArchived:Vj(a,21),duplicateIssueIdsList:n(sl(a,22)),isDeleted:Vj(a,23),deletionReason:aj(a,24,0),entityStatus:cbc(a.getEntityStatus()),sloSnoozeUntil:mu(W(a,Rh,26)),sloEndTime:mu(a.getSloEndTime()),sloSnoozeType:aj(a,30,0),postmortemsList:n(Xh(a,27)),retention:aj(a,28,0),effort:Sac(a.getEffort()),accessLimit:ybc(a.getAccessLimit())}};var eE=function(a){this.internalArray_=l(a)};U(eE,q);eE.prototype.getNotificationSubscription=function(){return aj(this,4,0)};eE.prototype.setNotificationSubscription=function(a){return $i(this,4,a)};eE.repeatedFields_=[3];eE.prototype.toObject=function(){return Bbc(this)};var Bbc=function(a){if(null!=a)return t(a),{hasStarred:Vj(a,1),hasUpvoted:Vj(a,2),editableCommentNumbersList:n(Uh(a,3)),notificationSubscription:aj(a,4,0),lastViewedTime:mu(W(a,Rh,5))}};var Ek=function(a){this.internalArray_=l(a)};U(Ek,q);Ek.prototype.getHref=function(){return V(this,1)};Ek.prototype.toObject=function(){return Cbc(this)};var Cbc=function(a){if(null!=a)return t(a),{href:n(X(a,1))}};var Cta=function(a){this.internalArray_=l(a)};U(Cta,q);f=Cta.prototype;f.getIssueId=function(){return uj(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getCommentNumber=function(){return Vh(this,2)};f.setCommentNumber=function(a){return dj(this,2,a)};f.toObject=function(){return Dbc(this)};var Dbc=function(a){if(null!=a)return t(a),{issueId:n(p(a,1)),commentNumber:n(Ft(a,2))}};var Ebc=function(a){this.internalArray_=l(a)};U(Ebc,q);var Dk=[1,2];Ebc.prototype.toObject=function(){return Fbc(this)};var Fbc=function(a){if(null!=a)return t(a),{hyperlink:Cbc(fk(a,Ek,1,Dk)),issueReference:Dbc(fk(a,Cta,2,Dk)),sourceCommentNumber:Vh(a,3)}};var Gbc=function(a){this.internalArray_=l(a)};U(Gbc,q);f=Gbc.prototype;f.getIssueId=function(){return uj(this,1)};f.setIssueId=function(a){return Nb(this,1,a)};f.getUpdateText=function(){return V(this,2)};f.setUpdateText=function(a){zj(this,2,a)};f.getFormattingMode=function(){return aj(this,4,0)};f.setFormattingMode=function(a){return $i(this,4,a)};f.getAuthor=function(){return W(this,fj,5)};f.setAuthor=function(a){lj(this,fj,5,a)};f.getUpdateTime=function(){return W(this,Rh,6)};
f.setUpdateTime=function(a){lj(this,Rh,6,a)};f.getVersion=function(){return Vh(this,7)};f.setVersion=function(a){return Kb(this,7,a)};f.getEntityStatus=function(){return W(this,LD,8)};f.toObject=function(){return Hbc(this)};var Hbc=function(a){if(null!=a)return t(a),{issueId:uj(a,1),updateText:V(a,2),formattedUpdateText:vbc(W(a,$D,3)),formattingMode:aj(a,4,0),author:TD(a.getAuthor()),updateTime:mu(a.getUpdateTime()),version:Vh(a,7),entityStatus:cbc(a.getEntityStatus())}};var fE=function(a){this.internalArray_=l(a)};U(fE,q);f=fE.prototype;f.getIssueId=function(){return uj(this,2)};f.setIssueId=function(a){return Nb(this,2,a)};f.getIssueState=function(){return W(this,zbc,3)};f.getAttachmentsList=function(){return oj(this,ebc,18)};f.setAttachmentsList=function(a){rj(this,18,a)};f.getDescription=function(){return W(this,cE,44)};f.setDescription=function(a){return lj(this,cE,44,a)};f.hasDescription=function(){return Pj(this,cE,44)};
f.getStatusUpdate=function(){return W(this,Gbc,43)};f.hasStatusUpdate=function(){return Pj(this,Gbc,43)};f.getCreatedTime=function(){return W(this,Rh,5)};f.getModifiedTime=function(){return W(this,Rh,6)};f.getLastModifier=function(){return W(this,fj,14)};f.setLastModifier=function(a){lj(this,fj,14,a)};f.getResolvedTime=function(){return W(this,Rh,7)};f.getVerifiedTime=function(){return W(this,Rh,8)};f.getUserData=function(){return W(this,eE,9)};f.setUserData=function(a){lj(this,eE,9,a)};
f.getVoteCount=function(){return uj(this,10)};f.setVoteCount=function(a){Nb(this,10,a)};f.getParentIssueIdsList=function(){return sl(this,37)};f.setParentIssueIdsList=function(a){Cb(this,37,a,gb)};f.getAccessLimit=function(){return W(this,zC,11)};f.setAccessLimit=function(a){return lj(this,zC,11,a)};f.getVersion=function(){return Vh(this,12)};f.setVersion=function(a){return Kb(this,12,a)};f.getEtag=function(){return Sj(this,13)};f.setEtag=function(a){Dt(this,13,a)};
f.getCustomFieldsList=function(){return oj(this,kbc,15)};f.setCustomFieldsList=function(a){rj(this,15,a)};f.getVisibleFieldsList=function(){return oj(this,mbc,34)};f.setVisibleFieldsList=function(a){rj(this,34,a)};f.getSloStatus=function(){return W(this,Uac,16)};f.setSloStatus=function(a){lj(this,Uac,16,a)};f.hasSloStatus=function(){return Pj(this,Uac,16)};f.getSloId=function(){return uj(this,17)};f.setSloId=function(a){return Nb(this,17,a)};f.getTeamId=function(){return uj(this,33)};
f.setTeamId=function(a){return Nb(this,33,a)};f.getRetentionState=function(){return W(this,MD,29)};f.setRetentionState=function(a){lj(this,MD,29,a)};f.getAncestorsMap=function(){return Bb(this,38,Mj,mb)};f.getChildIssueCount=function(){return Vh(this,39)};f.setChildIssueCount=function(a){Kb(this,39,a)};f.getIsArchived=function(){return Vj(this,40)};f.setIsArchived=function(a){return Ib(this,40,a)};f.getRelatedLinksList=function(){return oj(this,Ebc,41)};f.getTrackerId=function(){return uj(this,42)};
f.setTrackerId=function(a){Nb(this,42,a)};fE.repeatedFields_=[18,37,31,15,34,41];fE.prototype.toObject=function(){return Ibc(this)};
var Ibc=function(a){if(null!=a)return t(a),{issueId:uj(a,2),issueState:Abc(a.getIssueState()),issueComment:xbc(W(a,cE,4)),attachmentsList:Ub(a.getAttachmentsList(),fbc),description:xbc(a.getDescription()),statusUpdate:Hbc(a.getStatusUpdate()),createdTime:mu(a.getCreatedTime()),modifiedTime:mu(a.getModifiedTime()),majorModifiedTime:mu(W(a,Rh,35)),minorModifiedTime:mu(W(a,Rh,36)),lastModifier:TD(a.getLastModifier()),resolvedTime:mu(a.getResolvedTime()),verifiedTime:mu(a.getVerifiedTime()),userData:Bbc(a.getUserData()),
voteCount:uj(a,10),parentIssueId:uj(a,30),parentIssueIdsList:n(sl(a,37)),incomingDependencyIdsList:n(sl(a,31)),accessLimit:Q7b(a.getAccessLimit()),version:Vh(a,12),etag:Xb(a.getEtag()),customFieldsList:Ub(a.getCustomFieldsList(),lbc),visibleFieldsList:Ub(a.getVisibleFieldsList(),nbc),sloStatus:Vac(a.getSloStatus()),sloId:uj(a,17),teamId:uj(a,33),retentionState:dbc(a.getRetentionState()),ancestorsMap:Wb(a.getAncestorsMap(),Wac),childIssueCount:Vh(a,39),isArchived:Vj(a,40),relatedLinksList:Ub(a.getRelatedLinksList(),
Fbc),trackerId:uj(a,42)}};var gE=function(a){this.internalArray_=l(a)};U(gE,q);gE.prototype.getContent=function(){return W(this,tk,1)};gE.prototype.setContent=function(a){return lj(this,tk,1,a)};gE.prototype.hasContent=function(){return Pj(this,tk,1)};gE.prototype.toObject=function(){return Jbc(this)};var Jbc=function(a){if(null!=a)return t(a),{content:WD(a.getContent())}};var hE=function(a){this.internalArray_=l(a)};U(hE,q);hE.prototype.getContent=function(){return W(this,tk,1)};hE.prototype.setContent=function(a){return lj(this,tk,1,a)};hE.prototype.hasContent=function(){return Pj(this,tk,1)};hE.prototype.toObject=function(){return Kbc(this)};var Kbc=function(a){if(null!=a)return t(a),{content:WD(a.getContent())}};var qra=function(a){this.internalArray_=l(a)};U(qra,q);f=qra.prototype;f.getIsQuoted=function(){return Vj(this,1)};f.setIsQuoted=function(a){return Xj(this,1,a)};f.getContent=function(){return W(this,tk,2)};f.setContent=function(a){return lj(this,tk,2,a)};f.hasContent=function(){return Pj(this,tk,2)};f.toObject=function(){return Lbc(this)};var Lbc=function(a){if(null!=a)return t(a),{isQuoted:n(Ur(a,1)),content:WD(a.getContent())}};var iE=function(a){this.internalArray_=l(a)};U(iE,q);iE.prototype.getPlainSectionList=function(){return oj(this,qra,1)};iE.prototype.setPlainSectionList=function(a){return rj(this,1,a)};iE.repeatedFields_=[1];iE.prototype.toObject=function(){return Mbc(this)};var Mbc=function(a){if(null!=a)return t(a),{plainSectionList:Ub(a.getPlainSectionList(),Lbc)}};var Qj=function(a){this.internalArray_=l(a)};U(Qj,q);f=Qj.prototype;f.getKindCase=function(){return Oi(this,jE)};f.getPlainFormat=function(){return fk(this,iE,1,jE)};f.setPlainFormat=function(a){Ko(this,1,jE,a)};f.hasPlainFormat=function(){return ck(this,iE,1,jE)};f.getMarkdownFormat=function(){return fk(this,hE,2,jE)};f.setMarkdownFormat=function(a){Ko(this,2,jE,a)};f.hasMarkdownFormat=function(){return ck(this,hE,2,jE)};f.getLiteralFormat=function(){return fk(this,gE,3,jE)};
f.setLiteralFormat=function(a){Ko(this,3,jE,a)};f.hasLiteralFormat=function(){return ck(this,gE,3,jE)};var jE=[1,2,3];Qj.prototype.toObject=function(){return Nbc(this)};var Nbc=function(a){if(null!=a)return t(a),{plainFormat:Mbc(a.getPlainFormat()),markdownFormat:Kbc(a.getMarkdownFormat()),literalFormat:Jbc(a.getLiteralFormat())}};var ej=function(a){this.internalArray_=l(a)};U(ej,q);ej.prototype.getSeverity=function(){return aj(this,1,0)};ej.prototype.setSeverity=function(a){return cj(this,1,a)};ej.prototype.hasSeverity=function(){return tj(this,1)};ej.prototype.toObject=function(){return Obc(this)};var Obc=function(a){if(null!=a)return t(a),{severity:n(p(a,1))}};var Fk=function(a){this.internalArray_=l(a)};U(Fk,q);Fk.prototype.toObject=function(){return Pbc(this)};var Pbc=function(a){if(null!=a)return t(a),{piiVerdict:Obc(W(a,ej,1))}};var bj=function(a){this.internalArray_=l(a)};U(bj,q);bj.prototype.hasRetentionSelection=function(){return tj(this,1)};bj.prototype.toObject=function(){return Qbc(this)};var Qbc=function(a){if(null!=a)return t(a),{retentionSelection:n(p(a,1)),retentionPeriodDays:n(Ft(a,2)),piiRetentionSelection:n(p(a,3)),piiRetentionPeriodDays:n(Ft(a,4)),spiiRetentionPeriodDays:n(Ft(a,5))}};var Kj=function(a){this.internalArray_=l(a,0,Kj.messageId)};U(Kj,q);f=Kj.prototype;f.getRetentionPeriod=function(){return W(this,Th,1)};f.setRetentionPeriod=function(a){lj(this,Th,1,a)};f.getScheduledDeletionTime=function(){return W(this,Rh,2)};f.setScheduledDeletionTime=function(a){lj(this,Rh,2,a)};f.toObject=function(){return Rbc(this)};var Rbc=function(a){if(null!=a)return t(a),{retentionPeriod:$u(a.getRetentionPeriod()),scheduledDeletionTime:mu(a.getScheduledDeletionTime())}};Kj.messageId="b.RetentionState";var jj=function(a){this.internalArray_=l(a)};U(jj,q);f=jj.prototype;f.getHours=function(){return Vh(this,1)};f.setHours=function(a){return Kb(this,1,a)};f.getMinutes=function(){return Vh(this,2)};f.setMinutes=function(a){return Kb(this,2,a)};f.getSeconds=function(){return Vh(this,3)};f.setSeconds=function(a){return Kb(this,3,a)};f.getNanos=function(){return Vh(this,4)};f.setNanos=function(a){return Kb(this,4,a)};f.toObject=function(){return Sbc(this)};
var Sbc=function(a){if(null!=a)return t(a),{hours:Vh(a,1),minutes:Vh(a,2),seconds:Vh(a,3),nanos:Vh(a,4)}};var kj=function(a){this.internalArray_=l(a)};U(kj,q);f=kj.prototype;f.getId=function(){return uj(this,1)};f.setId=function(a){return cj(this,1,a)};f.setFrequency=function(a){return $i(this,3,a)};f.getTimeZone=function(){return W(this,mj,5)};f.setTimeZone=function(a){return lj(this,mj,5,a)};f.hasTimeZone=function(){return Pj(this,mj,5)};f.toObject=function(){return Tbc(this)};
var Tbc=function(a){if(null!=a)return t(a),{id:n(p(a,1)),lead:TD(W(a,fj,2)),frequency:aj(a,3,0),ordinal:Vh(a,4),timeZone:MC(a.getTimeZone()),timeOfDay:Sbc(W(a,jj,6))}};var kE=function(a){this.internalArray_=l(a)};U(kE,q);kE.prototype.getTeamId=function(){return uj(this,1)};kE.prototype.setTeamId=function(a){return Nb(this,1,a)};kE.prototype.getEffectiveSloEditPolicy=function(){return aj(this,3,0)};kE.prototype.toObject=function(){return Ubc(this)};var Ubc=function(a){if(null!=a)return t(a),{teamId:uj(a,1),sloEditPolicy:aj(a,2,0),effectiveSloEditPolicy:aj(a,3,0)}};var hj=function(a){this.internalArray_=l(a)};U(hj,q);f=hj.prototype;f.getInherit=function(){return Vj(this,1)};f.setInherit=function(a){Xj(this,1,a)};f.getSource=function(){return aj(this,2,0)};f.setSource=function(a){return cj(this,2,a)};f.hasSource=function(){return tj(this,2)};f.getSourceOrUndefined=function(){return ps(this,2)};f.getId=function(){return Ki(this,3)};f.setId=function(a){return cj(this,3,a)};f.getSourceTeamId=function(){return Ki(this,5)};
f.setSourceTeamId=function(a){cj(this,5,a)};f.getComment=function(){return V(this,4)};f.setComment=function(a){uk(this,4,a)};f.toObject=function(){return Vbc(this)};var Vbc=function(a){if(null!=a)return t(a),{inherit:n(Ur(a,1)),source:n(p(a,2)),id:n(p(a,3)),sourceTeamId:n(p(a,5)),sourceComponentId:n(p(a,6)),comment:n(X(a,4))}};var gj=function(a){this.internalArray_=l(a)};U(gj,q);f=gj.prototype;f.getStartTime=function(){return W(this,Rh,1)};f.setStartTime=function(a){lj(this,Rh,1,a)};f.getEndTime=function(){return W(this,Rh,2)};f.setEndTime=function(a){lj(this,Rh,2,a)};f.getTargetTime=function(){return W(this,Rh,3)};f.setTargetTime=function(a){lj(this,Rh,3,a)};f.getObjective=function(){return W(this,Th,4)};f.setObjective=function(a){return lj(this,Th,4,a)};f.getBusinessDays=function(){return Vh(this,5)};
f.setBusinessDays=function(a){return dj(this,5,a)};f.getDayType=function(){return aj(this,6,0)};f.setDayType=function(a){return cj(this,6,a)};f.toObject=function(){return Wbc(this)};var Wbc=function(a){if(null!=a)return t(a),{startTime:mu(a.getStartTime()),endTime:mu(a.getEndTime()),targetTime:mu(a.getTargetTime()),objective:$u(a.getObjective()),businessDays:n(Ft(a,5)),dayType:n(p(a,6))}};var nj=function(a){this.internalArray_=l(a)};U(nj,q);f=nj.prototype;f.getMetric=function(){return aj(this,1,0)};f.getMatcher=function(){return V(this,2)};f.setMatcher=function(a){return uk(this,2,a)};f.getDayType=function(){return aj(this,4,0)};f.setDayType=function(a){return cj(this,4,a)};f.getObjective=function(){return W(this,Th,3)};f.setObjective=function(a){return lj(this,Th,3,a)};f.getBusinessDays=function(){return Vh(this,5)};f.setBusinessDays=function(a){return dj(this,5,a)};f.toObject=function(){return Xbc(this)};
var Xbc=function(a){if(null!=a)return t(a),{metric:n(p(a,1)),matcher:n(X(a,2)),dayType:n(p(a,4)),objective:$u(a.getObjective()),businessDays:n(Ft(a,5))}};var qj=function(a){this.internalArray_=l(a,0,qj.messageId)};U(qj,q);f=qj.prototype;f.getSloId=function(){return Ki(this,1)};f.setSloId=function(a){return cj(this,1,a)};f.getVersion=function(){return Vh(this,2)};f.setVersion=function(a){return dj(this,2,a)};f.getVersionOrUndefined=function(){return Rt(this,2)};f.getName=function(){return V(this,3)};f.setName=function(a){return uk(this,3,a)};f.hasName=function(){return Jk(this,3)};f.getNameOrUndefined=function(){return Tt(this,3)};
f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return uk(this,4,a)};f.hasDescription=function(){return Jk(this,4)};f.getParentId=function(){return Ki(this,5)};f.setParentId=function(a){return cj(this,5,a)};f.getIsArchived=function(){return Vj(this,8)};f.setIsArchived=function(a){return Xj(this,8,a)};qj.repeatedFields_=[6,7];qj.prototype.toObject=function(){return Ybc(this)};
var Ybc=function(a){if(null!=a)return t(a),{sloId:n(p(a,1)),version:n(Ft(a,2)),name:n(X(a,3)),description:n(X(a,4)),parentId:n(p(a,5)),elementsList:Ub(oj(a,nj,6),Xbc),effectiveElementsList:Ub(oj(a,nj,7),Xbc),isArchived:n(Ur(a,8)),alertState:n(p(a,9))}};qj.messageId="b.SloState";var Lj=function(a){this.internalArray_=l(a)};U(Lj,q);f=Lj.prototype;f.getAssignmentBounds=function(){return W(this,gj,1)};f.setAssignmentBounds=function(a){lj(this,gj,1,a)};f.hasAssignmentBounds=function(){return Pj(this,gj,1)};f.getResponseBounds=function(){return W(this,gj,2)};f.setResponseBounds=function(a){lj(this,gj,2,a)};f.hasResponseBounds=function(){return Pj(this,gj,2)};f.getClosureBounds=function(){return W(this,gj,3)};f.setClosureBounds=function(a){lj(this,gj,3,a)};
f.hasClosureBounds=function(){return Pj(this,gj,3)};f.toObject=function(){return Zbc(this)};var Zbc=function(a){if(null!=a)return t(a),{assignmentBounds:Wbc(a.getAssignmentBounds()),responseBounds:Wbc(a.getResponseBounds()),closureBounds:Wbc(a.getClosureBounds())}};var $bc=function(a){this.internalArray_=l(a,0,$bc.messageId)};U($bc,q);f=$bc.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getReason=function(){return aj(this,2,0)};f.setReason=function(a){cj(this,2,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),reason:n(p(this,2))}}else a=void 0;return a};$bc.messageId="b.DeleteIssueRequest";var Dj=function(a){this.internalArray_=l(a)};U(Dj,q);f=Dj.prototype;f.getFieldName=function(){return V(this,1)};f.setFieldName=function(a){uk(this,1,a)};f.getValue=function(){return V(this,2)};f.setValue=function(a){return uk(this,2,a)};f.hasValue=function(){return Jk(this,2)};f.setActionType=function(a){cj(this,3,a)};f.getCustomFieldValue=function(){return W(this,Qi,5)};f.setCustomFieldValue=function(a){return lj(this,Qi,5,a)};f.clearCustomFieldValue=function(){return Ct(this,5)};
f.hasCustomFieldValue=function(){return Pj(this,Qi,5)};f.toObject=function(){return acc(this)};var acc=function(a){if(null!=a)return t(a),{fieldName:n(X(a,1)),value:n(X(a,2)),actionType:n(p(a,3)),customFieldValue:Lac(a.getCustomFieldValue())}};var Bj=function(a){this.internalArray_=l(a)};U(Bj,q);Bj.prototype.getAccessLevel=function(){return aj(this,1,0)};Bj.prototype.setAccessLevel=function(a){return cj(this,1,a)};Bj.prototype.toObject=function(){return bcc(this)};var bcc=function(a){if(null!=a)return t(a),{accessLevel:n(p(a,1))}};var Aj=function(a){this.internalArray_=l(a,0,Aj.messageId)};U(Aj,q);f=Aj.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getIssueAccessLimit=function(){return W(this,Bj,2)};f.setIssueAccessLimit=function(a){lj(this,Bj,2,a)};f.getAddedCollaboratorsList=function(){return oj(this,vi,3)};f.setAddedCollaboratorsList=function(a){rj(this,3,a)};f.getRemovedCollaboratorsList=function(){return oj(this,vi,4)};
f.setRemovedCollaboratorsList=function(a){rj(this,4,a)};Aj.repeatedFields_=[3,4];Aj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),issueAccessLimit:bcc(this.getIssueAccessLimit()),addedCollaboratorsList:Ub(this.getAddedCollaboratorsList(),ED),removedCollaboratorsList:Ub(this.getRemovedCollaboratorsList(),ED)}}else a=void 0;return a};Aj.messageId="b.GetRetainedAccessPrincipalsRequest";var Jj=function(a){this.internalArray_=l(a)};U(Jj,q);f=Jj.prototype;f.getVoteCount=function(){return uj(this,1)};f.setVoteCount=function(a){cj(this,1,a)};f.getCreatedTimeMicros=function(){return uj(this,2)};f.setCreatedTimeMicros=function(a){cj(this,2,a)};f.getModifiedTimeMicros=function(){return uj(this,3)};f.setModifiedTimeMicros=function(a){cj(this,3,a)};f.getLastModifier=function(){return W(this,vi,10)};f.setLastModifier=function(a){lj(this,vi,10,a)};
f.getSloStatus=function(){return W(this,Lj,6)};f.setSloStatus=function(a){lj(this,Lj,6,a)};f.hasSloStatus=function(){return Pj(this,Lj,6)};f.getSloId=function(){return Ki(this,7)};f.setSloId=function(a){return cj(this,7,a)};f.getTeamId=function(){return Ki(this,9)};f.setTeamId=function(a){return cj(this,9,a)};f.getRetentionState=function(){return W(this,Kj,8)};f.setRetentionState=function(a){lj(this,Kj,8,a)};f.toObject=function(){return ccc(this)};
var ccc=function(a){if(null!=a)return t(a),{voteCount:n(p(a,1)),createdTimeMicros:n(p(a,2)),modifiedTimeMicros:n(p(a,3)),resolvedTimeMicros:n(p(a,4)),verifiedTimeMicros:n(p(a,5)),lastModifier:ED(a.getLastModifier()),sloStatus:Zbc(a.getSloStatus()),sloId:n(p(a,7)),teamId:n(p(a,9)),retentionState:Rbc(a.getRetentionState())}};var lE=function(a){this.internalArray_=l(a,0,lE.messageId)};U(lE,q);f=lE.prototype;f.getHasReacted=function(){return Vj(this,1)};f.setHasReacted=function(a){return Xj(this,1,a)};f.getCount=function(){return uj(this,2)};f.setCount=function(a){return cj(this,2,a)};f.getRecentRespondersList=function(){return oj(this,vi,3)};f.getType=function(){return aj(this,4,0)};f.setType=function(a){return cj(this,4,a)};f.hasType=function(){return tj(this,4)};lE.repeatedFields_=[3];lE.prototype.toObject=function(){return dcc(this)};
var dcc=function(a){if(null!=a)return t(a),{hasReacted:n(Ur(a,1)),count:n(p(a,2)),recentRespondersList:Ub(a.getRecentRespondersList(),ED),type:n(p(a,4))}};lE.messageId="b.ReactionState";var mE=function(a){this.internalArray_=l(a,0,mE.messageId)};U(mE,q);mE.prototype.getReactionStatesList=function(){return oj(this,lE,1)};mE.prototype.addReactionStates=function(a){return Mo(this,1,lE,a)};mE.repeatedFields_=[1];mE.prototype.toObject=function(){return ecc(this)};var ecc=function(a){if(null!=a)return t(a),{reactionStatesList:Ub(a.getReactionStatesList(),dcc)}};mE.messageId="b.CommentReaction";var nE=function(a){this.internalArray_=l(a)};U(nE,q);f=nE.prototype;f.getStatus=function(){return aj(this,1,0)};f.setStatus=function(a){return cj(this,1,a)};f.hasStatus=function(){return tj(this,1)};f.getReason=function(){return aj(this,2,0)};f.setReason=function(a){cj(this,2,a)};f.toObject=function(){return oE(this)};var oE=function(a){if(null!=a)return t(a),{status:n(p(a,1)),reason:n(p(a,2))}};var pE=function(a){this.internalArray_=l(a)};U(pE,q);pE.prototype.getMentionedUser=function(){return W(this,vi,1)};pE.prototype.getState=function(){return aj(this,2,0)};pE.repeatedFields_=[3];pE.prototype.toObject=function(){return fcc(this)};var fcc=function(a){if(null!=a)return t(a),{mentionedUser:ED(a.getMentionedUser()),state:n(p(a,2)),displayEmailList:n(Xh(a,3))}};var qE=function(a){this.internalArray_=l(a,0,qE.messageId)};U(qE,q);f=qE.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getCommentId=function(){return Vh(this,2)};f.getMentionsList=function(){return oj(this,pE,16)};f.getLastModified=function(){return uj(this,5)};f.getVersion=function(){return Vh(this,6)};f.setVersion=function(a){return dj(this,6,a)};f.getVersionOrUndefined=function(){return Rt(this,6)};
f.getEntityStatus=function(){return W(this,nE,9)};f.getFormattingMode=function(){return aj(this,10,0)};f.setFormattingMode=function(a){return cj(this,10,a)};f.getFormattedComment=function(){return W(this,Qj,13)};f.hasFormattedComment=function(){return Pj(this,Qj,13)};f.getPiiRetentionState=function(){return W(this,Kj,11)};f.getPiiRetention=function(){return aj(this,12,0)};f.setPiiRetention=function(a){return cj(this,12,a)};f.getRedacted=function(){return Vj(this,15)};
f.getEtag=function(){return V(this,17)};f.setEtag=function(a){uk(this,17,a)};f.hasEtag=function(){return Jk(this,17)};f.getCommentReaction=function(){return W(this,mE,18)};qE.repeatedFields_=[16];qE.prototype.toObject=function(){return gcc(this)};
var gcc=function(a){if(null!=a)return t(a),{issueId:n(p(a,1)),commentId:n(Ft(a,2)),mentionsList:Ub(a.getMentionsList(),fcc),commentContentVerdict:Pbc(W(a,Fk,14)),lastEditorUser:ED(W(a,vi,8)),lastModified:n(p(a,5)),version:n(Ft(a,6)),unlinkifiedComment:n(X(a,7)),entityStatus:oE(a.getEntityStatus()),formattingMode:n(p(a,10)),formattedComment:Nbc(a.getFormattedComment()),piiRetentionState:Rbc(a.getPiiRetentionState()),piiRetention:n(p(a,12)),redacted:n(Ur(a,15)),etag:n(X(a,17)),commentReaction:ecc(a.getCommentReaction())}};
qE.messageId="b.IssueComment";var wj=function(a){this.internalArray_=l(a)};U(wj,q);f=wj.prototype;f.getCreatedTimeMicros=function(){return uj(this,2)};f.setCreatedTimeMicros=function(a){cj(this,2,a)};f.getComponentId=function(){return Ki(this,3)};f.setComponentId=function(a){return cj(this,3,a)};f.hasComponentId=function(){return Ji(this,3)};f.getVersion=function(){return uj(this,4)};f.setVersion=function(a){return cj(this,4,a)};f.getVersionOrUndefined=function(){return St(this,4)};f.getType=function(){return aj(this,5,0)};
f.setType=function(a){return cj(this,5,a)};f.hasType=function(){return tj(this,5)};f.getStatus=function(){return aj(this,6,0)};f.setStatus=function(a){return cj(this,6,a)};f.hasStatus=function(){return tj(this,6)};f.getPriority=function(){return aj(this,7,0)};f.setPriority=function(a){return cj(this,7,a)};f.hasPriority=function(){return tj(this,7)};f.getSeverity=function(){return aj(this,8,0)};f.setSeverity=function(a){return cj(this,8,a)};f.hasSeverity=function(){return tj(this,8)};
f.getTitle=function(){return V(this,9)};f.setTitle=function(a){return uk(this,9,a)};f.getAttachmentId=function(){return Kt(this,14)};f.setAttachmentId=function(a){Nt(this,14,a)};f.getPostmortemsList=function(){return Xh(this,35)};f.setPostmortemsList=function(a){Ri(this,35,a)};f.setFoundInVersion=function(a){Ot(this,19,a)};f.setTargetedToVersion=function(a){Ot(this,20,a)};f.setVerifiedInVersion=function(a){Ot(this,21,a)};f.getInProd=function(){return Vj(this,22)};
f.setInProd=function(a){Xj(this,22,a)};f.getHotlistIdList=function(){return Wh(this,23)};f.setHotlistIdList=function(a){xj(this,23,a)};f.getHotlistId=function(){return Kt(this,23)};f.setHotlistId=function(a){return Nt(this,23,a)};f.setCustomField=function(a,b){return zt(this,24,Qi,a,b)};f.getRetention=function(){return aj(this,42,0)};f.setRetention=function(a){cj(this,42,a)};f.getIsDeleted=function(){return Vj(this,27)};f.setIsDeleted=function(a){Xj(this,27,a)};
f.getDeletionReason=function(){return aj(this,28,0)};f.setDeletionReason=function(a){cj(this,28,a)};f.getSignificanceOverride=function(){return aj(this,29,0)};f.setSignificanceOverride=function(a){cj(this,29,a)};f.getIsArchived=function(){return Vj(this,31)};f.setIsArchived=function(a){return Xj(this,31,a)};f.getComment=function(){return V(this,25)};f.setComment=function(a){uk(this,25,a)};f.getFormattingMode=function(){return aj(this,45,0)};f.setFormattingMode=function(a){return cj(this,45,a)};
f.getSloStartTime=function(){return W(this,Rh,34)};f.setSloStartTime=function(a){lj(this,Rh,34,a)};f.hasSloStartTime=function(){return Pj(this,Rh,34)};f.getSloEndTime=function(){return W(this,Rh,54)};f.setSloEndTime=function(a){lj(this,Rh,54,a)};f.hasSloEndTime=function(){return Pj(this,Rh,54)};f.getSloSnoozeType=function(){return aj(this,52,0)};f.setSloSnoozeType=function(a){cj(this,52,a)};f.getEffort=function(){return W(this,yj,50)};f.setEffort=function(a){lj(this,yj,50,a)};
f.hasEffort=function(){return Pj(this,yj,50)};f.getAccessLimitLevel=function(){return aj(this,53,0)};f.setAccessLimitLevel=function(a){cj(this,53,a)};f.hasAccessLimitLevel=function(){return tj(this,53)};wj.repeatedFields_=[40,51,14,16,17,18,35,19,20,21,23,24,30];wj.prototype.toObject=function(){return hcc(this)};
var hcc=function(a){if(null!=a)return t(a),{authorUser:ED(W(a,vi,36)),createdTimeMicros:n(p(a,2)),componentId:n(p(a,3)),version:n(p(a,4)),type:n(p(a,5)),status:n(p(a,6)),priority:n(p(a,7)),severity:n(p(a,8)),title:n(X(a,9)),reporterUser:ED(W(a,vi,37)),assigneeUser:ED(W(a,vi,38)),verifierUser:ED(W(a,vi,39)),ccUsersList:Ub(oj(a,vi,40),ED),collaboratorUsersList:Ub(oj(a,vi,51),ED),attachmentIdList:n(Wh(a,14)),duplicateOfIssueId:n(p(a,15)),blockedByIssueIdList:n(Wh(a,16)),blockingIssueIdList:n(Wh(a,17)),
changelistList:n(Xh(a,18)),postmortemsList:n(Xh(a,35)),foundInVersionList:n(Xh(a,19)),targetedToVersionList:n(Xh(a,20)),verifiedInVersionList:n(Xh(a,21)),inProd:n(Ur(a,22)),hotlistIdList:n(Wh(a,23)),customFieldList:Ub(oj(a,Qi,24),Lac),retention:n(p(a,42)),isDeleted:n(Ur(a,27)),deletionReason:n(p(a,28)),significanceOverride:n(p(a,29)),duplicateIssueIdList:n(Wh(a,30)),isArchived:n(Ur(a,31)),comment:n(X(a,25)),formattingMode:n(p(a,45)),sloStartTime:mu(a.getSloStartTime()),sloEndTime:mu(a.getSloEndTime()),
sloSnoozeType:n(p(a,52)),effort:Sac(a.getEffort()),accessLimitLevel:n(p(a,53))}};var Ij=function(a){this.internalArray_=l(a,0,Ij.messageId)};U(Ij,q);f=Ij.prototype;f.getStarred=function(){return Vj(this,1)};f.setStarred=function(a){Xj(this,1,a)};f.hasStarred=function(){return Qk(this,1)};f.getVoted=function(){return Vj(this,2)};f.setVoted=function(a){return Xj(this,2,a)};f.getNotificationSubscription=function(){return aj(this,4,0)};f.setNotificationSubscription=function(a){return cj(this,4,a)};f.toObject=function(){return icc(this)};
var icc=function(a){if(null!=a)return t(a),{starred:n(Ur(a,1)),voted:n(Ur(a,2)),notificationSubscription:n(p(a,4)),lastViewedTimeMicros:n(p(a,5))}};Ij.messageId="b.IssueUserData";var rE=function(a){this.internalArray_=l(a,0,rE.messageId)};U(rE,q);f=rE.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getUpdateText=function(){return V(this,2)};f.setUpdateText=function(a){uk(this,2,a)};f.getFormattingMode=function(){return aj(this,4,0)};f.setFormattingMode=function(a){return cj(this,4,a)};f.getAuthor=function(){return W(this,vi,5)};f.setAuthor=function(a){lj(this,vi,5,a)};f.getUpdateTime=function(){return W(this,Rh,6)};
f.setUpdateTime=function(a){lj(this,Rh,6,a)};f.getVersion=function(){return Vh(this,7)};f.setVersion=function(a){return dj(this,7,a)};f.getVersionOrUndefined=function(){return Rt(this,7)};f.getEntityStatus=function(){return W(this,nE,8)};f.toObject=function(){return jcc(this)};var jcc=function(a){if(null!=a)return t(a),{issueId:n(p(a,1)),updateText:n(X(a,2)),formattedText:Nbc(W(a,Qj,3)),formattingMode:n(p(a,4)),author:ED(a.getAuthor()),updateTime:mu(a.getUpdateTime()),version:n(Ft(a,7)),entityStatus:oE(a.getEntityStatus())}};
rE.messageId="b.StatusUpdate";var Hj=function(a){this.internalArray_=l(a)};U(Hj,q);f=Hj.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.setSnapshot=function(a){zt(this,2,wj,a)};f.getUserData=function(){return W(this,Ij,3)};f.setUserData=function(a){lj(this,Ij,3,a)};f.getParentIssueIdsList=function(){return Wh(this,8)};f.setParentIssueIdsList=function(a){xj(this,8,a)};f.getAccessLimit=function(){return W(this,oi,5)};f.setAccessLimit=function(a){return lj(this,oi,5,a)};
f.getCustomFieldsList=function(){return oj(this,Vi,15)};f.setCustomFieldsList=function(a){rj(this,15,a)};f.getDescription=function(){return W(this,qE,16)};f.setDescription=function(a){return lj(this,qE,16,a)};f.hasDescription=function(){return Pj(this,qE,16)};f.getVisibleFieldsList=function(){return oj(this,Ni,6)};f.setVisibleFieldsList=function(a){rj(this,6,a)};f.getAncestorsMap=function(){return Bb(this,9,Mj,mb)};f.getChildIssueCount=function(){return Vh(this,10)};
f.setChildIssueCount=function(a){dj(this,10,a)};f.getIsArchived=function(){return Vj(this,11)};f.setIsArchived=function(a){return Xj(this,11,a)};f.getRelatedLinksList=function(){return oj(this,Ebc,12)};f.getTrackerId=function(){return Ki(this,13)};f.setTrackerId=function(a){cj(this,13,a)};f.getStatusUpdate=function(){return W(this,rE,14)};f.hasStatusUpdate=function(){return Pj(this,rE,14)};Hj.repeatedFields_=[2,8,15,6,12];Hj.prototype.toObject=function(){return sE(this)};
var sE=function(a){if(null!=a)return t(a),{issueId:n(p(a,1)),snapshotList:Ub(oj(a,wj,2),hcc),userData:icc(a.getUserData()),aggregatedData:ccc(W(a,Jj,4)),parentIssueIdsList:n(Wh(a,8)),accessLimit:Hac(a.getAccessLimit()),customFieldsList:Ub(a.getCustomFieldsList(),Mac),description:gcc(a.getDescription()),visibleFieldsList:Ub(a.getVisibleFieldsList(),Nac),majorModifiedTimeMicros:n(p(a,7)),ancestorsMap:Wb(a.getAncestorsMap(),Wac),childIssueCount:n(Ft(a,10)),isArchived:n(Ur(a,11)),relatedLinksList:Ub(a.getRelatedLinksList(),
Fbc),trackerId:n(p(a,13)),statusUpdate:jcc(a.getStatusUpdate())}};var Gj=function(a){this.internalArray_=l(a,0,Gj.messageId)};U(Gj,q);f=Gj.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getPosition=function(){return Vh(this,2)};f.setPosition=function(a){return dj(this,2,a)};f.getIssue=function(){return W(this,Hj,3)};f.setIssue=function(a){lj(this,Hj,3,a)};f.toObject=function(){return kcc(this)};var kcc=function(a){if(null!=a)return t(a),{issueId:n(p(a,1)),position:n(Ft(a,2)),issue:sE(a.getIssue())}};
Gj.messageId="b.HotlistIssue";var Oj=function(a){this.internalArray_=l(a)};U(Oj,q);f=Oj.prototype;f.getSnapshot=function(){return W(this,wj,1)};f.setSnapshot=function(a){lj(this,wj,1,a)};f.getAttachmentsList=function(){return Bt(this,2)};f.setAttachmentsList=function(a){mOb(this,2,a)};f.getAttachments=function(){return qOb(this,2)};f.getTemplateId=function(){return Ki(this,4)};f.setTemplateId=function(a){cj(this,4,a)};f.getContentJudgement=function(){return W(this,Li,5)};f.setContentJudgement=function(a){return lj(this,Li,5,a)};
Oj.repeatedFields_=[2,3];Oj.prototype.toObject=function(){if(null!=this){t(this);var a={snapshot:hcc(this.getSnapshot()),attachmentsList:Xb(this.getAttachmentsList()),attachmentStringsList:n(Xh(this,3)),templateId:n(p(this,4)),contentJudgement:ID(this.getContentJudgement())}}else a=void 0;return a};var Ej=function(a){this.internalArray_=l(a)};U(Ej,q);f=Ej.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getActionsList=function(){return oj(this,Dj,2)};f.setActionsList=function(a){rj(this,2,a)};f.getAttachmentsList=function(){return Bt(this,3)};f.setAttachmentsList=function(a){mOb(this,3,a)};f.getAttachments=function(){return qOb(this,3)};f.getSignificanceOverride=function(){return V(this,4)};f.setSignificanceOverride=function(a){uk(this,4,a)};
Ej.repeatedFields_=[2,3,5];Ej.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),actionsList:Ub(this.getActionsList(),acc),attachmentsList:Xb(this.getAttachmentsList()),significanceOverride:n(X(this,4)),attachmentStringsList:n(Xh(this,5))}}else a=void 0;return a};var lcc=function(a){this.internalArray_=l(a)};U(lcc,q);f=lcc.prototype;f.getCount=function(){return Vh(this,2)};f.setCount=function(a){return dj(this,2,a)};f.setS=function(a){uk(this,3,a)};f.setP=function(a){return dj(this,4,a)};f.getNextPageToken=function(){return V(this,5)};f.setTrackerIdsList=function(a){xj(this,6,a)};lcc.repeatedFields_=[6];
lcc.prototype.toObject=function(){if(null!=this){t(this);var a={q:n(X(this,1)),count:n(Ft(this,2)),s:n(X(this,3)),p:n(Ft(this,4)),nextPageToken:n(X(this,5)),trackerIdsList:n(Wh(this,6))}}else a=void 0;return a};var tsa=function(a){this.internalArray_=l(a)};U(tsa,q);f=tsa.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getComponentId=function(){return Ki(this,2)};f.setComponentId=function(a){return cj(this,2,a)};f.hasComponentId=function(){return Ji(this,2)};f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),componentId:n(p(this,2))}}else a=void 0;return a};var tE=function(a){this.internalArray_=l(a,0,tE.messageId)};U(tE,q);tE.prototype.getStatus=function(){return aj(this,1,0)};tE.prototype.setStatus=function(a){return cj(this,1,a)};tE.prototype.hasStatus=function(){return tj(this,1)};tE.prototype.toObject=function(){if(null!=this){t(this);var a={status:n(p(this,1)),summary:n(X(this,2))}}else a=void 0;return a};tE.messageId="b.LlmSummarizeResponse";var rsa=function(a){this.internalArray_=l(a)};U(rsa,q);f=rsa.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getComponentId=function(){return Ki(this,2)};f.setComponentId=function(a){return cj(this,2,a)};f.hasComponentId=function(){return Ji(this,2)};f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),componentId:n(p(this,2))}}else a=void 0;return a};var Nj=function(a){this.internalArray_=l(a)};U(Nj,q);f=Nj.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getRelation=function(){return aj(this,3,0)};f.setRelation=function(a){cj(this,3,a)};f.setActionType=function(a){cj(this,4,a)};Nj.repeatedFields_=[2];Nj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),targetIdsList:n(Wh(this,2)),relation:n(p(this,3)),actionType:n(p(this,4))}}else a=void 0;return a};var Cj=function(a){this.internalArray_=l(a,0,Cj.messageId)};U(Cj,q);Cj.prototype.getIssueId=function(){return Ki(this,1)};Cj.prototype.setIssueId=function(a){return cj(this,1,a)};Cj.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1))}}else a=void 0;return a};Cj.messageId="b.UnCcUserActionRequest";var uE=function(a){this.internalArray_=l(a,0,uE.messageId)};U(uE,q);uE.prototype.getIssueId=function(){return Ki(this,1)};uE.prototype.setIssueId=function(a){return cj(this,1,a)};uE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1))}}else a=void 0;return a};uE.messageId="b.UndeleteIssueRequest";var vE=function(a){this.internalArray_=l(a)};U(vE,q);vE.prototype.getAccessLevel=function(){return aj(this,1,0)};vE.prototype.setAccessLevel=function(a){return cj(this,1,a)};vE.prototype.toObject=function(){return mcc(this)};var mcc=function(a){if(null!=a)return t(a),{accessLevel:n(p(a,1))}};var wE=function(a){this.internalArray_=l(a,0,wE.messageId)};U(wE,q);f=wE.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getIssueAccessLimit=function(){return W(this,vE,2)};f.setIssueAccessLimit=function(a){lj(this,vE,2,a)};f.getAddedCollaboratorsList=function(){return oj(this,vi,3)};f.setAddedCollaboratorsList=function(a){rj(this,3,a)};f.getRemovedCollaboratorsList=function(){return oj(this,vi,4)};
f.setRemovedCollaboratorsList=function(a){rj(this,4,a)};wE.repeatedFields_=[3,4];wE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),issueAccessLimit:mcc(this.getIssueAccessLimit()),addedCollaboratorsList:Ub(this.getAddedCollaboratorsList(),ED),removedCollaboratorsList:Ub(this.getRemovedCollaboratorsList(),ED)}}else a=void 0;return a};wE.messageId="b.UpdateIssueAccessLimitRequest";var Fj=function(a){this.internalArray_=l(a)};U(Fj,q);Fj.prototype.setAddHotlistIdsList=function(a){xj(this,1,a)};Fj.prototype.setRemoveHotlistIdsList=function(a){xj(this,2,a)};Fj.prototype.getSignificanceOverride=function(){return aj(this,4,0)};Fj.prototype.setSignificanceOverride=function(a){cj(this,4,a)};Fj.repeatedFields_=[1,2];
Fj.prototype.toObject=function(){if(null!=this){t(this);var a={addHotlistIdsList:n(Wh(this,1)),removeHotlistIdsList:n(Wh(this,2)),hotlistIssue:kcc(W(this,Gj,3)),significanceOverride:n(p(this,4))}}else a=void 0;return a};var Esa=function(a){this.internalArray_=l(a)};U(Esa,q);f=Esa.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getRetention=function(){return aj(this,2,0)};f.setRetention=function(a){cj(this,2,a)};f.getSignificanceOverride=function(){return aj(this,3,0)};f.setSignificanceOverride=function(a){cj(this,3,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),retention:n(p(this,2)),significanceOverride:n(p(this,3))}}else a=void 0;return a};var Tj=function(a){this.internalArray_=l(a)};U(Tj,q);Tj.prototype.getContentJudgement=function(){return W(this,Li,2)};Tj.prototype.setContentJudgement=function(a){return lj(this,Li,2,a)};Tj.prototype.toObject=function(){return ncc(this)};var ncc=function(a){if(null!=a)return t(a),{attachment:Xb(Sj(a,1)),contentJudgement:ID(a.getContentJudgement())}};var xE=function(a){this.internalArray_=l(a)};U(xE,q);xE.prototype.getIssueId=function(){return Ki(this,1)};xE.prototype.setIssueId=function(a){return cj(this,1,a)};xE.repeatedFields_=[3];xE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),attachmentsWithJudgementsList:Ub(oj(this,Tj,3),ncc)}}else a=void 0;return a};var occ=function(a){this.internalArray_=l(a)};U(occ,q);f=occ.prototype;f.getFilename=function(){return V(this,1)};f.setFilename=function(a){uk(this,1,a)};f.getMimeType=function(){return V(this,2)};f.setMimeType=function(a){uk(this,2,a)};f.getSize=function(){return uj(this,5)};f.setSize=function(a){return cj(this,5,a)};f.toObject=function(){if(null!=this){t(this);var a={filename:n(X(this,1)),mimeType:n(X(this,2)),encryptedBlobId:n(X(this,3)),docId:n(X(this,4)),size:n(p(this,5))}}else a=void 0;return a};var Ysa=function(a){this.internalArray_=l(a)};U(Ysa,q);f=Ysa.prototype;f.getTeamId=function(){return uj(this,1)};f.setTeamId=function(a){return Nb(this,1,a)};f.getScore=function(){return vj(this,2)};f.setScore=function(a){Db(this,2,Va(a),0)};f.toObject=function(){return pcc(this)};var pcc=function(a){if(null!=a)return t(a),{teamId:uj(a,1),score:vj(a,2)}};var Zj=function(a){this.internalArray_=l(a)};U(Zj,q);f=Zj.prototype;f.getInherit=function(){return Vj(this,1)};f.setInherit=function(a){Xj(this,1,a)};f.getId=function(){return Ki(this,2)};f.setId=function(a){return cj(this,2,a)};f.toObject=function(){return qcc(this)};var qcc=function(a){if(null!=a)return t(a),{inherit:n(Ur(a,1)),id:n(p(a,2))}};var Wj=function(a){this.internalArray_=l(a)};U(Wj,q);Wj.prototype.getUser=function(){return W(this,vi,1)};Wj.prototype.setUser=function(a){lj(this,vi,1,a)};Wj.prototype.hasUser=function(){return Pj(this,vi,1)};Wj.prototype.toObject=function(){return rcc(this)};var rcc=function(a){if(null!=a)return t(a),{user:ED(a.getUser()),isLead:n(Ur(a,2))}};var Yj=function(a){this.internalArray_=l(a)};U(Yj,q);f=Yj.prototype;f.getInherit=function(){return Vj(this,1)};f.setInherit=function(a){Xj(this,1,a)};f.getSloId=function(){return Ki(this,2)};f.setSloId=function(a){return cj(this,2,a)};f.getComment=function(){return V(this,3)};f.setComment=function(a){uk(this,3,a)};f.getSourceTeamId=function(){return Ki(this,4)};f.setSourceTeamId=function(a){cj(this,4,a)};f.toObject=function(){return scc(this)};
var scc=function(a){if(null!=a)return t(a),{inherit:n(Ur(a,1)),sloId:n(p(a,2)),comment:n(X(a,3)),sourceTeamId:n(p(a,4))}};var yE=function(a){this.internalArray_=l(a,0,yE.messageId)};U(yE,q);f=yE.prototype;f.getTeamId=function(){return Ki(this,1)};f.setTeamId=function(a){return cj(this,1,a)};f.getVersion=function(){return Vh(this,2)};f.setVersion=function(a){return dj(this,2,a)};f.getVersionOrUndefined=function(){return Rt(this,2)};f.getName=function(){return V(this,3)};f.setName=function(a){return uk(this,3,a)};f.hasName=function(){return Jk(this,3)};f.getNameOrUndefined=function(){return Tt(this,3)};
f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return uk(this,4,a)};f.hasDescription=function(){return Jk(this,4)};f.getPathNamesList=function(){return Xh(this,5)};f.setPathNamesList=function(a){Ri(this,5,a)};f.getPathIdsList=function(){return sl(this,10)};f.setPathIdsList=function(a){Cb(this,10,a,gb)};f.getMembersList=function(){return oj(this,Wj,7)};f.setMembersList=function(a){rj(this,7,a)};f.getDeleted=function(){return Vj(this,8)};
f.setDeleted=function(a){Xj(this,8,a)};f.getSlo=function(){return W(this,Yj,11)};f.setSlo=function(a){lj(this,Yj,11,a)};f.hasSlo=function(){return Pj(this,Yj,11)};yE.repeatedFields_=[5,10,6,7];yE.prototype.toObject=function(){return tcc(this)};
var tcc=function(a){if(null!=a)return t(a),{teamId:n(p(a,1)),version:n(Ft(a,2)),name:n(X(a,3)),description:n(X(a,4)),pathNamesList:n(Xh(a,5)),pathIdsList:n(sl(a,10)),collapsedPathNamesList:n(Xh(a,6)),membersList:Ub(a.getMembersList(),rcc),deleted:n(Ur(a,8)),estimatedComponentCount:n(p(a,9)),slo:scc(a.getSlo()),sloLead:ED(W(a,vi,12)),defaultSloLead:ED(W(a,vi,13))}};yE.messageId="b.TeamState";var ucc=function(a){this.internalArray_=l(a)};U(ucc,q);f=ucc.prototype;f.getPathIdsList=function(){return Wh(this,1)};f.setPathIdsList=function(a){xj(this,1,a)};f.getPathNamesList=function(){return Xh(this,2)};f.setPathNamesList=function(a){Ri(this,2,a)};f.getId=function(){return Ki(this,3)};f.setId=function(a){return cj(this,3,a)};f.getName=function(){return V(this,4)};f.setName=function(a){return uk(this,4,a)};f.hasName=function(){return Jk(this,4)};
f.getNameOrUndefined=function(){return Tt(this,4)};f.getDescription=function(){return V(this,5)};f.setDescription=function(a){return uk(this,5,a)};f.hasDescription=function(){return Jk(this,5)};ucc.repeatedFields_=[1,2];ucc.prototype.toObject=function(){return vcc(this)};var vcc=function(a){if(null!=a)return t(a),{pathIdsList:n(Wh(a,1)),pathNamesList:n(Xh(a,2)),id:n(p(a,3)),name:n(X(a,4)),description:n(X(a,5))}};var wcc=function(a){this.internalArray_=l(a)};U(wcc,q);f=wcc.prototype;f.getId=function(){return Ki(this,1)};f.setId=function(a){return cj(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return uk(this,2,a)};f.hasName=function(){return Jk(this,2)};f.getNameOrUndefined=function(){return Tt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return uk(this,3,a)};f.hasDescription=function(){return Jk(this,3)};f.toObject=function(){return xcc(this)};
var xcc=function(a){if(null!=a)return t(a),{id:n(p(a,1)),name:n(X(a,2)),description:n(X(a,3))}};var bk=function(a){this.internalArray_=l(a)};U(bk,q);bk.repeatedFields_=[1,2,4];bk.prototype.toObject=function(){return ycc(this)};var ycc=function(a){if(null!=a)return t(a),{componentPathIdList:n(Wh(a,1)),componentPathNameList:n(Xh(a,2)),allCustomFieldList:Ub(oj(a,Vi,4),Mac)}};var gk=function(a){this.internalArray_=l(a,0,gk.messageId)};U(gk,q);f=gk.prototype;f.getComponentId=function(){return Ki(this,1)};f.setComponentId=function(a){return cj(this,1,a)};f.hasComponentId=function(){return Ji(this,1)};f.getName=function(){return V(this,3)};f.setName=function(a){return uk(this,3,a)};f.hasName=function(){return Jk(this,3)};f.getNameOrUndefined=function(){return Tt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return uk(this,4,a)};
f.hasDescription=function(){return Jk(this,4)};f.getArchived=function(){return Vj(this,5)};f.setArchived=function(a){return Xj(this,5,a)};f.getCustomFieldId=function(){return Kt(this,7)};f.setCustomFieldId=function(a){Nt(this,7,a)};f.getHotlistIdList=function(){return Wh(this,8)};f.setHotlistIdList=function(a){xj(this,8,a)};f.getHotlistId=function(){return Kt(this,8)};f.setHotlistId=function(a){return Nt(this,8,a)};f.getTemplateId=function(){return Kt(this,9)};
f.setTemplateId=function(a){Nt(this,9,a)};f.getAccessLimit=function(){return W(this,oi,12)};f.setAccessLimit=function(a){return lj(this,oi,12,a)};f.setCommentEditState=function(a){return cj(this,15,a)};f.getSlo=function(){return W(this,hj,19)};f.setSlo=function(a){lj(this,hj,19,a)};f.hasSlo=function(){return Pj(this,hj,19)};f.getRetentionSettings=function(){return W(this,bj,21)};f.setRetentionSettings=function(a){lj(this,bj,21,a)};f.hasRetentionSettings=function(){return Pj(this,bj,21)};
f.getTeam=function(){return W(this,Zj,22)};f.setTeam=function(a){lj(this,Zj,22,a)};f.hasTeam=function(){return Pj(this,Zj,22)};f.getEffortSpec=function(){return W(this,Wi,24)};f.getTeamSuggestionsList=function(){return oj(this,Ysa,25)};f.setTeamSuggestionsList=function(a){rj(this,25,a)};f.getTrackerId=function(){return Ki(this,26)};f.setTrackerId=function(a){cj(this,26,a)};gk.repeatedFields_=[6,7,8,9,25];gk.prototype.toObject=function(){return zE(this)};
var zE=function(a){if(null!=a)return t(a),{componentId:n(p(a,1)),parentComponentId:n(p(a,2)),name:n(X(a,3)),description:n(X(a,4)),archived:n(Ur(a,5)),codenameList:n(Xh(a,6)),customFieldIdList:n(Wh(a,7)),hotlistIdList:n(Wh(a,8)),templateIdList:n(Wh(a,9)),componentPathInfo:ycc(W(a,bk,10)),accessLimit:Hac(a.getAccessLimit()),emailAlias:n(X(a,13)),userHasEditAccess:n(Ur(a,14)),commentEditState:n(p(a,15)),defaultTemplateId:n(p(a,18)),slo:Vbc(a.getSlo()),bugscopeSloId:n(p(a,20)),retentionSettings:Qbc(a.getRetentionSettings()),
team:qcc(a.getTeam()),fieldOrdering:n(p(a,23)),effortSpec:Rac(a.getEffortSpec()),teamSuggestionsList:Ub(a.getTeamSuggestionsList(),pcc),trackerId:n(p(a,26)),spamProtection:n(p(a,27))}};gk.messageId="b.Component";var hk=function(a){this.internalArray_=l(a)};U(hk,q);f=hk.prototype;f.getTemplateId=function(){return uj(this,1)};f.setTemplateId=function(a){cj(this,1,a)};f.getComponentId=function(){return Ki(this,2)};f.setComponentId=function(a){return cj(this,2,a)};f.hasComponentId=function(){return Ji(this,2)};f.getDefault=function(){return Vj(this,6)};f.setDefault=function(a){Xj(this,6,a)};f.getName=function(){return V(this,3)};f.setName=function(a){return uk(this,3,a)};f.hasName=function(){return Jk(this,3)};
f.getNameOrUndefined=function(){return Tt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return uk(this,4,a)};f.hasDescription=function(){return Jk(this,4)};f.getSnapshot=function(){return W(this,wj,5)};f.setSnapshot=function(a){lj(this,wj,5,a)};f.toObject=function(){return zcc(this)};var zcc=function(a){if(null!=a)return t(a),{templateId:n(p(a,1)),componentId:n(p(a,2)),pb_default:n(Ur(a,6)),name:n(X(a,3)),description:n(X(a,4)),snapshot:hcc(a.getSnapshot())}};var AE=function(a){this.internalArray_=l(a,0,AE.messageId)};U(AE,q);AE.prototype.getSlo=function(){return W(this,hj,1)};AE.prototype.setSlo=function(a){lj(this,hj,1,a)};AE.prototype.hasSlo=function(){return Pj(this,hj,1)};AE.prototype.toObject=function(){if(null!=this){t(this);var a={slo:Vbc(this.getSlo())}}else a=void 0;return a};AE.messageId="b.UpdateComponentSloRequest";var BE=function(a){this.internalArray_=l(a,0,BE.messageId)};U(BE,q);BE.prototype.getTeam=function(){return W(this,Zj,1)};BE.prototype.setTeam=function(a){lj(this,Zj,1,a)};BE.prototype.hasTeam=function(){return Pj(this,Zj,1)};BE.prototype.toObject=function(){if(null!=this){t(this);var a={team:qcc(this.getTeam())}}else a=void 0;return a};BE.messageId="b.UpdateComponentTeamRequest";var Bk=function(a){this.internalArray_=l(a)};U(Bk,q);f=Bk.prototype;f.getActionsList=function(){return oj(this,Dj,1)};f.setActionsList=function(a){rj(this,1,a)};f.getIssueIdsList=function(){return Wh(this,2)};f.setIssueIdsList=function(a){return xj(this,2,a)};f.addIssueIds=function(a){Eb(this,2,a)};Bk.repeatedFields_=[1,2];Bk.prototype.toObject=function(){return Acc(this)};var Acc=function(a){if(null!=a)return t(a),{actionsList:Ub(a.getActionsList(),acc),issueIdsList:n(Wh(a,2))}};var CE=function(a){this.internalArray_=l(a)};U(CE,q);CE.prototype.getSignificanceOverride=function(){return V(this,3)};CE.prototype.setSignificanceOverride=function(a){uk(this,3,a)};CE.repeatedFields_=[4];CE.prototype.toObject=function(){if(null!=this){t(this);var a={bulkEditOpsList:Ub(oj(this,Bk,4),Acc),significanceOverride:n(X(this,3))}}else a=void 0;return a};var Bcc=function(a){this.internalArray_=l(a)};U(Bcc,q);Bcc.prototype.toObject=function(){return Ccc(this)};var Ccc=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseSafeUrlWrappedValue:n(X(a,3))}};var wua=function(a){this.internalArray_=l(a)};U(wua,q);wua.prototype.toObject=function(){return Dcc(this)};var Dcc=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseTrustedResourceUrlWrappedValue:n(X(a,4))}};var Ecc=function(a){return"action/issues/"+a+"/statusUpdate"},Ls={COMPONENT_CREATE:"/components/new",HOTLIST_SEARCH:function(a){return"/issues?q=hotlistid:"+a},HOTLIST_VIEW:function(a){return"/hotlists/"+(void 0===a?"":a)},ISSUE:function(a){return"/issues/"+a},ISSUE_LIST:"/issues",ISSUE_CREATE:"/issues/new"},Fcc={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var Ik=function(a){this.internalArray_=l(a,0,Ik.messageId)};U(Ik,q);Ik.prototype.getLogoUrl=function(){return V(this,1)};Ik.prototype.getTheme=function(){return aj(this,2,0)};Ik.prototype.setTheme=function(a){return cj(this,2,a)};Ik.prototype.toObject=function(){return Gcc(this)};var Gcc=function(a){if(null!=a)return t(a),{logoUrl:n(X(a,1)),theme:n(p(a,2)),cocUrl:n(X(a,3))}};Ik.messageId="b.Branding";var wl=function(a){this.internalArray_=l(a,0,wl.messageId)};U(wl,q);f=wl.prototype;f.getTrackerId=function(){return Ki(this,1)};f.setTrackerId=function(a){cj(this,1,a)};f.getComponentId=function(){return Ki(this,2)};f.setComponentId=function(a){return cj(this,2,a)};f.hasComponentId=function(){return Ji(this,2)};f.getName=function(){return V(this,3)};f.setName=function(a){return uk(this,3,a)};f.hasName=function(){return Jk(this,3)};f.getNameOrUndefined=function(){return Tt(this,3)};
wl.repeatedFields_=[4,8];wl.prototype.toObject=function(){return Hcc(this)};var Hcc=function(a){if(null!=a)return t(a),{trackerId:n(p(a,1)),componentId:n(p(a,2)),name:n(X(a,3)),associatedTrackerIdsList:n(Wh(a,4)),internalBaseUrl:n(X(a,6)),externalBaseUrl:n(X(a,7)),branding:Gcc(W(a,Ik,5)),collaboratorGroupsList:Ub(oj(a,vi,8),ED)}};wl.messageId="b.Tracker";var Sta={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"},Icc={},Jcc=(Icc[3]="LITERAL_FORMATTING_MODE",Icc[1]="PLAIN_FORMATTING_MODE",Icc[2]="MARKDOWN_FORMATTING_MODE",Icc),Kcc=Jcc[2],Lcc=Jcc[1],DE={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,needsAttentionPreferences:{selectedSignals:"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},
missionControlPreferences:{}};var Lk=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};Lk.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};Lk.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};Lk.prototype.toString=function(){return this.toApiUrlParam()};var Pk=function(a,b){this.fieldId=a;this.direction=b};Pk.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};Pk.prototype.toString=function(){return this.toApiUrlParam()};var Yk=function(a){this.internalArray_=l(a)};U(Yk,q);Yk.prototype.toObject=function(){return Mcc(this)};var Mcc=function(a){if(null!=a)return t(a),{announcementDismissed:n(Ur(a,2)),enableBugScreensaver:n(Ur(a,1))}};var cl=function(a){this.internalArray_=l(a)};U(cl,q);cl.prototype.toObject=function(){return Ncc(this)};var Ncc=function(a){if(null!=a)return t(a),{commentFilter:n(p(a,1))}};var nl=function(a){this.internalArray_=l(a)};U(nl,q);f=nl.prototype;f.getType=function(){return aj(this,1,1)};f.setType=function(a){return cj(this,1,a)};f.hasType=function(){return tj(this,1)};f.getCustomFieldId=function(){return uj(this,2)};f.setCustomFieldId=function(a){cj(this,2,a)};f.hasCustomFieldId=function(){return $k(this,2)};f.toObject=function(){return Occ(this)};var Occ=function(a){if(null!=a)return t(a),{type:n(p(a,1)),customFieldId:n(p(a,2))}};var kl=function(a){this.internalArray_=l(a)};U(kl,q);kl.prototype.getTimeZone=function(){return V(this,5)};kl.prototype.setTimeZone=function(a){return uk(this,5,a)};kl.prototype.hasTimeZone=function(){return Jk(this,5)};kl.prototype.toObject=function(){return Pcc(this)};var Pcc=function(a){if(null!=a)return t(a),{calendarFormat:n(X(a,1)),timeFormat:n(X(a,2)),calendarTimeFormat:n(X(a,3)),fullCalendarTimeFormat:n(X(a,4)),timeZone:n(X(a,5)),timeZoneOffset:n(X(a,6)),sloEtaViewAs:n(p(a,7))}};var ml=function(a){this.internalArray_=l(a)};U(ml,q);ml.prototype.getColumnList=function(){return oj(this,nl,1)};ml.prototype.setColumnList=function(a){return rj(this,1,a)};ml.prototype.setColumn=function(a){return zt(this,1,nl,a)};ml.repeatedFields_=[1];ml.prototype.toObject=function(){return Qcc(this)};var Qcc=function(a){if(null!=a)return t(a),{columnList:Ub(a.getColumnList(),Occ)}};var jl=function(a){this.internalArray_=l(a)};U(jl,q);jl.prototype.toObject=function(){return Rcc(this)};var Rcc=function(a){if(null!=a)return t(a),{leftSidebarWidth:n(Ft(a,1)),expandIssueSlo:n(Ur(a,2)),rightSidebarWidth:n(Ft(a,3))}};var Uk=function(a){this.internalArray_=l(a)};U(Uk,q);Uk.prototype.toObject=function(){return Scc(this)};var Scc=function(a){if(null!=a)return t(a),{showHotlists:n(Ur(a,1)),wrapTitles:n(Ur(a,2)),wrapComponents:n(Ur(a,3)),showStatusIcons:n(Ur(a,4)),rtlComponentPath:n(Ur(a,5)),fieldStatusMap:Wb(Ab(a,6,nb)),modeForFieldMap:Wb(Ab(a,7,nb))}};var pl=function(a){this.internalArray_=l(a)};U(pl,q);pl.prototype.getColumn=function(){return W(this,nl,1)};pl.prototype.setColumn=function(a){return lj(this,nl,1,a)};pl.prototype.toObject=function(){return Tcc(this)};var Tcc=function(a){if(null!=a)return t(a),{column:Occ(a.getColumn()),order:n(p(a,2))}};var hl=function(a){this.internalArray_=l(a)};U(hl,q);hl.prototype.getColumnList=function(){return oj(this,pl,1)};hl.prototype.setColumnList=function(a){return rj(this,1,a)};hl.prototype.setColumn=function(a){return zt(this,1,pl,a)};hl.repeatedFields_=[1];hl.prototype.toObject=function(){return Ucc(this)};var Ucc=function(a){if(null!=a)return t(a),{columnList:Ub(a.getColumnList(),Tcc)}};var Vk=function(a){this.internalArray_=l(a)};U(Vk,q);Vk.prototype.getDensity=function(){return aj(this,1,1)};Vk.prototype.setDensity=function(a){return cj(this,1,a)};Vk.prototype.toObject=function(){return Vcc(this)};var Vcc=function(a){if(null!=a)return t(a),{density:n(p(a,1))}};var Zk=function(a){this.internalArray_=l(a)};U(Zk,q);Zk.prototype.toObject=function(){return Wcc(this)};var Wcc=function(a){if(null!=a)return t(a),{announcementDismissedMillis:n(p(a,1))}};var ll=function(a){this.internalArray_=l(a)};U(ll,q);f=ll.prototype;f.getResourceType=function(){return aj(this,1,1)};f.setResourceType=function(a){cj(this,1,a)};f.hasResourceType=function(){return tj(this,1)};f.getResourceId=function(){return Ki(this,2)};f.setResourceId=function(a){cj(this,2,a)};f.hasResourceId=function(){return Ji(this,2)};f.toObject=function(){return Xcc(this)};var Xcc=function(a){if(null!=a)return t(a),{resourceType:n(p(a,1)),resourceId:n(p(a,2))}};var Wk=function(a){this.internalArray_=l(a)};U(Wk,q);Wk.prototype.toObject=function(){return Ycc(this)};var Ycc=function(a){if(null!=a)return t(a),{enableAllHotkeys:Vj(a,1,!0)}};var el=function(a){this.internalArray_=l(a)};U(el,q);el.prototype.getCollapsedMap=function(){return Ab(this,2,lb)};el.repeatedFields_=[1];el.prototype.toObject=function(){return Zcc(this)};var Zcc=function(a){if(null!=a)return t(a),{workAreaUrlsList:n(Xh(a,1)),collapsedMap:Wb(a.getCollapsedMap())}};var dl=function(a){this.internalArray_=l(a)};U(dl,q);dl.repeatedFields_=[1];dl.prototype.toObject=function(){return $cc(this)};var $cc=function(a){if(null!=a)return t(a),{selectedSignalsList:n(fl(a,1))}};var Sk=function(a){this.internalArray_=l(a)};U(Sk,q);Sk.prototype.toObject=function(){return adc(this)};var adc=function(a){if(null!=a)return t(a),{reportedPriority:n(p(a,1)),assignedPriority:n(p(a,2)),verifiedPriority:n(p(a,3)),ccdPriority:n(p(a,4)),collaboratorPriority:n(p(a,9)),starredPriority:n(p(a,5)),excludeChangesByMe:n(Ur(a,6)),unsubscribeFromAll:n(Ur(a,7)),enableV2Prefs:n(Ur(a,8))}};var bl=function(a){this.internalArray_=l(a)};U(bl,q);bl.prototype.getComponentId=function(){return uj(this,1)};bl.prototype.setComponentId=function(a){return cj(this,1,a)};bl.prototype.hasComponentId=function(){return $k(this,1)};bl.prototype.toObject=function(){return bdc(this)};var bdc=function(a){if(null!=a)return t(a),{componentId:n(p(a,1)),dismissMillis:n(p(a,2))}};var al=function(a){this.internalArray_=l(a)};U(al,q);var tua=function(a,b){rj(a,1,b)};al.repeatedFields_=[1];al.prototype.toObject=function(){return cdc(this)};var cdc=function(a){if(null!=a)return t(a),{componentTeamWarningsList:Ub(oj(a,bl,1),bdc)}};var Xk=function(a){this.internalArray_=l(a)};U(Xk,q);Xk.prototype.toObject=function(){return ddc(this)};var ddc=function(a){if(null!=a)return t(a),{lastPublishMode:n(p(a,1)),commentDisplayOverride:n(p(a,2))}};var edc=function(a){this.internalArray_=l(a)};U(edc,q);edc.repeatedFields_=[1];edc.prototype.toObject=function(){return fdc(this)};var fdc=function(a){if(null!=a)return t(a),{recentComponentIdList:n(sl(a,1))}};var gdc=function(a){this.internalArray_=l(a)};U(gdc,q);gdc.prototype.toObject=function(){return hdc(this)};var hdc=function(a){if(null!=a)return t(a),{enableNewIssueDetailsPage:n(Ur(a,1)),onboardingDialogAcknowledgedMillis:n(p(a,2)),newIdpOptOut:n(Ur(a,3))}};var idc=function(a){this.internalArray_=l(a)};U(idc,q);idc.repeatedFields_=[1];idc.prototype.toObject=function(){return jdc(this)};var jdc=function(a){if(null!=a)return t(a),{hiddenSavedSearchList:n(sl(a,1))}};var kdc=function(a){this.internalArray_=l(a)};U(kdc,q);kdc.prototype.getValue=function(){return Vj(this,1)};kdc.prototype.setValue=function(a){return Ib(this,1,a)};kdc.prototype.toObject=function(){return ldc(this)};var ldc=function(a){if(null!=a)return t(a),{value:Vj(a,1)}};var gl=function(a){this.internalArray_=l(a)};U(gl,q);f=gl.prototype;f.getDisplayColumns=function(){return W(this,ml,4)};f.setDisplayColumns=function(a){lj(this,ml,4,a)};f.getSortColumns=function(){return W(this,hl,6)};f.getLayoutPreferences=function(){return W(this,jl,10)};f.getDateTimePreferences=function(){return W(this,kl,11)};f.getHomepagePreferences=function(){return W(this,ll,13)};f.clearHomepagePreferences=function(){return Ct(this,13)};f.getCollapsedMap=function(){return Ab(this,27,lb)};
f.getShowInlineImages=function(){return Vj(this,29)};f.toObject=function(){return mdc(this)};
var mdc=function(a){if(null!=a)return t(a),{showFullHistory:n(Ur(a,1)),useCodefont:n(Ur(a,2)),notificationPreferences:adc(W(a,Sk,3)),displayColumns:Qcc(a.getDisplayColumns()),resultsPerPage:n(Ft(a,5)),sortColumns:Ucc(a.getSortColumns()),bannerMessageId:n(X(a,7)),themePreferences:Vcc(W(a,Vk,8)),listViewPreferences:Scc(W(a,Uk,9)),layoutPreferences:Rcc(a.getLayoutPreferences()),dateTimePreferences:Pcc(a.getDateTimePreferences()),sidebarPreferences:jdc(W(a,idc,12)),homepagePreferences:Xcc(a.getHomepagePreferences()),
componentPreferences:fdc(W(a,edc,14)),keyboardPreferences:Ycc(W(a,Wk,17)),termsAcknowledgedMillis:n(p(a,15)),newFeaturesAcknowledgedMillis:n(p(a,16)),autoCcOnComment:n(Ur(a,18)),enableMaterialStyles:ldc(W(a,kdc,19)),textDisplayPreferences:ddc(W(a,Xk,20)),bugScreensaverPreferences:Mcc(W(a,Yk,21)),newIssueDetailsPagePreferences:hdc(W(a,gdc,22)),teamWarningPreferences:cdc(W(a,al,23)),g3nPreferences:Wcc(W(a,Zk,24)),dismissalTimestampsMap:Wb(ik(a,25,Rh),mu),showRecentEventsFirst:n(Ur(a,26)),collapsedMap:Wb(a.getCollapsedMap()),
commentFilterPreferences:Ncc(W(a,cl,28)),showInlineImages:n(Ur(a,29)),needsAttentionPreferences:$cc(W(a,dl,30)),missionControlPreferences:Zcc(W(a,el,31))}};var rl=function(a){this.internalArray_=l(a)};U(rl,q);f=rl.prototype;f.getAnalyticsId=function(){return V(this,1)};f.getAppName=function(){return V(this,2)};f.getDocumentationBaseUrl=function(){return V(this,3)};f.getEnvironmentType=function(){return V(this,5)};f.getMaxAccurateSearchResults=function(){return Vh(this,6)};f.getOnePickUrl=function(){return V(this,7)};f.getOnePickSecretToken=function(){return V(this,12)};f.getCommentNumberLimit=function(){return Vh(this,8)};
f.getCreateComponentRedirectDelay=function(){return vj(this,9)};f.getCreateRestrictedSubresourcesComponentWhitelist=function(){return oOb(this,13)};rl.repeatedFields_=[10,13,18];rl.prototype.toObject=function(){return ndc(this)};
var ndc=function(a){if(null!=a)return t(a),{analyticsId:n(X(a,1)),appName:n(X(a,2)),documentationBaseUrl:n(X(a,3)),enabledFlagsMap:Wb(Ab(a,4,lb)),environmentType:n(X(a,5)),maxAccurateSearchResults:n(Ft(a,6)),onePickUrl:n(X(a,7)),onePickSecretToken:n(X(a,12)),commentNumberLimit:n(Ft(a,8)),createComponentRedirectDelay:n(Qo(a,9)),whitelistedWhitelistDomainPartnerComponentIdsList:n(Wh(a,10)),isDogfooder:n(Ur(a,11)),createRestrictedSubresourcesComponentWhitelistList:n(sl(a,13)),issueAccessLimitsComponentAllowlistList:n(sl(a,
18))}};var ql=function(a){this.internalArray_=l(a)};U(ql,q);f=ql.prototype;f.getEmail=function(){return V(this,1)};f.setEmail=function(a){return uk(this,1,a)};f.hasEmail=function(){return Jk(this,1)};f.getSessionIdentifier=function(){return V(this,3)};f.getUserTypeLabel=function(){return V(this,5)};f.toObject=function(){return odc(this)};var odc=function(a){if(null!=a)return t(a),{anonymous:n(Ur(a,4)),email:n(X(a,1)),sessionIdentifier:n(X(a,3)),userTypeLabel:n(X(a,5))}};var ul=function(a){this.internalArray_=l(a,0,ul.messageId)};U(ul,q);ul.prototype.getId=function(){return V(this,1)};ul.prototype.setId=function(a){return uk(this,1,a)};ul.repeatedFields_=[2,4];ul.prototype.toObject=function(){return pdc(this)};var pdc=function(a){if(null!=a)return t(a),{id:n(X(a,1)),namesList:n(Xh(a,2)),stdOffset:n(Ft(a,3)),transitionsList:n(Uh(a,4))}};ul.messageId="b.TimeZoneData";var vl=function(a){this.internalArray_=l(a,0,vl.messageId)};U(vl,q);vl.prototype.getMessage=function(){return V(this,1)};vl.prototype.setMessage=function(a){uk(this,1,a)};vl.prototype.getTagsList=function(){return Xh(this,4)};vl.prototype.getTags=function(a){return Lt(this,4,a)};vl.repeatedFields_=[4];vl.prototype.toObject=function(){return qdc(this)};var qdc=function(a){if(null!=a)return t(a),{message:n(X(a,1)),messageId:n(X(a,2)),dismissible:n(Ur(a,3)),tagsList:n(Xh(a,4))}};vl.messageId="b.Announcement";var tl=function(a){this.internalArray_=l(a)};U(tl,q);tl.prototype.getAnnouncement=function(){return W(this,vl,2)};tl.repeatedFields_=[1];tl.prototype.toObject=function(){return rdc(this)};var rdc=function(a){if(null!=a)return t(a),{timezonesList:Ub(oj(a,ul,1),pdc),announcement:qdc(a.getAnnouncement())}};var xua=function(a){this.internalArray_=l(a)};U(xua,q);f=xua.prototype;f.getUser=function(){return W(this,ql,1)};f.setUser=function(a){lj(this,ql,1,a)};f.hasUser=function(){return Pj(this,ql,1)};f.getConfig=function(){return W(this,rl,2)};f.getXsrfToken=function(){return V(this,3)};f.getCspNonce=function(){return V(this,8)};f.getFrontendAccessMode=function(){return V(this,4)};f.getMustAcknowledgeTerms=function(){return Vj(this,5)};f.getShowNewFeaturesDialog=function(){return Vj(this,6)};
f.getUserPreferences=function(){return W(this,gl,7)};f.getAppBaseHref=function(){return V(this,10)};f.getTracker=function(){return W(this,wl,11)};f.getPassiveLoginIframeUrl=function(){return W(this,wua,12)};
f.toObject=function(){if(null!=this){t(this);var a={user:odc(this.getUser()),config:ndc(this.getConfig()),xsrfToken:n(X(this,3)),cspNonce:n(X(this,8)),frontendAccessMode:n(X(this,4)),mustAcknowledgeTerms:n(Ur(this,5)),showNewFeaturesDialog:n(Ur(this,6)),userPreferences:mdc(this.getUserPreferences()),preload:rdc(W(this,tl,9)),appBaseHref:n(X(this,10)),tracker:Hcc(this.getTracker()),passiveLoginIframeUrl:Dcc(this.getPassiveLoginIframeUrl())}}else a=void 0;return a};var yua=window,yl;var bt=function(){this.session=xl();this.tracker=this.session.tracker||void 0};bt.prototype.getAppBaseHref=function(){return this.session.appBaseHref};bt.prototype.getFrontendAccessMode=function(){return this.session.frontendAccessMode||"INTERNAL"};bt.prototype.isExternalSession=function(){return"INTERNAL"!==this.getFrontendAccessMode()};bt.prototype.isInternalSession=function(){return"INTERNAL"===this.getFrontendAccessMode()};
var sdc=function(a){return"PARTNER"===a.getFrontendAccessMode()},tdc=function(a){return"PUBLIC"===a.getFrontendAccessMode()};bt.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var EE=function(a,b){return!!a.session.config.enabledFlags.get(b)};f=bt.prototype;f.isAnonymous=function(){return this.session.user.anonymous};f.getUserEmail=function(){return this.session.user.email||""};f.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};
f.getTracker=function(){return this.tracker};f.getPassiveLoginIframeUrl=function(){return this.session.passiveLoginIframeUrl};f.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};f.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};f.getEnvironmentType=function(){return this.session.config.environmentType||"QA"};
var lGa=function(a){a=a.getEnvironmentType();switch(a){case "QA":case "DEV":return!1;case "NIGHTLY":case "PROD":return!0;default:Fh(a,"Unknown environment type.")}};f=bt.prototype;f.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?lGa(this)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":lGa(this)?"http://b/":"http://b-qa/"};f.getOnePickUrl=function(){return this.session.config.onePickUrl};f.getAppName=function(){return this.session.config.appName};
f.getCommentNumberLimit=function(){return this.session.config.commentNumberLimit};f.getCreateComponentRedirectDelay=function(){return this.session.config.createComponentRedirectDelay};f.getDocumentationBaseUrl=function(){return this.session.config.documentationBaseUrl};f.getMaxAccurateSearchResults=function(){return this.session.config.maxAccurateSearchResults};f.getAnalyticsId=function(){return this.session.config.analyticsId};f.getUserPreferences=function(){return this.session.userPreferences};
f.getXsrfToken=function(){return this.session.xsrfToken};f.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};f.getCreateRestrictedSubresourcesComponentWhitelist=function(){return this.session.config.createRestrictedSubresourcesComponentWhitelist};f.getCspNonce=function(){return this.session.cspNonce};f.getAnnouncement=function(){return this.session.preload.announcement};f.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};
bt.\u0275fac=function(a){return new (a||bt)};bt.\u0275prov=wc({token:bt,factory:bt.\u0275fac,providedIn:"root"});var FE=new Zc("buganizerWindow",{factory:function(){return window}});var GE=function(){this.destroyed$=new E.ReplaySubject(1);this.subscriptions=new E.Subscription};GE.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};GE.\u0275fac=function(a){return new (a||GE)};GE.\u0275dir=Qc({type:GE});var HE=function(a,b){GE.call(this);this.$window=a;this.activeSession=b;a=E.BehaviorSubject;var c;b=null!=(c=this.$window.sessionStorage.getItem("buganizer.current_tracker_id"))?c:"";this.trackerId$=new a(b);(c=(c=this.activeSession.getTracker())?c.trackerId:void 0)&&this.setTrackerId(c)};U(HE,GE);HE.\u0275dir=GE.\u0275dir;HE.prototype.setTrackerId=function(a){this.trackerId$.next(a);this.$window.sessionStorage.setItem("buganizer.current_tracker_id",a)};HE.prototype.getTrackerId=function(){return this.trackerId$.value};
HE.\u0275fac=function(a){return new (a||HE)(u(FE),u(bt))};HE.\u0275prov=wc({token:HE,factory:HE.\u0275fac,providedIn:"root"});var IE=function(a){this.internalArray_=l(a,0,IE.messageId)};U(IE,q);IE.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};IE.messageId="f.mt";var JE=function(a){this.internalArray_=l(a,0,JE.messageId)};U(JE,q);JE.prototype.getIdsList=function(){return Wh(this,2)};JE.prototype.setIdsList=function(a){xj(this,2,a)};JE.prototype.getIds=function(){return Kt(this,2)};JE.prototype.setIds=function(a){return Nt(this,2,a)};JE.repeatedFields_=[2];JE.prototype.toObject=function(){if(null!=this){t(this);var a={idsList:n(Wh(this,2))}}else a=void 0;return a};JE.messageId="b.BatchGetIssuesRequest";var KE=function(a){this.internalArray_=l(a,0,KE.messageId)};U(KE,q);KE.prototype.getIssuesList=function(){return oj(this,Hj,1)};KE.repeatedFields_=[1];KE.prototype.toObject=function(){if(null!=this){t(this);var a={issuesList:Ub(this.getIssuesList(),sE)}}else a=void 0;return a};KE.messageId="b.BatchGetIssuesResponse";var Ck=function(a){this.internalArray_=l(a)};U(Ck,q);f=Ck.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getMessage=function(){return V(this,2)};f.setMessage=function(a){uk(this,2,a)};f.toObject=function(){return udc(this)};var udc=function(a){if(null!=a)return t(a),{issueId:n(p(a,1)),message:n(X(a,2))}};var LE=function(a){this.internalArray_=l(a,0,LE.messageId)};U(LE,q);LE.prototype.setErrors=function(a,b){zt(this,2,Ck,a,b)};LE.repeatedFields_=[2];LE.prototype.toObject=function(){if(null!=this){t(this);var a={affectedIssuesMap:Wb(ik(this,1,Hj),sE),errorsList:Ub(oj(this,Ck,2),udc),componentMapMap:Wb(ik(this,3,gk),zE)}}else a=void 0;return a};LE.messageId="b.BulkEditResponse";var ME=function(a){this.internalArray_=l(a,0,ME.messageId)};U(ME,q);ME.prototype.getReadersList=function(){return oj(this,Fi,1)};ME.prototype.setReadersList=function(a){rj(this,1,a)};ME.prototype.getAppendersList=function(){return oj(this,Fi,2)};ME.prototype.setAppendersList=function(a){rj(this,2,a)};ME.repeatedFields_=[1,2,3];
ME.prototype.toObject=function(){if(null!=this){t(this);var a={readersList:Ub(this.getReadersList(),GD),appendersList:Ub(this.getAppendersList(),GD),writersList:Ub(oj(this,Fi,3),GD)}}else a=void 0;return a};ME.messageId="b.GetRetainedAccessPrincipalsResponse";var NE=function(a){this.internalArray_=l(a,0,NE.messageId)};U(NE,q);NE.prototype.getIssueId=function(){return Ki(this,1)};NE.prototype.setIssueId=function(a){return cj(this,1,a)};NE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1))}}else a=void 0;return a};NE.messageId="b.IssueCreateResponse";var vdc=function(a){this.internalArray_=l(a)};U(vdc,q);vdc.prototype.toObject=function(){return wdc(this)};var wdc=function(a){if(null!=a)return t(a),{blobId:n(X(a,1)),blobGeneration:n(p(a,5)),readToken:n(X(a,2)),uploadMetadataContainer:Xb(So(a,3)),downloadReadHandle:Xb(So(a,4))}};var OE=function(a){this.internalArray_=l(a)};U(OE,q);OE.prototype.toObject=function(){return xdc(this)};var xdc=function(a){if(null!=a)return t(a),{bucketName:n(X(a,1)),objectName:n(X(a,2)),generation:n(p(a,7))}};var PE=function(a){this.internalArray_=l(a)};U(PE,q);f=PE.prototype;f.getLength=function(){return p(this,1)};f.getLength_legacyNullable=function(){return p(this,1)};f.getPath=function(){return X(this,3)};f.setPath=function(a){return uk(this,3,a)};f.hasPath=function(){return Jk(this,3)};f.getBlobRef=function(){return So(this,4)};f.getInline=function(){return So(this,5)};f.getObjectId=function(){return W(this,OE,6)};f.setObjectId=function(a){lj(this,OE,6,a)};
f.getBlobstore2Info=function(){return W(this,vdc,7)};f.getCosmoBinaryReference=function(){return So(this,8)};f.getMd5Hash=function(){return So(this,10)};f.getSha1Hash=function(){return So(this,11)};f.toObject=function(){return QE(this)};
var QE=function(a){if(null!=a)return t(a),{length:n(p(a,1)),referenceType:n(p(a,2)),path:n(X(a,3)),blobRef:Xb(a.getBlobRef()),inline:Xb(a.getInline()),objectId:xdc(a.getObjectId()),blobstore2Info:wdc(a.getBlobstore2Info()),cosmoBinaryReference:Xb(a.getCosmoBinaryReference()),crc32cHash:n(db(p(a,9))),md5Hash:Xb(a.getMd5Hash()),sha1Hash:Xb(a.getSha1Hash())}};var ydc=function(a){this.internalArray_=l(a)};U(ydc,q);ydc.prototype.toObject=function(){return zdc(this)};var zdc=function(a){if(null!=a)return t(a),{bestGuess:n(X(a,1)),fromHeader:n(X(a,2)),fromFileName:n(X(a,3)),fromUrlPath:n(X(a,4)),fromBytes:n(X(a,5))}};var Adc=function(a){this.internalArray_=l(a)};U(Adc,q);Adc.prototype.getObjectLocation=function(){return W(this,PE,5)};Adc.prototype.toObject=function(){return Bdc(this)};var Bdc=function(a){if(null!=a)return t(a),{objectVersion:n(X(a,1)),objectSizeBytes:n(p(a,2)),chunkSizeBytes:n(p(a,3)),checksumsLocation:QE(W(a,PE,4)),objectLocation:QE(a.getObjectLocation())}};var Cdc=function(a){this.internalArray_=l(a)};U(Cdc,q);Cdc.prototype.getObjectLocation=function(){return W(this,PE,1)};Cdc.prototype.toObject=function(){return Ddc(this)};var Ddc=function(a){if(null!=a)return t(a),{objectLocation:QE(a.getObjectLocation())}};var Edc=function(a){this.internalArray_=l(a)};U(Edc,q);Edc.prototype.toObject=function(){return Fdc(this)};var Fdc=function(a){if(null!=a)return t(a),{objectVersion:n(X(a,1)),objectInfo:QE(W(a,PE,2)),checksumsInfo:QE(W(a,PE,3))}};var Gdc=function(a){this.internalArray_=l(a)};U(Gdc,q);Gdc.prototype.toObject=function(){return Hdc(this)};var Hdc=function(a){if(null!=a)return t(a),{objectVersion:n(X(a,1)),originalObject:QE(W(a,PE,2))}};var Idc=function(a){this.internalArray_=l(a)};U(Idc,q);Idc.prototype.toObject=function(){return Jdc(this)};var Jdc=function(a){if(null!=a)return t(a),{objectVersion:n(X(a,1)),objectSizeBytes:n(p(a,2))}};var Kdc=function(a){this.internalArray_=l(a)};U(Kdc,q);Kdc.prototype.toObject=function(){return Ldc(this)};var Ldc=function(a){if(null!=a)return t(a),{allowGzipCompression:n(Ur(a,1)),ignoreRange:n(Ur(a,2))}};var Uj=function(a){this.internalArray_=l(a)};U(Uj,q);f=Uj.prototype;f.getContentType=function(){return X(this,1)};f.getTimestamp=function(){return p(this,2)};f.setTimestamp=function(a){return cj(this,2,a)};f.hasTimestamp=function(){return null!=p(this,2)};f.getToken=function(){return X(this,3)};f.setToken=function(a){return uk(this,3,a)};f.getLength=function(){return p(this,4)};f.getLength_legacyNullable=function(){return p(this,4)};f.getFilename=function(){return X(this,5)};
f.setFilename=function(a){uk(this,5,a)};f.getPath=function(){return X(this,7)};f.setPath=function(a){return uk(this,7,a)};f.hasPath=function(){return Jk(this,7)};f.getBlobRef=function(){return So(this,8)};f.getInline=function(){return So(this,9)};f.getHash=function(){return X(this,11)};f.setHash=function(a){uk(this,11,a)};f.getObjectId=function(){return W(this,OE,15)};f.setObjectId=function(a){lj(this,OE,15,a)};f.getBlobstore2Info=function(){return W(this,vdc,16)};
f.getMd5Hash=function(){return So(this,25)};f.getSha1Hash=function(){return So(this,26)};f.getCosmoBinaryReference=function(){return So(this,28)};Uj.repeatedFields_=[13];Uj.prototype.toObject=function(){return Mdc(this)};
var Mdc=function(a){if(null!=a)return t(a),{contentType:n(X(a,1)),timestamp:n(p(a,2)),token:n(X(a,3)),length:n(p(a,4)),filename:n(X(a,5)),referenceType:n(p(a,6)),path:n(X(a,7)),blobRef:Xb(a.getBlobRef()),inline:Xb(a.getInline()),mediaId:Xb(So(a,10)),hash:n(X(a,11)),algorithm:n(X(a,12)),compositeMediaList:Ub(oj(a,PE,13),QE),bigstoreObjectRef:Xb(So(a,14)),objectId:xdc(a.getObjectId()),blobstore2Info:wdc(a.getBlobstore2Info()),diffVersionResponse:Jdc(W(a,Idc,17)),diffChecksumsResponse:Bdc(W(a,Adc,18)),
diffDownloadResponse:Ddc(W(a,Cdc,19)),diffUploadRequest:Fdc(W(a,Edc,20)),diffUploadResponse:Hdc(W(a,Gdc,21)),contentTypeInfo:zdc(W(a,ydc,22)),downloadParameters:Ldc(W(a,Kdc,23)),crc32cHash:n(db(p(a,24))),md5Hash:Xb(a.getMd5Hash()),sha1Hash:Xb(a.getSha1Hash()),sha256Hash:Xb(So(a,30)),isPotentialRetry:Vj(a,27,!0),cosmoBinaryReference:Xb(a.getCosmoBinaryReference()),hashVerified:n(Ur(a,29))}};var RE=function(a){this.internalArray_=l(a,0,RE.messageId)};U(RE,q);f=RE.prototype;f.getAttachmentId=function(){return Ki(this,1)};f.setAttachmentId=function(a){cj(this,1,a)};f.getDescription=function(){return V(this,2)};f.setDescription=function(a){return uk(this,2,a)};f.hasDescription=function(){return Jk(this,2)};f.getContentType=function(){return V(this,4)};f.getFilename=function(){return V(this,5)};f.setFilename=function(a){uk(this,5,a)};f.getLength=function(){return uj(this,6)};
f.getEtag=function(){return V(this,8)};f.setEtag=function(a){uk(this,8,a)};f.hasEtag=function(){return Jk(this,8)};f.getContentVerdict=function(){return W(this,Fk,9)};f.getEntityStatus=function(){return W(this,nE,10)};f.getPiiRetentionState=function(){return W(this,Kj,12)};f.getPiiRetention=function(){return aj(this,13,0)};f.setPiiRetention=function(a){return cj(this,13,a)};f.toObject=function(){return Ndc(this)};
var Ndc=function(a){if(null!=a)return t(a),{attachmentId:n(p(a,1)),description:n(X(a,2)),media:Mdc(W(a,Uj,3)),contentType:n(X(a,4)),filename:n(X(a,5)),length:n(p(a,6)),filecompUrl:n(X(a,7)),etag:n(X(a,8)),contentVerdict:Pbc(a.getContentVerdict()),entityStatus:oE(a.getEntityStatus()),piiRetentionState:Rbc(a.getPiiRetentionState()),piiRetention:n(p(a,13))}};RE.messageId="b.Attachment";var ok=function(a){this.internalArray_=l(a)};U(ok,q);f=ok.prototype;f.getOldValue=function(){return V(this,1)};f.getNewValue=function(){return V(this,2)};f.getCustomFieldId=function(){return uj(this,3)};f.setCustomFieldId=function(a){cj(this,3,a)};f.hasCustomFieldId=function(){return $k(this,3)};f.toObject=function(){return Odc(this)};var Odc=function(a){if(null!=a)return t(a),{oldValue:n(X(a,1)),newValue:n(X(a,2)),customFieldId:n(p(a,3))}};var Pdc=function(a){this.internalArray_=l(a)};U(Pdc,q);f=Pdc.prototype;f.getHref=function(){return V(this,1)};f.getValue=function(){return V(this,2)};f.setValue=function(a){return uk(this,2,a)};f.hasValue=function(){return Jk(this,2)};f.toObject=function(){return Qdc(this)};var Qdc=function(a){if(null!=a)return t(a),{href:n(X(a,1)),value:n(X(a,2))}};var rk=function(a){this.internalArray_=l(a)};U(rk,q);rk.prototype.getAddedList=function(){return oj(this,Pdc,1)};rk.prototype.getRemovedList=function(){return oj(this,Pdc,2)};rk.repeatedFields_=[1,2];rk.prototype.toObject=function(){return Rdc(this)};var Rdc=function(a){if(null!=a)return t(a),{addedList:Ub(a.getAddedList(),Qdc),removedList:Ub(a.getRemovedList(),Qdc)}};var nk=function(a){this.internalArray_=l(a)};U(nk,q);nk.prototype.getOldValue=function(){return V(this,1)};nk.prototype.getNewValue=function(){return V(this,2)};nk.prototype.toObject=function(){return Sdc(this)};var Sdc=function(a){if(null!=a)return t(a),{oldValue:n(X(a,1)),newValue:n(X(a,2))}};var lk=function(a){this.internalArray_=l(a)};U(lk,q);lk.prototype.toObject=function(){return Tdc(this)};var Tdc=function(a){if(null!=a)return t(a),{oldUser:ED(W(a,vi,1)),newUser:ED(W(a,vi,2))}};var jk=function(a){this.internalArray_=l(a)};U(jk,q);var mk=[1,2];jk.prototype.toObject=function(){return Udc(this)};var Udc=function(a){if(null!=a)return t(a),{userDiff:Tdc(fk(a,lk,1,mk)),stringDiff:Sdc(fk(a,nk,2,mk))}};var sk=function(a){this.internalArray_=l(a)};U(sk,q);sk.prototype.getEntityStatus=function(){return W(this,nE,1)};sk.prototype.toObject=function(){return Vdc(this)};var Vdc=function(a){if(null!=a)return t(a),{entityStatus:oE(a.getEntityStatus())}};var qk=function(a){this.internalArray_=l(a)};U(qk,q);qk.prototype.getAddedList=function(){return Xh(this,1)};qk.prototype.getRemovedList=function(){return Xh(this,2)};qk.repeatedFields_=[1,2];qk.prototype.toObject=function(){return Wdc(this)};var Wdc=function(a){if(null!=a)return t(a),{addedList:n(Xh(a,1)),removedList:n(Xh(a,2))}};var pk=function(a){this.internalArray_=l(a)};U(pk,q);pk.prototype.getAddedList=function(){return oj(this,vi,1)};pk.prototype.getRemovedList=function(){return oj(this,vi,2)};pk.repeatedFields_=[1,2];pk.prototype.toObject=function(){return Xdc(this)};var Xdc=function(a){if(null!=a)return t(a),{addedList:Ub(a.getAddedList(),ED),removedList:Ub(a.getRemovedList(),ED)}};var wk=function(a){this.internalArray_=l(a,0,wk.messageId)};U(wk,q);f=wk.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return uk(this,1,a)};f.hasName=function(){return Jk(this,1)};f.getNameOrUndefined=function(){return Tt(this,1)};f.getDisplayName=function(){return V(this,2)};f.setDisplayName=function(a){return uk(this,2,a)};f.getType=function(){return aj(this,3,0)};f.setType=function(a){return cj(this,3,a)};f.hasType=function(){return tj(this,3)};
f.getTimestamp=function(){return W(this,Rh,4)};f.setTimestamp=function(a){return lj(this,Rh,4,a)};f.hasTimestamp=function(){return Pj(this,Rh,4)};var kk=[6,7,8,9,10,11];wk.prototype.toObject=function(){return Ydc(this)};
var Ydc=function(a){if(null!=a)return t(a),{name:n(X(a,1)),displayName:n(X(a,2)),type:n(p(a,3)),timestamp:mu(a.getTimestamp()),important:n(Ur(a,5)),singleValueDiff:Udc(fk(a,jk,6,kk)),collectionDiff:Wdc(fk(a,qk,7,kk)),linkedCollectionDiff:Rdc(fk(a,rk,8,kk)),customFieldDiff:Odc(fk(a,ok,9,kk)),userCollectionDiff:Xdc(fk(a,pk,10,kk)),statusUpdateDiff:Vdc(fk(a,sk,11,kk))}};wk.messageId="b.EventDiff";var xk=function(a){this.internalArray_=l(a)};U(xk,q);xk.prototype.getTag=function(){return V(this,1)};xk.prototype.getText=function(){return V(this,2)};xk.prototype.setText=function(a){return uk(this,2,a)};xk.prototype.toObject=function(){return Zdc(this)};var Zdc=function(a){if(null!=a)return t(a),{tag:n(X(a,1)),text:n(X(a,2))}};var zk=function(a){this.internalArray_=l(a,0,zk.messageId)};U(zk,q);f=zk.prototype;f.getIssueId=function(){return Ki(this,14)};f.setIssueId=function(a){return cj(this,14,a)};f.getComment=function(){return W(this,qE,6)};f.setComment=function(a){lj(this,qE,6,a)};f.getAttachmentsList=function(){return oj(this,RE,10)};f.setAttachmentsList=function(a){rj(this,10,a)};f.getVersion=function(){return uj(this,7)};f.setVersion=function(a){return cj(this,7,a)};
f.getVersionOrUndefined=function(){return St(this,7)};f.getStatusUpdate=function(){return W(this,rE,13)};f.hasStatusUpdate=function(){return Pj(this,rE,13)};zk.repeatedFields_=[2,3,10,9];zk.prototype.toObject=function(){return $dc(this)};
var $dc=function(a){if(null!=a)return t(a),{issueId:n(p(a,14)),preDiffsList:Ub(oj(a,wk,2),Ydc),postDiffsList:Ub(oj(a,wk,3),Ydc),modifiedDate:mu(W(a,Rh,4)),userPerformingAction:ED(W(a,vi,5)),isHumanAuthor:n(Ur(a,11)),isCollaboratorAuthor:n(Ur(a,12)),comment:gcc(a.getComment()),attachmentsList:Ub(a.getAttachmentsList(),Ndc),version:n(p(a,7)),isMajorEvent:n(Ur(a,8)),taggedSummaryList:Ub(oj(a,xk,9),Zdc),statusUpdate:jcc(a.getStatusUpdate())}};zk.messageId="b.IssueEvent";var bn=function(a){this.internalArray_=l(a,0,bn.messageId)};U(bn,q);bn.prototype.getIssue=function(){return W(this,Hj,1)};bn.prototype.setIssue=function(a){lj(this,Hj,1,a)};bn.prototype.toObject=function(){return aec(this)};var aec=function(a){if(null!=a)return t(a),{issue:sE(a.getIssue()),firstEvent:$dc(W(a,zk,5))}};bn.messageId="b.IssueFetchResponse";var SE=function(a){this.internalArray_=l(a,0,SE.messageId)};U(SE,q);SE.prototype.getIssuesList=function(){return oj(this,Hj,1)};SE.prototype.getNumTotalResults=function(){return Vh(this,2)};SE.prototype.getComponentsMap=function(){return ik(this,3,gk)};SE.prototype.getNextPageToken=function(){return V(this,5)};SE.repeatedFields_=[1];
SE.prototype.toObject=function(){if(null!=this){t(this);var a={issuesList:Ub(this.getIssuesList(),sE),numTotalResults:n(Ft(this,2)),componentsMap:Wb(this.getComponentsMap(),zE),positionsMap:Wb(Ab(this,4,vba)),nextPageToken:n(X(this,5))}}else a=void 0;return a};SE.messageId="b.IssueSearchResponse";var TE=function(a){this.internalArray_=l(a,0,TE.messageId)};U(TE,q);TE.repeatedFields_=[1];TE.prototype.toObject=function(){if(null!=this){t(this);var a={issueEventsList:Ub(oj(this,zk,1),$dc)}}else a=void 0;return a};TE.messageId="b.ListIssueEventsResponse";var UE=function(a){this.internalArray_=l(a,0,UE.messageId)};U(UE,q);UE.prototype.getIssueId=function(){return Ki(this,1)};UE.prototype.setIssueId=function(a){return cj(this,1,a)};UE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),summaryType:n(p(this,2))}}else a=void 0;return a};UE.messageId="b.LlmSummarizeRequest";var bec=function(a){this.internalArray_=l(a)};U(bec,q);f=bec.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getStatus=function(){return aj(this,2,0)};f.setStatus=function(a){return cj(this,2,a)};f.hasStatus=function(){return tj(this,2)};f.getTitle=function(){return V(this,3)};f.setTitle=function(a){return uk(this,3,a)};f.getVersion=function(){return Vh(this,4)};f.setVersion=function(a){return dj(this,4,a)};
f.getVersionOrUndefined=function(){return Rt(this,4)};f.getIsArchived=function(){return Vj(this,5)};f.setIsArchived=function(a){return Xj(this,5,a)};f.toObject=function(){return cec(this)};var cec=function(a){if(null!=a)return t(a),{issueId:n(p(a,1)),status:n(p(a,2)),title:n(X(a,3)),version:n(Ft(a,4)),isArchived:n(Ur(a,5))}};var VE=function(a){this.internalArray_=l(a,0,VE.messageId)};U(VE,q);VE.prototype.getIssueDigestsList=function(){return oj(this,bec,1)};VE.prototype.getNumTotalResults=function(){return uj(this,2)};VE.repeatedFields_=[1];VE.prototype.toObject=function(){if(null!=this){t(this);var a={issueDigestsList:Ub(this.getIssueDigestsList(),cec),numTotalResults:n(p(this,2))}}else a=void 0;return a};VE.messageId="b.RelatedIssuesResponse";var WE=function(){},XE=function(a,b){this.executor=a;this.currentTrackerId=b};f=XE.prototype;f.createIssue=function(a){var b=Gsa(a),c={};a.recaptchaToken&&(c["G-Recaptcha-Response-Token"]=a.recaptchaToken);return this.executor.post({url:"action/issues",body:b,options:{headers:c},responseConstructor:NE}).pipe(D(Hsa))};
f.createIssueWithWizard=function(a){var b=Gsa(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:NE}).pipe(D(Hsa))};f.getIssue=function(a){var b={},c=this.currentTrackerId.getTrackerId();c&&(b.currentTrackerId=c);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:bn}).pipe(D(function(d){return Ak(d)}))};
f.batchGetIssues=function(a){var b=new JE;b.setIdsList(a);return this.executor.post({url:"action/issues/batch",body:b,responseConstructor:KE}).pipe(D(function(c){return c.getIssuesList().map(function(d){return vk(d)})}))};f.updateIssue=function(a,b){b=ysa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:bn}).pipe(D(function(c){return Ak(c)}))};f.moveIssueExternal=function(a,b){b=usa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:bn}).pipe(D(function(c){return Ak(c)}))};
f.moveIssue=function(a,b){b=ssa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:bn}).pipe(D(function(c){return Ak(c)}))};f.unCcUser=function(a){var b=qsa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:bn}).pipe(D(function(c){return Ak(c)}))};
f.updateAccessLimit=function(a,b,c,d){var e=(new wE).setIssueId(a);if(b){if(b=msa[b])b=(new vE).setAccessLevel(b),e.setIssueAccessLimit(b);c&&e.setAddedCollaboratorsList(c.map(wi));d&&e.setRemovedCollaboratorsList(d.map(wi))}return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:e,responseConstructor:IE})};
f.getRetainedAccessPrincipals=function(a,b,c,d){b=psa(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:ME}).pipe(D(function(e){var g,h,m;return{readers:Hi(null!=(g=e.getReadersList())?g:[]),appenders:Hi(null!=(h=e.getAppendersList())?h:[]),writers:Hi(null!=(m=oj(e,Fi,3))?m:[])}}))};f.relateIssue=function(a,b){b=Dsa(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:bn}).pipe(D(function(c){return Ak(c)}))};
f.updateIssueHotlists=function(a,b){b=Asa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:bn}).pipe(D(function(c){return Ak(c)}))};f.updateIssueRetention=function(a,b){b=Fsa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:bn}).pipe(D(function(c){return Ak(c)}))};
f.listIssues=function(a,b){b=void 0===b?{}:b;var c=new lcc;uk(c,1,a);b.count&&c.setCount(b.count);b.s&&c.setS(b.s);b.p&&c.setP(b.p);var d;c.setTrackerIdsList(null!=(d=b.trackerIds)?d:[]);return this.executor.post({url:"action/issues/list",body:c,responseConstructor:SE}).pipe(D(Mta))};
f.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new CE;var d=a.bulkEditOps.map(yta);rj(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:LE,options:{headers:c}}).pipe(D(Ata))};
f.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:VE}).pipe(D(Bsa))};
var dec=function(a,b){return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:a.currentTrackerId.getTrackerId()}},responseConstructor:TE}).pipe(D(function(c){return oj(c,zk,1).map(function(d){return vta(d)})}))};XE.\u0275fac=function(a){return new (a||XE)(u(wD),u(HE))};XE.\u0275prov=wc({token:XE,factory:XE.\u0275fac,providedIn:"root"});var YE=function(a){this.observableApi=a};U(YE,WE);f=YE.prototype;f.createIssue=function(a){return(0,E.firstValueFrom)(this.observableApi.createIssue(a))};
f.createIssueWithWizard=function(a){return(0,E.firstValueFrom)(this.observableApi.createIssueWithWizard(a))};f.getIssue=function(a){return(0,E.firstValueFrom)(this.observableApi.getIssue(a))};f.batchGetIssues=function(a){return(0,E.firstValueFrom)(this.observableApi.batchGetIssues(a))};f.updateIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssue(a,b))};f.moveIssueExternal=function(a,b){return(0,E.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};
f.moveIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.moveIssue(a,b))};f.unCcUser=function(a){return(0,E.firstValueFrom)(this.observableApi.unCcUser(a))};f.updateAccessLimit=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.updateAccessLimit(a,b,c,d))};f.getRetainedAccessPrincipals=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};
f.relateIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.relateIssue(a,b))};f.updateIssueHotlists=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};f.updateIssueRetention=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};f.listIssues=function(a,b){b=void 0===b?{}:b;return(0,E.firstValueFrom)(this.observableApi.listIssues(a,b))};
f.issueBulkEdit=function(a,b){return(0,E.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};f.getRelatedIssues=function(a){return(0,E.firstValueFrom)(this.observableApi.getRelatedIssues(a))};YE.\u0275fac=function(a){return new (a||YE)(u(XE))};YE.\u0275prov=wc({token:YE,factory:YE.\u0275fac,providedIn:"root"});var ZE=function(a){this.internalArray_=l(a)};U(ZE,q);var $E=function(a,b){return Nb(a,1,b)},eec=function(a,b){return Nb(a,2,b)};ZE.prototype.toObject=function(){return aF(this)};var aF=function(a){if(null!=a)return t(a),{targetIssueId:uj(a,1),afterIssueId:uj(a,2),targetIssue:Ibc(W(a,fE,3))}};var fec=function(a){this.internalArray_=l(a)};U(fec,q);f=fec.prototype;f.getIssueId=function(){return uj(this,1)};f.setIssueId=function(a){return Nb(this,1,a)};f.setRelationshipType=function(a){return $i(this,2,a)};f.getIssueRelationship=function(){return W(this,ZE,3)};f.setIssueRelationship=function(a){return lj(this,ZE,3,a)};f.getSignificanceOverride=function(){return aj(this,4,0)};f.setSignificanceOverride=function(a){$i(this,4,a)};f.toObject=function(){return gec(this)};
var gec=function(a){if(null!=a)return t(a),{issueId:uj(a,1),relationshipType:aj(a,2,0),issueRelationship:aF(a.getIssueRelationship()),significanceOverride:aj(a,4,0)}};var bF=function(a){this.internalArray_=l(a,0,bF.messageId)};U(bF,q);f=bF.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.setRelationshipType=function(a){return cj(this,2,a)};f.getRequestsList=function(){return oj(this,fec,3)};f.setRequestsList=function(a){return rj(this,3,a)};f.addAndReturnRequests=function(){return Hb(this,3,fec)};f.getSignificanceOverride=function(){return aj(this,4,0)};f.setSignificanceOverride=function(a){cj(this,4,a)};
bF.repeatedFields_=[3];bF.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),relationshipType:n(p(this,2)),requestsList:Ub(this.getRequestsList(),gec),significanceOverride:n(p(this,4))}}else a=void 0;return a};bF.messageId="b.BatchCreateIssueRelationshipsRequest";var cF=function(a){this.internalArray_=l(a,0,cF.messageId)};U(cF,q);cF.prototype.getIssueRelationshipsList=function(){return oj(this,ZE,1)};cF.repeatedFields_=[1];cF.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsList:Ub(this.getIssueRelationshipsList(),aF)}}else a=void 0;return a};cF.messageId="b.BatchCreateIssueRelationshipsResponse";var dF=function(a){this.internalArray_=l(a,0,dF.messageId)};U(dF,q);f=dF.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.setRelationshipType=function(a){return cj(this,2,a)};f.getSignificanceOverride=function(){return aj(this,4,0)};f.setSignificanceOverride=function(a){cj(this,4,a)};dF.repeatedFields_=[3];
dF.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),relationshipType:n(p(this,2)),targetIssueIdsList:n(Wh(this,3)),significanceOverride:n(p(this,4))}}else a=void 0;return a};dF.messageId="b.BatchDeleteIssueRelationshipsRequest";var eF=function(a){this.internalArray_=l(a,0,eF.messageId)};U(eF,q);eF.prototype.getSourceIssueIdsList=function(){return Wh(this,1)};eF.prototype.setSourceIssueIdsList=function(a){return xj(this,1,a)};eF.prototype.setRelationshipType=function(a){return cj(this,2,a)};eF.prototype.setIncludeArchived=function(a){return Xj(this,3,a)};eF.repeatedFields_=[1];
eF.prototype.toObject=function(){if(null!=this){t(this);var a={sourceIssueIdsList:n(Wh(this,1)),relationshipType:n(p(this,2)),includeArchived:n(Ur(this,3))}}else a=void 0;return a};eF.messageId="b.BatchGetIssueRelationshipsRequest";var fF=function(a){this.internalArray_=l(a)};U(fF,q);fF.prototype.getIssueRelationshipsList=function(){return oj(this,ZE,1)};fF.prototype.getTotalSize=function(){return Vh(this,2)};fF.repeatedFields_=[1];fF.prototype.toObject=function(){return hec(this)};var hec=function(a){if(null!=a)return t(a),{sourceIssueId:uj(a,3),issueRelationshipsList:Ub(a.getIssueRelationshipsList(),aF),totalSize:Vh(a,2)}};var gF=function(a){this.internalArray_=l(a,0,gF.messageId)};U(gF,q);gF.repeatedFields_=[1];gF.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsPrefixesList:Ub(oj(this,fF,1),hec)}}else a=void 0;return a};gF.messageId="b.BatchGetIssueRelationshipsResponse";var hF=function(a){this.internalArray_=l(a,0,hF.messageId)};U(hF,q);hF.prototype.getIssueRelationship=function(){return W(this,ZE,1)};hF.prototype.setIssueRelationship=function(a){return lj(this,ZE,1,a)};hF.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationship:aF(this.getIssueRelationship())}}else a=void 0;return a};hF.messageId="b.CreateIssueRelationshipResponse";var iF=function(a){this.internalArray_=l(a,0,iF.messageId)};U(iF,q);var iec=function(a,b){return xj(a,1,b)};iF.prototype.setRelationshipType=function(a){return cj(this,2,a)};iF.prototype.setIncludeArchived=function(a){return Xj(this,3,a)};var jec=function(a,b){return dj(a,4,b)},kec=function(a,b){return dj(a,5,b)};iF.repeatedFields_=[1];
iF.prototype.toObject=function(){if(null!=this){t(this);var a={rootIssueIdsList:n(Wh(this,1)),relationshipType:n(p(this,2)),includeArchived:n(Ur(this,3)),depthLimit:n(Ft(this,4)),prefixSizeLimit:n(Ft(this,5))}}else a=void 0;return a};iF.messageId="b.GetIssueDescendantsRequest";var lec=function(a){this.internalArray_=l(a,0,lec.messageId)};U(lec,q);lec.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsPrefixesMap:Wb(Bb(this,1,fF,mb),hec)}}else a=void 0;return a};lec.messageId="b.GetIssueDescendantsResponse";var jF=function(a){this.internalArray_=l(a,0,jF.messageId)};U(jF,q);jF.prototype.getIssueRelationshipsList=function(){return oj(this,ZE,1)};jF.repeatedFields_=[1];jF.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsList:Ub(this.getIssueRelationshipsList(),aF)}}else a=void 0;return a};jF.messageId="b.ListIssueRelationshipsResponse";var kF=function(a){this.internalArray_=l(a,0,kF.messageId)};U(kF,q);kF.prototype.getIssueRelationship=function(){return W(this,ZE,1)};kF.prototype.setIssueRelationship=function(a){return lj(this,ZE,1,a)};kF.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationship:aF(this.getIssueRelationship())}}else a=void 0;return a};kF.messageId="b.UpdateIssueRelationshipResponse";var lF=function(a){this.executor=a};f=lF.prototype;f.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+b,responseConstructor:jF}).pipe(D(function(c){return c.getIssueRelationshipsList()}))};f.create=function(a,b,c){return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:hF}).pipe(D(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new ZE}))};
f.update=function(a,b,c){return this.executor.put({url:"action/issues/"+a+"/relationships/"+uj(c,1)+"?relationshipType="+b,body:c,responseConstructor:kF}).pipe(D(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new ZE}))};f.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+b,responseConstructor:null})};
f.batchGet=function(a,b,c){a=(new eF).setSourceIssueIdsList(a).setRelationshipType(b).setIncludeArchived(c);return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:gF}).pipe(D(function(d){return oj(d,fF,1)}))};
var mec=function(a,b,c){c=c.map(function(d){return(new fec).setIssueRelationship(d)});b=(new bF).setIssueId(b).setRelationshipType(1).setRequestsList(c);return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:cF}).pipe(D(function(d){return d.getIssueRelationshipsList()}))},nec=function(a,b,c){b=(new dF).setIssueId(b).setRelationshipType(1);c=xj(b,3,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:c,responseConstructor:null})};
lF.prototype.getDescendants=function(a){var b=a.issueIds,c=a.relationshipType,d=a.includeArchived,e=a.depthLimit;a=a.prefixSizeLimit;b=kec(jec(iec(new iF,b).setRelationshipType(c).setIncludeArchived(d),e),a);return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:lec}).pipe(D(function(g){var h=new Map;g=k(Bb(g,1,fF,mb).entries());for(var m=g.next();!m.done;m=g.next()){var r=k(m.value);m=r.next().value;r=r.next().value;h.set(String(m),r)}return h}))};
lF.\u0275fac=function(a){return new (a||lF)(u(wD))};lF.\u0275prov=wc({token:lF,factory:lF.\u0275fac,providedIn:"root"});var mF=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,""]]),nF=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 oF={},oec=(oF[0]=nF.get(0),oF[1]=nF.get(1),oF[2]=nF.get(2),oF[3]=nF.get(3),oF[4]=nF.get(4),oF[5]=nF.get(5),oF[10]=nF.get(10),oF[9]=nF.get(9),oF[6]=nF.get(6),oF[8]=nF.get(8),oF[7]=nF.get(7),oF),pF=Cua(oec,sj),qF={},ova=(qF.STATUS_UNSPECIFIED=0,qF.NEW=10,qF.ASSIGNED=20,qF.ACCEPTED=30,qF.FIXED=40,qF.VERIFIED=50,qF.DUPLICATE=60,qF.INFEASIBLE=70,qF.NOT_REPRODUCIBLE=80,qF.OBSOLETE=90,qF.INTENDED_BEHAVIOR=100,qF),rF={},pec=(rF.ASSIGNED=!0,rF.ACCEPTED=!0,rF.FIXED=!0,rF.VERIFIED=!0,rF.DUPLICATE=!0,rF.INFEASIBLE=
!0,rF.NOT_REPRODUCIBLE=!0,rF.OBSOLETE=!0,rF.INTENDED_BEHAVIOR=!0,rF),sF={},qec=(sF[0]=mF.get(0),sF[1]=mF.get(1),sF[2]=mF.get(2),sF[3]=mF.get(3),sF[4]=mF.get(4),sF[5]=mF.get(5),sF[10]=mF.get(10),sF[9]=mF.get(9),sF[6]=mF.get(6),sF[8]=mF.get(8),sF[7]=mF.get(7),sF),Al=Cua(qec,sj),tF={},rec=(tF.P0="P0",tF.P1="P1",tF.P2="P2",tF.P3="P3",tF.P4="P4",tF.PRIORITY_UNSPECIFIED="--",tF),uF={},sec=(uF.S0="S0",uF.S1="S1",uF.S2="S2",uF.S3="S3",uF.S4="S4",uF.SEVERITY_UNSPECIFIED="--",uF),vF={},tec=(vF[0]="",vF[1]=
"Bug",vF[2]="Feature Request",vF[3]="Customer Issue",vF[4]="Internal Cleanup",vF[5]="Process",vF[6]="Vulnerability",vF[7]="Privacy Issue",vF[8]="Project",vF[9]="Feature",vF[10]="Milestone",vF[11]="Epic",vF[12]="Story",vF[13]="Task",vF),uec=Cua(tec,Zra),wF={},vec=(wF[0]="issue-status-wont-fix",wF[1]="issue-status-new",wF[2]="issue-status-assigned",wF[3]="issue-status-accepted",wF[4]="issue-status-fixed",wF[5]="issue-status-verified",wF[10]="issue-status-duplicate",wF[9]="issue-status-wont-fix",wF[6]=
"issue-status-wont-fix",wF[8]="issue-status-wont-fix",wF[7]="issue-status-wont-fix",wF),wec=Cua(vec,sj);var xF={},El=(xF.NEW=Bl("NEW",!0,"FORBIDDEN",10),xF.ASSIGNED=Bl("ASSIGNED",!0,"REQUIRED",20),xF.ACCEPTED=Bl("ACCEPTED",!0,"REQUIRED",30),xF.FIXED=Bl("FIXED",!1,"REQUIRED",40),xF.VERIFIED=Bl("VERIFIED",!1,"REQUIRED",50),xF.DUPLICATE=Bl("DUPLICATE",!1,"ALLOWED",60),xF.INFEASIBLE=Bl("INFEASIBLE",!1,"ALLOWED",70),xF.NOT_REPRODUCIBLE=Bl("NOT_REPRODUCIBLE",!1,"ALLOWED",80),xF.OBSOLETE=Bl("OBSOLETE",!1,"ALLOWED",90),xF.INTENDED_BEHAVIOR=Bl("INTENDED_BEHAVIOR",!1,"ALLOWED",100),xF),xec=[El.NEW,El.ASSIGNED,
El.ACCEPTED,El.FIXED,El.VERIFIED,El.NOT_REPRODUCIBLE,El.INTENDED_BEHAVIOR,El.OBSOLETE,El.INFEASIBLE,El.DUPLICATE],yec=xec.map(function(a){return{value:a.status,displayText:a.displayValue}}),zec=new Set(Object.values($b(El,function(a){return"REQUIRED"===a.assigneeRequirement})));var Qua=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var Wua=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),Vua=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])?$"),Zua=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var Aec=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};f=Aec.prototype;f.age=function(){return Date.now()-this.lastValidated};f.isFresh=function(){return this.age()<this.cfg.freshUntil};f.isAncient=function(){return this.age()>this.cfg.ancientAfter};f.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};f.toString=function(){var a=String(this.data);return Math.ceil(this.age()/1E3)+"s old -- "+a};
var Bec=function(a){this.cfg=a;this.cache=new Map},Cec=function(a,b){a=yF(a,b);return null==a?Infinity:a},yF=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:c.age()};Bec.prototype.isFresh=function(a){return Cec(this,a)<this.cfg.freshUntil};var Dec=function(a,b){return Cec(a,b)<=a.cfg.ancientAfter};f=Bec.prototype;f.isAncient=function(){var a=yF(this);return a?a>this.cfg.ancientAfter:!1};f.getStatus=function(a){a=this.get(a,!0);if(null!=a)return a.getStatus()};
f.has=function(a,b){return!!this.get(a,void 0===b?!1:b)};f.get=function(a,b){b=void 0===b?!1:b;var c=this.cache.get(a);if(null!=c)return c.age()>this.cfg.ancientAfter&&!b&&this.cache.delete(a),this.cache.get(a)};f.getData=function(a,b){var c;return null==(c=this.get(a,void 0===b?!1:b))?void 0:c.data};f.set=function(a,b){this.cache.set(a,new Aec(b,this.cfg))};f.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new Aec(b.data,this.cfg))};
f.validate=function(a,b,c,d){d=void 0===d?!1:d;if(!this.has(a,d))return!1;a=this.getData(a,d);return c(a,b)};f.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};f.toString=function(){return Array.from(this.cache,function(a){a=k(a);var b=a.next().value;a=a.next().value;b=String(b).slice(-16);var c=a.toString();return a.getStatus()+"  "+b+": "+c}).join("\n")};var Eec={trustMemory:!0},Fec=function(){},iqa=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],Gec=function(a){this.ids=[];Object.assign(this,a)};U(Gec,Fec);Gec.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var Hec={freshUntil:1E4,ancientAfter:792E5},zF=function(a){var b=this;a=void 0===a?{}:a;this.error$=new E.Subject;this.memoryWasSet$=new E.Subject;this.collectiveMemoryWasSet$=new E.Subject;this.normalizeQueryResponses=!0;this.idKey="id";this.idForRecord=function(c){var d=c[b.idKey];if("string"===typeof d)return d;if("number"===typeof d)return String(d);c=JSON.stringify(c).slice(0,128);if(null==d)throw Error("cc`"+b.idKey+"`"+c);throw Error("dc`"+c);};this.valsById=new Map;this.collectionsById=new Map;
this.setsByLabel=new Map;this.inFlightGets$=new E.BehaviorSubject(Object.freeze({}));this.inFlightSaves$=new E.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(D(Eva));this.saving$=this.inFlightSaves$.pipe(D(Eva));this.thinking$=(0,E.combineLatest)(this.getting$,this.saving$).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),Ne());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?Dva:Iec({label:c,value:yF(b.memory,c)});
if(b.memory.validate(c,d,b.isEqual))e("one-isSame"),b.memory.touch(c);else{b.memory.set(c,d);var g=b.valsById.get(c);b.memoryWasSet$.next();e("one-isChanged");g?g.next(d):Mh(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=k(d),g=e.next();!g.done;g=e.next()){g=g.value;var h=b.idForRecord(g);b.gotOne(h)(g,{doNotTrack:!0})}(e=Jec(b,c))?e.next(d):Oh("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=
Iec({label:c,value:yF(b.collectiveMemory,c)});if(b.normalizeQueryResponses)for(var g=k(d.results),h=g.next();!h.done;h=g.next()){h=h.value;var m=b.idForRecord(h);b.gotOne(m)(h,{doNotTrack:!0})}g=b.normalize(d);b.collectiveMemory.validate(c,g,hqa);b.collectiveMemory.set(c,g);b.collectiveMemoryWasSet$.next();e("all-isChanged");(e=b.collectionsById.get(c))?(d=b.dereference(g,d.results),e.next(d)):Qpa(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(g){return b.idForRecord(g)===d});null==e&&Oh("Couldn't find a record for id "+d);return e}};this.debug=function(){return{recordType:b.recordType,isThinking:b.isThinking(),inFlightGets:Object.entries(b.inFlightGets()).map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves()).map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),
lists:b.collectiveMemory.debug()}};this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((void 0===c.message?"":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 null==c?Eva(b.inFlightSaves()):!!b.inFlightSaves()[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(D(function(d){return!!d[c]}),Ne())};this.isGetting=function(c){return null==
c?Eva(b.inFlightGets()):!!b.inFlightGets()[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?Eec:d;"number"===typeof d&&(d=Eec);if(null==c)return(0,E.of)();"number"===typeof c&&(c=String(c));var e=Kec(b,c);Lec(b,c,d).catch(function(){});return dVb(e)};this.watchSet=function(c,d){d=void 0===d?Eec:d;"number"===typeof d&&(d=Eec);if(0===c.length)return(0,E.of)([]);c=c.map(function(g){return"number"===typeof g?String(g):g});var e=Jec(b,c);Mec(b,c,d);return e};this.watchMany=function(c){var d=void 0===
d?Eec:d;c=Object.assign({},b.defaultQuery,c);var e=Nec(b,c);b.getAll(c,d);return dVb(e)};this.save=function(c){var d=b.idForRecord(c);if(null==d)throw Error("ec");c=b.doSave(c).pipe(Me(0,E.asapScheduler),cja(),ke());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),Oec(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};Fva(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){Gva(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};Fva(b.inFlightGets$,
(d[c]=!0,d))};this.clearIsGetting=function(c){Gva(b.inFlightGets$,c)};this.poke=function(c,d){return null==c?Nva():Lec(b,String(c),d)};this.pokeMany=function(c){return null==c?Promise.resolve({results:[]}):b.getAll(Object.assign({},b.defaultQuery,c),void 0)};this.announce=function(c,d){d=void 0===d?{}:d;if(null!=c){var e=b.idForRecord(c);if(null==e)throw Error("fc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.memory=new Bec(Object.assign({},Hec,a));this.collectiveMemory=new Bec(Object.assign({},
Hec,a))};f=zF.prototype;f.fetchOne=function(){throw Error("gc");};f.fetchAll=function(){throw Error("hc");};f.fetchSet=function(){throw Error("ic");};f.doSave=function(){throw Error("jc");};f.copy=function(){throw Error("kc");};f.isEqual=function(a,b){return hqa(a,b,100)};f.inFlightGets=function(){return this.inFlightGets$.getValue()};f.inFlightSaves=function(){return this.inFlightSaves$.getValue()};
var Lec=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=Iec({label:b,value:yF(a.memory,b)});d=d&&a.memory.isFresh(b);e=e&&Dec(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),Mva(c);if(a.inFlightGets()[b])return c("one-inFlight"),c=Kec(a,b),Lva(c).then(Mva);c("one-fetch");var g=a.fetchOne(b).pipe(Me(0,E.asapScheduler));a.setIsGetting(b);return new Promise(function(h,m){g.subscribe(function(r){a.gotOne(b)(r);h(r)},function(r){a.gotErr(b,a.inFlightGets$)(r);
m(r)},Oec(b,a.inFlightGets$))})},Mec=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(ad(b)).sort().join("-")+"]",e=Iec({label:d});if(c&&Pec(a,b))Qec(a,b),e("set-trustMemory");else if(a.inFlightGets()[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(Me(0,E.asapScheduler));e={};e=(e[d]=!0,e);for(var g=k(b),h=g.next();!h.done;h=g.next())e[h.value]=!0;Fva(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(m){Hva(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(m)},function(){Hva(a.inFlightGets$,
[d].concat(ad(b)))})}},Pec=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},Qec=function(a,b){var c=Rec(a,b).filter(Ei);Jec(a,b).next(c)};
zF.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=Iva(a);var d=Iec({label:b,value:yF(this.collectiveMemory,b)});if(c&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=Rec(this,a.ids).filter(Ei),a=this.dereference(a,b),Promise.resolve(a);if(this.inFlightGets()[b])return d("all-inFlight"),a=Nec(this,a),Lva(a);d("all-fetch");c=this.fetchAll(a).pipe(Me(0,E.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,
this.inFlightGets$),Oec(b,this.inFlightGets$));a=Nec(this,a);return Lva(a)};zF.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);Rpa(a+" gotErr()",d);Gva(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var Oec=function(a,b){return function(){Gva(b,a)}};zF.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new Gec(Object.assign({},Kva(a),{ids:b}))};
zF.prototype.dereference=function(a,b){b=a.ids.map(this.dereferenceOne(b)).filter(Boolean);return Object.assign({},Kva(a),{results:b})};
var Rec=function(a,b){return b.map(function(c){return a.memory.getData(c)})},Nec=function(a,b){b=Iva(b);return Jva(a.collectionsById,b,new E.ReplaySubject(1))},Jec=function(a,b){b="["+[].concat(ad(b)).sort().join("-")+"]";return Jva(a.setsByLabel,b,new E.ReplaySubject(1))},Kec=function(a,b){var c=new E.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return Jva(a.valsById,b,c)},Sec=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(Iva(b))};
zF.prototype.invalidate=function(a){null==a?(this.memory.cache.clear(),this.collectiveMemory.cache.clear()):["string","number"].includes(typeof a)?this.memory.cache.delete(String(a)):this.collectiveMemory.cache.delete(Iva(a))};
var AF=function(a,b,c,d){d=void 0===d?{}:d;if(void 0!==d.evenWhenInFlight&&d.evenWhenInFlight||!a.inFlightGets()[b])if(b=a.copy(a.memory.getData(String(b))))c(b),a.announce(b)},Iec=function(a){for(var b=k(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,null==a[c]&&delete a[c];return function(){}},BF=function(){zF.apply(this,arguments);this.defaultQuery={}};U(BF,zF);var CF=function(a){BF.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};U(CF,BF);CF.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:lva(null==a?void 0:a.events,null==b?void 0:b.events)};CF.prototype.copy=function(a){return a&&Zh(a)};CF.prototype.fetchOne=function(a){return dec(this.observableIssueResources,a).pipe(D(function(b){return{id:a,events:b}}))};CF.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(Ei)}))};
CF.\u0275fac=function(a){return new (a||CF)(u(XE))};CF.\u0275prov=wc({token:CF,factory:CF.\u0275fac,providedIn:"root"});var Ova=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),Rva=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var DF=function(a,b,c,d){this.issueApi=a;this.issueRelationshipApi=b;this.changelistApi=c;this.eventsForIssueFridge=d},Vec=function(a,b){var c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb;return ne(function(Gb){switch(Gb.nextAddress){case 1:return b=Dl(b),d=c=0,e=[],g=[],h=[],m=[],r=[],v=[],y=[],A=[],null==b||0===b.length?Gb.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:g,hyperLinks:h,issueLinks:m,screenshots:r,goLinks:v,contributors:y,comments:A}):Gb.yield(Tec(a,b),2);case 2:return G=
Gb.yieldResult,N=[].concat(ad(b)),Object.values(G).forEach(function(cb){N.push.apply(N,ad(cb))}),N=Dl(N),Gb.yield(a.getIssues(N),3);case 3:Q=Gb.yieldResult;Z={};Y=k(Q);for(ea=Y.next();!ea.done;ea=Y.next())ja=ea.value,Z[ja.issueId]=ja;c=N.length-b.length;va=k(b);za=va.next();case 4:if(za.done){Gb.jumpTo(6);break}Pa=za.value;return Gb.yield(Uec(a,Pa,G,Z),7);case 7:Sa=Gb.yieldResult;d+=Sa.openCount;e.push.apply(e,ad(Sa.clIds));g.push.apply(g,ad(Sa.pendingChangeLists));h.push.apply(h,ad(Sa.hyperLinks));
m.push.apply(m,ad(Sa.issueLinks));r.push.apply(r,ad(Sa.screenshots));v.push.apply(v,ad(Sa.goLinks));y.push.apply(y,ad(Sa.contributors));A.push.apply(A,ad(Sa.comments));za=va.next();Gb.jumpTo(4);break;case 6:return A.sort(function(cb,sa){var Ja,Qa,fb,Za;return(null==(Ja=sa.comments)?NaN:null==(Qa=Ja[0])?NaN:Qa.modifiedTime)-(null==(fb=cb.comments)?NaN:null==(Za=fb[0])?NaN:Za.modifiedTime)}),Wa=g.map(function(cb){return cb.fixedIssueIds}).flat(),Qb=g.map(function(cb){return cb.issueIds}).flat(),Gb.return({totalCount:c,
openCount:d,clIds:Dl(e),pendingChangeLists:Cl(g,function(cb){return cb.changelistNumber}),bugToPendingCl:new Map(Qb.map(function(cb){return[cb,g.find(function(sa){return sa.issueIds.includes(cb)})]})),bugToPendingFixCl:new Map(Wa.map(function(cb){return[cb,g.find(function(sa){return sa.fixedIssueIds.includes(cb)})]})),hyperLinks:Dl(h),issueLinks:Dl(m),screenshots:Dl(r),goLinks:Dl(v),contributors:Dl(y),comments:A})}})},$ec=function(a,b){var c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb,
cb,sa,Ja;return ne(function(Qa){switch(Qa.nextAddress){case 1:return b=Dl(b),c=b.length,d=0,e=[],g=[],h=[],m=[],r=[],v=[],y=[],null==b||0===b.length?Qa.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:[],hyperLinks:g,issueLinks:h,screenshots:m,goLinks:r,contributors:v,comments:y}):Qa.yield(Promise.all([a.getIssues(b),Wec(a,b)]),2);case 2:A=Qa.yieldResult,G=k(A),N=G.next().value,Q=G.next().value,Z=N,Y=Q,Z.sort(function(fb,Za){return Za.majorModifiedTimeMicros-fb.majorModifiedTimeMicros}),
ea=10,ja=0,va=k(Z),za=va.next();case 3:if(za.done){Qa.jumpTo(5);break}Pa=za.value;Nl(Pa)&&(d+=1);Sa=Xec(Pa);e.push.apply(e,ad(Sa));Wa=Yec(Pa);g.push.apply(g,ad(Wa.hyperLinks));h.push.apply(h,ad(Wa.issueLinks));r.push.apply(r,ad(Wa.goLinks));m.push.apply(m,ad(Wa.screenshots));Qb=Ml(Pa);null!=Qb&&v.push(Qb);if(!(ja<ea)){Qa.jumpTo(4);break}oe(Qa,7);return Qa.yield(Zec(a,Pa.issueId),9);case 9:Gb=Qa.yieldResult;0<Gb.comments.length&&y.push(Gb);ja+=1;ht(Qa,4);break;case 7:cb=re(Qa),console.warn("fetch comments",
cb);case 4:za=va.next();Qa.jumpTo(3);break;case 5:return e.sort(function(fb,Za){return Number(Za)-Number(fb)}),sa=Y.map(function(fb){return fb.fixedIssueIds}).flat(),Ja=Y.map(function(fb){return fb.issueIds}).flat(),Qa.return({totalCount:c,openCount:d,clIds:Dl(e),pendingChangeLists:Cl(Y,function(fb){return fb.changelistNumber}),bugToPendingCl:new Map(Ja.map(function(fb){return[fb,Y.find(function(Za){return Za.issueIds.includes(fb)})]})),bugToPendingFixCl:new Map(sa.map(function(fb){return[fb,Y.find(function(Za){return Za.fixedIssueIds.includes(fb)})]})),
hyperLinks:Dl(g),issueLinks:Dl(h),screenshots:Dl(m),goLinks:Dl(r),contributors:Dl(v),comments:y})}})},Uec=function(a,b,c,d){var e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb;return ne(function(cb){switch(cb.nextAddress){case 1:return g=e=0,h=[],m=[],r=[],v=[],y=[],A=[],G=[],N=afc(a,d[b],c,d),Q=N.map(function(sa){return sa.issueId}),cb.yield(Wec(a,Q),2);case 2:Z=cb.yieldResult,N.sort(function(sa,Ja){return Ja.majorModifiedTimeMicros-sa.majorModifiedTimeMicros}),Y=10,ea=0,ja=k(N),va=ja.next();
case 3:if(va.done){cb.jumpTo(5);break}za=va.value;za.issueId!==b&&Nl(za)&&(g+=1);Pa=Xec(za);h.push.apply(h,ad(Pa));Sa=Yec(za);m.push.apply(m,ad(Sa.hyperLinks));r.push.apply(r,ad(Sa.issueLinks));y.push.apply(y,ad(Sa.goLinks));v.push.apply(v,ad(Sa.screenshots));Wa=Ml(za);null!=Wa&&A.push(Wa);if(!(ea<Y)){cb.jumpTo(4);break}oe(cb,7);return cb.yield(Zec(a,za.issueId),9);case 9:Qb=cb.yieldResult;0<Qb.comments.length&&G.push(Qb);ea+=1;ht(cb,4);break;case 7:Gb=re(cb),console.warn("fetch comments",Gb);case 4:va=
ja.next();cb.jumpTo(3);break;case 5:return h.sort(function(sa,Ja){return Number(Ja)-Number(sa)}),cb.return({totalCount:e,openCount:g,clIds:h,pendingChangeLists:Z,hyperLinks:m,issueLinks:r,screenshots:v,goLinks:y,contributors:A,comments:G})}})},afc=function(a,b,c,d){if(null==b)return console.warn("getIssueAndDescendants() missing an issue"),[];var e=[b];b=k(c[b.issueId]);for(var g=b.next();!g.done;g=b.next())g=afc(a,d[g.value],c,d),e.push.apply(e,ad(g));return e},Xec=function(a){var b=[],c,d;a=null==
(c=a.snapshot)?void 0:null==(d=c[0])?void 0:d.changelist;null!=a&&b.push.apply(b,ad(a));return b},Wec=function(a,b){var c;return ne(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(mac(a.changelistApi,b)),2);c=d.yieldResult;return d.return(c.changelists)})},Tec=function(a,b){var c,d,e,g,h,m,r,v,y,A;return ne(function(G){if(1==G.nextAddress)return c={},G.yield((0,E.firstValueFrom)(a.issueRelationshipApi.getDescendants({issueIds:b,relationshipType:1,includeArchived:!1,depthLimit:10,
prefixSizeLimit:100})),2);d=G.yieldResult;e=k(d.entries());for(g=e.next();!g.done;g=e.next())h=g.value,m=k(h),r=m.next().value,v=m.next().value,y=r,A=v,c[String(y)]=A.getIssueRelationshipsList().map(function(N){return String(uj(N,1))});return G.return(c)})},Yec=function(a){var b=[],c=[],d=[],e=[];a=k(a.relatedLinks||[]);for(var g=a.next();!g.done;g=a.next())g=g.value,"hyperlink"===g.type?(Pva(g.href)?d.push(g.href):b.push(g.href),Sva(g)&&e.push(g.href)):"issueReference"===g.type&&c.push(g.issueId);
return{hyperLinks:b,issueLinks:c,goLinks:e,screenshots:d}},Zec=function(a,b){var c,d,e,g,h,m,r,v,y,A;return ne(function(G){if(1==G.nextAddress)return c=3,d=new Set,e=[],G.yield((0,E.firstValueFrom)(a.eventsForIssueFridge.watchOne(b)),2);g=G.yieldResult;if(void 0===g)return G.return({issueId:b,comments:e});h=k(g.events.reverse());for(m=h.next();!m.done&&!(r=m.value,Jl(r)&&r.isHumanAuthor&&(v=r.commentNumber,null!==v&&!d.has(v)&&(d.add(v),y=r.unlinkifiedComment,A=r.commentLastModifiedAtDate,null!=y&&
0<y.length&&null!=A&&e.push({commentNumber:v,content:y,modifiedTime:A}),d.size>=c)));m=h.next());return G.return({issueId:b,comments:e})})};
DF.prototype.getIssues=function(a){var b=this,c,d,e,g,h;return ne(function(m){switch(m.nextAddress){case 1:c=[],d=0;case 2:if(!(d<a.length)){m.jumpTo(4);break}e=a.slice(d,d+100);g=[];oe(m,5);return m.yield(b.issueApi.batchGetIssues(e),7);case 7:g=m.yieldResult;ht(m,6);break;case 5:h=re(m),console.warn("fetch issues",h);case 6:c.push.apply(c,ad(g));d+=100;m.jumpTo(2);break;case 4:return m.return(c)}})};DF.\u0275fac=function(a){return new (a||DF)(u(YE),u(lF),u(CD),u(CF))};
DF.\u0275prov=wc({token:DF,factory:DF.\u0275fac,providedIn:"root"});var iwa=["assigned-to-me","recent-stuff-i-follow"],bfc={};var cfc=xl(),Zl=am(cfc.user.email);var dfc=function(a){this.internalArray_=l(a,0,dfc.messageId)};U(dfc,q);f=dfc.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.setPageSize=function(a){return dj(this,2,a)};f.setPageToken=function(a){return uk(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),pageSize:n(Ft(this,2)),pageToken:n(X(this,3))}}else a=void 0;return a};dfc.messageId="b.AggregateIssueDescendantsRequest";var efc=function(a){this.internalArray_=l(a)};U(efc,q);f=efc.prototype;f.getPriority=function(){return aj(this,1,0)};f.setPriority=function(a){return cj(this,1,a)};f.hasPriority=function(){return tj(this,1)};f.getIssueIdsList=function(){return Wh(this,2)};f.setIssueIdsList=function(a){return xj(this,2,a)};f.addIssueIds=function(a){Eb(this,2,a)};efc.repeatedFields_=[2];efc.prototype.toObject=function(){return ffc(this)};
var ffc=function(a){if(null!=a)return t(a),{priority:n(p(a,1)),issueIdsList:n(Wh(a,2))}};var EF=function(a){this.internalArray_=l(a)};U(EF,q);f=EF.prototype;f.getStatus=function(){return aj(this,1,0)};f.setStatus=function(a){return cj(this,1,a)};f.hasStatus=function(){return tj(this,1)};f.getIssueIdsList=function(){return Wh(this,2)};f.setIssueIdsList=function(a){return xj(this,2,a)};f.addIssueIds=function(a){Eb(this,2,a)};EF.repeatedFields_=[2];EF.prototype.toObject=function(){return gfc(this)};var gfc=function(a){if(null!=a)return t(a),{status:n(p(a,1)),issueIdsList:n(Wh(a,2))}};var FF=function(a){this.internalArray_=l(a)};U(FF,q);f=FF.prototype;f.getIssueIdsList=function(){return Wh(this,1)};f.setIssueIdsList=function(a){return xj(this,1,a)};f.addIssueIds=function(a){Eb(this,1,a)};f.getCollaboratorsList=function(){return oj(this,vi,6)};f.setCollaborators=function(a){zt(this,6,vi,a)};f.getChangelistsList=function(){return Xh(this,7)};f.getBlockingIssueIdsList=function(){return Wh(this,10)};FF.repeatedFields_=[1,2,8,3,4,5,6,7,9,10];FF.prototype.toObject=function(){return hfc(this)};
var hfc=function(a){if(null!=a)return t(a),{issueIdsList:n(Wh(a,1)),aggregatedStatusList:Ub(oj(a,EF,2),gfc),aggregatedPriorityList:Ub(oj(a,efc,8),ffc),reportersList:Ub(oj(a,vi,3),ED),assigneesList:Ub(oj(a,vi,4),ED),verifiersList:Ub(oj(a,vi,5),ED),collaboratorsList:Ub(a.getCollaboratorsList(),ED),changelistsList:n(Xh(a,7)),blockedByIssueIdsList:n(Wh(a,9)),blockingIssueIdsList:n(Wh(a,10))}};var GF=function(a){this.internalArray_=l(a,0,GF.messageId)};U(GF,q);GF.prototype.getNextPageToken=function(){return V(this,2)};GF.prototype.toObject=function(){if(null!=this){t(this);var a={aggregatedIssueMetadata:hfc(W(this,FF,1)),nextPageToken:n(X(this,2))}}else a=void 0;return a};GF.messageId="b.AggregateIssueDescendantsResponse";var HF=function(a){this.executor=a};
HF.prototype.get=function(a){var b=new dfc;b.setIssueId(a);return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:GF}).pipe(D(function(c){var d=W(c,FF,1);if(d){var e;c={_rootId:a,issueIds:d.getIssueIdsList(),aggregatedStatus:null!=(e=oj(d,EF,2).map(lwa).filter(Ei))?e:[],reporters:ui(oj(d,vi,3)),assignees:ui(oj(d,vi,4)),verifiers:ui(oj(d,vi,5)),collaborators:ui(d.getCollaboratorsList()),changelists:d.getChangelistsList()}}else c=void 0;return c}))};
HF.\u0275fac=function(a){return new (a||HF)(u(wD))};HF.\u0275prov=wc({token:HF,factory:HF.\u0275fac,providedIn:"root"});var IF=function(a){BF.call(this);this.api=a;this.recordType="AggregatedIssueMetadata";this.idKey="_rootId";this.isEqual=Yh};U(IF,BF);IF.prototype.fetchOne=function(a){return this.api.get(a)};IF.\u0275fac=function(a){return new (a||IF)(u(HF))};IF.\u0275prov=wc({token:IF,factory:IF.\u0275fac,providedIn:"root"});var JF=function(a){zF.call(this);this.api=a;this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};U(JF,zF);JF.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return 0===a.length?(0,E.of)({results:[]}):mac(this.api,a).pipe(D(function(b){var c;return{results:null!=(c=b.changelists)?c:[]}}));throw Error("lc");};JF.\u0275fac=function(a){return new (a||JF)(u(CD))};JF.\u0275prov=wc({token:JF,factory:JF.\u0275fac,providedIn:"root"});var KF=function(){};KF.prototype.adapt=function(a){var b,c=new ifc(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};KF.\u0275fac=function(a){return new (a||KF)};KF.\u0275prov=wc({token:KF,factory:KF.\u0275fac,providedIn:"root"});
var ifc=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new E.Subject;this.inputs$=this.inputSubject.pipe(Bia(this.inputSubject.pipe(Ge(this.bufferTimeMs,E.asapScheduler))));this.removeDuplicates=D(function(g){return[].concat(ad(new Set(g)))});this.limitInputSize=D(function(g){for(var h=k(g.slice(e.maxBatchSize)),m=h.next();!m.done;m=h.next())e.inputSubject.next(m.value);return new Set(g.slice(0,e.maxBatchSize))});this.makeBatchCalls=
(0,E.pipe)(xe(function(g){try{return e.batchCall(g).pipe(Oe(),D(function(h){return{inputs:g,batchResponse:h,error:void 0}}),Ie(function(h){return(0,E.of)({inputs:g,batchResponse:void 0,error:h})}))}catch(h){return(0,E.of)({inputs:g,batchResponse:void 0,error:h})}}),Xe());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
ifc.prototype.get=function(a){var b=this;return new E.Observable(function(c){c=b.batchResults$.pipe(De(function(d){return d.inputs.has(a)}),Oe(),D(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 jfc=function(a){this.internalArray_=l(a,0,jfc.messageId)};U(jfc,q);jfc.prototype.toObject=function(){if(null!=this){t(this);var a={component:zE(W(this,gk,1))}}else a=void 0;return a};jfc.messageId="b.CreateComponentResponse";var LF=function(a){this.internalArray_=l(a,0,LF.messageId)};U(LF,q);LF.repeatedFields_=[1];LF.prototype.toObject=function(){if(null!=this){t(this);var a={componentList:Ub(oj(this,gk,1),zE)}}else a=void 0;return a};LF.messageId="b.ListComponentsResponse";var lta=function(a){this.internalArray_=l(a)};U(lta,q);f=lta.prototype;f.getComponentPath=function(){return V(this,1)};f.getRetentionSettings=function(){return W(this,bj,2)};f.setRetentionSettings=function(a){lj(this,bj,2,a)};f.hasRetentionSettings=function(){return Pj(this,bj,2)};f.toObject=function(){return kfc(this)};var kfc=function(a){if(null!=a)return t(a),{componentPath:n(X(a,1)),retentionSettings:Qbc(a.getRetentionSettings())}};var MF=function(a){this.internalArray_=l(a,0,MF.messageId)};U(MF,q);MF.repeatedFields_=[2];MF.prototype.toObject=function(){if(null!=this){t(this);var a={descendantsList:Ub(oj(this,lta,2),kfc)}}else a=void 0;return a};MF.messageId="b.SubcomponentsResponse";var lfc=function(){},mfc=function(){},NF=function(a,b){this.executor=a;this.currentTrackerId=b};U(NF,mfc);f=NF.prototype;f.get=function(a){return this.query({id:[a]}).pipe(D(function(b){return b.length?b[0]:null}))};f.getChildren=function(a,b){a={parentId:String(a)};if(void 0===b?0:b)a.includearchived=!0;return this.query(a)};f.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:MF}).pipe(D(mta))};
f.fetchComponent=function(a,b){var c={};b.checkEditAccess&&(c.checkEditAccess="true");return this.executor.get({url:"action/components/"+a,options:{params:c},responseConstructor:gk}).pipe(D(ak))};
f.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");a=this.currentTrackerId.getTrackerId();bm(a)||(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:LF}).pipe(D(jta))};
f.create=function(a){a=dta(a);return this.executor.post({url:"action/components",body:a,responseConstructor:jfc}).pipe(D(function(b){return ak(W(b,gk,1))}))};
f.update=function(a){var b=a.componentId,c=new gk;c.setComponentId(String(a.componentId));cj(c,2,String(a.parentComponentId));c.setName(a.name);c.setDescription(a.description);c.setArchived(a.archived);if(a.customFieldId){var d=a.customFieldId.map(String);xj(c,7,d)}if(a.componentPathInfo){var e=a.componentPathInfo;d=new bk;if(e.componentPathId){var g=e.componentPathId.map(String);xj(d,1,g)}e.componentPathName&&(g=e.componentPathName.map(String),Ri(d,2,g));e.allCustomField&&(e=e.allCustomField.map(jra),
rj(d,4,e));lj(c,bk,10,d)}a.accessLimit&&c.setAccessLimit(Dqa(a.accessLimit));uk(c,13,a.emailAlias);a.userHasEditAccess&&Xj(c,14,a.userHasEditAccess);a.commentEditState&&c.setCommentEditState("ENABLED"===a.commentEditState?1:2);cj(c,18,String(a.defaultTemplateId));a.slo&&c.setSlo(Fra(a.slo));cj(c,20,a.bugscopeSloId);a.retentionSettings&&c.setRetentionSettings(vra(a.retentionSettings));a.fieldOrdering&&cj(c,23,pac[a.fieldOrdering]);a.effortSpec&&(d=nra(a.effortSpec),lj(c,Wi,24,d));a.team&&c.setTeam(Vsa(a.team));
var h;c.setTeamSuggestionsList((null!=(h=a.teamSuggestions)?h:[]).map(Zsa));return this.executor.post({url:"action/components/"+b,body:c,responseConstructor:gk}).pipe(D(ak))};f.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:gk}).pipe(D(ak))};f.updateSlo=function(a,b){var c=new AE;c.setSlo(Fra(b));return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:gk}).pipe(D(ak))};
f.updateTeam=function(a,b){var c=new BE;c.setTeam(Vsa(b));return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:gk}).pipe(D(ak))};NF.\u0275fac=function(a){return new (a||NF)(u(wD),u(HE))};NF.\u0275prov=wc({token:NF,factory:NF.\u0275fac,providedIn:"root"});var OF=function(a){this.observableApi=a};U(OF,lfc);f=OF.prototype;f.get=function(a){return(0,E.firstValueFrom)(this.observableApi.get(a))};
f.getChildren=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};f.getDescendants=function(a){return(0,E.firstValueFrom)(this.observableApi.getDescendants(a))};f.fetchComponent=function(a,b){return(0,E.firstValueFrom)(this.observableApi.fetchComponent(a,b))};f.query=function(a){return(0,E.firstValueFrom)(this.observableApi.query(a))};f.create=function(a){return(0,E.firstValueFrom)(this.observableApi.create(a))};f.update=function(a){return(0,E.firstValueFrom)(this.observableApi.update(a))};
f.move=function(a,b){return(0,E.firstValueFrom)(this.observableApi.move(a,b))};f.updateSlo=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateSlo(a,b))};f.updateTeam=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateTeam(a,b))};OF.\u0275fac=function(a){return new (a||OF)(u(NF))};OF.\u0275prov=wc({token:OF,factory:OF.\u0275fac,providedIn:"root"});var PF=function(a){BF.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};U(PF,BF);PF.prototype.fetchOne=function(a){return this.batchedComponentApi.get(a).pipe(Ie(function(){return(0,E.of)(void 0)}))};PF.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(Ei)}))};PF.\u0275fac=function(a){return new (a||PF)(u(QF))};
PF.\u0275prov=wc({token:PF,factory:PF.\u0275fac,providedIn:"root"});var QF=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)}})};
QF.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(ad(a))[0],{}).pipe(D(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(ad(a))}).pipe(D(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};QF.prototype.splitBatch=function(a,b){return b.get(Number(a))};QF.\u0275fac=function(a){return new (a||QF)(u(mfc),u(KF))};QF.\u0275prov=wc({token:QF,factory:QF.\u0275fac,providedIn:"root"});var RF=function(a){this.internalArray_=l(a,0,RF.messageId)};U(RF,q);RF.prototype.getSnapshot=function(){return W(this,wj,1)};RF.prototype.setSnapshot=function(a){lj(this,wj,1,a)};RF.prototype.toObject=function(){if(null!=this){t(this);var a={snapshot:hcc(this.getSnapshot()),customFieldMapMap:Wb(ik(this,2,Vi),Mac)}}else a=void 0;return a};RF.messageId="b.IssueTemplateResponse";var SF=function(a){this.internalArray_=l(a,0,SF.messageId)};U(SF,q);SF.repeatedFields_=[1];SF.prototype.toObject=function(){if(null!=this){t(this);var a={templatesList:Ub(oj(this,hk,1),zcc)}}else a=void 0;return a};SF.messageId="b.ListTemplatesResponse";var TF=function(a){this.internalArray_=l(a,0,TF.messageId)};U(TF,q);TF.prototype.toObject=function(){if(null!=this){t(this);var a={template:zcc(W(this,hk,1))}}else a=void 0;return a};TF.messageId="b.TemplateResponse";var nfc=function(){},UF=function(a){this.executor=a};f=UF.prototype;f.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:TF}).pipe(D(mwa))};f.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:SF}).pipe(D(nwa))};f.create=function(a,b){b=hta(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:TF,body:b}).pipe(D(mwa))};
f.update=function(a,b,c){c=hta(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:TF,body:c}).pipe(D(mwa))};f.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};f.getIssueTemplate=function(a,b){return this.executor.get({url:"action/components/"+a+"/issue_template",responseConstructor:RF,options:{params:{templateId:String(b)}}}).pipe(D(ita))};UF.\u0275fac=function(a){return new (a||UF)(u(wD))};
UF.\u0275prov=wc({token:UF,factory:UF.\u0275fac,providedIn:"root"});var VF=function(a){this.observableApi=a};U(VF,nfc);f=VF.prototype;f.get=function(a,b){return(0,E.firstValueFrom)(this.observableApi.get(a,b))};f.query=function(a){return(0,E.firstValueFrom)(this.observableApi.query(a))};f.create=function(a,b){return(0,E.firstValueFrom)(this.observableApi.create(a,b))};f.update=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c))};
f.delete=function(a,b){return(0,E.firstValueFrom)(this.observableApi.delete(a,b))};f.getIssueTemplate=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getIssueTemplate(a,b))};VF.\u0275fac=function(a){return new (a||VF)(u(UF))};VF.\u0275prov=wc({token:VF,factory:VF.\u0275fac,providedIn:"root"});var owa=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var ofc=Symbol("mc"),pfc=Symbol("nc"),qfc=Symbol("oc"),WF=function(){};WF.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=cm(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(g){c.reject(g);d[qfc]=!0;return}c.resolve(e);d[qfc]=!0},b);d[ofc]=b;d[pfc]=c.reject;d[qfc]=!1;return c.promise};WF.prototype.cancel=function(a){var b=a[ofc];if(null==b||a[qfc])return!1;clearTimeout(b);var c;null==(c=a[pfc])||c.call(a,Error("pc"));return a[qfc]=!0};WF.\u0275fac=function(a){return new (a||WF)};
WF.\u0275prov=wc({token:WF,factory:WF.\u0275fac,providedIn:"root"});var XF=function(a){this.timeout=a};XF.prototype.adapt=function(a){return new rfc(this.timeout,a)};XF.\u0275fac=function(a){return new (a||XF)(u(WF))};XF.\u0275prov=wc({token:XF,factory:XF.\u0275fac,providedIn:"root"});var rfc=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
rfc.prototype.get=function(a){var b=cm(),c=this.batchedInputs[this.batchedInputs.length-1],d=this.batchedDeferreds[this.batchedDeferreds.length-1];100>c.length?(c.push(a),d.push(b)):(this.batchedInputs.push([a]),this.batchedDeferreds.push([b]));this.isBatchScheduled||sfc(this);return b.promise};
var sfc=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={$jscomp$loop$prop$batchedDeferred$m2098845878$2:b.$jscomp$loop$prop$batchedDeferred$m2098845878$2},c++){var d=a.batchedInputs[c];b.$jscomp$loop$prop$batchedDeferred$m2098845878$2=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(g){for(var h=0;h<e.$jscomp$loop$prop$batchedDeferred$m2098845878$2.length;h++)e.$jscomp$loop$prop$batchedDeferred$m2098845878$2[h].resolve(g[h])}}(b),
function(e){return function(g){for(var h=k(e.$jscomp$loop$prop$batchedDeferred$m2098845878$2),m=h.next();!m.done;m=h.next())m.value.reject(g)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];a.isBatchScheduled=!1})};var dm=function(a){this.internalArray_=l(a,0,dm.messageId)};U(dm,q);f=dm.prototype;f.getResource=function(){return V(this,1)};f.setResource=function(a){return uk(this,1,a)};f.getRelation=function(){return aj(this,2,0)};f.setRelation=function(a){cj(this,2,a)};f.toObject=function(){return tfc(this)};var tfc=function(a){if(null!=a)return t(a),{resource:n(X(a,1)),relation:n(p(a,2))}};dm.messageId="b.ResourceRelation";var YF=function(a){this.internalArray_=l(a,0,YF.messageId)};U(YF,q);YF.repeatedFields_=[1];YF.prototype.toObject=function(){if(null!=this){t(this);var a={grantedList:Ub(oj(this,dm,1),tfc)}}else a=void 0;return a};YF.messageId="b.UserAccessBatchResponse";var ZF=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+)$")};ZF.prototype.validate=function(a){return this.resourceNamePattern.test(a)};ZF.\u0275fac=function(a){return new (a||ZF)};ZF.\u0275prov=wc({token:ZF,factory:ZF.\u0275fac,providedIn:"root"});
var $F=function(a,b,c){var d=this;this.rawUserAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return ufc(d,e)})},ufc=function(a,b){return vfc(a,b).then(function(c){return qwa(b,c)})},aG=function(a,b,c){return a.resourceNameValidator.validate(c)?wfc(a,b,c):Promise.reject("invalid resource name: "+c)},xfc=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([wfc(a,"admin",b),wfc(a,"writer",b),wfc(a,"appender",b),wfc(a,"reader",b)]).then(function(c){var d=
k(c);c=d.next().value;var e=d.next().value,g=d.next().value;d=d.next().value;return{admin:c,writer:e,appender:g,reader:d}}):Promise.reject("invalid resource name: "+b)},vfc=function(a,b){var c=[],d=[];b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return(0,E.firstValueFrom)(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:YF}).pipe(D(pwa)))},wfc=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(g){return null==g?!1:g});a.accesses[d]=b;b.then(function(){delete a.accesses[d]});return b};$F.\u0275fac=function(a){return new (a||$F)(u(bG),u(ZF),u(XF))};$F.\u0275prov=wc({token:$F,factory:$F.\u0275fac,providedIn:"root"});var bG=function(a){this.executor=a};bG.\u0275fac=function(a){return new (a||bG)(u(wD))};bG.\u0275prov=wc({token:bG,factory:bG.\u0275fac,providedIn:"root"});var cG=function(){};cG.\u0275fac=function(a){return new (a||cG)};cG.\u0275mod=Oc({type:cG});cG.\u0275inj=xc({imports:[bx,uC]});var yfc=new Zc("MatSnackBarData"),zfc=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var Afc=Math.pow(2,31)-1,dG=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new E.Subject;this._afterOpened=new E.Subject;this._onAction=new E.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};dG.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
var vwa=function(a){a._onAction.closed||(a._dismissedByAction=!0,a._onAction.next(),a._onAction.complete(),a.dismiss());clearTimeout(a._durationTimeoutId)};f=dG.prototype;f._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,Afc))};f._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
f._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};f.afterOpened=function(){return this.containerInstance._onEnter};f.onAction=function(){return this._onAction};var Bfc=Wg("state",[$g("void, hidden",Zg({transform:"scale(0.8)",opacity:0})),$g("visible",Zg({transform:"scale(1)",opacity:1})),ah("* => visible",Yg("150ms cubic-bezier(0, 0, 0.2, 1)")),ah("* => void, * => hidden",Yg("75ms cubic-bezier(0.4, 0.0, 1, 1)",Zg({opacity:0})))]);var Cfc=0,eG=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=Hc(uh);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new E.Subject;this._onExit=new E.Subject;this._onEnter=new E.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+Cfc++;this._live="assertive"!==e.politeness||e.announcementMessage?"off"===e.politeness?"off":
"polite":"assertive";this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))};U(eG,Yx);eG.prototype.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};eG.prototype.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
var Dfc=function(a,b){var c=b.fromState;b=b.toState;("void"===b&&"void"!==c||"hidden"===b)&&a._completeExit();if("visible"===b){var d=a._onEnter;a._ngZone.run(function(){d.next();d.complete()})}};f=eG.prototype;f.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};
f.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId)});return this._onExit};f.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};f._completeExit=function(){var a=this;this._ngZone.onMicrotaskEmpty.pipe(Oe()).subscribe(function(){a._ngZone.run(function(){a._onExit.next();a._onExit.complete()})})};
f._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()};
f._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?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};
f._clearFromModals=function(){var a=this;this._trackedModals.forEach(function(b){var c=b.getAttribute("aria-owns");c&&(c=c.replace(a._liveElementId,"").trim(),0<c.length?b.setAttribute("aria-owns",c):b.removeAttribute("aria-owns"))});this._trackedModals.clear()};f._assertNotAttached=function(){};
f._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;null==(e=d)||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};eG.\u0275fac=function(a){return new (a||eG)(C(ef),C(Bd),C(Hw),C(Lx),C(zfc))};eG.\u0275dir=Qc({type:eG,viewQuery:function(a,b){a&1&&cg(by,7);if(a&2){var c;bg(c=eg())&&(b._portalOutlet=c.first)}},features:[lf]});var Efc=new Zc("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new zfc}}),fG=function(a,b,c,d,e,g){this._overlay=a;this._live=b;this._injector=c;this._breakpointObserver=d;this._parentSnackBar=e;this._defaultConfig=g;this._snackBarRefAtThisLevel=null};f=fG.prototype;
f.open=function(a,b,c){b=void 0===b?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this._attach(this.simpleSnackBarComponent,d)};f.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()};f.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()};
f._attachSnackBarContainer=function(a,b){var c=hf({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:zfc,useValue:b}]});a=a.attach(new Wx(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
f._attach=function(a,b){var c=this,d=Object.assign({},new zfc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var g=new dG(b,e);if(a instanceof Zf)g.instance=b.attachTemplatePortal(new Xx(a,null,{$implicit:d.data,snackBarRef:g}));else{var h=this._createInjector(d,g);a=b.attachComponentPortal(new Wx(a,void 0,h));g.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(bf(e._detachments)).subscribe(function(m){e.overlayElement.classList.toggle(c.handsetCssClass,
m.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(g,d);return this._openedSnackBarRef=g};
f._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&&0<b.duration&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
f._createOverlay=function(a){var b=new zz;b.direction=a.direction;var c=this._overlay.position().global(),d="rtl"===a.direction;d="left"===a.horizontalPosition||"start"===a.horizontalPosition&&!d||"end"===a.horizontalPosition&&d;var e=!d&&"center"!==a.horizontalPosition;d?c.left("0"):e?c.right("0"):I_b(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
f._createInjector=function(a,b){return hf({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:dG,useValue:b},{provide:yfc,useValue:a.data}]})};wh.Object.defineProperties(fG.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}}});
fG.\u0275fac=function(a){return new (a||fG)(u(Hz),u(Yy),u(Lv),u(Sy),u(fG,12),u(Efc))};fG.\u0275prov=wc({token:fG,factory:fG.\u0275fac});var gG=function(a,b){this.snackBarRef=a;this.data=b};gG.prototype.action=function(){vwa(this.snackBarRef)};wh.Object.defineProperties(gG.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});gG.\u0275fac=function(a){return new (a||gG)(C(dG),C(yfc))};
gG.\u0275cmp=Mc({type:gG,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],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&&(H(0,"span",0),R(1),I(),P(2,rwa,3,1,"div",1));a&2&&(B(1),Nf(b.data.message),B(1),F("ngIf",b.hasAction))},dependencies:[Ow,qA],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 hG=function(){eG.apply(this,arguments)};U(hG,eG);hG.\u0275dir=eG.\u0275dir;hG.prototype._afterPortalAttached=function(){eG.prototype._afterPortalAttached.call(this);"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center");"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")};hG.\u0275fac=function(){var a;return function(b){return(a||(a=zd(hG)))(b||hG)}}();
hG.\u0275cmp=Mc({type:hG,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&rka("@state.done",function(c){return Dfc(b,c)});a&2&&Ff("@state",b._animationState)},features:[lf],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(H(0,"div",0),P(1,swa,0,0,"ng-template",1),I(),J(2,"div"));a&2&&(B(2),pf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[by],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:[Bfc]}});var iG=function(){};iG.\u0275fac=function(a){return new (a||iG)};iG.\u0275mod=Oc({type:iG});iG.\u0275inj=xc({imports:[Kz,cy,bx,QC,Lz,Lz]});var jG=function(a,b,c,d,e,g){fG.call(this,a,b,c,d,e,g);this.simpleSnackBarComponent=gG;this.snackBarContainerComponent=hG;this.handsetCssClass="mat-snack-bar-handset"};U(jG,fG);jG.\u0275fac=function(a){return new (a||jG)(u(Hz),u(Yy),u(Lv),u(Sy),u(jG,12),u(Efc))};jG.\u0275prov=wc({token:jG,factory:jG.\u0275fac,providedIn:iG});var kG=function(a){this.snackBar=a};kG.prototype.open=function(a){var b=a.message,c=a.duration,d=a.snackbarType;a={dismissLabel:a.dismissLabel,actionLabel:a.actionLabel,snackbarType:d};"string"===typeof b?a.message=b:a.htmlMessage=b;switch(d){case "ERROR":b="error";break;default:b=void 0}b={data:a,panelClass:b};c&&(b.duration=c);return this.snackBar._attach(Ffc,b)};kG.\u0275fac=function(a){return new (a||kG)(u(jG))};kG.\u0275prov=wc({token:kG,factory:kG.\u0275fac,providedIn:"root"});
var Ffc=function(a,b){this.data=a;this.snackBarRef=b};Ffc.\u0275fac=function(a){return new (a||Ffc)(C(yfc),C(dG))};
Ffc.\u0275cmp=Mc({type:Ffc,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&&(H(0,"div",0),P(1,twa,2,1,"span",1),
P(2,uwa,1,1,"span",2),H(3,"div",3),P(4,wwa,2,1,"button",4),P(5,xwa,2,1,"button",4),P(6,ywa,2,0,"button",5),I()());a&2&&(B(1),F("ngIf",!b.data.htmlMessage),B(1),F("ngIf",b.data.htmlMessage),B(2),F("ngIf",b.data.actionLabel),B(1),F("ngIf",b.data.dismissLabel),B(1),F("ngIf",!b.data.dismissLabel))},dependencies:[Ow,bB,qA],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 lG=function(a){this.snackbar=a};lG.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var mG=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},Gfc=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})};lG.prototype.showWarning=function(a,b){this.open({message:a,duration:void 0===b?0:b,snackbarType:"ERROR"})};lG.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};lG.\u0275fac=function(a){return new (a||lG)(u(kG))};
lG.\u0275prov=wc({token:lG,factory:lG.\u0275fac,providedIn:"root"});var nG=function(){};f=nG.prototype;f.debug=function(){Mh.apply(null,ad(Wc.apply(0,arguments)))};f.error=function(){Rpa.apply(null,ad(Wc.apply(0,arguments)))};f.info=function(){Nh.apply(null,ad(Wc.apply(0,arguments)))};f.log=function(){Qpa.apply(null,ad(Wc.apply(0,arguments)))};f.warn=function(){Oh.apply(null,ad(Wc.apply(0,arguments)))};nG.\u0275fac=function(a){return new (a||nG)};nG.\u0275prov=wc({token:nG,factory:nG.\u0275fac,providedIn:"root"});var oG=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
oG.prototype.errorHandler=function(a,b){var c=this;this.timeout.schedule(function(){var d=403===b.status?"Access denied for: "+c.activeSession.getUserEmail():429===b.status?"Request throttled for: "+c.activeSession.getUserEmail()+". Please wait a few seconds and try again.":fm(b)?fm(b):404===b.status?"Invalid ID.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);c.butterBar.showWarning(d)})};
var pG=function(a,b){a.$log.warn(b);a.butterBar.showWarning(b)},qG=function(a,b){if(em(b))a.errorHandler(null,b);else throw b;};oG.\u0275fac=function(a){return new (a||oG)(u(lG),u(bt),u(nG),u(WF))};oG.\u0275prov=wc({token:oG,factory:oG.\u0275fac,providedIn:"root"});var rG=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},Ifc=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,g=na(c.issue.snapshot),h=c.firstEvent.unlinkifiedComment;g.comment=h?h.trim():"";g.status="NEW";g.createdTimeMicros=null;g.version=null;g.changelist=null;g.significanceOverride=null;g.duplicateIssueId=null;g.duplicateOfIssueId=null;return e.call(d,{},{snapshot:g,customFieldMap:{}},{trackerId:c.issue.trackerId})}).then(function(c){return Hfc(a,
c)});b.catch(function(c){a.errorHandler.errorHandler(null,c)});return b},Hfc=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return aG(a.userAccess,"appender","hotlists/"+e)});return Promise.all(d).then(function(e){b.snapshot.hotlistId=c.filter(function(g,h){return e[h]});return b})};rG.\u0275fac=function(a){return new (a||rG)(u(WE),u(nfc),u(oG),u($F))};rG.\u0275prov=wc({token:rG,factory:rG.\u0275fac,providedIn:"root"});var sG=function(){this.bookmarkGroupModified=new E.Subject;this.commentSubmitted=new E.Subject;this.commentRendered=new E.Subject;this.componentModified=new E.Subject;this.contactChipsRevertChanges=new E.Subject;this.customFieldsModified=new E.Subject;this.dashboardPanels={moveDown:new E.Subject,moveUp:new E.Subject,moveToTop:new E.Subject,moveToBottom:new E.Subject,remove:new E.Subject};this.favoritesModified=new E.Subject;this.hotlistCreated=new E.Subject;this.onClickAppMenuIcon=new E.Subject;this.openEditField=
new E.Subject;this.sidebarWidthChanged=new E.Subject;this.hotlistChanged=new E.Subject;this.savedSearchModified=new E.Subject;this.sidebarUpdated=new E.Subject;this.topBarEvents={browseComponents:new E.Subject,manageHotlists:new E.Subject,manageSlos:new E.Subject,setDensity:new E.Subject,openSettings:new E.Subject};this.templateModified=new E.Subject;this.issueViewed=new E.Subject;this.issueEdited=new E.Subject;this.focusCommentBox=new E.Subject;this.scrollToCommentBox=new E.Subject;this.needsAttentionIssueCount=
new E.Subject;this.recaptchaSubmitted=new E.Subject;this.missionControlTaskCount=new E.Subject};sG.\u0275fac=function(a){return new (a||sG)};sG.\u0275prov=wc({token:sG,factory:sG.\u0275fac,providedIn:"root"});var tG=function(a,b){BF.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(De(Ei),D(function(e){return e.templates}),D(function(e){var g;return null!=(g=e.find(function(h){return h.default}))?g:e[0]}))};this.appEvents.templateModified.pipe(De(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};U(tG,BF);
tG.prototype.fetchOne=function(a){return(0,E.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};tG.\u0275fac=function(a){return new (a||tG)(u(rG),u(sG))};tG.\u0275prov=wc({token:tG,factory:tG.\u0275fac,providedIn:"root"});var uG=function(a){this.internalArray_=l(a,0,uG.messageId)};U(uG,q);uG.prototype.getCustomField=function(){return W(this,Vi,1)};uG.prototype.setCustomField=function(a){return lj(this,Vi,1,a)};uG.prototype.toObject=function(){if(null!=this){t(this);var a={customField:Mac(this.getCustomField())}}else a=void 0;return a};uG.messageId="b.CustomFieldResponse";var vG=function(){},wG=function(a){this.executor=a};U(wG,vG);f=wG.prototype;f.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:uG}).then(fra)};f.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:uG}).then(function(b){return Zqa(b.getCustomField())})};f.create=function(a,b){b=jra(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:uG}).then(fra)};
f.update=function(a,b,c){b=Number(b);c=jra(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:uG}).then(fra)};f.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(a)}},responseConstructor:null})};wG.\u0275fac=function(a){return new (a||wG)(u(xD))};wG.\u0275prov=wc({token:wG,factory:wG.\u0275fac,providedIn:"root"});var xG=function(a){BF.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};U(xG,BF);xG.prototype.fetchOne=function(a){var b=this;return(0,E.defer)(function(){return b.api.getResource(a)}).pipe(Ie(function(c){console.error("error fetching custom field "+a,c);return(0,E.of)(void 0)}))};xG.\u0275fac=function(a){return new (a||xG)(u(vG))};xG.\u0275prov=wc({token:xG,factory:xG.\u0275fac,providedIn:"root"});var yG=function(a){this.internalArray_=l(a,0,yG.messageId)};U(yG,q);yG.prototype.getIssueId=function(){return uj(this,1)};yG.prototype.setIssueId=function(a){return cj(this,1,a)};yG.prototype.setCurrentTrackerId=function(a){cj(this,3,a)};yG.repeatedFields_=[2];yG.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),commentNumbersList:n(Uh(this,2)),currentTrackerId:n(p(this,3))}}else a=void 0;return a};yG.messageId="b.BatchGetIssueCommentsRequest";var zG=function(a){this.internalArray_=l(a,0,zG.messageId)};U(zG,q);zG.prototype.getIssueCommentsList=function(){return oj(this,qE,1)};zG.repeatedFields_=[1];zG.prototype.toObject=function(){if(null!=this){t(this);var a={issueCommentsList:Ub(this.getIssueCommentsList(),gcc)}}else a=void 0;return a};zG.messageId="b.BatchGetIssueCommentsResponse";var AG=function(a,b){this.jspbExecutor=a;this.currentTrackerId=b};AG.prototype.batchGet=function(a,b){a=(new yG).setIssueId(Number(a));b=Cb(a,2,b,bb);(a=this.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(a);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:zG,body:b}).pipe(D(Bta))};AG.\u0275fac=function(a){return new (a||AG)(u(wD),u(HE))};AG.\u0275prov=wc({token:AG,factory:AG.\u0275fac,providedIn:"root"});var BG=function(a,b){BF.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)}})};U(BG,BF);
BG.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,E.combineLatest)(a.map(function(d){return b.get(d)})).pipe(D(function(d){var e=[];d=k(d);for(var g=d.next();!g.done;g=d.next())if(g=g.value){var h=void 0,m={issueId:c,commentId:null!=(h=g.commentNumber)?h:0};e.push({id:m,formattedComment:g})}return e}))};
BG.prototype.call=function(a){var b="",c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(d.value.split("-"));d=e.next().value;e=e.next().value;""!==b&&b===d?c.push(Number(e)):""===b&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(D(function(g){var h=b,m=new Map;g=k(g);for(var r=g.next();!r.done;r=g.next()){r=r.value;var v=void 0,y=Number(h)+"-"+(null!=(v=r.commentNumber)?v:0);m.set(y,r)}return m}))};BG.prototype.splitBatch=function(a,b){return b.get(a)};
BG.\u0275fac=function(a){return new (a||BG)(u(AG),u(KF))};BG.\u0275prov=wc({token:BG,factory:BG.\u0275fac,providedIn:"root"});var CG=function(a){this.internalArray_=l(a,0,CG.messageId)};U(CG,q);CG.repeatedFields_=[1,2];CG.prototype.toObject=function(){if(null!=this){t(this);var a={noAccessEmailsList:n(Xh(this,1)),unknownEmailsList:n(Xh(this,2))}}else a=void 0;return a};CG.messageId="b.CheckPermissionResponse";var DG=function(){},EG=function(a){this.executor=a};f=EG.prototype;f.get=function(a,b){a=gm(hm(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:HD}).pipe(D(Nqa))};
f.update=function(a,b,c){a=gm(hm(a,b));b=new HD;var d;b.setAdminsList((null!=(d=c.admins)?d:[]).map(Gi));var e;b.setAppendersList((null!=(e=c.appenders)?e:[]).map(Gi));var g;b.setEditorsList((null!=(g=c.editors)?g:[]).map(Gi));var h;b.setReadersList((null!=(h=c.readers)?h:[]).map(Gi));var m;b.setRestrictedReadersList((null!=(m=c.restrictedReaders)?m:[]).map(Gi));var r;b.setRestrictedPlusReadersList((null!=(r=c.restrictedPlusReaders)?r:[]).map(Gi));c.implicitAccess&&b.setImplicitAccess(tac[c.implicitAccess]);
return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:HD}).pipe(D(Nqa))};f.checkPermission=function(a,b,c,d){a=gm(a.join(","));b=gm(b);c=gm(hm(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:CG}).pipe(D(Kqa))};f.setAccessLimit=function(a,b,c){a=gm(hm(a,b));c=Dqa(c);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:oi}).pipe(D(Bqa))};
f.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(D(function(b){return"ALLOW"===b.implicitAccess}))};EG.\u0275fac=function(a){return new (a||EG)(u(wD))};EG.\u0275prov=wc({token:EG,factory:EG.\u0275fac,providedIn:"root"});var FG=function(a){this.observableApi=a};U(FG,DG);f=FG.prototype;f.get=function(a,b){return(0,E.firstValueFrom)(this.observableApi.get(a,b))};f.update=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c))};
f.checkPermission=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};f.setAccessLimit=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};f.checkComponentImplicitAccessEnabled=function(a){return(0,E.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};FG.\u0275fac=function(a){return new (a||FG)(u(EG))};FG.\u0275prov=wc({token:FG,factory:FG.\u0275fac,providedIn:"root"});var GG=function(a){BF.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=Yh};U(GG,BF);GG.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(D(function(b){return Object.assign({},{id:a},b)}))};GG.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(D(function(c){return Object.assign({},{id:b},c)}))};GG.\u0275fac=function(a){return new (a||GG)(u(EG))};
GG.\u0275prov=wc({token:GG,factory:GG.\u0275fac,providedIn:"root"});var Jfc=function(a){this.allowExecution=a;this.queue=[]};Jfc.prototype.addTask=function(a){this.queue.push(a);Kfc(this)};var Kfc=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=k(a.queue),c=b.next().value;a.queue=Ce(b);c();Kfc(a)}else setTimeout(function(){Kfc(a)},0)};var Mm=Symbol("rc"),HG=function(a){this.params=a||{}};HG.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};HG.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};HG.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};wh.Object.defineProperties(HG.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var Nwa={exact:Swa,subset:Vwa},Owa={exact:Qwa,subset:Twa,ignored:function(){return!0}},tm=function(a,b,c){a=void 0===a?new sm([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};tm.prototype.toString=function(){return Lfc.serialize(this)};wh.Object.defineProperties(tm.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new HG(this.queryParams));return this._queryParamMap}}});
var sm=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})};sm.prototype.hasChildren=function(){return 0<this.numberOfChildren};sm.prototype.toString=function(){return $wa(this)};wh.Object.defineProperties(sm.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var ym=function(a,b){this.path=a;this.parameters=b};
ym.prototype.toString=function(){return Ywa(this.path)+Zwa(this.parameters)};var IG=function(){};IG.\u0275fac=function(a){return new (a||IG)};IG.\u0275prov=wc({token:IG,factory:function(){return new Mfc},providedIn:"root"});var Mfc=function(){};Mfc.prototype.parse=function(a){a=new Nfc(a);JG(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new sm([],{}):new sm([],Ofc(a));return new tm(b,a.parseQueryParams(),JG(a,"#")?decodeURIComponent(a.remaining):null)};
Mfc.prototype.serialize=function(a){var b="/"+rm(a.root,!0),c=cxa(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var Lfc=new Mfc,dxa=/^[^\/()?;#]+/,Pfc=/^[^\/()?;=#]+/,Qfc=/^[^=?&#]+/,Rfc=/^[^&#]+/,Nfc=function(a){this.remaining=this.url=a};
Nfc.prototype.parseQueryParams=function(){var a={};if(JG(this,"?")){do{var b,c=this.remaining.match(Qfc);if(b=c?c[0]:""){this.capture(b);c="";if(JG(this,"=")){var d;if(d=(d=this.remaining.match(Rfc))?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(JG(this,"&"))}return a};
var Ofc=function(a){if(""===a.remaining)return{};JG(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(Sfc(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(Sfc(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=Tfc(a,!0));var d={};a.remaining.startsWith("(")&&(d=Tfc(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new sm(b,c);return d},Sfc=function(a){var b=exa(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new Ac(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};JG(a,";");){var d,e=a;if(d=(d=e.remaining.match(Pfc))?d[0]:""){e.capture(d);var g="";if(JG(e,"=")){var h=exa(e.remaining);h&&(g=h,e.capture(g))}c[decodeURIComponent(d)]=decodeURIComponent(g)}}return new ym(b,c)},Tfc=function(a,b){var c={};for(a.capture("(");!JG(a,")")&&0<a.remaining.length;){var d=exa(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new Ac(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=Ofc(a);c[e]=1===Object.keys(d).length?d.primary:new sm([],d);JG(a,"//")}return c},JG=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};Nfc.prototype.capture=function(a){if(!JG(this,a))throw new Ac(4011,!1);};var pxa=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&lxa(c[0]))throw new Ac(4003,!1);if((a=c.find(xm))&&a!==(0<c.length?c[c.length-1]:null))throw new Ac(4004,!1);},kxa=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var KG=function(a,b){this.id=a;this.url=b},ln=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;KG.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};U(ln,KG);ln.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var Nm=function(a,b,c){KG.call(this,a,b);this.urlAfterRedirects=c;this.type=1};U(Nm,KG);
Nm.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var Om=function(a,b,c,d){KG.call(this,a,b);this.reason=c;this.code=d;this.type=2};U(Om,KG);Om.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var Qm=function(a,b,c,d){KG.call(this,a,b);this.reason=c;this.code=d;this.type=16};U(Qm,KG);
var Pm=function(a,b,c,d){KG.call(this,a,b);this.error=c;this.target=d;this.type=3};U(Pm,KG);Pm.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var Ufc=function(a,b,c,d){KG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};U(Ufc,KG);Ufc.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var Vfc=function(a,b,c,d){KG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};U(Vfc,KG);Vfc.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var Wfc=function(a,b,c,d,e){KG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};U(Wfc,KG);
Wfc.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var Xfc=function(a,b,c,d){KG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};U(Xfc,KG);Xfc.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var Yfc=function(a,b,c,d){KG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};U(Yfc,KG);Yfc.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var Zfc=function(a){this.route=a;this.type=9};Zfc.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var $fc=function(a){this.route=a;this.type=10};
$fc.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var Xxa=function(a){this.snapshot=a;this.type=11};Xxa.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var agc=function(a){this.snapshot=a;this.type=12};agc.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var Yxa=function(a){this.snapshot=a;this.type=13};Yxa.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var bgc=function(a){this.snapshot=a;this.type=14};bgc.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var cgc=function(a,b){this.position=a;this.anchor=b;this.type=15};
cgc.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var dgc=function(){this.injector=this.route=this.outlet=null;this.children=new LG;this.attachRef=null},LG=function(){this.contexts=new Map},egc=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},fgc=function(a,b){var c=a.getContext(b);c||(c=new dgc,a.contexts.set(b,c));return c};LG.prototype.getContext=function(a){return this.contexts.get(a)||null};LG.\u0275fac=function(a){return new (a||LG)};LG.\u0275prov=wc({token:LG,factory:LG.\u0275fac,providedIn:"root"});var MG=function(a){this._root=a};MG.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};MG.prototype.children=function(a){return(a=uxa(a,this._root))?a.children.map(function(b){return b.value}):[]};MG.prototype.firstChild=function(a){return(a=uxa(a,this._root))&&0<a.children.length?a.children[0].value:null};MG.prototype.pathFromRoot=function(a){return vxa(a,this._root).map(function(b){return b.value})};
wh.Object.defineProperties(MG.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var Am=function(a,b){this.value=a;this.children=b};Am.prototype.toString=function(){return"TreeNode("+this.value+")"};var xxa=function(a,b){this._root=a;this.snapshot=b;Bxa(this,a)};U(xxa,MG);xxa.prototype.toString=function(){return this.snapshot.toString()};
var Cm=function(a,b,c,d,e,g,h,m){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=g;this.component=h;this._futureSnapshot=m;var r,v;this.title=null!=(v=null==(r=this.dataSubject)?void 0:r.pipe(D(function(y){return y[Mm]})))?v:(0,E.of)(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};Cm.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
wh.Object.defineProperties(Cm.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||(this._paramMap=this.params.pipe(D(function(a){return new HG(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(D(function(a){return new HG(a)})));return this._queryParamMap}}});
var Bm=function(a,b,c,d,e,g,h,m,r){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=g;this.component=h;this.routeConfig=m;this._resolve=r};Bm.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
wh.Object.defineProperties(Bm.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[Mm]}},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||(this._paramMap=new HG(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new HG(this.queryParams));return this._queryParamMap}}});var wxa=function(a,b){this._root=b;this.url=a;Bxa(this,b)};U(wxa,MG);wxa.prototype.toString=function(){return Cxa(this._root)};var NG=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new pw;this.deactivateEvents=new pw;this.attachEvents=new pw;this.detachEvents=new pw;this.parentContexts=Hc(LG);this.location=Hc($f);this.changeDetector=Hc(Hw);this.environmentInjector=Hc(Iv);this.inputBinder=Hc(ggc,{optional:!0})};NG.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(hgc(this,b)&&(this.deactivate(),egc(this.parentContexts,b)),igc(this))}};
NG.prototype.ngOnDestroy=function(){hgc(this,this.name)&&egc(this.parentContexts,this.name);var a;null==(a=this.inputBinder)||jgc(a,this)};var hgc=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};NG.prototype.ngOnInit=function(){igc(this)};
var igc=function(a){var b=a.parentContexts,c=a.name,d=fgc(b,c);d.outlet=a;b.contexts.set(c,d);!a.activated&&(b=a.parentContexts.getContext(a.name),null==b?0:b.route)&&(b.attachRef?a.attach(b.attachRef,b.route):kgc(a,b.route,b.injector))};NG.prototype.detach=function(){if(!this.activated)throw new Ac(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
NG.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);null!=(b=this.inputBinder)&&(jgc(b,this),lgc(b,this));this.attachEvents.emit(a.instance)};NG.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var kgc=function(a,b,c){if(a.isActivated)throw new Ac(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,g=fgc(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new mgc(b,g,d.injector),environmentInjector:null!=c?c:a.environmentInjector});a.changeDetector.markForCheck();null!=(b=a.inputBinder)&&(jgc(b,a),lgc(b,a));a.activateEvents.emit(a.activated.instance)};
wh.Object.defineProperties(NG.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 Ac(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Ac(4012,!1);return this._activatedRoute}}});
NG.\u0275fac=function(a){return new (a||NG)};NG.\u0275dir=Qc({type:NG,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ed]});var mgc=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};mgc.prototype.get=function(a,b){return a===Cm?this.route:a===LG?this.childContexts:this.parent.get(a,b)};
var ggc=new Zc(""),OG=function(){this.outletDataSubscriptions=new Map},jgc=function(a,b){var c;null==(c=a.outletDataSubscriptions.get(b))||c.unsubscribe();a.outletDataSubscriptions.delete(b)},lgc=function(a,b){var c=b.activatedRoute,d=(0,E.combineLatest)([c.queryParams,c.params,c.data]).pipe(af(function(e,g){var h=k(e);e=h.next().value;var m=h.next().value;h=h.next().value;h=Object.assign({},e,m,h);return 0===g?(0,E.of)(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&
b.activatedRoute===c&&null!==c.component){var g=cla(c.component);if(g){g=k(g.inputs);for(var h=g.next();!h.done;h=g.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else jgc(a,b)}else jgc(a,b)});a.outletDataSubscriptions.set(b,d)};OG.\u0275fac=function(a){return new (a||OG)};OG.\u0275prov=wc({token:OG,factory:OG.\u0275fac});var Dm=function(){};Dm.\u0275fac=function(a){return new (a||Dm)};Dm.\u0275cmp=Mc({type:Dm,selectors:[["ng-component"]],standalone:!0,features:[Eka],decls:1,vars:0,template:function(a){a&1&&J(0,"router-outlet")},dependencies:[NG],encapsulation:2});var ogc=function(a,b,c,d){return D(function(e){(new ngc(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},ngc=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};ngc.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;pgc(this,b,c,a);Dxa(this.futureState.root);qgc(this,b,c,a)};
var pgc=function(a,b,c,d){var e=zm(c);b.children.forEach(function(g){var h=g.value.outlet,m=e[h],r=g.value,v=m?m.value:null;r===v?r.component?(r=d.getContext(r.outlet))&&pgc(a,g,m,r.children):pgc(a,g,m,d):v&&rgc(a,m,d);delete e[h]});Object.values(e).forEach(function(g){rgc(a,g,d)})},rgc=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=zm(b);for(var e=k(Object.keys(b)),g=e.next();!g.done;g=e.next())rgc(a,b[g.value],c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},qgc=function(a,b,c,d){var e=zm(c);b.children.forEach(function(g){var h=e[g.value.outlet],m=g.value,r=h?h.value:null;Dxa(m);m===r?m.component?(m=fgc(d,m.outlet),qgc(a,g,h,m.children)):qgc(a,g,h,d):m.component?(h=fgc(d,m.outlet),r=Fm(m.snapshot),h.attachRef=null,h.route=m,h.injector=r,h.outlet&&kgc(h.outlet,m,h.injector),qgc(a,g,null,h.children)):qgc(a,g,null,d);a.forwardEvent(new bgc(g.value.snapshot))});b.children.length&&a.forwardEvent(new agc(b.value.snapshot))};var Oxa=Symbol("tc");var Qxa=function(a){this.path=a;this.route=this.path[this.path.length-1]},Rxa=function(a,b){this.component=a;this.route=b};var dya=function(a){this.segmentGroup=a||null},sgc=function(a){this.urlTree=a},tgc=function(a,b){this.urlSerializer=a;this.urlTree=b},ugc=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(0===a.numberOfChildren)return(0,E.of)(b);if(1<a.numberOfChildren||!a.children.primary)return(0,E.throwError)(new Ac(4E3,!1));a=a.children.primary}},xgc=function(a,b,c,d){var e=a.urlSerializer.parse(c);b=vgc(a,c,e.root,b,d);return new tm(b,wgc(e.queryParams,a.urlTree.queryParams),e.fragment)},wgc=function(a,
b){var c={};Object.entries(a).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;c[d]="string"===typeof e&&e.startsWith(":")?b[e.substring(1)]:e});return c},vgc=function(a,b,c,d,e){var g=ygc(c.segments,d,e),h={};Object.entries(c.children).forEach(function(m){var r=k(m);m=r.next().value;r=r.next().value;h[m]=vgc(a,b,r,d,e)});return new sm(g,h)},ygc=function(a,b,c){return a.map(function(d){if(d.path.startsWith(":")){if(d=c[d.path.substring(1)],!d)throw new Ac(4001,!1);}else a:for(var e=
0,g=k(b),h=g.next();!h.done;h=g.next()){h=h.value;if(h.path===d.path){b.splice(e);d=h;break a}e++}return d})};var fya={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var oya=function(a,b,c,d,e,g,h){this.injector=a;this.configLoader=b;this.rootComponentType=c;this.config=d;this.urlTree=e;this.paramsInheritanceStrategy=g;this.urlSerializer=h;this.allowRedirects=!0;this.applyRedirects=new tgc(this.urlSerializer,this.urlTree)};
oya.prototype.recognize=function(){var a=this,b=kya(this.urlTree.root,[],[],this.config).segmentGroup;return zgc(this,this.injector,this.config,b,"primary").pipe(Ie(function(c){if(c instanceof sgc)return a.allowRedirects=!1,a.urlTree=c.urlTree,a.match(c.urlTree);if(c instanceof dya)throw new Ac(4002,!1);throw c;}),D(function(c){var d=new Bm([],Object.freeze({}),Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,{},"primary",a.rootComponentType,null,{});c=new wxa("",new Am(d,
c));var e=a.urlTree.queryParams,g=a.urlTree.fragment;e=void 0===e?null:e;g=void 0===g?null:g;d=hxa(d);d=nxa(d,[],e,g);d.queryParams=a.urlTree.queryParams;c.url=a.urlSerializer.serialize(d);Agc(a,c._root);return{state:c,tree:d}}))};oya.prototype.match=function(a){return zgc(this,this.injector,this.config,a.root,"primary").pipe(Ie(function(b){if(b instanceof dya)throw new Ac(4002,!1);throw b;}))};
var Agc=function(a,b){var c=b.value,d=Axa(c,a.paramsInheritanceStrategy);c.params=Object.freeze(d.params);c.data=Object.freeze(d.data);b.children.forEach(function(e){return Agc(a,e)})},zgc=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d):Bgc(a,b,c,d,d.segments,e,!0)};
oya.prototype.processChildren=function(a,b,c){for(var d=this,e=[],g=k(Object.keys(c.children)),h=g.next();!h.done;h=g.next())h=h.value,"primary"===h?e.unshift(h):e.push(h);return(0,E.from)(e).pipe(xe(function(m){var r=c.children[m],v=Nxa(b,m);return zgc(d,a,v,r,m)},1),Ue(function(m,r){m.push.apply(m,ad(r));return m}),Le(null),Xia(),xe(function(m){if(null===m)return Lm(c);m=nya(m);lya(m);return(0,E.of)(m)}))};
var Bgc=function(a,b,c,d,e,g,h){return(0,E.from)(c).pipe(xe(function(m){var r;return Cgc(a,null!=(r=m._injector)?r:b,c,m,d,e,g,h).pipe(Ie(function(v){if(v instanceof dya)return(0,E.of)(null);throw v;}))},1),Re(function(m){return!!m}),Ie(function(m){if(Sxa(m))return 0!==e.length||d.children[g]?Lm(d):(0,E.of)([]);throw m;}))},Cgc=function(a,b,c,d,e,g,h,m){if((Em(d)===h||"primary"!==h&&jya(e,g,d))&&("**"===d.path||eya(e,d,g).matched))if(void 0===d.redirectTo)a=Dgc(a,b,e,d,g,h);else{var r;m&&a.allowRedirects?
r="**"===d.path?Egc(a,b,c,d,h):Fgc(a,b,e,c,d,g,h):r=Lm(e);a=r}else a=Lm(e);return a},Egc=function(a,b,c,d,e){var g=xgc(a.applyRedirects,[],d.redirectTo,{});return d.redirectTo.startsWith("/")?(0,E.throwError)(new sgc(g)):ugc(g).pipe(xe(function(h){var m=new sm(h,{});return Bgc(a,b,c,m,h,e,!1)}))},Fgc=function(a,b,c,d,e,g,h){g=eya(c,e,g);var m=g.consumedSegments,r=g.remainingSegments,v=g.positionalParamSegments;if(!g.matched)return Lm(c);g=xgc(a.applyRedirects,m,e.redirectTo,v);return e.redirectTo.startsWith("/")?
(0,E.throwError)(new sgc(g)):ugc(g).pipe(xe(function(y){return Bgc(a,b,d,c,y.concat(r),h,!1)}))},Dgc=function(a,b,c,d,e,g){var h;if("**"===d.path){var m,r=new Bm(e,0<e.length?(0<e.length?e[e.length-1]:null).parameters:{},Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},Em(d),null!=(m=null!=(h=d.component)?h:d._loadedComponent)?m:null,d,d.resolve||{});h=(0,E.of)({snapshot:r,consumedSegments:[],remainingSegments:[]});c.children={}}else h=gya(c,d,e,b).pipe(D(function(v){var y=
v.consumedSegments,A=v.remainingSegments;if(!v.matched)return null;var G,N;return{snapshot:new Bm(y,v.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},Em(d),null!=(N=null!=(G=d.component)?G:d._loadedComponent)?N:null,d,d.resolve||{}),consumedSegments:y,remainingSegments:A}}));return h.pipe(af(function(v){if(null===v)return Lm(c);var y;b=null!=(y=d._injector)?y:b;return Ggc(a,b,d,e).pipe(af(function(A){A=A.routes;var G,N=null!=(G=d._loadedInjector)?G:
b,Q=v.snapshot,Z=kya(c,v.consumedSegments,v.remainingSegments,A);G=Z.segmentGroup;Z=Z.slicedSegments;return 0===Z.length&&G.hasChildren()?a.processChildren(N,A,G).pipe(D(function(Y){return null===Y?null:[new Am(Q,Y)]})):0===A.length&&0===Z.length?(0,E.of)([new Am(Q,[])]):Bgc(a,N,A,G,Z,Em(d)===g?"primary":g,!0).pipe(D(function(Y){return[new Am(Q,Y)]}))}))}))},Ggc=function(a,b,c,d){return c.children?(0,E.of)({routes:c.children,injector:b}):c.loadChildren?void 0!==c._loadedRoutes?(0,E.of)({routes:c._loadedRoutes,
injector:c._loadedInjector}):bya(b,c,d).pipe(xe(function(e){return e?a.configLoader.loadChildren(b,c).pipe(cf(function(g){c._loadedRoutes=g.routes;c._loadedInjector=g.injector})):(0,E.throwError)(Ixa(3))})):(0,E.of)({routes:[],injector:b})};var Hgc=new Zc("ROUTES"),PG=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;Hc(ow)};
PG.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,E.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=pm(a.loadComponent()).pipe(D(wya),cf(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),Qe(function(){b.componentLoaders.delete(a)}));c=(new E.ConnectableObservable(c,function(){return new E.Subject})).pipe(ke());this.componentLoaders.set(a,
c);return c};
PG.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,E.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);var d=Igc(b.loadChildren).pipe(D(function(e){if(c.onLoadEndListener)c.onLoadEndListener(b);if(!Array.isArray(e)){var g=e.create(a).injector;e=g.get(Hgc,[],10).flat()}return{routes:e.map(Mxa),injector:g}}),Qe(function(){c.childrenLoaders.delete(b)}));d=
(new E.ConnectableObservable(d,function(){return new E.Subject})).pipe(ke());this.childrenLoaders.set(b,d);return d};var Igc=function(a){return pm(a()).pipe(D(wya),xe(function(b){return b instanceof vUb||Array.isArray(b)?(0,E.of)(b):(0,E.from)(Promise.resolve(new VUb(b)))}))};PG.\u0275fac=function(a){return new (a||PG)};PG.\u0275prov=wc({token:PG,factory:PG.\u0275fac,providedIn:"root"});var QG=function(){var a=this;this.lastSuccessfulNavigation=this.currentNavigation=null;this.events=new E.Subject;this.configLoader=Hc(PG);this.environmentInjector=Hc(Iv);this.urlSerializer=Hc(IG);this.rootContexts=Hc(LG);this.inputBindingEnabled=null!==Hc(ggc,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return(0,E.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new $fc(b))};this.configLoader.onLoadStartListener=
function(b){return a.events.next(new Zfc(b))}};QG.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var Jgc=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},Ogc=function(a,b){a.transitions=new E.BehaviorSubject({id:0,currentUrlTree:b.currentUrlTree,currentRawUrl:b.currentUrlTree,extractedUrl:b.urlHandlingStrategy.extract(b.currentUrlTree),urlAfterRedirects:b.urlHandlingStrategy.extract(b.currentUrlTree),rawUrl:b.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,
currentSnapshot:b.routerState.snapshot,targetSnapshot:null,currentRouterState:b.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null});return a.transitions.pipe(De(function(c){return 0!==c.id}),D(function(c){return Object.assign({},c,{extractedUrl:b.urlHandlingStrategy.extract(c.rawUrl)})}),af(function(c){var d=!1,e=!1;return(0,E.of)(c).pipe(cf(function(g){a.currentNavigation={id:g.id,initialUrl:g.rawUrl,extractedUrl:g.extractedUrl,trigger:g.source,
extras:g.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null}}),af(function(g){var h=b.browserUrlTree.toString();h=!b.navigated||g.extractedUrl.toString()!==h||h!==b.currentUrlTree.toString();var m,r=null!=(m=g.extras.onSameUrlNavigation)?m:b.onSameUrlNavigation;if(!h&&"reload"!==r)return a.events.next(new Qm(g.id,b.urlSerializer.serialize(c.rawUrl),"",0)),b.rawUrlTree=g.rawUrl,g.resolve(null),E.EMPTY;"imperative"!==g.source&&
(b.browserUrlTree=g.extractedUrl);return(0,E.of)(g).pipe(af(function(v){var y,A=null==(y=a.transitions)?void 0:y.getValue();a.events.next(new ln(v.id,a.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState));var G;return A!==(null==(G=a.transitions)?void 0:G.getValue())?E.EMPTY:Promise.resolve(v)}),pya(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,b.paramsInheritanceStrategy),cf(function(v){c.targetSnapshot=v.targetSnapshot;c.urlAfterRedirects=v.urlAfterRedirects;
a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:v.urlAfterRedirects});if("eager"===b.urlUpdateStrategy){if(!v.extras.skipLocationChange){var y=b.urlHandlingStrategy.merge(v.urlAfterRedirects,v.rawUrl);Kgc(b,y,v)}b.browserUrlTree=v.urlAfterRedirects}v=new Ufc(v.id,a.urlSerializer.serialize(v.extractedUrl),a.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);a.events.next(v)}))}),cf(function(g){g=new Vfc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),
g.targetSnapshot);a.events.next(g)}),D(function(g){var h=Object,m=h.assign;var r=g.currentSnapshot;var v=g.targetSnapshot._root;r=Im(v,r?r._root:null,a.rootContexts,[v.value]);return c=m.call(h,{},g,{guards:r})}),Vxa(a.environmentInjector,function(g){return a.events.next(g)}),cf(function(g){c.guardsResult=g.guardsResult;if(um(g.guardsResult))throw Jxa(g.guardsResult);g=new Wfc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot,!!g.guardsResult);
a.events.next(g)}),De(function(g){return g.guardsResult?!0:(Lgc(b,g),Mgc(a,g,3),!1)}),vya(function(g){if(g.guards.canActivateChecks.length)return(0,E.of)(g).pipe(cf(function(h){h=new Xfc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}),af(function(h){var m=!1;return(0,E.of)(h).pipe(rya(b.paramsInheritanceStrategy,a.environmentInjector),cf({next:function(){return m=!0},complete:function(){m||(Lgc(b,h),Mgc(a,h,2))}}))}),
cf(function(h){h=new Yfc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}))}),vya(function(g){var h=function(m){var r=[],v;(null==(v=m.routeConfig)?0:v.loadComponent)&&!m.routeConfig._loadedComponent&&r.push(a.configLoader.loadComponent(m.routeConfig).pipe(cf(function(A){m.component=A}),D(function(){})));v=k(m.children);for(var y=v.next();!y.done;y=v.next())r.push.apply(r,ad(h(y.value)));return r};return(0,E.combineLatest)(h(g.targetSnapshot.root)).pipe(Le(),
Oe())}),vya(function(){return a.afterPreactivation()}),D(function(g){var h=g.targetSnapshot;var m=g.currentRouterState;m=Hxa(b.routeReuseStrategy,h._root,m?m._root:void 0);h=new xxa(m,h);return c=Object.assign({},g,{targetRouterState:h})}),cf(function(g){b.currentUrlTree=g.urlAfterRedirects;b.rawUrlTree=b.urlHandlingStrategy.merge(g.urlAfterRedirects,g.rawUrl);b.routerState=g.targetRouterState;"deferred"===b.urlUpdateStrategy&&(g.extras.skipLocationChange||Kgc(b,b.rawUrlTree,g),b.browserUrlTree=g.urlAfterRedirects)}),
ogc(a.rootContexts,b.routeReuseStrategy,function(g){return a.events.next(g)},a.inputBindingEnabled),Oe(),cf({next:function(g){d=!0;a.lastSuccessfulNavigation=a.currentNavigation;b.navigated=!0;a.events.next(new Nm(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(b.currentUrlTree)));var h;null==(h=b.titleStrategy)||h.updateTitle(g.targetRouterState.snapshot);g.resolve(!0)},complete:function(){d=!0}}),Qe(function(){d||e||Mgc(a,c,1);var g;(null==(g=a.currentNavigation)?void 0:
g.id)===c.id&&(a.currentNavigation=null)}),Ie(function(g){e=!0;if(Kxa(g)){Kxa(g)&&um(g.url)||(b.navigated=!0,Lgc(b,c,!0));var h=new Om(c.id,a.urlSerializer.serialize(c.extractedUrl),g.message,g.cancellationCode);a.events.next(h);Kxa(g)&&um(g.url)?(g=b.urlHandlingStrategy.merge(g.url,b.rawUrlTree),Ngc(b,g,"imperative",null,{skipLocationChange:c.extras.skipLocationChange,replaceUrl:"eager"===b.urlUpdateStrategy||"imperative"!==c.source},{resolve:c.resolve,reject:c.reject,promise:c.promise})):c.resolve(!1)}else{Lgc(b,
c,!0);var m=new Pm(c.id,a.urlSerializer.serialize(c.extractedUrl),g,null!=(h=c.targetSnapshot)?h:void 0);a.events.next(m);try{c.resolve(b.errorHandler(g))}catch(r){c.reject(r)}}return E.EMPTY}))}))},Mgc=function(a,b,c){c=new Om(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)};wh.Object.defineProperties(QG.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});QG.\u0275fac=function(a){return new (a||QG)};
QG.\u0275prov=wc({token:QG,factory:QG.\u0275fac,providedIn:"root"});var RG=function(){},Pgc=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[Mm])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};RG.\u0275fac=function(a){return new (a||RG)};RG.\u0275prov=wc({token:RG,factory:function(){return Hc(SG)},providedIn:"root"});var SG=function(a){this.title=a};U(SG,RG);SG.prototype.updateTitle=function(a){a=Pgc(a);void 0!==a&&this.title.setTitle(a)};SG.\u0275fac=function(a){return new (a||SG)(u(oy))};
SG.\u0275prov=wc({token:SG,factory:SG.\u0275fac,providedIn:"root"});var TG=function(){};TG.\u0275fac=function(a){return new (a||TG)};TG.\u0275prov=wc({token:TG,factory:function(){return Hc(UG)},providedIn:"root"});var Qgc=function(){};Qgc.prototype.store=function(){};Qgc.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var UG=function(){};U(UG,Qgc);UG.\u0275fac=function(){var a;return function(b){return(a||(a=zd(UG)))(b||UG)}}();UG.\u0275prov=wc({token:UG,factory:UG.\u0275fac,providedIn:"root"});var Rgc=new Zc("",{providedIn:"root",factory:function(){return{}}});var Sgc=function(){};Sgc.\u0275fac=function(a){return new (a||Sgc)};Sgc.\u0275prov=wc({token:Sgc,factory:function(){return Hc(VG)},providedIn:"root"});var VG=function(){};VG.prototype.extract=function(a){return a};VG.prototype.merge=function(a){return a};VG.\u0275fac=function(a){return new (a||VG)};VG.\u0275prov=wc({token:VG,factory:VG.\u0275fac,providedIn:"root"});var Tgc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ugc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},WG=function(){var a=this;this.disposed=!1;this.currentPageId=0;this.console=Hc(Uv);this.options=Hc(Rgc,{optional:!0})||{};this.pendingTasks=Hc(nw);this.errorHandler=this.options.errorHandler||yya;this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||zya;this.navigated=!1;this.lastSuccessfulId=-1;this.urlHandlingStrategy=
Hc(Sgc);this.routeReuseStrategy=Hc(TG);this.titleStrategy=Hc(RG);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";var b,c;this.config=null!=(c=null==(b=Hc(Hgc,{optional:!0}))?void 0:b.flat())?c:[];this.navigationTransitions=Hc(QG);this.urlSerializer=
Hc(IG);this.location=Hc(jx);Hc(ggc,{optional:!0});Hc(ef)instanceof ef&&xja();this.config=this.config.map(Mxa);this.navigated=!1;this.lastSuccessfulId=-1;this.browserUrlTree=this.rawUrlTree=this.currentUrlTree=new tm;this.routerState=yxa();Ogc(this.navigationTransitions,this).subscribe(function(d){a.lastSuccessfulId=d.id;var e;a.currentPageId=null!=(e=a.browserPageId)?e:0},function(d){a.console.warn("Unhandled Navigation Error: "+d)})};
WG.prototype.initialNavigation=function(){Vgc(this);if(!this.navigationTransitions.hasRequestedNavigation){var a=this.location.getState();Wgc(this,this.location.path(!0),"imperative",a)}};
var Vgc=function(a){a.locationSubscription||(a.locationSubscription=a.location.subscribe(function(b){var c="popstate"===b.type?"popstate":"hashchange";"popstate"===c&&setTimeout(function(){Wgc(a,b.url,c,b.state)},0)}))},Wgc=function(a,b,c,d){var e={replaceUrl:!0},g=(null==d?0:d.navigationId)?d:null;d&&(d=Object.assign({},d),delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(e.state=d));b=Xgc(a,b);Ngc(a,b,c,g,e)};WG.prototype.ngOnDestroy=function(){this.dispose()};
WG.prototype.dispose=function(){this.navigationTransitions.complete();this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0);this.disposed=!0};
var XG=function(a,b,c){var d=c=void 0===c?{}:c;c=d.relativeTo;var e=d.queryParams,g=d.fragment;g=d.preserveFragment?a.currentUrlTree.fragment:g;switch(d.queryParamsHandling){case "merge":d=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":d=a.currentUrlTree.queryParams;break;default:d=e||null}null!==d&&(d=Ygc(d));try{var h=hxa(c?c.snapshot:a.routerState.snapshot.root)}catch(m){"string"===typeof b[0]&&b[0].startsWith("/")||(b=[]),h=a.currentUrlTree.root}return nxa(h,b,d,null!=
g?g:null)},Ks=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=um(b)?b:Xgc(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return Ngc(a,b,"imperative",null,c)};WG.prototype.navigate=function(a,b){b=void 0===b?{skipLocationChange:!1}:b;for(var c=0;c<a.length;c++)if(null==a[c])throw new Ac(4008,!1);return Ks(this,XG(this,a,b),b)};var Xgc=function(a,b){try{var c=a.urlSerializer.parse(b)}catch(d){c=a.malformedUriErrorHandler(d,a.urlSerializer,b)}return c};
WG.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},Tgc):!1===b?c=Object.assign({},Ugc):c=b;if(um(a))return Pwa(this.currentUrlTree,a,c);a=Xgc(this,a);return Pwa(this.currentUrlTree,a,c)};
var Ygc=function(a){return Object.keys(a).reduce(function(b,c){var d=a[c];null!==d&&void 0!==d&&(b[c]=d);return b},{})},Ngc=function(a,b,c,d,e,g){if(a.disposed)return Promise.resolve(!1);if(g){var h=g.resolve;var m=g.reject;g=g.promise}else g=new Promise(function(v,y){h=v;m=y});var r=a.pendingTasks.add();xya(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(r)})});Jgc(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,currentRawUrl:a.currentUrlTree,
rawUrl:b,extras:e,resolve:h,reject:m,promise:g,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return g.catch(function(v){return Promise.reject(v)})},Kgc=function(a,b,c){b=a.urlSerializer.serialize(b);var d=a.location;var e=void 0===e?"":e;if(d.path()==d.normalize(b+ug(e))||c.extras.replaceUrl){var g=Object.assign({},c.extras.state,Zgc(a,c.id,a.browserPageId));a.location.replaceState(b,"",g)}else c=Object.assign({},c.extras.state,Zgc(a,c.id,(null!=(g=a.browserPageId)?g:0)+
1)),a.location.go(b,"",c)},Lgc=function(a,b,c){c=void 0===c?!1:c;if("computed"===a.canceledNavigationResolution){var d;c=null!=(d=a.browserPageId)?d:a.currentPageId;d=a.currentPageId-c;if(0!==d)a.location.historyGo(d);else{var e;a.currentUrlTree===(null==(e=a.navigationTransitions.currentNavigation)?void 0:e.finalUrl)&&0===d&&(a.resetState(b),a.browserUrlTree=b.currentUrlTree,$gc(a))}}else"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),$gc(a))};
WG.prototype.resetState=function(a){this.routerState=a.currentRouterState;this.currentUrlTree=a.currentUrlTree;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)};var $gc=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",Zgc(a,a.lastSuccessfulId,a.currentPageId))},Zgc=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
wh.Object.defineProperties(WG.prototype,{navigationId:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.navigationId}},browserPageId:{configurable:!0,enumerable:!0,get:function(){if("computed"===this.canceledNavigationResolution){var a;return null==(a=this.location.getState())?void 0:a.\u0275routerPageId}}},events:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.events}},url:{configurable:!0,enumerable:!0,get:function(){return this.urlSerializer.serialize(this.currentUrlTree)}},
lastSuccessfulNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.lastSuccessfulNavigation}}});WG.\u0275fac=function(a){return new (a||WG)};WG.\u0275prov=wc({token:WG,factory:WG.\u0275fac,providedIn:"root"});var YG=function(a,b,c,d,e,g){var h=this;this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=g;this.commands=this.href=null;this.onChanges=new E.Subject;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;var m;b=null==(m=e.nativeElement.tagName)?void 0:m.toLowerCase();(this.isAnchorElement="a"===b||"area"===b)?this.subscription=a.events.subscribe(function(r){r instanceof Nm&&ahc(h)}):bhc(this,"0")},bhc=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||chc(a,"tabindex",b)};YG.prototype.ngOnChanges=function(){this.isAnchorElement&&ahc(this);this.onChanges.next(this)};YG.prototype.onClick=function(a,b,c,d,e){if(null===this.urlTree||this.isAnchorElement&&(0!==a||b||c||d||e||"string"===typeof this.target&&"_self"!=this.target))return!0;Ks(this.router,this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state});return!this.isAnchorElement};
YG.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var ahc=function(a){var b;a.href=null!==a.urlTree&&a.locationStrategy?null==(b=a.locationStrategy)?void 0:b.prepareExternalUrl(a.router.urlSerializer.serialize(a.urlTree)):null;null===a.href?b=null:(b=a.el.nativeElement.tagName.toLowerCase(),b=("base"===b||"link"===b?Bga:Sd)(a.href));chc(a,"href",b)},chc=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
wh.Object.defineProperties(YG.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=a?(this.commands=Array.isArray(a)?a:[a],bhc(this,"0")):(this.commands=null,bhc(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:XG(this.router,this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}});
YG.\u0275fac=function(a){return new (a||YG)(C(WG),C(Cm),ud("tabindex"),C(Pv),C(Bd),C(gx))};
YG.\u0275dir=Qc({type:YG,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&&pf("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",jg],skipLocationChange:["skipLocationChange","skipLocationChange",jg],replaceUrl:["replaceUrl",
"replaceUrl",jg],routerLink:"routerLink"},standalone:!0,features:[function(a){var b=a.inputConfig,c={},d;for(d in b)if(b.hasOwnProperty(d)){var e=b[d];Array.isArray(e)&&e[2]&&(c[d]=e[2])}a.inputTransforms=c},ed]});var ZG=function(a,b,c,d,e){var g=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 pw;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof Nm&&g.update()})};ZG.prototype.ngAfterContentInit=function(){var a=this;(0,E.of)(this.links.changes,(0,E.of)(null)).pipe(ye()).subscribe(function(){a.update();dhc(a)})};
var dhc=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(ad(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,E.from)(b).pipe(ye()).subscribe(function(c){a._isActive!==ehc(a,a.router)(c)&&a.update()})};ZG.prototype.ngOnChanges=function(){this.update()};
ZG.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
ZG.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=fhc(a);a._isActive!==b&&(a._isActive=b,a.cdr.markForCheck(),a.classes.forEach(function(c){b?a.renderer.addClass(a.element.nativeElement,c):a.renderer.removeClass(a.element.nativeElement,c)}),b&&void 0!==a.ariaCurrentWhenActive?a.renderer.setAttribute(a.element.nativeElement,"aria-current",a.ariaCurrentWhenActive.toString()):a.renderer.removeAttribute(a.element.nativeElement,"aria-current"),
a.isActiveChange.emit(b))})};var ehc=function(a,b){var c=a.routerLinkActiveOptions.paths?a.routerLinkActiveOptions:a.routerLinkActiveOptions.exact||!1;return function(d){return d.urlTree?b.isActive(d.urlTree,c):!1}},fhc=function(a){var b=ehc(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
wh.Object.defineProperties(ZG.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})}}});ZG.\u0275fac=function(a){return new (a||ZG)(C(WG),C(Bd),C(Pv),C(Hw),C(YG,8))};
ZG.\u0275dir=Qc({type:ZG,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&dg(c,YG,5);if(a&2){var d;bg(d=eg())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[ed]});var ghc=function(){},$G=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},hhc=function(a){a.subscription=a.router.events.pipe(De(function(b){return b instanceof Nm}),xe(function(){return a.preload()},1)).subscribe(function(){})};$G.prototype.preload=function(){return ihc(this,this.injector,this.router.config)};$G.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var ihc=function(a,b,c){var d=[];c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=kha(e.providers,b,"Route: "+e.path));var g=void 0,h=null!=(g=e._injector)?g:b,m=void 0;g=null!=(m=e._loadedInjector)?m:h;(e.loadChildren&&!e._loadedRoutes&&void 0===e.canLoad||e.loadComponent&&!e._loadedComponent)&&d.push(jhc(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(ihc(a,g,null!=(h=e.children)?h:e._loadedRoutes))}return(0,E.from)(d).pipe(ye())},jhc=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&void 0===c.canLoad?a.loader.loadChildren(b,c):(0,E.of)(null)).pipe(xe(function(g){if(null===g)return(0,E.of)(void 0);c._loadedRoutes=g.routes;c._loadedInjector=g.injector;var h;return ihc(a,null!=(h=g.injector)?h:b,g.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,E.from)([d,e]).pipe(ye())}return d})};$G.\u0275fac=function(a){return new (a||$G)(u(WG),u(ow),u(Iv),u(ghc),u(PG))};
$G.\u0275prov=wc({token:$G,factory:$G.\u0275fac,providedIn:"root"});var khc=new Zc(""),aH=function(a,b,c,d,e){e=void 0===e?{}: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={};e.scrollPositionRestoration=e.scrollPositionRestoration||"disabled";e.anchorScrolling=e.anchorScrolling||"disabled"};
aH.prototype.init=function(){if("disabled"!==this.options.scrollPositionRestoration){var a=this.viewportScroller;kXb(a)&&(a.window.history.scrollRestoration="manual")}this.routerEventsSubscription=lhc(this);this.scrollEventsSubscription=mhc(this)};
var lhc=function(a){return a.transitions.events.subscribe(function(b){b instanceof ln?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof Nm?(a.lastId=b.id,nhc(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof Qm&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,nhc(a,a.urlSerializer.parse(b.url).fragment))})},mhc=function(a){return a.transitions.events.subscribe(function(b){if(b instanceof
cgc)if(b.position)"top"===a.options.scrollPositionRestoration?lXb(a.viewportScroller,[0,0]):"enabled"===a.options.scrollPositionRestoration&&lXb(a.viewportScroller,b.position);else if(b.anchor&&"enabled"===a.options.anchorScrolling){var c=a.viewportScroller;if(kXb(c)){a:{var d=c.document;b=b.anchor;var e=d.getElementById(b)||d.getElementsByName(b)[0];if(e)b=e;else{if("function"===typeof d.createTreeWalker&&d.body&&"function"===typeof d.body.attachShadow)for(d=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT),
e=d.currentNode;e;){if(e=e.shadowRoot)if(e=e.getElementById(b)||e.querySelector('[name="'+b+'"]')){b=e;break a}e=d.nextNode()}b=null}}if(b){e=b.getBoundingClientRect();d=e.left+c.window.pageXOffset;e=e.top+c.window.pageYOffset;var g=c.offset();c.window.scrollTo(d-g[0],e-g[1]);b.focus()}}}else"disabled"!==a.options.scrollPositionRestoration&&lXb(a.viewportScroller,[0,0])})},nhc=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new cgc("popstate"===
a.lastSource?a.store[a.restoredId]:null,b))})},0)})};aH.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};aH.\u0275fac=function(){Fd()};aH.\u0275prov=wc({token:aH,factory:aH.\u0275fac});new Zc("",{providedIn:"root",factory:function(){return!1}});var ohc=new Zc("",{factory:function(){return new E.Subject}}),phc=new Zc("",{providedIn:"root",factory:function(){return 1}}),qhc=new Zc("");var rhc=new Zc("ROUTER_FORROOT_GUARD"),shc=[jx,{provide:IG,useClass:Mfc},WG,LG,{provide:Cm,useFactory:function(a){return a.routerState.root},deps:[WG]},PG,[]],bH=function(){};bH.\u0275fac=function(a){return new (a||bH)(u(rhc,8))};bH.\u0275mod=Oc({type:bH});bH.\u0275inj=xc({});var thc=new Zc("");new Rv;var cH=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new Jfc(function(){return!e.router.navigationTransitions.currentNavigation})};f=cH.prototype;f.absUrl=function(){return this.platformLocation.href};f.hash=function(a,b){"undefined"!==typeof a&&this.setHash(null!=a?a:"",b);return this.getHash()};f.getHash=function(){var a;return null!=(a=this.activatedRoute.snapshot.fragment)?a:""};
f.setHash=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([],{fragment:a,replaceUrl:b})})};f.path=function(a,b){"undefined"!==typeof a&&this.setPath(a,b);return this.getPath()};var uhc=function(a,b){a.path(b,!0)};f=cH.prototype;f.getPath=function(){var a=k(this.location.path().split("?")).next().value;return k(a.split("#")).next().value};
f.setPath=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};f.search=function(a,b,c){"undefined"!==typeof a&&this.setSearch(a,b,c);return this.getSearch()};f.getSearch=function(){return Bya(this.activatedRoute.snapshot.queryParamMap)};
f.setSearch=function(a,b,c){var d=this;c=void 0===c?!1:c;this.addTask(function(){var e={};d.router.navigate([],{relativeTo:d.activatedRoute,queryParams:(e[a]=b,e),queryParamsHandling:"merge",replaceUrl:c})})};f.url=function(a,b){return"undefined"===typeof a?this.getUrl():this.setUrl(a,b)};f.replaceUrl=function(a){return this.url(a,!0)};f.setUrl=function(a,b){var c=this;b=void 0===b?!1:b;return new Promise(function(d,e){c.addTask(function(){Ks(c.router,a,{replaceUrl:b}).then(d).catch(e)})})};
f.getUrl=function(){return this.location.path(!0)};f.addTask=function(a){this.scheduler.addTask(a)};cH.\u0275fac=function(a){return new (a||cH)(u(jx),u(ex),u(Cm),u(WG))};cH.\u0275prov=wc({token:cH,factory:cH.\u0275fac,providedIn:"root"});var dH=function(a){this.bLocation=a};f=dH.prototype;f.createIssue=function(a){return lm("issues/new",{params:a})};f.editIssue=function(a,b){return jm(a,b)};f.listIssues=function(a){return mm(a)};f.needsAttention=function(){return"attention"};f.viewSavedSearch=function(a){return im("savedsearches/:savedSearchId",{id:a,params:void 0})};
var vhc=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;return a.bLocation.path()===b},whc=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.url();a=new lp(a);b=new lp(b);return a.getPath()===b.getPath()&&fD(a.queryData_.toString())===fD(b.queryData_.toString())};f=dH.prototype;f.viewHotlist=function(a){return im("hotlists/:hotlistId",{id:a})};f.editHotlist=function(a){return lm("hotlists/:hotlistId/edit",{id:a,tab:void 0})};f.createHotlist=function(){return"hotlists/new"};f.createBookmarkGroup=function(){return"bookmark-groups/new"};
f.viewBookmarkGroup=function(a){return im("bookmark-groups/:groupId",{id:a})};f.editBookmarkGroup=function(a){return lm("bookmark-groups/:groupId/edit",{id:a})};f.editSavedSearch=function(a){return lm("savedsearches/:savedSearchId/edit",{id:a})};f.dashboard=function(a){return lm("dashboard/:groupId",{id:a})};f.issuesCsvAction=function(a,b,c,d,e){c=Bwa(c);d=Cwa(d);return MB("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)};
f.hotlistIssuesCsvAction=function(a,b,c,d,e){a="action/hotlists/"+a+"/issues/csv";c=Bwa(c);(d=Cwa(d))&&(d="position,"+d);return MB(a,"trackerIds",b,"s",c,"c",d,"h",e)};f.toApiSortParamValue=function(a){return Bwa(a)};f.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};f.listComponents=function(){return lm("components",{params:void 0})};f.viewComponent=function(a,b){return im("components/:componentId",{id:a,tab:b})};
f.manageComponent=function(a,b){return Dwa(a,b)};f.createComponent=function(a){return lm("components/new",{params:a})};f.editComponent=function(a,b){return lm("components/:componentId/edit",{id:a,tab:b})};f.createSlo=function(){return lm("slos/new",{params:void 0})};f.editSlo=function(a){return Kwa(a).path};f.listSlos=function(){return lm("slos",{params:void 0})};
f.getBaseUrl=function(){var a=this.bLocation.absUrl();a=a.slice(0,a.length-this.bLocation.url().length);"/"===a.charAt(a.length-1)&&(a=a.slice(0,a.length-1));return a};f.listHotlists=function(){return"hotlists"};f.settings=function(a){return Ewa(a)};dH.\u0275fac=function(a){return new (a||dH)(u(cH))};dH.\u0275prov=wc({token:dH,factory:dH.\u0275fac,providedIn:"root"});var xhc=function(a,b){this.childIterator_=a[ba.Symbol.iterator]();this.mapFn_=b};xhc.prototype[Symbol.iterator]=function(){return this};xhc.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 yhc=function(a,b){return new xhc(a,b)};var eH=function(){};eH.prototype.next=function(){return zhc};var zhc={done:!0,value:void 0};eH.prototype.__iterator__=function(){return this};var Ahc=function(a){if(a instanceof fH||a instanceof gH||a instanceof hH)return a;if("function"==typeof a.next)return new fH(function(){return a});if("function"==typeof a[Symbol.iterator])return new fH(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new fH(function(){return a.__iterator__()});throw Error("uc");},fH=function(a){this.func_=a};fH.prototype.__iterator__=function(){return new gH(this.func_())};fH.prototype[Symbol.iterator]=function(){return new hH(this.func_())};
fH.prototype.toEs6=function(){return new hH(this.func_())};var gH=function(a){this.iter_=a};U(gH,eH);gH.prototype.next=function(){return this.iter_.next()};gH.prototype[Symbol.iterator]=function(){return new hH(this.iter_)};gH.prototype.toEs6=function(){return new hH(this.iter_)};var hH=function(a){fH.call(this,function(){return a});this.iter_=a};U(hH,fH);hH.prototype.next=function(){return this.iter_.next()};var iH=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){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)};f=iH.prototype;f.getCount=function(){return this.size};f.getValues=function(){jH(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};f.getKeys=function(){jH(this);return this.keys_.concat()};f.containsKey=function(a){return this.has(a)};
f.has=function(a){return kH(this.map_,a)};f.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(kH(this.map_,c)&&this.map_[c]==a)return!0}return!1};f.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||Bhc;jH(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Bhc=function(a,b){return a===b};iH.prototype.isEmpty=function(){return 0==this.size};
iH.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};iH.prototype.remove=function(a){return this.delete(a)};iH.prototype.delete=function(a){return kH(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&jH(this),!0):!1};
var jH=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];kH(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],kH(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};f=iH.prototype;f.get=function(a,b){return kH(this.map_,a)?this.map_[a]:b};f.set=function(a,b){kH(this.map_,a)||(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_++);this.map_[a]=b};
f.addAll=function(a){if(a instanceof iH)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])};f.forEach=function(a,b){for(var c=this.getKeys(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone=function(){return new iH(this)};f.transpose=function(){for(var a=new iH,b=0;b<this.keys_.length;b++){var c=this.keys_[b];a.set(this.map_[c],c)}return a};
f.toObject=function(){jH(this);for(var a={},b=0;b<this.keys_.length;b++){var c=this.keys_[b];a[c]=this.map_[c]}return a};f.keys=function(){return Ahc(this.__iterator__(!0)).toEs6()};f.values=function(){return Ahc(this.__iterator__(!1)).toEs6()};f.entries=function(){var a=this;return yhc(this.keys(),function(b){return[b,a.get(b)]})};
f.__iterator__=function(a){jH(this);var b=0,c=this.version_,d=this,e=new eH;e.next=function(){if(c!=d.version_)throw Error("vc");if(b>=d.keys_.length)return zhc;var g=d.keys_[b++];return{value:a?g:d.map_[g],done:!1}};return e};f.setSizeInternal_=function(a){this.size=a};var kH=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var lH=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new iH;this.head_=new Chc("");this.head_.next=this.head_.prev=this.head_},Ehc=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),Dhc(a,b));return b};lH.prototype.get=function(a,b){return(a=Ehc(this,a))?a.value:b};var Fhc=function(a,b){return(a=a.map_.get(b))?a.value:void 0};f=lH.prototype;f.set=function(a,b){var c=Ehc(this,a);c?c.value=b:(c=new Chc(a,b),this.map_.set(a,c),Dhc(this,c))};
f.shift=function(){return Ghc(this,this.head_.next)};f.pop=function(){return Ghc(this,this.head_.prev)};f.remove=function(a){return(a=this.map_.get(a))?(this.removeNode(a),!0):!1};f.removeNode=function(a){a.remove();this.map_.remove(a.key)};f.getCount=function(){return this.map_.getCount()};f.isEmpty=function(){return this.map_.isEmpty()};f.getKeys=function(){return this.map(function(a,b){return b})};f.getValues=function(){return this.map(function(a){return a})};
f.contains=function(a){return this.some(function(b){return b==a})};f.containsKey=function(a){return this.map_.containsKey(a)};f.clear=function(){Hhc(this,0)};f.forEach=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)a.call(b,c.value,c.key,this)};f.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};f.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};
f.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 Dhc=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);null!=a.maxCount_&&Hhc(a,a.maxCount_)},Hhc=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)}},Ghc=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},Chc=function(a,b){this.key=a;this.value=b};
Chc.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var mH=function(){this.caches=new Map};mH.prototype.create=function(a,b){if(this.caches.has(a))throw Error("wc`"+a);b=new Ihc(null==b?void 0:b.capacity);this.caches.set(a,b);return b};mH.prototype.get=function(a){return this.caches.get(a)};mH.\u0275fac=function(a){return new (a||mH)};mH.\u0275prov=wc({token:mH,factory:mH.\u0275fac,providedIn:"root"});var Ihc=function(a){this.lruCache=new lH(a,!0)};Ihc.prototype.get=function(a){return this.lruCache.get(a)};
Ihc.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};Ihc.prototype.remove=function(a){this.lruCache.remove(a)};Ihc.prototype.removeAll=function(){this.lruCache.clear()};var Rm=function(a){this.internalArray_=l(a)};U(Rm,q);f=Rm.prototype;f.getType=function(){return aj(this,1,0)};f.setType=function(a){return cj(this,1,a)};f.hasType=function(){return tj(this,1)};f.getCustomFieldId=function(){return Ki(this,2)};f.setCustomFieldId=function(a){cj(this,2,a)};f.hasCustomFieldId=function(){return Ji(this,2)};f.toObject=function(){return Jhc(this)};var Jhc=function(a){if(null!=a)return t(a),{type:n(p(a,1)),customFieldId:n(p(a,2))}};var Sm=function(a){this.internalArray_=l(a)};U(Sm,q);f=Sm.prototype;f.getField=function(){return W(this,Rm,1)};f.setField=function(a){lj(this,Rm,1,a)};f.getDirection=function(){return aj(this,2,0)};f.setDirection=function(a){return cj(this,2,a)};f.toObject=function(){return Khc(this)};var Khc=function(a){if(null!=a)return t(a),{field:Jhc(a.getField()),direction:n(p(a,2))}};var nH={},Iya=(nH[0]="",nH[1]="issue_id",nH[3]="type",nH[4]="status",nH[5]="priority",nH[6]="severity",nH[18]="title",nH[15]="modified_time",nH[14]="created_time",nH[17]="verified_time",nH[16]="resolved_time",nH[38]="deletion_time",nH[13]="blocked_by_issue_ids",nH[12]="blocking_issue_ids",nH[26]="vote_count",nH[28]="cc_count",nH[44]="collaborators_count",nH[2]="component_path",nH[27]="duplicate_count",nH[10]="ccs",nH[43]="collaborators",nH[11]="code_changes",nH[33]="postmortems",nH[8]="assignee",
nH[9]="verifier",nH[7]="reporter",nH[19]="found_in_versions",nH[20]="targeted_to_versions",nH[21]="verified_in_versions",nH[22]="in_prod",nH[30]="last_modifier",nH[25]="position",nH[24]="custom_field",nH[29]="modified_by",nH[31]="archived",nH[32]="canonical_issue_id",nH[34]="min_slo",nH[35]="assignment_slo",nH[36]="response_slo",nH[37]="closure_slo",nH[39]="team",nH[40]="estimate",nH[41]="estimate_total_open",nH[42]="estimate_total_complete",nH[23]="duplicate_of_issue_id",nH),oH={},Kya=(oH[""]=0,
oH.issue_id=1,oH.type=3,oH.status=4,oH.priority=5,oH.severity=6,oH.title=18,oH.modified_time=15,oH.created_time=14,oH.verified_time=17,oH.resolved_time=16,oH.deletion_time=38,oH.blocked_by_issue_ids=13,oH.blocking_issue_ids=12,oH.vote_count=26,oH.cc_count=28,oH.collaborators_count=44,oH.component_path=2,oH.duplicate_count=27,oH.ccs=10,oH.collaborators=43,oH.code_changes=11,oH.postmortems=33,oH.assignee=8,oH.verifier=9,oH.reporter=7,oH.found_in_versions=19,oH.targeted_to_versions=20,oH.verified_in_versions=
21,oH.in_prod=22,oH.last_modifier=30,oH.position=25,oH.custom_field=24,oH.modified_by=29,oH.archived=31,oH.canonical_issue_id=32,oH.min_slo=34,oH.assignment_slo=35,oH.response_slo=36,oH.closure_slo=37,oH.team=39,oH.estimate=40,oH.estimate_total_open=41,oH.estimate_total_complete=42,oH.duplicate_of_issue_id=23,oH);var Tm=function(a){this.internalArray_=l(a)};U(Tm,q);Tm.prototype.getDisplayColumns=function(){return Lt(this,1)};Tm.prototype.setDisplayColumns=function(a){Ot(this,1,a)};Tm.repeatedFields_=[1];Tm.prototype.toObject=function(){return Lhc(this)};var Lhc=function(a){if(null!=a)return t(a),{displayColumnsList:n(Xh(a,1))}};var Mhc={clear:function(){},getItem:function(){},removeItem:function(){},setItem:function(){}},Um=window.localStorage||Mhc,Nhc=function(a){return function(){var b=Um.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},Ohc=function(a){return function(){var b=Um.getItem(a);if(null!=b)return String(b)}},Phc=function(a){return function(b){null==b?Um.removeItem(a):Um.setItem(a,String(b))}},Qhc=function(a){return function(b){null==b?Um.removeItem(a):Um.setItem(a,b)}},Rhc=function(a){return function(){var b=
Vm(a)();Qya(a)(!b);return!b}},Np=function(a){return function(){var b=Um.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+a+")"),console.warn(c)}}},yp=function(a){return function(b){null==b?Um.removeItem(a):Um.setItem(a,JSON.stringify(b))}};var Rya=Vm("lean-fe-debug-logging");var Xm=function(a){this.internalArray_=l(a,0,Xm.messageId)};U(Xm,q);f=Xm.prototype;f.getHotlistId=function(){return Ki(this,1)};f.setHotlistId=function(a){return cj(this,1,a)};f.getName=function(){return V(this,3)};f.setName=function(a){return uk(this,3,a)};f.hasName=function(){return Jk(this,3)};f.getNameOrUndefined=function(){return Tt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return uk(this,4,a)};f.hasDescription=function(){return Jk(this,4)};
f.getArchived=function(){return Vj(this,6)};f.setArchived=function(a){return Xj(this,6,a)};f.getDisplayColumnList=function(){return oj(this,Rm,8)};f.setDisplayColumnList=function(a){rj(this,8,a)};f.getSortOrderList=function(){return oj(this,Sm,9)};f.setSortOrderList=function(a){rj(this,9,a)};f.getCreatedTimeMicros=function(){return uj(this,10)};f.setCreatedTimeMicros=function(a){cj(this,10,a)};f.getModifiedTimeMicros=function(){return uj(this,11)};f.setModifiedTimeMicros=function(a){cj(this,11,a)};
f.getAdminUsersList=function(){return oj(this,vi,14)};f.setAdminUsersList=function(a){rj(this,14,a)};f.getEtag=function(){return V(this,15)};f.setEtag=function(a){uk(this,15,a)};f.hasEtag=function(){return Jk(this,15)};Xm.repeatedFields_=[8,9,14];Xm.prototype.toObject=function(){return Shc(this)};
var Shc=function(a){if(null!=a)return t(a),{hotlistId:n(p(a,1)),name:n(X(a,3)),description:n(X(a,4)),archived:n(Ur(a,6)),displayColumnList:Ub(a.getDisplayColumnList(),Jhc),displayColumnIt:Lhc(W(a,Tm,17)),sortOrderList:Ub(a.getSortOrderList(),Khc),sortOrderIt:n(X(a,16)),createdTimeMicros:n(p(a,10)),modifiedTimeMicros:n(p(a,11)),adminUsersList:Ub(a.getAdminUsersList(),ED),etag:n(X(a,15))}};Xm.messageId="b.Hotlist";var Tya=Wm("enableLeanFeB");var Thc=RegExp("action/issues/([0-9]+)/"),Uhc=new Zc("ETAG_URL_TRANSFORMERS"),Vhc=["POST","PUT","DELETE"],pH=function(a){this.etagStore=a};pH.prototype.intercept=function(a,b){var c;if(Vhc.includes(a.method)){var d=this.etagStore.getEtag(a);d&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",d)}))}(d=Thc.exec(a.url))&&(c=d[1]);return Whc(this,a,b,c)};
var Whc=function(a,b,c,d){return c.handle(b).pipe(cf(function(e){if(e instanceof ty){var g=e.headers;g.has("etag")&&a.etagStore.setEtag(b,g.get("etag"));e=e.body;if(e instanceof TE&&d)for(e=k(oj(e,zk,1)),g=e.next();!g.done;g=e.next()){g=k(g.value.getAttachmentsList());for(var h=g.next();!h.done;h=g.next())if(h=h.value,h.hasEtag()){var m=h.getAttachmentId();m=new ry("GET","action/issues/"+d+"/attachments/"+m);a.etagStore.setEtag(m,h.getEtag())}}}}))};pH.\u0275fac=function(a){return new (a||pH)(u(qH))};
pH.\u0275prov=wc({token:pH,factory:pH.\u0275fac,providedIn:"root"});var qH=function(a){this.transformers=a;this.etagStore={}};qH.prototype.setEtag=function(a,b){null!=b&&(a=Xhc(this,a.url),this.etagStore[a]=b)};qH.prototype.getEtag=function(a){a=Xhc(this,a.url);return this.etagStore[a]};var Xhc=function(a,b){var c;a=k(null!=(c=a.transformers)?c:[]);for(c=a.next();!c.done;c=a.next())if(c=c.value,(c=c(b))&&c!==b)return c;return b};qH.\u0275fac=function(a){return new (a||qH)(u(Uhc,8))};
qH.\u0275prov=wc({token:qH,factory:qH.\u0275fac,providedIn:"root"});var Yhc={provide:JYb,useClass:pH,multi:!0};var rH=function(a){this.internalArray_=l(a,0,rH.messageId)};U(rH,q);rH.prototype.getHotlistsList=function(){return oj(this,Xm,1)};rH.repeatedFields_=[1];rH.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistsList:Ub(this.getHotlistsList(),Shc)}}else a=void 0;return a};rH.messageId="b.ListHotlistsResponse";var sH=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};f=sH.prototype;f.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};f.repositionHotlistIssue=function(a,b,c){return this.hotlistApi.repositionHotlistIssue(a,b,c)};f.createHotlist=function(a,b){return this.hotlistApi.createHotlist(a,b)};f.queryHotlists=function(a){return this.hotlistApi.queryHotlists(a)};
f.archiveHotlist=function(a,b){return this.hotlistApi.archiveHotlist(a,b)};f.updateMetadata=function(a,b){return this.hotlistApi.updateMetadata(a,b)};f.getPagedHotlistContent=function(a,b,c,d,e){return this.hotlistApi.getPagedHotlistContent(a,b,c,d,e)};sH.\u0275fac=function(a){return new (a||sH)(u(mH),u(tH))};sH.\u0275prov=wc({token:sH,factory:sH.\u0275fac,providedIn:"root"});var uH=function(a,b){this.executor=a;this.etagStore=b;this.bufferTimeMs=50};
uH.prototype.call=function(a){a=Array.from(a).map(String);return 0===a.length?(0,E.of)(new Map):1===a.length?this.executor.get({url:"action/hotlists/"+a[0],responseConstructor:Xm}).pipe(D(function(b){var c=new Map;c.set(b.getHotlistId(),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:rH,options:{params:{id:a}}}).pipe(D(function(b){var c=new Map;b=k(b.getHotlistsList());for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(d.getHotlistId(),d);return c}))};
uH.prototype.split=function(a,b){if(b=b.get(a)){var c=b.getEtag();if(c){var d=this.etagStore;null!=c&&(a=Xhc(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};uH.\u0275fac=function(a){return new (a||uH)(u(wD),u(qH))};uH.\u0275prov=wc({token:uH,factory:uH.\u0275fac,providedIn:"root"});var vH=function(a,b,c,d){this.paths=a;this.executor=b;this.batchApiConfig=c;this.batchApiAdapter=d;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};f=vH.prototype;
f.get=function(a){var b=this;return this.adaptedGet(String(a)).pipe(af(function(c){return c?(0,E.of)(c):b.executor.get({url:"action/hotlists/"+a,responseConstructor:Xm})}),D(Ym))};f.bulkLoad=function(a){var b=this;return 0===a.length?(0,E.of)([]):(0,E.forkJoin)(a.map(function(c){return b.adaptedGet(String(c)).pipe(D(function(d){if(d)return Ym(d)}))})).pipe(D(function(c){return c.filter(Ei)}))};
f.repositionHotlistIssue=function(a,b,c){var d=new Gj;d.setIssueId(b);d.setPosition(c);return this.executor.put({url:"action/hotlists/"+a+"/issues",body:d,responseConstructor:null})};f.createHotlist=function(a,b){var c=new Xm;c.setName(a);b&&c.setDescription(b);return this.executor.post({url:"action/hotlists",body:c,responseConstructor:Xm}).pipe(D(Ym))};
f.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:rH,options:{params:{q:a}}}).pipe(D(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(Ym)}))};f.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:Uya(b),responseConstructor:Xm}).pipe(D(Ym))};
f.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:Uya(b),options:{headers:c},responseConstructor:Xm}).pipe(D(Ym))};f.getPagedHotlistContent=function(a,b,c,d,e){b={p:String(b),count:String(c)};if(d=this.paths.toApiSortParamValue(d))b.s=d;e&&(b.trackerIds=e);return this.executor.get({url:"action/hotlists/"+a+"/issues",options:{params:Object.assign({},b)},responseConstructor:SE}).pipe(D(Mta))};
vH.\u0275fac=function(a){return new (a||vH)(u(dH),u(wD),u(uH),u(KF))};vH.\u0275prov=wc({token:vH,factory:vH.\u0275fac,providedIn:"root"});var tH=function(a){this.observableApi=a};f=tH.prototype;f.get=function(a){return(0,E.firstValueFrom)(this.observableApi.get(a))};f.bulkLoad=function(a){return(0,E.firstValueFrom)(this.observableApi.bulkLoad(a))};f.repositionHotlistIssue=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
f.createHotlist=function(a,b){return(0,E.firstValueFrom)(this.observableApi.createHotlist(a,b))};f.queryHotlists=function(a){return(0,E.firstValueFrom)(this.observableApi.queryHotlists(a))};f.archiveHotlist=function(a,b){return(0,E.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};f.updateMetadata=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
f.getPagedHotlistContent=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};tH.\u0275fac=function(a){return new (a||tH)(u(vH))};tH.\u0275prov=wc({token:tH,factory:tH.\u0275fac,providedIn:"root"});var Zhc=function(a){this.internalArray_=l(a)};U(Zhc,q);f=Zhc.prototype;f.getUser=function(){return W(this,vi,5)};f.setUser=function(a){lj(this,vi,5,a)};f.hasUser=function(){return Pj(this,vi,5)};f.getResourceType=function(){return aj(this,2,0)};f.setResourceType=function(a){cj(this,2,a)};f.hasResourceType=function(){return tj(this,2)};f.getResourceId=function(){return Ki(this,3)};f.setResourceId=function(a){cj(this,3,a)};f.hasResourceId=function(){return Ji(this,3)};
f.getName=function(){return V(this,4)};f.setName=function(a){return uk(this,4,a)};f.hasName=function(){return Jk(this,4)};f.getNameOrUndefined=function(){return Tt(this,4)};f.toObject=function(){return $hc(this)};var $hc=function(a){if(null!=a)return t(a),{user:ED(a.getUser()),resourceType:n(p(a,2)),resourceId:n(p(a,3)),name:n(X(a,4))}};var Tp=function(a){this.internalArray_=l(a)};U(Tp,q);f=Tp.prototype;f.getSavedSearchId=function(){return uj(this,1)};f.setSavedSearchId=function(a){return Nb(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return zj(this,2,a)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return zj(this,3,a)};f.getQuery=function(){return V(this,4)};f.setQuery=function(a){return zj(this,4,a)};f.clearQuery=function(){Ct(this,4)};
f.getDefaultOrderBy=function(){return V(this,5)};f.setDefaultOrderBy=function(a){return zj(this,5,a)};f.getDisplayPreferences=function(){return W(this,Tm,6)};f.setDisplayPreferences=function(a){return lj(this,Tm,6,a)};f.getOwnersList=function(){return oj(this,fj,7)};f.setOwnersList=function(a){return rj(this,7,a)};Tp.repeatedFields_=[7];Tp.prototype.toObject=function(){return aic(this)};
var aic=function(a){if(null!=a)return t(a),{savedSearchId:uj(a,1),name:V(a,2),description:V(a,3),query:V(a,4),defaultOrderBy:V(a,5),displayPreferences:Lhc(a.getDisplayPreferences()),ownersList:Ub(a.getOwnersList(),TD)}};var Zm=function(a){this.internalArray_=l(a)};U(Zm,q);f=Zm.prototype;f.getName=function(){return V(this,3)};f.setName=function(a){return uk(this,3,a)};f.hasName=function(){return Jk(this,3)};f.getNameOrUndefined=function(){return Tt(this,3)};f.getDescription=function(){return V(this,4)};f.setDescription=function(a){return uk(this,4,a)};f.hasDescription=function(){return Jk(this,4)};f.getQuery=function(){return V(this,7)};f.setQuery=function(a){return uk(this,7,a)};f.clearQuery=function(){Ct(this,7)};
f.hasQuery=function(){return Jk(this,7)};f.getSortOrderList=function(){return oj(this,Sm,8)};f.setSortOrderList=function(a){rj(this,8,a)};f.getDisplayColumnList=function(){return oj(this,Rm,6)};f.setDisplayColumnList=function(a){rj(this,6,a)};f.getAdminUsersList=function(){return oj(this,vi,11)};f.setAdminUsersList=function(a){rj(this,11,a)};f.getIt=function(){return W(this,Tp,12)};f.setIt=function(a){lj(this,Tp,12,a)};f.hasIt=function(){return Pj(this,Tp,12)};Zm.repeatedFields_=[8,6,11];
Zm.prototype.toObject=function(){return bic(this)};var bic=function(a){if(null!=a)return t(a),{searchId:n(p(a,1)),name:n(X(a,3)),description:n(X(a,4)),query:n(X(a,7)),sortOrderList:Ub(a.getSortOrderList(),Khc),displayColumnList:Ub(a.getDisplayColumnList(),Jhc),adminUsersList:Ub(a.getAdminUsersList(),ED),it:aic(a.getIt())}};var Yya=Wm("enableLeanFeB");var wH=function(a){this.internalArray_=l(a,0,wH.messageId)};U(wH,q);wH.prototype.getFavorite=function(){return W(this,Zhc,1)};wH.prototype.toObject=function(){if(null!=this){t(this);var a={favorite:$hc(this.getFavorite())}}else a=void 0;return a};wH.messageId="b.Favorite";var xH=function(a){this.internalArray_=l(a,0,xH.messageId)};U(xH,q);xH.prototype.addHotlist=function(a){Mo(this,1,Xm,a)};xH.prototype.setHotlist=function(a){return zt(this,1,Xm,a)};xH.repeatedFields_=[1];xH.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistList:Ub(oj(this,Xm,1),Shc)}}else a=void 0;return a};xH.messageId="b.HotlistBatchResponse";var $m=function(a){this.internalArray_=l(a)};U($m,q);f=$m.prototype;f.getId=function(){return Ki(this,1)};f.setId=function(a){return cj(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return uk(this,2,a)};f.hasName=function(){return Jk(this,2)};f.getNameOrUndefined=function(){return Tt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return uk(this,3,a)};f.hasDescription=function(){return Jk(this,3)};
f.getAdminUsersList=function(){return oj(this,vi,8)};f.setAdminUsersList=function(a){rj(this,8,a)};f.getStarred=function(){return Vj(this,5)};f.setStarred=function(a){Xj(this,5,a)};f.hasStarred=function(){return Qk(this,5)};f.getResourceType=function(){return V(this,6)};f.setResourceType=function(a){uk(this,6,a)};f.hasResourceType=function(){return Jk(this,6)};$m.repeatedFields_=[8];$m.prototype.toObject=function(){return cic(this)};
var cic=function(a){if(null!=a)return t(a),{id:n(p(a,1)),name:n(X(a,2)),description:n(X(a,3)),adminUsersList:Ub(a.getAdminUsersList(),ED),starred:n(Ur(a,5)),resourceType:n(X(a,6))}};var an=function(a){this.internalArray_=l(a)};U(an,q);f=an.prototype;f.getId=function(){return Ki(this,1)};f.setId=function(a){return cj(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return uk(this,2,a)};f.hasName=function(){return Jk(this,2)};f.getNameOrUndefined=function(){return Tt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return uk(this,3,a)};f.hasDescription=function(){return Jk(this,3)};
f.getAdminUsersList=function(){return oj(this,vi,8)};f.setAdminUsersList=function(a){rj(this,8,a)};f.getStarred=function(){return Vj(this,5)};f.setStarred=function(a){Xj(this,5,a)};f.hasStarred=function(){return Qk(this,5)};an.repeatedFields_=[8,6];an.prototype.toObject=function(){return dic(this)};var dic=function(a){if(null!=a)return t(a),{id:n(p(a,1)),name:n(X(a,2)),description:n(X(a,3)),adminUsersList:Ub(a.getAdminUsersList(),ED),starred:n(Ur(a,5)),sublinksList:Ub(oj(a,$m,6),cic)}};var yH=function(a){this.internalArray_=l(a,0,yH.messageId)};U(yH,q);yH.prototype.getHotlistsList=function(){return oj(this,$m,1)};yH.prototype.getBookmarkGroupsList=function(){return oj(this,an,2)};yH.repeatedFields_=[1,2,3,4];yH.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistsList:Ub(this.getHotlistsList(),cic),bookmarkGroupsList:Ub(this.getBookmarkGroupsList(),dic),archivedHotlistsList:Ub(oj(this,$m,3),cic),archivedBookmarkGroupsList:Ub(oj(this,an,4),dic)}}else a=void 0;return a};
yH.messageId="b.SidebarInfo";var zH=function(a){this.internalArray_=l(a,0,zH.messageId)};U(zH,q);zH.repeatedFields_=[1];zH.prototype.toObject=function(){if(null!=this){t(this);var a={componentsList:Ub(oj(this,gk,1),zE)}}else a=void 0;return a};zH.messageId="b.UserRecentComponentResponse";var AH=function(a){this.internalArray_=l(a,0,AH.messageId)};U(AH,q);AH.repeatedFields_=[1];AH.prototype.toObject=function(){if(null!=this){t(this);var a={searchesList:Ub(oj(this,Zm,1),bic)}}else a=void 0;return a};AH.messageId="b.UserSavedSearchesResponse";var BH=function(){},CH=function(){};CH.\u0275fac=function(a){return new (a||CH)};CH.\u0275prov=wc({token:CH,factory:CH.\u0275fac,providedIn:"root"});var DH=function(a){this.executor=a};U(DH,CH);f=DH.prototype;f.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:xH}).pipe(D(Vya))};f.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:yH}).pipe(D(cza))};
f.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:zH}).pipe(D(eta))};f.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:AH}).pipe(D($ya))};f.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:wH}).pipe(D(Xya))};
f.saveFavorite=function(a){var b=new Zhc;b.setResourceType(zac[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:wH}).pipe(D(Xya))};f.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};
var eic=function(a,b,c){var d={};d.id=String(b);null!==c.voted&&(d.vote=String(!!c.voted));null!==c.starred&&(d.star=String(!!c.starred));null!==c.notificationSubscription&&(d.subscription=c.notificationSubscription);return a.executor.post({url:"action/current_user/issue_data",body:null,options:{params:d},responseConstructor:null})};DH.\u0275fac=function(a){return new (a||DH)(u(wD))};DH.\u0275prov=wc({token:DH,factory:DH.\u0275fac,providedIn:"root"});var EH=function(a){this.observableApi=a};
U(EH,BH);f=EH.prototype;f.getUserHotlists=function(){return(0,E.firstValueFrom)(this.observableApi.getUserHotlists())};f.getUserSidebar=function(){return(0,E.firstValueFrom)(this.observableApi.getUserSidebar())};f.getRecentComponents=function(){return(0,E.firstValueFrom)(this.observableApi.getRecentComponents())};f.getUserSavedSearches=function(){return(0,E.firstValueFrom)(this.observableApi.getUserSavedSearches())};
f.getFavorite=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getFavorite(a,b))};f.saveFavorite=function(a){return(0,E.firstValueFrom)(this.observableApi.saveFavorite(a))};f.deleteFavorite=function(a){return(0,E.firstValueFrom)(this.observableApi.deleteFavorite(a))};EH.\u0275fac=function(a){return new (a||EH)(u(DH))};EH.\u0275prov=wc({token:EH,factory:EH.\u0275fac,providedIn:"root"});var fic={parent:"me"},FH=function(a,b,c){BF.call(this,{freshUntil:3E5});var d=this;this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";(0,E.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified).subscribe(function(){d.pokeMany(fic)})};U(FH,BF);
FH.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(Ie(function(b){return 403===b.status?(0,E.of)(void 0):(0,E.throwError)(b)}))};FH.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(D(function(b){return{results:b}}));Oh("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,E.of)({results:[]})};
FH.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(D(function(b){return(null!=b?b:[]).filter(Ei)}))};FH.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var gic=function(a){return a.watchMany(fic).pipe(D(function(b){return b.results}))};FH.\u0275fac=function(a){return new (a||FH)(u(vH),u(CH),u(sG))};FH.\u0275prov=wc({token:FH,factory:FH.\u0275fac,providedIn:"root"});var dza=function(a){this.internalArray_=l(a)};U(dza,q);dza.repeatedFields_=[1];dza.prototype.toObject=function(){if(null!=this){t(this);var a={issueDetailsList:Ub(oj(this,bn,1),aec),noIndex:n(Ur(this,2))}}else a=void 0;return a};var hic=!1;var fza=window,tza=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},iic=function(a){if(cn())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var vza=Vm("debug-logging")(),fn=Wm("enableGtagAnalytics"),hn=window,jic,sza=!1;var xza=Nhc("last-visit"),yza=Nhc("last-visit-count"),Aza=Phc("last-visit"),zza=Phc("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var io={ADD_USER_WITHOUT_ACCESS:"addUserWithoutAccess",COMPONENT_PICKER:"componentPicker",CREATE_ISSUE:"createIssue",EDIT_ISSUE:"editIssue",EDIT_SLO:"editSlo",EXPERIMENTAL_HOMEPAGE:"experimentalHomepage",FIELD_ORDERING:"fieldOrdering",G3C_WIDGET:"g3cWidget",G3N:"g3n",GLOBAL_SEARCH:"global-search",ISSUE:"issue",ISSUE_ACCESS_LIMITS:"issueAccessLimits",ISSUE_CARD:"issueCard",ISSUE_EVENT_DETAIL:"issueEventDetail",ISSUE_PICKER:"issuePicker",ISSUE_SLO:"issueSlo",JOURNEY:"journey",LINK_FIELD:"linkField",
LIST_ISSUES:"listIssues",LLM_SUMMARIZE:"llmSummarize",MAGIC_BOX:"magicBox",MANAGE_COMPONENT:"component",NEEDS_ATTENTION:"needsAttention",PERSON_CARD:"personCard",PUSH_UPDATE:"pushUpdate",QUICK_ADD_COLLABORATORS:"quickAddCollaborators",RECAPTCHA_TOKEN:"recaptchaToken",RESTRICTED_CONTENT:"restrictedContent",ROLE_BASED_PERMISSIONS:"roleBasedPermissions",SEARCH:"search",SIDEBAR:"sidebar",SLO_REPORTS:"sloReports",TEAM_CARD:"teamCard",TEAM_WARNING:"teamWarning",UPDATE_HISTORY_MODAL:"updateHistoryModal",
WHATS_NEW:"whatsNew"};var GH=function(){var a=new J6b(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new K6b(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new z3b(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};GH.\u0275fac=function(a){return new (a||GH)};GH.\u0275prov=wc({token:GH,factory:GH.\u0275fac,providedIn:"root"});var kic=Vm("debug-logging")(),HH=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new Y$b(this.streamz.service);this.userLatency=new $$b(this.streamz.service);this.userActionCounter=new Z$b(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
HH.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);kic&&console.log("Clearcut stub",{action:b,duration:a})};var IH=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);kic&&console.log("Clearcut stub",{action:c,duration:b})},JH=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);kic&&console.log("Clearcut stub",{action:b})};
HH.\u0275fac=function(a){return new (a||HH)(u(bt),u(GH))};HH.\u0275prov=wc({token:HH,factory:HH.\u0275fac,providedIn:"root"});var lic=io.GLOBAL_SEARCH,mic=io.JOURNEY,nic=yp("journey-log"),oic=Np("journey-log"),KH={},pic=(KH.ssue__edit="edit",KH.ssue__addComment="comment",KH["ssue__light-ixn"]="ixn",KH.ssue__copyIssueId="ixn",KH[lic+"__.*__.*text"]="ilp-search",KH[lic+"__.*__filters"]="ilp-filter",KH),LH={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},MH=function(a){this.clearcut=a},qic=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=oic())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));nic(e);if(LH.successEvents.includes(b)){b=e;c=LH.abortEvents;d=LH.successEvents;e=LH.startEvents;for(var g=LH.successMarker,h,m=b.length-1;0<=m;m--){var r=k(b[m]),v=r.next().value;r=r.next().value;if(c.includes(v))break;if(g===v)break;if(d.includes(v)){if(h&&y)break;var y=r}else y&&e.includes(v)&&(h=r)}y=h&&y?[h,y]:void 0;y&&(y=k(y),h=y.next().value,y=y.next().value-h,IH(a.clearcut,y,Cza(mic,"global-search-text")),dn({hitType:"event",
eventCategory:mic,eventAction:"global-search-text",eventLabel:"duration",eventValue:y}),qic(a,LH.successMarker))}};MH.\u0275fac=function(a){return new (a||MH)(u(HH))};MH.\u0275prov=wc({token:MH,factory:MH.\u0275fac,providedIn:"root"});var NH=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;c=Math.round(c.duration);null!=d&&(isNaN(c)||b.clearcut.timePageLoad&&b.clearcut.timePageLoad(c,d))}},ric=function(a){cn()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new fza.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};NH.\u0275fac=function(a){return new (a||NH)(u(HH))};
NH.\u0275prov=wc({token:NH,factory:NH.\u0275fac,providedIn:"root"});var kn={},sic={logInfo:function(){console.log(Fza());console.log("\nDuplicate Requests:");console.table(Dza())},getCounts:function(){return kn},getDupes:Dza,getAggregates:Fza};var tic={attributes:!1,childList:!0,subtree:!0},OH=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new E.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new E.Subject;this.render$=(0,E.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(Ke(200));this.navigatedTo$=this.router.events.pipe(De(Hza),D(function(){return Gza(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(af(function(e){return d.renderSettled$.pipe(Oe(),D(function(){return e}))}),
Ye(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},uic=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,tic)};OH.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;kn[c]=~~kn[c]+1;this.xhr$.next(c);return b.handle(a)};OH.\u0275fac=function(a){return new (a||OH)(u(ef),u(WG),u(Cm))};OH.\u0275prov=wc({token:OH,factory:OH.\u0275fac,providedIn:"root"});var vic={provide:JYb,useExisting:OH,multi:!0};var PH=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};PH.prototype.ngOnDestroy=function(){this.destroyed=!0};PH.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};PH.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};PH.\u0275fac=function(a){return new (a||PH)(u(Hw),u(ef))};PH.\u0275prov=wc({token:PH,factory:PH.\u0275fac});var QH=function(a){GE.call(this);var b=this;this.ngZone=a;this.activeSubject$=new E.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(Ne(),bf(this.destroyed$),Jza(this.ngZone));this.onUserEvent=pTb(function(){b.activeSubject$.next(!0);wic(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),wic(b))}};U(QH,GE);QH.\u0275dir=GE.\u0275dir;
QH.prototype.install=function(){var a=this;if("visible"===document.visibilityState)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)};
QH.prototype.ngOnDestroy=function(){GE.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 wic=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};QH.\u0275fac=function(a){return new (a||QH)(u(ef))};QH.\u0275prov=wc({token:QH,factory:QH.\u0275fac,providedIn:"root"});var xic=[Nm,Pm,Om],SH=function(a,b){GE.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new E.Subject;this.routeChangeSuccess=new E.Subject;this.locationChangeStart=new E.Subject;this.locationChangeSuccess=new E.Subject;this.routeUpdate=new E.Subject;this.viewContentLoaded=new E.Subject;this.navigationEnd$=this.router.events.pipe(De(Hza));this.navigationOver$=this.router.events.pipe(De(function(d){return xic.some(function(e){return d instanceof e})}));RH(this,Yxa).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=RH(this,bgc);(0,E.merge)(this.navigationOver$.pipe(Te(E.NEVER)),this.routeChangeStart.pipe(Te(a))).pipe(af(ee),bf(this.destroyed$),De(function(d){return d.snapshot.routeConfig.isRootRoute}),D(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});RH(this,ln).pipe(D(function(d){return d.url}),Ne()).subscribe(function(){c.locationChangeStart.next()});RH(this,Nm).pipe(D(function(d){return d.url}),
Ne()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(df(RH(this,Ufc)));(0,E.merge)(this.routeChangeStart.pipe(Te(E.NEVER)),this.navigationOver$.pipe(Te(a))).pipe(af(ee),bf(this.destroyed$)).subscribe(function(d){d=k(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});RH(this,Nm).subscribe(function(){c.viewContentLoaded.next()})};U(SH,GE);SH.\u0275dir=GE.\u0275dir;
var RH=function(a,b){return a.router.events.pipe(De(function(c){return c instanceof b}),D(function(c){return c}),bf(a.destroyed$))};SH.\u0275fac=function(a){return new (a||SH)(u(WG),u(Cm))};SH.\u0275prov=wc({token:SH,factory:SH.\u0275fac,providedIn:"root"});var yic=Vm("onedev-darkmode"),zic=Vm("hasClickedCommentSortBtn"),TH=function(a,b,c,d){GE.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var y=Aic;return function(A){return function(G,N){e.trackEvent(y,A,G,N)}}};Bza();gn("dimension13",b.getUserTypeLabel());d=b.getUserPreferences();var g=d.needsAttentionPreferences,h;g=null==g?"default":null==g?void 0:null==(h=g.selectedSignals)?void 0:h.length;gn("dimension1",g);gn("dimension7",yic()?"dark":"default");var m;gn("dimension3",null==
(m=d.themePreferences)?void 0:m.density);gn("dimension6",EE(b,"readUnreadOptOut"));gn("dimension8",EE(b,"enableEnhancedCommentThread"));gn("dimension9",zic());h=d.showFullHistory?"fh":"comments";var r;if(EE(b,"enableCommentFiltering")&&(null==(r=d.commentFilterPreferences)?0:r.commentFilter)){var v;h=null==(v=d.commentFilterPreferences)?void 0:v.commentFilter}gn("dimension2",h);gn("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");gn("dimension11",EE(b,"enableHomepageVariantA"));this.subscriptions.add(a.viewContentLoaded.pipe($e(void 0)).subscribe(function(){var y=
Gza(c.snapshot);fn?(wza("page_location",y),uza("page_view",{page_path:y})):(gn("page",y),dn({hitType:"pageview",page:y}))}))};U(TH,GE);TH.\u0275dir=GE.\u0275dir;TH.prototype.trackEvent=function(a,b,c,d){en(a,b,c,"boolean"===typeof d?d?1:0:d);d=this.journeyTracker;a=Cza(a,b,c);b=k(Object.entries(pic));for(c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;if(a.match(new RegExp(c))){qic(d,e);break}}};
var Bic=function(a,b,c){fn?uza("timing",Object.assign({},{timing_category:"userAction",timing_var:a,timing_value:b},void 0!==c?{timing_label:c}:{})):dn(Object.assign({},{hitType:"timing",timingCategory:"userAction",timingVar:a,timingValue:b},void 0!==c?{timingLabel:c}:{}))};TH.\u0275fac=function(a){return new (a||TH)(u(SH),u(bt),u(Cm),u(MH))};TH.\u0275prov=wc({token:TH,factory:TH.\u0275fac,providedIn:"root"});var Cic=function(a){this.internalArray_=l(a)};U(Cic,q);f=Cic.prototype;f.getComponentId=function(){return uj(this,1)};f.setComponentId=function(a){return cj(this,1,a)};f.hasComponentId=function(){return $k(this,1)};f.getType=function(){return aj(this,2,0)};f.setType=function(a){return cj(this,2,a)};f.hasType=function(){return tj(this,2)};f.getPriority=function(){return aj(this,3,0)};f.setPriority=function(a){return cj(this,3,a)};f.hasPriority=function(){return tj(this,3)};
f.getSeverity=function(){return aj(this,4,0)};f.setSeverity=function(a){return cj(this,4,a)};f.hasSeverity=function(){return tj(this,4)};f.getStatus=function(){return aj(this,5,0)};f.setStatus=function(a){return cj(this,5,a)};f.hasStatus=function(){return tj(this,5)};f.getReporter=function(){return W(this,vi,6)};f.setReporter=function(a){lj(this,vi,6,a)};f.getAssignee=function(){return W(this,vi,7)};f.setAssignee=function(a){lj(this,vi,7,a)};f.clearAssignee=function(){return Ct(this,7)};
f.getVerifier=function(){return W(this,vi,8)};f.setVerifier=function(a){lj(this,vi,8,a)};f.clearVerifier=function(){return Ct(this,8)};f.getCcsList=function(){return oj(this,vi,9)};f.addHotlistIds=function(a,b){return Eb(this,10,a,b)};f.getBlockingIssueIdsList=function(){return sl(this,12)};f.getInProd=function(){return Vj(this,15)};f.setInProd=function(a){Xj(this,15,a)};f.getSloStartTime=function(){return W(this,Rh,16)};f.setSloStartTime=function(a){lj(this,Rh,16,a)};
f.hasSloStartTime=function(){return Pj(this,Rh,16)};f.getSloEndTime=function(){return W(this,Rh,20)};f.setSloEndTime=function(a){lj(this,Rh,20,a)};f.hasSloEndTime=function(){return Pj(this,Rh,20)};f.getRetention=function(){return aj(this,17,0)};f.setRetention=function(a){cj(this,17,a)};f.getEntityStatus=function(){return W(this,nE,18)};f.getIsArchived=function(){return Vj(this,19)};f.setIsArchived=function(a){return Xj(this,19,a)};f.getAccessLimitLevel=function(){return aj(this,21,0)};
f.setAccessLimitLevel=function(a){cj(this,21,a)};f.hasAccessLimitLevel=function(){return tj(this,21)};Cic.repeatedFields_=[9,10,11,12,14];Cic.prototype.toObject=function(){return Dic(this)};
var Dic=function(a){if(null!=a)return t(a),{componentId:n(p(a,1)),type:n(p(a,2)),priority:n(p(a,3)),severity:n(p(a,4)),status:n(p(a,5)),reporter:ED(a.getReporter()),assignee:ED(a.getAssignee()),verifier:ED(a.getVerifier()),ccsList:Ub(a.getCcsList(),ED),hotlistIdsList:n(sl(a,10)),blockedByIssueIdsList:n(sl(a,11)),blockingIssueIdsList:n(sl(a,12)),canonicalIssueId:n(p(a,13)),duplicateIssueIdsList:n(sl(a,14)),inProd:n(Ur(a,15)),sloStartTime:mu(a.getSloStartTime()),sloEndTime:mu(a.getSloEndTime()),retention:n(p(a,
17)),entityStatus:oE(a.getEntityStatus()),isArchived:n(Ur(a,19)),accessLimitLevel:n(p(a,21))}};var Eic=function(a){this.internalArray_=l(a,0,Eic.messageId)};U(Eic,q);f=Eic.prototype;f.getIssueId=function(){return uj(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getIssueState=function(){return W(this,Cic,2)};f.getVersion=function(){return Vh(this,3)};f.setVersion=function(a){return dj(this,3,a)};f.getVersionOrUndefined=function(){return Rt(this,3)};f.getCreatedTime=function(){return W(this,Rh,4)};f.getModifiedTime=function(){return W(this,Rh,5)};
f.getResolvedTime=function(){return W(this,Rh,6)};f.getVerifiedTime=function(){return W(this,Rh,7)};f.getSloId=function(){return uj(this,9)};f.setSloId=function(a){return cj(this,9,a)};f.getSloStatus=function(){return W(this,Lj,10)};f.setSloStatus=function(a){lj(this,Lj,10,a)};f.hasSloStatus=function(){return Pj(this,Lj,10)};f.getRetentionState=function(){return W(this,Kj,11)};f.setRetentionState=function(a){lj(this,Kj,11,a)};f.getAccessLimit=function(){return W(this,oi,12)};
f.setAccessLimit=function(a){return lj(this,oi,12,a)};f.getTeamId=function(){return uj(this,13)};f.setTeamId=function(a){return cj(this,13,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),issueState:Dic(this.getIssueState()),version:n(Ft(this,3)),createdTime:mu(this.getCreatedTime()),modifiedTime:mu(this.getModifiedTime()),resolvedTime:mu(this.getResolvedTime()),verifiedTime:mu(this.getVerifiedTime()),sloId:n(p(this,9)),sloStatus:Zbc(this.getSloStatus()),retentionState:Rbc(this.getRetentionState()),accessLimit:Hac(this.getAccessLimit()),teamId:n(p(this,13))}}else a=void 0;return a};Eic.messageId="b.IssueMetadata";var UH=function(a){this.internalArray_=l(a)};U(UH,q);UH.prototype.getIssueIdsList=function(){return sl(this,1)};UH.prototype.setIssueIdsList=function(a){return Cb(this,1,a,gb)};UH.prototype.addIssueIds=function(a){Eb(this,1,a)};UH.repeatedFields_=[1];UH.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:n(sl(this,1)),read:n(Ur(this,2))}}else a=void 0;return a};var Fic=function(a){this.internalArray_=l(a,0,Fic.messageId)};U(Fic,q);Fic.prototype.toObject=function(){if(null!=this){t(this);var a={readTimestamp:n(p(this,1))}}else a=void 0;return a};Fic.messageId="b.UpdateIssueReadTimestampResponse";var VH=function(a){this.executor=a};VH.prototype.delete=function(a,b){var c=new $bc;c.setIssueId(String(a));c.setReason(ksa[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:c,responseConstructor:null})};VH.prototype.undelete=function(a){var b=new uE;b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};VH.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:Eic}).then(Eta)};
VH.prototype.markRead=function(a,b){b=void 0===b?!0:b;var c=new UH;c.setIssueIdsList(a.map(Number));Xj(c,2,b);return this.executor.post({url:"action/issues/read_timestamp",body:c,responseConstructor:Fic}).then(Dta)};VH.\u0275fac=function(a){return new (a||VH)(u(xD))};VH.\u0275prov=wc({token:VH,factory:VH.\u0275fac,providedIn:"root"});var WH=function(){this.refreshRequest=new E.Subject};WH.prototype.getObservable=function(){return this.refreshRequest};var Gic=function(a,b){return a.getObservable().pipe($e(void 0)).pipe(af(function(){return b}))};WH.\u0275fac=function(a){return new (a||WH)};WH.\u0275prov=wc({token:WH,factory:WH.\u0275fac,providedIn:"root"});var XH=io.ISSUE,YH=function(a,b,c,d,e,g,h,m){BF.call(this);var r=this;this.batchApiAdapter=a;this.issueResources=b;this.userResources=c;this.refreshMonitor=d;this.issueService=e;this.activeSession=g;this.hotlistFridge=h;this.analytics=m;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(v){return String(v.issueId)};this.isEqual=Yh;this.issueFetchResponse$=new E.Subject;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(v){return r.call(v)},split:function(v,
y){return r.splitBatch(v,y)}});this.refreshMonitor.getObservable().subscribe(function(){r.invalidate()})};U(YH,BF);YH.prototype.fetchOne=function(a){return this.get(a).pipe(Ie(function(){return(0,E.of)(void 0)}))};YH.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(Ei)}))};
YH.prototype.fetchAll=function(a){var b=a.filter;a={s:a.sort,count:a.pageSize};if(b)return this.issueResources.listIssues(b,a).pipe(D(function(c){return{results:c.issues,totalSize:c.numTotalResults}}));throw Error("Ec");};YH.prototype.copy=function(a){return a&&Zh(a)};
var Hic=function(a,b,c){a.analytics.trackEvent(XH,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};tdc(a.activeSession)&&(d.voted=c);return eic(a.userResources,b,d).pipe(cf(function(){AF(a,b,function(e){e.userData&&(e.userData.starred=c,tdc(a.activeSession)&&(e.userData.voted=c))})}))};
YH.prototype.setVoted=function(a,b){var c=this;this.analytics.trackEvent(XH,"light-ixn","vote",b);return eic(this.userResources,a,{voted:b,starred:null,notificationSubscription:null}).pipe(cf(function(){AF(c,a,function(d){d.userData&&(d.userData.voted=b)})}))};
YH.prototype.setNotificationSubscription=function(a,b){var c=this,d;return ne(function(e){if(1==e.nextAddress)return c.analytics.trackEvent(XH,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},e.yield((0,E.firstValueFrom)(eic(c.userResources,a,d)),2);AF(c,a,function(g){g.userData&&(g.userData.notificationSubscription=b)});se(e)})};
var Iic=function(a,b,c){a.analytics.trackEvent(XH,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};AF(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(cf(function(e){e&&a.announce(e.issue)}))},Jic=function(a,b,c,d){var e,g,h,m,r,v,y;return ne(function(A){if(1==A.nextAddress){a.analytics.trackEvent(XH,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};g=k([].concat(ad(c),ad(d)));for(h=g.next();!h.done;h=g.next())m=
h.value,a.hotlistFridge.setIsSaving(m);oe(A,2);return A.yield((0,E.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var G=k([].concat(ad(c),ad(d))),N=G.next();!N.done;N=G.next())a.hotlistFridge.clearIsSaving(N.value)}),4)}if(2!=A.nextAddress)return(r=A.yieldResult)&&a.announce(r.issue),A.return(null==(v=r)?void 0:v.issue);y=re(A);a.poke(b);throw y;})},Kic=function(a,b,c){return ZH(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};
YH.prototype.removeDuplicate=function(a,b){var c=this;return ZH(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};
var ZH=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);a.analytics.trackEvent(XH,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};Lic(a,b);var g=[d].concat(ad(e));e=k(g);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,E.firstValueFrom)(a.issueResources.relateIssue(d,b)).then(function(h){h&&a.announce(h.issue)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=k(g),m=h.next();!m.done;m=h.next())a.clearIsSaving(m.value)})},
$H=function(a,b,c){c=void 0===c?{}:c;var d=void 0===c.markRead?!0:c.markRead,e=void 0===c.eagerUpdate?!0:c.eagerUpdate,g,h,m,r;return ne(function(v){if(1==v.nextAddress)return a.activeSession.isAnonymous()?v.return():v.yield(a.issueService.markRead(b,d),2);g=v.yieldResult;if(e)for(h=k(b),m=h.next();!m.done;m=h.next())r=m.value,AF(a,String(r),function(y){y.userData&&(y.userData.lastViewedTimeMicros=g.readTimestamp)});return v.return(g.readTimestamp?Math.round(g.readTimestamp/1E3):void 0)})},Lic=function(a,
b){AF(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(ad(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),ad(b.targetIds.map(String)))}else if("REMOVE"===b.actionType){var e,g;c.snapshot[0].blockedByIssueId=null!=(g=null==(e=c.snapshot[0].blockedByIssueId)?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))?g:[]}}})};
YH.prototype.call=function(a){var b=this;if(1===a.size){var c=[].concat(ad(a))[0];return this.issueResources.getIssue(c).pipe(cf(function(d){b.issueFetchResponse$.next(d)}),D(function(d){return new Map([[c,d.issue]])}))}return this.issueResources.batchGetIssues([].concat(ad(a))).pipe(D(function(d){return new Map(d.map(function(e){return[e.issueId,e]}))}))};YH.prototype.splitBatch=function(a,b){return b.get(a)};YH.\u0275fac=function(a){return new (a||YH)(u(KF),u(XE),u(CH),u(WH),u(VH),u(bt),u(FH),u(TH))};
YH.\u0275prov=wc({token:YH,factory:YH.\u0275fac,providedIn:"root"});var aI=function(a,b){BF.call(this);this.observableIssueResources=a;this.issueFridge=b;this.recordType="issue-fr";this.idForRecord=function(c){return c.issueId};this.isEqual=Yh;this.destroyed$=new E.ReplaySubject(1);hic?a=void 0:(hic=!0,a=eza());a&&Mic(this,a);this.issueFridge.issueFetchResponse$.pipe(De(Ei),D(Lza),bf(this.destroyed$)).subscribe(this.announce)};U(aI,BF);
var bI=function(a,b){return a.watch(b).pipe(af(function(c){return a.issueFridge.watch(b).pipe(D(function(d){return c&&d&&Object.assign({},c,{issue:d})}))}))},cI=function(a,b,c){return a.poke(b,c).then(function(){return(0,E.firstValueFrom)(bI(a,b))})},Mic=function(a,b){var c=Object.assign({},b);b=b.issue;c=(delete c.issue,c);a.announce(Object.assign({},c,{issueId:b.issueId}));a.issueFridge.announce(b)};
aI.prototype.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.observableIssueResources.getIssue(a).pipe(cf(function(c){(null==c?0:c.issue)&&b.issueFridge.announce(c.issue);b.issueFridge.clearIsGetting(a)}),D(function(c){return c&&Lza(c)}),Ie(function(c){b.issueFridge.clearIsGetting(a);return(0,E.throwError)(c)}))};aI.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};aI.prototype.copy=function(a){return a&&Object.assign({},a)};
aI.\u0275fac=function(a){return new (a||aI)(u(XE),u(YH))};aI.\u0275prov=wc({token:aI,factory:aI.\u0275fac,providedIn:"root"});var dI={},Nic=(dI.BUG="BUG",dI.FEATURE_REQUEST="FEATURE_REQUEST",dI.CUSTOMER_ISSUE="CUSTOMER_ISSUE",dI.INTERNAL_CLEANUP="INTERNAL_CLEANUP",dI.PROCESS="PROCESS",dI.VULNERABILITY="VULNERABILITY",dI.PRIVACY_ISSUE="PRIVACY_ISSUE",dI.EPIC="STORY",dI.STORY="TASK",dI.TASK="TASK",dI.PROJECT="TASK",dI.FEATURE="TASK",dI.MILESTONE="TASK",dI);var eI=function(a,b,c){zF.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=Yh;this.activeMoveOperation$=new E.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=Nza(function(e,g){return Oic(d,e,g)});this.assignParentToOneIssue=function(e,g){return Oic(d,String(e),[{issueId:g}])};
this.moveChildrenInAPI=Mza(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=Nza(function(e){var g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb,cb,sa,Ja,Qa,fb;return ne(function(Za){switch(Za.nextAddress){case 1:h=Tza(e);if(0===h.length)return Za.return();m=h.map(function(Yc){return Yc.issues.map(function(jb){return jb.parentId})}).flat();r=h.map(function(Yc){return Yc.newParentId});v=Dl([].concat(ad(m),ad(r)));y=k(v);for(A=y.next();!A.done;A=y.next())G=
A.value,d.setIsSaving(G);oe(Za,2);N=k(h);Q=N.next();case 4:if(Q.done){ht(Za,3);break}Z=Q.value;Y=k(Z.newRelations);ea=Y.next();ja={};case 7:if(ea.done){Q=N.next();Za.jumpTo(4);break}ja.$jscomp$loop$prop$newRelation$1533519868$19=ea.value;va=Z.issues.find(function(Yc){return function(jb){return jb.issueId===Yc.$jscomp$loop$prop$newRelation$1533519868$19.targetIssueId}}(ja)).parentId;if(Z.newParentId===va)return Pa=void 0,Za.yield((0,E.firstValueFrom)(d.issueRelationshipService.update(Z.newParentId,
1,$E(eec(new ZE,null!=(Pa=yi(ja.$jscomp$loop$prop$newRelation$1533519868$19.afterIssueId))?Pa:0),Number(ja.$jscomp$loop$prop$newRelation$1533519868$19.targetIssueId)))),8);za=void 0;return Za.yield((0,E.firstValueFrom)(d.issueRelationshipService.create(Z.newParentId,1,$E(eec(new ZE,null!=(za=yi(ja.$jscomp$loop$prop$newRelation$1533519868$19.afterIssueId))?za:0),Number(ja.$jscomp$loop$prop$newRelation$1533519868$19.targetIssueId)))).catch(function(Yc){var jb,yb;if(!(null==Yc?0:null==(jb=Yc.error)?
0:null==(yb=jb.details)?0:yb.includes("ALREADY_EXISTS")))throw Yc;}),12);case 12:return Za.yield((0,E.firstValueFrom)(d.issueRelationshipService.delete(va,1,ja.$jscomp$loop$prop$newRelation$1533519868$19.targetIssueId)),8);case 8:ja={$jscomp$loop$prop$newRelation$1533519868$19:ja.$jscomp$loop$prop$newRelation$1533519868$19};ea=Y.next();Za.jumpTo(7);break;case 2:g=Sa=re(Za);case 3:Wa=d.activeMoveOperation$.value;Qb=k(e.map(function(Yc){return Yc.eventTimestamps}).flat());for(Gb=Qb.next();!Gb.done;Gb=
Qb.next())cb=Gb.value,Wa.delete(cb);d.activeMoveOperation$.next(Wa);sa=k(v);for(A=sa.next();!A.done;A=sa.next())Ja=A.value,d.clearIsSaving(Ja);Promise.all(v.map(function(Yc){return d.poke(Yc)}));Qa=k(h);for(Q=Qa.next();!Q.done;Q=Qa.next())fb=Q.value,g&&fb.done.reject(g),fb.done.resolve();se(Za)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};U(eI,zF);
eI.prototype.fetchOne=function(a){var b=this;return Pic(this,function(){return b.issueRelationshipService.list(a,1).pipe(D(function(c){return{issueId:a,relatedChildren:c.map(osa),totalChildCount:c.length}}),Ie(function(c){return em(c)&&403===c.status?(0,E.of)(void 0):(0,E.throwError)(c)}))})};
eI.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(ad(null!=(c=a.ids)?c:[]));return 0===d.length?(0,E.of)({results:[]}):Pic(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:1,includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(D(xta),D(function(e){return{results:e}}))});default:Fh(a.type)}};eI.prototype.copy=function(a){return a&&Zh(a)};
var Pic=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(De(function(d){return 0===d.size}),af(function(){return b()}),af(function(d){return 0===a.activeMoveOperation$.value.size?(0,E.of)(d):c()}),Oe())};return c()},Qic=function(a,b){return a.watch(b).pipe(af(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,E.of)(c):a.watch(b,{trustMemory:!1})}))},Ric=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},Sic=function(a,
b){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:3})};
eI.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return ne(function(g){switch(g.nextAddress){case 1:AF(d.issueFridge,b,function(h){--h.childIssueCount});AF(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(m){return m!==b})});AF(d,b,function(h){var m=h.relatedChildren;h.relatedChildren=Sza(m,a);h.totalChildCount-=m.length-h.relatedChildren.length});if(c)return g.return();oe(g,2);return g.yield((0,E.firstValueFrom)(d.issueRelationshipService.delete(b,
1,a)),4);case 4:ht(g,0);break;case 2:return e=re(g),g.yield(Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var Oic=function(a,b,c){var d,e,g,h,m,r,v,y,A,G;return ne(function(N){switch(N.nextAddress){case 1:d=[];e=[];g=[];if(0===c.length)return N.return({added:d,notAdded:e});h=Tic(a,b);m=c.map(function(Q,Z){var Y="-1"===Q.afterIssueId?h:Q.afterIssueId;return{targetIssueId:Q.issueId,afterIssueId:Z?c[Z-1].issueId:Y}});Uic(a,b,m);r=k(m);v=r.next();case 2:if(v.done){N.jumpTo(4);break}y=v.value;oe(N,5);A=void 0;return N.yield((0,E.firstValueFrom)(a.issueRelationshipService.create(b,1,$E(eec(new ZE,null!=(A=
yi(y.afterIssueId))?A:0),Number(y.targetIssueId)))),7);case 7:d.push(y.targetIssueId);ht(N,3);break;case 5:G=re(N);if(!em(G))throw G;g.push(G);e.push(y.targetIssueId);case 3:v=r.next();N.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),N.return(Object.assign({},{added:d,notAdded:e},g.length?{errors:g}:{}))}})},Uic=function(a,b,c){var d=0;AF(a,b,function(e){var g=Rza(e.relatedChildren,c);d=g.length-e.relatedChildren.length;e.relatedChildren=g;e.totalChildCount+=d},{evenWhenInFlight:!0});
AF(a.issueFridge,b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},Vic=function(a,b,c){var d,e,g,h,m,r,v,y,A,G,N,Q;return ne(function(Z){if(1==Z.nextAddress)return d=[],e=[],g=[],0===c.length?Z.return({added:d,notAdded:e}):Z.yield(Promise.allSettled(c.map(function(Y){return(0,E.firstValueFrom)(a.issueRelationshipService.create(Y,1,$E(eec(new ZE,Number(Tic(a,Y))),Number(b))))})),2);h=Z.yieldResult;m=k(h.entries());for(r=m.next();!r.done;r=m.next())v=r.value,y=k(v),A=y.next().value,G=y.next().value,
N=A,Q=G,"fulfilled"===Q.status&&d.push(c[N]),"rejected"===Q.status&&(e.push(c[N]),g.push(Q.reason));Promise.all(c.map(function(Y){return a.poke(Y)}));return Z.return({added:d,notAdded:e,errors:g})})},Wic=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var g=k(c),h=g.next(),m={};!h.done;m={$jscomp$loop$prop$issue$1533519868$21:m.$jscomp$loop$prop$issue$1533519868$21},h=g.next())m.$jscomp$loop$prop$issue$1533519868$21=h.value,AF(a,m.$jscomp$loop$prop$issue$1533519868$21.parentId,
function(ea){return function(ja){ja.relatedChildren=Sza(ja.relatedChildren,ea.$jscomp$loop$prop$issue$1533519868$21.issueId);--ja.totalChildCount}}(m));var r=void 0,v;if(null==(v=b.position)?0:v.issueId){var y;if("after"===(null==(y=b.position)?void 0:y.position))r=b.position.issueId;else{var A;if("before"===(null==(A=b.position)?void 0:A.position)){var G,N;g=null!=(N=null==(G=a.memory.getData(d))?void 0:G.relatedChildren)?N:[];G=k(g.entries());for(N=G.next();!N.done;N=G.next())if(h=k(N.value),N=
h.next().value,h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;r=null==(b=g[N-1])?void 0:b.targetIssueId;break}}}}var Q=c.map(function(ea,ja){return{targetIssueId:ea.issueId,afterIssueId:ja?c[ja-1].issueId:r}});void 0!==Sec(a,d)?AF(a,d,function(ea){ea.relatedChildren=Rza(ea.relatedChildren,Q);ea.totalChildCount+=Q.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:Rza([],Q),totalChildCount:Q.length});b=new owa;var Z,Y;a.moveChildrenInAPI({newParentId:d,newRelations:Q,
issues:c,eventTimestamps:[e],newParentChildrenSnapshot:null!=(Y=null==(Z=a.memory.getData(d))?void 0:Z.relatedChildren)?Y:[],done:b});return b.promise},Tic=function(a,b){var c;a=null==(c=a.memory.getData(b))?void 0:c.relatedChildren;var d,e;return null!=(e=null==a?void 0:null==(d=a[(null==a?NaN:a.length)-1])?void 0:d.targetIssueId)?e:"0"};eI.\u0275fac=function(a){return new (a||eI)(u(lF),u(YH),u(WH))};eI.\u0275prov=wc({token:eI,factory:eI.\u0275fac,providedIn:"root"});var fI=function(a){BF.call(this);this.userAccess=a;this.recordType="permissions"};U(fI,BF);fI.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(D(function(b){return k(b).next().value}))};fI.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return(0,E.defer)(function(){return xfc(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};fI.\u0275fac=function(a){return new (a||fI)(u($F))};
fI.\u0275prov=wc({token:fI,factory:fI.\u0275fac,providedIn:"root"});var gI=function(a){this.internalArray_=l(a,0,gI.messageId)};U(gI,q);gI.prototype.setSearch=function(a,b){zt(this,1,Zm,a,b)};gI.repeatedFields_=[1];gI.prototype.toObject=function(){if(null!=this){t(this);var a={searchList:Ub(oj(this,Zm,1),bic)}}else a=void 0;return a};gI.messageId="b.BatchGetSearchesResponse";var hI=function(a){this.internalArray_=l(a,0,hI.messageId)};U(hI,q);hI.prototype.getSearch=function(){return W(this,Zm,1)};hI.prototype.setSearch=function(a){lj(this,Zm,1,a)};hI.prototype.toObject=function(){if(null!=this){t(this);var a={search:bic(this.getSearch())}}else a=void 0;return a};hI.messageId="b.SearchResponse";var iI=function(a){this.jspbExecutor=a};f=iI.prototype;f.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:hI}).pipe(D(Uza))};f.batchGet=function(a){if(500<a.length)throw Error("Fc");return this.jspbExecutor.get({url:"action/saved_searches?"+a.map(function(b){return"id="+b}).join("&"),responseConstructor:gI}).pipe(D(Vza))};
f.create=function(a,b){var c=new Zm;c.setName(a);c.setQuery(b);return this.jspbExecutor.post({url:"action/saved_searches",body:c,responseConstructor:hI}).pipe(D(Uza))};
f.update=function(a,b){var c=new Zm;cj(c,1,String(b.searchId));c.setName(b.name);c.setDescription(b.description);c.setQuery(b.query);var d;c.setSortOrderList((null!=(d=b.sortOrder)?d:[]).map(Hya));var e;c.setDisplayColumnList((null!=(e=b.displayColumn)?e:[]).map(Fya));var g;c.setAdminUsersList((null!=(g=b.adminUsers)?g:[]).map(wi));if(Yya){d=c.setIt;var h,m;e=(new Tp).setSavedSearchId(b.searchId).setName(b.name).setDescription(b.description).setQuery(b.query).setDefaultOrderBy((null!=(h=b.sortOrder)?
h:[]).map(Pya).join(",")).setDisplayPreferences(Nya(null!=(m=b.displayColumn)?m:[])).setOwnersList(b.adminUsers.map(Ara));d.call(c,e)}return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:hI}).pipe(D(Uza))};f.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};iI.\u0275fac=function(a){return new (a||iI)(u(wD))};iI.\u0275prov=wc({token:iI,factory:iI.\u0275fac,providedIn:"root"});
var jI=function(a){this.observableResources=a};f=jI.prototype;f.get=function(a){return(0,E.firstValueFrom)(this.observableResources.get(a))};f.batchGet=function(a){return(0,E.firstValueFrom)(this.observableResources.batchGet(a))};f.create=function(a,b){return(0,E.firstValueFrom)(this.observableResources.create(a,b))};f.update=function(a,b){return(0,E.firstValueFrom)(this.observableResources.update(a,b))};f.delete=function(a){return(0,E.firstValueFrom)(this.observableResources.delete(a))};
jI.\u0275fac=function(a){return new (a||jI)(u(iI))};jI.\u0275prov=wc({token:jI,factory:jI.\u0275fac,providedIn:"root"});var Xic={results:[]},kI=function(a,b){BF.call(this);this.userResourcesApi=a;this.savedSearchApi=b;this.recordType="savedSearch";this.idKey="searchId"};U(kI,BF);kI.prototype.fetchOne=function(a){return this.savedSearchApi.get(a)};kI.prototype.fetchSet=function(a){return this.savedSearchApi.batchGet(a)};
kI.prototype.fetchAll=function(a){if("me"===a.parent)return this.userResourcesApi.getUserSavedSearches().pipe(D(function(b){return{results:b}}));Oh("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,E.of)(Xic)};kI.\u0275fac=function(a){return new (a||kI)(u(CH),u(iI))};kI.\u0275prov=wc({token:kI,factory:kI.\u0275fac,providedIn:"root"});var lI=function(a){this.internalArray_=l(a)};U(lI,q);var Yic=function(a,b){return Cb(a,1,b,$a)},Zic=function(a,b){return Kb(a,2,b)};lI.repeatedFields_=[1];lI.prototype.toObject=function(){if(null!=this){t(this);var a={taskSourcesList:n(fl(this,1)),maxTaskAgeDays:Vh(this,2)}}else a=void 0;return a};var dAa=new Set(["NEEDS_ATTENTION","TAGGED_IN_COMMENT","REQUIRES_APPROVAL"]);var un=function(a){this.internalArray_=l(a)};U(un,q);var xn=[1,2,3,5];un.prototype.toObject=function(){return $ic(this)};var $ic=function(a){if(null!=a)return t(a),{issueSignal:n(vn(a,1,xn)),clSignal:n(vn(a,2,xn)),driveSignal:n(vn(a,3,xn)),launchSignal:n(vn(a,5,xn)),suggestedAction:V(a,4)}};var mn=function(a){this.internalArray_=l(a)};U(mn,q);f=mn.prototype;f.getValueCase=function(){return Oi(this,mI)};f.getResourceId=function(){return V(this,1)};f.setResourceId=function(a){zj(this,1,a)};f.getTimestamp=function(){return W(this,Rh,3)};f.setTimestamp=function(a){return lj(this,Rh,3,a)};f.hasTimestamp=function(){return Pj(this,Rh,3)};f.getUrl=function(){return fk(this,Bcc,4,mI)};f.setUrl=function(a){return Ko(this,4,mI,a)};f.hasUrl=function(){return ck(this,Bcc,4,mI)};
f.getDuration=function(){return fk(this,Th,5,mI)};f.hasDuration=function(){return ck(this,Th,5,mI)};var mI=[4,5];mn.prototype.toObject=function(){return ajc(this)};var ajc=function(a){if(null!=a)return t(a),{resourceId:V(a,1),spec:$ic(W(a,un,2)),timestamp:mu(a.getTimestamp()),url:Ccc(a.getUrl()),duration:$u(a.getDuration())}};var nI=function(a){this.internalArray_=l(a)};U(nI,q);nI.prototype.getTasksList=function(){return oj(this,HC,1)};nI.prototype.setTasksList=function(a){return rj(this,1,a)};var bjc=Yb(nI);nI.repeatedFields_=[1,2];nI.prototype.toObject=function(){if(null!=this){t(this);var a={tasksList:Ub(this.getTasksList(),IC),prioritySignalsList:Ub(oj(this,mn,2),ajc)}}else a=void 0;return a};var cjc=new SC("/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",lI,nI,function(a){return a.serialize()},bjc);var djc=function(a){this.client_=new nD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")},ejc=function(a,b,c){return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",b,c||{},cjc)};var oI=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.taskPrioritizationClient=new djc(this.getServiceEndpoint());this.taskManagementClient=new P$b(this.getServiceEndpoint())};f=oI.prototype;f.fetchTasks=function(a){a=ejc(this.taskPrioritizationClient,Zic(Yic(new lI,a.sources.map(eAa)),a.maxTaskAgeDays),this.getHeaders());return Awa(a).pipe(D(bAa),$ia(pja,[]),D(function(b){return b.flat()}))};
f.updateTaskStatus=function(a){var b=this,c=(new I9b).setTask(N8b(new HC,a).setTaskStatus(5));return(0,E.defer)(function(){return b.taskManagementClient.updateTaskStatus(c,b.getHeaders())})};f.updateTaskStatuses=function(a){var b=this;a=a.map(function(d){return N8b(new HC,d).setTaskStatus(5)});var c=(new VC).setTasksList(a);return(0,E.defer)(function(){return b.taskManagementClient.updateTaskStatuses(c,b.getHeaders())})};
f.getServiceEndpoint=function(){switch(this.environmentType){case "NIGHTLY":case "PROD":return"https://devopsconsole-pa-googleapis.corp.google.com";default:return"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com"}};
f.getHeaders=function(){switch(this.environmentType){case "NIGHTLY":var a="AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco";break;case "PROD":a="AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk";break;default:a="AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}return{"X-Goog-Api-Key":a,Authorization:cp([])||"","X-Goog-AuthUser":"0"}};oI.\u0275fac=function(a){return new (a||oI)(u(bt),u(pI))};oI.\u0275prov=wc({token:oI,factory:oI.\u0275fac,providedIn:"root"});var pI=function(){};pI.\u0275fac=function(a){return new (a||pI)};
pI.\u0275prov=wc({token:pI,factory:pI.\u0275fac,providedIn:"root"});var fjc={sources:["CRITIQUE","DRIVE"],maxTaskAgeDays:30},qI=function(a){zF.call(this);this.api=a;this.recordType="Task";this.idKey="taskId";this.defaultQuery=fjc};U(qI,zF);qI.prototype.fetchAll=function(a){a=void 0===a?{}:a;a=Object.assign({},fjc,a);return this.api.fetchTasks(a).pipe(D(function(b){b=void 0===b?[]:b;return{results:b}}))};qI.\u0275fac=function(a){return new (a||qI)(u(oI))};qI.\u0275prov=wc({token:qI,factory:qI.\u0275fac,providedIn:"root"});var gjc=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new lH(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};gjc.prototype.get=function(a){var b=this;return new E.Observable(function(c){var d=b.lruCache.get(a);d||(d=hjc(b,a));return d.obs$.subscribe(c)})};
var hjc=function(a,b){var c=a.rawGet(b).pipe(Ye({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 ijc(c,d);a.lruCache.set(b,c);return c},ijc=function(a,b){this.obs$=a;this.subscription=b};var rI=function(a){this.internalArray_=l(a,0,rI.messageId)};U(rI,q);rI.prototype.setTeamIdsList=function(a){return xj(this,1,a)};rI.repeatedFields_=[1];rI.prototype.toObject=function(){if(null!=this){t(this);var a={teamIdsList:n(Wh(this,1))}}else a=void 0;return a};rI.messageId="b.BatchChildTeamsRequest";var jjc=function(a){this.internalArray_=l(a)};U(jjc,q);jjc.repeatedFields_=[1];jjc.prototype.toObject=function(){return kjc(this)};var kjc=function(a){if(null!=a)return t(a),{teamSummariesList:Ub(oj(a,wcc,1),xcc)}};var ljc=function(a){this.internalArray_=l(a,0,ljc.messageId)};U(ljc,q);ljc.prototype.toObject=function(){if(null!=this){t(this);var a={childTeamsMap:Wb(ik(this,1,jjc),kjc)}}else a=void 0;return a};ljc.messageId="b.BatchChildTeamsResponse";var sI=function(a){this.internalArray_=l(a,0,sI.messageId)};U(sI,q);sI.prototype.toObject=function(){if(null!=this){t(this);var a={teamsMap:Wb(ik(this,1,yE),tcc)}}else a=void 0;return a};sI.messageId="b.BatchGetTeamsResponse";var tI=function(a){this.internalArray_=l(a,0,tI.messageId)};U(tI,q);tI.prototype.getTeamSuggestionsList=function(){return oj(this,ucc,1)};tI.prototype.setTeamSuggestionsList=function(a){rj(this,1,a)};tI.repeatedFields_=[1];tI.prototype.toObject=function(){if(null!=this){t(this);var a={teamSuggestionsList:Ub(this.getTeamSuggestionsList(),vcc)}}else a=void 0;return a};tI.messageId="b.TeamSuggestionResult";var uI=function(a){this.internalArray_=l(a,0,uI.messageId)};U(uI,q);uI.prototype.getTeamId=function(){return Ki(this,1)};uI.prototype.setTeamId=function(a){return cj(this,1,a)};uI.prototype.toObject=function(){if(null!=this){t(this);var a={teamId:n(p(this,1)),sloMetadata:scc(W(this,Yj,2))}}else a=void 0;return a};uI.messageId="b.UpdateTeamSloRequest";var vI=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 gjc(function(e){return d.batchAdaptedGet(e)},100)};vI.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:yE}).pipe(D(Ssa))};vI.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var wI=function(a,b){return a.getTeam(b).pipe(D(function(c){return null!=c?c:fAa(b)}),Ie(function(){return(0,E.of)(fAa(b))}))},mjc=function(a,b){b=b.filter(function(c){return"0"!==c}).map(function(c){return a.getTeam(c)});return(0,E.forkJoin)(b).pipe(D(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
vI.prototype.getChildTeams=function(a){a=(new rI).setTeamIdsList(a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:ljc}).pipe(D(function(b){b=[].concat(ad(ik(b,1,jjc).entries()));return new Map(b.map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return[c,oj(d,wcc,1).map(Qsa)]}))}))};
var xI=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:tI}).pipe(D(function(c){return c.getTeamSuggestionsList().map(Wsa)}))},njc=function(a,b,c){return"0"===b?(0,E.of)(!1):a.memoizingTeamStateMap.get(b).pipe(D(function(d){return void 0!==(null==d?void 0:d.members.find(function(e){return e&&ti(e.user)===c}))}))},ojc=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:sI}).pipe(Ie(function(){return(0,E.of)(new sI)}),
D(function(c){return new Map(Array.from(ik(c,1,yE).entries()).map(function(d){var e=k(d);d=e.next().value;e=e.next().value;return[d,uj(e,9)]}))}))};
vI.prototype.updateTeam=function(a){var b=new yE;b.setTeamId(a.teamId);b.setVersion(a.version);b.setName(a.name);b.setDescription(a.description);b.setPathNamesList(a.pathNames);var c;b.setPathIdsList(null==(c=a.pathIds)?void 0:c.map(yi).filter(Ei));Ri(b,6,a.collapsedPathNames);var d;b.setMembersList(null==(d=a.members)?void 0:d.map(Tsa));b.setDeleted(a.deleted);cj(b,9,a.estimatedComponentCount);b.setSlo(Usa(a.slo));null!=a.sloLead&&(c=wi(a.sloLead),lj(b,vi,12,c));null!=a.defaultSloLead&&(c=wi(a.defaultSloLead),
lj(b,vi,13,c));return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:yE}).pipe(D(Ssa))};vI.\u0275fac=function(a){return new (a||vI)(u(wD),u(yI),u(KF))};vI.\u0275prov=wc({token:vI,factory:vI.\u0275fac,providedIn:"root"});var yI=function(a){this.executor=a};yI.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(ad(a)).join(",")}},responseConstructor:sI}).pipe(Ie(function(){return(0,E.of)(new sI)}))};
yI.prototype.split=function(a,b){return(a=ik(b,1,yE).get(a))?Ssa(a):void 0};yI.\u0275fac=function(a){return new (a||yI)(u(wD))};yI.\u0275prov=wc({token:yI,factory:yI.\u0275fac,providedIn:"root"});var zI=function(a){zF.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};U(zI,zF);zI.prototype.fetchAll=function(a){if(a.myTeams)return xI(this.teamsApi,"").pipe(D(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("Hc");};zI.\u0275fac=function(a){return new (a||zI)(u(vI))};zI.\u0275prov=wc({token:zI,factory:zI.\u0275fac,providedIn:"root"});var AI=function(a){BF.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.teamId}};U(AI,BF);AI.prototype.fetchOne=function(a){return"0"===a?(0,E.of)(void 0):this.teamsApi.getTeam(a).pipe(Ie(function(){return(0,E.of)(void 0)}))};AI.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(D(function(c){return c.filter(Ei)}))};AI.\u0275fac=function(a){return new (a||AI)(u(vI))};
AI.\u0275prov=wc({token:AI,factory:AI.\u0275fac,providedIn:"root"});var BI=function(a){this.internalArray_=l(a,0,BI.messageId)};U(BI,q);BI.prototype.getTrackersList=function(){return oj(this,wl,1)};BI.repeatedFields_=[1];BI.prototype.toObject=function(){if(null!=this){t(this);var a={trackersList:Ub(this.getTrackersList(),Hcc)}}else a=void 0;return a};BI.messageId="b.BatchGetTrackersResponse";var CI=function(a){this.internalArray_=l(a,0,CI.messageId)};U(CI,q);CI.prototype.getTrackersList=function(){return oj(this,wl,1)};CI.prototype.getNextPageToken=function(){return V(this,2)};CI.prototype.getTotalSize=function(){return Vh(this,3)};CI.repeatedFields_=[1];CI.prototype.toObject=function(){if(null!=this){t(this);var a={trackersList:Ub(this.getTrackersList(),Hcc),nextPageToken:n(X(this,2)),totalSize:n(Ft(this,3))}}else a=void 0;return a};CI.messageId="b.ListTrackersResponse";var DI=function(a){this.jspbExecutor=a};DI.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:wl}).pipe(D(Pta))};DI.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:BI,options:{params:{trackerIds:a}}}).pipe(D(Qta))};
DI.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:CI,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(D(Rta))};DI.\u0275fac=function(a){return new (a||DI)(u(wD))};DI.\u0275prov=wc({token:DI,factory:DI.\u0275fac,providedIn:"root"});var EI=function(a,b){BF.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)};U(EI,BF);EI.prototype.fetchOne=function(a){return this.trackerApi.get(a)};EI.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
EI.prototype.fetchAll=function(a){var b,c;return this.trackerApi.query(null!=(b=a.filter)?b:"",null!=(c=a.pageSize)?c:0,a.pageToken).pipe(D(function(d){var e;return{results:null!=(e=null==d?void 0:d.trackers)?e:[]}}))};EI.\u0275fac=function(a){return new (a||EI)(u(DI),u(bt))};EI.\u0275prov=wc({token:EI,factory:EI.\u0275fac,providedIn:"root"});var FI=function(a){this.issueFridge=a},pjc=function(a,b,c){c=void 0===c?!1:c;if(null==b)return(0,E.of)([]);var d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:90d status:open";c&&(d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process)\n      modified:90d status:(open | fixed | verified)");return a.issueFridge.watchMany({filter:d,
pageSize:50,sort:"modified_time:desc"}).pipe(D(function(e){return e.results}))},qjc=function(a){var b=$l();return a.issueFridge.watchMany({filter:Yl()!==Zl?"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+") status:open modified:30d":"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+" OR star:true) status:open modified:30d",pageSize:50,sort:"modified_time:desc"}).pipe(D(function(c){return c.results}))},rjc=function(a){return a.issueFridge.watchMany({filter:"assignee:"+$l()+" status:open modified:30d",
pageSize:50,sort:"modified_time:desc"}).pipe(D(function(b){return b.results}))};FI.\u0275fac=function(a){return new (a||FI)(u(YH))};FI.\u0275prov=wc({token:FI,factory:FI.\u0275fac,providedIn:"root"});var GI=function(a){var b=this;this.queryIssuesService=a;this.issuesFromQuery$=(0,E.defer)(function(){return pjc(b.queryIssuesService,$l(),!0)});this.suggestedHotlists$=this.issuesFromQuery$.pipe(D(this.fetchHotlistsFromIssues.bind(this)))};
GI.prototype.fetchHotlistsFromIssues=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=void 0,g=null!=(e=null==(d=c.snapshot[0])?void 0:d.hotlistId)?e:[];d=k(g);for(e=d.next();!e.done;e=d.next())if(e=e.value,b.has(e)){g=void 0;var h=null!=(g=b.get(e))?g:{count:0,confidence:0};h.count++;h.confidence+=this.calculateConfidence(c);b.set(e,h)}else g=this.calculateConfidence(c),b.set(e,{count:1,confidence:g})}return sjc(b)};
var sjc=function(a){return new Map([].concat(ad(a.entries())).sort(function(b,c){return c[1].confidence-b[1].confidence}))};GI.prototype.calculateConfidence=function(a){var b=0,c=$l(),d,e,g,h=(null==(d=a.snapshot[0])?void 0:null==(e=d.assigneeUser)?void 0:null==(g=e.emailAddress)?void 0:g.split("@")[0])===c,m,r,v;d=(null==(m=a.snapshot[0])?void 0:null==(r=m.reporterUser)?void 0:null==(v=r.emailAddress)?void 0:v.split("@")[0])===c;h&&(b+=5);d&&(b+=3);return b=Nl(a)?b+2:b+1};
GI.\u0275fac=function(a){return new (a||GI)(u(FI))};GI.\u0275prov=wc({token:GI,factory:GI.\u0275fac,providedIn:"root"});var tjc=["needs-attention-table","needs-attention-cards","mvp-needs-attention","needs-attention-wrapper"],ujc="tp-my-work team-activity-stream large-activity-stream assigned-to-me recent-stuff-i-follow my-tasks-area mvp-my-tasks mc-my-tasks".split(" "),vjc=["my-projects-as-cards","work-areas-wrapper-card"];[].concat(ad(tjc),ad(vjc),ad(ujc));var wjc=["children","immersed"];ad(wjc);
var xjc={collapsed:{},projectFilters:[]},yjc={layout:"layout-b",showHiddenSettings:!1,sectionA:"",sectionW:"my-projects-as-cards",sectionT:"tp-my-work",collapsed:{},projectFilters:["OPEN"],pinned:[],issuesThisWeek:{issues:[],weekNumber:0}},zjc={"2022-may":yjc,a1:{layout:"layout-a",sectionA:"needs-attention-table",sectionW:"my-projects-as-cards",sectionT:"tp-my-work"},b1:{layout:"layout-b",sectionA:"needs-attention-table",sectionW:"my-projects-as-cards",sectionT:"tp-my-work"},c1:{layout:"layout-c",
sectionA:"needs-attention-table",sectionT:"assigned-to-me",sectionW:"my-projects-as-tabs"},study:{layout:"layout-c",sectionA:"mvp-needs-attention",sectionW:"",sectionT:"mvp-my-tasks mvp-my-work"},mvp:{layout:"layout-c",sectionA:"needs-attention-wrapper",sectionT:"mc-my-tasks",sectionW:"work-areas-wrapper-card"}},Ajc="title assignee status id modifiedTime menu".split(" ");var Bjc=function(a){this.internalArray_=l(a)};U(Bjc,q);f=Bjc.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getComment=function(){return V(this,2)};f.setComment=function(a){uk(this,2,a)};f.getFormattingMode=function(){return aj(this,3,0)};f.setFormattingMode=function(a){return cj(this,3,a)};f.getContentJudgement=function(){return W(this,Li,4)};f.setContentJudgement=function(a){return lj(this,Li,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),comment:n(X(this,2)),formattingMode:n(p(this,3)),contentJudgement:ID(this.getContentJudgement())}}else a=void 0;return a};var Cjc=function(a){this.internalArray_=l(a,0,Cjc.messageId)};U(Cjc,q);f=Cjc.prototype;f.getType=function(){return aj(this,1,0)};f.setType=function(a){return cj(this,1,a)};f.hasType=function(){return tj(this,1)};f.setPageSize=function(a){return dj(this,2,a)};f.setPageToken=function(a){return uk(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={type:n(p(this,1)),pageSize:n(Ft(this,2)),pageToken:n(X(this,3))}}else a=void 0;return a};Cjc.messageId="b.ListCommentReactionRespondersRequest";var Gk=function(a){this.internalArray_=l(a,0,Gk.messageId)};U(Gk,q);Gk.prototype.getCreatedTime=function(){return W(this,Rh,2)};Gk.prototype.toObject=function(){return Djc(this)};var Djc=function(a){if(null!=a)return t(a),{responder:ED(W(a,vi,1)),createdTime:mu(a.getCreatedTime())}};Gk.messageId="b.CommentReactionResponder";var HI=function(a){this.internalArray_=l(a,0,HI.messageId)};U(HI,q);HI.prototype.getNextPageToken=function(){return V(this,2)};HI.prototype.getTotalSize=function(){return Vh(this,3)};HI.repeatedFields_=[1];HI.prototype.toObject=function(){if(null!=this){t(this);var a={respondersList:Ub(oj(this,Gk,1),Djc),nextPageToken:n(X(this,2)),totalSize:n(Ft(this,3))}}else a=void 0;return a};HI.messageId="b.ListCommentReactionRespondersResponse";var II=function(a){this.internalArray_=l(a,0,II.messageId)};U(II,q);II.prototype.getIssueCommentsList=function(){return oj(this,qE,1)};II.repeatedFields_=[1];II.prototype.toObject=function(){if(null!=this){t(this);var a={issueCommentsList:Ub(this.getIssueCommentsList(),gcc)}}else a=void 0;return a};II.messageId="b.ListIssueCommentHistoryResponse";var Ejc=function(a){this.internalArray_=l(a)};U(Ejc,q);f=Ejc.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getCommentNumber=function(){return Vh(this,2)};f.setCommentNumber=function(a){return dj(this,2,a)};f.getComment=function(){return V(this,3)};f.setComment=function(a){uk(this,3,a)};f.getFormattingMode=function(){return aj(this,4,0)};f.setFormattingMode=function(a){return cj(this,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),commentNumber:n(Ft(this,2)),comment:n(X(this,3)),formattingMode:n(p(this,4))}}else a=void 0;return a};var Fjc=function(a){this.internalArray_=l(a)};U(Fjc,q);f=Fjc.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getCommentNumber=function(){return Vh(this,2)};f.setCommentNumber=function(a){return dj(this,2,a)};f.getPiiRetention=function(){return aj(this,3,0)};f.setPiiRetention=function(a){return cj(this,3,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),commentNumber:n(Ft(this,2)),piiRetention:n(p(this,3))}}else a=void 0;return a};var JI=function(){};JI.\u0275fac=function(a){return new (a||JI)};JI.\u0275prov=wc({token:JI,factory:JI.\u0275fac,providedIn:"root"});var KI=function(a){this.executor=a};f=KI.prototype;f.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(Qqa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:qE}).pipe(D(yk))};
f.create=function(a,b,c,d,e){var g={};e&&(g["G-Recaptcha-Response-Token"]=e);e=new Bjc;e.setIssueId(a);e.setComment(b);e.setFormattingMode(Fta(c));d&&e.setContentJudgement(Tqa(d));return this.executor.post({url:"action/issues/"+a+"/comment",body:e,responseConstructor:null,options:{headers:g}})};
f.update=function(a,b,c,d,e){var g={};e&&(g["G-Recaptcha-Response-Token"]=e);e=new Ejc;e.setIssueId(a);e.setCommentNumber(b);e.setComment(c);e.setFormattingMode(Fta(d));return this.executor.post({url:"action/issues/"+a+"/updateComment",body:e,options:{headers:g},responseConstructor:null})};f.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})};
f.undelete=function(a,b,c){var d={};void 0!==c&&(d.comment_version=String(c));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/undelete",body:null,options:{params:d},responseConstructor:qE}).pipe(D(yk))};f.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:II}).pipe(D(Ita))};
f.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType;a=a.hasReacted;var e;d=(new mE).addReactionStates((new lE).setType(null!=(e=yac[d])?e:0).setHasReacted(a));return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:d,responseConstructor:mE}).pipe(D(Hta))};
f.listCommentReactionResponders=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType,e=a.pageToken;a=void 0===a.pageSize?500:a.pageSize;var g;d=(new Cjc).setType(null!=(g=yac[d])?g:0).setPageSize(a);e&&d.setPageToken(e);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/listReactionResponders",body:d,responseConstructor:HI}).pipe(D(Lta))};
f.updateRetention=function(a,b,c){c=(new Fjc).setIssueId(a).setCommentNumber(b).setPiiRetention(jsa[c]);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:qE}).pipe(D(yk))};KI.\u0275fac=function(a){return new (a||KI)(u(wD))};KI.\u0275prov=wc({token:KI,factory:KI.\u0275fac,providedIn:"root"});var LI=function(a){this.observableApi=a};U(LI,JI);f=LI.prototype;f.get=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.get(a,b,c))};
f.create=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};f.update=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};f.delete=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.delete(a,b,c,d))};f.undelete=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.undelete(a,b,c))};f.listHistory=function(a,b){return(0,E.firstValueFrom)(this.observableApi.listHistory(a,b))};f.updateCommentReaction=function(a){return(0,E.firstValueFrom)(this.observableApi.updateCommentReaction(a))};
f.listCommentReactionResponders=function(a){return(0,E.firstValueFrom)(this.observableApi.listCommentReactionResponders(a))};f.updateRetention=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.updateRetention(a,b,c))};LI.\u0275fac=function(a){return new (a||LI)(u(KI))};LI.\u0275prov=wc({token:LI,factory:LI.\u0275fac,providedIn:"root"});var MI=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new E.Subject;this.email=this.activeSession.getUserEmail();this.user=xi(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(D(function(c){return c.results}));this.teams$.pipe(D(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(D(function(c){return c.flatMap(function(d){return d.pathIds})}),
D(function(c){return[].concat(ad(new Set(c))).filter(Ei)}));this.allTeamIdsSubject$=zn(this.allTeamIds$.pipe(bf(this.destroyed$)),[])};MI.prototype.ngOnDestroy=function(){this.destroyed$.next()};wh.Object.defineProperties(MI.prototype,{allTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.allTeamIdsSubject$.value}}});MI.\u0275fac=function(a){return new (a||MI)(u(zI),u(bt))};MI.\u0275prov=wc({token:MI,factory:MI.\u0275fac,providedIn:"root"});var Gjc="QA"===xl().config.environmentType?412808:1294964,Fua=[9019942154,9327443891,1953099861400,1292819114016,1525660445733],NI=function(a,b,c,d,e){var g=this;this.issueApi=a;this.issueCommentsApi=b;this.currentUser=c;this.issueRelationshipsFridge=d;this.issueRelationshipService=e;this.prefs$=new E.BehaviorSubject(void 0);this.issue$=new E.BehaviorSubject(void 0);this.projectIds$=this.prefs$.pipe(D(function(h){return null==h?void 0:h.id}),af(this.issueRelationshipsFridge.watch),D(function(h){var m;
return null!=(m=null==h?void 0:h.relatedChildren.map(function(r){return r.targetIssueId}))?m:[]}));this.onSaveError=function(h){400===h.status?(console.log("Couldn't save hackypref, resetting the backing pref",h),Hjc(g)):console.error("UNHANDLED: Couldn't save hackypref",h)}};NI.prototype.init=function(a,b){a=void 0===a?Zl:a;var c=this;return ne(function(d){c.ldap=a;c.pendingCfgBundleName=b;return d.yield(Ijc(c),0)})};var Ijc=function(a){return ne(function(b){return b.yield(Jjc(a),0)})};
NI.prototype.save=function(a){var b=this,c=a.id;null==c?console.error("Can't save, missing config issue id"):(a.hasUserEdits=!0,this.prefs$.next(a),a=JSON.stringify(a,null,2),this.issueCommentsApi.update(c,1,a,"PLAIN").then(function(){Kjc(b,c)}).catch(this.onSaveError))};var Op=function(a,b){a.save(Object.assign({},a.prefs,b))};NI.prototype.saveFilters=function(a,b){var c={};this.save(Object.assign({},this.prefs,{filters:Object.assign({},this.prefs.filters,(c[a]=b,c))}))};
var Hjc=function(a){var b,c,d,e,g;ne(function(h){if(1==h.nextAddress){b=a.prefs.id;if(null==b)return h.return();d=null!=(c=An(a.projectIds$))?c:[];return h.yield(Ljc(a),2)}e=h.yieldResult;a.prefs.id=e;a.save(a.prefs);g=d.map(Number).map(function(m){return $E(new ZE,m)});mec(a.issueRelationshipService,e,g).subscribe();return h.yield(Mjc(a,b),0)})},Mjc=function(a,b){b=void 0===b?a.prefs.id:b;return null==b?Promise.reject():a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"status",value:"OBSOLETE"}]})};
NI.prototype.toggleCollapsed=function(a){this.prefs.collapsed[a]=!this.prefs.collapsed[a];this.save(this.prefs)};
var Kjc=function(a,b){var c;return ne(function(d){if(1==d.nextAddress)return d.yield(a.issueApi.getIssue(b),2);c=d.yieldResult;Njc(a,c);se(d)})},Njc=function(a,b){var c,d,e,g,h,m,r,v;ne(function(y){if(1==y.nextAddress){c=b.issue.issueId;e=null==(d=b.firstEvent)?void 0:d.unlinkifiedComment;a.configVersionNumber=(null==(g=b.firstEvent)?void 0:g.commentVersion)||0;h={};try{h=JSON.parse(null!=(m=e)?m:"")}catch(N){console.warn("unable to parse as json: `"+e+"`"),console.error(N)}return y.yield(Ojc(a),
2)}r=y.yieldResult;v=Object.assign({},r,h,{id:c});a.prefs$.next(v);var A=a.pendingCfgBundleName;if(null!=A){var G=zjc[A];a.pendingCfgBundleName=void 0;null==G?console.error('No config bundle found named "'+A+'"'):Op(a,G)}se(y)})},Jjc=function(a){var b;return ne(function(c){switch(c.nextAddress){case 1:return c.yield(Pjc(a),2);case 2:b=c.yieldResult;if(null!=b){c.jumpTo(3);break}return c.yield(Ljc(a),4);case 4:b=c.yieldResult;case 3:return c.yield(Kjc(a,b),0)}})},Pjc=function(a){var b,c,d,e;return ne(function(g){if(1==
g.nextAddress)return c=null!=(b=a.ldap)?b:Zl,null==c?g.return():g.yield(Qjc(a,c),2);d=g.yieldResult;return g.return(null==(e=d)?void 0:e.issueId)})},Qjc=function(a,b){var c,d,e,g;return ne(function(h){if(1==h.nextAddress)return c='title:"__experimental config__ for '+b+'" status:open archived:all',h.yield(a.issueApi.listIssues(c,{count:1,s:"created_time:desc"}),2);d=h.yieldResult;return h.return(null==(e=d)?void 0:null==(g=e.issues)?void 0:g[0])})},Ljc=function(a){var b,c,d,e,g,h;return ne(function(m){if(1==
m.nextAddress){c=null!=(b=a.ldap)?b:Zl;if(null==c)return console.error("createConfigIssue() needs an ldap to make an issue"),m.return("");d={snapshot:{title:"__experimental config__ for "+c,componentId:Gjc,comment:'{ "README": "This issue is a temporary config container. For more info, see go/task-mission-control" }'}};return m.yield(a.issueApi.createIssue(d),2)}return 3!=m.nextAddress?(e=m.yieldResult,g=e.issueId,h=[{fieldName:"isArchived",value:"true"}],m.yield(a.issueApi.updateIssue(g,{issueId:g,
actions:h}),3)):m.return(e.issueId)})},Ojc=function(a){var b;return ne(function(c){0<a.currentUser.allTeamIds.length?(b=a.currentUser.allTeamIds.map(Number),b=Gua(b)):console.warn("No team ids found on currentUser");return c.return(Object.assign({},yjc,{teamIds:b}))})},Jp=function(a){var b;return null!=(b=a.prefs.pinned)?b:[]},Rn=function(a,b){"string"===typeof b&&(b=[b]);var c;a.prefs.pinned=null!=(c=a.prefs.pinned)?c:[];b=k(b);for(c=b.next();!c.done;c=b.next())c=c.value,a.prefs.pinned.includes(c)||
a.prefs.pinned.unshift(c);a.save(a.prefs)},rp=function(a,b){if(null!=b){var c=a.prefs;c.pinned&&c.pinned.includes(b)&&c.pinned.splice(c.pinned.indexOf(b),1);a.save(c)}},qp=function(a,b,c){var d=a.prefs;if(null!=d.pinned&&sp(a,b,c)){b=d.pinned.indexOf(b);var e=d.pinned.splice(b,1)[0];d.pinned.splice(b+c,0,e);a.save(d)}},sp=function(a,b,c){a=a.prefs;if(null==a.pinned)return!1;b=a.pinned.indexOf(b);if(0>b)return!1;c=b+c;return 0<=c&&c<a.pinned.length},Rjc=function(a){var b=a.prefs;var c=void 0===c?new Date:
c;c=new Date(c.getTime());c.setHours(0,0,0,0);c.setDate(c.getDate()+3-(c.getDay()+6)%7);var d=new Date(c.getFullYear(),0,4);c=1+Math.round(((c.getTime()-d.getTime())/864E5-3+(d.getDay()+6)%7)/7);var e,g;d=null!=(g=null==(e=b.issuesThisWeek)?void 0:e.weekNumber)?g:0;if(!b.issuesThisWeek||c>d||52===d&&c<d)b.issuesThisWeek={issues:[],weekNumber:c},a.save(b)};wh.Object.defineProperties(NI.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefs$.value)?a:xjc}}});
NI.\u0275fac=function(a){return new (a||NI)(u(YE),u(JI),u(MI),u(eI),u(lF))};NI.\u0275prov=wc({token:NI,factory:NI.\u0275fac,providedIn:"root"});var OI=function(a,b,c,d){var e=this;this.issueFridge=a;this.hackyPrefs=b;this.eventsForIssueFridge=c;this.teamFridge=d;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;var g;this.currTeamIds=null!=(g=this.hackyPrefs.prefs.teamIds)?g:[];this.currTeamIssuesFilter="("+gAa(this.currTeamIds)+") (created<"+hAa()+") -status:(duplicate | infeasible | intended_behavior | not_reproducible | obsolete)";this.recentTeamIssues$=(0,E.timer)(1,11E3).pipe(af(function(){return e.issueFridge.watchMany({filter:e.currTeamIssuesFilter,
sort:"modified_time:desc",pageSize:20})}),D(function(h){return h.results}));this.teamObjects$=this.teamFridge.watchSet(this.currTeamIds);this.noChangeEvents$=this.recentTeamIssues$.pipe(D(function(h){return e.getNoChangeEvents(h)}));this.changedIssues$=this.recentTeamIssues$.pipe(D(function(h){return Zva(h,e.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(D(function(h){return h.map(function(m){return m.issueId})}),af(this.eventsForIssueFridge.watchSet));this.allRecentTeamEvents$=
(0,E.combineLatest)([this.noChangeEvents$,this.eventsForUpdatedIssues$]).pipe(D(function(h){var m=k(h);h=m.next().value;m=m.next().value;for(var r=k(m),v=r.next();!v.done;v=r.next())v=v.value,e.issuesToEventsMap.set(v.id,v);return[].concat(ad(h),ad(m))}),De(Ei));this.interestingEventsForTeamActivity$=(0,E.combineLatest)([this.teamObjects$,this.allRecentTeamEvents$]).pipe(D(function(h){var m=k(h);h=m.next().value;m=m.next().value;return e.filterAllEventsToRecentActivity(h,m)}))};
OI.prototype.getInterestingEventType=function(a,b){if(b.modifiedDate<(new Date(Date.now()-3456E5)).getTime())return"";if(Sjc(a,b.userPerformingActionUser)&&(0<b.preDiffs.length||0<b.postDiffs.length)){a=[].concat(ad(b.preDiffs),ad(b.postDiffs));a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;if("priority"===c.name)return"priority";if("status"===c.name)return"status"}}return Rl(b)?"changelist":Jl(b)&&b.isHumanAuthor?"comment":""};
var Sjc=function(a,b){if(!b||!b.emailAddress||0===a.length)return!1;a=k(a);for(var c=a.next();!c.done;c=a.next())if(c.value.members.find(function(d){return d&&ti(d.user)===ti(b)}))return!0;return!1};
OI.prototype.filterAllEventsToRecentActivity=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;if(e){d=e.id;e=k(e.events);for(var g=e.next();!g.done;g=e.next()){g=g.value;var h=this.getInterestingEventType(a,g);""!==h&&c.push({issueId:d,event:g,eventType:h})}c.sort(function(m,r){return r.event.modifiedDate-m.event.modifiedDate})}}return c};
OI.prototype.getNoChangeEvents=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0;this.lastModifiedIssueTimestampMap.has(c.issueId)&&this.lastModifiedIssueTimestampMap.get(c.issueId)===(null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)&&b.push(this.issuesToEventsMap.get(c.issueId))}return b};OI.\u0275fac=function(a){return new (a||OI)(u(YH),u(NI),u(CF),u(AI))};OI.\u0275prov=wc({token:OI,factory:OI.\u0275fac,providedIn:"root"});var PI=function(a,b){var c=this;this.queryIssuesService=a;this.eventsForIssueFridge=b;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;this.ldap=$l();this.issuesFromQuery$=(0,E.defer)(function(){return pjc(c.queryIssuesService,c.ldap)});this.changedIssues$=this.issuesFromQuery$.pipe(D(function(d){return Zva(d,c.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(D(function(d){return d.map(function(e){return e.issueId})}),af(function(d){return(0,E.combineLatest)(d.map(function(e){return c.eventsForIssueFridge.watch(e,
{trustUncertainMemory:!0})}))}),De(Ei));this.suggestedIssues$=(0,E.combineLatest)([this.issuesFromQuery$,this.eventsForUpdatedIssues$]).pipe(af(function(d){d=k(d);var e=d.next().value;d=d.next().value;d=k(d);for(var g=d.next();!g.done;g=d.next())g=g.value,null!=g&&c.issuesToEventsMap.set(g.id,g);d=E.of;var h=e;if(h&&0!==h.length&&null!=c.ldap){50<h.length&&(console.warn("truncating search to the first SUGGESTED_ISSUE_LIMIT issues"),h=h.slice(0,50));e=c.ldap;if(h&&0!==h.length){g=[];h=k(h);for(var m=
h.next();!m.done;m=h.next()){var r=m.value,v=r.snapshot[0].reporterUser,y=r.snapshot[0].assigneeUser;m=g;var A=m.push,G=r.issueId;v=null===v?0:c.getLdapFromUser(v)===e?1:0;y=null===y?0:c.getLdapFromUser(y)===e?1:0;var N=r.majorModifiedTimeMicros,Q=c.getPriority(r);var Z=void 0;var Y=e;var ea=0,ja=new Set,va=null==(Z=c.issuesToEventsMap.get(r.issueId))?void 0:Z.events;if(void 0!==va)for(Z=k(va),va=Z.next();!va.done;va=Z.next()){var za=va.value;if(Jl(za)&&za.isHumanAuthor){var Pa=za.commentNumber;null===
Pa||ja.has(Pa)||(va=za.lastCommentEditorUser,null!=va&&(ja.add(Pa),za=za.unlinkifiedComment,va=c.getLdapFromUser(va),null!=za&&0<za.length&&va===Y&&(ea+=1)))}}Y=ea;va=void 0;ea=e;ja=0;Z=new Set;r=null==(va=c.issuesToEventsMap.get(r.issueId))?void 0:va.events;if(void 0!==r)for(r=k(r),va=r.next();!va.done;va=r.next())va=va.value,Rl(va)&&(za=va.commentNumber,null==za||Z.has(za)||(Z.add(za),Tl(va)===ea&&(ja+=1)));r=ja;A.call(m,{issueId:G,reporterStatus:v,assigneeStatus:y,lastModifiedTime:N,priority:Q,
commentCountByUser:Y,clCountByUser:r})}}else g=[];e=[];g=k(g);for(A=g.next();!A.done;A=g.next())h=e,m=h.push,A=A.value,G=5-A.priority,v=A.lastModifiedTime,v=Math.abs(1E3*Date.now()-v)/864E8,m.call(h,{issueId:A.issueId,interest:G+(1>=v?4:7>=v?3:14>=v?2:30>=v?1:0)+2*A.commentCountByUser+2*A.clCountByUser+2*A.assigneeStatus+A.reporterStatus,priority:A.priority});g=[];Tjc(e);for(h=0;10>h;++h)g.push(e[h].issueId);e=g}else e=[];return d.call(E,e)}),Ye({refCount:!0,bufferSize:1}))};
PI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};PI.prototype.getPriority=function(a){switch(a.snapshot[0].priority){case "P0":return 0;case "P1":return 1;case "P2":return 2;case "P3":return 3;case "P4":return 4;default:return console.warn("cannot find issue priority"),null}};var Tjc=function(a){a.sort(function(b,c){return b.interest===c.interest?b.priority-c.priority:c.interest-b.interest})};
PI.\u0275fac=function(a){return new (a||PI)(u(FI),u(CF))};PI.\u0275prov=wc({token:PI,factory:PI.\u0275fac,providedIn:"root"});var QI=function(a,b,c){this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistApi=c;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map},Vjc=function(a,b){var c=(0,E.timer)(1,11E3).pipe(af(function(){return a.issueFridge.watchMany({filter:"parentid:"+b+"+ OR id:"+b,sort:"modified_time:desc",pageSize:20})}),D(function(e){return e.results})),d=c.pipe(D(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(D(function(e){return Ujc(a,e)})).pipe(D(function(e){return e.map(function(g){return g.issueId})}),
af(a.eventsForIssueFridge.watchSet));return(0,E.combineLatest)([d,c]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),m=h.next();!m.done;m=h.next())m=m.value,a.issuesToEventsMap.set(m.id,m);return[].concat(ad(e),ad(g))}),De(Ei),D(function(e){return a.filterAllEventsToRecentActivity(e)}))},Wjc=function(a,b){var c=(0,E.timer)(1,11E3).pipe(af(function(){return a.hotlistApi.getPagedHotlistContent(b,1,20,[])}),D(function(e){return e.issues})),d=c.pipe(D(function(e){return a.getNoChangeEvents(e)}));
c=c.pipe(D(function(e){return Ujc(a,e)})).pipe(D(function(e){return e.map(function(g){return g.issueId})}),af(a.eventsForIssueFridge.watchSet));return(0,E.combineLatest)([d,c]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),m=h.next();!m.done;m=h.next())m=m.value,a.issuesToEventsMap.set(m.id,m);return[].concat(ad(e),ad(g))}),De(Ei),D(function(e){return a.filterAllEventsToRecentActivity(e)}))},Xjc=function(a,b){var c=(0,E.timer)(1,11E3).pipe(af(function(){return a.issueFridge.watchMany({filter:"savedsearchid:"+
b,sort:"modified_time:desc",pageSize:20})}),D(function(e){return e.results})),d=c.pipe(D(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(D(function(e){return Ujc(a,e)})).pipe(D(function(e){return e.map(function(g){return g.issueId})}),af(a.eventsForIssueFridge.watchSet));return(0,E.combineLatest)([d,c]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),m=h.next();!m.done;m=h.next())m=m.value,a.issuesToEventsMap.set(m.id,m);return[].concat(ad(e),ad(g))}),De(Ei),D(function(e){return a.filterAllEventsToRecentActivity(e)}))};
QI.prototype.getNoChangeEvents=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0;this.lastModifiedIssueTimestampMap.has(c.issueId)&&this.lastModifiedIssueTimestampMap.get(c.issueId)===(null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)&&b.push(this.issuesToEventsMap.get(c.issueId))}return b};
var Ujc=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=void 0;if(!a.lastModifiedIssueTimestampMap.has(d.issueId)||a.lastModifiedIssueTimestampMap.get(d.issueId)!==(null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)){c.push(d);var g=e=void 0;a.lastModifiedIssueTimestampMap.set(d.issueId,null!=(g=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?g:0)}}return c};
QI.prototype.filterAllEventsToRecentActivity=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d){c=d.id;d=k(d.events);for(var e=d.next();!e.done;e=d.next()){e=e.value;var g=this.getInterestingEventType(e);""!==g&&b.push({issueId:c,event:e,eventType:g})}b.sort(function(h,m){return m.event.modifiedDate-h.event.modifiedDate})}}return b};
QI.prototype.getInterestingEventType=function(a){if(a.modifiedDate<Date.now()-12096E5)return"";if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(ad(a.preDiffs),ad(a.postDiffs));b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.oldValue&&("priority"===c.name||"status"===c.name))return"newIssue";if("priority"===c.name)return"priority";if("status"===c.name)return Rl(a)?"changelistFixed":"status"}}return Rl(a)?"changelist":Jl(a)&&a.isHumanAuthor?"comment":""};
QI.\u0275fac=function(a){return new (a||QI)(u(YH),u(CF),u(vH))};QI.\u0275prov=wc({token:QI,factory:QI.\u0275fac,providedIn:"root"});var Yjc={issueId:"0",issueIdChain:[],isArchived:!1,confidence:0,issueNumAssignedOrReported:0,issueNumCls:0,issueNumRecentlyModified:0,issueChildrenCount:0,issueNumOpen:0,issueNumClosed:0,directChildrenNumAssignedOrReported:0,directChildrenNumCls:0,directChildrenNumRecentlyModified:0,directChildrenCount:0,directChildrenNumOpen:0,directChildrenNumClosed:0,rollupNumAssignedOrReported:0,rollupNumCls:0,rollupNumRecentlyModified:0,rollupChildrenCount:0,rollupNumOpen:0,rollupNumClosed:0},Zjc={issueNumAssignedOrReported:1,
issueNumCls:1,issueNumRecentlyModified:1,issueChildrenCount:1,issueNumOpen:1,issueNumClosed:-500,directChildrenNumAssignedOrReported:10,directChildrenNumCls:1.25,directChildrenNumRecentlyModified:5,directChildrenCount:1.25,directChildrenNumOpen:20,directChildrenNumClosed:-20,rollupNumAssignedOrReported:10,rollupNumCls:.75,rollupNumRecentlyModified:1,rollupChildrenCount:.75,rollupNumOpen:2,rollupNumClosed:-2},RI=function(a,b){this.issueFridge=a;this.issueRelationshipApi=b;this.parentToChildIssueIds=
new Map},$jc=function(a){return a.issueFridge.watchMany({filter:"(assignee:"+$l()+") t:(feature | feature_request | story | task | internal_cleanup | process) modified:90d parentId:any",pageSize:50,sort:"modified_time:desc"}).pipe(D(function(b){var c;return null!=(c=b.results)?c:[]}),xe(a.findPossibleProjectIssueIds.bind(a)))};
RI.prototype.findPossibleProjectIssueIds=function(a){var b=this,c,d,e,g,h,m,r,v,y,A,G,N;return ne(function(Q){switch(Q.nextAddress){case 1:if(!a||0===a.length)return Q.return([]);c=[a[0]];for(d={$jscomp$loop$prop$g$m279584978$2:1};d.$jscomp$loop$prop$g$m279584978$2<a.length;d={$jscomp$loop$prop$g$m279584978$2:d.$jscomp$loop$prop$g$m279584978$2},d.$jscomp$loop$prop$g$m279584978$2++)c.some(function(Z){return function(Y){return Y.parentIssueIds[0]===a[Z.$jscomp$loop$prop$g$m279584978$2].parentIssueIds[0]}}(d))||
c.push(a[d.$jscomp$loop$prop$g$m279584978$2]);return Q.yield(akc(b,c),2);case 2:e=[],g=0;case 3:if(!(g<c.length)){Q.jumpTo(5);break}return Q.yield(bkc(b,c[g]),6);case 6:h=Q.yieldResult;e.push.apply(e,ad(h));g++;Q.jumpTo(3);break;case 5:m=new Map;r=k(e);for(v=r.next();!v.done;v=r.next())y=v.value,y.isArchived||(y.confidence=b.calculateConfidence(y),m.has(y.issueId)&&(A=m.get(y.issueId),G=y,y.confidence=A.confidence>G.confidence?A.confidence:G.confidence),m.set(y.issueId,y));N=Array.from(m.values());
N.sort(function(Z,Y){return Y.confidence-Z.confidence});return Q.return(N.filter(function(Z){return 0<Z.confidence}).map(function(Z){return Z.issueId}).slice(0,10))}})};
var akc=function(a,b){var c,d,e,g,h,m,r,v,y;return ne(function(A){if(1==A.nextAddress)return c=b.filter(function(G){return G.parentIssueIds&&0<G.parentIssueIds.length}).map(function(G){return G.parentIssueIds[0]}),d=[].concat(ad(c)),A.yield((0,E.firstValueFrom)(a.issueRelationshipApi.batchGet(c,1,!1)),2);if(3!=A.nextAddress){e=A.yieldResult;g=[];h=k(e);for(m=h.next();!m.done;m=h.next())r=m.value,g=r.getIssueRelationshipsList().map(function(G){return String(uj(G,1))}),a.parentToChildIssueIds.set(String(uj(r,
3)),g),d.push.apply(d,ad(g));return A.yield((0,E.firstValueFrom)(a.issueFridge.watchSet(d)),3)}v=A.yieldResult;y=v.filter(function(G){return c.includes(G.issueId)});return 0<y.length?A.yield(akc(a,y),0):A.jumpTo(0)})},bkc=function(a,b,c){c=void 0===c?[]:c;var d,e,g,h,m,r,v,y,A,G,N,Q;return ne(function(Z){switch(Z.nextAddress){case 1:var Y=Object,ea=Y.assign,ja=b.issueId,va=b.isArchived,za=ckc(a,b)?1:0,Pa=(null!=(d=b.snapshot[0].changelist)?d:[]).length;var Sa=2592E9>1E3*Date.now()-b.majorModifiedTimeMicros;
e=ea.call(Y,{},Yjc,{issueId:ja,issueIdChain:[],isArchived:va,issueNumAssignedOrReported:za,issueNumCls:Pa,issueNumRecentlyModified:Sa?1:0,issueChildrenCount:b.childIssueCount||0,issueNumOpen:Nl(b)?1:0,issueNumClosed:Nl(b)?0:1});g=a.parentToChildIssueIds.get(b.issueId)||[];if(!(0<g.length)){Z.jumpTo(2);break}m=k(g);r=m.next();case 3:if(r.done){Z.jumpTo(2);break}v=r.value;return Z.yield((0,E.firstValueFrom)(a.issueFridge.watchOne(v)),6);case 6:h=Z.yieldResult;if(!h){Z.jumpTo(4);break}e.directChildrenNumAssignedOrReported+=
ckc(a,h)?1:0;y=void 0;e.directChildrenNumCls+=(null!=(y=h.snapshot[0].changelist)?y:[]).length;Y=e.directChildrenNumRecentlyModified;ea=h;ea=2592E9>1E3*Date.now()-ea.majorModifiedTimeMicros;e.directChildrenNumRecentlyModified=Y+(ea?1:0);e.directChildrenCount+=1;e.directChildrenNumOpen+=Nl(h)?1:0;e.directChildrenNumClosed+=Nl(h)?0:1;case 4:r=m.next();Z.jumpTo(3);break;case 2:A=k(c);for(G=A.next();!G.done;G=A.next())N=G.value,e.issueIdChain.unshift(N.issueId),e.rollupNumAssignedOrReported+=N.issueNumAssignedOrReported+
N.directChildrenNumAssignedOrReported,e.rollupNumCls+=N.issueNumCls+N.directChildrenNumCls,e.rollupNumRecentlyModified+=N.issueNumRecentlyModified+N.directChildrenNumRecentlyModified,e.rollupChildrenCount+=N.issueChildrenCount+N.directChildrenCount,e.rollupNumOpen+=N.issueNumOpen+N.directChildrenNumOpen,e.rollupNumClosed+=N.issueNumClosed+N.directChildrenNumClosed;e.issueIdChain.unshift(b.issueId);c.push(e);return b.parentIssueIds&&0<b.parentIssueIds.length?Z.yield((0,E.firstValueFrom)(a.issueFridge.watchOne(b.parentIssueIds[0])),
8):Z.return(c);case 8:return(Q=Z.yieldResult)?Z.return(bkc(a,Q,c)):Z.return(c)}})};
RI.prototype.calculateConfidence=function(a){var b=void 0===b?Zjc:b;var c=a.issueNumAssignedOrReported*b.issueNumAssignedOrReported;c+=a.issueNumCls*b.issueNumCls;c+=a.issueNumRecentlyModified*b.issueNumRecentlyModified;c+=a.issueChildrenCount*b.issueChildrenCount;c+=a.issueNumOpen*b.issueNumOpen;c+=a.directChildrenNumAssignedOrReported*b.directChildrenNumAssignedOrReported;c+=a.directChildrenNumCls*b.directChildrenNumCls;c+=a.directChildrenNumRecentlyModified*b.directChildrenNumRecentlyModified;
c+=a.directChildrenCount*b.directChildrenCount;c+=a.directChildrenNumOpen*b.directChildrenNumOpen;c+=a.rollupNumAssignedOrReported*b.rollupNumAssignedOrReported;c+=a.rollupNumCls*b.rollupNumCls;c+=a.rollupNumRecentlyModified*b.rollupNumRecentlyModified;c+=a.rollupChildrenCount*b.rollupChildrenCount;c+=a.rollupNumOpen*b.rollupNumOpen;c+=a.issueNumClosed*b.issueNumClosed;c+=a.directChildrenNumClosed*b.directChildrenNumClosed;c+=a.rollupNumClosed*b.rollupNumClosed;0===a.directChildrenNumAssignedOrReported&&
(c-=10*a.directChildrenCount);b=a.directChildrenNumAssignedOrReported/a.directChildrenCount;.5>b?(a=100<a.directChildrenCount?1.5:1,c=.25>b?.1>b?c-300*a:c-200*a:c-50*a):c=.75<b?c+200:c+150;return c};var ckc=function(a,b){var c=$l(),d=a.getLdapFromUser(b.snapshot[0].assigneeUser);return a.getLdapFromUser(b.snapshot[0].reporterUser)===c||d===c};RI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};
RI.\u0275fac=function(a){return new (a||RI)(u(YH),u(lF))};RI.\u0275prov=wc({token:RI,factory:RI.\u0275fac,providedIn:"root"});var SI=function(){},dkc=function(a){a=a.issuePriority;if(null==a)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""}};SI.\u0275fac=function(a){return new (a||SI)};
SI.\u0275cmp=Mc({type:SI,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(H(0,"span",0),R(1),I());a&2&&(F("ngClass",dkc(b)),B(1),a=b.issuePriority,Mf(" ",null==a?"--":rec[a]," "))},dependencies:[Mw],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var TI=function(a){this.internalArray_=l(a)};U(TI,q);TI.prototype.getDisplayName=function(){return V(this,1)};TI.prototype.setDisplayName=function(a){return uk(this,1,a)};TI.prototype.getPhotoUrl=function(){return V(this,2)};TI.prototype.toObject=function(){return ekc(this)};var ekc=function(a){if(null!=a)return t(a),{displayName:n(X(a,1)),photoUrl:n(X(a,2)),highResolutionPhotoUrl:n(X(a,3))}};var UI=function(a){this.internalArray_=l(a,0,UI.messageId)};U(UI,q);UI.prototype.toObject=function(){if(null!=this){t(this);var a={userProfileMap:Wb(ik(this,1,TI),ekc)}}else a=void 0;return a};UI.messageId="b.UserProfileBatchResponse";var VI=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new gjc(function(d){return c.batchAdaptedGet(d)},100)};VI.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};VI.\u0275fac=function(a){return new (a||VI)(u(WI),u(KF))};VI.\u0275prov=wc({token:VI,factory:VI.\u0275fac,providedIn:"root"});var WI=function(a){this.executor=a};
WI.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(ad(a)).join(",")}},responseConstructor:UI}).pipe(Ie(function(){return(0,E.of)(new UI)}))};WI.prototype.split=function(a,b){return(a=ik(b,1,TI).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:V(a,3),displayName:a.getDisplayName()}:void 0};WI.\u0275fac=function(a){return new (a||WI)(u(wD))};WI.\u0275prov=wc({token:WI,factory:WI.\u0275fac,providedIn:"root"});var XI=function(a,b,c){GE.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};U(XI,GE);wh.Object.defineProperties(XI.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(bf(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});XI.\u0275fac=function(a){return new (a||XI)(C(Zf),C($f),C(Hw))};
XI.\u0275dir=Qc({type:XI,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[lf]});var fkc=function(){};var Cn=function(){this.Serializable$values={}},Bn=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},YI=function(a,b){return null!=a.Serializable$values[b]};var gkc=function(){};var hkc=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};U(hkc,gkc);
var ikc=function(a,b,c){var d=iAa(a.hookFactory,b);return null==d?c:E.EMPTY.pipe(cf({complete:function(){d.onBeforeSend()}}),Eia(c.pipe(cf(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},jkc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,g=b.body instanceof Cn?nAa(b.body,kAa,lAa,mAa):b.body;return ikc(a,b,e.call(d,{path:b.path,httpMethod:b.httpMethod,methodId:b.methodId,body:g,queryParams:b.queryParams,streamingType:b.streamingType&&b.streamingType},c))};var kkc=function(){};kkc.prototype.send=function(a,b){vAa(a);return this.makeRequest(a).pipe(D(function(c){return b?rAa(b,c):c}))};var lkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.dayOfWeek=null==a.dayOfWeek?null:a.dayOfWeek;this.Serializable$values.periodStartMinutes=null==a.periodStartMinutes?null:a.periodStartMinutes;this.Serializable$values.periodEndMinutes=null==a.periodEndMinutes?null:a.periodEndMinutes};U(lkc,Cn);lkc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
wh.Object.defineProperties(lkc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return YI(this,"dayOfWeek")?Bn(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return YI(this,"periodEndMinutes")?Bn(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return YI(this,"periodStartMinutes")?Bn(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var Cp=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userIds=null==a.userIds?null:a.userIds;this.Serializable$values.debugOptions=null==a.debugOptions?null:a.debugOptions};U(Cp,Cn);Cp.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:Bp},keys:["debugOptions","userIds"],objects:{debugOptions:mkc}}};
wh.Object.defineProperties(Cp.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return YI(this,"debugOptions")?Bn(this,"debugOptions"):this.debugOptions=new mkc},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return YI(this,"userIds")?Bn(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var nkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};U(nkc,Cn);nkc.prototype.getPartialClassMetadata=function(){return{arrays:{results:okc},keys:["results"]}};
wh.Object.defineProperties(nkc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==Bn(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return YI(this,"results")?Bn(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var pkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil};U(pkc,Cn);
pkc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
wh.Object.defineProperties(pkc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return YI(this,"committedUntil")?Bn(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return YI(this,"eventSummary")?Bn(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return YI(this,"nextAvailable")?Bn(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return YI(this,"occupiedUntil")?Bn(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var qkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location;this.Serializable$values.geoCoordinates=null==a.geoCoordinates?null:a.geoCoordinates;this.Serializable$values.label=null==a.label?null:a.label};U(qkc,Cn);qkc.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:rkc}}};
wh.Object.defineProperties(qkc.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return YI(this,"geoCoordinates")?Bn(this,"geoCoordinates"):this.geoCoordinates=new rkc},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return YI(this,"label")?Bn(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return YI(this,"location")?Bn(this,"location"):
""},set:function(a){this.Serializable$values.location=a}}});var skc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable};U(skc,Cn);skc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
wh.Object.defineProperties(skc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return YI(this,"committedUntil")?Bn(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return YI(this,"nextAvailable")?Bn(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return YI(this,"occupiedUntil")?Bn(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var tkc=function(){this.Serializable$values={}};U(tkc,Cn);tkc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var ukc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.inMeetingsUntil=null==a.inMeetingsUntil?null:a.inMeetingsUntil;this.Serializable$values.occupiedUntil=null==a.occupiedUntil?null:a.occupiedUntil;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil;this.Serializable$values.nextAvailable=null==a.nextAvailable?null:a.nextAvailable};U(ukc,Cn);
ukc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
wh.Object.defineProperties(ukc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return YI(this,"committedUntil")?Bn(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return YI(this,"eventSummary")?Bn(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return YI(this,"inMeetingsUntil")?Bn(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return YI(this,"nextAvailable")?Bn(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return YI(this,"occupiedUntil")?Bn(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var vkc=function(){this.Serializable$values={}};U(vkc,Cn);
vkc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var rkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.latitude=null==a.latitude?null:a.latitude;this.Serializable$values.longitude=null==a.longitude?null:a.longitude};U(rkc,Cn);rkc.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
wh.Object.defineProperties(rkc.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return YI(this,"latitude")?Bn(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return YI(this,"longitude")?Bn(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var wkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};
U(wkc,Cn);wkc.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};wh.Object.defineProperties(wkc.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return YI(this,"timeZone")?Bn(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var xkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.experimentalBuildingId=null==a.experimentalBuildingId?null:a.experimentalBuildingId;this.Serializable$values.experimentalDeskId=null==a.experimentalDeskId?null:a.experimentalDeskId;this.Serializable$values.experimentalFloorId=null==a.experimentalFloorId?null:a.experimentalFloorId;this.Serializable$values.label=null==a.label?null:a.label};U(xkc,Cn);
xkc.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
wh.Object.defineProperties(xkc.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return YI(this,"experimentalBuildingId")?Bn(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return YI(this,"experimentalDeskId")?Bn(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return YI(this,"experimentalFloorId")?Bn(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return YI(this,"label")?Bn(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var ykc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime;this.Serializable$values.eventSummary=null==a.eventSummary?null:a.eventSummary;this.Serializable$values.committedUntil=null==a.committedUntil?null:a.committedUntil};U(ykc,Cn);ykc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
wh.Object.defineProperties(ykc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return YI(this,"comeBackTime")?Bn(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return YI(this,"committedUntil")?Bn(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return YI(this,"eventSummary")?Bn(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var zkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};U(zkc,Cn);zkc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
wh.Object.defineProperties(zkc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return YI(this,"comeBackTime")?Bn(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var Akc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.code=null==a.code?null:a.code;this.Serializable$values.message=null==a.message?null:a.message;this.Serializable$values.details=null==a.details?null:a.details};U(Akc,Cn);
Akc.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
wh.Object.defineProperties(Akc.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return YI(this,"code")?Bn(this,"code"):0},set:function(a){this.Serializable$values.code=a}},hasDetails:{configurable:!0,enumerable:!0,get:function(){return null!==Bn(this,"details")}},details:{configurable:!0,enumerable:!0,get:function(){return YI(this,"details")?Bn(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return YI(this,
"message")?Bn(this,"message"):""},set:function(a){this.Serializable$values.message=a}}});var ZI=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.startTime=null==a.startTime?null:a.startTime;this.Serializable$values.endTime=null==a.endTime?null:a.endTime};U(ZI,Cn);ZI.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
wh.Object.defineProperties(ZI.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return YI(this,"endTime")?Bn(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return YI(this,"startTime")?Bn(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var Bkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.overrideCurrentTime=null==a.overrideCurrentTime?null:a.overrideCurrentTime;this.Serializable$values.computationDuration=null==a.computationDuration?null:a.computationDuration};U(Bkc,Cn);Bkc.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
wh.Object.defineProperties(Bkc.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return YI(this,"computationDuration")?Bn(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return YI(this,"overrideCurrentTime")?Bn(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var Ckc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.nextCommitmentTime=null==a.nextCommitmentTime?null:a.nextCommitmentTime;this.Serializable$values.nextCommitmentStatus=null==a.nextCommitmentStatus?null:a.nextCommitmentStatus};U(Ckc,Cn);Ckc.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:$I}}};
wh.Object.defineProperties(Ckc.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return YI(this,"nextCommitmentStatus")?Bn(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new $I},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return YI(this,"nextCommitmentTime")?Bn(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var Dkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};U(Dkc,Cn);Dkc.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:ZI}}};wh.Object.defineProperties(Dkc.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return YI(this,"timeRange")?Bn(this,"timeRange"):this.timeRange=new ZI},set:function(a){this.Serializable$values.timeRange=a}}});
var Ekc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availabilities=null==a.availabilities?null:a.availabilities;this.Serializable$values.workingHours=null==a.workingHours?null:a.workingHours;this.Serializable$values.nextPollTime=null==a.nextPollTime?null:a.nextPollTime};U(Ekc,Cn);Ekc.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:Fkc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:Gkc}}};
wh.Object.defineProperties(Ekc.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return YI(this,"availabilities")?Bn(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return YI(this,"nextPollTime")?Bn(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return YI(this,"workingHours")?
Bn(this,"workingHours"):this.workingHours=new Gkc},set:function(a){this.Serializable$values.workingHours=a}}});var mkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.forceEnableUserStatusCache=null==a.forceEnableUserStatusCache?null:a.forceEnableUserStatusCache;this.Serializable$values.timeSettings=null==a.timeSettings?null:a.timeSettings};U(mkc,Cn);mkc.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:Bkc}}};
wh.Object.defineProperties(mkc.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return YI(this,"forceEnableUserStatusCache")?Bn(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return YI(this,"timeSettings")?Bn(this,"timeSettings"):this.timeSettings=new Bkc},set:function(a){this.Serializable$values.timeSettings=a}}});
var okc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.userId=null==a.userId?null:a.userId;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.userAvailabilities=null==a.userAvailabilities?null:a.userAvailabilities};U(okc,Cn);okc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:Akc,userAvailabilities:Ekc,userId:Bp}}};
wh.Object.defineProperties(okc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Bn(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return YI(this,"status")?Bn(this,"status"):this.status=new Akc},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==Bn(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return YI(this,"userAvailabilities")?
Bn(this,"userAvailabilities"):this.userAvailabilities=new Ekc},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==Bn(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return YI(this,"userId")?Bn(this,"userId"):this.userId=new Bp},set:function(a){this.Serializable$values.userId=a}}});
var Fkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange;this.Serializable$values.status=null==a.status?null:a.status;this.Serializable$values.contexts=null==a.contexts?null:a.contexts};U(Fkc,Cn);Fkc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:Hkc,status:$I,timeRange:ZI}}};
wh.Object.defineProperties(Fkc.prototype,{contexts:{configurable:!0,enumerable:!0,get:function(){return YI(this,"contexts")?Bn(this,"contexts"):this.contexts=new Hkc},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Bn(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return YI(this,"status")?Bn(this,"status"):this.status=new $I},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,
enumerable:!0,get:function(){return YI(this,"timeRange")?Bn(this,"timeRange"):this.timeRange=new ZI},set:function(a){this.Serializable$values.timeRange=a}}});
var Hkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.workingElsewhere=null==a.workingElsewhere?null:a.workingElsewhere;this.Serializable$values.upcomingOoo=null==a.upcomingOoo?null:a.upcomingOoo;this.Serializable$values.localTime=null==a.localTime?null:a.localTime;this.Serializable$values.upcomingCommitmentContext=null==a.upcomingCommitmentContext?null:a.upcomingCommitmentContext};U(Hkc,Cn);
Hkc.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:wkc,upcomingCommitmentContext:Ckc,upcomingOoo:Dkc,workingElsewhere:Ikc}}};
wh.Object.defineProperties(Hkc.prototype,{localTime:{configurable:!0,enumerable:!0,get:function(){return YI(this,"localTime")?Bn(this,"localTime"):this.localTime=new wkc},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return YI(this,"upcomingCommitmentContext")?Bn(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=new Ckc},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,
enumerable:!0,get:function(){return YI(this,"upcomingOoo")?Bn(this,"upcomingOoo"):this.upcomingOoo=new Dkc},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return YI(this,"workingElsewhere")?Bn(this,"workingElsewhere"):this.workingElsewhere=new Ikc},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var Bp=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.obfuscatedGaiaId=null==a.obfuscatedGaiaId?null:a.obfuscatedGaiaId;this.Serializable$values.email=null==a.email?null:a.email};U(Bp,Cn);Bp.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
wh.Object.defineProperties(Bp.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return YI(this,"email")?Bn(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return YI(this,"obfuscatedGaiaId")?Bn(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var Jkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.homeLocation=null==a.homeLocation?null:a.homeLocation;this.Serializable$values.customLocation=null==a.customLocation?null:a.customLocation;this.Serializable$values.officeLocation=null==a.officeLocation?null:a.officeLocation};U(Jkc,Cn);Jkc.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:qkc,homeLocation:tkc,officeLocation:xkc}}};
wh.Object.defineProperties(Jkc.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return YI(this,"customLocation")?Bn(this,"customLocation"):this.customLocation=new qkc},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return YI(this,"homeLocation")?Bn(this,"homeLocation"):this.homeLocation=new tkc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return YI(this,
"officeLocation")?Bn(this,"officeLocation"):this.officeLocation=new xkc},set:function(a){this.Serializable$values.officeLocation=a}}});
var $I=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.inactive=null==a.inactive?null:a.inactive;this.Serializable$values.doNotDisturb=null==a.doNotDisturb?null:a.doNotDisturb;this.Serializable$values.outsideWorkingHours=null==a.outsideWorkingHours?null:a.outsideWorkingHours;this.Serializable$values.outOfOffice=null==a.outOfOffice?null:a.outOfOffice;this.Serializable$values.inMeeting=null==a.inMeeting?null:a.inMeeting;this.Serializable$values.calendarBusy=null==
a.calendarBusy?null:a.calendarBusy};U($I,Cn);$I.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:pkc,doNotDisturb:skc,inMeeting:ukc,inactive:vkc,outOfOffice:ykc,outsideWorkingHours:zkc}}};
wh.Object.defineProperties($I.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return YI(this,"calendarBusy")?Bn(this,"calendarBusy"):this.calendarBusy=new pkc},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return YI(this,"doNotDisturb")?Bn(this,"doNotDisturb"):this.doNotDisturb=new skc},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return YI(this,
"inMeeting")?Bn(this,"inMeeting"):this.inMeeting=new ukc},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return YI(this,"inactive")?Bn(this,"inactive"):this.inactive=new vkc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==Bn(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return YI(this,"outOfOffice")?Bn(this,"outOfOffice"):
this.outOfOffice=new ykc},set:function(a){this.Serializable$values.outOfOffice=a}},hasOutsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return null!==Bn(this,"outsideWorkingHours")}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return YI(this,"outsideWorkingHours")?Bn(this,"outsideWorkingHours"):this.outsideWorkingHours=new zkc},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});
var Ikc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};U(Ikc,Cn);Ikc.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:Jkc}}};wh.Object.defineProperties(Ikc.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return YI(this,"location")?Bn(this,"location"):this.location=new Jkc},set:function(a){this.Serializable$values.location=a}}});
var Gkc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};U(Gkc,Cn);Gkc.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:lkc},keys:["availableTime"]}};
wh.Object.defineProperties(Gkc.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return YI(this,"availableTime")?Bn(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var Kkc=new Zc("API_VERSION"),Lkc=new Zc("REQUEST_SERVICE"),aJ=function(){};aJ.\u0275fac=function(a){return new (a||aJ)};aJ.\u0275mod=Oc({type:aJ});aJ.\u0275inj=xc({});
var Mkc={$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"},bJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v1alpha":a;this.$apiClient=new hkc(b,c)},Nkc=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;return jkc(a.$apiClient,{body:b,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",
path:"/"+a.gapiVersion+"/useravailabilities:batchget",queryParams:wAa(c,Mkc,d),responseCtor:nkc})};bJ.\u0275fac=function(a){return new (a||bJ)(u(Kkc,8),u(Lkc),u(fkc,8))};bJ.\u0275prov=wc({token:bJ,factory:bJ.\u0275fac});var cJ=function(){};cJ.\u0275fac=function(a){return new (a||cJ)};cJ.\u0275prov=wc({token:cJ,factory:function(a){return bJ.\u0275fac(a)},providedIn:aJ});var dJ=function(a){var b=this;this.apiStub=a;this.result=new E.Subject;this.destroyed=new E.ReplaySubject(1);this.trigger=new E.Subject;this.batchedTrigger=this.trigger.pipe(Bia(this.trigger.pipe(Ge(200))));this.responseHandler=function(c){if(c.hasResults){c=k(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){e=e.status.outOfOffice;
if(e.comeBackTime){var g=e=new Date(e.comeBackTime),h=new Date;e=h.getFullYear()===g.getFullYear()&&h.getMonth()===g.getMonth()&&h.getDate()===g.getDate()?"at "+e.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"on "+(e.getFullYear()!==(new Date).getFullYear()?e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric"}));e=" - back "+e}else e="";e="Out of Office"+e}else e="";b.result.next({emailAddress:d,
availability:e})}else b.result.next({emailAddress:d,availability:""})}}};this.batchedTrigger.pipe(bf(this.destroyed)).subscribe(function(c){c=[].concat(ad(new Set(c)));var d=c.slice(0,100);Okc(b,d);c=k(c.slice(100));for(d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},Okc=function(a,b){var c,d;ne(function(e){for(var g=new Cp,h=[],m=k(b),r=m.next();!r.done;r=m.next()){r=r.value;var v=new Bp;v.email=r;h.push(v)}g.userIds=h;c=g;d=Nkc(a.apiStub,c);d.pipe(bf(a.destroyed)).subscribe(a.responseHandler);
se(e)})},Pkc=function(a,b){if(!b)return(0,E.of)("");a.trigger.next(b);return a.result.pipe(De(function(c){return c.emailAddress===b})).pipe(D(function(c){return c.availability}))};dJ.prototype.ngOnDestroy=function(){this.destroyed.next()};dJ.\u0275fac=function(a){return new (a||dJ)(u(cJ))};dJ.\u0275prov=wc({token:dJ,factory:dJ.\u0275fac});var eJ=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new E.ReplaySubject(1);this.availability=this.userSubject.pipe(af(function(c){return Pkc(b.waldoAvailabilityService,c)}))};eJ.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};eJ.\u0275fac=function(a){return new (a||eJ)(C(dJ))};
eJ.\u0275cmp=Mc({type:eJ,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[ed],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&&(P(0,xAa,6,3,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.availability))},dependencies:[Ow,Uw],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 fJ=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};fJ.\u0275fac=function(a){return new (a||fJ)(C(WH))};fJ.\u0275cmp=Mc({type:fJ,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&P(0,yAa,1,2,"ng-template",0);a&2&&F("refreshable",b.refreshMonitor.getObservable())},dependencies:[eJ,XI],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var Qkc=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.createdTimeMicros=this.authorUser=this.user=this.originalModelData=null;this.componentId=0;this.severity=this.priority=this.type=this.version=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.changelist=this.blockingIssueId=this.blockedByIssueId=this.duplicateOfIssueId=this.attachmentId=null;this.customField=[];this.duplicateIssueId=this.significanceOverride=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloStartTime=null;this.status="NEW"};
Qkc.prototype.setData=function(a,b,c){this.issueId=b;a=Zh(a);a.status=a.status||"NEW";a.blockingIssueId=a.blockingIssueId||[];a.componentId=a.componentId||0;a.changelist=a.changelist||[];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=Zh(a);this.assignee=pi(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.authorUser=a.authorUser;this.attachmentId=a.attachmentId;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=ri(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=ri(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];this.changelist=a.changelist;this.componentId=a.componentId||
0;this.createdTimeMicros=a.createdTimeMicros;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=pi(a.reporterUser);this.reporterUser=a.reporterUser;this.severity=a.severity;this.significanceOverride=a.significanceOverride;
this.status=a.status||"NEW";this.targetedToVersion=a.targetedToVersion;this.title=a.title;this.type=a.type;this.user=pi(a.authorUser);this.verifiedInVersion=a.verifiedInVersion;this.verifier=pi(a.verifierUser);this.verifierUser=a.verifierUser;this.version=a.version;this.sloStartTime=a.sloStartTime;this.sloEndTime=a.sloEndTime;this.sloSnoozeType=a.sloSnoozeType;var d,e;this.effortEstimate=null!=(e=null==(d=a.effort)?void 0:d.estimate)?e:null;this.customField=[];a&&(this.customField=(a.customField||
[]).filter(function(g){return g}).map(function(g){return new Rkc(g)}));c=k(c);e=c.next();for(d={};!e.done;d={$jscomp$loop$prop$fieldResource$67138365$11:d.$jscomp$loop$prop$fieldResource$67138365$11},e=c.next())d.$jscomp$loop$prop$fieldResource$67138365$11=e.value,e=d.$jscomp$loop$prop$fieldResource$67138365$11.allowedValue?d.$jscomp$loop$prop$fieldResource$67138365$11.allowedValue.map(function(g){return{value:g,displayText:g}}):null,(a=this.customField.find(function(g){return function(h){return h.customFieldId===
g.$jscomp$loop$prop$fieldResource$67138365$11.customFieldId}}(d)))?(a.type=d.$jscomp$loop$prop$fieldResource$67138365$11.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$67138365$11.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$67138365$11.customFieldId)]=a):(a=new Rkc({customFieldId:d.$jscomp$loop$prop$fieldResource$67138365$11.customFieldId}),a.type=d.$jscomp$loop$prop$fieldResource$67138365$11.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$67138365$11.name,
a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$67138365$11.customFieldId)]=a)};
var Tkc=function(a){for(var b=[],c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Skc(a,d.customFieldId);e=e?e.getValue():null;var g=d.getValue();if(!Yh(e,g)){if(e=d.isEmpty())d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){gJ(pi(a.originalModelData.assigneeUser),a.assignee,"assignee",b);gJ(a.originalModelData.componentId,a.componentId,"componentId",b);gJ(a.originalModelData.createdTimeMicros,
a.createdTimeMicros,"createdTimeMicros",b);gJ(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",b);gJ(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);gJ(a.originalModelData.inProd,a.inProd,"inProd",b);gJ(a.originalModelData.isArchived,a.isArchived,"isArchived",b);gJ(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);gJ(a.originalModelData.priority,a.priority,"priority",b);gJ(pi(a.originalModelData.reporterUser),a.reporter,"reporter",b);
gJ(a.originalModelData.severity,a.severity,"severity",b);gJ(a.originalModelData.significanceOverride,a.significanceOverride,"significanceOverride",b);gJ(a.originalModelData.status,a.status,"status",b);gJ(a.originalModelData.title,a.title,"title",b);gJ(a.originalModelData.type,a.type,"type",b);gJ(pi(a.originalModelData.authorUser),a.user,"user",b);gJ(pi(a.originalModelData.verifierUser),a.verifier,"verifier",b);gJ(a.originalModelData.version,a.version,"version",b);var h,m,r,v;gJ(null!=(r=null==(h=
a.originalModelData.sloStartTime)?void 0:h.seconds)?r:null,null!=(v=null==(m=a.sloStartTime)?void 0:m.seconds)?v:null,"sloStartTime",b);var y,A,G,N;gJ(null!=(G=null==(y=a.originalModelData.sloEndTime)?void 0:y.seconds)?G:null,null!=(N=null==(A=a.sloEndTime)?void 0:A.seconds)?N:null,"sloEndTime",b);gJ(a.originalModelData.sloSnoozeType,a.sloSnoozeType,"sloSnoozeType",b);var Q,Z;gJ(null!=(Z=null==(Q=a.originalModelData.effort)?void 0:Q.estimate)?Z:null,a.effortEstimate,"effortEstimate",b);hJ(a.originalModelData.attachmentId,
a.attachmentId,"attachmentId",b);hJ(ri(a.originalModelData.ccUsers),a.cc,"ccs",b);hJ(ri(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);hJ(a.originalModelData.changelist,a.changelist,"changelists",b);hJ(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);hJ(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);hJ(a.originalModelData.foundInVersion,a.foundInVersion,"foundInVersion",b);hJ(a.originalModelData.targetedToVersion,
a.targetedToVersion,"targetedToVersion",b);hJ(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);hJ(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},gJ=function(a,b,c,d){a!==b&&d.push({fieldName:c,value:null!=b?String(b):void 0})},hJ=function(a,b,c,d){var e=qqa(b||[],new Set(a));a=qqa(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"})};f=Qkc.prototype;
f.setCustomField=function(a,b){a=String(a);if(this.customFieldMap[a]){var c=this.customFieldMap[a].type;if(c)switch(c){case "UNKNOWN":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:Fh(c,"Unexpected custom field type: "+c)}}};f.setIsDeleted=function(a){this.isDeleted=a};f.setIsArchived=function(a){this.isArchived=a};f.setDeletionReason=function(a){this.deletionReason=a};f.setReporter=function(a){this.reporter=a};f.setType=function(a){this.type=a};f.setPriority=function(a){this.priority=a};
f.setSeverity=function(a){this.severity=a};f.setAssignee=function(a){this.assignee=a;a=El[this.status];!this.assignee&&this.originalModelData&&pi(this.originalModelData.assigneeUser)&&"REQUIRED"===(null==a?void 0:a.assigneeRequirement)?this.status="NEW":this.assignee&&"FIXED"!==this.status&&"VERIFIED"!==this.status&&(this.status="ASSIGNED")};
f.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalModelData&&pi(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
f.setStatus=function(a){this.status=a;a=El[this.status];"FORBIDDEN"===(null==a?void 0:a.assigneeRequirement)&&this.assigneeUser?this.assignee="":"REQUIRED"!==(null==a?void 0:a.assigneeRequirement)||this.assigneeUser||(this.assignee=this.currentUserEmail);"VERIFIED"!==this.status||this.verifier||(this.verifier=this.currentUserEmail)};f.setInProd=function(a){this.inProd=a};f.setCollaborators=function(a){this.collaborators=a};f.setFoundInVersion=function(a){this.foundInVersion=a};
f.setTargetedToVersion=function(a){this.targetedToVersion=a};f.setVerifiedInVersion=function(a){this.verifiedInVersion=a};f.setSloStartTime=function(a){this.sloStartTime=a};f.setSloEndTime=function(a){this.sloEndTime=a};f.setSloSnoozeType=function(a){this.sloSnoozeType=a};
var Skc=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?new ni(a):null:null},Rkc=function(a){ni.call(this,a);this.choices=this.customFieldName=this.type=null};U(Rkc,ni);Rkc.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var Ukc=new Map([["assignee",function(a,b){a.assigneeUser=xi(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(xi).filter(Ei)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=xi(b.reporter)}],["verifier",function(a,b){a.verifierUser=xi(b.verifier)}],["componentId",function(a,b){a.componentId=b.componentId}],["createdTimeMicros",function(a,b){a.createdTimeMicros=b.createdTimeMicros}],["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}],["significanceOverride",function(a,b){a.significanceOverride=b.significanceOverride}],["status",function(a,b){a.status=
b.status}],["title",function(a,b){a.title=b.title}],["type",function(a,b){a.type=b.type}],["user",function(a,b){a.authorUser=b.authorUser}],["version",function(a,b){a.version=b.version}],["attachmentId",function(a,b){a.attachmentId=b.attachmentId}],["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 iJ=function(a){this.$window=a};iJ.prototype.setDraft=function(a,b){this.$window.sessionStorage.setItem(En(a),b)};iJ.\u0275fac=function(a){return new (a||iJ)(u(FE))};iJ.\u0275prov=wc({token:iJ,factory:iJ.\u0275fac,providedIn:"root"});var jJ=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},ho=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},Vkc=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"};
jJ.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 Wkc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":ho(a)},Xkc=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/public-access":"http://go/buganizer-public-access"},Ykc=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"},Hvb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},
Zkc=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-dos-donts#creating-moving-issues"},Xs=function(){return"http://go/buganizer-retention"};jJ.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 EIb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};jJ.prototype.getDisablingFieldsHelpLink=function(){return EIb()+"#hiding-inherited-fields"};var $kc=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};jJ.\u0275fac=function(a){return new (a||jJ)(u(bt))};jJ.\u0275prov=wc({token:jJ,factory:jJ.\u0275fac,providedIn:"root"});var alc=function(a,b){this.dialogRef=a;this.data=b;this.confirmButtonTheme=b.isDestructive?"warn":"primary";var c;this.cancelButtonText=null!=(c=b.cancelButtonText)?c:"Cancel";var d;this.confirmButtonText=null!=(d=b.confirmButtonText)?d:"Confirm";var e;this.showCancelButton=null!=(e=b.showCancelButton)?e:!0};alc.\u0275fac=function(a){return new (a||alc)(C(AA),C(CA))};
alc.\u0275cmp=Mc({type:alc,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,"color","click"],["mat-button","",1,"gmat-button","medium",3,"click"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),J(2,"div",1),H(3,"div",2),P(4,BAa,2,1,"button",3),H(5,"button",4),
M("click",function(){return b.dialogRef.close(!0)}),R(6),I()());a&2&&(B(1),Nf(b.data.title),B(1),F("innerHTML",b.data.content,Qd),B(2),F("ngIf",b.showCancelButton),B(1),F("color",b.confirmButtonTheme),B(1),Mf(" ",b.confirmButtonText," "))},dependencies:[Ow,qA,FA,GA,HA],encapsulation:2});var kJ=function(a){this.dialog=a},lJ=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
kJ.prototype.open=function(a){var b=a.onConfirm,c=a.onDismiss;yA(this.dialog.open(alc,{data:{title:a.title,content:a.content,isDestructive:a.isDestructive,cancelButtonText:a.cancelButtonText,confirmButtonText:a.confirmButtonText,showCancelButton:a.showCancelButton},maxWidth:"500px"})).subscribe(function(d){d?null==b||b():null==c||c()})};kJ.\u0275fac=function(a){return new (a||kJ)(u(DA))};kJ.\u0275prov=wc({token:kJ,factory:kJ.\u0275fac,providedIn:"root"});var mJ=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},clc=function(a,b){return new Promise(function(c){blc(a,b,function(){c(!0)},function(){c(!1)})})},blc=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",g=Ng("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},g=Pg([Ng('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}),Qg("a",(b.href="http://goto.google.com/vulnerability-slo",b.target="_blank",b),"Learn more")]);else if("PRIVACY_ISSUE"===b){e="Set the issue type to \u201cPrivacy Issue\u201d?";b={};g={};var h={};g=Pg([Ng('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}),Qg("a",(b.href="http://goto.google.com/pib-slo",b.target=
"_blank",b),"Learn more"),Ng(".\n\nDO NOT use this type to file ",{preserveNewlines:!0}),Qg("a",(g.href="http://goto.google.com/incident-response-policy",g.target="_blank",g),"privacy incidents"),Ng(". Incidents should be filed at ",{preserveNewlines:!0}),Qg("a",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),Ng(".\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:g,onConfirm:null!=c?c:function(){},onDismiss:null!=d?d:function(){}})}};mJ.\u0275fac=function(a){return new (a||mJ)(u(bt),u(jJ),u(kJ))};mJ.\u0275prov=wc({token:mJ,factory:mJ.\u0275fac,providedIn:"root"});var nJ=function(a){this.internalArray_=l(a,0,nJ.messageId)};U(nJ,q);nJ.repeatedFields_=[1];nJ.prototype.toObject=function(){if(null!=this){t(this);var a={zonesList:Ub(oj(this,ul,1),pdc)}}else a=void 0;return a};nJ.messageId="b.TimeZoneDataList";var oJ=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new gjc(function(d){a:{var e=k(c.activeSession.session.preload.timezones);for(var g=e.next();!g.done;g=e.next())if(g=g.value,d===g.timeZoneId_){e=g;break a}e=void 0}return e?(0,E.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:ul}).pipe(D(Nta))},10)};oJ.prototype.get=function(a){return this.memoized.get(a)};
var dlc=function(a){return a.executor.get({url:"action/timezone",responseConstructor:nJ}).pipe(D(function(b){return null==b?void 0:oj(b,ul,1).map(function(c){c=Nta(c);var d=G1b(c.getOffset(new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}})}))};oJ.\u0275fac=function(a){return new (a||oJ)(u(wD),u(bt))};oJ.\u0275prov=wc({token:oJ,factory:oJ.\u0275fac,providedIn:"root"});var pJ=function(a){this.executor=a},elc=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:gl,body:qua(b)}).pipe(D(function(c){return dua(c)}))};pJ.\u0275fac=function(a){return new (a||pJ)(u(wD))};pJ.\u0275prov=wc({token:pJ,factory:pJ.\u0275fac,providedIn:"root"});var qJ=function(a){this.userPreferencesManagerBase=a;this.destroyed$=new E.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(D(Zh));this.textDisplayPreferences$=this.preferences$.pipe(D(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=zn(this.textDisplayPreferences$.pipe(bf(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(D(function(b){return b.lastPublishMode}),
Ne());this.lastPublishModeProto$=this.lastPublishMode$.pipe(D(Kk));this.themePreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.themePreferences)?c:Zh(DE.themePreferences)}),Fn());this.listViewPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.listViewPreferences)?c:Zh(DE.listViewPreferences)}),Fn());this.layoutPreferences$=this.preferences$.pipe(D(this.getLayoutPreferences),Fn());this.dateTimePreferences$=this.preferences$.pipe(D(function(b){var c;return null!=
(c=b.dateTimePreferences)?c:Zh(DE.dateTimePreferences)}),Fn());this.homepagePreferences$=this.preferences$.pipe(D(this.getHomepagePreferences),Fn());this.keyboardPrefs$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.keyboardPreferences)?c:Zh(DE.keyboardPreferences)}),Fn());this.displayColumnsPreferences$=this.preferences$.pipe(D(function(b){var c,d;return null!=(d=null==(c=b.displayColumns)?void 0:c.column)?d:[]}),Fn());this.sortColumnsPreferences$=this.preferences$.pipe(D(function(b){var c,
d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}),Fn());this.needsAttentionPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.needsAttentionPreferences)?c:Zh(DE.needsAttentionPreferences)}),Fn());this.bugScreensaverPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.bugScreensaverPreferences)?c:Zh(DE.bugScreensaverPreferences)}),Fn());this.bugScreensaverSubject$=zn(this.bugScreensaverPreferences$.pipe(bf(this.destroyed$)),DE.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.g3nPreferences)?c:Zh(DE.g3nPreferences)}),Fn());zn(this.g3nPreferences$.pipe(bf(this.destroyed$)),DE.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.teamWarningPreferences)?c:Zh(DE.teamWarningPreferences)}),Fn());this.teamWarningPreferencesSubject$=zn(this.teamWarningPreferences$.pipe(bf(this.destroyed$)),DE.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(D(function(b){var c;return null!=(c=b.commentFilterPreferences)?c:Zh(DE.commentFilterPreferences)}),Fn());zn(this.commentFilterPreferences$.pipe(bf(this.destroyed$)),DE.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(D(function(b){return!!b.useCodefont}),Ne());this.autoCcOnComment$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.autoCcOnComment)?c:!1}),Ne());this.showFullHistory$=this.preferences$.pipe(D(function(b){return!!b.showFullHistory}),Ne());
this.showRecentEventsFirst$=this.preferences$.pipe(D(function(b){return!!b.showRecentEventsFirst}),Ne());this.showInlineImages$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.showInlineImages)?c:DE.showInlineImages}),Ne())};qJ.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};qJ.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var flc=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(D(a.getLayoutPreferences))},glc=function(a,b){return a.save({homepagePreferences:b}).pipe(D(a.getHomepagePreferences))};qJ.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:Zh(DE.dateTimePreferences)};
var hlc=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},ilc=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]};qJ.prototype.clearHomepagePreferences=function(){return glc(this,{})};var jlc=function(a,b){return a.save({displayColumns:{column:b}}).pipe(D(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}))};
qJ.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(D(function(b){var c,d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}))};var klc=function(a,b){return a.save({teamWarningPreferences:b}).pipe(D(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:Zh(DE.teamWarningPreferences)}))};qJ.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:Zh(DE.layoutPreferences)};
qJ.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:Zh(DE.homepagePreferences)};var rJ=function(a){return Zh(a.preferencesSubject$.getValue())};qJ.\u0275fac=function(a){return new (a||qJ)(u(sJ))};qJ.\u0275prov=wc({token:qJ,factory:qJ.\u0275fac,providedIn:"root"});
var sJ=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new E.BehaviorSubject(Zh(DE));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),llc(a);this.preferences$.next(a)};sJ.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,E.of)(mlc(this,a)):elc(this.userPreferencesResources,a).pipe(D(function(){return mlc(b,a)}))};
var mlc=function(a,b){var c=Zh(a.preferences$.value);c=Object.assign({},c,b);llc(c);a.preferences$.next(c);return c},llc=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=DE.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=DE.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=DE.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&"UNKNOWN_PRIORITY"!==a.notificationPreferences.collaboratorPriority||(a.notificationPreferences.collaboratorPriority=DE.notificationPreferences.collaboratorPriority)};sJ.\u0275fac=function(a){return new (a||sJ)(u(bt),u(pJ))};sJ.\u0275prov=wc({token:sJ,factory:sJ.\u0275fac,providedIn:"root"});var nlc=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"],["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"]]),olc=["P0","P1","P2","P3","P4"],plc="NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" "),qlc="BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),rlc=["S0","S1","S2","S3","S4"],slc=new Map([["PRIORITY_UNSPECIFIED","(Unspecified Priority)"],["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4",
"P4"]]),tlc=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"],["PROJECT","Project"],["FEATURE","Feature"],["MILESTONE","Milestone"],["EPIC","Epic"],["STORY","Story"],["TASK","Task"]]),ulc=new Set("PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),vlc=qlc.map(function(a){return{value:a,
displayText:Bua(a),altText:nlc.get(a)}}),tJ=function(){this.priorities=olc;this.severities=rlc;this.editIssueTypes=qlc;this.editIssueTypeChoices=vlc;this.issueTypesDisplayNames=tlc;this.issueTypesShortDescriptions=nlc;this.issuePrioritiesDisplayNames=slc;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};tJ.\u0275fac=function(a){return new (a||tJ)};tJ.\u0275prov=wc({token:tJ,factory:tJ.\u0275fac,providedIn:"root"});var uJ=function(a,b,c,d){GE.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new E.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=DE.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(g){if(""===g.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(g.id).pipe(bf(e.destroyed$));return(0,E.firstValueFrom)(h).then(function(m){return{name:g.name,timeZone:m}})})).then(function(g){g=k(g);for(var h=g.next();!h.done;h=
g.next())h=h.value,e.timeZones[h.name]=h.timeZone;a.preferences$.pipe(bf(e.destroyed$)).subscribe(function(m){m.dateTimePreferences&&(m=m.dateTimePreferences,e.userPrefs=m,e.userTimeZone=e.timeZones[m.timeZone],e.formatPrefChange$.next())})}).catch(function(g){e.errorHandler.errorHandler(null,g)})};U(uJ,GE);uJ.\u0275dir=GE.\u0275dir;uJ.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new XA(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var wlc=function(a,b){return a.formatPrefChange$.subscribe(b)};uJ.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};uJ.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};uJ.\u0275fac=function(a){return new (a||uJ)(u(qJ),u(oJ),u(tJ),u(oG))};uJ.\u0275prov=wc({token:uJ,factory:uJ.\u0275fac,providedIn:"root"});var vJ=function(a){this.dateFormatter=a};
vJ.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(ji(a)):"";if(a.enumValue)return a.enumValue;if(a.numericValue||0===a.numericValue)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(ji(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};vJ.\u0275fac=function(a){return new (a||vJ)(u(uJ))};vJ.\u0275prov=wc({token:vJ,factory:vJ.\u0275fac,providedIn:"root"});var wJ=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",blockedByIssueId:"Blocking Issues",foundInVersion:"Found In",
hotlists:"Hotlists",targetedToVersion:"Targeted To",verifiedInVersion:"Verified In"};this.ENUM_FIELDS=["type","status"]},zlc=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=DAa(b.bulkEditOps));var g=b.actions||[];!g.length&&b.bulkEditOps&&(g=CAa(b.bulkEditOps));b=xlc(g).map(function(h){return ylc(a,h,c,d)});b=b.filter(Boolean);if(!b.length)return"Issue(s) updated.";b=b.join(", ");return b=e?1==e.length?b+" on 1 issue.":b+(" on "+e.length+" issues."):b+"."},xlc=function(a){var b=
[],c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,"status"===d.fieldName?c.push(d):b.push(d);return b.concat(c)},ylc=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName,g=b.value||"<none>";b.customFieldValue?(d=new ni(b.customFieldValue),e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,g=a.customFieldFormatter.format(d)||"<none>"):e="effortEstimate"===b.fieldName&&d?d:a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName;"hotlists"===
b.fieldName?g=b.value.split(",").map(function(h){var m,r;return(m=null==(r=An(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:r.name)?"'"+m+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(g=g?ii(g.replace(/_/g," ").toLowerCase()):"");return"ADD"===b.actionType&&"hotlists"===b.fieldName?(g=g.replace(/,/g,", "),"Added issue to Hotlist ["+g+"]"):"REMOVE"===b.actionType&&"hotlists"===b.fieldName?(g=g.replace(/,/g,", "),"Removed issue from Hotlist ["+g+"]"):"ADD"===b.actionType&&
"parentId"===b.fieldName?"Added child issue(s) to parent ["+g+"]":"REMOVE"===b.actionType&&"parentId"===b.fieldName?"Unlinked child issue(s) from parent ["+g+"]":b.actionType||"status"!==b.fieldName?b.actionType||"comment"!==b.fieldName?b.actionType||"attachments"!==b.fieldName?b.actionType||"sloStartTime"!==b.fieldName?b.actionType||"sloEndTime"!==b.fieldName?"ADD"!==b.actionType||b.customFieldValue?"REMOVE"!==b.actionType||b.customFieldValue?"isArchived"===b.fieldName?"true"===b.value?"Archived successfully":
"Unarchived successfully":e+' set to "'+g+'"':(g=g.replace(/,/g,", "),'"'+g+'" removed from '+e):(g=g.replace(/,/g,", "),'"'+g+'" 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 "'+El[b.value].displayValue+'"'};wJ.\u0275fac=function(a){return new (a||wJ)(u(vJ),u(FH))};wJ.\u0275prov=wc({token:wJ,factory:wJ.\u0275fac,providedIn:"root"});var xJ=function(a){this.internalArray_=l(a,0,xJ.messageId)};U(xJ,q);xJ.prototype.getAttachmentsList=function(){return oj(this,RE,1)};xJ.prototype.setAttachmentsList=function(a){rj(this,1,a)};xJ.repeatedFields_=[1];xJ.prototype.toObject=function(){if(null!=this){t(this);var a={attachmentsList:Ub(this.getAttachmentsList(),Ndc)}}else a=void 0;return a};xJ.messageId="b.CreateAttachmentsResponse";var yJ=function(a){this.internalArray_=l(a,0,yJ.messageId)};U(yJ,q);yJ.prototype.getErrorMessage=function(){return V(this,2)};yJ.prototype.setErrorMessage=function(a){uk(this,2,a)};yJ.prototype.toObject=function(){if(null!=this){t(this);var a={encryptedMedia:Xb(Sj(this,1)),errorMessage:n(X(this,2))}}else a=void 0;return a};yJ.messageId="b.EncryptedMediaResponse";var Alc=function(){},zJ=function(a){this.executor=a};U(zJ,Alc);var Blc=function(a,b){var c=new occ;c.setFilename(b.filename);c.setMimeType(b.mimeType);null!=b.encryptedBlobId&&uk(c,3,b.encryptedBlobId);uk(c,4,b.docId);null!=b.size&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:yJ}).then(Jsa)};zJ.\u0275fac=function(a){return new (a||zJ)(u(xD))};zJ.\u0275prov=wc({token:zJ,factory:zJ.\u0275fac,providedIn:"root"});var AJ=function(){};AJ.\u0275fac=function(a){return new (a||AJ)};AJ.\u0275prov=wc({token:AJ,factory:AJ.\u0275fac,providedIn:"root"});var BJ=function(a){this.executor=a};U(BJ,AJ);BJ.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})};
BJ.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:RE}).then(Lsa)};BJ.\u0275fac=function(a){return new (a||BJ)(u(xD))};BJ.\u0275prov=wc({token:BJ,factory:BJ.\u0275fac,providedIn:"root"});var FAa=function(a){this.internalArray_=l(a)};U(FAa,q);FAa.prototype.toObject=function(){return Clc(this)};var Clc=function(a){if(null!=a)return t(a),{principalType:n(p(a,1)),detailedUserType:n(p(a,2))}};var Dlc=function(a){this.internalArray_=l(a,0,Dlc.messageId)};U(Dlc,q);Dlc.prototype.toObject=function(){if(null!=this){t(this);var a={principalTypeInfoMap:Wb(ik(this,1,FAa),Clc)}}else a=void 0;return a};Dlc.messageId="b.PrincipalTypeInfoBatchResponse";var CJ=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(Elc(this,!1));this.principalTypeWithDetailGetter=b.adapt(Elc(this,!0))},Elc=function(a,b){return function(c){return Flc(a.principalResources,c,b).then(function(d){return JAa(c,d)})}};CJ.prototype.get=function(a){return DJ(this,a,!1)};var DJ=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:KAa()})};
CJ.\u0275fac=function(a){return new (a||CJ)(u(EJ),u(XF))};CJ.\u0275prov=wc({token:CJ,factory:CJ.\u0275fac,providedIn:"root"});var EJ=function(a){this.executor=a},Flc=function(a,b,c){var d={};d.email=Dl(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:Dlc}).then(IAa).then(function(e){for(var g={},h=k(b),m=h.next();!m.done;m=h.next()){m=m.value;var r=void 0;g[m]=null!=(r=e[m])?r:KAa()}return g})};
EJ.\u0275fac=function(a){return new (a||EJ)(u(xD))};EJ.\u0275prov=wc({token:EJ,factory:EJ.\u0275fac,providedIn:"root"});var FJ=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};FJ.prototype.close=function(a){this.dialogRef.close(a)};FJ.\u0275fac=function(a){return new (a||FJ)(C(AA),C(jJ),C(CA))};
FJ.\u0275cmp=Mc({type:FJ,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&&(H(0,"div",0)(1,"h1",1),R(2,"User may not have access"),I(),H(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: "),
I(),H(6,"ul"),P(7,LAa,2,1,"li",3),I(),H(8,"section"),R(9,"Continue anyway?"),I()(),H(10,"footer",4)(11,"div",5)(12,"a",6),R(13,"Learn more"),I()(),H(14,"button",7),M("click",function(){return b.close(!0)}),R(15,"Continue"),I(),H(16,"button",8),M("click",function(){return b.close(!1)}),R(17,"Cancel"),I()()());a&2&&(B(7),F("ngForOf",b.userEmails),B(5),F("href",b.readMoreLink,Sd))},dependencies:[Nw,qA,FA,GA,HA],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var GJ=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},Hlc=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,g=b.analyticsEventLabel,h,m,r;return ne(function(v){switch(v.nextAddress){case 1:if(d.every(function(y){return 0===y.length}))return v.return(!0);oe(v,2);return v.yield(Glc(a,c,d,e),4);case 4:h=v.yieldResult;if(0===h.length)return v.return(!0);a.analytics.trackEvent(io.ADD_USER_WITHOUT_ACCESS,"warn",g);return v.yield(a.confirm(h,
e),5);case 5:m=v.yieldResult;if(!m)return mG(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent(io.ADD_USER_WITHOUT_ACCESS,"cancel",g),v.return(!1);a.analytics.trackEvent(io.ADD_USER_WITHOUT_ACCESS,"proceed",g);return v.return(!0);case 2:return r=re(v),a.logger.error(r),v.return(!1)}})},Glc=function(a,b,c,d){var e;return ne(function(g){if(1==g.nextAddress)return g.yield(a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=g.yieldResult;return g.return([].concat(ad(e.noAccessEmails||
[]),ad(e.unknownEmails||[])))})};GJ.prototype.confirm=function(a,b){var c=this,d,e,g;return ne(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(FJ,{width:"400px",data:d}),h.yield((0,E.firstValueFrom)(yA(e)),2);g=h.yieldResult;return h.return(!!g)})};GJ.\u0275fac=function(a){return new (a||GJ)(u(DA),u(TH),u(lG),u(nG),u(DG))};GJ.\u0275prov=wc({token:GJ,factory:GJ.\u0275fac,providedIn:"root"});var Ilc=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};Ilc.prototype.cancel=function(){this.state=4};var Jlc={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var HJ=function(a,b){this.initialComment=a=void 0===a?"":a;this.fromTemplate=void 0===b?!1:b;this.uploads=[];this.formattingMode="PLAIN";this.value=a};HJ.prototype.reset=function(){this.value="";Klc(this)};var Klc=function(a){for(var b=k(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},Llc=function(a){return a.fromTemplate&&a.initialComment===a.value};
HJ.prototype.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(Zh(c.blobRef));return a};HJ.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var Mlc=function(a){return!a.isEmpty()&&!Cwb(a)};HJ.prototype.isEmpty=function(){return!this.value&&!Nlc(this)};
var Cwb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},Nlc=function(a){return a.uploads.some(function(b){return 2===b.state})};var IJ=function(a,b){GE.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new E.BehaviorSubject({});this.issueId$=this.routeParams$.pipe(D(function(c){return c.issueId}),Ne())};U(IJ,GE);IJ.\u0275dir=GE.\u0275dir;
var Plc=function(a){a.activatedRoute.queryParams.pipe(bf(a.destroyed$)).subscribe(function(b){Olc(a,a.routeParams$.value,b)});a.router.events.pipe(De(function(b){return b instanceof Yxa}),D(function(b){return b}),bf(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);Olc(a,c,b.queryParams)})},Qlc=function(a,b){return a.routeParams$.pipe(D(function(c){return c[b]}))},Olc=function(a,b,c){for(var d=k(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[MAa(e.value)];a.routeParams$.next(b);c=k(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=k(d.value),d=e.next().value,e=e.next().value,a.params[MAa(d)]=e;b=k(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=k(c.value),c=d.next().value,d=d.next().value,a.params[MAa(c)]=d};IJ.\u0275fac=function(a){return new (a||IJ)(u(WG),u(Cm))};IJ.\u0275prov=wc({token:IJ,factory:IJ.\u0275fac,providedIn:"root"});var JJ=new Zc("routeParams",{factory:function(){return Hc(IJ).params}});var KJ=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};KJ.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,E.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=di(this.routeParams.template_comment)||1;return(0,E.defer)(function(){return Rlc(b,c,d,b.routeParams.do_attribution)})}return a?(0,E.of)(this.draftStore.$window.sessionStorage.getItem(En(a))||""):(0,E.of)("")};
var Rlc=function(a,b,c,d){var e,g,h,m,r;return ne(function(v){if(1==v.nextAddress)return oe(v,2),v.yield(a.issueComments.get(b,c),4);if(2!=v.nextAddress)return e=v.yieldResult,g=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(m="> From issue "+b+" on "+h+":",v.return(m+"\n\n"+g)):v.return(g);r=re(v);qG(a.errorHandler,r);return v.return("")})};KJ.\u0275fac=function(a){return new (a||KJ)(u(JJ),u(JI),u(iJ),u(oG))};
KJ.\u0275prov=wc({token:KJ,factory:KJ.\u0275fac,providedIn:"root"});var Slc=function(a,b,c,d,e){var g=this;this.issueId=a;this.defaultCommentSource=b;this.issueFetchResponseFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issueFr$=bI(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFr$.pipe(D(function(h){return null==h?void 0:h.issue}));this.componentId$=this.issue$.pipe(D(function(h){return null==h?void 0:h.snapshot[0].componentId}),Ne());this.comment$=this.defaultCommentSource.get(this.issueId).pipe($e(""),Ne(),df(this.userPreferencesManager.lastPublishModeProto$),
D(function(h){var m=k(h);h=m.next().value;m=m.next().value;h=new HJ(h);h.formattingMode=m;return h}),Ye({bufferSize:1,refCount:!0}));this.comment=function(){return An(g.comment$)};this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist();this.componentJudgementForNewContent$=this.componentId$.pipe(D(function(h){if(h&&g.createRestrictedResourcesComponentWhitelist.includes(h))return{severity:"PII",judgementReason:"None Specified"}}),Ye({bufferSize:1,
refCount:!0}));this.userDefinedJudgementForNewContent$=new E.BehaviorSubject(void 0);this.judgementForNewContent$=(0,E.combineLatest)([this.componentJudgementForNewContent$.pipe($e(void 0)),this.userDefinedJudgementForNewContent$]).pipe(D(function(h){var m=k(h);h=m.next().value;m=m.next().value;return null!=m?m:h}),Ye({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return An(g.judgementForNewContent$)}},Tlc=function(a){var b=a.comment(),c,d="NONE_DETECTED"===(null==(c=a.judgementForNewContent())?
void 0:c.severity)?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=k(b.uploads);for(var g=b.next();!g.done;g=b.next())g=g.value,2===g.state&&g.blobRef&&(g=Zh({attachment:g.blobRef}),d&&(g.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(g));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},Ulc=function(a){var b=Tlc(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},LJ=function(a,b,c,d){this.defaultCommentSource=a;this.issueFetchResponseFridge=b;this.activeSession=c;this.userPreferencesManager=d};LJ.prototype.create=function(a){return new Slc(a,this.defaultCommentSource,this.issueFetchResponseFridge,this.activeSession,this.userPreferencesManager)};LJ.\u0275fac=function(a){return new (a||LJ)(u(KJ),u(aI),u(bt),u(qJ))};LJ.\u0275prov=wc({token:LJ,factory:LJ.\u0275fac,providedIn:"root"});var MJ=function(){};MJ.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var NJ=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},Vlc=function(a){return NJ(a.assignmentBounds)||NJ(a.responseBounds)||NJ(a.closureBounds)},Wlc=function(a,b){switch(b){case "ASSIGNMENT":return NJ(a.assignmentBounds);case "RESPONSE":return NJ(a.responseBounds);case "CLOSURE":return NJ(a.closureBounds);default:return Vlc(a)}},Xlc=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&NAa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&NAa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&NAa(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(OAa),b[0]):0<c.length?(c.sort(OAa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};MJ.\u0275fac=function(a){return new (a||MJ)};MJ.\u0275prov=wc({token:MJ,factory:MJ.\u0275fac,providedIn:"root"});var Ylc=function(a,b,c,d,e){var g=this;this.issueId=a;this.issueFetchResponseFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=EE(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issueFetchResponse$=bI(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFetchResponse$.pipe(D(function(h){return null==
h?void 0:h.issue}));this.issueSnapshot$=this.issue$.pipe(D(function(h){return null==h?void 0:h.snapshot[0]}));this.hasSloDefined$=this.issue$.pipe(D(function(h){var m;return null==h?void 0:null==(m=h.aggregatedData)?void 0:m.sloStatus}),D(function(h){return!!h&&Vlc(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(D(function(h){return null!=(null==h?void 0:h.type)&&ulc.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(D(function(h){return!h&&!g.enableNonWtdmFieldPerTypeVisibility}));
this.isSloStatusPrimary$=(0,E.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(D(function(h){var m=k(h);h=m.next().value;m=m.next().value;return h||!m}));this.isSeverityPrimary$=this.isWtdmType$.pipe(D(function(h){return!h}));this.isChangelistPrimary$=(0,E.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(D(function(h){var m=k(h);h=m.next().value;m=m.next().value;return!h||"STORY"===(null==m?void 0:m.type)||"TASK"===(null==m?void 0:m.type)}));this.customFields$=this.issueFetchResponse$.pipe(D(function(h){var m;
return null!=(m=null==h?void 0:h.issue.customFields)?m:[]}));this.visibleFields$=this.issue$.pipe(D(function(h){var m;return null!=(m=null==h?void 0:h.visibleFields)?m:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(D(function(h){return h.map(function(m){return m.customFieldId}).filter(Ei)}),D(function(h){return new Set(h)}),Ye({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,E.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(D(function(h){h=k(h);var m=h.next().value;
return h.next().value.filter(function(r){return m.has(r.customFieldId)})}),Ye({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=(0,E.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(D(function(h){h=k(h);var m=h.next().value;return h.next().value.filter(function(r){return!m.has(r.customFieldId)})}),Ye({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,E.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(D(function(h){var m=
k(h);h=m.next().value;var r=m.next().value,v=m.next().value,y=m.next().value;m=m.next().value;return(h?0:4)+(r?0:1)+(!g.showSloStatus||v?0:1)+(!g.showChangelists||y?0:2)+m.length}),Ye({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(D(function(h){return 0<h}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(D(function(h){return 1===h?"Show 1 additional field":"Show "+h+" additional fields"}))},OJ=function(a,b,c,d){this.issueFetchResponseFridge=a;this.constants=
b;this.activeSession=c;this.sloStatusHelpersService=d};OJ.prototype.create=function(a){return new Ylc(a,this.issueFetchResponseFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};OJ.\u0275fac=function(a){return new (a||OJ)(u(aI),u(tJ),u(bt),u(MJ))};OJ.\u0275prov=wc({token:OJ,factory:OJ.\u0275fac,providedIn:"root"});var Aic=io.EDIT_ISSUE,PJ=function(a,b){GE.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=Gn(this.issueToTrackingState,RAa);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")};U(PJ,GE);PJ.\u0275dir=GE.\u0275dir;
var $lc=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),Zlc(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},pp=function(a,b,c){a.getState(b).variations.add(c)},Zlc=function(a,b,c,d){IH(a.clearcut,b,c);d=k(d);for(var e=d.next();!e.done;e=d.next())IH(a.clearcut,b,c+"-"+e.value)};PJ.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
PJ.\u0275fac=function(a){return new (a||PJ)(u(TH),u(HH))};PJ.\u0275prov=wc({token:PJ,factory:PJ.\u0275fac,providedIn:"root"});var QJ=function(a,b,c){GE.call(this);var d=this;this.paramsService=b;this.issueFetchResponseFridge=c;this.componentIdOverride$=new E.BehaviorSubject(null);this.hotlistIdOverride$=new E.BehaviorSubject(null);this.issueIdOverride$=new E.BehaviorSubject(null);this.routeIssueId$=this.paramsService.issueId$.pipe(D(TAa),Ye({refCount:!0,bufferSize:1}));this.routeComponentId$=Qlc(this.paramsService,"componentId").pipe(Ne());this.routeHotlistId$=Qlc(this.paramsService,"hotlistId").pipe(Ne());this.issueId$=
(0,E.combineLatest)([this.issueIdOverride$,this.routeIssueId$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e||g}),D(TAa),Ne(),Ye({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(af(function(e){return e?bI(d.issueFetchResponseFridge,e):(0,E.of)(void 0)}),D(function(e){var g;return null==e?void 0:null==(g=e.issue)?void 0:g.snapshot[0].componentId}));this.componentId$=(0,E.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(D(function(e){var g=
k(e);e=g.next().value;var h=g.next().value;g=g.next().value;return e||h||g}),D(SAa),Ne(),Ye({refCount:!0,bufferSize:1}));this.hotlistId$=(0,E.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e||g}),D(SAa),Ne(),Ye({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){gn("dimension4",
e)}))};U(QJ,GE);QJ.\u0275dir=GE.\u0275dir;QJ.prototype.getComponentId=function(){return this.componentId$};QJ.prototype.getIssueId=function(){return this.issueId$};QJ.prototype.getHotlistId=function(){return this.hotlistId$};QJ.\u0275fac=function(a){return new (a||QJ)(u(SH),u(IJ),u(aI))};QJ.\u0275prov=wc({token:QJ,factory:QJ.\u0275fac,providedIn:"root"});var RJ=function(a,b,c,d,e,g,h){var m=this;this.issueFetchResponseFridge=a;this.issueFridge=b;this.teamFridge=c;this.componentFridge=d;this.eventsForIssue=e;this.activatedRoute=g;this.contextSensitiveRegistry=h;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(D(function(r){return r||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(D(DBa),Ye({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(af(function(r){return bI(m.issueFetchResponseFridge,r)}),Ye({refCount:!0,bufferSize:1}));
this.issueJs$.pipe(D(function(r){return null==r?void 0:r.firstEvent}));this.eventsJs$=this.id$.pipe(af(this.eventsForIssue.watch),D(function(r){var v;return null!=(v=null==r?void 0:r.events)?v:[]}));this.starred$=this.issueJs$.pipe(D(UAa));this.lastViewedTimeMicros$=this.issueJs$.pipe(D(VAa));this.lastViewedTimeMicros$.pipe(D(function(r){return!r}));this.issueJs$.pipe(D(WAa));this.issueJs$.pipe(D(mBa));this.accessLimitLevel$=this.issueJs$.pipe(D(dBa));this.voted$=this.issueJs$.pipe(D(nBa));this.status$=
this.issueJs$.pipe(D(XAa));this.priority$=this.issueJs$.pipe(D(YAa));this.assignee$=this.issueJs$.pipe(D(ZAa));this.issueJs$.pipe(D($Aa));this.teamId$=this.issueJs$.pipe(D(aBa));this.team$=this.teamId$.pipe(af(this.teamFridge.watch),Ye({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(D(cBa));this.collaboratorsUsers$=this.issueJs$.pipe(D(eBa));this.issueJs$.pipe(D(function(r){var v,y;return null!=(y=null==(v=Ql(r))?void 0:v.severity)?y:void 0}));this.type$=this.issueJs$.pipe(D(fBa));this.issueJs$.pipe(D(gBa));
this.issueJs$.pipe(D(hBa));this.issueJs$.pipe(D(iBa));this.postmortems$=this.issueJs$.pipe(D(jBa));this.postmortems$.pipe(D(function(r){return 0<r.length}));this.issueJs$.pipe(D(kBa));this.effort$=this.issueJs$.pipe(D(lBa));this.isDeleted$=this.issueJs$.pipe(D(pBa));this.accessLevel$=this.issueJs$.pipe(D(rBa));this.modifiedTime$=this.issueJs$.pipe(D(sBa));this.retention$=this.issueJs$.pipe(D(uBa));this.retention=function(){return An(m.retention$)};this.retentionState$=this.issueJs$.pipe(D(xBa));this.retentionState=
function(){return An(m.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(D(vBa));this.canonicalIssue$=this.canonicalIssueId$.pipe(af(this.issueFridge.watch));this.sloStatus$=this.issueJs$.pipe(D(function(r){var v;return null==r?void 0:null==(v=r.issue.aggregatedData)?void 0:v.sloStatus}));this.sloId$=this.issueJs$.pipe(D(yBa));this.createdTimeMicros$=this.issueJs$.pipe(D(zBa));this.componentId$=this.issueJs$.pipe(D(bBa));this.component$=this.componentId$.pipe(af(this.componentFridge.watch));
this.teamSuggestions$=this.component$.pipe(D(function(r){var v;return null!=(v=null==r?void 0:r.teamSuggestions)?v:[]}));this.effortSpec$=this.component$.pipe(D(ABa));this.isEffortEnabled$=this.component$.pipe(D(BBa));this.component$.pipe(D(CBa));this.thinking$=this.issueFetchResponseFridge.thinking$};RJ.\u0275fac=function(a){return new (a||RJ)(u(aI),u(YH),u(AI),u(PF),u(CF),u(Cm),u(QJ))};RJ.\u0275prov=wc({token:RJ,factory:RJ.\u0275fac,providedIn:"root"});var amc={admin:!1,writer:!0,appender:!0,reader:!0},TJ=function(a,b,c,d,e,g){var h=this;this.issueDetailsBrain=a;this.permissionsFridge=b;this.activeSession=c;this.accessPolicyApi=d;this.errorHandler=e;this.userAccess=g;this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+In(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(af(function(m){return m?h.permissionsFridge.watchOne("issues/"+
m):(0,E.of)(void 0)}),D(function(m){return null!=m?m:amc}),$e(amc),Ye({bufferSize:1,refCount:!1}));this.hasAclToEdit$=this.issuePermissions$.pipe(D(function(m){return!!m.writer}));this.hasAclToEdit=function(){return!!An(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(D(function(m){return!!m.appender}));this.hasAclToComment=function(){return!!An(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(D(function(m){return!!m.admin}));this.hasAclToAdmin=function(){return!!An(h.hasAclToAdmin$)};
this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(D(function(m){return m.some(function(r){return SJ(h,r.emailAddress)})}));this.isCurrentUserCCd=function(){return!!An(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(D(function(m){return m.some(function(r){return SJ(h,r.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!An(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=this.hasAclToEdit$;(0,E.combineLatest)([this.hasAclToEdit$,
this.isCurrentUserCCd$]).pipe(D(function(m){var r=k(m);m=r.next().value;r=r.next().value;return m?r?"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(Ne(),af(function(m){return m?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(m)):(0,E.of)(!1)}),Ie(function(m){if(403===m.status)return(0,E.of)(!0);h.errorHandler.errorHandler(null,m);return(0,E.of)(!1)}),
Ye({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!An(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,E.combineLatest)([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(D(function(m){var r=k(m);m=r.next().value;r=r.next().value;return m&&r}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Ne(),af(function(m){return m?aG(h.userAccess,"admin","components/"+m):(0,E.of)(!1)}),Ie(function(m){h.errorHandler.errorHandler(null,
m);return(0,E.of)(!1)}),Ye({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return An(h.accessLevel$)};this.isWithinExternalComponent$=this.accessLevel$.pipe(D(function(m){return!(!m||"INTERNAL"===m)}));this.audience$=this.isWithinExternalComponent$.pipe(D(function(m){return m?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE"}));this.audience=function(){return An(h.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;this.canChangeCommentRetention=
function(){return An(h.canChangeCommentRetention$)}},SJ=function(a,b){return 0===(null==b?void 0:b.search(a.currentUserEmailPattern))},bmc=function(a,b){return Jl(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||pi(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},cmc=function(a,b){return Jl(b)&&"ACTIVE"===b.commentDeletionStatus?ti(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():!1};
TJ.prototype.canEditComment$=function(a){var b=this;return(0,E.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(D(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return void 0!==c&&"ENABLED"===c.commentEditState&&"DELETED"!==a.commentDeletionStatus&&"PURGED"!==a.commentDeletionStatus&&a.commentNumber?1===a.commentNumber?e:d&&ti(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
TJ.\u0275fac=function(a){return new (a||TJ)(u(RJ),u(fI),u(bt),u(DG),u(oG),u($F))};TJ.\u0275prov=wc({token:TJ,factory:TJ.\u0275fac,providedIn:"root"});var dmc={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},emc={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},fmc={type:"START",displayText:"Start work",description:"Change issue status to '"+Al.ACCEPTED+"'"},gmc={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+Al.FIXED+"'"},hmc={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+Al.VERIFIED+"'"},imc={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+Al.ASSIGNED+"'"};var kmc=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(Ye({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(D(function(g){return null==g?void 0:g.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(D(function(g){return(null==g?void 0:g.assigneeUser)&&ti(g.assigneeUser)}),D(zi));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(D(function(g){return null==g?void 0:g.componentId}),Ne(),af(function(g){return g?e.componentTemplatesFridge.defaultTemplate$(String(g)):(0,E.of)(void 0)}),D(function(g){return g&&ti(g.snapshot.assigneeUser)}),Ye({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return An(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,E.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(D(function(g){var h=
k(g);g=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&g!==h?emc:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(D(function(g){return g&&jmc(e,g)}))},jmc=function(a,b){var c=a.activeSession.getUserEmail();a=ti(b.assigneeUser)===c;c=ti(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return hmc;if(a)switch(b){case "ASSIGNED":return fmc;case "ACCEPTED":return gmc;default:return imc}switch(b){case "NEW":return dmc;case "ASSIGNED":return dmc;case "ACCEPTED":return dmc;
default:return imc}},UJ=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};UJ.prototype.create=function(a){return new kmc(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};UJ.\u0275fac=function(a){return new (a||UJ)(u(bt),u(YH),u(tG))};UJ.\u0275prov=wc({token:UJ,factory:UJ.\u0275fac,providedIn:"root"});var lmc=function(){this.transform=EBa};lmc.\u0275fac=function(a){return new (a||lmc)};lmc.\u0275pipe=Rc({name:"toNewEmailPreference",type:lmc,pure:!0});var VJ=function(){this.transform=FBa};VJ.\u0275fac=function(a){return new (a||VJ)};VJ.\u0275pipe=Rc({name:"enumToHuman",type:VJ,pure:!0});var WJ=function(){this.transform=GBa};WJ.\u0275fac=function(a){return new (a||WJ)};WJ.\u0275pipe=Rc({name:"arrayToHuman",type:WJ,pure:!0});var XJ=function(){};
XJ.prototype.transform=function(a,b){return Og(HBa(a,b)).toString()};XJ.\u0275fac=function(a){return new (a||XJ)};XJ.\u0275pipe=Rc({name:"boldPrefixMatches",type:XJ,pure:!0});var YJ=function(){this.transform=IBa};YJ.\u0275fac=function(a){return new (a||YJ)};YJ.\u0275pipe=Rc({name:"yesNo",type:YJ,pure:!0});var mmc=function(){this.transform=JBa};mmc.\u0275fac=function(a){return new (a||mmc)};mmc.\u0275pipe=Rc({name:"teamPath",type:mmc,pure:!0});var nmc=function(){this.transform=KBa};
nmc.\u0275fac=function(a){return new (a||nmc)};nmc.\u0275pipe=Rc({name:"humanFileSize",type:nmc,pure:!0});var ZJ=function(){this.transform=Jn};ZJ.\u0275fac=function(a){return new (a||ZJ)};ZJ.\u0275pipe=Rc({name:"omitObfuscatedEmail",type:ZJ,pure:!0});var omc=function(){this.transform=Kn};omc.\u0275fac=function(a){return new (a||omc)};omc.\u0275pipe=Rc({name:"toString",type:omc,pure:!0});var pmc=function(){this.transform=MBa};pmc.\u0275fac=function(a){return new (a||pmc)};
pmc.\u0275pipe=Rc({name:"csv",type:pmc,pure:!0});var qmc=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),$J=function(){};$J.prototype.transform=function(a){return null==a?void 0:a.split("").reverse().map(function(b){var c;return null!=(c=qmc.get(b))?c:b}).join("")};$J.\u0275fac=function(a){return new (a||$J)};$J.\u0275pipe=Rc({name:"reverse",type:$J,pure:!0});var aK=function(){};aK.\u0275fac=function(a){return new (a||aK)};aK.\u0275mod=Oc({type:aK});
aK.\u0275inj=xc({});var bK=function(a){a=void 0===a?[]:a;this.internalValue$=new E.BehaviorSubject(new Set);this.value$=dVb(this.internalValue$).pipe(D(function(b){return new Set(b)}),Ne(Yh),Ye({refCount:!0,bufferSize:1}));this.reset(a)};f=bK.prototype;f.reset=function(a){this.value.clear();a=k(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
f.add=function(){for(var a=k(Wc.apply(0,arguments)),b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value);return this};f.clear=function(){this.value.clear();this.internalValue$.next(this.value)};f.delete=function(a){a=this.value.delete(a);this.internalValue$.next(this.value);return a};f.has=function(a){return this.value.has(a)};var bo=function(a,b){return a.internalValue$.pipe(D(function(c){return c.has(b)}),Ne())};bK.prototype[Symbol.iterator]=function(){return this.value.values()};
bK.prototype.toString=function(){return"[ReactiveSet](["+[].concat(ad(this.value.values())).join(", ")+"])"};bK.prototype.indexOf=function(a){return[].concat(ad(this.value.values())).indexOf(a)};
wh.Object.defineProperties(bK.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(D(function(a){return a.size}),Ne())}}});var rmc=function(){this.propertiesBeingSaved=new bK};rmc.prototype.get=function(a){return this.propertiesBeingSaved.has(Kn(a))};var cK=function(a,b){a.propertiesBeingSaved.add(Kn(b))},dK=function(a,b){a.propertiesBeingSaved.delete(Kn(b))};rmc.prototype.properties=function(){return[].concat(ad(this.propertiesBeingSaved))};var eK=function(){};eK.prototype.transform=function(a){return Ln(a)};eK.\u0275fac=function(a){return new (a||eK)};eK.\u0275pipe=Rc({name:"appendDomain",type:eK,pure:!0});var QBa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var fK=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb,cb){var sa=this;this.issueFetchResponseFridge=a;this.activeSession=b;this.butterBar=c;this.issueInteractionsTracking=d;this.issueApi=e;this.componentFridge=g;this.permissionsFridge=h;this.eventsForIssueFridge=m;this.statusMessages=r;this.errorHandler=v;this.confirmationDialogService=y;this.principalTypes=A;this.issuePermissionService=G;this.accessPolicy=N;this.issueTypeDialog=Q;this.logger=Z;this.issueFridge=Y;this.confirmNoAccessService=
ea;this.issueService=ja;this.attachmentsMember=va;this.userPreferencesManager=za;this.issueComments=Pa;this.draftStore=Sa;this.attachmentApi=Wa;this.issueFieldsFactory=Qb;this.issueQuickActionsFactory=Gb;this.issueCommentDraftFactory=cb;this.isSavingMap=new Map;this.savingState=Gn(this.isSavingMap,function(){return new rmc});this.issueFieldsMap=new Map;this.issueFields=Gn(this.issueFieldsMap,function(Ja){return sa.issueFieldsFactory.create(Ja)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
Gn(this.issueQuickActionsMap,function(Ja){return sa.issueQuickActionsFactory.create(Ja)});this.editableIssueMap=new Map;this.editableIssue$=Gn(this.editableIssueMap,function(Ja){return smc(sa,Ja)});this.editableIssue=function(Ja){return sa.editableIssue$(Ja).value};this.subscriptions=new Map;this.getSubscription=Gn(this.subscriptions,function(){return new E.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=Gn(this.issueCommentDraftMap,function(Ja){return sa.issueCommentDraftFactory.create(Ja)});
this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};fK.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()};
fK.prototype.updateComponent=function(a,b,c){var d=this,e,g,h,m,r;return ne(function(v){if(1==v.nextAddress)return e=d.editableIssue(a),e.componentId=b,(g=tmc(d,e))&&g.actions&&g.actions.length?v.yield(d.getRetentionState(a),2):v.return();h=v.yieldResult;umc(d,g);m={issueId:a,componentId:b};r=c?d.issueApi.moveIssueExternal(a,m):d.issueApi.moveIssue(a,m);return v.return(vmc(d,r,g,{originalRetentionState:h}))})};
var edb=function(a,b,c){var d;return ne(function(e){if(!c)return a.butterBar.showWarning("Reporter can't be empty."),e.return();a.editableIssue(b).setReporter(c);return e.return(null!=(d=a.updateIssue(b))?d:Promise.resolve())})},Aeb=function(a,b,c){var d,e,g,h;return ne(function(m){if(1==m.nextAddress){d=zua(c);if(!d)return a.logger.warn("unknown issue type: "+c),m.return();e=a.editableIssue(b);return"VULNERABILITY"!==d&&"PRIVACY_ISSUE"!==d?m.jumpTo(2):m.yield(clc(a.issueTypeDialog,d),3)}if(2!=m.nextAddress&&
(g=m.yieldResult,!g))return m.return();e.setType(d);return m.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())})},Beb=function(a,b,c){var d,e,g;return ne(function(h){d=zl(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},xmc=function(a,b,c){var d,e,g;return ne(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=tmc(a,d);return e?(g=e.actions.find(function(m){return"duplicateOfIssueId"===
m.fieldName&&!Ok(m.value||"")}))&&g.value?h.return(wmc(a,b,{actionIssueId:g.value,implicitAppenders:d.cc,implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},ymc=function(a,b,c){var d,e;return ne(function(g){d=a.editableIssue(b);d.setStatus(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},zmc=function(a,b,c){var d,e,g;return ne(function(h){if(!c)return h.return();d=a.editableIssue(b);e=a.issueQuickActions(b);switch(c.type){case "TAKE":"NEW"===
d.status&&(d.status="ASSIGNED");d.assignee=e.activeSession.getUserEmail();break;case "DEFAULT_ASSIGNEE":var m=e.defaultAssigneeForComponent();m&&("NEW"===d.status&&(d.status="ASSIGNED"),d.assignee=m);break;case "START":d.status="ACCEPTED";break;case "FIX":d.status="FIXED";break;case "VERIFY":d.status="VERIFIED";break;case "REOPEN":d.status=d.assignee?"ASSIGNED":"NEW";break;default:Fh(c.type)}return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},ldb=function(a,b,c){var d,e;return ne(function(g){d=
a.editableIssue(b);var h;d.effortEstimate=null!=(h=null==c?void 0:c.estimate)?h:null;return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},leb=function(a,b,c){var d,e,g;return ne(function(h){d=a.editableIssue(b);e=sqa(c,!1);d.setFoundInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},peb=function(a,b,c){var d,e,g;return ne(function(h){d=a.editableIssue(b);e=sqa(c,!1);d.setVerifiedInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},
neb=function(a,b,c){var d,e,g;return ne(function(h){d=a.editableIssue(b);e=sqa(c,!1);d.setTargetedToVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},reb=function(a,b,c){var d,e;return ne(function(g){d=a.editableIssue(b);d.setInProd(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},geb=function(a,b,c){var d,e,g;return ne(function(h){d=Aua(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return(null!=
(g=a.updateIssue(b))?g:Promise.resolve())})};fK.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return ne(function(g){d=c.editableIssue(a);d.setSloStartTime(b);return g.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};fK.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return ne(function(g){d=c.editableIssue(a);d.setSloEndTime(b);return g.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};
var jeb=function(a,b,c){var d,e,g;return ne(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},yeb=function(a,b,c,d){var e,g;return ne(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Bdb=function(a,b,c){var d,e,g,h;return ne(function(m){switch(m.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?m.yield(Amc(a,
b,"verifier",[c]),5):m.yield(Hlc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=m.yieldResult;if(!e)return m.return();m.jumpTo(3);break;case 5:if(g=m.yieldResult,!g)return m.return();case 3:return d.setVerifier(c),m.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},udb=function(a,b,c){var d,e,g,h;return ne(function(m){switch(m.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?
m.yield(Amc(a,b,"assignee",[c]),5):m.yield(Hlc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=m.yieldResult;if(!e)return m.return();m.jumpTo(3);break;case 5:if(g=m.yieldResult,!g)return m.return();case 3:return d.setAssignee(c),m.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},Bmc=function(a,b,c){var d,e,g,h,m,r;return ne(function(v){switch(v.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return v.yield(Amc(a,
b,"CC",c),5);e=Iua(d.cc,c);g=e.added;return v.yield(Hlc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=v.yieldResult;if(!h)return v.return();v.jumpTo(3);break;case 5:if(m=v.yieldResult,!m)return v.return();case 3:return d.cc=c,v.return(null!=(r=a.updateIssue(b))?r:Promise.resolve())}})},Cmc=function(a,b,c){var d,e,g,h,m,r;return ne(function(v){switch(v.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return v.yield(Amc(a,
b,"collaborators",c),5);e=Iua(d.collaborators,c);g=e.added;return v.yield(Hlc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=v.yieldResult;if(!h)return v.return();v.jumpTo(3);break;case 5:if(m=v.yieldResult,!m)return v.return();case 3:return d.setCollaborators(c),v.return(null!=(r=a.updateIssue(b))?r:Promise.resolve())}})};
fK.prototype.unarchive=function(a){var b=this,c,d;return ne(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return(null!=(d=b.updateIssue(a))?d:Promise.resolve())})};
fK.prototype.updateIssueRetention=function(a,b){var c=this,d,e,g;return ne(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),cK(e,"retention"),oe(h,2,3),h.yield(c.issueApi.updateIssueRetention(a,d),5);case 5:return h.yield(c.issueFridge.poke(a),6);case 6:mG(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:pe(h);dK(e,"retention");qe(h,0);break;case 2:g=re(h),qG(c.errorHandler,g),h.jumpTo(3)}})};
var Dmc=function(a,b){var c,d,e;return ne(function(g){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=tmc(a,c);if(!d||!d.actions)return g.jumpTo(0);umc(a,d);e=a.issueService.delete(b,"ABUSE");return g.yield(vmc(a,e,d),0)})},HBb=function(a,b){var c,d,e;return ne(function(g){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=tmc(a,c);if(!d||!d.actions)return g.jumpTo(0);umc(a,d);e=a.issueService.undelete(b);return g.yield(vmc(a,e,d),0)})};
fK.prototype.updateSubscription=function(a,b){var c=this,d,e,g,h,m;return ne(function(r){switch(r.nextAddress){case 1:return d=c.savingState(a),r.yield((0,E.firstValueFrom)(c.issueFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=r.yieldResult;h=null==(g=e)?void 0:g.userData;if(null==h||d.get("subscribe"))return r.return();oe(r,3,4);cK(d,"subscribe");return r.yield(c.issueFridge.setNotificationSubscription(a,b),4);case 4:pe(r);dK(d,"subscribe");qe(r,0);break;case 3:m=re(r),qG(c.errorHandler,
m),r.jumpTo(4)}})};
var Emc=function(a,b,c){var d,e;ne(function(g){switch(g.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return g.return();oe(g,2,3);mG(a.butterBar,"Restoring attachment...");cK(d,"undeleteAttachment");return g.yield(a.attachmentsMember.undelete(b.toString(),c),5);case 5:mG(a.butterBar,"Attachment restored."),cI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:pe(g);dK(d,"undeleteAttachment");qe(g,0);break;case 2:e=re(g),qG(a.errorHandler,e),
g.jumpTo(3)}})},Fmc=function(a,b,c,d){var e,g;return ne(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();oe(h,2,3);mG(a.butterBar,"Deleting attachment...");cK(e,"deleteAttachment");return h.yield(a.attachmentsMember.delete(b,c,d),5);case 5:mG(a.butterBar,"Attachment deleted."),cI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:pe(h);dK(e,"deleteAttachment");qe(h,0);break;case 2:g=re(h),qG(a.errorHandler,
g),h.jumpTo(3)}})};
fK.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),g=Tlc(d);if(!g.commentText&&!g.attachmentsWithJudgements.length)return Promise.resolve();var h=Ulc(d);umc(this,h);return vmc(this,function(){return ne(function(m){switch(m.nextAddress){case 1:return m.yield(Gmc(c,a),2);case 2:if(!g.commentText){m.jumpTo(3);break}return m.yield(c.issueComments.create(String(a),g.commentText,g.formattingMode,g.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(En(a));
case 3:if(!g.attachmentsWithJudgements.length){m.jumpTo(5);break}var r=m.yield;var v=c.attachmentApi;var y=g.attachmentsWithJudgements,A=new xE;A.setIssueId(String(a));void 0!==y&&(y=y.map(Ksa),rj(A,3,y));v=v.executor.post({url:"action/issues/"+a+"/attachments",body:A,responseConstructor:xJ}).then(Msa);return r.call(m,v,6);case 6:e.reset();case 5:return d.userDefinedJudgementForNewContent$.next(void 0),m.return(cI(c.issueFetchResponseFridge,a))}})}(),h)};
var Gmc=function(a,b){var c,d;return ne(function(e){if(!rJ(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();c=a.editableIssue(b);var g=[].concat(ad(c.cc),[a.activeSession.getUserEmail()]);c.cc=g;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return e.yield(a.issueApi.updateIssue(b,d),0)})},smc=function(a,b){var c=bI(a.issueFetchResponseFridge,b).pipe(D(function(e){var g=
new Qkc;if(e){var h=Hmc(a,b,Zh(na(e.issue.snapshot)));g.currentUserEmail=a.activeSession.getUserEmail();g.setData(h,b,e.issue.customFields)}return g})),d=new E.BehaviorSubject(new Qkc);a.getSubscription(b).add(c.subscribe(d));return d};
fK.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=tmc(this,b);if(!c)return null;for(var d=!1,e=[],g=[],h=a,m=k(c.actions),r=m.next();!r.done;r=m.next()){r=r.value;var v=r.value||"";if("REMOVE"!==r.actionType)switch(r.fieldName){case "ccs":e=v.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":g=v.split(",").filter(Boolean);break;case "duplicateOfIssueId":Ok(v)||(e=b.cc,h=String(v),d=!0)}}return wmc(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:g,
isDeduping:d,isRemovingSelfFromCc:1===c.actions.length&&"ccs"===c.actions[0].fieldName&&"REMOVE"===c.actions[0].actionType&&this.activeSession.getUserEmail()===c.actions[0].value,requestData:c})};
var wmc=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,g=c.implicitEditors,h=c.isDeduping,m=c.isRemovingSelfFromCc,r=c.requestData,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa;return ne(function(Wa){switch(Wa.nextAddress){case 1:return Wa.yield(Promise.all([Imc(a,e,"appender",d),Imc(a,g,"writer",d)]),2);case 2:v=Wa.yieldResult;y=k(v);A=y.next().value;G=y.next().value;N=A;Q=G;Z=N.noAccessEmails||[];Y=Q.noAccessEmails||[];ea=[].concat(ad(Z),ad(Y));if(0===ea.length)return Wa.return(Jmc(a,r,h,m));oe(Wa,
3);return Wa.yield(Promise.all(ea.map(function(Qb){return Kmc(a,Qb)})),5);case 5:return ja=Wa.yieldResult,va=Ava({userPrincipals:ja,newEditors:Y,newImplicitUsers:ea,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),za=va.title,Pa=va.content,Wa.yield(lJ(a.confirmationDialogService,{title:za,content:Ng(Pa),confirmButtonText:"Allow"}),6);case 6:if(Sa=Wa.yieldResult)return Wa.return(Jmc(a,r,h,m));a.permissionsFridge.poke("issues/"+b);cI(a.issueFetchResponseFridge,b);ht(Wa,
0);break;case 3:re(Wa),a.butterBar.showWarning("Could not determine email type."),se(Wa)}})},Jmc=function(a,b,c,d){umc(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 vmc(a,e,b)},Imc=function(a,b,c,d,e,g){e=void 0===e?!1:e;g=void 0===g?null:g;if(e&&!g)throw Error("Lc");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?g:d;e={noAccessEmails:[]};
return 0!==b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(Ln),c,h,d):Promise.resolve(e)},Hmc=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&An(a);if(!a||!d)return c;d=d.properties();d=k(d);var e=d.next();for(b={};!e.done;b={$jscomp$loop$prop$customFieldId$1424658051$9:b.$jscomp$loop$prop$customFieldId$1424658051$9},e=d.next())if(e=e.value,e.match(/^\d+$/)){b.$jscomp$loop$prop$customFieldId$1424658051$9=di(e);var g=(c.customField||
[]).find(function(h){return function(m){return m.customFieldId===h.$jscomp$loop$prop$customFieldId$1424658051$9}}(b));e=a.customFieldMap[e];g&&e&&(g.textValue=e.textValue,g.dateValue=e.dateValue,g.enumValue=e.enumValue,g.numericValue=e.numericValue)}else g=void 0,null==(g=Ukc.get(e))||g(c,a);return c},tmc=function(a,b){var c=Tkc(b);if(!c)return null;var d=a.isSavingMap.get(String(b.issueId));c.actions=c.actions.filter(function(e){return!(null==d?0:d.get(TBa(e)))});return c.actions.length?c:null},
umc=function(a,b){var c=String(b.issueId);mG(a.butterBar,"Saving...",0);var d=b.actions.map(function(e){return e.fieldName}).join(",");$lc(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=k(b.actions);for(c=b.next();!c.done;c=b.next())cK(a,TBa(c.value))},vmc=function(a,b,c,d){var e,g;return ne(function(h){switch(h.nextAddress){case 1:return oe(h,2),h.yield(b,4);case 4:return e=h.yieldResult,$H(a.issueFridge,[c.issueId],{eagerUpdate:!1}).then(function(){var m=String(c.issueId);cI(a.issueFetchResponseFridge,
m);a.eventsForIssueFridge.poke(m)}),h.yield(Lmc(a,c,e,d),5);case 5:ht(h,0);break;case 2:g=re(h),Mmc(a,c,g),se(h)}})},Lmc=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,g,h,m,r;return ne(function(v){g=a.savingState(String(b.issueId));h=k(b.actions);for(m=h.next();!m.done;m=h.next())r=m.value,dK(g,TBa(r));return c?v.yield(Nmc(a,b,e),0):v.jumpTo(0)})},Mmc=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=k(b.actions);for(var g=b.next();!g.done;g=b.next())dK(e,TBa(g.value));
a.permissionsFridge.poke("issues/"+d);cI(a.issueFetchResponseFridge,d);em(c)&&403===c.status&&fm(c)?pG(a.errorHandler,fm(c)):qG(a.errorHandler,c)},Nmc=function(a,b,c){var d,e,g,h,m,r,v,y,A,G,N;return ne(function(Q){switch(Q.nextAddress){case 1:return Q.yield(a.getEffortSpec(String(b.issueId)),2);case 2:d=Q.yieldResult;e=a.editableIssue(String(b.issueId));m=zlc(a.statusMessages,b,e.customFieldMap,null!=(h=null==(g=d)?void 0:g.name)?h:"");if(!c){Q.jumpTo(3);break}return Q.yield(Promise.all([a.getRetentionState(String(b.issueId)),
a.getRetention(String(b.issueId))]),4);case 4:r=Q.yieldResult;v=k(r);y=v.next().value;A=v.next().value;G=y;N=A;var Z=m;if("INDEFINITE"!==N&&c&&G){var Y=AAa(c);var ea=AAa(G);Y=Y===ea?"":" Issue retention period changed from "+Y+" to "+ea+"."}else Y="";m=Z+Y;case 3:mG(a.butterBar,m),se(Q)}})},Amc=function(a,b,c,d){return ne(function(e){if(1==e.nextAddress){var g=a.editableIssue(b);var h=a.activeSession.getUserEmail();g=new Map([["CC",g.cc],["collaborators",g.collaborators],["assignee",g.assignee?[g.assignee]:
[]],["verifier",g.verifier?[g.verifier]:[]]]);(new Set([].concat(ad(g.values())).flat())).has(h)?(g.set(c,d),h=!(new Set([].concat(ad(g.values())).flat())).has(h)):h=!1;e=h?e.yield(Omc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},Omc=function(a,b,c,d){var e;return ne(function(g){if(1==g.nextAddress)return g.yield(Imc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=g.yieldResult;return e.noAccessEmails&&0!==e.noAccessEmails.length?g.return(lJ(a.confirmationDialogService,
{title:"Removing yourself from "+d+" may revoke your access to the issue",content:Ng("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?")})):g.return(!0)})};fK.prototype.getRetentionState=function(a){return(0,E.firstValueFrom)(bI(this.issueFetchResponseFridge,a).pipe(D(xBa)))};
fK.prototype.getRetention=function(a){return(0,E.firstValueFrom)(bI(this.issueFetchResponseFridge,a).pipe(D(uBa)))};fK.prototype.getEffortSpec=function(a){return(0,E.firstValueFrom)(bI(this.issueFetchResponseFridge,a).pipe(D(bBa),af(this.componentFridge.watch),D(ABa)))};var Kmc=function(a,b){return ne(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(DJ(a.principalTypes,b,!0))})};
fK.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=k(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};fK.\u0275fac=function(a){return new (a||fK)(u(aI),u(bt),u(lG),u(PJ),u(WE),u(PF),u(fI),u(CF),u(wJ),u(oG),u(kJ),u(CJ),u(TJ),u(DG),u(mJ),u(nG),u(YH),u(GJ),u(VH),u(AJ),u(qJ),u(JI),u(iJ),u(Alc),u(OJ),u(UJ),u(LJ))};
fK.\u0275prov=wc({token:fK,factory:fK.\u0275fac,providedIn:"root"});var gK=function(a,b,c){GE.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new E.ReplaySubject(1);this.ccInProgress$=new E.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(D(function(d){var e;return pi(null==(e=hva(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(D(function(d){var e;return qi(null==(e=hva(d))?void 0:e.ccUsers)||[]}));
this.assignee$=this.assigneeUpdate$.pipe(Ye({refCount:!0,bufferSize:1}));this.cc$=this.ccUpdate$.pipe(Ye({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};U(gK,GE);gK.\u0275dir=GE.\u0275dir;
var Pmc=function(a,b){var c,d,e;return ne(function(g){switch(g.nextAddress){case 1:c=An(a.id$);if(!c)return g.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;oe(g,2,3);return g.yield(udb(a.editIssueService,c,d),5);case 5:return g.yield((0,E.firstValueFrom)(a.assigneeUpdate$.pipe(De(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),Fe(6E4))),3);case 3:pe(g);a.assigneeInProgress$.next(!1);qe(g,0);break;case 2:throw e=re(g),e;}})},Qmc=function(a,b){var c,d,e,
g,h;return ne(function(m){switch(m.nextAddress){case 1:c=An(a.id$);if(!c)return m.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);g=void 0;"set_user"!==b.action||e?"remove_user"===b.action&&e&&(g=Bmc(a.editIssueService,c,d.cc.filter(function(r){return r!==b.email}))):g=Bmc(a.editIssueService,c,[].concat(ad(d.cc),[b.email]));if(!g)return m.return();oe(m,2,3);a.ccInProgress$.next(!0);return m.yield(g,5);case 5:return m.yield((0,E.firstValueFrom)(a.ccUpdate$.pipe(De(function(r){r=
r.includes(b.email);return"set_user"===b.action?r:!r}),Fe(6E4))),3);case 3:pe(m);a.ccInProgress$.next(!1);qe(m,0);break;case 2:throw h=re(m),h;}})};gK.\u0275fac=function(a){return new (a||gK)(u(RJ),u(TJ),u(fK))};gK.\u0275prov=wc({token:gK,factory:gK.\u0275fac});var UBa;var hK=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new pw;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};hK.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};hK.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
hK.prototype.getRoot=function(){var a;return null!=(a=VBa(this.elementRef.nativeElement))?a:document};hK.\u0275fac=function(a){return new (a||hK)(C(Bd))};hK.\u0275dir=Qc({type:hK,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var iK=function(){};iK.\u0275fac=function(a){return new (a||iK)};iK.\u0275mod=Oc({type:iK});iK.\u0275inj=xc({});var Rmc,Smc=Symbol("Mc"),Tmc=Symbol("Nc"),jK=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new pw;this[Rmc]=new E.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new E.BehaviorSubject(!1);this.closeHovercard$=new E.Subject};jK.prototype.ngOnInit=function(){};var Umc=function(a){var b=a[Tmc];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[Smc].pipe(Me(0))):(0,E.of)(void 0)};Rmc=Smc;
jK.\u0275fac=function(a){return new (a||jK)(C($f))};
jK.\u0275cmp=Mc({type:jK,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&cg(Zf,7);if(a&2){var c;bg(c=eg())&&(b.templateRef=c.first)}},inputs:{className:"className"},outputs:{onHide:"onHide"},exportAs:["onedevHovercard"],ngContentSelectors:["*"],decls:1,vars:0,consts:[["cdkTrapFocus","",3,"cdkTrapFocusAutoCapture","clickOutside","mouseenter","mouseleave"]],template:function(a){a&1&&(Gf(),P(0,WBa,2,3,"ng-template"))},dependencies:[Px,hK],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 kK=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[Tmc]=this};kK.\u0275fac=function(a){return new (a||kK)(C(Zf),C($f),C(Hw),C(jK))};kK.\u0275dir=Qc({type:kK,selectors:[["","onedevHovercardLazyBody",""]]});var lK=function(a){this.hovercard=a;this.destroyed$=new E.ReplaySubject(1)};lK.prototype.ngOnDestroy=function(){this.destroyed$.next()};lK.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(bf(this.destroyed$)).subscribe(this.hovercard[Smc])};
lK.\u0275fac=function(a){return new (a||lK)(C(jK))};lK.\u0275dir=Qc({type:lK,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:["onedevIsHovercardReady","isHovercardReady$"]}});var Vmc={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},Wmc={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},Xmc=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},Wmc,{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 mK=function(){this.delay=600;this.position=Xmc;this.triggerKey=[]},nK=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new mK;this.active=!1;this.hovercardShown$=new E.ReplaySubject(1);this.hide$=new E.Subject;this.hovercard$=new E.BehaviorSubject(null);this.isHovered$=new E.BehaviorSubject(!1);this.isKeyboardActivated$=new E.BehaviorSubject(!1);this.destroyed$=new E.ReplaySubject(1);this.onDocumentKeyDown=function(d){"Escape"===d.key&&(Ymc(c),
d.stopPropagation(),d.preventDefault())};Zmc(this);this.handleClose()},Zmc=function(a){$mc(a).pipe(bf(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};nK.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(af(function(b){return(null==b?void 0:b.closeHovercard$)||E.NEVER}),bf(this.destroyed$)).subscribe(function(){Ymc(a)})};nK.prototype.dispose=function(){anc(this);var a;null==(a=this.overlayRef)||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
nK.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};nK.prototype.toggle=function(a){this.isHovered$.next(a)};var Ymc=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;null==(b=a.hovercard$.getValue())||b.isOnHover$.next(!1)};
nK.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,Umc(this.hovercard$.getValue()).pipe(Oe(),bf(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};nK.prototype.hide=function(){anc(this);this.hide$.next()};
var anc=function(a){if(a.overlayRef&&a.overlayRef.hasAttached()){document.removeEventListener("keydown",a.onDocumentKeyDown);var b;null!=(b=a.hovercard$.getValue())&&b.onHide.emit();a.overlayRef.detach()}};nK.prototype.getPositionStrategy=function(){return Cz(Dz(Ez(Gz(this.overlay.position(),this.origin)),8),this.config.position)};
var $mc=function(a){return(0,E.combineLatest)([bnc(a).pipe($e(!1)),a.isKeyboardActivated$]).pipe(Ze(1),D(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}),af(function(b){var c;return(null==(c=a.waitFor$)?void 0:c.pipe(Te(b)))||(0,E.of)(b)}))},bnc=function(a){return a.hovercard$.pipe(af(function(b){return(0,E.combineLatest)([a.isHovered$,(null==b?void 0:b.isOnHover$)||(0,E.of)(!1)]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),Ke(a.config.delay),
bf(a.destroyed$))}))};var cnc=new Zc("onedevHovercardLoggingOn"),oK=function(a,b,c,d,e){var g=this;this.viewContainerRef=c;this.injector=e;this.config=new mK;this.destroyed$=new E.ReplaySubject(1);this.triggerControl=new nK(a,b);this.triggerControl.hovercardShown$.pipe(df(d||(0,E.of)(!1)),bf(this.destroyed$)).subscribe(function(h){h=k(h);h.next();h.next().value&&(g.clientStreamzService||(g.clientStreamzService=g.injector.get(aC)),g.clientStreamzService.logUsageMetric("hovercardShown",!0))})};f=oK.prototype;
f.ngOnChanges=function(a){if(a.hovercard){var b;a=null==(b=a.hovercard)?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 Xx(a.templateRef,c);b.hovercard$.next(a)}}};f.ngOnDestroy=function(){this.triggerControl.dispose();this.destroyed$.next();this.destroyed$.complete()};
f.isExpanded=function(){return this.triggerControl.isExpanded()};f.onKeyDown=function(a){if(this.config.triggerKey.includes(a.key)){var b=this.triggerControl;a.stopPropagation();a.preventDefault();b.isKeyboardActivated$.next(!0)}};f.toggle=function(a){this.triggerControl.toggle(a)};f.hide=function(){this.triggerControl.hide()};wh.Object.defineProperties(oK.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
oK.\u0275fac=function(a){return new (a||oK)(C(Hz),C(Bd),C($f),C(cnc,8),C(Lv))};
oK.\u0275dir=Qc({type:oK,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&&pf("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:["onedevHovercardTrigger",
"hovercard"],enabled:["onedevHovercardActive","enabled"],config:["onedevHovercardConfig","config"]},features:[ed]});var dnc=function(a){return["chip","gmat-caption",a]},pK=function(){this.variant="grey";this.isTall=!1};pK.\u0275fac=function(a){return new (a||pK)};
pK.\u0275cmp=Mc({type:pK,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Gf(),H(0,"div",0)(1,"div",1),Hf(2),I()());a&2&&F("ngClass",Sf(1,dnc,b.variant))},dependencies:[Mw],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 enc=function(a){this.chip=a};enc.\u0275fac=function(a){return new (a||enc)(C(pK))};enc.\u0275dir=Qc({type:enc,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&xf("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 fnc=function(){};fnc.\u0275fac=function(a){return new (a||fnc)};fnc.\u0275cmp=Mc({type:fnc,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&pf("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&R(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var gnc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],hnc=function(a){return{"with-avatar":a}},qK=function(){};qK.prototype.ngOnInit=function(){};qK.\u0275fac=function(a){return new (a||qK)};
qK.\u0275cmp=Mc({type:qK,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},ngContentSelectors:["[onedev-additional-content]","onedev-hovercard-action"],decls:14,vars:10,consts:[["role","dialog","aria-label","Person hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"contact-info",3,"ngClass"],["aria-hidden","true","class","avatar",3,"src","alt",4,"ngIf"],[1,"name","gmat-headline-4"],["class","email gmat-body-3",
4,"ngIf"],["class","chips gmat-caption",4,"ngIf"],[1,"content","gmat-body-3"],[4,"ngIf"],["aria-hidden","true",1,"avatar",3,"src","alt"],[1,"email","gmat-body-3"],[1,"chips","gmat-caption"],["variant","yellow"],["onedevChipIcon","","svgIcon","event_busy_24px"],["svgIcon","work_outline_24px"],[1,"detail"],[1,"dot-separated-list"],["onedevDot","",4,"ngIf"],["onedevDot",""],["svgIcon","location_pin_24px"],["svgIcon","link_24px"],["target","_blank","rel","noopener noreferrer",3,"href"]],template:function(a,
b){a&1&&(Gf(gnc),H(0,"div",0)(1,"div",1)(2,"div",2),P(3,XBa,1,2,"img",3),H(4,"div",4),R(5),I(),P(6,YBa,2,1,"div",5),I(),P(7,ZBa,4,1,"div",6),H(8,"div",7),P(9,cCa,7,3,"ng-container",8),P(10,dCa,4,1,"ng-container",8),P(11,gCa,21,6,"ng-container",8),Hf(12),I()(),Hf(13,1),I());a&2&&(B(2),F("ngClass",Sf(8,hnc,b.person.imageUrl)),B(1),F("ngIf",b.person.imageUrl),B(2),Mf(" ",b.person.name||b.person.email," "),B(1),F("ngIf",b.person.name),B(1),F("ngIf",b.outOfOfficeDescription),B(2),F("ngIf",b.person.title||
b.person.department),B(1),F("ngIf",b.person.location),B(1),F("ngIf",b.person.ldap))},dependencies:[pK,enc,Mw,Ow,fnc,bB],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}.avatar{border-radius:50%;object-fit:cover;height:48px;width:48px}"],
encapsulation:2,changeDetection:0});var inc=new Zc("API_VERSION"),jnc=new Zc("REQUEST_SERVICE"),rK=function(){};rK.\u0275fac=function(a){return new (a||rK)};rK.\u0275mod=Oc({type:rK});rK.\u0275inj=xc({});
var knc={$Xgafv:"$.xgafv",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",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",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",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",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",coreIdParamsIdentityAclOptionsContextConfigName:"coreIdParams.identityAclOptions.context.configName",coreIdParamsIdentityAclOptionsContextObjectId:"coreIdParams.identityAclOptions.context.objectId",coreIdParamsIdentityAclOptionsContextObjectPart:"coreIdParams.identityAclOptions.context.objectPart",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",
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",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",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",getPeopleRequestCoreIdParamsIdentityAclOptionsContextConfigName:"getPeopleRequest.coreIdParams.identityAclOptions.context.configName",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectId:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectId",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectPart:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectPart",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",getPeopleRequestMergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"getPeopleRequest.mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",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",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",mergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",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",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",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"},sK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new hkc(b,c)};sK.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return jkc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:wAa(a,knc,b)})};sK.\u0275fac=function(a){return new (a||sK)(u(inc,8),u(jnc),u(fkc,8))};sK.\u0275prov=wc({token:sK,factory:sK.\u0275fac});
var lnc=function(){};lnc.\u0275fac=function(a){return new (a||lnc)};lnc.\u0275prov=wc({token:lnc,factory:function(a){return sK.\u0275fac(a)},providedIn:rK});var tK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new hkc(b,c)};tK.\u0275fac=function(a){return new (a||tK)(u(inc,8),u(jnc),u(fkc,8))};tK.\u0275prov=wc({token:tK,factory:tK.\u0275fac});var mnc=function(){};mnc.\u0275fac=function(a){return new (a||mnc)};
mnc.\u0275prov=wc({token:mnc,factory:function(a){return tK.\u0275fac(a)},providedIn:rK});var hCa=/.*@google.com/,nnc=new Zc("onedevPeopleServiceConfig"),onc={},uK=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new E.Subject;this.config=onc;c&&c.pipe(cf(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),bf(this.destroy$)).subscribe({next:function(e){d.config=e}})},qnc=function(a,b){return pnc(a,[b]).pipe(D(function(c){return c[0]}))},pnc=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","CONTACT","DOMAIN_CONTACT","GOOGLE_GROUP"],sources:["PROFILE_SOURCE"],access_token:a.config.accessToken}).pipe(D(function(c){return lCa(b,c)}))};uK.prototype.ngOnDestroy=function(){this.destroy$.next()};uK.\u0275fac=function(a){return new (a||uK)(u(lnc),u(mnc),u(nnc,8))};uK.\u0275prov=wc({token:uK,factory:uK.\u0275fac});var rnc=function(a){this.internalArray_=l(a)};U(rnc,q);f=rnc.prototype;f.getSize=function(){return Ft(this,1)};f.setSize=function(a){return dj(this,1,a)};f.getWidth=function(){return Ft(this,12)};f.setWidth=function(a){return dj(this,12,a)};f.getHeight=function(){return Ft(this,13)};f.setHeight=function(a){return dj(this,13,a)};f.setStretch=function(a){return Xj(this,33,a)};f.setCrop=function(a){return Xj(this,2,a)};f.setCircleCrop=function(a){return Xj(this,51,a)};
f.setImageCrop=function(a){return Xj(this,32,a)};f.setSmartCrop=function(a){return Xj(this,19,a)};f.setSmartCropNoClip=function(a){return Xj(this,52,a)};f.setSmartCropUseFace=function(a){return Xj(this,67,a)};f.setDetectFaces=function(a){Xj(this,80,a)};f.setCenterCrop=function(a){return Xj(this,20,a)};f.setPad=function(a){return Xj(this,60,a)};f.getDownload=function(){return Vj(this,3,!1)};f.setDownload=function(a){Xj(this,3,a)};f.setHtml=function(a){Xj(this,4,a)};
f.getObjectId=function(){return p(this,7)};f.setObjectId=function(a){cj(this,7,a)};f.setLooseFaceCrop=function(a){return Xj(this,65,a)};f.setFaceCropVersion=function(a){dj(this,94,a)};f.setFrameId=function(a){cj(this,29,a)};f.setTileX=function(a){dj(this,9,a)};f.setTileY=function(a){dj(this,10,a)};f.setTileZoom=function(a){dj(this,11,a)};f.setTileGeneration=function(a){Xj(this,14,a)};f.setForceTileGeneration=function(a){Xj(this,34,a)};f.setTilePyramidAsProto=function(a){Xj(this,72,a)};
f.setExpirationTime=function(a){dj(this,15,a)};f.setImageFilter=function(a){return uk(this,16,a)};f.setKillAnimation=function(a){return Xj(this,17,a)};f.setUnfiltered=function(a){Xj(this,18,a)};f.setUnfilteredWithTransforms=function(a){Xj(this,45,a)};f.setIncludeMetadata=function(a){Xj(this,22,a)};f.setIncludePublicMetadata=function(a){Xj(this,54,a)};f.setStripGoogleData=function(a){Xj(this,82,a)};f.setPreserveGoogleData=function(a){Xj(this,83,a)};f.setStripMetadata=function(a){Xj(this,93,a)};
f.setStripGeoinfo=function(a){Xj(this,95,a)};f.setEsPortraitApprovedOnly=function(a){return Xj(this,21,a)};f.setBypassTakedown=function(a){Xj(this,23,a)};f.getToken=function(){return X(this,24)};f.setToken=function(a){return uk(this,24,a)};f.setVersionedToken=function(a){uk(this,36,a)};f.setSkipRefererCheck=function(a){Xj(this,6,a)};f.getRotate=function(){return Ft(this,26)};f.setRotate=function(a){return dj(this,26,a)};f.setHorizontalFlip=function(a){Xj(this,30,a)};
f.setVerticalFlip=function(a){Xj(this,31,a)};f.getOverlay=function(){return Ur(this,27)};f.setOverlay=function(a){return Xj(this,27,a)};f.setQueryString=function(a){uk(this,28,a)};f.setRequestJpeg=function(a){return Xj(this,57,a)};f.setRequestPng=function(a){return Xj(this,58,a)};f.setRequestGif=function(a){Xj(this,59,a)};f.setRequestAvif=function(a){Xj(this,103,a)};f.setRequestWebp=function(a){return Xj(this,35,a)};f.setRequestWebpUnlessMaybeTransparent=function(a){Xj(this,41,a)};
f.setRequestAnimatedWebp=function(a){Xj(this,64,a)};f.setNoWebp=function(a){Xj(this,48,a)};f.setRequestH264=function(a){return Xj(this,49,a)};f.setLossy=function(a){Xj(this,97,a)};f.setNoOverlay=function(a){return Xj(this,37,a)};f.setBorderSize=function(a){dj(this,38,a)};f.setBorderRadius=function(a){dj(this,86,a)};f.setBorderColor=function(a){dj(this,39,a)};f.getBackgroundColor=function(){return Ft(this,87)};f.setBackgroundColor=function(a){dj(this,87,a)};f.setPadColor=function(a){dj(this,88,a)};
f.setSubstitutionColor=function(a){dj(this,89,a)};f.setNoSilhouette=function(a){Xj(this,40,a)};f.setFocusBlur=function(a){dj(this,42,a)};f.setFocalPlane=function(a){dj(this,43,a)};f.setQualityLevel=function(a){return dj(this,44,a)};f.setQualityBucket=function(a){return dj(this,62,a)};f.setNoUpscale=function(a){Xj(this,46,a)};f.setPreserveAspectRatio=function(a){Xj(this,61,a)};f.setForceTransformation=function(a){Xj(this,50,a)};f.setNoDefaultImage=function(a){Xj(this,53,a)};
f.setNoCorrectExifOrientation=function(a){Xj(this,55,a)};f.setSelectFrameNumber=function(a){dj(this,56,a)};f.setVideoFormat=function(a){dj(this,63,a)};f.setVideoMultiFormat=function(a){uk(this,81,a)};f.setVideoManifest=function(a){Xj(this,98,a)};f.setDownloadVideo=function(a){Xj(this,90,a)};f.setVideoBegin=function(a){cj(this,68,a)};f.setVideoLength=function(a){cj(this,69,a)};f.setMatchVersion=function(a){Xj(this,66,a)};f.setImageDigest=function(a){Xj(this,70,a)};
f.setInternalClient=function(a){dj(this,71,a)};f.setMonogram=function(a){Xj(this,73,a)};f.setForceMonogram=function(a){return Xj(this,84,a)};f.setMonogramDogfood=function(a){Xj(this,91,a)};f.setIgnoreLowResProfilePhoto=function(a){Xj(this,96,a)};f.setAutoloop=function(a){Xj(this,74,a)};f.getImageVersion=function(){return p(this,75)};f.setImageVersion=function(a){cj(this,75,a)};f.setPitchDegrees=function(a){cj(this,76,Va(a))};f.setYawDegrees=function(a){cj(this,77,Va(a))};
f.setRollDegrees=function(a){cj(this,78,Va(a))};f.setFovDegrees=function(a){cj(this,79,Va(a))};f.setBadge=function(a){dj(this,85,a)};f.setColorProfile=function(a){dj(this,92,a)};f.setDeepCrop=function(a){uk(this,99,a)};f.setRequestVideoFast=function(a){Xj(this,100,a)};f.setVideoFormatFilters=function(a){uk(this,102,a)};f.setDummyCacheKeyModifier=function(a){Xj(this,104,a)};f.setGainMap=function(a){Xj(this,105,a)};
f.toObject=function(){if(null!=this){t(this);var a={size:n(Ft(this,1)),width:n(Ft(this,12)),height:n(Ft(this,13)),stretch:n(Ur(this,33)),crop:Vj(this,2,!1),circleCrop:n(Ur(this,51)),imageCrop:n(Ur(this,32)),smartCrop:Vj(this,19,!1),smartCropNoClip:Vj(this,52,!1),smartCropUseFace:Vj(this,67,!1),detectFaces:n(Ur(this,80)),centerCrop:Vj(this,20,!1),pad:n(Ur(this,60)),download:Vj(this,3,!1),html:Vj(this,4,!1),objectId:n(p(this,7)),looseFaceCrop:n(Ur(this,65)),faceCropVersion:n(Ft(this,94)),frameId:n(p(this,
29)),imageUrlDomain:Vh(this,8,0),tileX:n(Ft(this,9)),tileY:n(Ft(this,10)),tileZoom:n(Ft(this,11)),tileGeneration:Vj(this,14,!1),forceTileGeneration:Vj(this,34,!1),tilePyramidAsProto:Vj(this,72,!1),expirationTime:n(Ft(this,15)),imageFilter:n(X(this,16)),killAnimation:n(Ur(this,17)),unfiltered:n(Ur(this,18)),unfilteredWithTransforms:n(Ur(this,45)),includeMetadata:n(Ur(this,22)),includePublicMetadata:n(Ur(this,54)),stripGoogleData:n(Ur(this,82)),preserveGoogleData:n(Ur(this,83)),stripMetadata:n(Ur(this,
93)),stripGeoinfo:n(Ur(this,95)),esPortraitApprovedOnly:n(Ur(this,21)),bypassTakedown:Vj(this,23,!1),token:n(X(this,24)),versionedToken:n(X(this,36)),skipRefererCheck:Vj(this,6,!1),rotate:n(Ft(this,26)),horizontalFlip:n(Ur(this,30)),verticalFlip:n(Ur(this,31)),overlay:n(Ur(this,27)),queryString:n(X(this,28)),requestJpeg:n(Ur(this,57)),requestPng:n(Ur(this,58)),requestGif:n(Ur(this,59)),requestAvif:Vj(this,103,!1),requestWebp:Vj(this,35,!1),requestWebpUnlessMaybeTransparent:Vj(this,41,!1),requestAnimatedWebp:Vj(this,
64,!1),noWebp:Vj(this,48,!1),requestH264:Vj(this,49,!1),lossy:n(Ur(this,97)),noOverlay:Vj(this,37,!1),borderSize:n(Ft(this,38)),borderRadius:n(Ft(this,86)),borderColor:n(Ft(this,39)),backgroundColor:n(Ft(this,87)),padColor:n(Ft(this,88)),substitutionColor:n(Ft(this,89)),noSilhouette:n(Ur(this,40)),focusBlur:n(Ft(this,42)),focalPlane:n(Ft(this,43)),qualityLevel:n(Ft(this,44)),qualityBucket:n(Ft(this,62)),noUpscale:n(Ur(this,46)),preserveAspectRatio:n(Ur(this,61)),forceTransformation:n(Ur(this,50)),
noDefaultImage:n(Ur(this,53)),noCorrectExifOrientation:n(Ur(this,55)),selectFrameNumber:n(Ft(this,56)),videoFormat:n(Ft(this,63)),videoMultiFormat:n(X(this,81)),videoManifest:n(Ur(this,98)),downloadVideo:n(Ur(this,90)),videoBegin:n(p(this,68)),videoLength:n(p(this,69)),matchVersion:n(Ur(this,66)),imageDigest:n(Ur(this,70)),internalClient:n(Ft(this,71)),monogram:n(Ur(this,73)),forceMonogram:n(Ur(this,84)),monogramDogfood:n(Ur(this,91)),ignoreLowResProfilePhoto:n(Ur(this,96)),autoloop:n(Ur(this,74)),
imageVersion:n(p(this,75)),pitchDegrees:n(Qo(this,76)),yawDegrees:n(Qo(this,77)),rollDegrees:n(Qo(this,78)),fovDegrees:n(Qo(this,79)),badge:n(Ft(this,85)),colorProfile:n(Ft(this,92)),deepCrop:n(X(this,99)),requestVideoFast:n(Ur(this,100)),videoFormatFilters:n(X(this,102)),dummyCacheKeyModifier:n(Ur(this,104)),gainMap:n(Ur(this,105))}}else a=void 0;return a};var vK=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};vK.prototype.set=function(a,b){snc(this,a,b,!1)};vK.prototype.add=function(a,b){snc(this,a,b,!0)};var snc=function(a,b,c,d){for(var e=0;e<b.length;e++){var g=b.charAt(e);a.childNodes_[g]||(a.childNodes_[g]=new vK);a=a.childNodes_[g]}if(d&&void 0!==a.value_)throw Error("Oc`"+b);a.value_=c};vK.prototype.setAll=function(a){var b=k$b(a);a=bD(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var tnc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};vK.prototype.get=function(a){return(a=tnc(this,a))?a.value_:void 0};vK.prototype.getValues=function(){var a=[];unc(this,a);return a};var unc=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)unc(a.childNodes_[c],b)};
vK.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]}vnc(c,a,b)}else vnc(this,"",b);return b};var vnc=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)vnc(a.childNodes_[d],b+d,c)};f=vK.prototype;f.containsKey=function(a){return void 0!==this.get(a)};
f.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};f.clear=function(){this.childNodes_={};this.value_=void 0};f.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("Pc`"+a);c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;0<c.length;)if(e=c.pop(),b=e[0],e=e[1],b.childNodes_[e].isEmpty())delete b.childNodes_[e];else break;return a};
f.clone=function(){return new vK(this)};f.getCount=function(){return j$b(this.getValues())};f.isEmpty=function(){return void 0===this.value_&&ac(this.childNodes_)};var ync=function(){if(!wnc){var a=wnc=new vK,b;for(b in xnc)a.add(b,xnc[b])}},wnc,wK=function(a,b){this.types=a;this.setters=b},xnc={a:new wK([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new wK([3],[function(a,b){a.setAutoloop(b)}]),b:new wK([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new wK([0],[function(a,b){a.setBadge(b)}]),bc:new wK([0],[function(a,b){a.setBackgroundColor(b)}]),br:new wK([0],[function(a,
b){a.setBorderRadius(b)}]),c:new wK([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new wK([3],[function(a,b){a.setCircleCrop(b)}]),ci:new wK([3],[function(a,b){a.setImageCrop(b)}]),ckm:new wK([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new wK([0],[function(a,b){a.setColorProfile(b)}]),cv:new wK([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new wK([3],[function(a,b){a.setDownload(b)}]),dc:new wK([5],[function(a,b){a.setDeepCrop(b)}]),df:new wK([3],[function(a,
b){a.setDetectFaces(b)}]),dv:new wK([3],[function(a,b){a.setDownloadVideo(b)}]),e:new wK([0],[function(a,b){a.setExpirationTime(b)}]),f:new wK([4],[function(a,b){a.setImageFilter(b)}]),fg:new wK([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new wK([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new wK([3],[function(a,b){a.setForceMonogram(b)}]),fo:new wK([2],[function(a,b){a.setFovDegrees(b)}]),ft:new wK([3],[function(a,b){a.setForceTransformation(b)}]),fv:new wK([3],[function(a,b){a.setVerticalFlip(b)}]),
g:new wK([3],[function(a,b){a.setTileGeneration(b)}]),gd:new wK([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new wK([3],[function(a,b){a.setGainMap(b)}]),h:new wK([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new wK([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new wK([0],[function(a,b){a.setInternalClient(b)}]),id:new wK([3],[function(a,b){a.setImageDigest(b)}]),il:new wK([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new wK([3],[function(a,b){a.setIncludePublicMetadata(b)}]),
iv:new wK([0],[function(a,b){a.setImageVersion(b)}]),j:new wK([1],[function(a,b){a.setFrameId(b)}]),k:new wK([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new wK([0],[function(a,b){a.setQualityLevel(b)}]),lf:new wK([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new wK([3],[function(a,b){a.setLossy(b)}]),m:new wK([0],[function(a,b){a.setVideoFormat(b)}]),md:new wK([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new wK([4],[function(a,b){a.setVideoMultiFormat(b)}]),
mo:new wK([3],[function(a,b){a.setMonogram(b)}]),mv:new wK([3],[function(a,b){a.setMatchVersion(b)}]),n:new wK([3],[function(a,b){a.setCenterCrop(b)}]),nc:new wK([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new wK([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new wK([3],[function(a,b){a.setStripGeoinfo(b)}]),no:new wK([3],[function(a,b){a.setNoOverlay(b)}]),ns:new wK([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new wK([4],[function(a,b){a.setVersionedToken(b)}]),nu:new wK([3],[function(a,
b){a.setNoUpscale(b)}]),nw:new wK([3],[function(a,b){a.setNoWebp(b)}]),o:new wK([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new wK([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new wK([3],[function(a,b){a.setPreserveAspectRatio(b)}]),pc:new wK([0],[function(a,b){a.setPadColor(b)}]),pd:new wK([3],[function(a,b){a.setPad(b)}]),pf:new wK([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new wK([3],[function(a,b){a.setTilePyramidAsProto(b)}]),
pi:new wK([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new wK([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new wK([4],[function(a,b){a.setQueryString(b)}]),r:new wK([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new wK([3],[function(a,b){a.setRequestAvif(b)}]),rf:new wK([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new wK([3],[function(a,b){a.setRequestGif(b)}]),rh:new wK([3],[function(a,b){a.setRequestH264(b)}]),rj:new wK([3],[function(a,b){a.setRequestJpeg(b)}]),
ro:new wK([2],[function(a,b){a.setRollDegrees(b)}]),rp:new wK([3],[function(a,b){a.setRequestPng(b)}]),rw:new wK([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new wK([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new wK([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),s:new wK([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new wK([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new wK([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new wK([3],[function(a,
b){a.setStripMetadata(b)}]),t:new wK([4],[function(a,b){a.setToken(b)}]),u:new wK([3],[function(a,b){a.setUnfiltered(b)}]),ut:new wK([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new wK([0],[function(a,b){a.setQualityBucket(b)}]),vb:new wK([0],[function(a,b){a.setVideoBegin(b)}]),vf:new wK([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new wK([0],[function(a,b){a.setVideoLength(b)}]),vm:new wK([3],[function(a,b){a.setVideoManifest(b)}]),w:new wK([0],[function(a,b){a.setWidth(b)}]),
x:new wK([0],[function(a,b){a.setTileX(b)}]),y:new wK([0],[function(a,b){a.setTileY(b)}]),ya:new wK([2],[function(a,b){a.setYawDegrees(b)}]),z:new wK([0],[function(a,b){a.setTileZoom(b)}])};
ync.prototype.parse=function(a){var b=new rnc,c=new rnc;if(""==a)a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var g=a[e];if(0==g.length)d=!1;else{var h=g,m=!1;var r=h;var v=h.charAt(0);v!=v.toLowerCase()&&(m=!0,r=h.charAt(0).toLowerCase()+h.substring(1));var y=wnc;for(v=1;v<=r.length;++v){var A=y,G=r.substring(0,v);if(0==G.length?A.isEmpty():!tnc(A,G))break}r=1==v?null:(r=y.get(r.substring(0,v-1)))?{option:h.substring(0,v-1),value:h.substring(v-1),signed:m,attributes:r}:null;if(r){h=
[];m=[];v=!1;for(y=0;y<r.attributes.types.length;y++){A=r.attributes.types[y];var N=r.value;G=e;if(r.signed&&1==A)for(var Q=N.length;12>Q&&G<a.length-1;)N+="-"+a[G+1],Q=N.length,++G;else if(2==A)for(;G<a.length-1&&a[G+1].match(/^[\d\.]/);)N+="-"+a[G+1],++G;Q=r.attributes.setters[y];N=znc(this,A)(r.option,N,b,c,Q);if(null===N){v=!0;e=G;break}else h.push(A),m.push(N)}if(!v)for(r=0;r<m.length;r++)y=h[r],N=m[r],Anc(this,y)(g,N);d=d&&v}else d=!1}}a=d}return new Bnc(b,c,a)};
var Cnc=function(a,b,c,d,e,g){e(c,b);a=a.charAt(0);g=g(a==a.toUpperCase());e(d,g)};f=ync.prototype;f.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=di(b);if(isNaN(b))return 1;Cnc(a,b,c,d,e,Number);return null};f.logIntParseError_=function(){};f.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=li(b);if(isNaN(b))return 1;Cnc(a,b,c,d,e,Number);return null};f.logFloatParseError_=function(){};
f.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;Cnc(a,!0,c,d,e,Boolean);return null};f.logBoolParseError_=function(){};f.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;Cnc(a,b,c,d,e,function(g){return g?"1":""});return null};f.logStringParseError_=function(){};f.parseAndSetUint64Base64Option_=function(a,b,c,d,e){if(""==b)return 0;Cnc(a,b,c,d,e,function(g){return g?1:0});return null};
var znc=function(a,b){switch(b){case 0:return lt(a.parseAndSetIntOption_,a);case 2:return lt(a.parseAndSetFloatOption_,a);case 3:return lt(a.parseAndSetBoolOption_,a);case 4:return lt(a.parseAndSetStringOption_,a);case 1:return lt(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},Anc=function(a,b){switch(b){case 0:return lt(a.logIntParseError_,a);case 2:return lt(a.logFloatParseError_,a);case 3:return lt(a.logBoolParseError_,a);case 4:case 1:return lt(a.logStringParseError_,a);default:return function(){}}},
Bnc=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};Bnc.prototype.isValid=function(){return this.valid_};var Dnc=function(a,b){null!=a&&this.append.apply(this,arguments)};f=Dnc.prototype;f.buffer_="";f.set=function(a){this.buffer_=""+a};f.append=function(a,b,c){this.buffer_+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.buffer_+=arguments[d];return this};f.clear=function(){this.buffer_=""};f.getLength=function(){return this.buffer_.length};f.toString=function(){return this.buffer_};var Fnc=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;Enc(this,a)};Fnc.prototype.getParsedOptions=function(){return this.parsedOptions_};var Gnc=function(a){null==a.parser_&&(a.parser_=new ync);return a.parser_},Enc=function(a,b){a.parsedOptions_=b?"string"===typeof b?Gnc(a).parse(b):b:Gnc(a).parse("")},xK=function(a,b){return a==b?!1:!0};f=Fnc.prototype;
f.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,21)&&b.setEsPortraitApprovedOnly(a);return this};f.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,56),Ft(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};f.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,74)&&b.setAutoloop(a)};
f.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,23,!1)&&b.setBypassTakedown(a)};f.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,38),Ft(b.signatureFlagProto_,38))&&c.setBorderSize(a)};f.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,85),Ft(b.signatureFlagProto_,85))&&c.setBadge(a)};
f.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};f.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,86),Ft(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};f.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,2,!1)&&b.setCrop(a);return this};
f.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,39),Ft(b.signatureFlagProto_,39))&&c.setBorderColor(a)};f.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,51)&&b.setCircleCrop(a);return this};f.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,32)&&b.setImageCrop(a);return this};f.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,104)&&b.setDummyCacheKeyModifier(a)};
f.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,92),Ft(b.signatureFlagProto_,92))&&c.setColorProfile(a)};f.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,94),Ft(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};f.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getDownload(),b.signatureFlagProto_.getDownload())&&c.setDownload(a)};
f.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=X(b,99)&&b.setDeepCrop(a)};f.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,80)&&b.setDetectFaces(a)};f.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,90)&&b.setDownloadVideo(a)};f.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,15),Ft(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};
f.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=X(b,16)&&b.setImageFilter(a);return this};f.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,34,!1)&&b.setForceTileGeneration(a)};f.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,30)&&b.setHorizontalFlip(a)};f.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,84)&&b.setForceMonogram(a);return this};
f.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Qo(c,79),Qo(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};f.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,50)&&b.setForceTransformation(a)};f.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,31)&&b.setVerticalFlip(a)};f.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,14,!1)&&b.setTileGeneration(a)};
f.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,83)&&b.setPreserveGoogleData(a)};f.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,105)&&b.setGainMap(a)};f.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,4,!1)&&b.setHtml(a)};f.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getHeight(),b.signatureFlagProto_.getHeight())&&c.setHeight(a);return this};
f.setIncludeMetadata=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,22)&&b.setIncludeMetadata(a)};f.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,71),Ft(b.signatureFlagProto_,71))&&c.setInternalClient(a)};f.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,70)&&b.setImageDigest(a)};f.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,96)&&b.setIgnoreLowResProfilePhoto(a)};
f.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,54)&&b.setIncludePublicMetadata(a)};f.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};f.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;xK(a,p(b,29))&&b.setFrameId(a)};
f.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,17)&&b.setKillAnimation(a);return this};f.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,42),Ft(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};f.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,44),Ft(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};
f.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,65)&&b.setLooseFaceCrop(a);return this};f.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,97)&&b.setLossy(a)};f.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,63),Ft(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};f.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,91)&&b.setMonogramDogfood(a)};
f.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=X(b,81)&&b.setVideoMultiFormat(a)};f.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,73)&&b.setMonogram(a)};f.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,66)&&b.setMatchVersion(a)};f.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,20,!1)&&b.setCenterCrop(a);return this};
f.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,55)&&b.setNoCorrectExifOrientation(a)};f.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,53)&&b.setNoDefaultImage(a)};f.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,95)&&b.setStripGeoinfo(a)};f.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,37,!1)&&b.setNoOverlay(a);return this};
f.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,40)&&b.setNoSilhouette(a)};f.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=X(b,36)&&b.setVersionedToken(a)};f.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,46)&&b.setNoUpscale(a)};f.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,48,!1)&&b.setNoWebp(a)};
f.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getObjectId(),b.signatureFlagProto_.getObjectId())&&c.setObjectId(a)};f.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getOverlay(),b.signatureFlagProto_.getOverlay())&&c.setOverlay(a);return this};f.setSmartCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,19,!1)&&b.setSmartCrop(a);return this};
f.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,43),Ft(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};f.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,61)&&b.setPreserveAspectRatio(a)};f.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,88),Ft(b.signatureFlagProto_,88))&&c.setPadColor(a)};f.setPad=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,60)&&b.setPad(a);return this};
f.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,67,!1)&&b.setSmartCropUseFace(a);return this};f.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,72,!1)&&b.setTilePyramidAsProto(a)};f.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Qo(c,76),Qo(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};
f.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,52,!1)&&b.setSmartCropNoClip(a);return this};f.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=X(b,28)&&b.setQueryString(a)};f.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,6,!1)&&b.setSkipRefererCheck(a)};
f.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getRotate(),b.signatureFlagProto_.getRotate())&&c.setRotate(a);return this};f.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,103,!1)&&b.setRequestAvif(a)};f.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,100)&&b.setRequestVideoFast(a)};f.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,59)&&b.setRequestGif(a)};
f.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,49,!1)&&b.setRequestH264(a);return this};f.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,57)&&b.setRequestJpeg(a);return this};f.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Qo(c,78),Qo(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};f.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,58)&&b.setRequestPng(a);return this};
f.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,35,!1)&&b.setRequestWebp(a);return this};f.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,64,!1)&&b.setRequestAnimatedWebp(a)};f.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vj(b,41,!1)&&b.setRequestWebpUnlessMaybeTransparent(a)};
f.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,33)&&b.setStretch(a);return this};f.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};f.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,89),Ft(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};
f.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,82)&&b.setStripGoogleData(a)};f.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,93)&&b.setStripMetadata(a)};f.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};f.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,18)&&b.setUnfiltered(a)};
f.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,45)&&b.setUnfilteredWithTransforms(a)};f.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,62),Ft(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};f.setVideoBegin=function(a){var b=this.parsedOptions_.valueProto_;xK(a,p(b,68))&&b.setVideoBegin(a)};f.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=X(b,102)&&b.setVideoFormatFilters(a)};
f.setVideoLength=function(a){var b=this.parsedOptions_.valueProto_;xK(a,p(b,69))&&b.setVideoLength(a)};f.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Ur(b,98)&&b.setVideoManifest(a)};f.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};f.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,9),Ft(b.signatureFlagProto_,9))&&c.setTileX(a)};
f.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,10),Ft(b.signatureFlagProto_,10))&&c.setTileY(a)};f.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Qo(c,77),Qo(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};f.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;xK(a,Ft(c,11),Ft(b.signatureFlagProto_,11))&&c.setTileZoom(a)};f.setOptions=function(a){Enc(this,a)};
f.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;yK(this,"s",b.getSize(),a.getSize());yK(this,"w",b.getWidth(),a.getWidth());zK(this,"c",Vj(b,2,!1),Vj(a,2,!1));zK(this,"d",b.getDownload(),a.getDownload());yK(this,"h",b.getHeight(),a.getHeight());zK(this,"s",Ur(b,33),Ur(a,33));zK(this,"h",Vj(b,4,!1),Vj(a,4,!1));zK(this,"p",Vj(b,19,!1),Vj(a,19,!1));zK(this,"pp",Vj(b,52,!1),Vj(a,52,!1));zK(this,"pf",Vj(b,67,!1),Vj(a,67,!1));zK(this,"n",Vj(b,
20,!1),Vj(a,20,!1));yK(this,"r",b.getRotate(),a.getRotate());zK(this,"r",Vj(b,6,!1),Vj(a,6,!1));zK(this,"o",b.getOverlay(),a.getOverlay());var c=b.getObjectId();AK(this,"o",c,a.getObjectId());AK(this,"j",p(b,29),p(a,29));yK(this,"x",Ft(b,9),Ft(a,9));yK(this,"y",Ft(b,10),Ft(a,10));yK(this,"z",Ft(b,11),Ft(a,11));zK(this,"g",Vj(b,14,!1),Vj(a,14,!1));yK(this,"e",Ft(b,15),Ft(a,15));AK(this,"f",X(b,16),X(a,16));zK(this,"k",Ur(b,17),Ur(a,17));zK(this,"u",Ur(b,18),!0);zK(this,"ut",Ur(b,45),!0);zK(this,"i",
Ur(b,22),!0);zK(this,"a",Ur(b,21),Ur(a,21));zK(this,"b",Vj(b,23,!1),Vj(a,23,!1));yK(this,"b",Ft(b,38),Ft(a,38));yK(this,"c",Ft(b,39),Ft(a,39),16,8);AK(this,"q",X(b,28),X(a,28));zK(this,"fh",Ur(b,30),Ur(a,30));zK(this,"fv",Ur(b,31),Ur(a,31));zK(this,"fg",Vj(b,34,!1),Vj(a,34,!1));zK(this,"ci",Ur(b,32),Ur(a,32));AK(this,"t",b.getToken(),a.getToken());AK(this,"nt0",X(b,36),X(a,36));zK(this,"rw",Vj(b,35,!1),Vj(a,35,!1));zK(this,"rwu",Vj(b,41,!1),Vj(a,41,!1));zK(this,"rwa",Vj(b,64,!1),Vj(a,64,!1));zK(this,
"nw",Vj(b,48,!1),Vj(a,48,!1));zK(this,"rh",Vj(b,49,!1),Vj(a,49,!1));zK(this,"no",Vj(b,37,!1),Vj(a,37,!1));zK(this,"ns",Ur(b,40),Ur(a,40));yK(this,"k",Ft(b,42),Ft(a,42));yK(this,"p",Ft(b,43),Ft(a,43));yK(this,"l",Ft(b,44),Ft(a,44));yK(this,"v",Ft(b,62),Ft(a,62));zK(this,"nu",Ur(b,46),Ur(a,46));zK(this,"ft",Ur(b,50),Ur(a,50));zK(this,"cc",Ur(b,51),Ur(a,51));zK(this,"nd",Ur(b,53),Ur(a,53));zK(this,"ip",Ur(b,54),Ur(a,54));zK(this,"nc",Ur(b,55),Ur(a,55));yK(this,"a",Ft(b,56),Ft(a,56));zK(this,"rj",Ur(b,
57),Ur(a,57));zK(this,"rp",Ur(b,58),Ur(a,58));zK(this,"rg",Ur(b,59),Ur(a,59));zK(this,"pd",Ur(b,60),Ur(a,60));zK(this,"pa",Ur(b,61),Ur(a,61));yK(this,"m",Ft(b,63),Ft(a,63));yK(this,"vb",p(b,68),p(a,68));yK(this,"vl",p(b,69),p(a,69));zK(this,"lf",Ur(b,65),Ur(a,65));zK(this,"mv",Ur(b,66),Ur(a,66));zK(this,"id",Ur(b,70),Ur(a,70));yK(this,"ic",Ft(b,71),!0);zK(this,"pg",Vj(b,72,!1),Vj(a,72,!1));zK(this,"mo",Ur(b,73),Ur(a,73));zK(this,"al",Ur(b,74),Ur(a,74));yK(this,"iv",b.getImageVersion(),a.getImageVersion());
yK(this,"pi",Qo(b,76),Qo(a,76));yK(this,"ya",Qo(b,77),Qo(a,77));yK(this,"ro",Qo(b,78),Qo(a,78));yK(this,"fo",Qo(b,79),Qo(a,79));zK(this,"df",Ur(b,80),Ur(a,80));AK(this,"mm",X(b,81),X(a,81));zK(this,"sg",Ur(b,82),Ur(a,82));zK(this,"gd",Ur(b,83),Ur(a,83));zK(this,"fm",Ur(b,84),Ur(a,84));yK(this,"ba",Ft(b,85),Ft(a,85));yK(this,"br",Ft(b,86),Ft(a,86));yK(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);yK(this,"pc",Ft(b,88),Ft(a,88),16,8);yK(this,"sc",Ft(b,89),Ft(a,89),16,8);zK(this,"dv",
Ur(b,90),Ur(a,90));zK(this,"md",Ur(b,91),Ur(a,91));yK(this,"cp",Ft(b,92),Ft(a,92));zK(this,"sm",Ur(b,93),Ur(a,93));yK(this,"cv",Ft(b,94),Ft(a,94));zK(this,"ng",Ur(b,95),Ur(a,95));zK(this,"il",Ur(b,96),Ur(a,96));zK(this,"lo",Ur(b,97),Ur(a,97));zK(this,"vm",Ur(b,98),Ur(a,98));AK(this,"dc",X(b,99),X(a,99));zK(this,"rf",Ur(b,100),Ur(a,100));AK(this,"vf",X(b,102),X(a,102));zK(this,"ra",Vj(b,103,!1),Vj(a,103,!1));zK(this,"ckm",Ur(b,104),Ur(a,104));zK(this,"gm",Ur(b,105),Ur(a,105));return this.components_.join("-")};
var yK=function(a,b,c,d,e,g){if(null!=c){var h=void 0==e||10!=e&&16!=e?10:e;c=c.toString(h);e=new Dnc;e.append(16==h?"0x":"");h=e.append;void 0==g?g="":(g-=c.length,g=0>=g?"":TTb("0",g));h.call(e,g);e.append(c);Hnc(a,b,e.toString(),!!d)}},zK=function(a,b,c,d){c&&Hnc(a,b,"",!!d)},AK=function(a,b,c,d){c&&Hnc(a,b,c,!!d)},Hnc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var BK=function(a){Fnc.call(this,a)};nt(BK,Fnc);f=BK.prototype;f.setCrop=function(a){a&&CK(this);return BK.superClass_.setCrop.call(this,a)};f.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return BK.superClass_.setHeight.call(this,a)};f.setStretch=function(a){a&&CK(this);return BK.superClass_.setStretch.call(this,a)};f.setQualityLevel=function(a){return BK.superClass_.setQualityLevel.call(this,a)};
f.setImageFilter=function(a){a&&(a=a.replace(";",":"));return BK.superClass_.setImageFilter.call(this,a)};f.setImageCrop=function(a){a&&CK(this);return BK.superClass_.setImageCrop.call(this,a)};f.setCircleCrop=function(a){a&&CK(this);return BK.superClass_.setCircleCrop.call(this,a)};f.setSize=function(a){wa(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return BK.superClass_.setSize.call(this,a)};
f.setSmartCrop=function(a){a&&CK(this);return BK.superClass_.setSmartCrop.call(this,a)};f.setSmartCropNoClip=function(a){a&&CK(this);return BK.superClass_.setSmartCropNoClip.call(this,a)};f.setSmartCropUseFace=function(a){a&&CK(this);return BK.superClass_.setSmartCropUseFace.call(this,a)};f.setCenterCrop=function(a){a&&CK(this);return BK.superClass_.setCenterCrop.call(this,a)};f.setPad=function(a){a&&CK(this);return BK.superClass_.setPad.call(this,a)};
f.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return BK.superClass_.setWidth.call(this,a)};var CK=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
BK.prototype.build=function(){var a=this.getParsedOptions().valueProto_;Ur(a,18)||Ur(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),CK(this)));return BK.superClass_.build.call(this)};var Inc=/^[^\/]*\/\//,DK=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(Inc))&&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_=iD(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},Jnc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},EK=function(a){if(void 0==a.components_){var b=a.uri_.getPath().substring(1);
a.pathPrefix_=null;if(a.isFreeformUrl_){a.components_=[];if(1<(b.match(/=/g)||[]).length)return a.valid_=!1,a.components_;var c=b.indexOf("=");-1!=c?(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;2<b&&"u"==a.components_[0]&&(Jnc(a,a.components_[0]+"/"+a.components_[1]),a.components_.shift(),a.components_.shift(),b-=2);if(0==b||4==b||7<b)return a.valid_=!1,a.components_;if(2==b)Jnc(a,
a.components_[0]);else if("image"==a.components_[0])Jnc(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&(Jnc(a,a.components_[1]),a.components_.shift(),--b);--b;c=a.components_[b];var d=c.indexOf("=");-1!=d&&(a.components_[b]=c.substr(0,d),a.components_.push(c.substr(d+1)))}}return a.components_};DK.prototype.isValid=function(){EK(this);return this.valid_};var Knc=function(a){EK(a);return a.obfuscated_},Lnc=function(a){EK(a);return a.isFreeformUrl_};
DK.prototype.getDomain=function(){var a=this.uri_.port_;return this.uri_.getDomain()+(a?":"+a:"")};DK.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var FK=function(a){EK(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};DK.prototype.hasOptions=function(){switch(EK(this).length){case 7:return!0;case 6:return null==FK(this);case 5:return!1;case 3:return!0;case 2:return null==FK(this);case 1:return!1;default:return!1}};
var GK=function(a,b){if(Lnc(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=EK(a)[b]}else if(Knc(a))a:{var c=null!=FK(a)?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=EK(a)[b]}else a:{c=null!=FK(a)?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=EK(a)[b]}return a};f=DK.prototype;f.getOriginal=function(){return this.original_};f.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=GK(this,0));return this.obfuscatedGaiaId_};f.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=GK(this,1));return this.photoId_};f.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=GK(this,2));return this.imageVersion_};
f.getOptions=function(){void 0==this.options_&&(this.options_=GK(this,4));return this.options_};f.getFilename=function(){void 0==this.filename_&&(this.filename_=GK(this,5));return this.filename_};var Mnc=function(){};Mnc.prototype.parse=function(a,b){return new Nnc(a,void 0===b?!1:b)};var Nnc=function(a,b){DK.call(this,a,void 0===b?!1:b)};U(Nnc,DK);Nnc.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new ync).parse(a)}return this.parsedOptions_};var HK=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof Nnc||(void 0==Onc&&(Onc=new Mnc),a=Onc.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();Fnc.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},Onc;nt(HK,BK);HK.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
HK.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.getOriginal();var a=HK.superClass_.build.call(this),b=[];null!=FK(this.parsedImageUrl_)&&b.push(FK(this.parsedImageUrl_));var c=Lnc(this.parsedImageUrl_);if(Knc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=GK(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=GK(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_,void 0==e.signature_&&(e.signature_=GK(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=c?b.join("="):b.join("/");a=iD(this.protocolPrefix_+this.domain_+"/"+a+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//",
"://"));return a};var Pnc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],IK=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new E.ReplaySubject(1);this.person$=this.providedEmail$.pipe(af(function(d){return qnc(c.peopleService,d)}),D(function(d){if(d){var e=Object,g=e.assign;if(d.imageUrl){var h=d.imageUrl;var m=new HK(h);m.setSize(48);h=m.build()||h}else h=d.imageUrl;d=g.call(e,{},d,{imageUrl:h})}return d}),Ye(1));this.outOfOfficeDescription$=
new E.ReplaySubject;this.init=new E.ReplaySubject(1);this.destroyed$=new E.ReplaySubject(1)};IK.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Oe(),bf(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&Qnc(this)};var Qnc=function(a){a.waldoService&&a.person$.pipe(af(function(b){return b?Pkc(a.waldoService,b.email):(0,E.of)("")}),bf(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
wh.Object.defineProperties(IK.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});IK.\u0275fac=function(a){return new (a||IK)(C(uK),C(dJ,8))};
IK.\u0275cmp=Mc({type:IK,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},ngContentSelectors:["onedev-hovercard-action","[onedev-additional-content]"],decls:2,vars:3,consts:[[3,"person","outOfOfficeDescription",4,"ngIf"],[3,"person","outOfOfficeDescription"]],template:function(a,b){a&1&&(Gf(Pnc),P(0,mCa,4,4,"onedev-person-hovercard-body",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.person$))},dependencies:[Ow,qK,Uw],encapsulation:2,changeDetection:0});var Rnc=[[["onedev-hovercard-action"],["",8,"actions"]]],JK=function(){};JK.prototype.ngOnInit=function(){};JK.\u0275fac=function(a){return new (a||JK)};
JK.\u0275cmp=Mc({type:JK,selectors:[["b-person-card"]],inputs:{email:"email"},ngContentSelectors:["onedev-hovercard-action, .actions"],decls:1,vars:0,consts:[[3,"email","enableWaldo","onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"email","enableWaldo","onedevIsHovercardReady"],["cardBody",""]],template:function(a){a&1&&(Gf(Rnc),P(0,nCa,3,3,"onedev-person-hovercard",0))},dependencies:[IK,kK,lK],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 KK=function(){this.isNonObfuscatedEmail=Fl};KK.\u0275fac=function(a){return new (a||KK)};
KK.\u0275cmp=Mc({type:KK,selectors:[["b-person-hovercard"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(Gf(),P(0,pCa,6,4,"ng-container",0),P(1,qCa,1,0,"ng-template",null,1,hg));if(a&2){var c=Lf(2);F("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",
c)}},dependencies:[Ow,Tw,jK,oK,JK],encapsulation:2,changeDetection:0});var LK=function(a){this.window=a};LK.prototype.openInNewTab=function(a){a=Vg(a);Ppa(this.window,a,"_blank")};var go=function(a,b){b=Vg(b);Ppa(a.window,b)},Snc=function(a,b){a=a.window.location;b=Vg(b);b=gna(b);void 0!==b&&(a.href=b)};LK.\u0275fac=function(a){return new (a||LK)(u(FE))};LK.\u0275prov=wc({token:LK,factory:LK.\u0275fac,providedIn:"root"});var MK=function(){this.onAction=new pw;this.disabled=!1};MK.prototype.handleClick=function(){this.onAction.emit()};MK.\u0275fac=function(a){return new (a||MK)};
MK.\u0275cmp=Mc({type:MK,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,"disabled","click"]],template:function(a,b){a&1&&(Gf(),H(0,"button",0),M("click",function(){return b.handleClick()}),Hf(1),I());a&2&&F("disabled",b.disabled)},dependencies:[qA],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;padding:0 20px;text-align:left;width:100%}"]});var NK=function(a,b,c){GE.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};U(NK,GE);NK.\u0275dir=GE.\u0275dir;
NK.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;null==(b=this.actionService)||b.assignee$.pipe(bf(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;null==(c=this.actionService)||c.cc$.pipe(bf(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var rCa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";en(io.PERSON_CARD,"assigneeAction",b);Pmc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},sCa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";en(io.PERSON_CARD,"ccAction",b);Qmc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};NK.\u0275fac=function(a){return new (a||NK)(C(LK),C(PH,2),C(gK,8))};
NK.\u0275cmp=Mc({type:NK,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[Pf([PH]),lf],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"disabled","onAction"]],template:function(a,b){a&1&&(H(0,"b-person-card",0),P(1,tCa,9,8,"ng-container",1),S(2,"async"),H(3,"onedev-hovercard-action",2),M("click",function(c){en(io.PERSON_CARD,"showAssignedIssuesAction");var d=mm({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
Snc(b.domSafe,d)}),H(4,"span"),R(5,"Show assigned issues"),I()()());a&2&&(F("email",b.email),B(1),F("ngIf",b.actionService&&T(2,2,b.actionService.editAccess$)))},dependencies:[Ow,MK,JK,Uw],encapsulation:2,changeDetection:0});var OK=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new E.ReplaySubject(1);this.showEmail$=new E.BehaviorSubject(!1);this.isNonObfuscatedEmail=Fl;this.userProfile$=this.email$.pipe(af(function(d){return c.userProfiles.get(d)})).pipe($e(void 0));this.content$=(0,E.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(D(function(d){var e=k(d);d=e.next().value;var g=e.next().value;
e=e.next().value;return(g=null==g?void 0:g.displayName)?e?d+" ("+g+")":g:d}));this.vars$=(0,E.combineLatest)([this.email$,this.content$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=EE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};wh.Object.defineProperties(OK.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)}}});
OK.\u0275fac=function(a){return new (a||OK)(C(bt),C(VI))};
OK.\u0275cmp=Mc({type:OK,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},decls:2,vars:3,consts:[[4,"ngIf"],["displayName",""],[4,"ngIf","ngIfElse"],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(P(0,yCa,4,2,"ng-container",
0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.vars$))},dependencies:[Ow,Tw,fJ,NK,jK,oK,Uw],encapsulation:2,changeDetection:0});var BCa={"alertmanager-buganizer-handler@prod.google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","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/release/g3doc/images/koalassistant.png?cl=head","modem-explorer-jobs@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-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","spur-workflows@prod.google.com":"https://g3doc.corp.google.com/security/spur/g3doc/spur_logo.jpg?cl=head"};var PK=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new E.ReplaySubject(1);this.isNonObfuscatedEmail=Fl;this.userProfile$=this.email$.pipe(af(function(d){return d?c.userProfiles.get(d).pipe($e(void 0)):(0,E.of)(void 0)}));this.vars$=(0,E.combineLatest)([this.email$,this.userProfile$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;if(!e)return{email:d,showImage:!1,src:void 0,srcset:void 0};var g=!e.photoUrl,h=g?void 0:e.photoUrl,m;g?m=void 0:m=e.highResolutionPhotoUrl?
e.highResolutionPhotoUrl+" 2x":e.photoUrl+" 1x";return{email:d,showImage:!g,src:h,srcset:m}}))},FCa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==BCa[b]};wh.Object.defineProperties(PK.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){Fl(a)?this.email$.next(a):this.email$.next(void 0)}}});PK.\u0275fac=function(a){return new (a||PK)(C(VI),C(bt))};
PK.\u0275cmp=Mc({type:PK,selectors:[["b-user-image"]],inputs:{email:"email"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["imageDisplay",""],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[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&&(P(0,HCa,4,2,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.vars$))},dependencies:[Ow,Tw,NK,jK,oK,Uw],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}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}.small[_nghost-%COMP%]   img[_ngcontent-%COMP%]{max-width:18px;max-height:18px}.medium[_nghost-%COMP%]   img[_ngcontent-%COMP%]{max-width:24px;max-height:24px}'],
changeDetection:0});var QK=function(){this.onlyTitle=this.disableDismiss=!1;this.onDismiss=new pw;this.STATUS_JS_TERSE=pF;this.STATUS_JS_FULL_TEXT=Al};QK.\u0275fac=function(a){return new (a||QK)};
QK.\u0275cmp=Mc({type:QK,selectors:[["issue-card-compact"]],hostAttrs:[1,"carded"],inputs:{issue:"issue",dismissIcon:"dismissIcon",dismissTooltip:"dismissTooltip",disableDismiss:"disableDismiss",moreInfoIcon:"moreInfoIcon",moreInfoIconSvg:"moreInfoIconSvg",moreInfoMessage:"moreInfoMessage",moreInfoAccentColor:"moreInfoAccentColor",onlyTitle:"onlyTitle"},outputs:{onDismiss:"onDismiss"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"title","line-clamp-3"],[1,"subtle-link",3,"href"],["class","dismiss",4,"ngIf"],
["class","assignee",4,"ngIf"],["class","meta",4,"ngIf"],[1,"dismiss"],["mat-icon-button","",1,"small",3,"matTooltip","disabled","click"],["inline","true",1,"google-material-icons"],[1,"assignee"],["class","margin-xs-right",3,"email",4,"ngIf"],[3,"email",4,"ngIf"],[1,"margin-xs-right",3,"email"],[3,"email"],[1,"meta"],[3,"issuePriority",4,"ngIf"],[3,"issuePriority"],["class","icon-s",3,"svgIcon",4,"ngIf"],["inline","true","class","google-material-icons icon-s",4,"ngIf"],[1,"line-clamp-2"],[1,"icon-s",
3,"svgIcon"],["inline","true",1,"google-material-icons","icon-s"]],template:function(a,b){a&1&&P(0,UCa,8,7,"ng-container",0);a&2&&F("ngIf",b.issue)},dependencies:[Ow,bB,PK,OK,SI,qA,tC,VJ],styles:['[_nghost-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:grid;gap:8px;width:220px;grid-template-rows:minmax(1fr,60px) 1fr 1fr 1fr 1fr;grid-template-areas:"title dismiss" "title dismiss" "assignee assignee" "meta meta" "more-info more-info"}.title[_ngcontent-%COMP%]{grid-area:title}.dismiss[_ngcontent-%COMP%]{grid-area:dismiss;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.assignee[_ngcontent-%COMP%]{grid-area:assignee}[_nghost-%COMP%]     .user-avatar img{max-height:24px}.meta[_ngcontent-%COMP%]{grid-area:meta;place-self:center start;width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.more-info[_ngcontent-%COMP%]{grid-area:more-info;color:#5f6368;color:var(--muted);box-shadow:inset 0 1px 0 0 #dadce0;box-shadow:inset 0 1px 0 0 var(--divider);font-style:italic;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;gap:8px}.orange[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 1px 0 0 #bd4800;box-shadow:inset 0 1px 0 0 var(--orange-text)}.pink[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 1px 0 0 #d01884;box-shadow:inset 0 1px 0 0 var(--pink-text)}.cyan[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 1px 0 0 #34989d;box-shadow:inset 0 1px 0 0 var(--cyan-text)}.purple[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 1px 0 0 #9334e6;box-shadow:inset 0 1px 0 0 var(--purple-text)}\n/*# sourceMappingURL=issue_card_compact.css.map */']});var Tnc={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"}}},Unc=Tnc;Unc=Tnc;var Vnc={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 Wnc={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"},RK=Wnc;RK=Wnc;var SK=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_=RK.MINUS_SIGN;this.negativeSuffix_="";this.multiplier_=1;this.negativePercentSignExpected_=!1;this.groupingArray_=[];this.useExponentialNotation_=this.decimalSeparatorAlwaysShown_=!1;this.compactStyle_=0;this.pattern_=
"string"===typeof a?a:"";"number"===typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
SK.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=Xnc(this,a,b);for(var c=b[0],d=-1,e=0,g=0,h=0,m=-1,r=a.length,v=!0;b[0]<r&&v;b[0]++)switch(a.charAt(b[0])){case "#":0<g?h++:e++;0<=m&&0>d&&m++;break;case "0":if(0<h)throw Error("Zc`"+a);g++;0<=m&&0>d&&m++;break;case ",":0<m&&this.groupingArray_.push(m);m=0;break;case ".":if(0<=d)throw Error("$c`"+a);d=e+g+h;break;case "E":if(this.useExponentialNotation_)throw Error("ad`"+a);this.useExponentialNotation_=
!0;this.minExponentDigits_=0;b[0]+1<r&&"+"==a.charAt(b[0]+1)&&(b[0]++,this.useSignForPositiveExponent_=!0);for(;b[0]+1<r&&"0"==a.charAt(b[0]+1);)b[0]++,this.minExponentDigits_++;if(1>e+g||1>this.minExponentDigits_)throw Error("bd`"+a);v=!1;break;default:b[0]--,v=!1}0==g&&0<e&&0<=d&&(g=d,0==g&&g++,h=e-g,e=g-1,g=1);if(0>d&&0<h||0<=d&&(d<e||d>e+g)||0==m)throw Error("cd`"+a);h=e+g+h;this.maximumFractionDigits_=0<=d?h-d:0;0<=d&&(this.minimumFractionDigits_=e+g-d,0>this.minimumFractionDigits_&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(0<=d?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,0==this.maximumFractionDigits_&&0==this.minimumIntegerDigits_&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,m));this.decimalSeparatorAlwaysShown_=0==d||d==h;c=b[0]-c;this.positiveSuffix_=Xnc(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=Xnc(this,a,b),b[0]+=c,
this.negativeSuffix_=Xnc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
SK.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(RK.DECIMAL_PATTERN);break;case 2:this.applyPattern_(RK.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(RK.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=RK.CURRENCY_PATTERN;var c=["0"],d=Vnc[RK.DEF_CURRENCY_CODE];if(d){d=d[0]&7;if(0<d){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:Ync(this,1);break;case 6:Ync(this,2);break;default:throw Error("Tc");
}};var Ync=function(a,b){a.compactStyle_=b;a.applyPattern_(RK.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("Rc");a.significantDigits_=2};
SK.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("Uc");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(RK.INFINITY,b[0])==b[0]){b[0]+=RK.INFINITY.length;var e=Infinity}else{e=
a;var g=!1,h=!1,m=!1,r=-1,v=1,y=RK.DECIMAL_SEP,A=RK.GROUP_SEP,G=RK.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("Vc");A=A.replace(/\u202f/g,"\u00a0");for(var N="";b[0]<e.length;b[0]++){var Q=e.charAt(b[0]),Z=Znc(Q);if(0<=Z&&9>=Z)N+=Z,m=!0;else if(Q==y.charAt(0)){if(g||h)break;N+=".";g=!0}else if(Q==A.charAt(0)&&("\u00a0"!=A.charAt(0)||b[0]+1<e.length&&0<=Znc(e.charAt(b[0]+1)))){if(g||h)break}else if(Q==G.charAt(0)){if(h)break;N+="E";h=!0;r=b[0]}else if("+"==Q||"-"==Q){if(m&&r!=b[0]-1)break;N+=
Q}else if(1==this.multiplier_&&Q==RK.PERCENT.charAt(0)){if(1!=v)break;v=100;if(m){b[0]++;break}}else if(1==this.multiplier_&&Q==RK.PERMILL.charAt(0)){if(1!=v)break;v=1E3;if(m){b[0]++;break}}else break}1!=this.multiplier_&&(v=this.multiplier_);e=parseFloat(N)/v}if(c){if(a.indexOf(this.positiveSuffix_,b[0])!=b[0])return NaN;b[0]+=this.positiveSuffix_.length}else if(d){if(a.indexOf(this.negativeSuffix_,b[0])!=b[0])return NaN;b[0]+=this.negativeSuffix_.length}return d?-e:e};
SK.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("Wc");if(isNaN(a))return RK.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=$nc;else{c=Math.abs(c);var d=aoc(this,1>=c?0:boc(c)).divisorBase;c=aoc(this,d+boc(coc(this,TK(c,-d)).intValue))}a=TK(a,-c.divisorBase);(d=0>a||0==a&&0>1/a)?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(0==e)doc(this,e,this.minimumIntegerDigits_,b),eoc(this,0,b);else{var g=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=TK(e,-g);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=g%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=TK(e,h),g-=h,h=1):1>this.minimumIntegerDigits_?(g++,e=TK(e,-1)):(g-=this.minimumIntegerDigits_-1,e=TK(e,this.minimumIntegerDigits_-
1));doc(this,e,h,b);eoc(this,g,b)}}else doc(this,a,this.minimumIntegerDigits_,b);else b.push(RK.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 coc=function(a,b){var c=TK(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=foc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(TK(c,-a.maximumFractionDigits_)),a=Math.floor(c-TK(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},doc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("Wc");d||(d=[]);b=coc(a,b);var e=b.intValue,g=b.fracValue,h=0<a.minimumFractionDigits_||0<g||!1;b=a.minimumFractionDigits_;
h&&(b=a.minimumFractionDigits_);for(var m="",r=e;1E20<r;)m="0"+m,r=Math.round(TK(r,-1));m=r+m;var v=RK.DECIMAL_SEP;r=RK.ZERO_DIGIT.charCodeAt(0);var y=m.length,A=0;if(0<e||0<c){for(e=y;e<c;e++)d.push(String.fromCharCode(r));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)A+=a.groupingArray_[c];c=y-A;if(0<c){e=a.groupingArray_;A=y=0;for(var G,N=RK.GROUP_SEP,Q=m.length,Z=0;Z<Q;Z++)if(d.push(String.fromCharCode(r+Number(m.charAt(Z)))),1<Q-Z)if(G=e[A],Z<c){var Y=c-Z;(1===G||0<G&&1===
Y%G)&&d.push(N)}else A<e.length&&(Z===c?A+=1:G===Z-c-y+1&&(d.push(N),y+=G,A+=1))}else{c=m;m=a.groupingArray_;e=RK.GROUP_SEP;G=c.length;N=[];for(y=m.length-1;0<=y&&0<G;y--){A=m[y];for(Q=0;Q<A&&0<=G-Q-1;Q++)N.push(String.fromCharCode(r+Number(c.charAt(G-Q-1))));G-=A;0<G&&N.push(e)}d.push.apply(d,N.reverse())}}else h||d.push(String.fromCharCode(r));(a.decimalSeparatorAlwaysShown_||h)&&d.push(v);g=String(g);h=g.split("e+");2==h.length&&(g=String(foc(parseFloat(h[0]),a.significantDigits_,1)),g=g.replace(".",
""),g+=TTb("0",parseInt(h[1],10)-g.length+1));a.maximumFractionDigits_+1>g.length&&(g="1"+TTb("0",a.maximumFractionDigits_-g.length)+g);for(a=g.length;"0"==g.charAt(a-1)&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCharCode(r+Number(g.charAt(b))))},eoc=function(a,b,c){c.push(RK.EXP_SYMBOL);0>b?(b=-b,c.push(RK.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(RK.PLUS_SIGN);b=""+b;for(var d=RK.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},Znc=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=RK.ZERO_DIGIT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},Xnc=function(a,b,c){for(var d="",e=!1,g=b.length;c[0]<g;c[0]++){var h=b.charAt(c[0]);if("'"==h)c[0]+1<g&&"'"==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<g&&"\u00a4"==b.charAt(c[0]+1)?(c[0]++,d+=RK.DEF_CURRENCY_CODE):(h=RK.DEF_CURRENCY_CODE,d+=h in Vnc?Vnc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&
1!=a.multiplier_)throw Error("Xc");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("Yc");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=RK.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("Xc");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("Yc");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=RK.PERMILL;break;default:d+=h}}return d},$nc={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},
aoc=function(a,b){a=1==a.compactStyle_?Unc.COMPACT_DECIMAL_SHORT_PATTERN:Unc.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=Unc.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return $nc;b=Math.min(14,b);var c=a[TK(1,b)];for(--b;!c&&3<=b;)c=a[TK(1,b)],b--;if(!c)return $nc;c=c.other;var d=a="",e=c.indexOf(";");0<=e&&(c=c.substring(0,e),e=c.substring(e+1))&&(d=/([^0]*)(0+)(.*)/.exec(e),a=d[1],d=d[3]);return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{divisorBase:b+1-(c[2].length-1),negative_prefix:a,negative_suffix:d,
prefix:c[1],suffix:c[3]}:$nc:$nc},boc=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},TK=function(a,b){if(!a||!isFinite(a)||0==b)return a;a=String(a).split("e");return parseFloat(a[0]+"e"+(parseInt(a[1]||0,10)+b))},goc=function(a,b){return a&&isFinite(a)?TK(Math.round(TK(a,b)),-b):a},foc=function(a,b,c){if(!a)return a;b=b-boc(a)-1;return b<-c?goc(a,-c):goc(a,b)};var hoc=function(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":"other"},ioc=hoc;ioc=hoc;var joc=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min,e=a+"",g=e.indexOf(".");b=d.call(b,-1===g?0:e.length-g-1,3)}d=Math.pow(10,b);a={v:b,f:(a*d|0)%d};return 1==c&&0==a.v?"one":"other"},koc=joc;koc=joc;var ooc=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=RK;var b=Unc;if(loc!==a||moc!==b)loc=a,moc=b,noc=new SK(1);this.numberFormatter_=noc},loc=null,moc=null,noc=null,poc=RegExp("'([{}#].*?)'","g"),qoc=RegExp("''","g");ooc.prototype.format=function(a){return this.format_(a,!1)};
ooc.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=roc(this,this.pattern_);this.parsedPattern_=soc(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=ta(this.initialLiterals_);c=[];toc(this,this.parsedPattern_,a,b,c);for(a=c.join("");0<this.literals_.length;)a=a.replace(this.buildPlaceholder_(this.literals_),this.literals_.pop());return a};
var toc=function(a,b,c,d,e){for(var g=0;g<b.length;g++)switch(b[g].type){case 4:e.push(b[g].value);break;case 3:var h=b[g].value,m=a,r=e,v=c[h];void 0===v?r.push("Undefined parameter - "+h):(m.literals_.push(v),r.push(m.buildPlaceholder_(m.literals_)));break;case 2:h=b[g].value;m=a;r=c;v=d;var y=e,A=h.argumentIndex;void 0===r[A]?y.push("Undefined parameter - "+A):(A=h[r[A]],void 0===A&&(A=h.other),toc(m,A,r,v,y));break;case 0:h=b[g].value;uoc(a,h,c,koc,d,e);break;case 1:h=b[g].value,uoc(a,h,c,ioc,
d,e)}},uoc=function(a,b,c,d,e,g){var h=b.argumentIndex,m=b.argumentOffset,r=+c[h];isNaN(r)?g.push("Undefined or invalid parameter - "+h):(m=r-m,h=b[c[h]],void 0===h&&(d=d(Math.abs(m)),h=b[d],void 0===h&&(h=b.other)),b=[],toc(a,h,c,e,b),c=b.join(""),e?g.push(c):(a=a.numberFormatter_.format(m),g.push(c.replace(/#/g,a))))},roc=function(a,b){var c=a.initialLiterals_,d=lt(a.buildPlaceholder_,a);b=b.replace(qoc,function(){c.push("'");return d(c)});return b=b.replace(poc,function(e,g){c.push(g);return d(c)})},
voc=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var g;g=e.exec(a);){var h=g.index;"}"==g[0]?(c.pop(),0==c.length&&(g={type:1},g.value=a.substring(b,h),d.push(g),b=h+1)):(0==c.length&&(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},woc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,xoc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,yoc=/^\s*(\w+)\s*,\s*select\s*,/,soc=function(a,b){var c=[];b=voc(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 g=b[d].value;switch(woc.test(g)?0:xoc.test(g)?1:yoc.test(g)?2:/^\s*\w+\s*/.test(g)?3:5){case 2:e.type=2;e.value=zoc(a,b[d].value);break;case 0:e.type=0;e.value=Aoc(a,b[d].value);break;case 1:e.type=1;e.value=Boc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},zoc=function(a,b){var c="";b=b.replace(yoc,function(m,r){c=r;return""});var d={};d.argumentIndex=c;b=voc(b);for(var e=0;e<
b.length;){var g=b[e].value;e++;var h;1==b[e].type&&(h=soc(a,b[e].value));d[g.replace(/\s/g,"")]=h;e++}return d},Aoc=function(a,b){var c="",d=0;b=b.replace(woc,function(r,v,y){c=v;y&&(d=parseInt(y,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=voc(b);for(var g=0;g<b.length;){var h=b[g].value;g++;var m;1==b[g].type&&(m=soc(a,b[g].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=m;g++}return e},Boc=function(a,b){var c="";b=b.replace(xoc,function(m,r){c=r;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=voc(b);for(var e=0;e<b.length;){var g=b[e].value;e++;if(1==b[e].type)var h=soc(a,b[e].value);d[g.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};ooc.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var Doc=function(a){a=Math.abs(a);if(6E4>a)return"0 minutes";var b=Math.floor(a/864E5);a%=864E5;var c=Math.floor(a/36E5),d=Math.floor(a%36E5/6E4),e=M1b(b),g=M1b(c),h=M1b(d);a=b*(c+d)?" ":"";var m=c*d?" ":"";b=Coc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=Coc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,g);d=Coc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+m+d},Coc=function(a,b,c){return(new ooc(a)).format({COUNT:b,TEXT:c})};var UK=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new lH(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(D(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(D(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(af(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,E.of)(void 0)}))};
UK.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new XA(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};UK.prototype.formatUserCalendar=function(a){var b=this;return(0,E.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
UK.prototype.formatUserTime=function(a){var b=this;return(0,E.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var Eoc=function(a,b){return(0,E.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(D(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},Foc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(D(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,E.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},KLa=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new ci;c&&d.setTime(c);c=new ci;
c.setTime(a);if(c.getTime()<d.getTime())return"Expired";a=12*(c.getFullYear()-d.getFullYear())+(c.getMonth()-d.getMonth());var e=c.getDate()-d.getDate();0>e&&(a--,d=d.clone(),d.add(new WA("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new WA(Math.floor(a/12),a%12,e);if(1<=d.years)return c=1<d.years?"s":"",0===d.months&&0===d.days?b?d.years+" year"+c:d.years+"Y":b?d.years+" year"+c+" +":d.years+"Y+";if(1<=d.months)return c=1<d.months?"s":"",0===d.days?b?d.months+" month"+c:d.months+"M":b?
d.months+" month"+c+" +":d.months+"M+";c=1<d.days?"s":"";return b?d.days+" day"+c:d.days+"D"};UK.\u0275fac=function(a){return new (a||UK)(u(qJ),u(oJ))};UK.\u0275prov=wc({token:UK,factory:UK.\u0275fac,providedIn:"root"});var Goc=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]];var Hoc,Ioc,Joc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],Koc=Symbol("dd"),Loc=Symbol("dd"),VK=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new E.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(D(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(D(function(c){if(void 0!==c)return new Date(c)}));this[Hoc]=this.timestampDate$.pipe(af(function(c){if(void 0===c)return(0,E.of)("");
switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return Eoc(b.dateFormatter,c);case "relativepast":a:if(c=Math.floor((new Date).getTime()/1E3-c.getTime()/1E3),300>c)c="just now";else{for(var d=k(Goc),e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;g=Math.floor(c/g);if(1===g){c=g+" "+e+" ago";break a}if(1<g){c=g+" "+e+"s ago";break a}}c=void 0}return(0,E.of)(c);default:return Fh(b.mode)}}));
this[Ioc]=this.timestampDate$.pipe(af(function(c){return void 0===c?(0,E.of)(""):(0,E.combineLatest)(Joc.map(function(d){return Foc(b.dateFormatter,c,d.id).pipe(D(function(e){return{formatted:e,tzName:d.name}}))})).pipe(Moc)}));this.vars$=(0,E.combineLatest)([this[Koc],this[Loc]]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};VK.prototype.ngOnInit=function(){};
wh.Object.defineProperties(VK.prototype,{timestamp:{configurable:!0,enumerable:!0,set:function(a){var b=this.timestampMs$,c=b.next;a=null!=a?"number"===typeof a?a:"string"===typeof a?Date.parse(a):a instanceof Rh?1E3*a.getSeconds():1E3*a.seconds:void 0;a=null==a||isNaN(a)?void 0:a;c.call(b,a)}},date:{configurable:!0,enumerable:!0,set:function(a){a&&this.timestampMs$.next(a.valueOf())}}});Hoc=Koc;Ioc=Loc;VK.\u0275fac=function(a){return new (a||VK)(C(UK))};
VK.\u0275cmp=Mc({type:VK,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&&(P(0,VCa,4,8,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.vars$))},dependencies:[Ow,Uw],encapsulation:2,changeDetection:0});
var Moc=(0,E.pipe)(D(function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var WK=function(){};WK.\u0275fac=function(a){return new (a||WK)};WK.\u0275cmp=Mc({type:WK,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&&(Gf(),P(0,WCa,1,0,"div",0),P(1,XCa,2,0,"ng-container",1));a&2&&(F("ngIf",!b.isReady),B(1),F("ngIf",b.isReady))},dependencies:[Ow],encapsulation:2});var XK=function(){this.issue=null;this.isDataLoaded=!1};XK.prototype.ngOnChanges=function(){var a;this.assignee=Jn(ti(null==(a=this.issue)?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=null!==this.issue};XK.\u0275fac=function(a){return new (a||XK)};
XK.\u0275cmp=Mc({type:XK,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),P(1,YCa,2,2,"b-person-hovercard",1),P(2,ZCa,1,0,"ng-template",null,2,hg),I());if(a&2){var c=Lf(3);F("isReady",b.isDataLoaded);B(1);F("ngIf",b.assignee)("ngIfElse",c)}},dependencies:[WK,Ow,KK],encapsulation:2,changeDetection:0});var YK=function(){this.mode="datetime";this.isDataLoaded=!1};YK.prototype.ngOnChanges=function(){var a;if(null==(a=this.issue)?0:a.aggregatedData){var b;this.createdTime=(null==(b=this.issue)?NaN:b.aggregatedData.createdTimeMicros)/1E3}this.isDataLoaded=null!=this.issue};YK.\u0275fac=function(a){return new (a||YK)};
YK.\u0275cmp=Mc({type:YK,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[ed],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[3,"mode","timestamp",4,"ngIf","ngIfElse"],["noData",""],[3,"mode","timestamp"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),P(1,$Ca,1,2,"b-formatted-date-time",1),I(),P(2,aDa,1,0,"ng-template",null,2,hg));if(a&2){var c=Lf(3);F("isReady",b.isDataLoaded);B(1);F("ngIf",b.createdTime)("ngIfElse",c)}},dependencies:[WK,Ow,
VK],encapsulation:2,changeDetection:0});var ZK=function(){this.issue=null;this.isDataLoaded=!1};ZK.prototype.ngOnChanges=function(){var a;this.reporter=Jn(ti(null==(a=this.issue)?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=null!==this.issue};ZK.\u0275fac=function(a){return new (a||ZK)};
ZK.\u0275cmp=Mc({type:ZK,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],["noData",""],[3,"email"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),P(1,bDa,2,2,"b-person-hovercard",1),P(2,cDa,1,0,"ng-template",null,2,hg),I());if(a&2){var c=Lf(3);F("isReady",b.isDataLoaded);B(1);F("ngIf",b.reporter)("ngIfElse",c)}},dependencies:[WK,Ow,KK],encapsulation:2,changeDetection:0});var $K=function(){this.STATUS_JS_FULL_TEXT=Al;this.STATUS_JS_TERSE=pF;this.issue=null;this.isDataLoaded=!1};$K.prototype.ngOnChanges=function(){var a,b;this.status=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.status)||void 0;this.isDataLoaded=null!==this.issue};$K.\u0275fac=function(a){return new (a||$K)};
$K.\u0275cmp=Mc({type:$K,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[3,"isReady"],[3,"class","title",4,"ngIf","ngIfElse"],["noData",""],[3,"title"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),P(1,dDa,2,5,"div",1),P(2,eDa,1,0,"ng-template",null,2,hg),I());if(a&2){var c=Lf(3);F("isReady",b.isDataLoaded);B(1);F("ngIf",b.status)("ngIfElse",c)}},dependencies:[WK,Ow],encapsulation:2,changeDetection:0});var Noc=0,aL=function(a,b){GE.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new pw;this.linkBlurred=new pw;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new E.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Noc;this.fetchedTeam$=this.providedTeamId$.pipe(Ne(),De(function(d){return"0"!==d}),af(function(d){return wI(c.teamsService,d)}));this.isTeamFetched$=this.fetchedTeam$.pipe(D(function(){return!0}),
$e(!1));this.fetchedTeam$.pipe(bf(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});Noc++};U(aL,GE);aL.\u0275dir=GE.\u0275dir;f=aL.prototype;f.ngOnInit=function(){};f.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};f.trackClick=function(a){en(io.TEAM_CARD,"click",a,1)};f.manageComponentLink=function(){return Dwa(this.componentId,"basic")};
f.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};aL.\u0275fac=function(a){return new (a||aL)(C(bt),C(vI))};
aL.\u0275cmp=Mc({type:aL,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[lf,ed],decls:21,vars:7,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,"routerLink","click"],["mat-button","",1,"gmat-button","primary","hovercard-action"],["target","_blank","aria-label","View component settings",3,"href","click"],["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,"href","click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2),J(3,"img",3),H(4,"div",4)(5,"div",5),J(6,"mat-icon",6),R(7),I(),H(8,"div",7),R(9),I()()(),H(10,"p",8),R(11),I(),H(12,"div",9)(13,"a",10),M("click",function(){return b.trackClick("viewTeamSettingsPage")}),H(14,"button",11),R(15,"View team settings"),I()(),H(16,"a",12),M("click",function(){return b.trackClick("viewTeamInMoma")}),H(17,"button",11),R(18,"View team in Moma "),J(19,"mat-icon",13),I()(),P(20,fDa,3,1,"a",14),
I()()());a&2&&(B(3),pf("src",b.teamLogoUrl,Sd),B(4),Mf(" Team: ",b.teamName," "),B(2),Mf("Team ID: ",b.teamId,""),B(2),Nf(b.teamDescription),B(2),If("routerLink","/teams/",b.teamId,"/edit"),B(3),If("href","https://moma.corp.google.com/team/",b.teamId,"",Sd),B(4),F("ngIf",b.componentId))},dependencies:[Ow,bB,YG,qA],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 Ooc=0,bL=function(a){GE.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new E.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+Ooc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Ne(),De(function(c){return"0"!==c}),af(function(c){return wI(b.teamsService,c)}));this.isTeamFetched$=this.fetchedTeam$.pipe(D(function(){return!0}),$e(!1));this.fetchedTeam$.pipe(bf(this.destroyed$)).subscribe(function(c){b.teamName=
c.name});Ooc++};U(bL,GE);bL.\u0275dir=GE.\u0275dir;bL.prototype.ngOnInit=function(){};bL.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};bL.prototype.trackClick=function(a){en(io.TEAM_CARD,"click",a,1)};bL.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};bL.\u0275fac=function(a){return new (a||bL)(C(vI))};
bL.\u0275cmp=Mc({type:bL,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[lf,ed],decls:8,vars:6,consts:[[4,"ngIf","ngIfElse"],["card","onedevHovercard"],[3,"componentId","teamId"],["loading",""],["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,"href","onedevHovercardTrigger","click"],["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&&(P(0,iDa,3,2,"ng-container",0),S(1,"async"),H(2,"onedev-hovercard",null,1),K(4),J(5,"b-team-card",2),L(),I(),P(6,lDa,2,2,"ng-template",null,3,hg));if(a&2){var c=Lf(7);F("ngIf","0"!=b.teamId&&T(1,4,b.isTeamFetched$))("ngIfElse",c);B(5);F("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString())}},dependencies:[Ow,bB,jK,oK,aL,Uw]});var cL=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};cL.prototype.ngOnChanges=function(){var a,b,c;this.teamId=(null==(a=this.issue)?void 0:null==(b=a.aggregatedData)?void 0:null==(c=b.teamId)?void 0:c.toString())||"";var d,e;this.componentId=String(null==(d=this.issue)?void 0:null==(e=d.snapshot[0])?void 0:e.componentId)||"";this.isDataLoaded=null!==this.issue};cL.\u0275fac=function(a){return new (a||cL)};
cL.\u0275cmp=Mc({type:cL,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[3,"isReady"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled",4,"ngIf","ngIfElse"],["noData",""],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),P(1,mDa,1,3,"b-team-display",1),P(2,nDa,1,0,"ng-template",null,2,hg),I());if(a&2){var c=Lf(3);F("isReady",b.isDataLoaded);
B(1);F("ngIf",b.teamId)("ngIfElse",c)}},dependencies:[WK,Ow,bL],encapsulation:2,changeDetection:0});var Poc=et(["https://www.gstatic.com/buganizer/gfx/","/",""]),dL=et(["https://www.gstatic.com/buganizer/img/v2/",""]),Qoc=Sg(Poc,"2023-07-13-7aec9c31","all-icons.svg"),Roc=Sg(dL,"empty_blocker_light.png"),Soc=Sg(dL,"empty_blocker_dark.png"),Toc=Sg(dL,"empty_child_light.png"),Uoc=Sg(dL,"empty_child_dark.png"),Voc=Sg(dL,"robot_sleeping.png"),Woc=Sg(dL,"tea_light.png"),Xoc=Sg(dL,"tea_dark.png"),Yoc=Sg(dL,"space_empty_state.png");var eL=function(a,b,c,d){GE.call(this);var e=this;this.currentTrackerId=a;this.activeSession=b;this.trackerFridge=c;this.errorHandler=d;this.handleTrackerError=function(g){e.errorHandler.errorHandler(null,g)};this.enableTrackersComponentPathTruncation=EE(this.activeSession,"enableTrackersComponentPathTruncation");this.trackerId$=this.currentTrackerId.trackerId$;this.tracker$=this.trackerId$.pipe(af(function(g){return""===g?(0,E.of)(void 0):e.trackerFridge.watch(g).pipe($e(void 0))}));this.inTracker$=
this.tracker$.pipe(D(function(g){return!!g}));this.inTracker=!1;this.associatedTrackers$=this.tracker$.pipe(D(function(g){var h;return null!=(h=null==g?void 0:g.associatedTrackerIds)?h:[]}),af(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(df(this.tracker$),D(function(g){var h=k(g);g=h.next().value;return(h=h.next().value)?[h].concat(ad(g)):[]}));this.trackerFridge.error$.pipe(bf(this.destroyed$)).subscribe(this.handleTrackerError);this.tracker$.pipe(bf(this.destroyed$)).subscribe(function(g){e.tracker=
g});this.inTracker$.pipe(bf(this.destroyed$)).subscribe(function(g){e.inTracker=g})};U(eL,GE);eL.\u0275dir=GE.\u0275dir;eL.prototype.getTrackerId=function(){return this.currentTrackerId.getTrackerId()};var Zoc=function(a){a=a.getTrackerId();if(""!==a&&"0"!==a)return[a]};eL.prototype.setTrackerId=function(a){this.currentTrackerId.setTrackerId(a)};
var fL=function(a,b,c,d){c=void 0===c?a.tracker:c;d=void 0===d?!1:d;c?(d=void 0===d?!1:d,a=a.activeSession.isInternalSession()&&!d&&c.internalBaseUrl?c.internalBaseUrl+"/"+b:c.externalBaseUrl?c.externalBaseUrl+"/"+b:$oc(a,b,!0,c.trackerId,d)):a=$oc(a,b,!1,"",d);return a},$oc=function(a,b,c,d,e){c=void 0===c?!1:c;d=void 0===d?"":d;a=a.activeSession.getAppBaseUrl(void 0===e?!1:e);return c?a+b+"?tracker="+d:a+b},Ds=function(a,b){if(!a.enableTrackersComponentPathTruncation||!b||!a.tracker)return b;var c,
d=null!=(c=b.componentPathId)?c:[],e;b=null!=(e=b.componentPathName)?e:[];a=Number(a.tracker.componentId);a=d.includes(a)?d.indexOf(a):d.length;return{componentPathId:d.slice(a),componentPathName:b.slice(a)}};eL.\u0275fac=function(a){return new (a||eL)(u(HE),u(bt),u(EI),u(oG))};eL.\u0275prov=wc({token:eL,factory:eL.\u0275fac,providedIn:"root"});var gL=function(a,b){this.activeSession=a;this.currentTracker=b;this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
gL.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=fL(this.currentTracker,"",this.tracker);this.name=this.getName();this.extendedName=this.isGlobalBuganizer?this.name:"the "+this.name+" Tracker";if(this.isGlobalBuganizer)a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";else{var b,c;if(null==(b=this.tracker)?0:null==(c=b.branding)?0:c.logoUrl){var d,e,g;a=null!=(g=null==(d=this.tracker)?void 0:null==(e=d.branding)?void 0:e.logoUrl)?g:""}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=null!=(h=this.logoLight)?h:""}this.logoDark=d}};gL.prototype.getName=function(){if(this.isGlobalBuganizer)return this.activeSession.getAppName();var a,b;return null!=(b=null==(a=this.tracker)?void 0:a.name)?b:""};gL.\u0275fac=function(a){return new (a||gL)(C(bt),C(eL))};
gL.\u0275cmp=Mc({type:gL,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[ed],decls:1,vars:1,consts:[[4,"ngIf"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],[1,"name"],["card","onedevHovercard"],[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","href","http://go/chrome-buganizer#trackers","target","_blank",4,"ngIf"],["mat-button","","href","http://go/chrome-buganizer#trackers","target","_blank",1,"gmat-button","primary"]],template:function(a,b){a&1&&P(0,qDa,17,12,"ng-container",0);a&2&&F("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[Ow,jK,oK,rA],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:10px;vertical-align:middle;border:0;box-shadow:none}.chippy[_ngcontent-%COMP%]:focus{outline:1px solid var(--primary)}.chippy.xs[_ngcontent-%COMP%]{margin-right:4px}.chippy.xs[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:14px;height:14px}.logo[_ngcontent-%COMP%]{margin-right:4px;width:16px;height:16px}.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 hL=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new E.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(xe(function(d){return bm(d)?(0,E.of)(void 0):c.trackerFridge.watch(d)}));this.isCurrentTracker$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return bm(d)?bm(e):d===e}))};
hL.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};wh.Object.defineProperties(hL.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return bm(this.trackerId)}}});hL.\u0275fac=function(a){return new (a||hL)(C(eL),C(EI))};
hL.\u0275cmp=Mc({type:hL,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[ed],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(P(0,rDa,2,6,"b-tracker-chip",0),S(1,"async"));a&2&&F("ngIf",!1===T(1,1,b.isCurrentTracker$))},dependencies:[Ow,gL,Uw],encapsulation:2,changeDetection:0});var iL=function(){this.issue=null;this.useButtonToNavigate=!1;this.anchorTarget=void 0;this.title="";this.isDataLoaded=!1;this.link=""};iL.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||"";this.isDataLoaded=null!==this.issue;var c,d;this.link=this.getIssueUrl(null!=(d=null==(c=this.issue)?void 0:c.issueId)?d:"")};iL.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):jm(a)};
iL.\u0275fac=function(a){return new (a||iL)};
iL.\u0275cmp=Mc({type:iL,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x","line-clamp-3"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget"},features:[ed],decls:5,vars:5,consts:[[1,"title","title-location",3,"isReady"],[3,"trackerId","compactMode"],[4,"ngIf","ngIfElse"],["useLinkToNavigate",""],[1,"line-clamp-3"],["mat-icon-button","","tabindex","0","title","Open issue in a new tab","aria-label","Open issue",
1,"small","visible-on-row-active",3,"routerLink","target","keydown","click"],["svgIcon","pop-out",1,"icon-s"],[1,"hover-link","line-clamp-3",3,"routerLink","target","keydown","click"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),J(1,"b-tracker-chip-smart",1),P(2,sDa,5,3,"ng-container",2),P(3,tDa,2,3,"ng-template",null,3,hg),I());if(a&2){var c=Lf(4);F("isReady",b.isDataLoaded);B(1);F("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0);B(1);F("ngIf",b.useButtonToNavigate)("ngIfElse",
c)}},dependencies:[WK,Ow,bB,rA,YG,hL],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 jL=function(){this.type=this.issue=null;this.isDataLoaded=!1};jL.prototype.ngOnChanges=function(){var a,b;this.type=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.type)||null;this.isDataLoaded=null!==this.issue};jL.\u0275fac=function(a){return new (a||jL)};
jL.\u0275cmp=Mc({type:jL,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),P(1,uDa,3,3,"ng-container",1),P(2,vDa,1,0,"ng-template",null,2,hg),I());if(a&2){var c=Lf(3);F("isReady",b.isDataLoaded);B(1);F("ngIf",b.type)("ngIfElse",c)}},dependencies:[WK,Ow,VJ],encapsulation:2,changeDetection:0});var apc=["actionsMenuIconButton"],kL=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};kL.prototype.trackByIndex=function(a){return a};kL.prototype.onAction=function(a,b){return ne(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);se(c)})};kL.prototype.ngOnInit=function(){};kL.\u0275fac=function(a){return new (a||kL)};
kL.\u0275cmp=Mc({type:kL,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&cg(apc,5);if(a&2){var c;bg(c=eg())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header"},decls:6,vars:4,consts:[["mat-icon-button","","class","gmat-button medium","aria-haspopup","true",3,"matTooltip","matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],[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"],["actionsMenuIconButton",""],[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"],["submenu","matMenu"],[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,"disabled","ngClass","click","mouseup"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","ngClass","click","mouseup"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(P(0,wDa,3,4,"button",0),H(1,"mat-menu",null,1)(3,"div",2),P(4,xDa,2,1,"div",3),P(5,LDa,3,2,"ng-container",4),I()());a&2&&(F("ngIf",0<b.menuItems.length),B(4),F("ngIf",b.header),B(1),F("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[lC,
jC,kC,Mw,Nw,Ow,bB,qA,tC],styles:["[_nghost-%COMP%]{display:inline-block}.mat-menu-item[_ngcontent-%COMP%]{align-items:center;display:flex}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:8px}.mat-menu-item[_ngcontent-%COMP%]   .hint[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-left:auto;padding-left:16px}  .b-actions-menu-panel .mat-menu-item[disabled]{pointer-events:auto}/*# sourceMappingURL=actions_menu.css.map */"],changeDetection:0});var mL=function(){};mL.prototype.onClick=function(a,b){bpc(b)&&a.preventDefault()};var bpc=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};mL.\u0275fac=function(a){return new (a||mL)};mL.\u0275dir=Qc({type:mL,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c,c.target)})}});var cpc=new Zc("CDK_DRAG_PARENT");var dpc=new Zc("CdkDragHandle"),nL=function(a,b){this.element=a;this._stateChanges=new E.Subject;this._disabled=!1;this._parentDrag=b};nL.prototype.ngOnDestroy=function(){this._stateChanges.complete()};wh.Object.defineProperties(nL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Gg(a);this._stateChanges.next(this)}}});nL.\u0275fac=function(a){return new (a||nL)(C(Bd),C(cpc,12))};
nL.\u0275dir=Qc({type:nL,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[Pf([{provide:dpc,useExisting:nL}])]});var epc=new Zc("CdkDragPlaceholder");var fpc=new Zc("CdkDragPreview"),oL=function(a){this.templateRef=a;this._matchSize=!1};wh.Object.defineProperties(oL.prototype,{matchSize:{configurable:!0,enumerable:!0,get:function(){return this._matchSize},set:function(a){this._matchSize=Gg(a)}}});oL.\u0275fac=function(a){return new (a||oL)(C(Zf))};oL.\u0275dir=Qc({type:oL,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},standalone:!0,features:[Pf([{provide:fpc,useExisting:oL}])]});var gpc=new Zc("CDK_DRAG_CONFIG");var hpc=Bg({passive:!1,capture:!0}),pL=function(a,b){var c=this;this._ngZone=a;this._dropInstances=new Set;this._dragInstances=new Set;this._activeDragInstances=[];this._globalListeners=new Map;this._draggingPredicate=function(d){return d.isDragging()};this.pointerMove=new E.Subject;this.pointerUp=new E.Subject;this.scroll=new E.Subject;this._preventDefaultWhileDragging=function(d){0<c._activeDragInstances.length&&d.preventDefault()};this._persistentTouchmoveListener=function(d){0<c._activeDragInstances.length&&
(c._activeDragInstances.some(c._draggingPredicate)&&d.preventDefault(),c.pointerMove.next(d))};this._document=b},ipc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},jpc=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,hpc)})},lpc=function(a,b){a._dragInstances.delete(b);kpc(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
hpc)};
pL.prototype.startDragging=function(a,b){var c=this;-1<this._activeDragInstances.indexOf(a)||(this._activeDragInstances.push(a),1===this._activeDragInstances.length&&(a=b.type.startsWith("touch"),this._globalListeners.set(a?"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:hpc}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:hpc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var kpc=function(a,b){b=a._activeDragInstances.indexOf(b);-1<b&&(a._activeDragInstances.splice(b,1),0===a._activeDragInstances.length&&a._clearGlobalListeners())};pL.prototype.isDragging=function(a){return-1<this._activeDragInstances.indexOf(a)};
pL.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new E.Observable(function(d){return b._ngZone.runOutsideAngular(function(){var e=function(g){b._activeDragInstances.length&&d.next(g)};a.addEventListener("scroll",e,!0);return function(){a.removeEventListener("scroll",e,!0)}})}));return E.merge.apply(null,ad(c))};
pL.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return lpc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};pL.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};pL.\u0275fac=function(a){return new (a||pL)(u(ef),u(uh))};
pL.\u0275prov=wc({token:pL,factory:pL.\u0275fac,providedIn:"root"});var TDa=0;var mpc=function(a){this._document=a;this.positions=new Map};mpc.prototype.clear=function(){this.positions.clear()};mpc.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:MDa(c)})})};
var npc=function(a,b){var c=Eg(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 g=b.top-e,h=b.left-d;a.positions.forEach(function(m,r){m.clientRect&&c!==r&&c.contains(r)&&Mn(m.clientRect,g,h)});b.top=e;b.left=d;return{top:g,left:h}};mpc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var opc=Bg({passive:!0}),ppc=Bg({passive:!1}),VDa=new Set(["position"]),spc=function(a,b,c,d,e,g){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=g;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=!1;this._moveEvents=new E.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=E.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 E.Subject;this.started=new E.Subject;this.released=new E.Subject;this.ended=new E.Subject;this.entered=new E.Subject;this.exited=new E.Subject;this.dropped=new E.Subject;this.moved=this._moveEvents;this._pointerDown=function(m){h.beforeStarted.next();if(h._handles.length){var r=h._getTargetHandle(m);!r||h._disabledHandles.has(r)||h.disabled||h._initializeDragSequence(r,
m)}else h.disabled||h._initializeDragSequence(h._rootElement,m)};this._pointerMove=function(m){var r=h._getPointerPositionOnPage(m);if(h._hasStartedDragging){m.preventDefault();var v=h._getConstrainedPointerPosition(r);h._hasMoved=!0;h._lastKnownPointerPosition=r;h._updatePointerDirectionDelta(v);if(h._dropContainer)h._updateActiveDropContainer(v,r);else{r=h.constrainPosition?h._initialClientRect:h._pickupPositionOnPage;var y=h._activeTransform;y.x=v.x-r.x+h._passiveTransform.x;y.y=v.y-r.y+h._passiveTransform.y;
h._applyRootElementTransform(y.x,y.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:v,event:m,distance:h._getDragDistance(v),delta:h._pointerDirectionDelta})})}else Math.abs(r.x-h._pickupPositionOnPage.x)+Math.abs(r.y-h._pickupPositionOnPage.y)>=h._config.dragStartThreshold&&((r=Date.now()>=h._dragStartTime+h._getDragStartDelay(m),y=h._dropContainer,r)?y&&(y.isDragging()||0<y._activeSiblings.size)||(m.preventDefault(),h._hasStartedDragging=!0,
h._ngZone.run(function(){return h._startDragSequence(m)})):h._endDragSequence(m))};this._pointerUp=function(m){h._endDragSequence(m)};this._nativeDragStart=function(m){if(h._handles.length){var r=h._getTargetHandle(m);!r||h._disabledHandles.has(r)||h.disabled||m.preventDefault()}else h.disabled||m.preventDefault()};qpc(rpc(this,a),b.parentDragRef||null);this._parentPositions=new mpc(c);jpc(g,this)};spc.prototype.getPlaceholderElement=function(){return this._placeholder};
spc.prototype.getRootElement=function(){return this._rootElement};
var tpc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},upc=function(a,b){a._handles=b.map(function(d){return Ig(d)});a._handles.forEach(function(d){return Nn(d,a.disabled)});a._toggleNativeDragInteractions();var c=new Set;a._disabledHandles.forEach(function(d){-1<a._handles.indexOf(d)&&c.add(d)});a._disabledHandles=c},rpc=function(a,b){var c=Ig(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,ppc);c.addEventListener("touchstart",a._pointerDown,opc);c.addEventListener("dragstart",a._nativeDragStart,ppc)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},vpc=function(a,b){a._boundaryElement=b?Ig(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},qpc=function(a,b){a._parentDragRef=b};f=spc.prototype;
f.dispose=function(){this._removeRootElementListeners(this._rootElement);if(this.isDragging()){var a;null==(a=this._rootElement)||a.remove()}var b;null==(b=this._anchor)||b.remove();this._destroyPreview();this._destroyPlaceholder();lpc(this._dragDropRegistry,this);this._removeSubscriptions();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};f.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)};
f.reset=function(){this._rootElement.style.transform=this._initialTransform||"";this._activeTransform={x:0,y:0};this._passiveTransform={x:0,y:0}};f.withDirection=function(a){this._direction=a;return this};f._withDropContainer=function(a){this._dropContainer=a};f.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)};
f._sortFromLastPointerPosition=function(){var a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)};f._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe();this._pointerUpSubscription.unsubscribe();this._scrollSubscription.unsubscribe()};f._destroyPreview=function(){var a;null==(a=this._preview)||a.remove();var b;null==(b=this._previewRef)||b.destroy();this._preview=this._previewRef=null};
f._destroyPlaceholder=function(){var a;null==(a=this._placeholder)||a.remove();var b;null==(b=this._placeholderRef)||b.destroy();this._placeholder=this._placeholderRef=null};
f._endDragSequence=function(a){var b=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),kpc(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();
kpc(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();kpc(this._dragDropRegistry,this)}};
f._startDragSequence=function(a){On(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var b=this._dropContainer;if(b){var c=this._rootElement,d=c.parentNode,e=this._placeholder=this._createPlaceholderElement(),g=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();d.insertBefore(g,c);this._initialTransform=c.style.transform||"";this._preview=this._createPreviewElement();WDa(c,!1);this._document.body.appendChild(d.replaceChild(e,c));this._getPreviewInsertionPoint(d,
h).appendChild(this._preview);this.started.next({source:this,event:a});b.start();this._initialContainer=b;this._initialIndex=b.getItemIndex(this)}else this.started.next({source:this,event:a}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(b?b._scrollableElements:[])};
f._initializeDragSequence=function(a,b){var c=this;this._parentDragRef&&b.stopPropagation();var d=this.isDragging(),e=On(b),g=!e&&0!==b.button,h=this._rootElement,m=Eg(b),r=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?Mma(b):Lma(b);m&&m.draggable&&"mousedown"===b.type&&b.preventDefault();d||g||r||e||(this._handles.length&&(d=h.style,this._rootElementTapHighlight=d.webkitTapHighlightColor||"",d.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=
!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(v){return c._updateOnScroll(v)}),this._boundaryElement&&(this._boundaryRect=MDa(this._boundaryElement)),this._pickupPositionInElement=
(d=this._previewTemplate)&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,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))};
f._cleanupDragArtifacts=function(a){var b=this;WDa(this._rootElement,!0);this._anchor.parentNode.replaceChild(this._rootElement,this._anchor);this._destroyPreview();this._destroyPlaceholder();this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0;this._ngZone.run(function(){var c=b._dropContainer,d=c.getItemIndex(b),e=b._getPointerPositionOnPage(a),g=b._getDragDistance(e),h=c._isOverContainer(e.x,e.y);b.ended.next({source:b,distance:g,dropPoint:e,event:a});b.dropped.next({item:b,
currentIndex:d,previousIndex:b._initialIndex,container:c,previousContainer:b._initialContainer,isPointerOverContainer:h,distance:g,dropPoint:e,event:a});c.drop(b,d,b._initialIndex,b._initialContainer,h,g,e,a);b._dropContainer=b._initialContainer})};
f._updateActiveDropContainer=function(a,b){var c=this,d=a.x,e=a.y;a=b.x;b=b.y;var g=this._initialContainer._getSiblingContainerFromPosition(this,d,e);!g&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(d,e)&&(g=this._initialContainer);g&&g!==this._dropContainer&&this._ngZone.run(function(){c.exited.next({item:c,container:c._dropContainer});c._dropContainer.exit(c);c._dropContainer=g;c._dropContainer.enter(c,d,e,g===c._initialContainer&&g.sortingDisabled?c._initialIndex:
void 0);c.entered.next({item:c,container:g,currentIndex:g.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))};
f._createPreviewElement=function(){var a=this._previewTemplate,b=this.previewClass,c=a?a.template:null;if(c&&a){var d=a.matchSize?this._initialClientRect:null;c=a.viewContainer.createEmbeddedView(c,a.context);c.detectChanges();var e=bEa(c,this._document);this._previewRef=c;a.matchSize?cEa(e,d):e.style.transform=aEa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=SDa(this._rootElement),cEa(e,this._initialClientRect),this._initialTransform&&(e.style.transform=this._initialTransform);
UDa(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},VDa);Nn(e,!1);e.classList.add("cdk-drag-preview");e.setAttribute("dir",this._direction);b&&(Array.isArray(b)?b.forEach(function(g){return e.classList.add(g)}):e.classList.add(b));return e};
f._animatePreviewToPlaceholder=function(){var a=this;if(!this._hasMoved)return Promise.resolve();var b=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating");this._applyPreviewTransform(b.left,b.top);var c=$Da(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||Eg(h)===a._preview&&"transform"===h.propertyName){var m;null==(m=a._preview)||m.removeEventListener("transitionend",
e);d();clearTimeout(g)}},g=setTimeout(e,1.5*c);a._preview.addEventListener("transitionend",e)})})};f._createPlaceholderElement=function(){var a=this._placeholderTemplate,b=a?a.template:null;b?(this._placeholderRef=a.viewContainer.createEmbeddedView(b,a.context),this._placeholderRef.detectChanges(),a=bEa(this._placeholderRef,this._document)):a=SDa(this._rootElement);a.style.pointerEvents="none";a.classList.add("cdk-drag-placeholder");return a};
f._getPointerPositionInElement=function(a,b,c){b=(b=b===this._rootElement?null:b)?b.getBoundingClientRect():a;c=On(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)}};
f._getPointerPositionOnPage=function(a){var b=this._getViewportScrollPosition(),c=On(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}};
f._getConstrainedPointerPosition=function(a){var b=this._dropContainer?this._dropContainer.lockAxis:null,c=this.constrainPosition?this.constrainPosition(a,this,this._initialClientRect,this._pickupPositionInElement):a;a=c.x;c=c.y;if("x"===this.lockAxis||"x"===b)c=this._pickupPositionOnPage.y;else if("y"===this.lockAxis||"y"===b)a=this._pickupPositionOnPage.x;if(this._boundaryRect){var d=this._pickupPositionInElement;b=d.x;var e=d.y;d=this._boundaryRect;var g=this._getPreviewRect(),h=d.top+e;e=d.bottom-
(g.height-e);a=Math.max(d.left+b,Math.min(d.right-(g.width-b),a));c=Math.max(h,Math.min(e,c))}return{x:a,y:c}};f._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};
f._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var a=0<this._handles.length||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,Nn(this._rootElement,a))}};f._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,ppc);a.removeEventListener("touchstart",this._pointerDown,opc);a.removeEventListener("dragstart",this._nativeDragStart,ppc)};
f._applyRootElementTransform=function(a,b){a=aEa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=XDa(a,this._initialTransform)};f._applyPreviewTransform=function(a,b){var c,d=(null==(c=this._previewTemplate)?0:c.template)?void 0:this._initialTransform;this._preview.style.transform=XDa(aEa(a,b),d)};f._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};
f._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
f._containInsideBoundaryOnResize=function(){var a=this._passiveTransform,b=a.x;a=a.y;if(!(0===b&&0===a||this.isDragging())&&this._boundaryElement){var c=this._rootElement.getBoundingClientRect(),d=this._boundaryElement.getBoundingClientRect();if(!(0===d.width&&0===d.height||0===c.width&&0===c.height)){var e=d.left-c.left,g=c.right-d.right,h=d.top-c.top,m=c.bottom-d.bottom;d.width>c.width?(0<e&&(b+=e),0<g&&(b-=g)):b=0;d.height>c.height?(0<h&&(a+=h),0<m&&(a-=m)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};f._getDragStartDelay=function(a){var b=this.dragStartDelay;return"number"===typeof b?b:On(a)?b.touch:b?b.mouse:0};
f._updateOnScroll=function(a){var b=npc(this._parentPositions,a);b&&(a=Eg(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&Mn(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)))};
f._getViewportScrollPosition=function(){var a;return(null==(a=this._parentPositions.positions.get(this._document))?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()};f._getShadowRoot=function(){void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Gma(this._rootElement));return this._cachedShadowRoot};
f._getPreviewInsertionPoint=function(a,b){var c=this._previewContainer||"global";return"parent"===c?a:"global"===c?(a=this._document,b||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body):Ig(c)};f._getPreviewRect=function(){this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect);return this._previewRect};
f._getTargetHandle=function(a){return this._handles.find(function(b){return a.target&&(a.target===b||b.contains(a.target))})};wh.Object.defineProperties(spc.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){var b=Gg(a);b!==this._disabled&&(this._disabled=b,this._toggleNativeDragInteractions(),this._handles.forEach(function(c){return Nn(c,b)}))}}});var qL=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};qL.prototype.start=function(a){this.withItems(a)};
qL.prototype.sort=function(a,b,c,d){var e=this._itemPositions,g=this._getItemIndexFromPointerPosition(a,b,c,d);if(-1===g&&0<e.length)return null;var h="horizontal"===this.orientation,m=e.findIndex(function(Q){return Q.drag===a}),r=e[g],v=r.clientRect,y=m>g?1:-1,A=this._getItemOffsetPx(e[m].clientRect,v,y),G=this._getSiblingOffsetPx(m,e,y),N=e.slice();Pn(e,m,g);e.forEach(function(Q,Z){if(N[Z]!==Q){var Y=Q.drag===a;Z=Y?A:G;Y=Y?a.getPlaceholderElement():Q.drag.getRootElement();Q.offset+=Z;h?(Y.style.transform=
XDa("translate3d("+Math.round(Q.offset)+"px, 0, 0)",Q.initialTransform),Mn(Q.clientRect,0,Z)):(Y.style.transform=XDa("translate3d(0, "+Math.round(Q.offset)+"px, 0)",Q.initialTransform),Mn(Q.clientRect,Z,0))}});this._previousSwap.overlaps=NDa(v,b,c);this._previousSwap.drag=r.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:m,currentIndex:g}};
qL.prototype.enter=function(a,b,c,d){d=null==d||0>d?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,g=e.indexOf(a),h=a.getPlaceholderElement(),m=e[d];m===a&&(m=e[d+1]);!m&&(null==d||-1===d||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(m=e[0]);-1<g&&e.splice(g,1);m&&!this._dragDropRegistry.isDragging(m)?(b=m.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(Ig(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
qL.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var wpc=function(a,b){a._sortPredicate=b};
qL.prototype.reset=function(){var a=this;this._activeDraggables.forEach(function(b){var c=b.getRootElement();if(c){var d,e=null==(d=a._itemPositions.find(function(g){return g.drag===b}))?void 0:d.initialTransform;c.style.transform=e||""}});this._itemPositions=[];this._activeDraggables=[];this._previousSwap.drag=null;this._previousSwap.delta=0;this._previousSwap.overlaps=!1};
qL.prototype.getItemIndex=function(a){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(function(b){return b.drag===a})};var xpc=function(a,b,c){a._itemPositions.forEach(function(d){Mn(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};f=qL.prototype;
f._cacheItemPositions=function(){var a="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(b){var c=tpc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:MDa(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};f._getItemOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=d?b.left-a.left:b.top-a.top;-1===c&&(e+=d?b.width-a.width:b.height-a.height);return e};
f._getSiblingOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=b[a].clientRect;a=b[a+-1*c];b=e[d?"width":"height"]*c;if(a){var g=d?"left":"top";d=d?"right":"bottom";b=-1===c?b-(a.clientRect[g]-e[d]):b+(e[g]-a.clientRect[d])}return b};
f._shouldEnterAsFirstChild=function(a,b){if(!this._activeDraggables.length)return!1;var c=this._itemPositions,d="horizontal"===this.orientation;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};
f._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,g="horizontal"===this.orientation,h=this._itemPositions.findIndex(function(m){var r=m.drag;m=m.clientRect;if(r===a)return!1;if(d){var v=g?d.x:d.y;if(r===e._previousSwap.drag&&e._previousSwap.overlaps&&v===e._previousSwap.delta)return!1}return g?b>=Math.floor(m.left)&&b<Math.floor(m.right):c>=Math.floor(m.top)&&c<Math.floor(m.bottom)});return-1!==h&&this._sortPredicate(h,a)?h:-1};var zpc=function(a,b,c,d,e){var g=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 E.Subject;this.entered=new E.Subject;this.exited=new E.Subject;this.dropped=new E.Subject;this.sorted=new E.Subject;this.receivingStarted=new E.Subject;this.receivingStopped=new E.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=E.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new E.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){g._stopScrolling();(0,E.interval)(0,E.animationFrameScheduler).pipe(bf(g._stopScrollTimers)).subscribe(function(){var h=g._scrollNode,m=g.autoScrollStep;1===g._verticalScrollDirection?h.scrollBy(0,-m):2===g._verticalScrollDirection&&
h.scrollBy(0,m);1===g._horizontalScrollDirection?h.scrollBy(-m,0):2===g._horizontalScrollDirection&&h.scrollBy(m,0)})};this.element=Ig(a);this._document=c;ypc(this,[this.element]);ipc(b,this);this._parentPositions=new mpc(c);this._sortStrategy=new qL(this.element,b);wpc(this._sortStrategy,function(h,m){return g.sortPredicate(h,m,g)})};f=zpc.prototype;
f.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)};f.isDragging=function(){return this._isDragging};
f.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};f.enter=function(a,b,c,d){this._draggingStarted();null==d&&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)})};f.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
f.drop=function(a,b,c,d,e,g,h,m){m=void 0===m?{}:m;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:g,dropPoint:h,event:m})};f.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-1===a.indexOf(d)})?this._reset():this._sortStrategy.withItems(this._draggables))};
f.withDirection=function(a){this._sortStrategy.direction=a;return this};f.connectedTo=function(a){this._siblings=a.slice();return this};var Apc=function(a,b){a._sortStrategy.orientation=b},ypc=function(a,b){var c=Ig(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(ad(b)):b.slice()};f=zpc.prototype;f.getItemIndex=function(a){return this._isDragging?this._sortStrategy.getItemIndex(a):this._draggables.indexOf(a)};
f._sortItem=function(a,b,c,d){!this.sortingDisabled&&this._clientRect&&ODa(this._clientRect,b,c)&&(b=this._sortStrategy.sort(a,b,c,d))&&this.sorted.next({previousIndex:b.previousIndex,currentIndex:b.currentIndex,container:this,item:a})};
f._startScrollingIfNecessary=function(a,b){var c=this;if(!this.autoScrollDisabled){var d=0,e=0;this._parentPositions.positions.forEach(function(r,v){if(v!==c._document&&r.clientRect&&!m&&ODa(r.clientRect,a,b)){var y=r.clientRect;r=dEa(y,b);y=eEa(y,a);var A=0,G=0;if(r){var N=v.scrollTop;1===r?0<N&&(A=1):v.scrollHeight-N>v.clientHeight&&(A=2)}y&&(r=v.scrollLeft,1===y?0<r&&(G=1):v.scrollWidth-r>v.clientWidth&&(G=2));r=k([A,G]);d=r.next().value;e=r.next().value;if(d||e)m=v}});if(!d&&!e){var g=this._viewportRuler.getViewportSize(),
h=g.width;g=g.height;h={width:h,height:g,top:0,right:h,bottom:g,left:0};d=dEa(h,b);e=eEa(h,a);var m=window}!m||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&m===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=m,(d||e)&&m?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};f._stopScrolling=function(){this._stopScrollTimers.next()};
f._draggingStarted=function(){var a=Ig(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()};f._cacheParentPositions=function(){var a=Ig(this.element);this._parentPositions.cache(this._scrollableElements);this._clientRect=this._parentPositions.positions.get(a).clientRect};
f._reset=function(){var a=this;this._isDragging=!1;var b=Ig(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()};f._isOverContainer=function(a,b){return null!=this._clientRect&&NDa(this._clientRect,a,b)};
f._getSiblingContainerFromPosition=function(a,b,c){return this._siblings.find(function(d){return d._canReceive(a,b,c)})};f._canReceive=function(a,b,c){if(!this._clientRect||!NDa(this._clientRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=Ig(this.element);return a===b||b.contains(a)};
f._startReceiving=function(a,b){var c=this,d=this._activeSiblings;!d.has(a)&&b.every(function(e){return c.enterPredicate(e,c)||-1<c._draggables.indexOf(e)})&&(d.add(a),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:a,receiver:this,items:b}))};f._stopReceiving=function(a){this._activeSiblings.delete(a);this._viewportScrollSubscription.unsubscribe();this.receivingStopped.next({initiator:a,receiver:this})};
f._listenToScrollEvents=function(){var a=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(b){a.isDragging()?(b=npc(a._parentPositions,b))&&xpc(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};f._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Gma(Ig(this.element))||this._document);return this._cachedShadowRoot};
f._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 Bpc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},rL=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};rL.prototype.createDrag=function(a,b){b=void 0===b?Bpc:b;return new spc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};rL.\u0275fac=function(a){return new (a||rL)(u(uh),u(ef),u(vz),u(pL))};rL.\u0275prov=wc({token:rL,factory:rL.\u0275fac,providedIn:"root"});var Cpc=new Zc("CdkDropList"),sL=function(a,b,c,d,e,g,h,m,r,v,y){var A=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=r;this._selfHandle=v;this._parentDrag=y;this._destroyed=new E.Subject;this.started=new pw;this.released=new pw;this.ended=new pw;this.entered=new pw;this.exited=new pw;this.dropped=new pw;this.moved=new E.Observable(function(G){var N=A._dragRef.moved.pipe(D(function(Q){return{source:A,pointerPosition:Q.pointerPosition,
event:Q.event,delta:Q.delta,distance:Q.distance}})).subscribe(G);return function(){N.unsubscribe()}});this._dragRef=m.createDrag(a,{dragStartThreshold:g&&null!=g.dragStartThreshold?g.dragStartThreshold:5,pointerDirectionChangeThreshold:g&&null!=g.pointerDirectionChangeThreshold?g.pointerDirectionChangeThreshold:5,zIndex:null==g?void 0:g.zIndex});this._dragRef.data=this;Dpc.push(this);g&&this._assignDefaults(g);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this));this._syncInputs(this._dragRef);
this._handleEvents(this._dragRef)};f=sL.prototype;f.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()};f.getRootElement=function(){return this._dragRef.getRootElement()};f.reset=function(){this._dragRef.reset()};f.setFreeDragPosition=function(a){this._dragRef.setFreeDragPosition(a)};
f.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(Oe(),bf(a._destroyed)).subscribe(function(){a._updateRootElement();a._setupHandlesListener();a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)})})};f.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)};
f.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=Dpc.indexOf(this);-1<b&&Dpc.splice(b,1);this._ngZone.runOutsideAngular(function(){a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};f._updateRootElement=function(){var a=this.element.nativeElement,b=a;if(this.rootElementSelector){var c;b=void 0!==a.closest?a.closest(this.rootElementSelector):null==(c=a.parentElement)?void 0:c.closest(this.rootElementSelector)}rpc(this._dragRef,b||a)};
f._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):Ig(a):null};
f._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,g=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=
"object"===typeof d&&d?d:Jg(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=vpc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=g;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(Oe()).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;qpc(a,(null==(d=Dpc.find(function(e){return e.element.nativeElement===
c}))?void 0:d._dragRef)||null);break}c=c.parentElement}})};
f._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})})};
f._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,g=a.boundaryElement,h=a.draggingDisabled,m=a.rootElementSelector;a=a.previewContainer;this.disabled=null==h?!1:h;this.dragStartDelay=c||0;b&&(this.lockAxis=b);d&&(this.constrainPosition=d);e&&(this.previewClass=e);g&&(this.boundaryElement=g);m&&(this.rootElementSelector=m);a&&(this.previewContainer=a)};
f._setupHandlesListener=function(){var a=this;this._handles.changes.pipe($e(this._handles),cf(function(b){b=b.filter(function(c){return c._parentDrag===a}).map(function(c){return c.element});a._selfHandle&&a.rootElementSelector&&b.push(a.element);upc(a._dragRef,b)}),af(function(b){return E.merge.apply(null,ad(b.map(function(c){return c._stateChanges.pipe($e(c))})))}),bf(this._destroyed)).subscribe(function(b){var c=a._dragRef,d=b.element.nativeElement;b.disabled?!c._disabledHandles.has(d)&&-1<c._handles.indexOf(d)&&
(c._disabledHandles.add(d),Nn(d,!0)):c._disabledHandles.has(d)&&(c._disabledHandles.delete(d),Nn(d,c.disabled))})};wh.Object.defineProperties(sL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(a){this._disabled=Gg(a);this._dragRef.disabled=this._disabled}}});var Dpc=[];sL.\u0275fac=function(a){return new (a||sL)(C(Bd),C(Cpc,12),C(uh),C(ef),C($f),C(gpc,8),C(lz,8),C(rL),C(Hw),C(dpc,10),C(cpc,12))};
sL.\u0275dir=Qc({type:sL,selectors:[["","cdkDrag",""]],contentQueries:function(a,b,c){a&1&&(dg(c,fpc,5),dg(c,epc,5),dg(c,dpc,5));if(a&2){var d;bg(d=eg())&&(b._previewTemplate=d.first);bg(d=eg())&&(b._placeholderTemplate=d.first);bg(d=eg())&&(b._handles=d)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&yf("cdk-drag-disabled",b.disabled)("cdk-drag-dragging",b._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement",
"rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",
entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Pf([{provide:cpc,useExisting:sL}]),ed]});var Epc=new Zc("CdkDropListGroup"),tL=function(){this._items=new Set;this._disabled=!1};tL.prototype.ngOnDestroy=function(){this._items.clear()};wh.Object.defineProperties(tL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Gg(a)}}});tL.\u0275fac=function(a){return new (a||tL)};
tL.\u0275dir=Qc({type:tL,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Pf([{provide:Epc,useExisting:tL}])]});var Fpc=0,uL=function(a,b,c,d,e,g,h){var m=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=g;this._destroyed=new E.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+Fpc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new pw;this.entered=new pw;this.exited=new pw;this.sorted=new pw;this._unsortedItems=new Set;this._dropListRef=new zpc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(r,v){return m.enterPredicate(r.data,v.data)};this._dropListRef.sortPredicate=function(r,v,y){return m.sortPredicate(r,v.data,y.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);Gpc.push(this);g&&g._items.add(this)};uL.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
uL.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var Hpc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return tpc(b._dragRef).compareDocumentPosition(tpc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};f=uL.prototype;
f.ngOnDestroy=function(){var a=Gpc.indexOf(this);-1<a&&Gpc.splice(a,1);this._group&&this._group._items.delete(this);this._unsortedItems.clear();this._dropListRef.dispose();this._destroyed.next();this._destroyed.complete()};
f._setupInputSyncSubscription=function(a){var b=this;this._dir&&this._dir.change.pipe($e(this._dir.value),bf(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=Fg(b.connectedTo).map(function(e){return"string"===typeof e?Gpc.find(function(g){return g.id===e}):e});b._group&&b._group._items.forEach(function(e){-1===c.indexOf(e)&&c.push(e)});if(!b._scrollableParentsResolved){var d=v_b(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
ypc(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=Gg(b.sortingDisabled);a.autoScrollDisabled=Gg(b.autoScrollDisabled);a.autoScrollStep=Jg(b.autoScrollStep,2);Apc(a.connectedTo(c.filter(function(e){return e&&e!==b}).map(function(e){return e._dropListRef})),b.orientation)})};
f._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,E.merge)(a.receivingStarted,a.receivingStopped).subscribe(function(){return b._changeDetectorRef.markForCheck()})};
f._assignDefaults=function(a){var b=a.lockAxis,c=a.draggingDisabled,d=a.sortingDisabled,e=a.listAutoScrollDisabled;a=a.listOrientation;this.disabled=null==c?!1:c;this.sortingDisabled=null==d?!1:d;this.autoScrollDisabled=null==e?!1:e;this.orientation=a||"vertical";b&&(this.lockAxis=b)};f._syncItemsWithRef=function(){this._dropListRef.withItems(Hpc(this).map(function(a){return a._dragRef}))};
wh.Object.defineProperties(uL.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=Gg(a)}}});var Gpc=[];uL.\u0275fac=function(a){return new (a||uL)(C(Bd),C(rL),C(Hw),C(rz),C(lz,8),C(Epc,12),C(gpc,8))};
uL.\u0275dir=Qc({type:uL,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(pf("id",b.id),yf("cdk-drop-list-disabled",b.disabled)("cdk-drop-list-dragging",b._dropListRef.isDragging())("cdk-drop-list-receiving",0<b._dropListRef._activeSiblings.size))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis",
"lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},
exportAs:["cdkDropList"],standalone:!0,features:[Pf([{provide:Epc,useValue:void 0},{provide:Cpc,useExisting:uL}])]});var vL=function(){};vL.\u0275fac=function(a){return new (a||vL)};vL.\u0275mod=Oc({type:vL});vL.\u0275inj=xc({providers:[rL],imports:[wz]});var wL=new Zc("CDK_TABLE");new Zc("text-column-options");var xL=function(a){this.template=a};xL.\u0275fac=function(a){return new (a||xL)(C(Zf))};xL.\u0275dir=Qc({type:xL,selectors:[["","cdkCellDef",""]]});var yL=function(a){this.template=a};yL.\u0275fac=function(a){return new (a||yL)(C(Zf))};yL.\u0275dir=Qc({type:yL,selectors:[["","cdkHeaderCellDef",""]]});var zL=function(a){this.template=a};zL.\u0275fac=function(a){return new (a||zL)(C(Zf))};zL.\u0275dir=Qc({type:zL,selectors:[["","cdkFooterCellDef",""]]});
var Ipc=fEa(function(){}),AL=function(a){var b=Ipc.call(this)||this;b._table=a;b._stickyEnd=!1;return b};U(AL,Ipc);AL.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};AL.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
wh.Object.defineProperties(AL.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}},stickyEnd:{configurable:!0,enumerable:!0,get:function(){return this._stickyEnd},set:function(a){var b=this._stickyEnd;this._stickyEnd=Gg(a);this._hasStickyChanged=b!==this._stickyEnd}}});AL.\u0275fac=function(a){return new (a||AL)(C(wL,8))};
AL.\u0275dir=Qc({type:AL,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(dg(c,xL,5),dg(c,yL,5),dg(c,zL,5));if(a&2){var d;bg(d=eg())&&(b.cell=d.first);bg(d=eg())&&(b.headerCell=d.first);bg(d=eg())&&(b.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Pf([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:AL}]),lf]});
var BL=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,ad(a._columnCssClassName))},CL=function(a,b){BL.call(this,a,b)};U(CL,BL);CL.\u0275fac=function(a){return new (a||CL)(C(AL),C(Bd))};CL.\u0275dir=Qc({type:CL,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[lf]});
var DL=function(a,b){BL.call(this,a,b);var c;1===(null==(c=a._table)?void 0:c._elementRef.nativeElement.nodeType)&&(a=a._table._elementRef.nativeElement.getAttribute("role"),b.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell"))};U(DL,BL);DL.\u0275fac=function(a){return new (a||DL)(C(AL),C(Bd))};DL.\u0275dir=Qc({type:DL,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[lf]});
var EL=function(a,b){BL.call(this,a,b);var c;1===(null==(c=a._table)?void 0:c._elementRef.nativeElement.nodeType)&&(a=a._table._elementRef.nativeElement.getAttribute("role"),b.nativeElement.setAttribute("role","grid"===a||"treegrid"===a?"gridcell":"cell"))};U(EL,BL);EL.\u0275fac=function(a){return new (a||EL)(C(AL),C(Bd))};EL.\u0275dir=Qc({type:EL,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[lf]});var Jpc=function(){this.tasks=[];this.endTasks=[]},Kpc=new Zc("_COALESCED_STYLE_SCHEDULER"),FL=function(a){this._ngZone=a;this._currentSchedule=null;this._destroyed=new E.Subject};FL.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};FL.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};
FL.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new Jpc,this._getScheduleObservable().pipe(bf(this._destroyed)).subscribe(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new Jpc;for(var c=k(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=k(b.endTasks);for(d=b.next();!d.done;d=b.next())c=d.value,c()}a._currentSchedule=null}))};
FL.prototype._getScheduleObservable=function(){return this._ngZone.isStable?(0,E.from)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Oe())};FL.\u0275fac=function(a){return new (a||FL)(u(ef))};FL.\u0275prov=wc({token:FL,factory:FL.\u0275fac});var GL=function(a,b){this.template=a;this._differs=b};GL.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};GL.\u0275fac=function(a){return new (a||GL)(C(Zf),C(Kw))};GL.\u0275dir=Qc({type:GL,features:[ed]});var Lpc=function(){GL.apply(this,arguments)};U(Lpc,GL);Lpc.\u0275dir=GL.\u0275dir;Lpc.\u0275fac=GL.\u0275fac;
var Mpc=fEa(Lpc),HL=function(a,b,c){a=Mpc.call(this,a,b)||this;a._table=c;return a};U(HL,Mpc);HL.prototype.ngOnChanges=function(a){Mpc.prototype.ngOnChanges.call(this,a)};HL.\u0275fac=function(a){return new (a||HL)(C(Zf),C(Kw),C(wL,8))};HL.\u0275dir=Qc({type:HL,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[lf,ed]});var Npc=function(){GL.apply(this,arguments)};U(Npc,GL);Npc.\u0275dir=GL.\u0275dir;
Npc.\u0275fac=GL.\u0275fac;var Opc=fEa(Npc),IL=function(a,b,c){a=Opc.call(this,a,b)||this;a._table=c;return a};U(IL,Opc);IL.prototype.ngOnChanges=function(a){Opc.prototype.ngOnChanges.call(this,a)};IL.\u0275fac=function(a){return new (a||IL)(C(Zf),C(Kw),C(wL,8))};IL.\u0275dir=Qc({type:IL,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[lf,ed]});var JL=function(a,b,c){GL.call(this,a,b);this._table=c};U(JL,GL);
JL.\u0275fac=function(a){return new (a||JL)(C(Zf),C(Kw),C(wL,8))};JL.\u0275dir=Qc({type:JL,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[lf]});var KL=function(a){this._viewContainer=a;Ppc=this};KL.prototype.ngOnDestroy=function(){Ppc===this&&(Ppc=null)};var Ppc=null;KL.\u0275fac=function(a){return new (a||KL)(C($f))};KL.\u0275dir=Qc({type:KL,selectors:[["","cdkCellOutlet",""]]});var LL=function(){};
LL.\u0275fac=function(a){return new (a||LL)};LL.\u0275cmp=Mc({type:LL,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Df(0,0)},dependencies:[KL],encapsulation:2});var ML=function(){};ML.\u0275fac=function(a){return new (a||ML)};
ML.\u0275cmp=Mc({type:ML,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Df(0,0)},dependencies:[KL],encapsulation:2});var NL=function(){};NL.\u0275fac=function(a){return new (a||NL)};
NL.\u0275cmp=Mc({type:NL,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Df(0,0)},dependencies:[KL],encapsulation:2});var OL=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};OL.\u0275fac=function(a){return new (a||OL)(C(Zf))};OL.\u0275dir=Qc({type:OL,selectors:[["ng-template","cdkNoDataRow",""]]});var Qpc=new Zc("CDK_SPL");var Rpc=["top","bottom","left","right"],Spc=function(a,b,c,d,e,g,h){e=void 0===e?!0:e;g=void 0===g?!0:g;this._isNativeHtmlTable=a;this._stickCellCss=b;this.direction=c;this._coalescedStyleScheduler=d;this._isBrowser=e;this._needsPositionStickyOnElement=g;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"}},Tpc=function(a,b,c){var d=[];b=k(b);for(var e=b.next();!e.done;e=
b.next())if(e=e.value,e.nodeType===e.ELEMENT_NODE){d.push(e);for(var g=0;g<e.children.length;g++)d.push(e.children[g])}a._coalescedStyleScheduler.schedule(function(){for(var h=k(d),m=h.next();!m.done;m=h.next())a._removeStickyStyle(m.value,c)})},Upc=function(a,b,c,d,e){e=void 0===e?!0:e;if(b.length&&a._isBrowser&&(c.some(function(G){return G})||d.some(function(G){return G}))){var g=b[0],h=g.children.length,m=a._getCellWidths(g,e),r=a._getStickyStartColumnPositions(m,c),v=a._getStickyEndColumnPositions(m,
d),y=c.lastIndexOf(!0),A=d.indexOf(!0);a._coalescedStyleScheduler.schedule(function(){var G="rtl"===a.direction,N=G?"right":"left";G=G?"left":"right";for(var Q=k(b),Z=Q.next();!Z.done;Z=Q.next()){Z=Z.value;for(var Y=0;Y<h;Y++){var ea=Z.children[Y];c[Y]&&a._addStickyStyle(ea,N,r[Y],Y===y);d[Y]&&a._addStickyStyle(ea,G,v[Y],Y===A)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===y?[]:m.slice(0,y+1).map(function(ja,va){return c[va]?ja:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
A?[]:m.slice(A).map(function(ja,va){return d[va+A]?ja:null}).reverse()}))})}else a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},Vpc=function(a,b,c,d){if(a._isBrowser){var e="bottom"===d?b.slice().reverse():b,g="bottom"===d?c.slice().reverse():c,h=[],m=[],r=[];for(c=b=0;b<e.length;b++)if(g[b]){h[b]=c;var v=e[b];r[b]=a._isNativeHtmlTable?Array.from(v.children):[v];v=v.getBoundingClientRect().height;c+=v;m[b]=v}var y=
g.lastIndexOf(!0);a._coalescedStyleScheduler.schedule(function(){for(var A=0;A<e.length;A++)if(g[A])for(var G=h[A],N=A===y,Q=k(r[A]),Z=Q.next();!Z.done;Z=Q.next())a._addStickyStyle(Z.value,d,G,N);if("top"===d){var Y;null==(Y=a._positionListener)||Y.stickyHeaderRowsUpdated({sizes:m,offsets:h,elements:r})}else{var ea;null==(ea=a._positionListener)||ea.stickyFooterRowsUpdated({sizes:m,offsets:h,elements:r})}})}},Wpc=function(a,b,c){if(a._isNativeHtmlTable){var d=b.querySelector("tfoot");a._coalescedStyleScheduler.schedule(function(){c.some(function(e){return!e})?
a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1)})}};f=Spc.prototype;f._removeStickyStyle=function(a,b){for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);Rpc.some(function(e){return-1===b.indexOf(e)&&a.style[e]})?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))};
f._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; ")};f._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=k(Rpc),e=d.next();!e.done;e=d.next())e=e.value,a.style[e]&&(c+=b[e]);return c?""+c:""};
f._getCellWidths=function(a,b){if(void 0!==b&&!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};f._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};f._getStickyEndColumnPositions=function(a,b){for(var c=[],d=0,e=a.length;0<e;e--)b[e]&&(c[e]=d,d+=a[e]);return c};var Xpc=[[["caption"]],[["colgroup"],["col"]]],PL=function(a,b){this.viewContainer=a;this.elementRef=b};PL.\u0275fac=function(a){return new (a||PL)(C($f),C(Bd))};PL.\u0275dir=Qc({type:PL,selectors:[["","rowOutlet",""]]});var QL=function(a,b){this.viewContainer=a;this.elementRef=b};QL.\u0275fac=function(a){return new (a||QL)(C($f),C(Bd))};QL.\u0275dir=Qc({type:QL,selectors:[["","headerRowOutlet",""]]});var RL=function(a,b){this.viewContainer=a;this.elementRef=b};
RL.\u0275fac=function(a){return new (a||RL)(C($f),C(Bd))};RL.\u0275dir=Qc({type:RL,selectors:[["","footerRowOutlet",""]]});var SL=function(a,b){this.viewContainer=a;this.elementRef=b};SL.\u0275fac=function(a){return new (a||SL)(C($f),C(Bd))};SL.\u0275dir=Qc({type:SL,selectors:[["","noDataRowOutlet",""]]});
var TL=function(a,b,c,d,e,g,h,m,r,v,y,A){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=m;this._coalescedStyleScheduler=r;this._viewportRuler=v;this._stickyPositioningListener=y;this._ngZone=A;this._onDestroy=new E.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._fixedLayout=this._multiTemplateDataRows=this._isShowingNoDataRow=!1;this.contentChanged=new pw;d||this._elementRef.nativeElement.setAttribute("role","table");this._document=g;this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName};
TL.prototype.ngOnInit=function(){var a=this;this._setupStickyStyler();this._isNativeHtmlTable&&this._applyNativeTableSections();this._dataDiffer=this._differs.find([]).create(function(b,c){return a.trackBy?a.trackBy(c.dataIndex,c.data):c});this._viewportRuler.change().pipe(bf(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};
TL.prototype.ngAfterContentChecked=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&&0<this._rowDefs.length&&
!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&UL(this);this._checkStickyStates()};
TL.prototype.ngOnDestroy=function(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(a){a.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();this._onDestroy.complete();Eoa(this.dataSource)&&this.dataSource.disconnect(this)};
TL.prototype.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;x_b(b,c,function(d,e,g){return a._getEmbeddedViewArgs(d.item,g)},function(d){1===d.operation&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});this._updateRowIndexContext();HWb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();this._ngZone&&xja()?this._ngZone.onStable.pipe(Oe(),
bf(this._onDestroy)).subscribe(function(){UL(a)}):UL(this)}else this._updateNoDataRow();this.contentChanged.next()};
var Ypc=function(a){var b=a._getRenderedRows(a._headerRowOutlet),c=a._elementRef.nativeElement.querySelector("thead");c&&(c.style.display=b.length?"":"none");c=a._headerRowDefs.map(function(d){return d.sticky});Tpc(a._stickyStyler,b,["top"]);Vpc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},Zpc=function(a){var b=a._getRenderedRows(a._footerRowOutlet),c=a._elementRef.nativeElement.querySelector("tfoot");c&&(c.style.display=b.length?"":"none");c=a._footerRowDefs.map(function(d){return d.sticky});
Tpc(a._stickyStyler,b,["bottom"]);Vpc(a._stickyStyler,b,c,"bottom");Wpc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},UL=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)Tpc(a._stickyStyler,[].concat(ad(b),ad(c),ad(d)),["left","right"]),a._stickyColumnStylesNeedReset=!1;b.forEach(function(e,
g){a._addStickyColumnStyles([e],a._headerRowDefs[g])});a._rowDefs.forEach(function(e){for(var g=[],h=0;h<c.length;h++)a._renderRows[h].rowDef===e&&g.push(c[h]);a._addStickyColumnStyles(g,e)});d.forEach(function(e,g){a._addStickyColumnStyles([e],a._footerRowDefs[g])});Array.from(a._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})};f=TL.prototype;
f._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 g=e[d],h=this._cachedRenderRowsMap.get(g.data);h.has(g.rowDef)?h.get(g.rowDef).push(g):h.set(g.rowDef,[g]);a.push(g)}}return a};
f._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}})};f._cacheColumnDefs=function(){var a=this;this._columnDefsByName.clear();gEa(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(b){a._columnDefsByName.has(b.name);a._columnDefsByName.set(b.name,b)})};
f._cacheRowDefs=function(){this._headerRowDefs=gEa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=gEa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=gEa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);this._defaultRowDef=this._rowDefs.filter(function(a){return!a.when})[0]};
f._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};
f._switchDataSource=function(a){this._data=[];Eoa(this.dataSource)&&this.dataSource.disconnect(this);this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null);a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear());this._dataSource=a};
f._observeRenderChanges=function(){var a=this;if(this.dataSource){var b;Eoa(this.dataSource)?b=this.dataSource.connect(this):(0,E.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,E.of)(this.dataSource));this._renderChangeSubscription=b.pipe(bf(this._onDestroy)).subscribe(function(c){a._data=c||[];a.renderRows()})}};
f._forceRenderHeaderRows=function(){var a=this;0<this._headerRowOutlet.viewContainer.length&&this._headerRowOutlet.viewContainer.clear();this._headerRowDefs.forEach(function(b,c){return a._renderRow(a._headerRowOutlet,b,c)});Ypc(this)};f._forceRenderFooterRows=function(){var a=this;0<this._footerRowOutlet.viewContainer.length&&this._footerRowOutlet.viewContainer.clear();this._footerRowDefs.forEach(function(b,c){return a._renderRow(a._footerRowOutlet,b,c)});Zpc(this)};
f._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});Upc(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};f._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};
f._getRowDefs=function(a,b){if(1==this._rowDefs.length)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};f._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
f._renderRow=function(a,b,c,d){d=void 0===d?{}:d;a=a.viewContainer.createEmbeddedView(b.template,d,c);this._renderCellTemplateForItem(b,d);return a};f._renderCellTemplateForItem=function(a,b){a=k(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,Ppc&&Ppc._viewContainer.createEmbeddedView(c,b);this._changeDetectorRef.markForCheck()};
f._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=0===b;d.last=b===c-1;d.even=0===b%2;d.odd=!d.even;this.multiTemplateDataRows?(d.dataIndex=this._renderRows[b].dataIndex,d.renderIndex=b):d.index=this._renderRows[b].dataIndex}};
f._getCellTemplates=function(a){var b=this;return a&&a.columns?Array.from(a.columns,function(c){c=b._columnDefsByName.get(c);return a instanceof HL?c.headerCell.template:a instanceof IL?c.footerCell.template:c.cell.template}):[]};
f._applyNativeTableSections=function(){for(var a=this._document.createDocumentFragment(),b=k([{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}]),c=b.next();!c.done;c=b.next()){var d=c.value;c=this._document.createElement(d.tag);c.setAttribute("role","rowgroup");d=k(d.outlets);for(var e=d.next();!e.done;e=d.next())c.appendChild(e.value.elementRef.nativeElement);a.appendChild(c)}this._elementRef.nativeElement.appendChild(a)};
f._forceRenderDataRows=function(){this._dataDiffer.diff([]);this._rowOutlet.viewContainer.clear();this.renderRows()};f._checkStickyStates=function(){var a=function(b,c){return b||c.hasStickyChanged()};this._headerRowDefs.reduce(a,!1)&&Ypc(this);this._footerRowDefs.reduce(a,!1)&&Zpc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,UL(this))};
f._setupStickyStyler=function(){var a=this;this._stickyStyler=new Spc(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,E.of)()).pipe(bf(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;UL(a)})};f._getOwnDefs=function(a){var b=this;return a.filter(function(c){return!c._table||c._table===b})};
f._updateNoDataRow=function(){var a=this._customNoDataRow||this._noDataRow;if(a){var b=0===this._rowOutlet.viewContainer.length;if(b!==this._isShowingNoDataRow){var c=this._noDataRowOutlet.viewContainer;if(b){c=c.createEmbeddedView(a.templateRef);var d=c.rootNodes[0];1===c.rootNodes.length&&(null==d?void 0:d.nodeType)===this._document.ELEMENT_NODE&&(d.setAttribute("role","row"),d.classList.add(a._contentClassName))}else c.clear();this._isShowingNoDataRow=b}}};
wh.Object.defineProperties(TL.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=Gg(a);this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),UL(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=Gg(a);this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});TL.\u0275fac=function(a){return new (a||TL)(C(Kw),C(Hw),C(Bd),ud("role"),C(lz,8),C(uh),C(Lx),C(y_b),C(Kpc),C(vz),C(Qpc,12),C(ef,8))};
TL.\u0275cmp=Mc({type:TL,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(dg(c,OL,5),dg(c,AL,5),dg(c,JL,5),dg(c,HL,5),dg(c,IL,5));if(a&2){var d;bg(d=eg())&&(b._noDataRow=d.first);bg(d=eg())&&(b._contentColumnDefs=d);bg(d=eg())&&(b._contentRowDefs=d);bg(d=eg())&&(b._contentHeaderRowDefs=d);bg(d=eg())&&(b._contentFooterRowDefs=d)}},viewQuery:function(a,b){a&1&&(cg(PL,7),cg(QL,7),cg(RL,7),cg(SL,7));if(a&2){var c;bg(c=eg())&&(b._rowOutlet=c.first);bg(c=eg())&&(b._headerRowOutlet=
c.first);bg(c=eg())&&(b._footerRowOutlet=c.first);bg(c=eg())&&(b._noDataRowOutlet=c.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&yf("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Pf([{provide:wL,useExisting:TL},{provide:y_b,useClass:w_b},{provide:Kpc,useClass:FL},
{provide:Qpc,useValue:null}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Gf(Xpc),Hf(0),Hf(1,1),Df(2,0)(3,1)(4,2)(5,3))},dependencies:[PL,QL,RL,SL],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var VL=function(){};VL.\u0275fac=function(a){return new (a||VL)};VL.\u0275mod=Oc({type:VL});VL.\u0275inj=xc({imports:[xz]});var WL=function(){xL.apply(this,arguments)};U(WL,xL);WL.\u0275fac=function(){var a;return function(b){return(a||(a=zd(WL)))(b||WL)}}();WL.\u0275dir=Qc({type:WL,selectors:[["","matCellDef",""]],features:[Pf([{provide:xL,useExisting:WL}]),lf]});var XL=function(){yL.apply(this,arguments)};U(XL,yL);XL.\u0275fac=function(){var a;return function(b){return(a||(a=zd(XL)))(b||XL)}}();XL.\u0275dir=Qc({type:XL,selectors:[["","matHeaderCellDef",""]],features:[Pf([{provide:yL,useExisting:XL}]),lf]});
var YL=function(){zL.apply(this,arguments)};U(YL,zL);YL.\u0275fac=function(){var a;return function(b){return(a||(a=zd(YL)))(b||YL)}}();YL.\u0275dir=Qc({type:YL,selectors:[["","matFooterCellDef",""]],features:[Pf([{provide:zL,useExisting:YL}]),lf]});var ZL=function(){return AL.apply(this,arguments)||this};U(ZL,AL);ZL.prototype._updateColumnCssClassName=function(){AL.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};
wh.Object.defineProperties(ZL.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});ZL.\u0275fac=function(){var a;return function(b){return(a||(a=zd(ZL)))(b||ZL)}}();ZL.\u0275dir=Qc({type:ZL,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Pf([{provide:AL,useExisting:ZL},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ZL}]),lf]});var $L=function(){CL.apply(this,arguments)};
U($L,CL);$L.\u0275fac=function(){var a;return function(b){return(a||(a=zd($L)))(b||$L)}}();$L.\u0275dir=Qc({type:$L,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[lf]});var aM=function(){DL.apply(this,arguments)};U(aM,DL);aM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(aM)))(b||aM)}}();
aM.\u0275dir=Qc({type:aM,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[lf]});var bM=function(){EL.apply(this,arguments)};U(bM,EL);bM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(bM)))(b||bM)}}();bM.\u0275dir=Qc({type:bM,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[lf]});var cM=function(){return HL.apply(this,arguments)||this};U(cM,HL);cM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(cM)))(b||cM)}}();cM.\u0275dir=Qc({type:cM,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Pf([{provide:HL,useExisting:cM}]),lf]});var dM=function(){return IL.apply(this,arguments)||this};U(dM,IL);dM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(dM)))(b||dM)}}();
dM.\u0275dir=Qc({type:dM,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[Pf([{provide:IL,useExisting:dM}]),lf]});var eM=function(){JL.apply(this,arguments)};U(eM,JL);eM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(eM)))(b||eM)}}();
eM.\u0275dir=Qc({type:eM,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Pf([{provide:JL,useExisting:eM}]),lf]});var fM=function(){};U(fM,LL);fM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(fM)))(b||fM)}}();
fM.\u0275cmp=Mc({type:fM,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Pf([{provide:LL,useExisting:fM}]),lf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Df(0,0)},dependencies:[KL],encapsulation:2});var gM=function(){};U(gM,ML);gM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(gM)))(b||gM)}}();
gM.\u0275cmp=Mc({type:gM,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[Pf([{provide:ML,useExisting:gM}]),lf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Df(0,0)},dependencies:[KL],encapsulation:2});var hM=function(){};U(hM,NL);hM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(hM)))(b||hM)}}();
hM.\u0275cmp=Mc({type:hM,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Pf([{provide:NL,useExisting:hM}]),lf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Df(0,0)},dependencies:[KL],encapsulation:2});var iM=function(){OL.apply(this,arguments);this._contentClassName="mat-no-data-row"};U(iM,OL);iM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(iM)))(b||iM)}}();
iM.\u0275dir=Qc({type:iM,selectors:[["ng-template","matNoDataRow",""]],features:[Pf([{provide:OL,useExisting:iM}]),lf]});var $pc=[[["caption"]],[["colgroup"],["col"]]],jM=function(){TL.apply(this,arguments);this.stickyCssClass="mat-table-sticky";this.needsPositionStickyOnElement=!1};U(jM,TL);jM.\u0275fac=function(){var a;return function(b){return(a||(a=zd(jM)))(b||jM)}}();
jM.\u0275cmp=Mc({type:jM,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mat-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Pf([{provide:y_b,useClass:w_b},{provide:TL,useExisting:jM},{provide:wL,useExisting:jM},{provide:Kpc,useClass:FL},{provide:Qpc,useValue:null}]),lf],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a){a&1&&(Gf($pc),Hf(0),Hf(1,1),Df(2,0)(3,1)(4,2)(5,3))},dependencies:[PL,QL,RL,SL],styles:["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}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],
encapsulation:2});var REa=function(a){return{row:a}},YEa=function(){return["pinnedIssues"]},aqc=new Map([["title","Title"],["id","ID"],["priority","Priority"],["type","Type"],["status","Status"],["team","Team"],["assignee","Assignee"],["reporter","Reporter"],["createdTime","Created Time"],["menu","More Options"],["alert","Alert"],["action",""],["pin",""],["modifiedTime","Last Modified"]]),kM=function(a,b,c,d){this.issueFridge=a;this.domSafe=b;this.router=c;this.hackyPrefs=d;this.getUserInvolvement=kwa;this.ldapOnly=
am;this.viewCellTemplates={};this.COLUMN_TITLES=aqc;this.issueIds$=new E.BehaviorSubject([]);this.defaultColumns=["title","priority","type","id","status"];this.displayedColumns=[];this.customColumns=[];this.displayedIssues$=this.issueIds$.pipe(af(this.issueFridge.watchSet))};f=kM.prototype;f.ngOnChanges=function(a){!a.displayedColumns||0!==this.displayedColumns.length&&this.displayedColumns.every(function(b){return aqc.has(b)})||(this.displayedColumns=this.defaultColumns)};
f.navigateToIssue=function(a,b){a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=jm(b.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?go(this.domSafe,b):Ks(this.router,b))};
f.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Add to My Projects",action:function(){Rn(b.hackyPrefs,a.issueId)},title:"Add to My Projects",icon:"add"}],d,e;((null==(d=this.hackyPrefs.prefs.sectionA)?0:d.includes("working-on-this-week"))||(null==(e=this.hackyPrefs.prefs.sectionW)?0:e.includes("working-on-this-week")))&&c.push({type:"action",label:"Add to this week",action:function(){var g=b.hackyPrefs,h=a.issueId,m=g.prefs;m.issuesThisWeek&&!m.issuesThisWeek.issues.includes(h)&&(m.issuesThisWeek.issues.unshift(h),
g.save(m))},title:"Add to this week",icon:"add"});return c};f.getViewCellTemplate=function(a){if(null!=a)return this.viewCellTemplates[a]||void 0};f.getAssigneeString=function(a){var b,c;return Jn(ti(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};f.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};f.trackByIssueLastModified=function(a,b){return b.issueId+"-"+b.majorModifiedTimeMicros};
wh.Object.defineProperties(kM.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}}});kM.\u0275fac=function(a){return new (a||kM)(C(YH),C(LK),C(WG),C(NI))};
kM.\u0275cmp=Mc({type:kM,selectors:[["flat-issues-table"]],inputs:{issueIds:"issueIds",displayedColumns:"displayedColumns",customColumns:"customColumns",assigneeMode:"assigneeMode"},features:[ed],decls:2,vars:3,consts:[[4,"ngIf"],["mat-table","","cdkDropList","","cdkDropListSortingDisabled","",1,"full-width",3,"dataSource","trackBy","cdkDropListConnectedTo","cdkDropListData"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","priority"],
["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","modifiedTime"],["mat-header-cell","","mat-sort-header","modifiedTime",4,"matHeaderCellDef"],
["matColumnDef","menu"],[4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"highlighted","click","mouseup",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"issuePriority"],[1,"break-word",3,"issue"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"issue",4,"ngSwitchDefault"],[3,"email"],[3,"email",4,"ngIf"],["mat-header-cell","","mat-sort-header",
"reporter"],["mat-header-cell","","mat-sort-header","createdTime"],["mat-header-cell","","mat-sort-header","modifiedTime"],["mode","relativepast",3,"timestamp",4,"ngIf","ngIfElse"],["noData",""],["mode","relativepast",3,"timestamp"],["buttonLabel","More options",3,"menuItems","click"],[3,"matColumnDef",4,"ngIf"],[3,"matColumnDef"],["mat-header-cell","","class","first-letter-capitalized",4,"matHeaderCellDef"],["mat-header-cell","",1,"first-letter-capitalized"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],
["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup"],[3,"issue",4,"cdkDragPreview"]],template:function(a,b){a&1&&(P(0,ZEa,38,8,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.displayedIssues$))},dependencies:[Nw,Ow,Tw,Pw,Qw,Rw,jM,XL,cM,ZL,WL,eM,$L,bM,fM,hM,XK,YK,ZK,$K,cL,iL,jL,SI,kL,uL,oL,QK,PK,KK,mL,VK,Uw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-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-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-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;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}[_nghost-%COMP%]     .mat-column-modifiedTime{min-width:98px}"],
changeDetection:0});var lM=function(a,b){this.templateRef=a;this.flatIssuesTable=b};lM.prototype.ngOnInit=function(){this.forViewCell&&(this.flatIssuesTable.viewCellTemplates[this.forViewCell]=this.templateRef)};lM.\u0275fac=function(a){return new (a||lM)(C(Zf),C(kM))};lM.\u0275dir=Qc({type:lM,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var bqc=new Zc("IssueCard");var mM=function(){};mM.prototype.visit=function(){};mM.\u0275fac=function(a){return new (a||mM)};mM.\u0275prov=wc({token:mM,factory:mM.\u0275fac,providedIn:"root"});var cqc=["el"],nM=function(a){this.viewContainerRef=a};nM.\u0275fac=function(a){return new (a||nM)(C($f))};nM.\u0275dir=Qc({type:nM,selectors:[["","issueCardHost",""]]});var oM=function(a,b){GE.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new E.ReplaySubject(1)};U(oM,GE);oM.\u0275dir=GE.\u0275dir;oM.prototype.ngOnInit=function(){};
oM.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(bf(this.destroyed$)).subscribe(function(b){a.issueCard&&0!==b.length&&(b=a.issueCardHost.first.viewContainerRef.createComponent(a.issueCard),b.instance.issueId=a.issueId,b.instance.init.pipe(Oe(),bf(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
oM.prototype.visit=function(a){if(!cFa(a))if(this.commentNumber)this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+this.commentNumber,event:a});else{var b=this.href.indexOf("#");if(-1!==b&&(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})}};oM.\u0275fac=function(a){return new (a||oM)(C(mM),C(bqc,8))};
oM.\u0275cmp=Mc({type:oM,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(cg(cqc,7),cg(nM,5));if(a&2){var c;bg(c=eg())&&(b.el=c.first);bg(c=eg())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[lf],ngContentSelectors:["*"],decls:6,vars:3,consts:[["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive","href","click"],
["el",""],[3,"onedevIsHovercardReady"],["issueCardHost",""]],template:function(a,b){a&1&&(Gf(),H(0,"onedev-hovercard",null,0),P(2,dFa,2,1,"div",1),I(),H(3,"a",2,3),M("click",function(d){return b.visit(d)}),Hf(5),I());if(a&2){var c=Lf(1);B(3);F("onedevHovercardTrigger",c)("onedevHovercardActive",!!b.issueCard)("href",b.href,Sd)}},dependencies:[jK,kK,oK,lK,nM],encapsulation:2,changeDetection:0});var pM=function(a){GE.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new E.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe(af(function(c){return b.changelistApi.getChangelistDetails(c)}),Ye({refCount:!0,bufferSize:1}));this.init=new E.ReplaySubject(1)};U(pM,GE);pM.\u0275dir=GE.\u0275dir;pM.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Oe(),bf(this.destroyed$)).subscribe(function(){a.init.next()})};
pM.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};pM.\u0275fac=function(a){return new (a||pM)(C(CD))};
pM.\u0275cmp=Mc({type:pM,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[lf,ed],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&&(H(0,"div",0)(1,"div",1),P(2,hFa,16,6,"ng-container",2),S(3,"async"),I()());a&2&&(B(2),F("ngIf",T(3,1,b.changelist$)))},dependencies:[Nw,Ow,OK,VK,Uw],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 qM=function(){this.config=Object.assign({},new mK,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};qM.prototype.ngOnInit=function(){};qM.\u0275fac=function(a){return new (a||qM)};
qM.\u0275cmp=Mc({type:qM,selectors:[["b-changelist-link"]],inputs:{changelistId:"changelistId"},decls:5,vars:5,consts:[["target","_blank",1,"bv2-metadata-link",3,"href","onedevHovercardTrigger","onedevHovercardConfig"],["card","onedevHovercard"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"],["cardBody",""]],template:function(a,b){a&1&&(H(0,"a",0),R(1),I(),H(2,"onedev-hovercard",null,1),P(4,iFa,2,2,"b-changelist-card",2),I());if(a&
2){var c=Lf(3);F("href","http://critique.corp.google.com/"+b.changelistId,Sd)("onedevHovercardTrigger",c)("onedevHovercardConfig",b.config);pf("aria-label","Changelist"+b.changelistId);B(1);Mf(" ",b.changelistId,"\n")}},dependencies:[jK,kK,oK,lK,pM],encapsulation:2});var rM=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};rM.prototype.getDisplayString=function(){return pi(this.model)};var dqc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Eqa(si(b)):Eqa(b))&&!!a.getEmailAddress()};rM.prototype.getEmailAddress=function(){return ti(this.model)||""};rM.\u0275fac=function(a){return new (a||rM)};
rM.\u0275cmp=Mc({type:rM,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),P(1,jFa,1,4,"b-user-display-name",0),P(2,kFa,2,1,"span",
1),L());a&2&&(B(1),F("ngIf",dqc(b)),B(1),F("ngIf",!dqc(b)))},dependencies:[Ow,OK],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 sM=function(){this.toIssuePriority=zl;this.clAuthorToUser=$va;this.getClNumber=awa;this.clEventToClDescription=bwa;this.getPreviousDiffValue=cwa;this.getNewDiffValue=dwa;this.getIssueDetailsUrl=ewa;this.numEventsDisplayed=3;this.activityEvents=null;this.title="Recent Activity"},uFa=function(a){return a.activityEvents&&0!==a.activityEvents.length?3<=a.activityEvents.length-a.numEventsDisplayed?3:a.activityEvents.length-a.numEventsDisplayed:0};
sM.prototype.trackByEventModifiedTime=function(a,b){return b.issueId+"-"+b.event.modifiedDate};sM.\u0275fac=function(a){return new (a||sM)};
sM.\u0275cmp=Mc({type:sM,selectors:[["activity-stream"]],inputs:{activityEvents:"activityEvents",title:"title"},decls:3,vars:6,consts:[[4,"ngIf"],[1,"heading-xs","margin-s-y"],[1,"events"],["class","flex-kids-x",3,"margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"flex-kids-x"],[1,"bv2-profile-avatar",3,"email"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"type-m","event-heading"],[3,"model"],[3,"changelistId"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[1,"line-clamp-2",
"type-s","muted","break-word"],[1,"type-s","muted"],[3,"issuePriority"],["mat-button","","color","primary",1,"gmat-button","margin-s-top","small",3,"click"]],template:function(a,b){a&1&&(P(0,tFa,5,3,"ng-container",0),S(1,"slice"),P(2,vFa,3,1,"ng-container",0));a&2&&(F("ngIf",Wf(1,2,b.activityEvents,0,b.numEventsDisplayed)),B(2),F("ngIf",0<uFa(b)))},dependencies:[Nw,Ow,Pw,Qw,Rw,qA,PK,rM,SI,qM,oM,VK,ax],styles:["[_nghost-%COMP%]     b-user-display-name{font-weight:500;color:#202124;color:var(--text)}[_nghost-%COMP%]     .bv2-profile-avatar{margin-top:-8px;margin-bottom:-26px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;margin-right:6px;height:28px;width:28px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:28px;width:28px}.events[_ngcontent-%COMP%]   b-user-image[_ngcontent-%COMP%]{margin-right:0}.event-heading[_ngcontent-%COMP%]{font-size:.875rem}\n/*# sourceMappingURL=activity_stream.css.map */"]});var eqc=["determinateSpinner"],fqc=xh(function(a){this._elementRef=a},"primary"),gqc=new Zc("mat-progress-spinner-default-options",{providedIn:"root",factory:xFa}),tM=function(a,b,c){a=fqc.call(this,a)||this;a.mode="mat-spinner"===a._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate";a._value=0;a._diameter=100;a._noopAnimations="NoopAnimations"===b&&!!c&&!c._forceAnimations;c&&(c.color&&(a.color=a.defaultColor=c.color),c.diameter&&(a.diameter=c.diameter),c.strokeWidth&&
(a.strokeWidth=c.strokeWidth));return a};U(tM,fqc);f=tM.prototype;f._circleRadius=function(){return(this.diameter-10)/2};f._viewBox=function(){var a=2*this._circleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};f._strokeCircumference=function(){return 2*Math.PI*this._circleRadius()};f._strokeDashOffset=function(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null};f._circleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
wh.Object.defineProperties(tM.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return"determinate"===this.mode?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,Jg(a)))}},diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Jg(a)}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this._strokeWidth)?a:this.diameter/10},set:function(a){this._strokeWidth=Jg(a)}}});
tM.\u0275fac=function(a){return new (a||tM)(C(Bd),C(Ov,8),C(gqc))};
tM.\u0275cmp=Mc({type:tM,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&cg(eqc,5);if(a&2){var c;bg(c=eg())&&(b._determinateCircle=c.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(a,b){a&2&&(pf("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),xf("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),yf("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===b.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[lf],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["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&&(P(0,wFa,2,8,"ng-template",null,0,hg),H(2,"div",1,2),pd(),H(4,"svg",3),J(5,"circle",4),I()(),qd(),H(6,"div",5)(7,"div",6)(8,"div",7),Df(9,8),I(),H(10,"div",9),Df(11,8),I(),H(12,"div",10),Df(13,8),I()()());if(a&2){var c=Lf(1);B(4);pf("viewBox",b._viewBox());B(1);xf("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),"px")("stroke-width",
b._circleStrokeWidth(),"%");pf("r",b._circleRadius());B(4);F("ngTemplateOutlet",c);B(2);F("ngTemplateOutlet",c);B(2);F("ngTemplateOutlet",c)}},dependencies:[Tw],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-active-indicator-width:4px;--mdc-circular-progress-size:48px}.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 uM=function(){};uM.\u0275fac=function(a){return new (a||uM)};uM.\u0275mod=Oc({type:uM});uM.\u0275inj=xc({imports:[bx,Lz]});var hqc=xh(function(a){this._elementRef=a},"primary"),vM=function(a,b,c,d,e,g,h,m,r){var v=hqc.call(this,a)||this;v._document=c;v._nonce=r;v._diameter=100;v._value=0;v._resizeSubscription=E.Subscription.EMPTY;v.mode="determinate";v._spinnerAnimationLabel=v._getSpinnerAnimationLabel();iqc.has(c.head)||iqc.set(c.head,new Set([100]));v._noopAnimations="NoopAnimations"===d&&!!e&&!e._forceAnimations;"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(v.mode="indeterminate");e&&(e.color&&(v.color=
v.defaultColor=e.color),e.diameter&&(v.diameter=e.diameter),e.strokeWidth&&(v.strokeWidth=e.strokeWidth));b.isBrowser&&b.SAFARI&&h&&g&&m&&(v._resizeSubscription=h.change(150).subscribe(function(){"indeterminate"===v.mode&&m.run(function(){return g.markForCheck()})}));return v};U(vM,hqc);f=vM.prototype;f.ngOnInit=function(){var a=this._elementRef.nativeElement;this._styleRoot=Gma(a)||this._document.head;this._attachStyleNode();a.classList.add("mat-progress-spinner-indeterminate-animation")};
f.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};f._getCircleRadius=function(){return(this.diameter-10)/2};f._getViewBox=function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};f._getStrokeCircumference=function(){return 2*Math.PI*this._getCircleRadius()};f._getStrokeDashOffset=function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null};f._getCircleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
f._getCircleTransformOrigin=function(a){var b;a=50*(null!=(b=a.currentScale)?b:1);return a+"% "+a+"%"};f._attachStyleNode=function(){var a=this._styleRoot,b=this._diameter,c=iqc.get(a);if(!c||!c.has(b)){var d=this._document.createElement("style");this._nonce&&(d.nonce=this._nonce);d.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel);d.textContent=this._getAnimationText();a.appendChild(d);c||(c=new Set,iqc.set(a,c));c.add(b)}};
f._getAnimationText=function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,
""+.95*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,this._spinnerAnimationLabel)};f._getSpinnerAnimationLabel=function(){return this.diameter.toString().replace(".","_")};
wh.Object.defineProperties(vM.prototype,{diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Jg(a);this._spinnerAnimationLabel=this._getSpinnerAnimationLabel();this._styleRoot&&this._attachStyleNode()}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){return this._strokeWidth||this.diameter/10},set:function(a){this._strokeWidth=Jg(a)}},value:{configurable:!0,enumerable:!0,get:function(){return"determinate"===this.mode?this._value:0},
set:function(a){this._value=Math.max(0,Math.min(100,Jg(a)))}}});var iqc=new WeakMap;vM.\u0275fac=function(a){return new (a||vM)(C(Bd),C(Lx),C(uh,8),C(Ov,8),C(gqc),C(Hw),C(vz),C(ef),C(xUb,8))};
vM.\u0275cmp=Mc({type:vM,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,b){a&2&&(pf("aria-valuemin","determinate"===b.mode?0:null)("aria-valuemax","determinate"===b.mode?100:null)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),xf("width",b.diameter,"px")("height",b.diameter,"px"),yf("_mat-animation-noopable",b._noopAnimations))},inputs:{color:"color",
diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[lf],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx",
"50%","cy","50%"]],template:function(a,b){a&1&&(pd(),H(0,"svg",0,1),P(2,yFa,1,11,"circle",2),P(3,zFa,1,9,"circle",3),I());a&2&&(xf("width",b.diameter,"px")("height",b.diameter,"px"),F("ngSwitch","indeterminate"===b.mode),pf("viewBox",b._getViewBox()),B(2),F("ngSwitchCase",!0),B(1),F("ngSwitchCase",!1))},dependencies:[Pw,Qw],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],
encapsulation:2,changeDetection:0});var wM=function(){};wM.\u0275fac=function(a){return new (a||wM)};
wM.\u0275cmp=Mc({type:wM,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&&(P(0,AFa,1,2,"mat-spinner",0),P(1,BFa,1,3,"mat-spinner",1));a&2&&(F("ngIf",b.large),B(1),F("ngIf",!b.large))},dependencies:[Ow,vM],styles:[".muted[_nghost-%COMP%]     .mat-progress-spinner circle, .muted[_nghost-%COMP%]     .mat-spinner circle{stroke:rgba(0,0,0,.4)}[_nghost-%COMP%]     .mat-progress-spinner circle, [_nghost-%COMP%]     .mat-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 xM=function(){this._inset=this._vertical=!1};wh.Object.defineProperties(xM.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Gg(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=Gg(a)}}});xM.\u0275fac=function(a){return new (a||xM)};
xM.\u0275cmp=Mc({type:xM,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(pf("aria-orientation",b.vertical?"vertical":"horizontal"),yf("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(){},styles:[".mat-divider{--mat-divider-width:1px;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 HFa=function(){return[]},yM=function(a,b,c,d,e,g){GE.call(this);var h=this;this.hotlistFridge=a;this.hackyPrefs=b;this.data=c;this.projectActivity=d;this.hotlistApi=e;this.issueFridge=g;this.makeCritiqueUrl=Xva;this.makePie=Yva;this.hotlistId$=new E.ReplaySubject(1);this.hotlist$=this.hotlistId$.pipe(af(this.hotlistFridge.watchOne));this.orderedByHotlistPositionIssueIds$=this.hotlistId$.pipe(af(function(m){return h.hotlistApi.getPagedHotlistContent(m,1,50,[])}),D(function(m){return m.issues}),
D(function(m){return m.map(function(r){return r.issueId})}));this.openIssueIds$=this.hotlistId$.pipe(af(function(m){return h.issueFridge.watchMany({filter:"hotlistid:"+m+" status:open",pageSize:25,sort:"modified_time:desc"})}),D(function(m){return m.results}),D(function(m){return m.map(function(r){return r.issueId})}));this.hotlistIssueIds$=(0,E.combineLatest)([this.openIssueIds$,this.orderedByHotlistPositionIssueIds$]).pipe(D(function(m){m=k(m);var r=m.next().value,v=m.next().value;m=[];r=new Set(r);
v=k(v);for(var y=v.next();!y.done&&(y=y.value,r.has(y)&&m.push(y),25!==m.length);y=v.next());return m}),bf(this.destroyed$));this.projectData$=this.orderedByHotlistPositionIssueIds$.pipe(af(function(m){return $ec(h.data,[].concat(ad(m)))}),Ye({refCount:!0,bufferSize:1}));this.hotlistActivityEvents$=this.hotlistId$.pipe(af(function(m){return Wjc(h.projectActivity,m)}));this.columnsToDisplay=["title","assignee","status","id","menu"]};U(yM,GE);yM.\u0275dir=GE.\u0275dir;
yM.prototype.isCollapsed=function(a){a=a.hotlistId;return!0===this.neverCollapse?!1:this.addMode||this.prefs.collapsed["hotlist-"+a]};yM.prototype.removeHotlist=function(a){rp(this.hackyPrefs,Vl(a))};yM.prototype.reorder=function(a,b){qp(this.hackyPrefs,Vl(a),b)};yM.prototype.canMove=function(a,b){return sp(this.hackyPrefs,Vl(a),b)};
wh.Object.defineProperties(yM.prototype,{hotlistId:{configurable:!0,enumerable:!0,set:function(a){this.hotlistId$.next(String(a))}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});yM.\u0275fac=function(a){return new (a||yM)(C(FH),C(NI),C(DF),C(QI),C(vH),C(YH))};
yM.\u0275cmp=Mc({type:yM,selectors:[["hotlist-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",hotlistId:"hotlistId"},features:[lf],decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","never-collapse-mode","add-mode",4,"ngIf"],[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-button","","title","Save this to your homepage",1,"gmat-button","add",3,"click"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",
3,"href"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[4,"ngIf"],["class","main-content",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],["mat-menu-item","",3,"href"],[1,"icon-s"],["class","margin-left-auto flex-kids-x align-items-center",
4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",
2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["class","flex-kids-x align-items-center",3,"title",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"title"],[1,"pie","margin-s-right"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],
[3,"href"],[3,"issueIds","displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],template:function(a,b){a&1&&(P(0,RFa,35,15,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.hotlist$))},dependencies:[Nw,Ow,bB,qA,PK,kM,wM,lC,jC,kC,xM,sM,Uw,ax,$w],styles:['[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}.card-overflow[_ngcontent-%COMP%]{margin-left:12px;margin-right:-4px}\n/*# sourceMappingURL=hotlist_as_project_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});var zM=function(a,b){GE.call(this);var c=this;this.hackyPrefs=a;this.hotlists=b;this.log=console.log.bind(console);this.suggestionCount=3;this.suggestedHotlists$=this.hotlists.suggestedHotlists$;this.suggestedHotlistIds$=this.suggestedHotlists$.pipe(D(function(d){return[].concat(ad(d.keys())).filter(function(e){return!Jp(c.hackyPrefs).includes(Vl(e))})}));this.skipFirstSuggestion=!1;this.suggestedHotlists$.pipe(bf(this.destroyed$)).subscribe(function(d){var e=Array.from(d)[0][0];d=Array.from(d)[0][1];
0===Jp(c.hackyPrefs).length&&!c.hackyPrefs.prefs.hasUserEdits&&(5<d.confidence||3<d.count)&&(Rn(c.hackyPrefs,Vl(e)),c.skipFirstSuggestion=!0,c.suggestionCount++)})};U(zM,GE);zM.\u0275dir=GE.\u0275dir;zM.\u0275fac=function(a){return new (a||zM)(C(NI),C(GI))};
zM.\u0275cmp=Mc({type:zM,selectors:[["suggested-hotlists"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[lf],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"flex-kids-y","gap"],[1,"muted"],["mat-icon-button","","href","http://go/b-learn-hotlist-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[4,"ngFor","ngForOf"],["class","muted",4,"ngIf"],["mat-button","","class","gmat-button",
3,"click",4,"ngIf"],[3,"hotlistId","addMode"],["mat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(P(0,VFa,10,7,"ng-container",0),S(1,"async"),P(2,WFa,3,0,"ng-template",null,1,hg));if(a&2){var c=Lf(3);F("ngIf",T(1,2,b.suggestedHotlistIds$))("ngIfElse",c)}},dependencies:[Nw,Ow,bB,qA,rA,yM,wM,Uw,ax],styles:["[_nghost-%COMP%] { display: block; }"]});var jqc=Il(function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0},eva),AM=function(a){this.issueFridge=a;this.componentIdToRecentCanonicals=new Map};
AM.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return(0,E.of)(void 0);if("canonical"===b){b=kqc(this,a,d);d=lqc(this,d).pipe(af(function(h){return e.issueFridge.watchMany({filter:XFa(a,Sn("-id",null==c?void 0:c.id),Sn("status","open"),Sn("componentid",h)),pageSize:10})}),D(function(h){return null==h?void 0:h.results}));var g=this.issueFridge.watchMany({filter:XFa(a,Sn("-id",null==c?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(D(function(h){return null==h?void 0:h.results}),
$e([]));return(0,E.combineLatest)([b,d,g]).pipe(D(function(h){return Cl(h.flat(),function(m){return m.issueId})}),D(function(h){return h.slice(0,10)}),D(function(h){return jqc(h,"desc")}))}return this.issueFridge.watchMany({filter:a,pageSize:10}).pipe(D(function(h){return null==h?void 0:h.results}))};
var kqc=function(a,b,c){return c?mqc(a,c).pipe(af(function(d){return 0===d.length?(0,E.of)([]):a.issueFridge.watchMany({filter:XFa(b,Sn("id",d),Sn("status","open")),pageSize:10}).pipe(D(function(e){return null==e?void 0:e.results}))})):(0,E.of)([])},mqc=function(a,b){if(!b)return(0,E.of)([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);var c=a.issueFridge.watchMany({filter:XFa(Sn("componentid",b,!0),Sn("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(D(function(d){return null==
d?void 0:d.results}),D(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),D(function(d){return Dl(d.filter(Ei))}),Ye({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},lqc=function(a,b){return b?mqc(a,b).pipe(af(function(c){return a.issueFridge.watchSet(c)}),D(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),D(function(c){return[b].concat(ad(c.filter(Ei)))}),D(Dl),Ye({bufferSize:1,refCount:!0})):(0,E.of)([])};
AM.\u0275fac=function(a){return new (a||AM)(u(YH))};AM.\u0275prov=wc({token:AM,factory:AM.\u0275fac,providedIn:"root"});/*

 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(Q,Z,Y){Q.addEventListener?Q.addEventListener(Z,Y,!1):Q.attachEvent("on"+Z,Y)}function e(Q){if("keypress"==Q.type){var Z=String.fromCharCode(Q.which);Q.shiftKey||(Z=Z.toLowerCase());return Z}return v[Q.which]?v[Q.which]:y[Q.which]?y[Q.which]:String.fromCharCode(Q.which).toLowerCase()}function g(Q){return"shift"==Q||"ctrl"==Q||"alt"==Q||"meta"==Q}function h(Q,Z){var Y,ea=[];"+"===Q?Q=["+"]:(Q=Q.replace(/\+{2}/g,"+plus"),Q=Q.split("+"));for(Y=0;Y<Q.length;++Y){var ja=Q[Y];
G[ja]&&(ja=G[ja]);Z&&"keypress"!=Z&&A[ja]&&(ja=A[ja],ea.push("shift"));g(ja)&&ea.push(ja)}Q=ja;Y=Z;if(!Y){if(!N){N={};for(var va in v)95<va&&112>va||v.hasOwnProperty(va)&&(N[v[va]]=va)}Y=N[Q]?"keydown":"keypress"}"keypress"==Y&&ea.length&&(Y="keydown");return{key:ja,modifiers:ea,action:Y}}function m(Q,Z){return null===Q||Q===b?!1:Q===Z?!0:m(Q.parentNode,Z)}function r(Q){function Z(sa){sa=sa||{};var Ja=!1,Qa;for(Qa in Sa)sa[Qa]?Ja=!0:Sa[Qa]=0;Ja||(cb=!1)}function Y(sa,Ja,Qa,fb,Za,Yc){var jb,yb,ab=
[],Mb=Qa.type;if(!Pa._callbacks[sa])return[];"keyup"==Mb&&g(sa)&&(Ja=[sa]);for(jb=0;jb<Pa._callbacks[sa].length;++jb)if(yb=Pa._callbacks[sa][jb],(fb||!yb.seq||Sa[yb.seq]==yb.level)&&Mb==yb.action){var sb;(sb="keypress"==Mb&&!Qa.metaKey&&!Qa.ctrlKey)||(sb=yb.modifiers,sb=Ja.sort().join(",")===sb.sort().join(","));sb&&(sb=fb&&yb.seq==fb&&yb.level==Yc,(!fb&&yb.combo==Za||sb)&&Pa._callbacks[sa].splice(jb,1),ab.push(yb))}return ab}function ea(sa,Ja,Qa,fb){Pa.stopCallback(Ja,Ja.target||Ja.srcElement,Qa,
fb)||!1!==sa(Ja,Qa)||(Ja.preventDefault?Ja.preventDefault():Ja.returnValue=!1,Ja.stopPropagation?Ja.stopPropagation():Ja.cancelBubble=!0)}function ja(sa){"number"!==typeof sa.which&&(sa.which=sa.keyCode);var Ja=e(sa);if(Ja)if("keyup"==sa.type&&Qb===Ja)Qb=!1;else{var Qa=Pa,fb=Qa.handleKey,Za=[];sa.shiftKey&&Za.push("shift");sa.altKey&&Za.push("alt");sa.ctrlKey&&Za.push("ctrl");sa.metaKey&&Za.push("meta");fb.call(Qa,Ja,Za,sa)}}function va(sa,Ja,Qa,fb){function Za(ab){return function(){cb=ab;++Sa[sa];
clearTimeout(Wa);Wa=setTimeout(Z,1E3)}}function Yc(ab){ea(Qa,ab,sa);"keyup"!==fb&&(Qb=e(ab));setTimeout(Z,10)}for(var jb=Sa[sa]=0;jb<Ja.length;++jb){var yb=jb+1===Ja.length?Yc:Za(fb||h(Ja[jb+1]).action);za(Ja[jb],yb,fb,sa,jb)}}function za(sa,Ja,Qa,fb,Za){Pa._directMap[sa+":"+Qa]=Ja;sa=sa.replace(/\s+/g," ");var Yc=sa.split(" ");1<Yc.length?va(sa,Yc,Ja,Qa):(Qa=h(sa,Qa),Pa._callbacks[Qa.key]=Pa._callbacks[Qa.key]||[],Y(Qa.key,Qa.modifiers,{type:Qa.action},fb,sa,Za),Pa._callbacks[Qa.key][fb?"unshift":
"push"]({callback:Ja,modifiers:Qa.modifiers,action:Qa.action,seq:fb,level:Za,combo:sa}))}var Pa=this;Q=Q||b;if(!(Pa instanceof r))return new r(Q);Pa.target=Q;Pa._callbacks={};Pa._directMap={};var Sa={},Wa,Qb=!1,Gb=!1,cb=!1;Pa._handleKey=function(sa,Ja,Qa){var fb=Y(sa,Ja,Qa),Za;Ja={};var Yc=0,jb=!1;for(Za=0;Za<fb.length;++Za)fb[Za].seq&&(Yc=Math.max(Yc,fb[Za].level));for(Za=0;Za<fb.length;++Za)fb[Za].seq?fb[Za].level==Yc&&(jb=!0,Ja[fb[Za].seq]=1,ea(fb[Za].callback,Qa,fb[Za].combo,fb[Za].seq)):jb||
ea(fb[Za].callback,Qa,fb[Za].combo);fb="keypress"==Qa.type&&Gb;Qa.type!=cb||g(sa)||fb||Z(Ja);Gb=jb&&"keydown"==Qa.type};Pa._bindMultiple=function(sa,Ja,Qa){for(var fb=0;fb<sa.length;++fb)za(sa[fb],Ja,Qa)};d(Q,"keypress",ja);d(Q,"keydown",ja);d(Q,"keyup",ja)}if(a){var v={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},
y={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},A={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},G={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},N;for(c=1;20>c;++c)v[111+c]="f"+c;for(c=0;9>=c;++c)v[c+96]=c;r.prototype.bind=
function(Q,Z,Y){Q=Q instanceof Array?Q:[Q];this._bindMultiple.call(this,Q,Z,Y);return this};r.prototype.unbind=function(Q,Z){return this.bind.call(this,Q,function(){},Z)};r.prototype.trigger=function(Q,Z){if(this._directMap[Q+":"+Z])this._directMap[Q+":"+Z]({},Q);return this};r.prototype.reset=function(){this._callbacks={};this._directMap={};return this};r.prototype.stopCallback=function(Q,Z){return-1<(" "+Z.className+" ").indexOf(" mousetrap ")||m(Z,this.target)?!1:"INPUT"==Z.tagName||"SELECT"==
Z.tagName||"TEXTAREA"==Z.tagName||Z.isContentEditable};r.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};r.addKeycodes=function(Q){for(var Z in Q)Q.hasOwnProperty(Z)&&(v[Z]=Q[Z]);N=null};r.init=function(){var Q=r(b),Z;for(Z in Q)"_"!==Z.charAt(0)&&(r[Z]=function(Y){return function(){return Q[Y].apply(Q,arguments)}}(Z))};r.init();a.Mousetrap=r;"undefined"!==typeof module&&module.exports&&(module.exports=r);"function"===typeof define&&define.amd&&define(function(){return r})}})("undefined"!==
typeof window?window:null,"undefined"!==typeof window?document:null);var Tn=function(a,b){this.char=a;this.modifiers=b};/*

 The MIT License (MIT)

 Copyright (c) 2016 Nick Richardson

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

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

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
*/
var nqc=function(a,b,c,d,e,g){this.combo=a;this.callback=b;this.allowIn=c;this.description=d;this.action=e;this.persistent=g;this.combo=Array.isArray(a)?a:[a];this.allowIn=c||[];this.description=d||""};
wh.Object.defineProperties(nqc.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++){var c=b;var d={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193","return":"\u23ce",backspace:"\u232b"};for(var e=a[b].split("+"),g=0;g<e.length;g++)"mod"===e[g]&&(window.navigator&&0<=window.navigator.platform.indexOf("Mac")?e[g]="command":e[g]="ctrl"),e[g]=d[e[g]]||e[g];d=e.join(" + ");
a[c]=d}this._formatted=a}return this._formatted}}});var oqc=new Zc("HotkeyOptions");var BM=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new E.Subject;this.preventIn=["INPUT","SELECT","TEXTAREA"];Mousetrap.prototype.stopCallback=function(b,c){return-1<(" "+c.className+" ").indexOf(" mousetrap ")?!1:c.contentEditable&&"true"===c.contentEditable};this.mousetrap=new Mousetrap;this.options.disableCheatSheet||this.add(new nqc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new nqc("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};f=BM.prototype;
f.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=k(a),g=e.next();!g.done;g=e.next())d.push(this.add(g.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,m){var r=!0;if(h){var v=h.target,y=v.nodeName.toUpperCase();-1<(" "+v.className+" ").indexOf(" mousetrap ")?r=!0:-1<c.preventIn.indexOf(y)&&-1===a.allowIn.map(function(A){return A.toUpperCase()}).indexOf(y)&&(r=!1)}if(r)return a.callback.apply(c,[h,m])},b);return a};
f.remove=function(a){var b=[];if(!a){var c=k(this.hotkeys);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}if(Array.isArray(a)){c=k(a);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}b=this.hotkeys.indexOf(a);return-1<b?(this.hotkeys.splice(b,1),this.mousetrap.unbind(a.combo),a):null};
f.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(-1<this.hotkeys[b].combo.indexOf(a))return this.hotkeys[b];return null};f.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=k(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.pause(c.value));return b}this.remove(a);this.pausedHotkeys.push(a);return a};
f.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=k(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return-1<b?(this.add(a),this.pausedHotkeys.splice(b,1)):null};f.reset=function(){this.mousetrap.reset()};BM.\u0275fac=function(a){return new (a||BM)(u(oqc))};BM.\u0275prov=wc({token:BM,factory:BM.\u0275fac});var CM=function(){};CM.\u0275fac=function(a){return new (a||CM)};CM.\u0275mod=Oc({type:CM});CM.\u0275inj=xc({imports:[bx]});var pqc;Sca("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var qqc="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),DM=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},EM=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(pqc||(c={},pqc=(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=pqc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},rqc=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},FM=function(a,b){var c="";b&&(c=b.id);EM(a,"activedescendant",c)},sqc=function(a,b){EM(a,"label",b)};var GM=function(a,b,c,d){GE.call(this);var e=this;this.rawHotkeysService=c;this.ngZone=d;this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(g,h){if(!e.enabled||e.paused)h=!0;else if(-1<(" "+h.className+" ").indexOf(" mousetrap ")||h.classList.contains("has-hotkey"))h=!1;else{if(g=h.getAttribute)g=h.getAttribute("role")||null,g=pa(qqc,g);h=g||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||tqc(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(bf(this.destroyed$)).subscribe(function(g){g&&(e.enabled=!!g.enableAllHotkeys)});a.routeChangeStart.pipe(bf(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){uqc(e)})};U(GM,GE);GM.\u0275dir=GE.\u0275dir;GM.prototype.isEnabled=function(){return this.enabled};GM.prototype.isPaused=function(){return this.paused};
var HM=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(ad(b),ad(d)));vqc(a);return function(){var g=new Set(d.map(function(r){return r.onPress})),h,m=(null!=(h=a.hotkeyGroups.get(c))?h:[]).filter(function(r){return!g.has(r.onPress)});m.length?a.hotkeyGroups.set(c,m):a.hotkeyGroups.delete(c);vqc(a)}},uqc=function(a){var b=[].concat(ad(a.rawHotkeysService.hotkeys));b=k(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},vqc=function(a){uqc(a);for(var b=k(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=wqc(a,c.value);c=k(c);for(var d=c.next(),e={};!d.done;e={$jscomp$loop$prop$binding$m1324499643$1:e.$jscomp$loop$prop$binding$m1324499643$1},d=c.next())e.$jscomp$loop$prop$binding$m1324499643$1=d.value,d=new nqc(bGa(e.$jscomp$loop$prop$binding$m1324499643$1.key),function(g){return function(h){a.ngZone.run(function(){g.$jscomp$loop$prop$binding$m1324499643$1.command()});h.stopPropagation();
return!1}}(e),e.$jscomp$loop$prop$binding$m1324499643$1.allowIn),a.rawHotkeysService.add(d)}},tqc=function(a){return[].concat(ad(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===b.style.position}).some(function(b){return b.contains(a)})},wqc=function(a,b){var c=[];b=k(b);for(var d=b.next(),e={};!d.done;e={$jscomp$loop$prop$hotkeySpec$m1324499643$3:e.$jscomp$loop$prop$hotkeySpec$m1324499643$3},d=b.next()){e.$jscomp$loop$prop$hotkeySpec$m1324499643$3=d.value;
d=k(e.$jscomp$loop$prop$hotkeySpec$m1324499643$3.keys.entries());for(var g=d.next(),h={};!g.done;h={$jscomp$loop$prop$index$m1324499643$5:h.$jscomp$loop$prop$index$m1324499643$5},g=d.next()){var m=k(g.value);g=m.next().value;m=m.next().value;h.$jscomp$loop$prop$index$m1324499643$5=g;c.push(new xqc(m,function(r,v){return function(){a.ngZone.run(function(){r.$jscomp$loop$prop$hotkeySpec$m1324499643$3.onPress(v.$jscomp$loop$prop$index$m1324499643$5)})}}(e,h),e.$jscomp$loop$prop$hotkeySpec$m1324499643$3.allowIn))}}zaa(c,
function(r,v){return r.strokeLength>v.strokeLength?-1:r.strokeLength<v.strokeLength?1:0});return c};GM.prototype.pause=function(){this.paused=!0};GM.prototype.unpause=function(){this.paused=!1};var yqc=function(a){return[].concat(ad(a.hotkeyGroups.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:Cl(c,cGa)}})};GM.\u0275fac=function(a){return new (a||GM)(u(SH),u(qJ),u(BM),u(ef))};GM.\u0275prov=wc({token:GM,factory:GM.\u0275fac,providedIn:"root"});
var xqc=function(a,b,c){c=void 0===c?[]:c;this.key=a;this.command=b;this.allowIn=c;a instanceof Array&&(this.strokeLength=a.length);this.strokeLength=1};var IM=function(a,b){GE.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new pw;this.hasHotkey=!0};U(IM,GE);IM.prototype.ngOnChanges=function(a){if("matTooltip"in a&&this.tooltip&&this.hotkeyEnabled){var b;a=null!=(b=this.hotkey.displayAs)?b:this.hotkey.keys.join("+");this.tooltip.message=this.matTooltip+" (Shortcut: "+a+")"}};
IM.prototype.ngOnInit=function(){var a=this;this.hotkeyEnabled&&this.subscriptions.add(HM(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};IM.\u0275fac=function(a){return new (a||IM)(C(GM),C(tC,8))};
IM.\u0275dir=Qc({type:IM,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&yf("has-hotkey",b.hasHotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[lf,ed]});var zqc={category:"Edit Issue Page",keys:[Un("r")],displayAs:"Shift+r",description:"Refresh"},Aqc={category:"Issue List",keys:["u",Un("r")],displayAs:"u / Shift+r",description:"Refresh search results"},JM={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[Un("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:{category:"Edit Issue Page",
keys:[Vn("p","0"),Vn("p","1"),Vn("p","2"),Vn("p","3"),Vn("p","4")],displayAs:"p <n>",description:"Mark issue as priority [0-4]"},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"],displayAs:"i",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"},REFRESH_ISSUE:zqc,REFRESH_ISSUE_LIST:Aqc,TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};var KM=function(){};KM.\u0275fac=function(a){return new (a||KM)};KM.\u0275mod=Oc({type:KM});KM.\u0275inj=xc({});var LM=function(){this.relayOnly=!1;this.keydown$=new E.Subject};LM.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};wh.Object.defineProperties(LM.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});LM.\u0275fac=function(a){return new (a||LM)};
LM.\u0275dir=Qc({type:LM,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeydown(c)});a&2&&pf("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var Bqc=0,MM=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+Bqc;this.closePanel$=new E.ReplaySubject(1);Bqc++};MM.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};MM.\u0275fac=function(a){return new (a||MM)(C(LM,8))};
MM.\u0275cmp=Mc({type:MM,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&cg(Zf,7);if(a&2){var c;bg(c=eg())&&(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&&(Gf(),P(0,dGa,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 NM=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 pw;this.closed=new pw;this.isOpen=!1;this.destroyed$=new E.ReplaySubject(1);this.closingActionsSubscription=E.Subscription.EMPTY};NM.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
NM.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new Xx(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=Cqc(this).pipe(bf(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
NM.prototype.close=function(){if(this.isOpen){this.isOpen=!1;var a;if(null==(a=this.overlayRef)?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()}};
NM.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 Cqc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,E.merge)(b,c,d):(0,E.merge)(c,d)};
NM.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
NM.prototype.getPositionStrategy=function(){return Cz(Dz(Ez(Gz(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"}])};NM.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
wh.Object.defineProperties(NM.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});NM.\u0275fac=function(a){return new (a||NM)(C(Hz),C(Bd),C($f),C(cz),C(Hw))};
NM.\u0275dir=Qc({type:NM,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&pf("aria-disabled",b.disabled)("aria-expanded",b.isOpen||null)("aria-controls",b.isOpen?b.popupPanel.id:null)},inputs:{onedevPopupPanelTriggerFor:"onedevPopupPanelTriggerFor",disabled:["onedevPopupPanelTriggerDisabled","disabled"],closeOnBackdropClick:["onedevPopupPanelTriggerCloseOnBackdropClick","closeOnBackdropClick"]},outputs:{opened:"onedevPopupPanelTriggerOpened",
closed:"onedevPopupPanelTriggerClosed"},exportAs:["onedevPopupPanelTrigger"],standalone:!0});var OM=function(){};OM.\u0275fac=function(a){return new (a||OM)};OM.\u0275mod=Oc({type:OM});OM.\u0275inj=xc({imports:[bx,Kz,cy,QC,uD,Zy,iK]});var Dqc=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)};Dqc.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};
Dqc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var PM=function(a){this._document=a};PM.prototype.copy=function(a){a=new Dqc(a,this._document);var b=a.copy();a.destroy();return b};PM.\u0275fac=function(a){return new (a||PM)(u(uh))};PM.\u0275prov=wc({token:PM,factory:PM.\u0275fac,providedIn:"root"});new Zc("CDK_COPY_TO_CLIPBOARD_CONFIG");var QM=function(a,b,c,d){GE.call(this);this.activeSession=a;this.currentTracker=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=JM};U(QM,GE);QM.\u0275dir=GE.\u0275dir;var Wn=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};QM.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};
QM.prototype.getAppBaseUrl=function(a){return fL(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};QM.\u0275fac=function(a){return new (a||QM)(C(bt),C(eL),C(PM),C(lG))};
QM.\u0275cmp=Mc({type:QM,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&cg(NM,5);if(a&2){var c;bg(c=eg())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[lf],decls:4,vars:6,consts:[["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,"onedevPopupPanelTriggerFor","hotkey","hotkeyEnabled","onHotkey","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed","click"],["trigger","onedevPopupPanelTrigger"],["svgIcon","arrow-dropdown",1,"icon-xs"],["role","region"],["contentPanel","onedevPopupPanel"],
["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,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueIdField",""],["class","muted shortcut",4,"ngIf"],["mat-icon-button","","tabindex","-1","aria-label","Copy ID","matTooltip","Copy ID",1,"gmat-button","copy",
3,"hotkey","hotkeyEnabled","onHotkey","click"],["svgIcon","copy",1,"icon-s"],["class","id-details-row",4,"ngIf"],["type","text","readonly","","id","id-details-issue-url-field",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueUrlField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy URL","matTooltip","Copy URL",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"],["type","text","readonly","","id","id-details-url-and-title-field",1,"value",3,"hotkey","hotkeyEnabled",
"onHotkey","focus"],["urlAndTitleField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy text","matTooltip","Copy text",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"],[1,"muted","shortcut"],["type","text","readonly","","id","id-details-issue-shortlink-field",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueShortlinkField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy shortlink","matTooltip","Copy shortlink",1,"gmat-button","copy",3,
"hotkey","hotkeyEnabled","onHotkey","click"],["type","text","readonly","","id","id-details-issue-email-field","matTooltip","Email this address to add comments to this issue",1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["issueEmailField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy email","matTooltip","Copy email",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"],["type","text","readonly","","id","id-details-todo-comment-field","matTooltip","TODO comment for code",
1,"value",3,"hotkey","hotkeyEnabled","onHotkey","focus"],["todoCommentField",""],["mat-icon-button","","tabindex","-1","aria-label","Copy comment","matTooltip","Copy comment",1,"gmat-button","copy",3,"hotkey","hotkeyEnabled","onHotkey","click"]],template:function(a,b){a&1&&(H(0,"button",0),M("click",function(){b.clipboard.copy(b.issueId);mG(b.butterBar,"Issue ID copied",2E3)}),R(1),P(2,eGa,1,0,"mat-icon",1),I(),P(3,qGa,7,5,"ng-container",2));a&2&&(yf("square-right",b.showCopyOptions),pf("aria-label",
"Copy issue number "+b.issueId),B(1),Mf(" ",b.issueId," "),B(1),F("ngIf",!b.showCopyOptions),B(1),F("ngIf",b.showCopyOptions))},dependencies:[Px,Ow,bB,IM,qA,tC,MM,NM],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{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   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{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{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 RM=function(){};RM.prototype.ngOnInit=function(){};RM.prototype.onClick=function(a){a.stopPropagation()};RM.\u0275fac=function(a){return new (a||RM)};
RM.\u0275cmp=Mc({type:RM,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&&(H(0,"b-async-data-placeholder",0),P(1,rGa,1,2,"b-issue-id-picker",1),I());a&2&&(F("isReady",!!b.id),B(1),F("ngIf",b.id))},dependencies:[WK,Ow,QM],encapsulation:2,changeDetection:0});var SM=function(){this.priority=this.issue=null;this.isDataLoaded=!1};SM.prototype.ngOnChanges=function(){var a,b;this.priority=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.priority)||null;this.isDataLoaded=null!==this.issue};SM.\u0275fac=function(a){return new (a||SM)};
SM.\u0275cmp=Mc({type:SM,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[ed],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],["noData",""],[3,"issuePriority"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),P(1,sGa,2,1,"ng-container",1),P(2,tGa,1,0,"ng-template",null,2,hg),I());if(a&2){var c=Lf(3);F("isReady",b.isDataLoaded);B(1);F("ngIf",b.priority)("ngIfElse",c)}},dependencies:[WK,Ow,SI],encapsulation:2,changeDetection:0});var TM=function(a){this.internalArray_=l(a,0,TM.messageId)};U(TM,q);f=TM.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return uk(this,1,a)};f.hasName=function(){return Jk(this,1)};f.getNameOrUndefined=function(){return Tt(this,1)};f.toObject=function(){if(null!=this){t(this);var a={name:n(X(this,1)),duplicateAssistanceEnabled:n(Ur(this,2)),assistiveSettingsUiEnabled:n(Ur(this,3)),optOutDataCollection:n(Ur(this,4))}}else a=void 0;return a};TM.messageId="b.ComponentRecommendationSettings";var Yn=function(a){this.internalArray_=l(a,0,Yn.messageId)};U(Yn,q);Yn.prototype.getType=function(){return aj(this,2,0)};Yn.prototype.setType=function(a){return cj(this,2,a)};Yn.prototype.hasType=function(){return tj(this,2)};Yn.prototype.toObject=function(){return Eqc(this)};var Eqc=function(a){if(null!=a)return t(a),{type:n(p(a,2)),rejectionReason:n(p(a,3))}};Yn.messageId="b.UserEngagement";var Xn=function(a){this.internalArray_=l(a,0,Xn.messageId)};U(Xn,q);Xn.prototype.getParent=function(){return V(this,1)};Xn.prototype.setParent=function(a){return uk(this,1,a)};Xn.prototype.toObject=function(){return Fqc(this)};var Fqc=function(a){if(null!=a)return t(a),{parent:n(X(a,1)),userEngagement:Eqc(W(a,Yn,2))}};Xn.messageId="b.BatchCreateUserEngagementsRequest";var Gqc=function(a){this.internalArray_=l(a,0,Gqc.messageId)};U(Gqc,q);f=Gqc.prototype;f.getResource=function(){return V(this,1)};f.setResource=function(a){return uk(this,1,a)};f.getType=function(){return aj(this,2,0)};f.setType=function(a){return cj(this,2,a)};f.hasType=function(){return tj(this,2)};f.setPageSize=function(a){return dj(this,4,a)};f.setPageToken=function(a){return uk(this,5,a)};
f.toObject=function(){if(null!=this){t(this);var a={resource:n(X(this,1)),type:n(p(this,2)),minConfidence:n(p(this,3)),pageSize:n(Ft(this,4)),pageToken:n(X(this,5)),view:n(p(this,6))}}else a=void 0;return a};Gqc.messageId="b.LookupRecommendationsRequest";var Zn=function(a){this.internalArray_=l(a)};U(Zn,q);f=Zn.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return uk(this,1,a)};f.hasName=function(){return Jk(this,1)};f.getNameOrUndefined=function(){return Tt(this,1)};f.getSource=function(){return V(this,2)};f.setSource=function(a){return uk(this,2,a)};f.hasSource=function(){return Jk(this,2)};f.getSourceOrUndefined=function(){return Tt(this,2)};f.getResource=function(){return V(this,3)};
f.setResource=function(a){return uk(this,3,a)};f.getType=function(){return aj(this,4,0)};f.setType=function(a){return cj(this,4,a)};f.hasType=function(){return tj(this,4)};f.getScore=function(){return vj(this,6)};f.setScore=function(a){cj(this,6,Va(a))};f.getConfidence=function(){return aj(this,7,0)};var yGa=[9];Zn.prototype.toObject=function(){return Hqc(this)};
var Hqc=function(a){if(null!=a)return t(a),{name:n(X(a,1)),source:n(X(a,2)),resource:n(X(a,3)),type:n(p(a,4)),recommendation:n(X(a,5)),score:n(Qo(a,6)),confidence:n(p(a,7)),createTime:mu(W(a,Rh,8)),recommendedIssue:sE(fk(a,Hj,9,yGa))}};var UM=function(a){this.internalArray_=l(a,0,UM.messageId)};U(UM,q);UM.prototype.getRequestsList=function(){return oj(this,Xn,1)};UM.prototype.setRequestsList=function(a){return rj(this,1,a)};UM.prototype.addAndReturnRequests=function(){return Hb(this,1,Xn)};UM.repeatedFields_=[1];UM.prototype.toObject=function(){if(null!=this){t(this);var a={requestsList:Ub(this.getRequestsList(),Fqc)}}else a=void 0;return a};UM.messageId="b.BatchCreateUserEngagementsRequest";var VM=function(a){this.internalArray_=l(a,0,VM.messageId)};U(VM,q);VM.prototype.getNextPageToken=function(){return V(this,2)};VM.prototype.getTotalSize=function(){return uj(this,3)};VM.repeatedFields_=[1];VM.prototype.toObject=function(){if(null!=this){t(this);var a={recommendationsList:Ub(oj(this,Zn,1),Hqc),nextPageToken:n(X(this,2)),totalSize:n(p(this,3))}}else a=void 0;return a};VM.messageId="b.LookupRecommendationsResponse";var WM=function(a){this.executor=a},Iqc=function(a,b){var c=(new Gqc).setResource(b.resource).setType(Eac[b.type]).setPageSize(b.pageSize).setPageToken(b.pageToken);c=cj(c,6,Fac[b.view]);void 0!==b.minConfidence&&cj(c,3,oac[b.minConfidence]);return a.executor.post({url:"action/recommendations/lookup",body:c,responseConstructor:VM}).pipe(D(CGa))},Jqc=function(a,b){a=a.executor;var c=a.put,d="action/components/"+b.componentId+"/recommendationSettings";var e=(new TM).setName("components/"+b.componentId+
"/recommendationSettings");e=Xj(e,2,b.duplicateAssistanceEnabled);e=Xj(e,4,b.optedOutFromDataCollection);b=Xj(e,3,b.showSettings);return c.call(a,{url:d,body:b,responseConstructor:TM}).pipe(D(uGa))};WM.\u0275fac=function(a){return new (a||WM)(u(wD))};WM.\u0275prov=wc({token:WM,factory:WM.\u0275fac,providedIn:"root"});var XM=function(a){BF.call(this);this.recommendationsService=a;this.recordType="issueRecommendations";this.idForRecord=function(b){return b.issueId+"-"+b.recommendationType};this.isEqual=Yh};U(XM,BF);XM.prototype.fetchOne=function(a){a=Kqc(a);var b=a.issueId,c=a.recommendationType;return Iqc(this.recommendationsService,{resource:"issues/"+b,type:c,minConfidence:"MEDIUM",pageSize:5,view:"FULL"}).pipe(D(function(d){return{issueId:b,recommendationType:c,recommendations:d.recommendations}}),Ie(function(){return(0,E.of)(void 0)}))};
XM.prototype.copy=function(a){return a&&Zh(a)};var Kqc=function(a){var b=k(a.split("-"));a=b.next().value;b=b.next().value;return{issueId:a,recommendationType:b}};XM.\u0275fac=function(a){return new (a||XM)(u(WM))};XM.\u0275prov=wc({token:XM,factory:XM.\u0275fac,providedIn:"root"});new Promise(function(){});var YM=function(a,b){this.checker=a;this.document=b};YM.prototype.focusFirstFocusableElement=function(a){(a=Lqc(this,a,!0))&&a.focus()};var Lqc=function(a,b,c){if((void 0===c||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?Lqc(a,b[c]):null;if(d)return d}return null};YM.\u0275fac=function(a){return new (a||YM)(u(Mx),u(uh))};YM.\u0275prov=wc({token:YM,factory:YM.\u0275fac,providedIn:"root"});var ZM=function(a,b){this.elementRef=a;this.interactivityHelper=b};ZM.prototype.ngOnInit=function(){};ZM.prototype.focus=function(){this.interactivityHelper.focusFirstFocusableElement(this.elementRef.nativeElement)};wh.Object.defineProperties(ZM.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});ZM.\u0275fac=function(a){return new (a||ZM)(C(Bd),C(YM))};ZM.\u0275dir=Qc({type:ZM,selectors:[["tr","row",""]],inputs:{row:"row"}});var $M=function(){};$M.\u0275fac=function(a){return new (a||$M)};$M.\u0275mod=Oc({type:$M});$M.\u0275inj=xc({});var Mqc=function(a,b){kz.call(this,a);this.directives=a;this.isEqual=b};U(Mqc,kz);var co=function(a,b){var c;return ne(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.directives.changes.pipe($e(a.directives.toArray()),D(function(e){return e.find(function(g){return a.isEqual(g.row,b)})}),De(Boolean),Fe(3E3))),2);c=d.yieldResult;iz(a,c);se(d)})};var Nqc=new Zc("GMAT_LEGACY_TABS_OPTION");var Oqc=new Zc("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var Pqc=Wg("translateTab",[$g("center, void, left-origin-center, right-origin-center",Zg({transform:"none"})),$g("left",Zg({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),$g("right",Zg({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ah("* => left, * => right, left => center, right => center",Yg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),ah("void => left-origin-center",[Zg({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
Yg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),ah("void => right-origin-center",[Zg({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Yg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var Qqc=function(a){return{animationDuration:a}},Rqc=function(a,b){return{value:a,params:b}},aN=function(a,b,c,d){by.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=E.Subscription.EMPTY};U(aN,by);
aN.prototype.ngOnInit=function(){var a=this;by.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe($e(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()})};aN.prototype.ngOnDestroy=function(){by.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
aN.\u0275fac=function(a){return new (a||aN)(C(Mv),C($f),C(Cc(function(){return bN})),C(uh))};aN.\u0275dir=Qc({type:aN,selectors:[["","matTabBodyHost",""]],features:[lf]});
var cN=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=E.Subscription.EMPTY;this._translateTabComplete=new E.Subject;this._onCentering=new pw;this._beforeCentering=new pw;this._afterLeavingCenter=new pw;this._onCentered=new pw(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(Ne(function(e,g){return e.fromState===
g.fromState&&e.toState===g.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()})};f=cN.prototype;f.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))};f.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();this._translateTabComplete.complete()};
f._onTranslateTabStarted=function(a){a=this._isCenterPosition(a.toState);this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};f._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};f._isCenterPosition=function(a){return"center"==a||"left-origin-center"==a||"right-origin-center"==a};
f._computePositionAnimationState=function(a){a=void 0===a?this._getLayoutDirection():a;this._position=0>this._positionIndex?"ltr"==a?"left":"right":0<this._positionIndex?"ltr"==a?"right":"left":"center"};f._computePositionFromOrigin=function(a){var b=this._getLayoutDirection();return"ltr"==b&&0>=a||"rtl"==b&&0<a?"left-origin-center":"right-origin-center"};wh.Object.defineProperties(cN.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
cN.\u0275fac=function(a){return new (a||cN)(C(Bd),C(lz,8),C(Hw))};cN.\u0275dir=Qc({type:cN,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});var bN=function(a,b,c){cN.call(this,a,b,c)};U(bN,cN);bN.\u0275dir=cN.\u0275dir;
bN.\u0275fac=function(a){return new (a||bN)(C(Bd),C(lz,8),C(Hw))};
bN.\u0275cmp=Mc({type:bN,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&cg(by,5);if(a&2){var c;bg(c=eg())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[lf],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(H(0,"div",0,1),M("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),P(2,EGa,
0,0,"ng-template",2),I());a&2&&F("@translateTab",Tf(3,Rqc,b._position,Sf(1,Qqc,b.animationDuration)))},dependencies:[aN],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:[Pqc]}});var Sqc=new Zc("MatTabContent"),dN=function(a){this.template=a};dN.\u0275fac=function(a){return new (a||dN)(C(Zf))};dN.\u0275dir=Qc({type:dN,selectors:[["","matTabContent",""]],features:[Pf([{provide:Sqc,useExisting:dN}])]});var Tqc=new Zc("MAT_TABS_CONFIG");var Uqc=Bg({passive:!0}),eN=function(a,b,c,d,e,g,h){var m=this;this._elementRef=a;this._changeDetectorRef=b;this._viewportRuler=c;this._dir=d;this._ngZone=e;this._platform=g;this._animationMode=h;this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new E.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new E.Subject;this._disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new pw;this.indexFocused=new pw;
e.runOutsideAngular(function(){(0,E.fromEvent)(a.nativeElement,"mouseleave").pipe(bf(m._destroyed)).subscribe(function(){m._stopInterval()})})};f=eN.prototype;f.ngAfterViewInit=function(){var a=this;(0,E.fromEvent)(this._previousPaginator.nativeElement,"touchstart",Uqc).pipe(bf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,E.fromEvent)(this._nextPaginator.nativeElement,"touchstart",Uqc).pipe(bf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
f.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,E.of)("ltr"),c=this._viewportRuler.change(150),d=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=h_b(ez(hz(gz(new kz(this._items),this._getLayoutDirection()))),function(){return!1});iz(this._keyManager,this._selectedIndex);this._ngZone.onStable.pipe(Oe()).subscribe(d);(0,E.merge)(b,c,this._items.changes,this._itemsResized()).pipe(bf(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=
Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));d()})});gz(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(e){a.indexFocused.emit(e);a._setTabFocus(e)})};
f._itemsResized=function(){var a=this;return"function"!==typeof ResizeObserver?E.EMPTY:this._items.changes.pipe($e(this._items),af(function(b){return new E.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()}})})}),Ze(1),De(function(b){return b.some(function(c){return 0<c.contentRect.width&&0<c.contentRect.height})}))};
f.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())};
f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};f._handleKeydown=function(a){if(!Kg(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)}};
f._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()}))};f.updatePagination=function(){this._checkPaginationEnabled();this._checkScrollingControls();this._updateTabScrollPosition()};f._isValidIndex=function(a){return this._items?!!this._items.toArray()[a]:!0};
f._setTabFocus=function(a){this._showPaginationControls&&this._scrollToLabel(a);this._items&&this._items.length&&(this._items.toArray()[a].focus(),a=this._tabListContainer.nativeElement,a.scrollLeft="ltr"==this._getLayoutDirection()?0:a.scrollWidth-a.offsetWidth)};f._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};
f._updateTabScrollPosition=function(){if(!this.disablePagination){var a=this.scrollDistance;this._tabList.nativeElement.style.transform="translateX("+Math.round("ltr"===this._getLayoutDirection()?-a:a)+"px)";if(this._platform.TRIDENT||this._platform.EDGE)this._tabListContainer.nativeElement.scrollLeft=0}};f._scrollHeader=function(a){return this._scrollTo(this._scrollDistance+("before"==a?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)};
f._handlePaginatorClick=function(a){this._stopInterval();this._scrollHeader(a)};
f._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;"ltr"==this._getLayoutDirection()?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))}}};
f._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var a=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;a||(this.scrollDistance=0);a!==this._showPaginationControls&&this._changeDetectorRef.markForCheck();this._showPaginationControls=a}};
f._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())};f._getMaxScrollDistance=function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0};
f._alignInkBarToSelectedTab=function(){var a=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null;(a=a?a.elementRef.nativeElement:null)?Vqc(this._inkBar,a):this._inkBar.hide()};f._stopInterval=function(){this._stopScrolling.next()};
f._handlePaginatorPress=function(a,b){var c=this;b&&null!=b.button&&0!==b.button||(this._stopInterval(),(0,E.timer)(650,100).pipe(bf((0,E.merge)(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(0===d||d>=e)&&c._stopInterval()}))};
f._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}};
wh.Object.defineProperties(eN.prototype,{disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Gg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Jg(a);this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&iz(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)}}});eN.\u0275fac=function(a){return new (a||eN)(C(Bd),C(Hw),C(vz),C(lz,8),C(ef),C(Lx),C(Ov,8))};eN.\u0275dir=Qc({type:eN,inputs:{disablePagination:"disablePagination"}});var Wqc=zh(function(){}),fN=function(a){var b=Wqc.call(this)||this;b.elementRef=a;return b};U(fN,Wqc);fN.prototype.focus=function(){this.elementRef.nativeElement.focus()};fN.\u0275fac=function(a){return new (a||fN)(C(Bd))};fN.\u0275dir=Qc({type:fN,features:[lf]});DGa(fN);var gN=function(a,b,c,d,e,g,h){eN.call(this,a,b,c,d,e,g,h);this._disableRipple=!1};U(gN,eN);gN.prototype._itemSelected=function(a){a.preventDefault()};wh.Object.defineProperties(gN.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Gg(a)}}});gN.\u0275fac=function(a){return new (a||gN)(C(Bd),C(Hw),C(vz),C(lz,8),C(ef),C(Lx),C(Ov,8))};gN.\u0275dir=Qc({type:gN,inputs:{disableRipple:"disableRipple"},features:[lf]});var Xqc=new Zc("MatTabLabel"),Yqc=new Zc("MAT_TAB"),hN=function(a,b,c){Xx.call(this,a,b);this._closestTab=c};U(hN,ay);hN.\u0275fac=function(a){return new (a||hN)(C(Zf),C($f),C(Yqc,8))};hN.\u0275dir=Qc({type:hN,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Pf([{provide:Xqc,useExisting:hN}]),lf]});var Zqc=zh(function(){}),$qc=new Zc("MAT_TAB_GROUP"),iN=function(a,b){var c=Zqc.call(this)||this;c._viewContainerRef=a;c._closestTabGroup=b;c.textLabel="";c._contentPortal=null;c._stateChanges=new E.Subject;c.position=null;c.origin=null;c.isActive=!1;return c};U(iN,Zqc);iN.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};iN.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
iN.prototype.ngOnInit=function(){this._contentPortal=new Xx(this._explicitContent||this._implicitContent,this._viewContainerRef)};iN.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};wh.Object.defineProperties(iN.prototype,{content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});iN.\u0275fac=function(a){return new (a||iN)(C($f),C($qc,8))};
iN.\u0275dir=Qc({type:iN,viewQuery:function(a,b){a&1&&cg(Zf,7);if(a&2){var c;bg(c=eg())&&(b._implicitContent=c.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[lf,ed]});var arc=0,brc=xh(yh(function(a){this._elementRef=a}),"primary"),jN=function(a,b,c,d){a=brc.call(this,a)||this;a._changeDetectorRef=b;a._animationMode=d;a._tabs=new fg;a._indexToSelect=0;a._lastFocusedTabIndex=null;a._tabBodyWrapperHeight=0;a._tabsSubscription=E.Subscription.EMPTY;a._tabLabelSubscription=E.Subscription.EMPTY;a._dynamicHeight=!1;a._selectedIndex=null;a.headerPosition="above";a._disablePagination=!1;a._preserveContent=!1;a.selectedIndexChange=new pw;a.focusChange=new pw;a.animationDone=
new pw;a.selectedTabChange=new pw(!0);a._groupId=arc++;a.animationDuration=c&&c.animationDuration?c.animationDuration:"500ms";a.disablePagination=c&&null!=c.disablePagination?c.disablePagination:!1;a.dynamicHeight=c&&null!=c.dynamicHeight?c.dynamicHeight:!1;var e;a.contentTabIndex=null!=(e=null==c?void 0:c.contentTabIndex)?e:null;a.preserveContent=!(null==c||!c.preserveContent);return a};U(jN,brc);f=jN.prototype;
f.ngAfterContentChecked=function(){var a=this,b=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=b){var c=null==this._selectedIndex;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,g){return e.isActive=g===b});c||(a.selectedIndexChange.emit(b),a._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(e,
g){e.position=g-b;null==a._selectedIndex||0!=e.position||e.origin||(e.origin=b-a._selectedIndex)});this._selectedIndex!==b&&(this._selectedIndex=b,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())};
f.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()})};
f._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe($e(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));ag(a._tabs)})};f.ngOnDestroy=function(){this._tabs.destroy();this._tabsSubscription.unsubscribe();this._tabLabelSubscription.unsubscribe()};f.updatePagination=function(){this._tabHeader&&this._tabHeader.updatePagination()};f._focusChanged=function(a){this._lastFocusedTabIndex=a;this.focusChange.emit(this._createChangeEvent(a))};
f._createChangeEvent=function(a){var b=new crc;b.index=a;this._tabs&&this._tabs.length&&(b.tab=this._tabs.toArray()[a]);return b};f._subscribeToTabLabels=function(){var a=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe();this._tabLabelSubscription=E.merge.apply(null,ad(this._tabs.map(function(b){return b._stateChanges}))).subscribe(function(){return a._changeDetectorRef.markForCheck()})};f._clampTabIndex=function(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))};
f._getTabLabelId=function(a){return"mat-tab-label-"+this._groupId+"-"+a};f._getTabContentId=function(a){return"mat-tab-content-"+this._groupId+"-"+a};f._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")}};
f._removeTabBodyWrapperHeight=function(){var a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight;a.style.height="";this.animationDone.emit()};f._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};f._getTabIndex=function(a){var b,c=null!=(b=this._lastFocusedTabIndex)?b:this.selectedIndex;return a===c?0:-1};f._tabFocusChanged=function(a,b){a&&"mouse"!==a&&"touch"!==a&&(this._tabHeader.focusIndex=b)};
wh.Object.defineProperties(jN.prototype,{dynamicHeight:{configurable:!0,enumerable:!0,get:function(){return this._dynamicHeight},set:function(a){this._dynamicHeight=Gg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=Jg(a,null)}},animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a+"")?a+"ms":a}},contentTabIndex:{configurable:!0,
enumerable:!0,get:function(){return this._contentTabIndex},set:function(a){this._contentTabIndex=Jg(a,null)}},disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Gg(a)}},preserveContent:{configurable:!0,enumerable:!0,get:function(){return this._preserveContent},set:function(a){this._preserveContent=Gg(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}}});jN.\u0275fac=function(a){return new (a||jN)(C(Bd),C(Hw),C(Tqc,8),C(Ov,8))};
jN.\u0275dir=Qc({type:jN,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[lf]});var crc=function(){};var drc=0,kN=function(a,b,c,d,e,g,h){eN.call(this,a,d,e,b,c,g,h);this._disableRipple=!1;this.color="primary"};U(kN,eN);kN.prototype._itemSelected=function(){};kN.prototype.ngAfterContentInit=function(){var a=this;this._items.changes.pipe($e(null),bf(this._destroyed)).subscribe(function(){erc(a)});eN.prototype.ngAfterContentInit.call(this)};
var erc=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()}};kN.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
wh.Object.defineProperties(kN.prototype,{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}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Gg(a)}}});
kN.\u0275fac=function(a){return new (a||kN)(C(Bd),C(lz,8),C(ef),C(Hw),C(vz),C(Lx),C(Ov,8))};kN.\u0275dir=Qc({type:kN,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[lf]});
var frc=Ah(yh(zh(function(){}))),lN=function(a,b,c,d,e,g){var h=frc.call(this)||this;h._tabNavBar=a;h.elementRef=b;h._focusMonitor=e;h._isActive=!1;h.id="mat-tab-link-"+drc++;h.rippleConfig=c||{};h.tabIndex=parseInt(d)||0;"NoopAnimations"===g&&(h.rippleConfig.animation={enterDuration:0,exitDuration:0});return h};U(lN,frc);f=lN.prototype;f.focus=function(){this.elementRef.nativeElement.focus()};f.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)};
f._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};f._handleKeydown=function(a){!this.disabled||32!==a.keyCode&&13!==a.keyCode?this._tabNavBar.tabPanel&&32===a.keyCode&&this.elementRef.nativeElement.click():a.preventDefault()};f._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?null==(a=this._tabNavBar.tabPanel)?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};
f._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};f._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};f._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};f._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex};
wh.Object.defineProperties(lN.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a=Gg(a);a!==this._isActive&&(this._isActive=a,erc(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});lN.\u0275fac=function(a){return new (a||lN)(C(kN),C(Bd),C(f0b,8),ud("tabindex"),C(Sx),C(Ov,8))};
lN.\u0275dir=Qc({type:lN,inputs:{active:"active",id:"id"},features:[lf]});DGa(lN);var mN=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._inkBarPositioner=c;this._animationMode=d},Vqc=function(a,b){a.show();a._ngZone.run(function(){a._ngZone.onStable.pipe(Oe()).subscribe(function(){var c=a._inkBarPositioner(b),d=a._elementRef.nativeElement;d.style.left=c.left;d.style.width=c.width})})};mN.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"};mN.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"};
mN.\u0275fac=function(a){return new (a||mN)(C(Bd),C(ef),C(Oqc),C(Ov,8))};mN.\u0275dir=Qc({type:mN,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,b){a&2&&yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)}});var grc=function(a){return{animationDuration:a}},hrc=function(a,b){return{value:a,params:b}},nN=function(a,b,c,d){aN.call(this,a,b,c,d)};U(nN,aN);nN.\u0275fac=function(a){return new (a||nN)(C(Mv),C($f),C(Cc(function(){return oN})),C(uh))};nN.\u0275dir=Qc({type:nN,selectors:[["","matTabBodyHost",""]],features:[lf]});var oN=function(a,b,c){cN.call(this,a,b,c)};U(oN,cN);oN.\u0275dir=cN.\u0275dir;oN.\u0275fac=function(a){return new (a||oN)(C(Bd),C(lz,8),C(Hw))};
oN.\u0275cmp=Mc({type:oN,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&cg(by,5);if(a&2){var c;bg(c=eg())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-tab-body"],features:[lf],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(H(0,"div",0,1),M("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),P(2,FGa,0,0,"ng-template",
2),I());a&2&&F("@translateTab",Tf(3,hrc,b._position,Sf(1,grc,b.animationDuration)))},dependencies:[nN],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[Pqc]}});var pN=function(){dN.apply(this,arguments)};U(pN,dN);pN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(pN)))(b||pN)}}();pN.\u0275dir=Qc({type:pN,selectors:[["","matTabContent",""]],features:[Pf([{provide:Sqc,useExisting:pN}]),lf]});var qN=function(){return fN.apply(this,arguments)||this};U(qN,fN);qN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(qN)))(b||qN)}}();qN.\u0275dir=Qc({type:qN,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(pf("aria-disabled",!!b.disabled),yf("mat-tab-disabled",b.disabled))},inputs:{disabled:"disabled"},features:[lf]});var irc=["tabListContainer"],jrc=["tabList"],krc=["tabListInner"],lrc=["nextPaginator"],mrc=["previousPaginator"],rN=function(a,b,c,d,e,g,h){gN.call(this,a,b,c,d,e,g,h)};U(rN,gN);rN.\u0275dir=gN.\u0275dir;rN.\u0275fac=function(a){return new (a||rN)(C(Bd),C(Hw),C(vz),C(lz,8),C(ef),C(Lx),C(Ov,8))};
rN.\u0275cmp=Mc({type:rN,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&dg(c,qN,4);if(a&2){var d;bg(d=eg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(cg(mN,7),cg(irc,7),cg(jrc,7),cg(krc,7),cg(lrc,5),cg(mrc,5));if(a&2){var c;bg(c=eg())&&(b._inkBar=c.first);bg(c=eg())&&(b._tabListContainer=c.first);bg(c=eg())&&(b._tabList=c.first);bg(c=eg())&&(b._tabListInner=c.first);bg(c=eg())&&(b._nextPaginator=c.first);bg(c=eg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-header"],
hostVars:4,hostBindings:function(a,b){a&2&&yf("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[lf],ngContentSelectors:["*"],decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",
3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown",
"click","touchend"],["nextPaginator",""]],template:function(a,b){a&1&&(Gf(),H(0,"button",0,1),M("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),J(2,"div",2),I(),H(3,"div",3,4),M("keydown",function(c){return b._handleKeydown(c)}),H(5,"div",5,6),M("cdkObserveContent",function(){return b._onContentChanges()}),H(7,"div",7,8),Hf(9),I(),J(10,"mat-ink-bar"),I()(),H(11,"button",
9,10),M("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),J(13,"div",2),I());a&2&&(yf("mat-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),B(5),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode),B(6),yf("mat-tab-header-pagination-disabled",b._disableScrollAfter),
F("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Sz,Wy,mN],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-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-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],
encapsulation:2});var sN=function(){var a=iN.apply(this,arguments)||this;a._explicitContent=void 0;return a};U(sN,iN);sN.\u0275dir=iN.\u0275dir;wh.Object.defineProperties(sN.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}}});sN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(sN)))(b||sN)}}();
sN.\u0275cmp=Mc({type:sN,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(dg(c,Xqc,5),dg(c,Sqc,7,Zf));if(a&2){var d;bg(d=eg())&&(b.templateLabel=d.first);bg(d=eg())&&(b._explicitContent=d.first)}},hostVars:1,hostBindings:function(a){a&2&&pf("mat-id-collision",null)},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Pf([{provide:Yqc,useExisting:sN}]),lf],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Gf(),P(0,GGa,1,0,"ng-template"))},encapsulation:2});var nrc=["tabBodyWrapper"],orc=["tabHeader"],tN=function(a,b,c,d){return jN.call(this,a,b,c,d)||this};U(tN,jN);tN.\u0275dir=jN.\u0275dir;tN.\u0275fac=function(a){return new (a||tN)(C(Bd),C(Hw),C(Tqc,8),C(Ov,8))};
tN.\u0275cmp=Mc({type:tN,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&dg(c,sN,5);if(a&2){var d;bg(d=eg())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(cg(nrc,5),cg(orc,5));if(a&2){var c;bg(c=eg())&&(b._tabBodyWrapper=c.first);bg(c=eg())&&(b._tabHeader=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(a,b){a&2&&yf("mat-tab-group-dynamic-height",b.dynamicHeight)("mat-tab-group-inverted-header","below"===b.headerPosition)},inputs:{color:"color",
disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[Pf([{provide:$qc,useExisting:tN}]),lf],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],
["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",
3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(a,b){a&1&&(H(0,"mat-tab-header",0,1),M("indexFocused",function(c){return b._focusChanged(c)})("selectFocusedIndex",function(c){return b.selectedIndex=c}),P(2,KGa,5,15,"div",2),I(),H(3,"div",3,4),P(5,LGa,1,11,"mat-tab-body",5),I());a&2&&(F("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),B(2),F("ngForOf",b._tabs),
B(1),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode),B(2),F("ngForOf",b._tabs))},dependencies:[Mw,Nw,Ow,by,Sz,Ux,qN,oN,rN],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],
encapsulation:2});var uN=function(){hN.apply(this,arguments)};U(uN,hN);uN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(uN)))(b||uN)}}();uN.\u0275dir=Qc({type:uN,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Pf([{provide:Xqc,useExisting:uN}]),lf]});var prc=["tabListContainer"],qrc=["tabList"],rrc=["tabListInner"],src=["nextPaginator"],trc=["previousPaginator"],vN=function(a,b,c,d,e,g,h){kN.call(this,a,b,c,d,e,g,h)};U(vN,kN);vN.\u0275dir=kN.\u0275dir;vN.\u0275fac=function(a){return new (a||vN)(C(Bd),C(lz,8),C(ef),C(Hw),C(vz),C(Lx),C(Ov,8))};
vN.\u0275cmp=Mc({type:vN,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&dg(c,wN,5);if(a&2){var d;bg(d=eg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(cg(mN,7),cg(prc,7),cg(qrc,7),cg(rrc,7),cg(src,5),cg(trc,5));if(a&2){var c;bg(c=eg())&&(b._inkBar=c.first);bg(c=eg())&&(b._tabListContainer=c.first);bg(c=eg())&&(b._tabList=c.first);bg(c=eg())&&(b._tabListInner=c.first);bg(c=eg())&&(b._nextPaginator=c.first);bg(c=eg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-nav-bar",
"mat-tab-header"],hostVars:11,hostBindings:function(a,b){a&2&&(pf("role",b._getRole()),yf("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())("mat-primary","warn"!==b.color&&"accent"!==b.color)("mat-accent","accent"===b.color)("mat-warn","warn"===b.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[lf],attrs:["mat-tab-nav-bar",""],ngContentSelectors:["*"],decls:14,vars:10,consts:[["aria-hidden","true",
"type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination",
"mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(a,b){a&1&&(Gf(),H(0,"button",0,1),M("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),J(2,"div",2),I(),H(3,"div",3,4),M("keydown",function(c){return b._handleKeydown(c)}),H(5,"div",5,6),M("cdkObserveContent",function(){return b._onContentChanges()}),
H(7,"div",7,8),Hf(9),I(),J(10,"mat-ink-bar"),I()(),H(11,"button",9,10),M("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),J(13,"div",2),I());a&2&&(yf("mat-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),B(5),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode),
B(6),yf("mat-tab-header-pagination-disabled",b._disableScrollAfter),F("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Sz,Wy,mN],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-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-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],
encapsulation:2});var wN=function(a,b,c,d,e,g,h,m){a=lN.call(this,a,b,e,g,h,m)||this;a._tabLinkRipple=new b0b(a,c,b,d);e0b(a._tabLinkRipple,b.nativeElement);return a};U(wN,lN);wN.prototype.ngOnDestroy=function(){lN.prototype.ngOnDestroy.call(this);this._tabLinkRipple._removeTriggerEvents()};wN.\u0275fac=function(a){return new (a||wN)(C(vN),C(Bd),C(ef),C(Lx),C(f0b,8),ud("tabindex"),C(Sx),C(Ov,8))};
wN.\u0275dir=Qc({type:wN,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(pf("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()),yf("mat-tab-disabled",
b.disabled)("mat-tab-label-active",b.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[lf]});var xN=function(){};xN.\u0275fac=function(a){return new (a||xN)};xN.\u0275mod=Oc({type:xN});xN.\u0275inj=xc({imports:[bx,Lz,cy,Vz,Xy,Zy,Lz]});var yN=function(a){this.inkBarPositioner=a};yN.prototype.isEnabled=function(){return this.inkBarPositioner===MGa};yN.\u0275fac=function(a){return new (a||yN)(C(Oqc))};yN.\u0275dir=Qc({type:yN,selectors:[["","gmat-tabs",""],["mat-tab-group"],["","mat-tab-nav-bar",""]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-tabs",b.isEnabled())},features:[Pf([{provide:Oqc,useFactory:function(a,b,c){return a.nativeElement.hasAttribute("gmat-tabs")||c&&c.enabled?MGa:b},deps:[Bd,[new Kv,Oqc],[new Jv,Nqc]]}])]});var zN=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};wh.Object.defineProperties(zN.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(NGa(a));if(void 0!==this.context)for(var c=k(NGa(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=k(b);for(d=c.next();!d.done;d=c.next())d=d.value,this.context[d]=a[d];this.context.$implicit=a;this.context.xapLet=a}}});
zN.\u0275fac=function(a){return new (a||zN)(C(Zf),C($f))};zN.\u0275dir=Qc({type:zN,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var AN=function(){};AN.\u0275fac=function(a){return new (a||AN)};AN.\u0275mod=Oc({type:AN});AN.\u0275inj=xc({});var urc=["input"],vrc=0,wrc=function(a,b){this.source=a;this.value=b},xrc=new Zc("MatRadioGroup"),yrc=new Zc("mat-radio-default-options",{providedIn:"root",factory:OGa}),BN=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+vrc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=function(){};this.change=new pw};f=BN.prototype;
f._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)};f.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)})};f.ngOnDestroy=function(){var a;null==(a=this._buttonChanges)||a.unsubscribe()};f._touch=function(){if(this.onTouched)this.onTouched()};
f._updateRadioButtonNames=function(){var a=this;this._radios&&this._radios.forEach(function(b){b.name=a.name;b._markForCheck()})};f._updateSelectedRadioFromValue=function(){var a=this,b=null!==this._selected&&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)}))};f._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new wrc(this._selected,this._value))};
f._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(a){return a._markForCheck()})};f.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};f.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a;this._changeDetector.markForCheck()};
wh.Object.defineProperties(BN.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="before"===a?"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=Gg(a);this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Gg(a);this._markRadiosForCheck()}}});
BN.\u0275fac=function(a){return new (a||BN)(C(Hw))};BN.\u0275dir=Qc({type:BN,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});
var zrc=yh(Ah(function(a){this._elementRef=a})),CN=function(a,b,c,d,e,g,h,m){b=zrc.call(this,b)||this;b._changeDetector=c;b._focusMonitor=d;b._radioDispatcher=e;b._providerOverride=h;b._uniqueId="mat-radio-"+ ++vrc;b.id=b._uniqueId;b.change=new pw;b._checked=!1;b._value=null;b._removeUniqueSelectionListener=function(){};b.radioGroup=a;b._noopAnimations="NoopAnimations"===g;m&&(b.tabIndex=Jg(m,0));return b};U(CN,zrc);f=CN.prototype;
f.focus=function(a,b){b?Tx(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};f._markForCheck=function(){this._changeDetector.markForCheck()};f.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)})};f.ngDoCheck=function(){this._updateTabIndex()};
f.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};f._emitChangeEvent=function(){this.change.emit(new wrc(this,this._value))};f._isRippleDisabled=function(){return this.disableRipple||this.disabled};f._onInputClick=function(a){a.stopPropagation()};
f._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()))};f._onTouchTargetClick=function(a){this._onInputInteraction(a);this.disabled||this._inputElement.nativeElement.focus()};f._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
f._updateTabIndex=function(){var a=this.radioGroup;a=a&&a.selected&&!this.disabled?a.selected===this?this.tabIndex:-1:this.tabIndex;if(a!==this._previousTabIndex){var b,c=null==(b=this._inputElement)?void 0:b.nativeElement;c&&(c.setAttribute("tabindex",a+""),this._previousTabIndex=a)}};
wh.Object.defineProperties(CN.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Gg(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,null!==this.radioGroup&&(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||null!==this.radioGroup&&this.radioGroup.disabled},set:function(a){this._setDisabled(Gg(a))}},
required:{configurable:!0,enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=Gg(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"}}});CN.\u0275fac=function(){Fd()};
CN.\u0275dir=Qc({type:CN,viewQuery:function(a,b){a&1&&cg(urc,5);if(a&2){var c;bg(c=eg())&&(b._inputElement=c.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[lf]});var Arc=function(a){return{enterDuration:a}},Brc={provide:dx,useExisting:Cc(function(){return DN}),multi:!0},DN=function(){BN.apply(this,arguments)};U(DN,BN);DN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(DN)))(b||DN)}}();
DN.\u0275dir=Qc({type:DN,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&dg(c,EN,5);if(a&2){var d;bg(d=eg())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Pf([Brc,{provide:xrc,useExisting:DN}]),lf]});var EN=function(a,b,c,d,e,g,h,m){return CN.call(this,a,b,c,d,e,g,h,m)||this};U(EN,CN);EN.\u0275dir=CN.\u0275dir;EN.\u0275fac=function(a){return new (a||EN)(C(xrc,8),C(Bd),C(Hw),C(Sx),C(uz),C(Ov,8),C(yrc,8),ud("tabindex"))};
EN.\u0275cmp=Mc({type:EN,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(a,b){a&1&&M("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(pf("tabindex",null)("id",b.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),yf("mat-radio-checked",b.checked)("mat-radio-disabled",b.disabled)("_mat-animation-noopable",b._noopAnimations)("mat-primary","primary"===b.color)("mat-accent","accent"===b.color)("mat-warn","warn"===
b.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[lf],ngContentSelectors:["*"],decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered",
"matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(a,b){a&1&&(Gf(),H(0,"label",0,1)(2,"span",2),J(3,"span",3)(4,"span",4),H(5,"input",5,6),M("change",function(d){return b._onInputInteraction(d)})("click",function(d){return b._onInputClick(d)}),I(),H(7,"span",7),J(8,"span",8),I()(),H(9,"span",9)(10,"span",10),R(11,"\u00a0"),I(),Hf(12),I()());if(a&2){var c=Lf(1);pf("for",b.inputId);B(5);
F("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required);pf("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);B(2);F("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Sf(17,Arc,b._noopAnimations?0:150));B(2);yf("mat-radio-label-before","before"==b.labelPosition)}},dependencies:[Sz],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n'],
encapsulation:2,changeDetection:0});var Crc=["searchInput"],RGa=function(a,b){return{issues:a,tab:b}},Drc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},Erc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",ISSUE_IDS:"Issue IDs"},FN=function(a,b,c,d,e,g,h,m){GE.call(this);var r=this;this.dialogRef=a;this.initialData=b;this.issueFridge=c;this.issueRecommendationsFridge=d;this.issuePickerSearchService=e;this.analytics=g;this.activeSession=h;this.liveAnnouncer=m;this.data=Object.assign({},Drc,this.initialData);
var v;this.currentComponent=null!=(v=this.data.componentId)?v:void 0;this.currentIssueId$=(0,E.defer)(function(){var y;return"issue"===(null==(y=r.data.currentResource)?void 0:y.type)?(0,E.of)(r.data.currentResource.id):E.NEVER});this.selectedIssues=new bK;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=jm;this.trackByIssueId=function(y,A){return A.issueId};this.issues$=this.issueFridge.watchSet([]);this.similarIssues$=
this.currentIssueId$.pipe(De(function(){return EE(r.activeSession,"enableSimilarIssuesTabInIssuePicker")}),af(function(y){return r.issueRecommendationsFridge.watch(y+"-ISSUE_DEDUPLICATION",void 0)}),D(function(y){var A;return null==y?void 0:null==(A=y.recommendations)?void 0:A.map(function(G){var N;return null==(N=G.content)?void 0:N.recommendedIssue})}),D(function(y){var A;return null!=(A=null==y?void 0:y.filter(Ei))?A:[]}));this.searchText$=new E.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(D(function(y){return y.trim()}),
Ne());this.idsInSearchText$=this.searchTextTrimmed$.pipe(D(SBa),D(Dl),Ne(Yh));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(af(function(y){return r.issueFridge.watchSet(y)}));this.searchResults$=this.searchTextTrimmed$.pipe(Ke(200),af(function(y){return r.issuePickerSearchService.search(y,r.data.edgeType,r.data.currentResource,r.currentComponent)}),$e(void 0),Ye({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(D(function(y){return 1!==y.length||4>y[0].issueId.length?
[]:[y[0].issueId]}),Ne(Yh));this.TABS=Erc;this.visibleTabs$=(0,E.combineLatest)([this.similarIssues$.pipe($e([])),this.issuesWithIdMatches$.pipe($e([])),this.searchTextTrimmed$.pipe($e(void 0))]).pipe(D(function(y){var A=k(y);y=A.next().value;var G=A.next().value;A=A.next().value;return[].concat(ad(y.length?["Similar issues"]:[]),ad(A?["Search results"]:[]),ad(G.length?["Issue IDs"]:[]))}),Ne());this.automaticallySelectedTab$=(0,E.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe($e([]))]).pipe(D(function(y){y=
k(y);var A=y.next().value,G=y.next().value;y.next();return G.length?"Issue IDs":A?"Search results":"Similar issues"}),Ne());this.automaticallySelectedTabIndex$=this.automaticallySelectedTab$.pipe(df(this.visibleTabs$),D(function(y){y=k(y);var A=y.next().value;return y.next().value.indexOf(A)}),Ne());this.correctedDisplayedRows=new fg;this.lastSelectionTab="none"};U(FN,GE);FN.\u0275dir=GE.\u0275dir;
FN.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b);a.lastSelectionTab="Issue IDs"}));this.subscriptions.add(this.automaticallySelectedTab$.subscribe(function(b){a.liveAnnouncer.announce(b+" tab is active")}));"canonical"===this.data.edgeType&&this.subscriptions.add(mqc(this.issuePickerSearchService,this.currentComponent).subscribe())};
FN.prototype.ngAfterViewInit=function(){this.focusManager=hz(new Mqc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};var wHa=function(a,b){var c,d;return ne(function(e){if(1==e.nextAddress)return e.yield(ao(),2);c=new Map(a.displayedRows.toArray().map(function(g){return[g.row.issueId,g]}));d=b.map(function(g){return c.get(g.issueId)}).filter(Ei);a.correctedDisplayedRows.reset(d);ag(a.correctedDisplayedRows);se(e)})};
FN.prototype.onPressConfirm=function(){var a=this,b,c,d,e,g,h;return ne(function(m){if(1==m.nextAddress){if(!a.selectedIssues.size)return m.return();b=[].concat(ad(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);d=a.analytics;e=d.trackEvent;g="picked-"+a.data.edgeType;h=a.lastSelectionTab;return m.yield(Frc(a,b[0]),2)}e.call(d,"assistive-issue-picker",g,h,m.yieldResult);se(m)})};FN.prototype.onPressCancel=function(){this.dialogRef.close()};
FN.prototype.selectIssue=function(a,b){this.selectedIssues.reset([a]);this.lastSelectionTab=b};FN.prototype.onRowKeydown=function(a,b,c){if(0===a&&"ArrowUp"===c.key)this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var Frc=function(a,b){var c,d;return ne(function(e){if(1==e.nextAddress){if("canonical"!==a.data.edgeType)return e.return(0);c=Set;return e.yield((0,E.firstValueFrom)(mqc(a.issuePickerSearchService,a.currentComponent)),2)}d=new c(e.yieldResult);return e.return(d.has(b)?1:0)})};FN.\u0275fac=function(a){return new (a||FN)(C(AA),C(CA),C(YH),C(XM),C(AM),C(TH),C(bt),C(Yy))};
FN.\u0275cmp=Mc({type:FN,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(cg(Crc,5),cg(ZM,5));if(a&2){var c;bg(c=eg())&&(b.inputEl=c.first);bg(c=eg())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&M("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})("keydown.escape",function(){return b.onPressCancel()})},features:[lf],decls:26,vars:19,consts:[["mat-dialog-title",""],[1,"heading","flex-kids-x",
"gap-xxs","align-items-center","padded-s-y"],["svgIcon","merge_type_24px",1,"rotate-180","green"],[1,"search-field","margin-bottom"],["svgIcon","search",1,"icon-m"],["type","search","placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input"],["searchInput",""],["gmat-tabs","",3,"selectedIndex"],["label","Similar issues",4,"ngIf"],["label","Search results",4,"ngIf"],["label","Issue IDs",4,"ngIf"],["issuesTable",""],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",
"cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],["label","Similar issues"],["tab","matTab"],[4,"xapLet"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["label","Search results"],["label","Issue IDs"],["mat-dialog-content",""],["mat-table","","class","full-width",3,"dataSource","trackBy","contentChanged",4,"ngIf"],["class","center-text padded",4,"ngIf"],["mat-table","",1,"full-width",3,"dataSource","trackBy","contentChanged"],
["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"],[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","relativepast",3,"issue"],["mat-header-row",""],["mat-row","",1,"clickable",3,"row","keydown","keydown.enter","focusin","click"],[1,"center-text","padded"],["ariaLabel","Loading results",1,"margined","inline-block"],[1,"margined","inline-block"]],template:function(a,b){if(a&1){var c=w();H(0,"div",0)(1,"div",
1);J(2,"mat-icon",2);H(3,"span");R(4,"Close as duplicate of:");I()();H(5,"header",3);J(6,"mat-icon",4);H(7,"input",5,6);M("keydown.arrowdown",function(){return b.focusManager.setActiveItem(0)})("input",function(){x(c);var m=Lf(8);return z(b.searchText$.next(m.value))});I()()();H(9,"mat-tab-group",7);S(10,"async");S(11,"async");P(12,UGa,4,3,"mat-tab",8);S(13,"async");P(14,ZGa,4,3,"mat-tab",9);S(15,"async");P(16,dHa,4,3,"mat-tab",10);S(17,"async");I();P(18,AHa,4,3,"ng-template",null,11,hg);H(20,"div",
12)(21,"button",13);M("click",function(){return b.onPressCancel()});R(22," Cancel ");I();H(23,"button",14);M("click",function(){return b.onPressConfirm()});S(24,"async");R(25," Close as duplicate ");I()()}if(a&2){var d,e,g,h;B(9);yf("hidden",!(null==(d=T(10,7,b.visibleTabs$))?0:d.length));F("selectedIndex",T(11,9,b.automaticallySelectedTabIndex$));B(3);F("ngIf",null==(e=T(13,11,b.visibleTabs$))?null:e.includes(b.TABS.SIMILAR_ISSUES));B(2);F("ngIf",null==(g=T(15,13,b.visibleTabs$))?null:g.includes(b.TABS.SEARCH_RESULTS));
B(2);F("ngIf",null==(h=T(17,15,b.visibleTabs$))?null:h.includes(b.TABS.ISSUE_IDS));B(7);F("disabled",!T(24,17,b.selectedIssues.size$))}},dependencies:[Ow,Tw,bB,yN,YK,RM,SM,$K,iL,qA,FA,GA,HA,DN,EN,jM,XL,cM,ZL,WL,eM,$L,bM,fM,hM,tN,sN,tC,wM,ZM,zN,Uw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-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-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.mat-dialog-title[_ngcontent-%COMP%]{margin:0}.heading[_ngcontent-%COMP%]{padding-left:4px}.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[type=search][_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[type=search][_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-tab-group .mat-tab-label-content{font-size:.8125rem}@media (forced-colors:active){[_nghost-%COMP%]   .mat-dialog-actions[_ngcontent-%COMP%]     button.gmat-button{border:1px solid;border-color:#dadce0;border-color:var(--divider)}[_nghost-%COMP%]   .mat-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-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-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}[_nghost-%COMP%]     .mat-dialog-content{margin:unset;padding:unset;max-height:46vh}.mat-table[_ngcontent-%COMP%]{background-color:inherit;margin:4px 0}.mat-table[_ngcontent-%COMP%]   .mat-column-title[_ngcontent-%COMP%]{min-width:250px;max-width:24vw}.mat-table[_ngcontent-%COMP%]   .mat-column-id[_ngcontent-%COMP%]{margin-right:-8px}.mat-table[_ngcontent-%COMP%]   .mat-column-single-selection[_ngcontent-%COMP%]{padding-left:6px}.mat-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 Grc=function(a,b){return[a,b]},GN=function(){this.size=this.name=""};GN.prototype.ngOnInit=function(){};GN.\u0275fac=function(a){return new (a||GN)};
GN.\u0275cmp=Mc({type:GN,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&J(0,"mat-icon",0);a&2&&F("svgIcon",b.name)("ngClass",Tf(2,Grc,b.name,b.size))},dependencies:[Mw,bB],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 HN=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new pw;this.title=""};HN.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};HN.\u0275fac=function(a){return new (a||HN)};
HN.\u0275cmp=Mc({type:HN,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[ed],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&&(H(0,"div",0),P(1,BHa,2,3,"button",1),P(2,CHa,1,0,"div",2),J(3,"b-issue-title-cell",3),I());a&2&&(xf("margin-left",24*b.level,"px"),B(1),F("ngIf",b.expandable),B(1),F("ngIf",!b.expandable),B(1),F("issue",b.issue))},dependencies:[Ow,GN,qA,iL],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 IN=function(){};IN.\u0275fac=function(a){return new (a||IN)};IN.\u0275mod=Oc({type:IN});IN.\u0275inj=xc({imports:[cG]});var JN=function(){};JN.\u0275fac=function(a){return new (a||JN)};JN.\u0275mod=Oc({type:JN});JN.\u0275inj=xc({imports:[Zy,iK,bx,QC,Kz]});var KN=function(){};KN.\u0275fac=function(a){return new (a||KN)};KN.\u0275mod=Oc({type:KN});KN.\u0275inj=xc({imports:[bx]});var LN=function(){};LN.\u0275fac=function(a){return new (a||LN)};LN.\u0275mod=Oc({type:LN});LN.\u0275inj=xc({});var MN=function(){};MN.\u0275fac=function(a){return new (a||MN)};MN.\u0275mod=Oc({type:MN});MN.\u0275inj=xc({imports:[KN,bx,LN,uC]});var NN=function(){};NN.\u0275fac=function(a){return new (a||NN)};NN.\u0275mod=Oc({type:NN});NN.\u0275inj=xc({providers:[uK],imports:[rK]});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var ON=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};nt(ON,DHa);
ON.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof ON&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,0>=b.branches_&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||this.errback(new Hrc(this))}};ON.prototype.continue_=function(a,b){this.blocked_=!1;Irc(this,a,b)};
var Irc=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;Jrc(a)},Lrc=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new Krc(a);a.silentlyCanceled_=!1}};ON.prototype.callback=function(a){Lrc(this);Irc(this,!0,a)};ON.prototype.errback=function(a){Lrc(this);Irc(this,!1,a)};ON.prototype.addCallback=function(a,b){return Mrc(this,a,null,b)};var Mrc=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&Jrc(a);return a};
ON.prototype.then=function(a,b,c){var d,e,g=new CB(function(h,m){e=h;d=m});Mrc(this,e,function(h){h instanceof Hrc?g.cancel():d(h);return Nrc},this);return g.then(a,b,c)};ON.prototype.$goog_Thenable=!0;ON.prototype.branch=function(a){var b=new ON;Mrc(this,b.callback,b.errback,b);a&&(b.parent_=this,this.branches_++);return b};ON.prototype.isError=function(a){return a instanceof Error};
var Orc=function(a){return mNb(a.sequence_,function(b){return"function"===typeof b[1]})},Nrc={},Jrc=function(a){if(a.unhandledErrorId_&&a.fired_&&Orc(a)){var b=a.unhandledErrorId_,c=Prc[b];c&&(ba.clearTimeout(c.id_),delete Prc[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(),g=e[0],h=e[1];e=e[2];if(g=a.hadError_?h:g)try{var m=g.call(e||a.defaultScope_,b);m===Nrc&&(m=void 0);void 0!==
m&&(a.hadError_=a.hadError_&&(m==b||a.isError(m)),a.result_=b=m);if(a3b(b)||"function"===typeof ba.Promise&&b instanceof ba.Promise)d=!0,a.blocked_=!0}catch(r){b=r,a.hadError_=!0,Orc(a)||(c=!0)}}a.result_=b;d&&(m=lt(a.continue_,a,!0),d=lt(a.continue_,a,!1),b instanceof ON?(Mrc(b,m,d),b.blocking_=!0):b.then(m,d));c&&(b=new Qrc(b),Prc[b.id_]=b,a.unhandledErrorId_=b.id_)},Krc=function(){aa.call(this)};nt(Krc,aa);Krc.prototype.message="Deferred has already fired";Krc.prototype.name="AlreadyCalledError";
var Hrc=function(){aa.call(this)};nt(Hrc,aa);Hrc.prototype.message="Deferred was canceled";Hrc.prototype.name="CanceledError";var Qrc=function(a){this.id_=ba.setTimeout(lt(this.throwError,this),0);this.error_=a};Qrc.prototype.throwError=function(){delete Prc[this.id_];throw this.error_;};var Prc={};var IHa=function(a,b){var c=b||{};b=c.document||document;var d=Jh(a).toString(),e=(new sB(b)).createElement("SCRIPT"),g={script_:e,timeout_:void 0},h=new ON(Rrc,g),m=null,r=null!=c.timeout?c.timeout:5E3;0<r&&(m=window.setTimeout(function(){Src(e,!0);h.errback(new Trc(1,"Timeout reached for loading script "+d))},r),g.timeout_=m);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Src(e,c.cleanupWhenDone||!1,m),h.callback(null))};e.onerror=function(){Src(e,
!0,m);h.errback(new Trc(0,"Error while loading script "+d))};g=c.attributes||{};Rca(g,{type:"text/javascript",charset:"UTF-8"});B2b(e,g);OTb(e,a);Urc(b).appendChild(e);return h},Urc=function(a){var b=uB("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},Rrc=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&Src(a,!0,this.timeout_)}},Src=function(a,b,c){null!=c&&ba.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){yB(a)},
0)},Trc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);aa.call(this,c);this.code=a};nt(Trc,aa);var EHa=null,KHa=new WeakMap;var PN=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;var e=this;this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c;this.gapiAuthParams=d;this.gapi=(0,E.defer)(function(){return GHa().then(function(g){g=g||window.gapi;e.setGapiConfig(g);return MHa(g,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return g})})})};U(PN,kkc);
PN.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(xe(function(c){var d=(0,E.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,E.from)(LHa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(xe(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}))}))}))};
PN.prototype.parseResponse=function(a){return new E.Observable(function(b){a.then(function(c){!1===c.result&&null!=c.body?b.next({data:c.body}):b.next(c.result);b.complete()},function(c){b.error(c.result)})})};PN.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&JHa(a,b,this.gapiConfigUpdates[b])};var Vrc=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;PN.call(this,a,c,d,e);this.waldoApiKey=b};U(Vrc,PN);Vrc.prototype.makeRequest=function(a){var b=PN.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var tMb=function(a){this.proxiedService=a};U(tMb,kkc);tMb.prototype.makeRequest=function(a){var b=this;return(0,E.defer)(function(){return b.proxiedService.makeRequest(a)})};var Wrc=new Zc("environment"),Xrc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},QN=function(){};QN.\u0275fac=function(a){return new (a||QN)};QN.\u0275mod=Oc({type:QN});QN.\u0275inj=xc({imports:[bx,aJ]});var RN=function(){};RN.\u0275fac=function(a){return new (a||RN)};RN.\u0275mod=Oc({type:RN});RN.\u0275inj=xc({imports:[bx,NN,MN,QN]});var SN=function(){};SN.\u0275fac=function(a){return new (a||SN)};SN.\u0275mod=Oc({type:SN});SN.\u0275inj=xc({imports:[cG,RN,JN]});var TN=function(){};TN.\u0275fac=function(a){return new (a||TN)};TN.\u0275mod=Oc({type:TN});TN.\u0275inj=xc({imports:[cG]});var UN=function(){};UN.\u0275fac=function(a){return new (a||UN)};UN.\u0275mod=Oc({type:UN});UN.\u0275inj=xc({imports:[Zy,cG,KM,QC,uD,OM]});var Yrc=["theInput"],VN=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new pw;this.commit=new pw};VN.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};VN.\u0275fac=function(a){return new (a||VN)};
VN.\u0275cmp=Mc({type:VN,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&cg(Yrc,5);if(a&2){var c;bg(c=eg())&&(b.input=c.first)}},inputs:{value:"value",placeholder:"placeholder",readonly:"readonly",autoFocus:"autoFocus"},outputs:{valueChange:"valueChange",commit:"commit"},decls:2,vars:7,consts:[["type","text",3,"placeholder","disabled","ngModel","keydown.enter","ngModelChange"],["theInput",""]],template:function(a,b){a&1&&(H(0,"input",0,1),M("keydown.enter",function(c){b.readonly||b.commit.emit(c)})("ngModelChange",
function(c){return b.valueChange.emit(c)}),I());a&2&&(yf("readonly",b.readonly)("override",b.readonly),F("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[xg,ox,ux],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 WN=function(){};WN.\u0275fac=function(a){return new (a||WN)};WN.\u0275mod=Oc({type:WN});WN.\u0275inj=xc({imports:[cG,bH,QC]});var XN=function(){};XN.\u0275fac=function(a){return new (a||XN)};XN.\u0275mod=Oc({type:XN});XN.\u0275inj=xc({imports:[cG,JN,WN]});var YN=function(){};YN.\u0275fac=function(a){return new (a||YN)};YN.\u0275mod=Oc({type:YN});YN.\u0275inj=xc({imports:[cG,JN,QC]});var ZN=function(){YG.apply(this,arguments)};U(ZN,YG);wh.Object.defineProperties(ZN.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});ZN.\u0275fac=function(){var a;return function(b){return(a||(a=zd(ZN)))(b||ZN)}}();ZN.\u0275dir=Qc({type:ZN,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[lf]});var $N=function(){};
$N.\u0275fac=function(a){return new (a||$N)};$N.\u0275mod=Oc({type:$N});$N.\u0275inj=xc({imports:[cG,bH]});var aO=function(){};aO.\u0275fac=function(a){return new (a||aO)};aO.\u0275mod=Oc({type:aO});aO.\u0275inj=xc({imports:[cG]});var bO=function(){};bO.\u0275fac=function(a){return new (a||bO)};bO.\u0275mod=Oc({type:bO});bO.\u0275inj=xc({imports:[cG]});var cO=function(){};cO.\u0275fac=function(a){return new (a||cO)};cO.\u0275mod=Oc({type:cO});cO.\u0275inj=xc({imports:[aO,aK,cG,IN,Jx,bO,UN,TN,QC,SN,$N,bH,XN,YN]});var dO=function(){};dO.\u0275fac=function(a){return new (a||dO)};dO.\u0275mod=Oc({type:dO});dO.\u0275inj=xc({imports:[Lz,bx,Lz]});var eO=function(){};eO.\u0275fac=function(a){return new (a||eO)};eO.\u0275mod=Oc({type:eO});eO.\u0275inj=xc({imports:[cG,dO]});var fO=function(){};fO.\u0275fac=function(a){return new (a||fO)};fO.\u0275mod=Oc({type:fO});fO.\u0275inj=xc({imports:[bx,xN]});var gO=function(){};gO.\u0275fac=function(a){return new (a||gO)};gO.\u0275mod=Oc({type:gO});gO.\u0275inj=xc({imports:[Vz,Lz,Lz]});var hO=function(){xL.apply(this,arguments)};U(hO,xL);hO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(hO)))(b||hO)}}();hO.\u0275dir=Qc({type:hO,selectors:[["","matCellDef",""]],features:[Pf([{provide:xL,useExisting:hO}]),lf]});var iO=function(){yL.apply(this,arguments)};U(iO,yL);iO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(iO)))(b||iO)}}();iO.\u0275dir=Qc({type:iO,selectors:[["","matHeaderCellDef",""]],features:[Pf([{provide:yL,useExisting:iO}]),lf]});
var jO=function(){return AL.apply(this,arguments)||this};U(jO,AL);jO.prototype._updateColumnCssClassName=function(){AL.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};wh.Object.defineProperties(jO.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});jO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(jO)))(b||jO)}}();
jO.\u0275dir=Qc({type:jO,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Pf([{provide:AL,useExisting:jO},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:jO}]),lf]});var kO=function(){CL.apply(this,arguments)};U(kO,CL);kO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(kO)))(b||kO)}}();
kO.\u0275dir=Qc({type:kO,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[lf]});var lO=function(){EL.apply(this,arguments)};U(lO,EL);lO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(lO)))(b||lO)}}();lO.\u0275dir=Qc({type:lO,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[lf]});var mO=function(){return HL.apply(this,arguments)||this};U(mO,HL);mO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(mO)))(b||mO)}}();mO.\u0275dir=Qc({type:mO,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Pf([{provide:HL,useExisting:mO}]),lf]});var nO=function(){JL.apply(this,arguments)};U(nO,JL);nO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(nO)))(b||nO)}}();
nO.\u0275dir=Qc({type:nO,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Pf([{provide:JL,useExisting:nO}]),lf]});var oO=function(){};U(oO,LL);oO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(oO)))(b||oO)}}();
oO.\u0275cmp=Mc({type:oO,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Pf([{provide:LL,useExisting:oO}]),lf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Df(0,0)},dependencies:[KL],encapsulation:2});var pO=function(){};U(pO,NL);pO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(pO)))(b||pO)}}();
pO.\u0275cmp=Mc({type:pO,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Pf([{provide:NL,useExisting:pO}]),lf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Df(0,0)},dependencies:[KL],encapsulation:2});var Zrc=[[["caption"]],[["colgroup"],["col"]]],qO=function(){TL.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};U(qO,TL);qO.prototype.ngOnInit=function(){TL.prototype.ngOnInit.call(this);this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")};qO.\u0275fac=function(){var a;return function(b){return(a||(a=zd(qO)))(b||qO)}}();
qO.\u0275cmp=Mc({type:qO,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Pf([{provide:TL,useExisting:qO},{provide:wL,useExisting:qO},{provide:Kpc,useClass:FL},{provide:y_b,useClass:w_b},{provide:Qpc,useValue:null}]),lf],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",
""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Gf(Zrc),Hf(0),Hf(1,1),Df(2,0)(3,1)(4,2)(5,3))},dependencies:[PL,QL,RL,SL],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}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{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.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}.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 rO=function(){};rO.\u0275fac=function(a){return new (a||rO)};rO.\u0275mod=Oc({type:rO});rO.\u0275inj=xc({imports:[Lz,VL,Lz]});var sO=function(){};sO.\u0275fac=function(a){return new (a||sO)};sO.\u0275mod=Oc({type:sO});sO.\u0275inj=xc({imports:[VL,Lz,Lz]});var tO=function(){};tO.\u0275fac=function(a){return new (a||tO)};tO.\u0275mod=Oc({type:tO});tO.\u0275inj=xc({providers:[{provide:Nqc,useValue:{enabled:!0}}],imports:[cG,fO,cO,QC,IA,gO,sO,xN,uD,eO,$M,AN]});var uO=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new pw;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))}};uO.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
uO.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};uO.\u0275fac=function(a){return new (a||uO)(C(Bd))};uO.\u0275dir=Qc({type:uO,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var vO=function(){};vO.\u0275fac=function(a){return new (a||vO)};vO.\u0275mod=Oc({type:vO});vO.\u0275inj=xc({});var wO=function(){};wO.\u0275fac=function(a){return new (a||wO)};wO.\u0275cmp=Mc({type:wO,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Gf(),H(0,"span",0),Hf(1),I())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var $rc=["el"],xO=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};xO.prototype.getNgContentParentEl=function(){return this.el.nativeElement};xO.prototype.hide=function(){this.opened=!1};xO.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};xO.\u0275fac=function(a){return new (a||xO)(C(PM),C(jG),C(LK))};
xO.\u0275cmp=Mc({type:xO,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&cg($rc,7);if(a&2){var c;bg(c=eg())&&(b.el=c.first)}},inputs:{originalHref:"originalHref"},ngContentSelectors:["*"],decls:8,vars:3,consts:[["cdkOverlayOrigin","","aria-haspopup","true",1,"broken",3,"click"],["trigger","cdkOverlayOrigin"],["svgIcon","link-off",1,"broken","icon-s"],["el",""],["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,"href","click"]],template:function(a,b){a&1&&(Gf(),H(0,"a",0,1),M("click",function(d){d.preventDefault();d.stopPropagation();b.opened=!b.opened}),H(2,"b-glue"),J(3,"mat-icon",2),I(),H(4,"span",null,3),Hf(6),I()(),P(7,NHa,11,3,"ng-template",4));if(a&2){var c=Lf(1);B(7);F("cdkConnectedOverlayPush",
!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[bB,Jz,Iz,uO,wO,qA,tC],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 asc=new Zc("mat-checkbox-default-options",{providedIn:"root",factory:OHa});var bsc=["input"],csc=["label"],dsc={provide:dx,useExisting:Cc(function(){return yO}),multi:!0},esc=function(){},fsc=0,gsc=OHa(),hsc=Ah(xh(yh(zh(function(a){this._elementRef=a})))),zO=function(a,b,c,d,e,g,h){b=hsc.call(this,b)||this;b._changeDetectorRef=c;b._ngZone=d;b._animationMode=g;b._options=h;b.ariaLabel="";b.ariaLabelledby=null;b.labelPosition="after";b.name=null;b.change=new pw;b.indeterminateChange=new pw;b._onTouched=function(){};b._currentAnimationClass="";b._currentCheckState=0;b._controlValueAccessorChangeFn=
function(){};b._checked=!1;b._disabled=!1;b._indeterminate=!1;b._options=b._options||gsc;b.color=b.defaultColor=b._options.color||gsc.color;b.tabIndex=parseInt(e)||0;b.id=b._uniqueId=a+ ++fsc;return b};U(zO,hsc);f=zO.prototype;f.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};f._isRippleDisabled=function(){return this.disableRipple||this.disabled};f._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};f.writeValue=function(a){this.checked=!!a};
f.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this.disabled=a};
f._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,0<this._currentAnimationClass.length)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};f._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};f.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
f._handleInputClick=function(){var a=this,b,c=null==(b=this._options)?void 0:b.clickAction;this.disabled||"noop"===c?this.disabled||"noop"!==c||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==c&&Promise.resolve().then(function(){a._indeterminate=!1;a.indeterminateChange.emit(a._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())};
f._onInteractionEvent=function(a){a.stopPropagation()};f._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
f._getAnimationClassForCheckStateTransition=function(a,b){if("NoopAnimations"===this._animationMode)return"";switch(a){case 0:if(1===b)return this._animationClasses.uncheckedToChecked;if(3==b)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===b?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===b?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return 1===b?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};f._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};
wh.Object.defineProperties(zO.prototype,{inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Gg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Gg(a);a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){a=Gg(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=Gg(a);b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});zO.\u0275fac=function(){Fd()};
zO.\u0275dir=Qc({type:zO,viewQuery:function(a,b){a&1&&(cg(bsc,5),cg(csc,5),cg(Sz,5));if(a&2){var c;bg(c=eg())&&(b._inputElement=c.first);bg(c=eg())&&(b._labelElement=c.first);bg(c=eg())&&(b.ripple=c.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},
outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[lf]});
var yO=function(a,b,c,d,e,g){a=zO.call(this,"mat-mdc-checkbox-",a,b,c,d,e,g)||this;a._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"};return a};
U(yO,zO);yO.\u0275dir=zO.\u0275dir;f=yO.prototype;f.focus=function(){this._inputElement.nativeElement.focus()};f._createChangeEvent=function(a){var b=new esc;b.source=this;b.checked=a;return b};f._getAnimationTargetElement=function(){var a;return null==(a=this._inputElement)?void 0:a.nativeElement};f._onInputClick=function(){zO.prototype._handleInputClick.call(this)};f._onTouchTargetClick=function(){zO.prototype._handleInputClick.call(this);this.disabled||this._inputElement.nativeElement.focus()};
f._preventBubblingFromLabel=function(a){a.target&&this._labelElement.nativeElement.contains(a.target)&&a.stopPropagation()};yO.\u0275fac=function(a){return new (a||yO)(C(Bd),C(Hw),C(ef),ud("tabindex"),C(Ov,8),C(asc,8))};
yO.\u0275cmp=Mc({type:yO,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&(Ef("id",b.id),pf("tabindex",null)("aria-label",null)("aria-labelledby",null),yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mdc-checkbox--disabled",b.disabled)("mat-mdc-checkbox-disabled",b.disabled)("mat-mdc-checkbox-checked",b.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Pf([dsc]),
lf],ngContentSelectors:["*"],decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[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"],["label",""]],template:function(a,b){a&1&&(Gf(),H(0,"div",0),M("click",function(d){return b._preventBubblingFromLabel(d)}),H(1,"div",1,2)(3,"div",3),M("click",function(){return b._onTouchTargetClick()}),I(),H(4,"input",4,5),M("blur",function(){return b._onBlur()})("click",function(){return b._onInputClick()})("change",
function(d){return b._onInteractionEvent(d)}),I(),J(6,"div",6),H(7,"div",7),pd(),H(8,"svg",8),J(9,"path",9),I(),qd(),J(10,"div",10),I(),J(11,"div",11),I(),H(12,"label",12,13),Hf(14),I()());if(a&2){var c=Lf(2);yf("mdc-form-field--align-end","before"==b.labelPosition);B(4);yf("mdc-checkbox--selected",b.checked);F("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled)("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex);pf("aria-label",b.ariaLabel||null)("aria-labelledby",
b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("name",b.name)("value",b.value);B(7);F("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0);B(1);F("for",b.inputId)}},dependencies:[Sz],styles:['@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:mdc-animation-deceleration-curve-timing-function;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}}.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}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.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 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms 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 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.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 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms 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,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms 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,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.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}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled: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: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)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.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%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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 AO=function(){};AO.\u0275fac=function(a){return new (a||AO)};AO.\u0275mod=Oc({type:AO});AO.\u0275inj=xc({});var isc=function(a){return{enterDuration:a}},jsc=function(){},ksc={provide:dx,useExisting:Cc(function(){return BO}),multi:!0},BO=function(a,b,c,d,e,g,h){a=zO.call(this,"mat-checkbox-",a,b,d,e,g,h)||this;a._focusMonitor=c;a._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",
indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"};return a};U(BO,zO);BO.\u0275dir=zO.\u0275dir;f=BO.prototype;f._createChangeEvent=function(a){var b=new jsc;b.source=this;b.checked=a;return b};f._getAnimationTargetElement=function(){return this._elementRef.nativeElement};f.ngAfterViewInit=function(){var a=this;zO.prototype.ngAfterViewInit.call(this);this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b||a._onBlur()})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
f._onInputClick=function(a){a.stopPropagation();zO.prototype._handleInputClick.call(this)};f.focus=function(a,b){a?Tx(this._focusMonitor,this._inputElement,a,b):this._inputElement.nativeElement.focus(b)};BO.\u0275fac=function(a){return new (a||BO)(C(Bd),C(Hw),C(Sx),C(ef),ud("tabindex"),C(Ov,8),C(asc,8))};
BO.\u0275cmp=Mc({type:BO,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(Ef("id",b.id),pf("tabindex",null)("aria-label",null)("aria-labelledby",null),yf("mat-checkbox-indeterminate",b.indeterminate)("mat-checkbox-checked",b.checked)("mat-checkbox-disabled",b.disabled)("mat-checkbox-label-before","before"==b.labelPosition)("_mat-animation-noopable","NoopAnimations"===b._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},
exportAs:["matCheckbox"],features:[Pf([ksc]),lf],ngContentSelectors:["*"],decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element",
"mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(a,b){a&1&&(Gf(),H(0,"label",0,1)(2,"span",2)(3,"input",3,4),M("change",
function(e){return b._onInteractionEvent(e)})("click",function(e){return b._onInputClick(e)}),I(),H(5,"span",5),J(6,"span",6),I(),J(7,"span",7),H(8,"span",8),pd(),H(9,"svg",9),J(10,"path",10),I(),qd(),J(11,"span",11),I()(),H(12,"span",12,13),M("cdkObserveContent",function(){return b._onLabelTextChange()}),H(14,"span",14),R(15,"\u00a0"),I(),Hf(16),I()());if(a&2){var c=Lf(1),d=Lf(13);pf("for",b.inputId);B(2);yf("mat-checkbox-inner-container-no-side-margin",!d.textContent||!d.textContent.trim());B(1);
F("id",b.inputId)("required",b.required)("checked",b.checked)("disabled",b.disabled)("tabIndex",b.tabIndex);pf("value",b.value)("name",b.name)("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);B(2);F("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Sf(18,isc,"NoopAnimations"===b._animationMode?0:150))}},dependencies:[Sz,Wy],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-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 mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var lsc=function(){this.checked=!1};lsc.\u0275fac=function(a){return new (a||lsc)};lsc.\u0275cmp=Mc({type:lsc,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[["gmat-checkbox","",3,"disabled","checked"]],template:function(a,b){a&1&&J(0,"mat-checkbox",0);a&2&&F("disabled",!0)("checked",b.checked)},dependencies:[BO],encapsulation:2,changeDetection:0});var msc=["el"],CO=function(a,b,c){GE.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};U(CO,GE);CO.\u0275dir=GE.\u0275dir;CO.prototype.ngOnInit=function(){};CO.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(bf(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};CO.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var nsc=function(a){var b=a.getNgContentParentEl(),c,d;if(d=bFa(b))a=a.originalHref,b=null!=(c=b.textContent)?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};CO.prototype.hide=function(){this.opened=!1};var QHa=function(a,b){cFa(b)||(b.preventDefault(),b.stopPropagation(),go(a.domSafe,a.href))};CO.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var SHa=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},RHa=function(a,b){if(b.shiftKey&&"Tab"===b.key&&(b.preventDefault(),a=a.cdkConnectedOverlay.overlayRef.overlayElement)){var c=a.querySelector("button");c&&setTimeout(function(){c.focus()})}};CO.\u0275fac=function(a){return new (a||CO)(C(LK),C(PM),C(jG))};
CO.\u0275cmp=Mc({type:CO,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(cg(msc,7),cg(Jz,7));if(a&2){var c;bg(c=eg())&&(b.el=c.first);bg(c=eg())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[lf],ngContentSelectors:["*"],decls:7,vars:8,consts:[["cdkOverlayOrigin","",1,"keep-focus-ring",3,"href","rel","click"],["trigger","cdkOverlayOrigin"],[4,"ngIf"],["el",""],["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,"href","rel","click","keydown"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"keydown.Tab","click"],["svgIcon","copy"]],template:function(a,b){a&1&&(Gf(),H(0,"a",0,1),M("click",function(d){cFa(d)||(d.preventDefault(),d.stopPropagation(),nsc(b)?
b.opened=!b.opened:QHa(b,d))}),P(2,PHa,2,0,"b-glue",2),H(3,"span",null,3),Hf(5),I()(),P(6,THa,6,3,"ng-template",4));if(a&2){var c=Lf(1);yf("needs-user-confirm",nsc(b));F("href",b.originalHref,Sd)("rel",b.EXTERNAL_LINK_REL);B(2);F("ngIf",nsc(b));B(4);F("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[Ow,bB,Jz,Iz,uO,wO,qA,tC],styles:[".tooltip-panel{display:inline-block;margin:.1em}[_nghost-%COMP%] > a.needs-user-confirm[_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}"],
changeDetection:0});var DO=function(a){this.codefont$=a.codeFont$};DO.\u0275fac=function(a){return new (a||DO)(u(qJ))};DO.\u0275prov=wc({token:DO,factory:DO.\u0275fac,providedIn:"root"});var osc=["child"],EO=function(a){this.codefont=a};EO.prototype.ngOnInit=function(){};EO.prototype.ngOnChanges=function(){aFa(this.child.nativeElement,this.content.content)};EO.\u0275fac=function(a){return new (a||EO)(C(DO))};
EO.\u0275cmp=Mc({type:EO,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&cg(osc,7);if(a&2){var c;bg(c=eg())&&(b.child=c.first)}},inputs:{content:"content"},features:[ed],decls:3,vars:4,consts:[[1,"type-m","child"],["child",""]],template:function(a,b){a&1&&(H(0,"div",0,1),S(2,"async"),I());a&2&&yf("codefont",T(2,2,b.codefont.codefont$))},dependencies:[Uw],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var FO=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(D(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),Ne());this.textDisplayPreferences$.pipe(D(function(c){return c.lastPublishMode===Kcc}),Ne());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(D(function(c){return c.commentDisplayOverride}),Ne())};FO.\u0275fac=function(a){return new (a||FO)(u(bt),u(qJ))};
FO.\u0275prov=wc({token:FO,factory:FO.\u0275fac,providedIn:"root"});var GO=function(){this.isMentioningMe=!1};GO.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};GO.\u0275fac=function(a){return new (a||GO)};
GO.\u0275cmp=Mc({type:GO,selectors:[["b-mention-chip-widget"]],inputs:{email:"email",isMentioningMe:"isMentioningMe"},decls:6,vars:5,consts:[[1,"mention",3,"onedevHovercardTrigger"],["el",""],["card",""],[3,"email"]],template:function(a,b){a&1&&(H(0,"span",0,1),R(2),I(),H(3,"onedev-hovercard",null,2),J(5,"b-issue-person-card",3),I());if(a&2){var c=Lf(4);yf("me",b.isMentioningMe);F("onedevHovercardTrigger",c);B(2);Mf("@",b.username,"");B(3);F("email",b.email)}},dependencies:[NK,jK,oK],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 HO=function(a){this.internalArray_=l(a,0,HO.messageId)};U(HO,q);HO.prototype.getUrl=function(){return V(this,1)};HO.prototype.setUrl=function(a){return uk(this,1,a)};HO.prototype.hasUrl=function(){return Jk(this,1)};HO.prototype.toObject=function(){if(null!=this){t(this);var a={url:n(X(this,1))}}else a=void 0;return a};HO.messageId="b.ImageRedirectRequest";var IO=function(a){this.internalArray_=l(a,0,IO.messageId)};U(IO,q);IO.prototype.getUrl=function(){return V(this,1)};IO.prototype.setUrl=function(a){return uk(this,1,a)};IO.prototype.hasUrl=function(){return Jk(this,1)};IO.prototype.toObject=function(){if(null!=this){t(this);var a={url:n(X(this,1))}}else a=void 0;return a};IO.messageId="b.ImageRedirectResponse";var JO=function(a){this.executor=a},psc=function(a,b){var c=new HO;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:IO}).pipe(D(function(d){return d.getUrl()}))};JO.\u0275fac=function(a){return new (a||JO)(u(wD))};JO.\u0275prov=wc({token:JO,factory:JO.\u0275fac,providedIn:"root"});var KO=function(a){var b=this;this.imageRedirector=a;this.src$=new E.BehaviorSubject("");this.showImage$=new E.BehaviorSubject(!1);this.error$=new E.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(D(function(c){var d=c;d=void 0===d?"":d;var e=void 0===e?48:e;c=[].concat(ad(d));c.length<=e?c=d:(d=Math.floor(e/2),e=d-(0!==e%2?1:2),d=c.slice(0,d-1).join(""),c=c.slice(-e).join(""),null!=String.prototype.trimEnd&&null!=String.prototype.trimStart&&(d=d.trimEnd(),c=c.trimStart()),c=d+"..."+c);return c}));
this.srcRedirected$=(0,E.combineLatest)([this.src$,this.showImage$]).pipe(De(function(c){c=k(c);c.next();return c.next().value}),af(function(c){var d=k(c).next().value;return(c=Tva(d))?(0,E.of)(c):psc(b.imageRedirector,d).pipe(Ie(function(){b.error$.next(!0);return d}))}))};KO.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
wh.Object.defineProperties(KO.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}}});KO.\u0275fac=function(a){return new (a||KO)(C(JO))};
KO.\u0275cmp=Mc({type:KO,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["widget",""],["error",""],[3,"src"],["tabindex","0",1,"normal-link",3,"href","title","click","keydown.enter"],["svgIcon","image",1,"icon-s"],["svgIcon","broken-image",1,"icon-l",3,"matTooltip"]],template:function(a,b){a&1&&(P(0,VHa,3,4,"ng-container",0),S(1,"async"),P(2,WHa,8,9,"ng-template",null,1,hg),P(4,XHa,2,3,"ng-template",null,
2,hg));if(a&2){var c=Lf(5);F("ngIf",!1===T(1,2,b.error$))("ngIfElse",c)}},dependencies:[Ow,bB,tC,wO,Uw],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 qsc={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},LO=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=qsc;this.src$=new E.BehaviorSubject("");this.isMarkdownImage$=new E.BehaviorSubject(!1);this.displayMode$=(0,E.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(D(function(d){var e=k(d);d=e.next().value;var g=e.next().value;e=e.next().value;return d&&
EE(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!g&&e?"COLLAPSE":g?"SHOW":"HIDE":"HIDE"}),$e("HIDE"))};wh.Object.defineProperties(LO.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}}});LO.\u0275fac=function(a){return new (a||LO)(C(bt),C(qJ))};
LO.\u0275cmp=Mc({type:LO,selectors:[["b-snipit-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"src","alt","showByDefault",4,"ngSwitchCase"],["target","_blank",3,"href","rel"],[1,"thumbnail",3,"src","alt","showByDefault"],[3,"src","alt","showByDefault"]],template:function(a,b){a&1&&(P(0,$Ha,5,5,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.src$))},dependencies:[Ow,Pw,Qw,KO,Uw],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[_ngcontent-%COMP%]     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 rsc=Symbol(),ssc=Symbol(),tsc=Symbol(),usc=Symbol(),vsc=Symbol(),wsc=Symbol(),MO=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=[]},zsc=function(a,b,c){for(var d=b.querySelectorAll("*"),e=0;e<d.length;e++){var g=d[e],h=g.dataset.bId;h&&(g.id=h)}d=k(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&Pva(h)&&e&&bFa(e)&&h===e.textContent&&(g=e.nextSibling,xsc(a,e,h,void 0,c),h=void 0,null!=(h=g)&&h.textContent&&(h=g.textContent.match(/(^[^\w]+)/))))h=h[1],g.textContent=g.textContent.substring(h.length),g=document.createElement("span"),g.textContent=h,e.insertAdjacentElement("afterend",g);d=b.querySelectorAll("*[data-b-widget]");for(e=0;e<d.length;e++)switch(g=d[e],g.dataset.bWidget){case "image":h=a;var m=c,r=g.dataset.bImgSrc,v=g.dataset.bImgRedirectedSrc;
aIa(g);if(r){var y=g.dataset.bImgAlt;if(Pva(r))xsc(h,g,r,y,m,!0);else if(EE(h.flags.session,"enableMarkdownInlineImages"))g=h.createComponent(KO,g,m),m=g.instance,m.src=r,y&&(m.alt=y),h.secureImageRefs.push(g);else{var A=document.createElement("a");y?A.appendChild(document.createTextNode(y)):A.appendChild(document.createTextNode(r));g.appendChild(A);ysc(h,A,r,v||r,m)}}break;case "checkbox":h=a;y=c;r=null!=g.dataset.bCheckboxChecked;aIa(g);g=h.createComponent(lsc,g,y);g.instance.checked=r;h.checkboxRefs.push(g);
break;case "url":h=a;r=c;y=g.dataset.bOriginalHref;m=g.dataset.bRedirectedHref;y&&m&&(g.removeAttribute("href"),ysc(h,g,y,m,r));break;case "broken-url":h=a;m=c;if(y=g.dataset.bOriginalHref){r=Array.from(g.childNodes);g=h.createComponent(xO,g,m);m=g.instance;m.originalHref=y;y=m.getNgContentParentEl();r=k(r);for(m=r.next();!m.done;m=r.next())y.appendChild(m.value);h.brokenLinkRefs.push(g)}break;case "mention":a.session.isInternalSession()&&(y=void 0,h=a,m=c,r="","@"===(null==(y=g.textContent)?void 0:
y[0])&&(r=g.textContent.slice(1)),aIa(g),g=h.createComponent(GO,g,m),y=g.instance,y.email=r,y.isMentioningMe=h.session.getUserEmail()===r,h.mentionChipRefs.push(g));break;case "issue-reference":A=void 0;h=a;var G=c;r=g.href;y=g.dataset.bIssueId;m=g.dataset.bCommentNumber;if(r&&y){v=Number(m);m=Array.from(g.childNodes);var N=document.createElement("span");null==(A=g.parentNode)||A.insertBefore(N,g);A=h.createComponent(oM,N,G);G=A.instance;G.href=r;G.issueId=y;G.commentNumber=v;r=G.el.nativeElement;
y=k(m);for(m=y.next();!m.done;m=y.next())r.appendChild(m.value);g.remove();h.issueReferenceRefs.push(A)}}a=b.querySelectorAll("a");for(c=0;c<a.length;c++)d=a[c],d.getAttribute("target")||d.setAttribute("target","_self");b=b.querySelectorAll("table");for(a=0;a<b.length;a++)c=b[a],c.parentNode&&(d=document.createElement("div"),d.classList.add("table-overflow"),c.parentNode.insertBefore(d,c),d.appendChild(c))};MO.prototype.ngOnDestroy=function(){Asc(this)};
var xsc=function(a,b,c,d,e,g){g=void 0===g?!1:g;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));b=a.createComponent(LO,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=g;a.snipItImageRefs.push(b)},ysc=function(a,b,c,d,e){var g=Array.from(b.childNodes);b=a.createComponent(CO,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();g=k(g);for(d=g.next();!d.done;d=g.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
MO.prototype.createComponent=function(a,b,c){c={environmentInjector:this.appRef.injector,elementInjector:c.injector};a=a[Nc]||null;var d=c.elementInjector||Mea();c=(new kg(a)).create(d,c.projectableNodes,c.hostElement,c.environmentInjector);b.appendChild(c.location.nativeElement);xWb(this.appRef,c.hostView);this.allComponentRefs.push(c);return c};
var Asc=function(a){for(var b=k(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=[]};MO.prototype[rsc]=function(){return this.secureImageRefs.slice()};MO.prototype[ssc]=function(){return this.snipItImageRefs.slice()};MO.prototype[tsc]=function(){return this.checkboxRefs.slice()};MO.prototype[usc]=function(){return this.externalHyperlinkRefs.slice()};
MO.prototype[vsc]=function(){return this.brokenLinkRefs.slice()};MO.prototype[wsc]=function(){return this.issueReferenceRefs.slice()};MO.\u0275fac=function(a){return new (a||MO)(u(Fw),u(FO),u(bt))};MO.\u0275prov=wc({token:MO,factory:MO.\u0275fac});var Bsc=["child"],Csc=Symbol(),NO=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};NO.prototype.ngOnInit=function(){};NO.prototype.ngOnChanges=function(){Asc(this.dynamicComponents);var a=this.child.nativeElement;aFa(a,this.content.content);zsc(this.dynamicComponents,a,this.viewContainerRef)};NO.prototype.ngOnDestroy=function(){Asc(this.dynamicComponents)};NO.prototype[Csc]=function(){return this.dynamicComponents};
NO.\u0275fac=function(a){return new (a||NO)(C(MO,2),C(DO),C($f))};
NO.\u0275cmp=Mc({type:NO,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&cg(Bsc,7);if(a&2){var c;bg(c=eg())&&(b.child=c.first)}},inputs:{content:"content"},features:[Pf([{provide:MO,useClass:MO}]),ed],decls:3,vars:4,consts:[[1,"type-m","markdown-display"],["child",""]],template:function(a,b){a&1&&(H(0,"div",0,1),S(2,"async"),I());a&2&&yf("codefont",T(2,2,b.codefont.codefont$))},dependencies:[Uw],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}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:#fff59d;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 Dsc=["child"],Esc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},OO=function(a){this.codefont=a};OO.prototype.ngOnInit=function(){};OO.\u0275fac=function(a){return new (a||OO)(C(DO))};
OO.\u0275cmp=Mc({type:OO,selectors:[["b-plain-format-presenter"]],inputs:{content:"content"},decls:3,vars:5,consts:[[1,"type-m"],[4,"ngFor","ngForOf"],[3,"section"]],template:function(a,b){a&1&&(H(0,"div",0),S(1,"async"),P(2,bIa,2,1,"ng-container",1),I());a&2&&(yf("codefont",T(1,3,b.codefont.codefont$)),B(2),F("ngForOf",b.content.plainSection))},dependencies:function(){return[Nw,PO,Uw]},styles:[Esc()],changeDetection:0});var PO=function(){};PO.prototype.ngOnInit=function(){};
PO.\u0275fac=function(a){return new (a||PO)};PO.\u0275cmp=Mc({type:PO,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),P(1,cIa,1,1,"b-plain-format-quoted-section",0),P(2,dIa,1,1,"b-plain-format-unquoted-section",0),L());a&2&&(B(1),F("ngIf",b.section.isQuoted),B(1),F("ngIf",!b.section.isQuoted))},dependencies:function(){return[Ow,QO,RO]},encapsulation:2,changeDetection:0});
var QO=function(){this.showQuote=!1;Fsc++;this.childId="plainFormatQuotedSection"+Fsc};QO.prototype.ngOnInit=function(){};QO.prototype.ngOnChanges=function(){eIa(this)};var eIa=function(a){var b=a.child.nativeElement;a.showQuote?aFa(b,a.section.content):$Ea(b)};QO.\u0275fac=function(a){return new (a||QO)};
QO.\u0275cmp=Mc({type:QO,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&cg(Dsc,7);if(a&2){var c;bg(c=eg())&&(b.child=c.first)}},inputs:{section:"section"},features:[ed],decls:5,vars:3,consts:[["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"],["child",""],["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&&(H(0,"div"),P(1,fIa,2,1,"a",0),P(2,gIa,2,1,"a",1),J(3,"div",2,3),I());a&2&&(B(1),F("ngIf",!b.showQuote),B(1),F("ngIf",b.showQuote),B(1),F("id",b.childId))},dependencies:[Ow],styles:[Esc()],changeDetection:0});var Fsc=0,RO=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};RO.prototype.ngOnInit=function(){};
RO.prototype.ngOnChanges=function(){Asc(this.dynamicComponents);var a=this.child.nativeElement;aFa(a,this.section.content);zsc(this.dynamicComponents,a,this.viewContainerRef)};RO.\u0275fac=function(a){return new (a||RO)(C(MO,2),C($f))};
RO.\u0275cmp=Mc({type:RO,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&cg(Dsc,7);if(a&2){var c;bg(c=eg())&&(b.child=c.first)}},inputs:{section:"section"},features:[Pf([{provide:MO,useClass:MO}]),ed],decls:2,vars:0,consts:[[1,"child"],["child",""]],template:function(a){a&1&&J(0,"div",0,1)},encapsulation:2,changeDetection:0});var SO=function(){};SO.prototype.ngOnInit=function(){};SO.\u0275fac=function(a){return new (a||SO)};
SO.\u0275cmp=Mc({type:SO,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&(P(0,hIa,2,1,"ng-container",0),P(1,iIa,2,1,"ng-container",0),P(2,jIa,2,1,"ng-container",0));a&2&&(F("ngIf",b.formattedComment.literalFormat),B(1),F("ngIf",b.formattedComment.markdownFormat),B(1),F("ngIf",b.formattedComment.plainFormat))},dependencies:[Ow,EO,NO,OO],encapsulation:2,changeDetection:0});var TO=function(a){this.internalArray_=l(a,0,TO.messageId)};U(TO,q);f=TO.prototype;f.getFormattingMode=function(){return aj(this,1,0)};f.setFormattingMode=function(a){return cj(this,1,a)};f.getSource=function(){return V(this,2)};f.setSource=function(a){return uk(this,2,a)};f.hasSource=function(){return Jk(this,2)};f.getSourceOrUndefined=function(){return Tt(this,2)};f.getIssueId=function(){return uj(this,3)};f.setIssueId=function(a){return cj(this,3,a)};f.getIdPrefix=function(){return V(this,4)};
f.setIdPrefix=function(a){return uk(this,4,a)};f.setCurrentTrackerId=function(a){cj(this,7,a)};f.toObject=function(){if(null!=this){t(this);var a={formattingMode:n(p(this,1)),source:n(X(this,2)),issueId:n(p(this,3)),idPrefix:n(X(this,4)),audience:n(p(this,6)),currentTrackerId:n(p(this,7))}}else a=void 0;return a};TO.messageId="b.FormatCommentRequest";var UO=function(a){this.internalArray_=l(a,0,UO.messageId)};U(UO,q);UO.prototype.getFormattedComment=function(){return W(this,Qj,1)};UO.prototype.hasFormattedComment=function(){return Pj(this,Qj,1)};UO.prototype.getMentionsList=function(){return oj(this,pE,2)};UO.repeatedFields_=[2];UO.prototype.toObject=function(){if(null!=this){t(this);var a={formattedComment:Nbc(this.getFormattedComment()),mentionsList:Ub(this.getMentionsList(),fcc)}}else a=void 0;return a};UO.messageId="b.FormatCommentResponse";var VO=function(a,b){this.executor=a;this.currentTrackerId=b};VO.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?kIa(a):Gsc(this,a).pipe(D(function(b){return b.hasFormattedComment()?pra(b.getFormattedComment()):{}}))};
var Hsc=function(a,b){if("LITERAL"===b.formattingMode||""===b.comment.trim())return(0,E.of)([]);var c=new TO;c.setSource(b.comment);var d;c.setIssueId(null!=(d=yi(b.issueId))?d:0);cj(c,6,rac[b.audience]);c.setFormattingMode(Fta(b.formattingMode));c.setIdPrefix(b.idPrefix);return Gsc(a,b).pipe(D(function(e){return e.getMentionsList().map(function(g){return ti(g.getMentionedUser())||""})}))},Gsc=function(a,b){var c,d=(new TO).setSource(b.comment).setIssueId(null!=(c=yi(b.issueId))?c:0);b=cj(d,6,rac[b.audience]).setFormattingMode(Fta(b.formattingMode)).setIdPrefix(b.idPrefix);
(c=a.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(c);return a.executor.post({url:"action/formatComment",body:b,responseConstructor:UO})};VO.\u0275fac=function(a){return new (a||VO)(u(wD),u(HE))};VO.\u0275prov=wc({token:VO,factory:VO.\u0275fac,providedIn:"root"});var WO=function(a){GE.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL_AUDIENCE";this.formattingMode="LITERAL";this.params$=new E.ReplaySubject(1);this.formattedResult$=this.params$.pipe(Ke(200),af(function(c){return b.formatter.format(c).pipe(Isc,Ie(function(){var d={literalFormat:{content:qta(Ng(c.comment))}};return(0,E.of)({formattedComment:d,isFallback:!0})}))}))};U(WO,GE);WO.\u0275dir=GE.\u0275dir;
WO.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:null!=a.audience?a.audience:"EXTERNAL_AUDIENCE",formattingMode:a.formattingMode,idPrefix:a.getIdPrefix()})}))};WO.prototype.ngOnChanges=function(){null!=this.comment&&this.params$.next({comment:this.comment,issueId:this.issueId,audience:null!=this.audience?this.audience:"EXTERNAL_AUDIENCE",formattingMode:this.formattingMode,idPrefix:this.getIdPrefix()})};
WO.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};WO.\u0275fac=function(a){return new (a||WO)(C(VO))};
WO.\u0275cmp=Mc({type:WO,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[lf,ed],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(P(0,lIa,3,5,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.formattedResult$))},dependencies:[Ow,SO,Uw],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 Isc=D(function(a){return{formattedComment:a,isFallback:!1}});var XO=function(a,b,c){GE.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new pw;this.checkedSubject=new E.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(bf(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(bf(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};U(XO,GE);XO.\u0275dir=GE.\u0275dir;XO.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};XO.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};XO.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(bf(this.destroyed$)).subscribe()};XO.\u0275fac=function(a){return new (a||XO)(C(qJ),C(FO),C(jJ))};
XO.\u0275cmp=Mc({type:XO,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[lf,ed],decls:4,vars:4,consts:[["gmat-checkbox","","aria-label","Use markdown for this comment","matTooltip","Use Markdown for this comment",3,"checked","change"],["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&&(H(0,"mat-checkbox",0),M("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?Kcc:e?e:Lcc;b.save({lastPublishMode:d});b.change.emit(Kk(d))}),S(1,"async"),R(2," Markdown "),I(),P(3,mIa,2,2,"a",1));if(a&2){var c;F("checked",null!==(c=T(1,2,b.checkedSubject))&&void 0!==c?c:!1);B(3);F("ngIf",b.mdHelpLink)}},dependencies:[BO,Ow,bB,rA,tC,Uw],
encapsulation:2,changeDetection:0});var YO=function(a,b){GE.call(this);var c=this;this.appEvents=b;this.init=new pw;this.FormattingMode=sac;a.textDisplayPreferencesSubject$.pipe(bf(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:Fh(d.commentDisplayOverride)}})};
U(YO,GE);YO.\u0275dir=GE.\u0275dir;YO.prototype.ngOnInit=function(){};YO.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.note.commentNumber&&(this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber)};YO.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
YO.\u0275fac=function(a){return new (a||YO)(C(qJ),C(sG))};
YO.\u0275cmp=Mc({type:YO,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[lf,ed],decls:5,vars:2,consts:[[1,"bv2-note-container","bv2-event-note"],[1,"bv2-note-container-note"],[3,"formattedComment",4,"ngIf","ngIfElse"],["livePreview",""],[3,"formattedComment"],[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),
P(2,nIa,1,1,"b-formatted-comment-presenter",2),I()(),P(3,oIa,1,5,"ng-template",null,3,hg));if(a&2){var c=Lf(4);B(2);if(a=b.note.formattedComment)a=b.note.formattedComment,a=!a||b.formattingModeOverride?!1:a.literalFormat&&"LITERAL"===b.formattingMode||a.plainFormat&&"PLAIN"===b.formattingMode||a.markdownFormat&&"MARKDOWN"===b.formattingMode?!0:!1;F("ngIf",a)("ngIfElse",c)}},dependencies:[Ow,SO,WO],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 ZO=function(){};ZO.\u0275fac=function(a){return new (a||ZO)};ZO.\u0275mod=Oc({type:ZO});ZO.\u0275inj=xc({imports:[cG,JN,SN]});var $O=function(){this.segments=[];this.clickMain=new pw;this.clickSegment=new pw};$O.prototype.ngOnInit=function(){};wh.Object.defineProperties($O.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});$O.\u0275fac=function(a){return new (a||$O)};
$O.\u0275cmp=Mc({type:$O,selectors:[["b-fab-segmented"]],inputs:{label:"label",icon:"icon",segments:"segments",href:"href"},outputs:{clickMain:"clickMain",clickSegment:"clickSegment"},decls:5,vars:6,consts:[[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"],["createMenu","matMenu"],["mat-menu-item",
"",3,"href","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"href","click"]],template:function(a,b){a&1&&(H(0,"span",0)(1,"a",1),M("click",function(){return b.clickMain.emit(b.label)}),J(2,"mat-icon",2),R(3),I(),P(4,qIa,6,2,"ng-container",3),I());a&2&&(B(1),yf("square-right",b.showMoreButton),pf("href",b.href||void 0,Sd),B(1),F("svgIcon",b.icon),B(1),Mf(" ",b.label," "),B(1),F("ngIf",b.showMoreButton))},dependencies:[Nw,Ow,bB,qA,rA,lC,jC,kC],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;transition:box-shadow .2s ease-in-out;background-color:#fff;background-color:var(--fab-button-bg);box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15)}.shrink-wrap[_ngcontent-%COMP%]:hover{box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 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%]:hover, .more[_ngcontent-%COMP%]:focus{color:#202124;color:var(--text-default)}.more[_ngcontent-%COMP%]{transition:border .2s ease-in-out;border-left:1px solid rgba(0,0,0,0)}.shrink-wrap[_ngcontent-%COMP%]:hover   .more[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#dadce0;border-left-color:var(--divider)}/*# sourceMappingURL=fab_segmented.css.map */']});var Jsc=[$O],aP=function(){};aP.\u0275fac=function(a){return new (a||aP)};aP.\u0275mod=Oc({type:aP});aP.\u0275inj=xc({imports:[cG,QC,mC,uD]});var bP=function(){};bP.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};bP.\u0275fac=function(a){return new (a||bP)};
bP.\u0275cmp=Mc({type:bP,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&&(H(0,"section",0)(1,"button",1),M("click",function(){return b.onPressBack()}),J(2,"mat-icon",2),I()())},dependencies:[bB,qA,tC],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var cP=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 pw;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=oTb(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=oTb(function(){en(io.SIDEBAR,"resizeKeyboard")},2E3)};cP.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
cP.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var Ksc=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};cP.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
cP.prototype.setWidth=function(a){var b=this.minSnapWidth;a=90>a?28:a<b?b:Math.min(a,700);a>=this.minSnapWidth&&(this.lastOpenPosition=a);this.width=a;this.broadcastWidthChange(a)};
wh.Object.defineProperties(cP.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);"open"===a?b=this.lastOpenPosition:Number.isNaN(b)&&(b=220);this.setWidth(b)}},isLTR:{configurable:!0,enumerable:!0,get:function(){return"ltr"===this.direction}},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 null!=this.dragStart}}});cP.\u0275fac=function(a){return new (a||cP)(C(PH,2),C(sG),C(ef))};
cP.\u0275cmp=Mc({type:cP,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&zf(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[Pf([PH])],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,"ngClass","matTooltip","click"],[3,"svgIcon"]],template:function(a,b){a&1&&(Gf(),H(0,"div",0)(1,"div",1),Hf(2),I(),H(3,"div",2),M("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return Ksc(b,-10)})("keyup.arrowright",function(){return Ksc(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),I()(),P(4,rIa,2,6,"button",3));a&2&&(xf("width",b.width+"px"),yf("isDragging",b.isDragging)("isClosed",b.isClosed),F("ngClass",b.direction),B(1),xf("width",b.lastOpenPosition+"px"),B(2),pf("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),B(1),F("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[Mw,Ow,bB,qA,tC,sz],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 Lsc=new Zc("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),Msc=new Zc("isScrolledOnScreen",{factory:function(){return{fully:sIa,partially:tIa}}}),dP=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};dP.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?uIa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):vIa(a,this.isScrolledOnScreen,b)};
var Nsc=function(a,b){var c={durationOnScreenMs:5E3},d=void 0===c?{}:c;c=void 0===d.emitOnPartial?!1:d.emitOnPartial;var e=void 0===d.durationOnScreenMs?0:d.durationOnScreenMs;d={cumulativeTime:0,wasPreviouslyOnScreen:!1,lastTimestamp:Date.now()};return a.getObservable(b,c).pipe(Ue(function(g,h){return{cumulativeTime:g.cumulativeTime+(g.wasPreviouslyOnScreen?Date.now()-g.lastTimestamp:0),wasPreviouslyOnScreen:h,lastTimestamp:Date.now()}},d),af(function(g){if(0===e&&g.wasPreviouslyOnScreen)return(0,E.of)(void 0);
var h=e-g.cumulativeTime;return 0>h?(0,E.of)(void 0):g.wasPreviouslyOnScreen?(0,E.of)(void 0).pipe(Me(h)):E.NEVER}),D(function(){}),Oe())};dP.\u0275fac=function(a){return new (a||dP)(u(Lsc),u(Msc))};dP.\u0275prov=wc({token:dP,factory:dP.\u0275fac,providedIn:"root"});[].concat(ad(Jsc),[cP,wO]);var eP=function(){};eP.\u0275fac=function(a){return new (a||eP)};eP.\u0275mod=Oc({type:eP});eP.\u0275inj=xc({imports:[cG,QC,uD,wz,aP]});var fP=function(){};fP.\u0275fac=function(a){return new (a||fP)};fP.\u0275mod=Oc({type:fP});fP.\u0275inj=xc({imports:[Vz,Lz,Xy,AO,Lz,AO]});var Osc=Wg("transformPanelWrap",[ah("* => void",ch("@transformPanel",[bh()]))]),Psc=Wg("transformPanel",[$g("void",Zg({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),$g("showing",Zg({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),$g("showing-multiple",Zg({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),ah("void => *",Yg("120ms cubic-bezier(0, 0, 0.2, 1)")),ah("* => void",Yg("100ms 25ms linear",Zg({opacity:0})))]);var Qsc=["trigger"],Rsc=["panel"],Ssc=0,Tsc=new Zc("mat-select-scroll-strategy"),Usc=new Zc("MAT_SELECT_CONFIG"),Vsc={provide:Tsc,deps:[Hz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Wsc=new Zc("MatSelectTrigger"),Xsc=yh(Ah(zh(Ioa(function(a,b,c,d,e){this._elementRef=a;this._defaultErrorStateMatcher=b;this._parentForm=c;this._parentFormGroup=d;this.ngControl=e;this.stateChanges=new E.Subject})))),gP=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N){var Q=Xsc.call(this,
e,d,h,m,v)||this;Q._viewportRuler=a;Q._changeDetectorRef=b;Q._ngZone=c;Q._dir=g;Q._parentFormField=r;Q._liveAnnouncer=G;Q._defaultOptions=N;Q._panelOpen=!1;Q._compareWith=function(ja,va){return ja===va};Q._uid="mat-select-"+Ssc++;Q._triggerAriaLabelledBy=null;Q._destroy=new E.Subject;Q._onChange=function(){};Q._onTouched=function(){};Q._valueId="mat-select-value-"+Ssc++;Q._panelDoneAnimatingStream=new E.Subject;var Z;Q._overlayPanelClass=(null==(Z=Q._defaultOptions)?void 0:Z.overlayPanelClass)||"";
Q._focused=!1;Q.controlType="mat-select";Q._multiple=!1;var Y,ea;Q._disableOptionCentering=null!=(ea=null==(Y=Q._defaultOptions)?void 0:Y.disableOptionCentering)?ea:!1;Q.ariaLabel="";Q.optionSelectionChanges=(0,E.defer)(function(){var ja=Q.options;return ja?ja.changes.pipe($e(ja),af(function(){return E.merge.apply(null,ad(ja.map(function(va){return va.onSelectionChange})))})):Q._ngZone.onStable.pipe(Oe(),af(function(){return Q.optionSelectionChanges}))});Q.openedChange=new pw;Q._openedStream=Q.openedChange.pipe(De(function(ja){return ja}),
D(function(){}));Q._closedStream=Q.openedChange.pipe(De(function(ja){return!ja}),D(function(){}));Q.selectionChange=new pw;Q.valueChange=new pw;Q._trackedModal=null;Q.ngControl&&(Q.ngControl.valueAccessor=Q);null!=(null==N?void 0:N.typeaheadDebounceInterval)&&(Q._typeaheadDebounceInterval=N.typeaheadDebounceInterval);Q._scrollStrategyFactory=A;Q._scrollStrategy=Q._scrollStrategyFactory();Q.tabIndex=parseInt(y)||0;Q.id=Q.id;return Q};U(gP,Xsc);f=gP.prototype;
f.ngOnInit=function(){var a=this;this._selectionModel=new tz(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Ne(),bf(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)})};
f.ngAfterContentInit=function(){var a=this;this._initKeyManager();this._selectionModel.changed.pipe(bf(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($e(null),bf(this._destroy)).subscribe(function(){a._resetOptions();a._initializeSelection()})};
f.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&&(void 0!==this._previousControl&&null!==b.disabled&&b.disabled!==this.disabled&&(this.disabled=b.disabled),this._previousControl=b.control),this.updateErrorState())};
f.ngOnChanges=function(a){(a.disabled||a.userAriaDescribedBy)&&this.stateChanges.next();a.typeaheadDebounceInterval&&this._keyManager&&j_b(this._keyManager,this._typeaheadDebounceInterval)};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroy.next();this._destroy.complete();this.stateChanges.complete();this._clearFromModal()};f.toggle=function(){this.panelOpen?this.close():this.open()};
f.open=function(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,gz(this._keyManager,null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())};f._applyModalPanelOwnership=function(){var a=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.id+"-panel";this._trackedModal&&th(this._trackedModal,"aria-owns",b);xoa(a,"aria-owns",b);this._trackedModal=a}};
f._clearFromModal=function(){this._trackedModal&&(th(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};f.close=function(){this._panelOpen&&(this._panelOpen=!1,gz(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())};f.writeValue=function(a){this._assignValue(a)};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};
f.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck();this.stateChanges.next()};f._isRtl=function(){return this._dir?"rtl"===this._dir.value:!1};f._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
f._handleClosedKeydown=function(a){var b=a.keyCode,c=40===b||38===b||37===b||39===b,d=this._keyManager;!(0<d._pressedLetters.length||13!==b&&32!==b||Kg(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))};
f._handleOpenKeydown=function(a){var b=this._keyManager,c=a.keyCode,d=40===c||38===c,e=0<b._pressedLetters.length;if(d&&a.altKey)a.preventDefault(),this.close();else if(e||13!==c&&32!==c||!b.activeItem||Kg(a))if(!e&&this._multiple&&65===c&&a.ctrlKey){a.preventDefault();var g=this.options.some(function(h){return!h.disabled&&!h.selected});this.options.forEach(function(h){h.disabled||(g?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()};f._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())};f._onBlur=function(){this._focused=!1;var a;null!=(a=this._keyManager)&&(a._pressedLetters=[]);this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
f._onAttached=function(){var a=this;this._overlayDir.positionChange.pipe(Oe()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};f._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};f._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
f._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))?iz(this._keyManager,a):this.panelOpen||iz(this._keyManager,-1);this._changeDetectorRef.markForCheck()};
f._selectOptionByValue=function(a){var b=this,c=this.options.find(function(d){if(b._selectionModel.isSelected(d))return!1;try{return null!=d.value&&b._compareWith(d.value,a)}catch(e){return!1}});c&&this._selectionModel.select(c);return c};f._assignValue=function(a){return a!==this._value||this._multiple&&Array.isArray(a)?(this.options&&this._setSelectionByValue(a),this._value=a,!0):!1};f._skipPredicate=function(a){return a.disabled};
f._initKeyManager=function(){var a=this;this._keyManager=h_b(i_b(k_b(hz(gz(fz(j_b(new jz(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()})};f._resetOptions=function(){var a=this,b=(0,E.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(bf(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});E.merge.apply(null,ad(this.options.map(function(c){return c._stateChanges}))).pipe(bf(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
f._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);null!=a.value||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(),null!=this.value&&this._propagateChanges(a.value));c!==this._selectionModel.isSelected(a)&&this._propagateChanges();this.stateChanges.next()};
f._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()}};f._propagateChanges=function(a){var b=null;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()};
f._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])};f._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&0<(null==(a=this.options)?void 0:a.length)};f.focus=function(a){this._elementRef.nativeElement.focus(a)};
f._getPanelAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();return this.ariaLabelledby?(b?b+" ":"")+this.ariaLabelledby:b};f._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
f._getTriggerAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();a=(b?b+" ":"")+this._valueId;this.ariaLabelledby&&(a+=" "+this.ariaLabelledby);return a};f._panelDoneAnimating=function(a){this.openedChange.emit(a)};f.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
f.onContainerClick=function(){this.focus();this.open()};
wh.Object.defineProperties(gP.prototype,{focused:{configurable:!0,enumerable:!0,get:function(){return this._focused||this._panelOpen}},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 null!=(d=null!=(c=this._required)?c:null==(a=this.ngControl)?void 0:null==(b=a.control)?void 0:tXb(b))?d:!1},set:function(a){this._required=Gg(a);
this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Gg(a)}},disableOptionCentering:{configurable:!0,enumerable:!0,get:function(){return this._disableOptionCentering},set:function(a){this._disableOptionCentering=Gg(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)}},typeaheadDebounceInterval:{configurable:!0,enumerable:!0,get:function(){return this._typeaheadDebounceInterval},set:function(a){this._typeaheadDebounceInterval=Jg(a)}},id:{configurable:!0,enumerable:!0,get:function(){return this._id},set:function(a){this._id=a||this._uid;this.stateChanges.next()}},panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._panelOpen}},selected:{configurable:!0,enumerable:!0,
get:function(){var a,b;return this.multiple?(null==(a=this._selectionModel)?void 0:a.selected)||[]:null==(b=this._selectionModel)?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}}});gP.\u0275fac=function(a){return new (a||gP)(C(vz),C(Hw),C(ef),C(Qz),C(Bd),C(lz,8),C(sx,8),C(Bx,8),C(h1b,8),C(mx,10),ud("tabindex"),C(Tsc),C(Yy),C(Usc,8))};
gP.\u0275dir=Qc({type:gP,viewQuery:function(a,b){a&1&&(cg(Qsc,5),cg(Rsc,5),cg(Jz,5));if(a&2){var c;bg(c=eg())&&(b.trigger=c.first);bg(c=eg())&&(b.panel=c.first);bg(c=eg())&&(b._overlayDir=c.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby",
"ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[lf,ed]});var Ysc=[[["mat-select-trigger"]],"*"],Zsc=function(a,b){this.source=a;this.value=b},hP=function(){};hP.\u0275fac=function(a){return new (a||hP)};hP.\u0275dir=Qc({type:hP,selectors:[["mat-select-trigger"]],features:[Pf([{provide:Wsc,useExisting:hP}])]});
var iP=function(){var a=gP.apply(this,arguments)||this;a._scrollTop=0;a._triggerFontSize=0;a._transformOrigin="top";a._offsetY=0;a._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}];return a};U(iP,gP);iP.\u0275dir=gP.\u0275dir;f=iP.prototype;f._calculateOverlayScroll=function(a,b,c){var d=this._getItemHeight();return Math.min(Math.max(0,d*a-b+d/2),c)};
f.ngOnInit=function(){var a=this;gP.prototype.ngOnInit.call(this);this._viewportRuler.change().pipe(bf(this._destroy)).subscribe(function(){a.panelOpen&&(a._triggerRect=a.trigger.nativeElement.getBoundingClientRect(),a._changeDetectorRef.markForCheck())})};
f.open=function(){var a=this;gP.prototype._canOpen.call(this)&&(gP.prototype.open.call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Oe()).subscribe(function(){a._triggerFontSize&&a._overlayDir.overlayRef&&a._overlayDir.overlayRef.overlayElement&&(a._overlayDir.overlayRef.overlayElement.style.fontSize=a._triggerFontSize+
"px")}))};f._scrollOptionIntoView=function(a){var b=Noa(a,this.options,this.optionGroups),c=this._getItemHeight();this.panel.nativeElement.scrollTop=0===a&&1===b?0:Ooa((a+b)*c,c,this.panel.nativeElement.scrollTop,256)};f._positioningSettled=function(){this._calculateOverlayOffsetX();this.panel.nativeElement.scrollTop=this._scrollTop};
f._panelDoneAnimating=function(a){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck());gP.prototype._panelDoneAnimating.call(this,a)};f._getChangeEvent=function(a){return new Zsc(this,a)};f._getOverlayMinWidth=function(){var a;return null==(a=this._triggerRect)?void 0:a.width};
f._calculateOverlayOffsetX=function(){var a=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),b=this._viewportRuler.getViewportSize(),c=this._isRtl(),d=this.multiple?56:32;var e=this.multiple?40:this.disableOptionCentering?16:(e=this._selectionModel.selected[0]||this.options.first)&&e.group?32:16;c||(e*=-1);var g=-(a.left+e-(c?d:0));a=a.right+e-b.width+(c?0:d);0<g?e+=g+8:0<a&&(e-=a+8);this._overlayDir.offsetX=Math.round(e);this._overlayDir.overlayRef.updatePosition()};
f._calculateOverlayOffsetY=function(a,b,c){var d=this._getItemHeight(),e=(d-this._triggerRect.height)/2,g=Math.floor(256/d);return this.disableOptionCentering?0:Math.round(-1*(0===this._scrollTop?a*d:this._scrollTop===c?(a-(this._getItemCount()-g))*d+(d-(this._getItemCount()*d-256)%d):b-d/2)-e)};
f._checkOverlayWithinViewport=function(a){var b=this._getItemHeight(),c=this._viewportRuler.getViewportSize(),d=this._triggerRect.top-8;c=c.height-this._triggerRect.bottom-8;var e=Math.abs(this._offsetY);b=Math.min(this._getItemCount()*b,256)-e-this._triggerRect.height;b>c?this._adjustPanelUp(b,c):e>d?this._adjustPanelDown(e,d,a):this._transformOrigin=this._getOriginBasedOnOption()};
f._adjustPanelUp=function(a,b){a=Math.round(a-b);this._scrollTop-=a;this._offsetY-=a;this._transformOrigin=this._getOriginBasedOnOption();0>=this._scrollTop&&(this._offsetY=this._scrollTop=0,this._transformOrigin="50% bottom 0px")};f._adjustPanelDown=function(a,b,c){a=Math.round(a-b);this._scrollTop+=a;this._offsetY+=a;this._transformOrigin=this._getOriginBasedOnOption();this._scrollTop>=c&&(this._scrollTop=c,this._offsetY=0,this._transformOrigin="50% top 0px")};
f._calculateOverlayPosition=function(){var a=this._getItemHeight(),b=this._getItemCount(),c=Math.min(b*a,256);a=b*a-c;b=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0);b+=Noa(b,this.options,this.optionGroups);c/=2;this._scrollTop=this._calculateOverlayScroll(b,c,a);this._offsetY=this._calculateOverlayOffsetY(b,c,a);this._checkOverlayWithinViewport(a)};
f._getOriginBasedOnOption=function(){var a=this._getItemHeight();return"50% "+(Math.abs(this._offsetY)-(a-this._triggerRect.height)/2+a/2)+"px 0px"};f._getItemHeight=function(){return 3*this._triggerFontSize};f._getItemCount=function(){return this.options.length+this.optionGroups.length};iP.\u0275fac=function(){var a;return function(b){return(a||(a=zd(iP)))(b||iP)}}();
iP.\u0275cmp=Mc({type:iP,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(dg(c,Wsc,5),dg(c,sA,5),dg(c,T_b,5));if(a&2){var d;bg(d=eg())&&(b.customTrigger=d.first);bg(d=eg())&&(b.options=d);bg(d=eg())&&(b.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-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&&(pf("id",b.id)("tabindex",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()),yf("mat-select-disabled",b.disabled)("mat-select-invalid",b.errorState)("mat-select-required",b.required)("mat-select-empty",b.empty)("mat-select-multiple",b.multiple))},inputs:{disabled:"disabled",
disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Pf([{provide:MA,useExisting:iP},{provide:S_b,useExisting:iP}]),lf],ngContentSelectors:["mat-select-trigger","*"],decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],
[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",
3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(a,b){a&1&&(Gf(Ysc),H(0,"div",0,1),M("click",function(){return b.toggle()}),H(3,"div",2),P(4,wIa,2,1,"span",3),P(5,zIa,3,2,"span",4),I(),H(6,"div",5),J(7,"div",6),I()(),P(8,AIa,4,14,"ng-template",7),M("backdropClick",function(){return b.close()})("attach",function(){return b._onAttached()})("detach",
function(){return b.close()}));if(a&2){var c=Lf(1);pf("aria-owns",b.panelOpen?b.id+"-panel":null);B(3);F("ngSwitch",b.empty);pf("id",b._valueId);B(1);F("ngSwitchCase",!0);B(1);F("ngSwitchCase",!1);B(3);F("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayMinWidth",b._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",
b._offsetY)}},dependencies:[Mw,Pw,Qw,Rw,Jz,Iz],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{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;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],
encapsulation:2,data:{animation:[Osc,Psc]},changeDetection:0});var jP=function(){};jP.\u0275fac=function(a){return new (a||jP)};jP.\u0275mod=Oc({type:jP});jP.\u0275inj=xc({providers:[Vsc],imports:[bx,Kz,tA,Lz,wz,RA,tA,Lz]});var kP=function(){};kP.\u0275fac=function(a){return new (a||kP)};kP.\u0275mod=Oc({type:kP});kP.\u0275inj=xc({imports:[fP,iG,cG,Kz,vO,eP,jP,xN,QC,uD,SN,ZO,JN]});var lP=function(){};lP.prototype.transform=function(a,b){switch(a){case "EXTERNAL_PARTNER":return b?"Partners":"Visible to Partners";case "EXTERNAL_PUBLIC":return b?"Public":"Visible to Public";default:return""}};lP.\u0275fac=function(a){return new (a||lP)};lP.\u0275pipe=Rc({name:"toAccessLevelLabel",type:lP,pure:!0});var $sc=Zg({opacity:"0"}),atc=De(function(a){return a}),btc=(0,E.pipe)(Ne(),atc,Te()),ctc=new Zc("xap-bubble UX style"),mP=function(a){var b=this;this.activity=new E.Subject;this.openedSubject=new E.BehaviorSubject(!1);this.destroy=new E.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new pw;this.onOpened=new pw;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(zia(function(){return b.activity.pipe(Ke(b.hoverDelayMs))}));
a=bf(this.destroy);this.opened.pipe(btc,a).subscribe(this.onOpened);this.openedSubject.pipe(atc,oja(function(){return b.opened.pipe(De(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};mP.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};mP.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};mP.\u0275fac=function(a){return new (a||mP)(C(ctc,8))};
mP.\u0275cmp=Mc({type:mP,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:[["cdkOverlayOrigin","",1,"xap-bubble-trigger",3,"ngClass","mouseenter","mouseleave","mousemove"],["trigger","cdkOverlayOrigin"],["cdkConnectedOverlay","","cdkConnectedOverlayPush",
"true",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"xap-bubble-panel",3,"ngClass","mouseenter","mouseleave","mousemove"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(Gf(),H(0,"span",0,1),M("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("mousemove",function(){b.activity.next()}),Hf(2),I(),P(3,CIa,2,3,"ng-template",2),S(4,"async"));if(a&2){var c=Lf(1);F("ngClass",b.bubbleStyle);
B(3);F("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",T(4,5,b.opened))}},dependencies:[Mw,Tw,Jz,Iz,Uw],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:[Wg("fade",[ah(":enter",[$sc,Yg("225ms")]),ah(":leave",[Yg("195ms",$sc)])])]}});var nP=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.bubbleText=this.chipClass=""};
nP.prototype.ngOnChanges=function(){if(this.accessLevel)switch(this.accessLevel){case "EXTERNAL_PARTNER":this.chipClass="partner";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.bubbleText='Components and issues designated as "Visible to Public" can be \n              shared with any external user.';break;default:this.bubbleText=
this.chipClass=""}};nP.\u0275fac=function(a){return new (a||nP)(C(bt),C(jJ))};
nP.\u0275cmp=Mc({type:nP,selectors:[["b-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[ed],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["withBubble",""],[1,"chippy","rounded",3,"ngClass"],[3,"panelTemplate"],[1,"chippy","rounded","nowrap",3,"ngClass"],["popup",""],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&P(0,GIa,4,2,"ng-container",0);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:sdc(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;F("ngIf",a)}},dependencies:[Mw,Ow,mP,lP],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 dtc={UNKNOWN:"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"},oP=function(){};oP.prototype.transform=function(a){return dtc[a]};oP.\u0275fac=function(a){return new (a||oP)};oP.\u0275pipe=Rc({name:"toCustomFieldTypeDisplayValue",type:oP,pure:!0});var pP=function(){};pP.prototype.transform=function(a,b){var c;a=null==(c=a.split("@"))?void 0:c[0];b&&a.length>b&&(b=(b-3)/2,a=a.substring(0,b)+"..."+a.substring(a.length-b));return a+"@"};pP.\u0275fac=function(a){return new (a||pP)};pP.\u0275pipe=Rc({name:"shortenEmail",type:pP,pure:!0});var qP=function(){};qP.\u0275fac=function(a){return new (a||qP)};qP.\u0275mod=Oc({type:qP});qP.\u0275inj=xc({imports:[cG]});var rP=function(){};rP.\u0275fac=function(a){return new (a||rP)};rP.\u0275mod=Oc({type:rP});rP.\u0275inj=xc({imports:[bx,Kz]});var sP=function(){};sP.\u0275fac=function(a){return new (a||sP)};sP.\u0275mod=Oc({type:sP});sP.\u0275inj=xc({imports:[cG,qP,rP]});var tP=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new pw};tP.prototype.ngOnInit=function(){};
tP.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)}))};tP.\u0275fac=function(a){return new (a||tP)(C(bt),C(WE),C(TH),C(oG))};
tP.\u0275cmp=Mc({type:tP,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&&(H(0,"button",0),M("click",function(){return b.toggle()}),P(1,HIa,2,0,"ng-container",1),R(2,"CC me\n"),I());a&2&&(B(1),F("ngIf",b.ccState))},dependencies:[Ow,qA],encapsulation:2});var uP=function(a,b){GE.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new pw;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};U(uP,GE);uP.\u0275dir=GE.\u0275dir;
uP.prototype.onClick=function(){var a=this;if(null!=this.issueId&&!this.isSaving){var b=(this.upvoted=!this.upvoted)?1:-1;this.voteCount+=b;this.onVote.emit(this.upvoted);this.isSaving=!0;this.issueFridge.setVoted(String(this.issueId),this.upvoted).pipe(Oe(),bf(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};uP.\u0275fac=function(a){return new (a||uP)(C(oG),C(YH))};
uP.\u0275cmp=Mc({type:uP,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[lf],decls:4,vars:5,consts:[["mat-button","",1,"gmat-button","small",3,"matTooltip","click"],["svgIcon","exposure_plus_1_24px",1,"icon-m"],[3,"title"]],template:function(a,b){a&1&&(H(0,"button",0),M("click",function(){return b.onClick()}),J(1,"mat-icon",1),H(2,"output",
2),R(3),I()());a&2&&(F("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),pf("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),B(2),If("title","",b.voteCount," votes on this issue"),B(1),Mf(" ",9999<b.voteCount?"9999+":b.voteCount," "))},dependencies:[bB,qA,tC],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 VIa=function(){return[]},vP=function(a,b,c,d,e,g,h){GE.call(this);var m=this;this.issuesApi=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.relationshipService=e;this.issueFridge=g;this.butterBar=h;this.STATUS_JS_FULL_TEXT=Al;this.ISSUE_PRIORITY_TEXT_JS=rec;this.ISSUE_PRIORITY_ENUM=wac;this.providedIssueId$=new E.ReplaySubject(1);this.issueFetchResponse$=this.providedIssueId$.pipe(af(function(r){return m.issuesApi.getIssue(r)}));this.editIssue=jm;this.FormattingMode=sac;this.init=new E.ReplaySubject(1)};
U(vP,GE);vP.\u0275dir=GE.\u0275dir;vP.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issueFetchResponse$.pipe(bf(this.destroyed$)).subscribe(function(b){a.issue=b.issue;a.firstEvent=b.firstEvent;a.cdr.markForCheck();a.init.next()})};vP.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
vP.prototype.getNote=function(){var a,b;return{commentNumber:1,unlinkifiedComment:(null==(a=this.firstEvent)?void 0:a.unlinkifiedComment)||"",formattedComment:null==(b=this.firstEvent)?void 0:b.formattedComment}};
var UIa=function(a,b){return qi(b).includes(a.activeSession.getUserEmail())},PIa=function(a,b){var c;return ne(function(d){if(1==d.nextAddress)return c=a.issueId,AF(a.issueFridge,b,function(e){var g=e.parentIssueIds.indexOf(c);0>g||(e.parentIssueIds.splice(g,1),Object.assign({},e))}),oe(d,2,3),d.yield((0,E.firstValueFrom)(a.relationshipService.delete(c,1,b)),3);if(2!=d.nextAddress)return pe(d),a.issueFridge.poke(b),qe(d,0);re(d);a.butterBar.showWarning("Error removing the parent issue.");return d.jumpTo(3)})};
vP.\u0275fac=function(a){return new (a||vP)(C(XE),C(PH,2),C(bt),C(TH),C(lF),C(YH),C(lG))};
vP.\u0275cmp=Mc({type:vP,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[Pf([PH]),lf],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[4,"ngIf"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"labelOnlyMode","accessLevel"],[1,"priority-status"],[1,"bv2-priority",3,"ngClass"],[3,"ngSwitch",4,"ngIf"],[1,"issue-card-buttons",
"margin-y"],[3,"issueId","ccState","onCc"],["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&&(H(0,"div",
0),P(1,WIa,23,16,"ng-container",1),I());a&2&&(B(1),F("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[Mw,Ow,Pw,Qw,Rw,nP,qA,tC,rM,VK,YO,uP,tP],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 wP=function(){};wP.\u0275fac=function(a){return new (a||wP)};wP.\u0275mod=Oc({type:wP});wP.\u0275inj=xc({imports:[QN,cG,eP]});var xP=function(){};xP.prototype.transform=function(a){if(Fl(a))return a};xP.\u0275fac=function(a){return new (a||xP)};xP.\u0275pipe=Rc({name:"omitObfuscatedEmail",type:xP,pure:!0});var etc=function(a){this.session=a;this.isNonObfuscatedEmail=Fl;this.email="";this.withProfile=!0;this.enableWaldoAvailability=EE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};etc.\u0275fac=function(a){return new (a||etc)(C(bt))};
etc.\u0275cmp=Mc({type:etc,selectors:[["b-user-email"]],inputs:{email:"email",withProfile:"withProfile"},decls:6,vars:4,consts:[[1,"bv2-email-with-profile-container"],["class","bv2-email-with-profile-avatar",3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["emailDisplay",""],["class","bv2-email-with-profile-waldo",4,"ngIf"],[1,"bv2-email-with-profile-avatar",3,"email"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"bv2-email-with-profile-waldo"],["coinonly",
"",3,"user"]],template:function(a,b){a&1&&(H(0,"span",0),P(1,XIa,1,1,"b-user-image",1),P(2,ZIa,6,3,"ng-container",2),P(3,$Ia,2,1,"ng-template",null,3,hg),P(5,aJa,2,1,"span",4),I());if(a&2){var c=Lf(4);B(1);F("ngIf",b.withProfile);B(1);F("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",c);B(3);F("ngIf",b.enableWaldoAvailability)}},dependencies:[Ow,Tw,fJ,NK,jK,oK,PK],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 yP=function(a,b,c){GE.call(this);var d=this;this.teamsService=a;this.session=b;this.principalTypes=c;this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new E.ReplaySubject(1);this.providedUser$=new E.ReplaySubject(1);this.providedEmail$=new E.ReplaySubject(1);this.isNonObfuscatedEmail=Fl;this.isGroup=!1;this.fetchedTeam$=this.providedTeamId$.pipe(af(function(e){return wI(d.teamsService,e)}));this.detailedUserType$=this.providedUser$.pipe(D(function(e){e=e?e&&e.getUserGaiaStatus?
e.getAliasesList():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"}),$e("NO_DETAILED_TYPE"));this.isTeamMember$=(0,E.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe(af(function(e){var g=k(e);e=g.next().value;g=g.next().value;return njc(d.teamsService,
e,g)}),$e(!1),Ie(function(){return(0,E.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(D(function(e){return"Member of "+e.name}));this.groupMembershipType$=(0,E.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;if(d.enableExternalAnnotations){if("PUBLIC"===e)return"PUBLIC_USER";if("EXTERNAL"===e)return"PARTNER_USER"}return g?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableExternalAnnotations=EE(this.session,
"enableExternalAnnotations");this.enableQuickAddCollaborators=EE(this.session,"enableQuickAddCollaborators");this.enableWaldoAvailability=EE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(D(function(e){return d.enableSmallChip?"user-chip-small":e&&"INTERNAL_NON_TEAM_MEMBER"!==e?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(D(function(e){if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===
e)return"team-member-chip";if("PARTNER_USER"===e)return"partner-chip";if("PUBLIC_USER"===e)return"public-chip"}else return"internal-non-team-member-chip";return""}));this.shouldShowIcon$=this.groupMembershipType$.pipe(D(function(e){return e&&"INTERNAL_NON_TEAM_MEMBER"!==e}));this.iconName$=this.groupMembershipType$.pipe(D(function(e){if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===e)return"people-outline";if("PARTNER_USER"===e)return"enterprise";if("PUBLIC_USER"===e)return"public"}return""}));
this.iconToolTip$=this.groupMembershipType$.pipe(df(this.teamUser$),D(function(e){var g=k(e);e=g.next().value;g=g.next().value;if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===e)return g;if("PARTNER_USER"===e)return"Partner user";if("PUBLIC_USER"===e)return"Public user"}return""}))};U(yP,GE);yP.\u0275dir=GE.\u0275dir;
yP.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.providedEmail$.subscribe(function(){a.enableGroupIcon&&a.enableQuickAddCollaborators&&DJ(a.principalTypes,a.email,!1).then(function(b){a.isGroup="GROUP"===b.principalType})}))};yP.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)};
yP.\u0275fac=function(a){return new (a||yP)(C(vI),C(bt),C(CJ))};
yP.\u0275cmp=Mc({type:yP,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},features:[lf,ed],decls:11,vars:13,consts:[[3,"ngClass"],[4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],["smallChipContents",""],[3,"svgIcon","matTooltip",4,"ngIf"],["name","group_24px","size","small",4,"ngIf","ngIfElse"],["userImage",""],["name","group_24px","size","small"],
[1,"bv2-profile-avatar",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[4,"ngIf","ngIfElse"],["emailDisplay",""],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(H(0,"span",0),S(1,"async"),H(2,"span",0),S(3,"async"),P(4,dJa,4,2,"ng-container",1),P(5,eJa,1,3,"b-user-display-name",2),P(6,iJa,3,2,
"ng-template",null,3,hg),P(8,jJa,3,6,"mat-icon",4),S(9,"async"),I()(),P(10,kJa,2,1,"ng-container",1));if(a&2){var c=Lf(7),d,e;F("ngClass",null!==(d=T(1,7,b.userTypeClass$))&&void 0!==d?d:"");B(2);F("ngClass",null!==(e=T(3,9,b.userChipType$))&&void 0!==e?e:"");B(2);F("ngIf",b.enableSmallChip);B(1);F("ngIf",!b.enableSmallChip)("ngIfElse",c);B(3);F("ngIf",T(9,11,b.shouldShowIcon$));B(2);F("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[Mw,Ow,Tw,bB,fJ,GN,tC,NK,jK,oK,PK,OK,Uw],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}[_nghost-%COMP%]     span.bv2-profile-avatar, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;vertical-align:middle;width:12px;height:12px;line-height:12px}[_nghost-%COMP%]     span.bv2-profile-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:12px;width:12px}"],
changeDetection:0});var zP=function(){};zP.\u0275fac=function(a){return new (a||zP)};zP.\u0275mod=Oc({type:zP});zP.\u0275inj=xc({imports:[cG,wP,bO,uD,SN,ZO,JN]});var AP=function(){};AP.\u0275fac=function(a){return new (a||AP)};AP.\u0275mod=Oc({type:AP});AP.\u0275inj=xc({imports:[cG,QC,uD]});var BP=function(){};BP.\u0275fac=function(a){return new (a||BP)};BP.\u0275mod=Oc({type:BP});BP.\u0275inj=xc({providers:[{provide:bqc,useValue:vP}],imports:[cG,sP,QC,uD,zP,IN,kP,AP]});var CP=function(a){this.issuesApi=a};CP.prototype.get=function(a){return this.issuesApi.getRelatedIssues({resourceType:void 0===a.resourceType?null:a.resourceType,resourceId:void 0===a.resourceId?null:a.resourceId,q:a.query,trackerId:void 0===a.trackerId?null:a.trackerId,s:void 0===a.sort?null:a.sort,count:void 0===a.count?null:a.count,p:void 0===a.page?null:a.page})};CP.\u0275fac=function(a){return new (a||CP)(u(WE))};CP.\u0275prov=wc({token:CP,factory:CP.\u0275fac,providedIn:"root"});var ftc=["panel"],gtc=0,htc=function(a,b){this.source=a;this.option=b},itc=yh(function(){}),jtc=new Zc("mat-autocomplete-default-options",{providedIn:"root",factory:lJa}),DP=function(a,b,c,d){var e=itc.call(this)||this;e._changeDetectorRef=a;e._elementRef=b;e._defaults=c;e._activeOptionChanges=E.Subscription.EMPTY;e.showPanel=!1;e._isOpen=!1;e.displayWith=null;e.optionSelected=new pw;e.opened=new pw;e.closed=new pw;e.optionActivated=new pw;e._classList={};e.id="mat-autocomplete-"+gtc++;e.inertGroups=
(null==d?void 0:d.SAFARI)||!1;e._autoActiveFirstOption=!!c.autoActiveFirstOption;e._autoSelectActiveOption=!!c.autoSelectActiveOption;e._requireSelection=!!c.requireSelection;return e};U(DP,itc);f=DP.prototype;f._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};
f.ngAfterContentInit=function(){var a=this;this._keyManager=h_b(ez(new jz(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()};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._activeOptionChanges.unsubscribe()};f._setScrollTop=function(a){this.panel&&(this.panel.nativeElement.scrollTop=a)};
f._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0};f._setVisibility=function(){this.showPanel=!!this.options.length;this._setVisibilityClasses(this._classList);this._changeDetectorRef.markForCheck()};f._emitSelectEvent=function(a){this.optionSelected.emit(new htc(this,a))};f._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};
f._setVisibilityClasses=function(a){a[this._visibleClass]=this.showPanel;a[this._hiddenClass]=!this.showPanel};f._setThemeClasses=function(a){a["mat-primary"]="primary"===this._color;a["mat-warn"]="warn"===this._color;a["mat-accent"]="accent"===this._color};f._skipPredicate=function(a){return a.disabled};
wh.Object.defineProperties(DP.prototype,{isOpen:{configurable:!0,enumerable:!0,get:function(){return this._isOpen&&this.showPanel}},autoActiveFirstOption:{configurable:!0,enumerable:!0,get:function(){return this._autoActiveFirstOption},set:function(a){this._autoActiveFirstOption=Gg(a)}},autoSelectActiveOption:{configurable:!0,enumerable:!0,get:function(){return this._autoSelectActiveOption},set:function(a){this._autoSelectActiveOption=Gg(a)}},requireSelection:{configurable:!0,enumerable:!0,get:function(){return this._requireSelection},
set:function(a){this._requireSelection=Gg(a)}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&a.length?this._classList=Kma(a).reduce(function(b,c){b[c]=!0;return b},{}):this._classList={};this._setVisibilityClasses(this._classList);this._setThemeClasses(this._classList);this._elementRef.nativeElement.className=""}}});DP.\u0275fac=function(a){return new (a||DP)(C(Hw),C(Bd),C(jtc),C(Lx))};
DP.\u0275dir=Qc({type:DP,viewQuery:function(a,b){a&1&&(cg(Zf,7),cg(ftc,5));if(a&2){var c;bg(c=eg())&&(b.template=c.first);bg(c=eg())&&(b.panel=c.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",
opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[lf]});var ktc=new Zc("mat-autocomplete-scroll-strategy"),ltc={provide:ktc,deps:[Hz],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},EP=function(a,b,c,d,e,g,h,m,r,v,y){var A=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=m;this._document=r;this._viewportRuler=v;this._defaults=y;this._manuallyFloatingLabel=this._autocompleteDisabled=this._componentDestroyed=!1;this._viewportSubscription=E.Subscription.EMPTY;
this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new E.Subject;this._windowBlurHandler=function(){A._canOpenOnNextFocus=A._document.activeElement!==A._element.nativeElement||A.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._overlayAttached=!1;this.optionSelections=(0,E.defer)(function(){var G=A.autocomplete?A.autocomplete.options:null;return G?G.changes.pipe($e(G),af(function(){return E.merge.apply(null,ad(G.map(function(N){return N.onSelectionChange})))})):
A._zone.onStable.pipe(Oe(),af(function(){return A.optionSelections}))});this._handlePanelKeydown=function(G){if(27===G.keyCode&&!Kg(G)||38===G.keyCode&&Kg(G,"altKey")){if(A._pendingAutoselectedOption){var N;A._updateNativeInputValue(null!=(N=A._valueBeforeAutoSelection)?N:"");A._pendingAutoselectedOption=null}A._closeKeyEventStream.next();A._resetActiveItem();G.stopPropagation();G.preventDefault()}};this._trackedModal=null;this._scrollStrategy=g};
EP.prototype.ngAfterViewInit=function(){var a=this,b=this._getWindow();"undefined"!==typeof b&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};EP.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
EP.prototype.ngOnDestroy=function(){var a=this._getWindow();"undefined"!==typeof a&&a.removeEventListener("blur",this._windowBlurHandler);this._viewportSubscription.unsubscribe();this._componentDestroyed=!0;this._destroyPanel();this._closeKeyEventStream.complete();this._clearFromModal()};
var hqb=function(a){a._resetLabel();a._overlayAttached&&(a.panelOpen&&a._zone.run(function(){a.autocomplete.closed.emit()}),a.autocomplete._isOpen=a._overlayAttached=!1,a._pendingAutoselectedOption=null,a._overlayRef&&a._overlayRef.hasAttached()&&(a._overlayRef.detach(),a._closingActionsSubscription.unsubscribe()),a._updatePanelState(),a._componentDestroyed||a._changeDetectorRef.detectChanges())};f=EP.prototype;f.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
f._getOutsideClickStream=function(){var a=this;return(0,E.merge)((0,E.fromEvent)(this._document,"click"),(0,E.fromEvent)(this._document,"auxclick"),(0,E.fromEvent)(this._document,"touchend")).pipe(De(function(b){b=Eg(b);var c=a._formField?a._formField._elementRef.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)}))};f.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this._element.nativeElement.disabled=a};
f._handleKeydown=function(a){var b=a.keyCode,c=Kg(a);27!==b||c||a.preventDefault();if(this.activeOption&&13===b&&this.panelOpen&&!c)this.activeOption._selectViaInteraction(),this._resetActiveItem(),a.preventDefault();else if(this.autocomplete){var d=this.autocomplete._keyManager.activeItem,e=38===b||40===b;if(9===b||e&&!c&&this.panelOpen)this.autocomplete._keyManager.onKeydown(a);else e&&this._canOpen()&&(this._attachOverlay(),this._floatLabel());if(e||this.autocomplete._keyManager.activeItem!==d)this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||
0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value))}};
f._handleInput=function(a){var b=a.target,c=b.value;"number"===b.type&&(c=""==c?null:parseFloat(c));this._previousValue!==c&&(this._previousValue=c,this._pendingAutoselectedOption=null,this._onChange(c),c||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===a.target&&(this._attachOverlay(),this._floatLabel()))};
f._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0};f._handleClick=function(){this._canOpen()&&!this.panelOpen&&(this._attachOverlay(),this._floatLabel())};
f._floatLabel=function(a){this._formField&&"auto"===this._formField.floatLabel&&((void 0===a?0:a)?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)};f._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)};
f._subscribeToClosingActions=function(){var a=this,b=this._zone.onStable.pipe(Oe()),c=this.autocomplete.options.changes.pipe(cf(function(){return B_b(a._positionStrategy)}),Me(0));return(0,E.merge)(b,c).pipe(af(function(){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}),Oe()).subscribe(function(d){return a._setValueAndClose(d)})};
f._emitOpened=function(){this._valueOnOpen=this._element.nativeElement.value;this.autocomplete.opened.emit()};f._destroyPanel=function(){this._overlayRef&&(hqb(this),this._overlayRef.dispose(),this._overlayRef=null)};f._assignOptionValue=function(a){a=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(a):a;this._updateNativeInputValue(null!=a?a:"")};
f._updateNativeInputValue=function(a){this._formField?this._formField._control.value=a:this._element.nativeElement.value=a;this._previousValue=a};
f._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._valueOnOpen&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),c._animationDone?c._animationDone.pipe(Oe()).subscribe(function(){return b._onChange(null)}):
this._onChange(null));hqb(this)};f._clearPreviousSelectedOption=function(a,b){var c,d;null==(c=this.autocomplete)||null==(d=c.options)||d.forEach(function(e){e!==a&&e.selected&&e.deselect(b)})};
f._attachOverlay=function(){var a=this,b=this._overlayRef;if(b)this._positionStrategy.setOrigin(this._getConnectedElement()),b.updateSize({width:this._getPanelWidth()});else{var c;this._portal=new Xx(this.autocomplete.template,this._viewContainerRef,{id:null==(c=this._formField)?void 0:c.getLabelId()});this._overlayRef=b=this._overlay.create(this._getOverlayConfig());this._viewportSubscription=this._viewportRuler.change().subscribe(function(){a.panelOpen&&b&&b.updateSize({width:a._getPanelWidth()})})}b&&
!b.hasAttached()&&(b.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());c=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0;var d;this.autocomplete._setColor(null==(d=this._formField)?void 0:d.color);this._updatePanelState();this._applyModalPanelOwnership();this.panelOpen&&c!==this.panelOpen&&this._emitOpened()};
f._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{null==(a=this._keydownSubscription)||a.unsubscribe();var b;null==(b=this._outsideClickSubscription)||b.unsubscribe();this._keydownSubscription=this._outsideClickSubscription=null}};
f._getOverlayConfig=function(){var a,b;return new zz({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:null!=(b=this._dir)?b:void 0,panelClass:null==(a=this._defaults)?void 0:a.overlayPanelClass})};f._getOverlayPosition=function(){var a=E_b(Ez(Gz(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
f._setStrategyPositions=function(a){var b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=this._aboveClass;c=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:c},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:c}];b="above"===this.position?c:"below"===this.position?b:[].concat(ad(b),ad(c));Cz(a,b)};
f._getConnectedElement=function(){if(this.connectedTo)var a=this.connectedTo.elementRef;else this._formField?(a=this._formField,a=a._connectionContainerRef||a._elementRef):a=this._element;return a};f._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()};f._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width};
f._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)};f._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this._autocompleteDisabled};f._getWindow=function(){var a;return(null==(a=this._document)?void 0:a.defaultView)||window};
f._scrollToOption=function(a){var b=this.autocomplete,c=Noa(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Ooa(a.offsetTop,a.offsetHeight,b._getScrollTop(),b.panel.nativeElement.offsetHeight)))};
f._applyModalPanelOwnership=function(){var a=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.autocomplete.id;this._trackedModal&&th(this._trackedModal,"aria-owns",b);xoa(a,"aria-owns",b);this._trackedModal=a}};f._clearFromModal=function(){this._trackedModal&&(th(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
wh.Object.defineProperties(EP.prototype,{autocompleteDisabled:{configurable:!0,enumerable:!0,get:function(){return this._autocompleteDisabled},set:function(a){this._autocompleteDisabled=Gg(a)}},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,E.merge)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(De(function(){return a._overlayAttached})),
this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(De(function(){return a._overlayAttached})):(0,E.of)()).pipe(D(function(b){return b instanceof i0b?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});
EP.\u0275fac=function(a){return new (a||EP)(C(Bd),C(Hz),C($f),C(ef),C(Hw),C(ktc),C(lz,8),C(h1b,9),C(uh,8),C(vz),C(jtc,8))};EP.\u0275dir=Qc({type:EP,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[ed]});var mtc={provide:dx,useExisting:Cc(function(){return FP}),multi:!0},FP=function(){EP.apply(this,arguments);this._aboveClass="mat-autocomplete-panel-above"};U(FP,EP);FP.\u0275fac=function(){var a;return function(b){return(a||(a=zd(FP)))(b||FP)}}();
FP.\u0275dir=Qc({type:FP,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-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&&pf("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-owns",b.autocompleteDisabled||!b.panelOpen?null:null==b.autocomplete?null:b.autocomplete.id)("aria-haspopup",b.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Pf([mtc]),lf]});var GP=function(){var a=DP.apply(this,arguments)||this;a._visibleClass="mat-autocomplete-visible";a._hiddenClass="mat-autocomplete-hidden";a._animationDone=null;return a};U(GP,DP);GP.\u0275dir=DP.\u0275dir;GP.\u0275fac=function(){var a;return function(b){return(a||(a=zd(GP)))(b||GP)}}();
GP.\u0275cmp=Mc({type:GP,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(dg(c,T_b,5),dg(c,sA,5));if(a&2){var d;bg(d=eg())&&(b.optionGroups=d);bg(d=eg())&&(b.options=d)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[Pf([{provide:S_b,useExisting:GP}]),lf],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(a){a&
1&&(Gf(),P(0,mJa,3,4,"ng-template"))},dependencies:[Mw],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],
encapsulation:2,changeDetection:0});var HP=function(){};HP.\u0275fac=function(a){return new (a||HP)};HP.\u0275mod=Oc({type:HP});HP.\u0275inj=xc({providers:[ltc],imports:[Kz,tA,Lz,bx,wz,tA,Lz]});var IP=function(a,b,c,d,e,g,h){GE.call(this);var m=this;this.cdr=a;this.paths=b;this.issueFridge=c;this.relatedIssues=d;this.errorHandler=e;this.domSafe=g;this.currentTracker=h;this.STATUS_ICON=wec;this.entrySelect=new pw;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new pw;this.getTextToPutInInputOnSelect=function(){return m.query}};U(IP,GE);IP.\u0275dir=GE.\u0275dir;
IP.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(Ke(250),bf(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};IP.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(ad(this.defaultChoices),ad(this.asyncChoices)))};IP.prototype.selectIssue=function(a){ntc(this,[a])};
var ptc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(otc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return Wp(b)?[b]:[]},otc=function(a){return!a.some(function(b){return!Wp(b)})};IP.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
IP.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)qtc(this);else{var b=ptc(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",rtc(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var qtc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;ntc(a,[])},ntc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||hqb(c)},rtc=function(a,b,c){var d;"issue"===(null==(d=a.currentResource)?void 0:d.type)&&1===b.length&&b[0]===a.currentResource.id?(a.searchingForSelf=!0,qtc(a)):(a.choices=stc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(Oe(),bf(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var g=e.reduce(function(h,m){var r=na(m.snapshot);return h.set(m.issueId,{resourceId:m.issueId,displayText:r.title,status:r.status,relations:[]})},new Map);waa(b);e=b.map(function(h){return g.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(ad(a.choices),ad(a.asyncChoices));ntc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
IP.prototype.searchAsync=function(a){var b=this;this.choices=ttc(this,a);this.hasLoadedResults=!1;if(Ok(a))this.hasLoadedResults=!0;else{var c=utc(a,this.defaultChoices),d,e;this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:null==(d=this.currentResource)?void 0:d.type,resourceId:yi(null==(e=this.currentResource)?void 0:e.id),nonParallelRequest:!0}).then(function(g){b.currentQuery===a&&(g=g.issueDigests.map(function(h){return{resourceId:h.issueId,displayText:h.title,
status:h.status,relations:[]}}),b.choices=[].concat(ad(b.choices),ad(g)),b.cdr.detectChanges())},function(g){b.errorHandler.errorHandler(null,g)}).finally(function(){b.hasLoadedResults=!0})}};var stc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},ttc=function(a,b){return Ok(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};IP.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var sJa=function(a){return a.relations.map(function(b){return vtc.get(b)}).filter(function(b){return!!b}).join("/")},utc=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};IP.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};wh.Object.defineProperties(IP.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
IP.\u0275fac=function(a){return new (a||IP)(C(PH,2),C(dH),C(YH),C(CP),C(oG),C(LK),C(eL))};
IP.\u0275cmp=Mc({type:IP,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&cg(FP,5);if(a&2){var c;bg(c=eg())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[Pf([CP,PH]),lf,ed],decls:9,vars:8,consts:[[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,"ngModel","matAutocomplete","ngModelChange","keydown.enter","keydown.alt.arrowright"],[1,"issue-picker","base-resource-picker",3,"displayWith","optionActivated","optionSelected"],["auto","matAutocomplete"],["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"],["issueHovercard","onedevHovercard"],[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,"onedevHovercardTrigger","href","click"],["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"],["cardBody",""]],template:function(a,b){a&1&&(H(0,"div",0),P(1,nJa,3,0,"div",1),H(2,"div",2)(3,"input",3),M("ngModelChange",function(d){return b.search(d)})("keydown.enter",
function(d){return b.onEnter(d)})("keydown.alt.arrowright",function(){b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice))}),I(),H(4,"mat-autocomplete",4,5),M("optionActivated",function(d){b.activeChoice=null==d.option?null:d.option.value})("optionSelected",function(d){return b.selectIssue(d.option.value)}),P(6,oJa,3,1,"mat-option",6),P(7,pJa,2,0,"mat-option",7),P(8,tJa,14,13,"mat-option",8),I()()());if(a&2){var c=Lf(5);B(1);F("ngIf",b.searchingForSelf);B(2);F("ngModel",b.query)("matAutocomplete",
c);pf("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue");B(1);F("displayWith",b.getTextToPutInInputOnSelect);B(2);F("ngIf",""!==b.query&&!b.hasLoadedResults);B(1);F("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length);B(1);F("ngForOf",b.choices)}},dependencies:[Nw,Ow,bB,xg,ox,ux,jK,kK,oK,lK,vP,GP,FP,sA,rA,wM,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-autocomplete-panel.issue-picker{max-height:400px;width:450px}.mat-autocomplete-panel.issue-picker .mat-option{font-size:inherit;line-height:inherit;white-space:inherit;height:auto;min-height:40px;padding:10px}.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item{cursor:pointer;padding:10px}.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item:hover,.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item.selected{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.mat-autocomplete-panel.issue-picker .bv2-resource-picker-message{color:#5f6368;color:var(--muted);padding:5px;text-align:center}.mat-autocomplete-panel.issue-picker .margin-none{margin:0}.mat-autocomplete-panel.issue-picker .bv2-issue-picker-relations{color:#5f6368;color:var(--muted);float:right;font-style:italic}.mat-autocomplete-panel.issue-picker .bv2-issue-picker-issue-id{margin-left:5px;opacity:.8}.mat-autocomplete-panel.issue-picker .bv2-issue-picker-description{margin-left:20px}.mat-autocomplete-panel.issue-picker .bv2-issue-picker-pop-out{float:right;visibility:hidden}.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item:hover .bv2-issue-picker-pop-out,.mat-autocomplete-panel.issue-picker .bv2-resource-picker-item.selected .bv2-issue-picker-pop-out{visibility:visible}.mat-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 vtc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]);var JP=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+"+":""},xJa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(In(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};f=JP.prototype;f.onQueryChange=function(a){this.isQueryRestricted=""!==this.queryRestriction&&a.includes(this.queryRestriction)};f.onEnter=function(){if(0!==this.selectedIssues.length)this.onPressConfirm()};f.onEscape=function(){this.dialogRef.close()};f.onPressConfirm=function(){var a,b={selectedIssueIds:this.selectedIssues.map(function(c){return c.resourceId}),lastSearchType:null==(a=this.issuePicker)?void 0:a.lastSearchType};this.dialogRef.close(b)};f.onPressCancel=function(){this.dialogRef.close()};
JP.\u0275fac=function(a){return new (a||JP)(C(AA),C(CA),C(IJ))};
JP.\u0275cmp=Mc({type:JP,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&cg(IP,5);if(a&2){var c;bg(c=eg())&&(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,"defaultChoices","currentResource","allowMultipleIds","keydown.enter","entrySelect","queryChange"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],[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,"matTooltip","click","keyup.space"]],template:function(a,b){a&1&&(H(0,"h2",0),R(1),I(),H(2,"div",1)(3,"div",2),P(4,vJa,2,1,"div",3),P(5,wJa,6,2,"div",3),I(),H(6,"div",4)(7,"div",5),P(8,yJa,2,2,"div",6),H(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)}),I()()()(),H(10,"div",8)(11,"button",9),M("click",function(){return b.onPressCancel()}),R(12," Cancel "),I(),H(13,"button",10),M("click",function(){return b.onPressConfirm()}),R(14," Confirm "),I()());a&2&&(B(1),Mf(" ",b.data.title,"\n"),B(3),F("ngIf",1<b.selectedIssues.length),B(1),F("ngIf",1===b.selectedIssues.length),B(3),F("ngIf",!!b.queryRestriction),
B(1),yf("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),F("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),B(4),F("disabled",!b.selectedIssues.length))},dependencies:[Nw,Ow,bB,qA,FA,GA,HA,tC,IP],encapsulation:2});var KP=function(){};KP.\u0275fac=function(a){return new (a||KP)};KP.\u0275mod=Oc({type:KP});KP.\u0275inj=xc({imports:[aK,cG,Jx,JN,BP,HP,QC,IA,uD,eO]});var wtc=new Zc("XapHatsSurveyApiKey"),xtc=new Zc("XapHatsSurveyLocale"),ytc=new Zc("XapHatsSurveyWindow"),ztc=new Zc("XapHatsSurveyListnrProductId");var Atc=new Map([[0,1],[1,2]]),LP=function(a,b,c,d,e){var g=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=eac(hac,"help.service.Lazy.create",b,{apiKey:h.apiKey||h.apiKey,environment:h.environment||h.environment,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 gac(h)};this.helpService=e?e.runOutsideAngular(g):g()},Btc=function(a,b,c){c=void 0===c?{}:c;var d=void 0===d?{}:d;var e=d.anonymous?void 0:d.authUser||0;return(new E.Observable(function(g){a.helpService.requestSurvey({triggerId:b,enableTestingMode:d.enableTestingMode,nonProd:d.nonProd,callback:function(h){null!=h.surveyData&&g.next(h.surveyData);g.complete()},authuser:e})})).pipe(af(function(g){return new E.Observable(function(h){var m;a.helpService.presentSurvey({surveyData:g,
colorScheme:d.theme?Atc.get(d.theme):1,authuser:e,customZIndex:null!=(m=d.zIndex)?m:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()}}});h.next(g.surveyMetadata)})}))};LP.\u0275fac=function(a){return new (a||LP)(u(wtc),u(ztc),u(xtc,8),u(ytc,8),u(ef,8))};LP.\u0275prov=wc({token:LP,factory:LP.\u0275fac,providedIn:"any"});var Ctc=io.ISSUE_PICKER,MP=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
MP.prototype.open=function(a,b){var c=this,d=Dtc(this,a),e=d.dialog,g=d.config;return new Promise(function(h){yA(c.dialog.open(e,g)).subscribe(function(m){var r,v=null!=(r=null==m?void 0:m.selectedIssueIds)?r:[],y;m=null!=(y=null==m?void 0:m.lastSearchType)?y:"";y=[a.originIsBulk?"bulk":void 0,1<v.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent(Ctc,y,m);null==b||b(v);h(v);c.activeSession.isInternalSession()&&"id"===m&&Btc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Oe()).subscribe()})})};
var Dtc=function(a,b){var c={panelClass:"no-jitter",data:b};return EE(a.activeSession,"enableIDPCanonicalIssuePicker")&&"canonical"===b.edgeType?(c.width="60vw",c.minWidth="800px",{dialog:FN,config:c}):{dialog:JP,config:c}};MP.\u0275fac=function(a){return new (a||MP)(u(DA),u(TH),u(LP),u(bt))};MP.\u0275prov=wc({token:MP,factory:MP.\u0275fac,providedIn:"root"});var NP=function(){};NP.\u0275fac=function(a){return new (a||NP)};NP.\u0275mod=Oc({type:NP});NP.\u0275inj=xc({imports:[KP,tO]});var jo={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b;return!!xl().user.email&&xl().user.email===(null==(b=a.snapshot[0].assigneeUser)?void 0:b.emailAddress)},queryFragment:"assignee:me",tooltip:"Issues with me as the assignee"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return Nl(a)},queryFragment:"status:open",tooltip:'Issues that match "status:open"'},FIXED:{key:"FIXED",displayAs:"Fixed",check:function(a){return nva(a,"FIXED")},queryFragment:"status:fixed"},
BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return nva(a,"ASSIGNED")||nva(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=void 0===b?6048E5:b;var c=Date.now(),d,e,g=(null!=(e=null==(d=a.aggregatedData)?void 0:d.createdTimeMicros)?e:0)/1E3;return c-g<b&&!uva(a)},queryFragment:"created:7d commentcount<2",
tooltip:"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=void 0===b?6048E5:b;var c=Date.now(),d,e=(null!=(d=a.majorModifiedTimeMicros)?d:0)/1E3;return c-e<b&&uva(a)},queryFragment:"modified:7d commentcount>1",tooltip:'Issues with activity in the last seven days (excluding "creation")'}};var OP=function(a){this.pathToAncestor=a},lo=function(a){return new OP(a.split(">"))},PP=function(a,b){return new OP([].concat(ad(a.pathToAncestor),[b]))};OP.prototype.hash=function(){return this.pathToAncestor.join(">")};OP.prototype.equals=function(a){return!!a&&Yh(this.pathToAncestor,a.pathToAncestor)};var Etc=function(a,b){a=k(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=k(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
OP.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};OP.prototype.some=function(a){return this.pathToAncestor.some(a)};OP.prototype.toString=function(){return this.hash()};
wh.Object.defineProperties(OP.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 OP(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var QP=function(){var a=this;this.draftRows=new Map;this.changed$=new E.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};QP.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:PP(a,d),level:a.size-1,issue$:(0,E.of)(b),afterDraftId:null==c?void 0:c.afterDraftId,afterIssueId:null==c?void 0:c.afterIssueId,id:d,saving:!1,draftStartedAt:new Date};this.set(a,b);return b};
QP.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};QP.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(g){return g.id!==a.id});if(c.length!==d.length){c=k(d);for(var e=c.next();!e.done;e=c.next())e=e.value,e.afterDraftId===a.id&&(e.afterDraftId=a.afterDraftId);this.draftRows.set(b.hash(),d);this.changed$.next(this.draftRows)}};
var Ftc=function(a,b){return ne(function(c){return c.return((0,E.firstValueFrom)(a.changed$.pipe($e(a.draftRows),D(function(d){return![].concat(ad(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),De(Boolean),D(function(){}))))})},Gtc=function(a,b,c){b.issueId=c;for(var d=k(a.draftRows.values()),e=d.next();!e.done;e=d.next()){e=k(e.value);for(var g=e.next();!g.done;g=e.next())g=g.value,g.afterDraftId===b.id&&(g.afterIssueId=c)}a.changed$.next(a.draftRows)};
QP.prototype.isSaving=function(){return[].concat(ad(this.draftRows.values())).flat().some(function(a){return a.saving})};QP.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(ad(c),[b]));this.changed$.next(this.draftRows)};var Htc={defaultExpandedChildren:0,defaultExpansionLevel:0,maxExpansion:Infinity},Itc=function(a){var b={defaultExpansionLevel:3,defaultExpandedChildren:10,maxExpansion:500};b=void 0===b?Htc:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new E.ReplaySubject(1)},RP=function(a,b){b=b.hash();return a.expansionState[b]},SP=function(a,b,c){b=b.hash();void 0===c?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},Jtc=function(a,b,
c){var d=!1;c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var g=PP(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===RP(a,e)&&(a.expansionState[g.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=k(Object.entries(a.expansionState)),m=h.next();!m.done;m=h.next()){m=k(m.value);var r=m.next().value;m=m.next().value;r=lo(r);r.contains(e)&&(d=r.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),g.pathToAncestor.join(",")).split(","),d=new OP(d),delete a.expansionState[r.hash()],
a.expansionState[d.hash()]=m,d=!0)}}if(!RP(a,b)){var v;a.expansionState[b.hash()]=null!=(v=a.config.defaultExpandedChildren)?v:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)},Ktc=function(a){var b=new Map;a=k(Object.entries(a.expansionState));for(var c=a.next();!c.done;c=a.next()){c=k(c.value);var d=c.next().value;c=c.next().value;d=lo(d).nodeId;var e=void 0;c=Math.max(c,null!=(e=b.get(d))?e:0);b.set(d,c)}return b};var TP=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=xi(this.activeSession.getUserEmail())},Mtc=function(a,b){var c,d,e;return ne(function(g){if(1==g.nextAddress)return g.yield(Ltc(a,b),2);c=g.yieldResult;d=c.component;e=c.defaultTemplate;return g.return(Pua(d,e))})},Otc=function(a,b){var c;return ne(function(d){if(1==d.nextAddress)return d.yield(Ntc(a,b),2);c=d.yieldResult;return d.return({snapshot:[c],
issueId:"",userData:void 0,aggregatedData:void 0,accessLimit:void 0,customFields:[],visibleFields:[],majorModifiedTimeMicros:0,parentIssueIds:[],ancestors:new Map,childIssueCount:0,isArchived:!1,relatedLinks:[]})})},Ptc=function(a,b,c){var d;return ne(function(e){if(1==e.nextAddress)return e.yield(Ntc(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
TP.prototype.create=function(a){var b=this,c,d;return ne(function(e){return 1==e.nextAddress?e.yield(b.issueApi.createIssue({snapshot:a}),2):3!=e.nextAddress?(c=e.yieldResult,d=c.issueId,e.yield(b.issueFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var Ntc=function(a,b){var c,d,e,g,h;return ne(function(m){if(1==m.nextAddress)return m.yield((0,E.firstValueFrom)(a.issueFridge.watch(b).pipe(De(Ei))),2);if(3!=m.nextAddress)return c=m.yieldResult,m.yield(Ltc(a,String(c.snapshot[0].componentId)),3);d=m.yieldResult;e=d.component;g=d.defaultTemplate;if(c){var r={};c.snapshot[0].priority&&(r.priority=c.snapshot[0].priority);c.snapshot[0].severity&&(r.severity=c.snapshot[0].severity);c.snapshot[0].type&&(r.type=Nic[c.snapshot[0].type])}else r={};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]},r,Qtc(g),Rtc(e,g));h.assigneeUser&&(h.status="ASSIGNED");return m.return(h)})},Qtc=function(a){if(!a)return{};a=$b(a.snapshot,function(b){return null==b||"string"===typeof b&&Ok(b)?!1:!0});delete a.componentId;return a},Rtc=function(a,b){var c=[],d,e;a=k(null!=(e=null==(d=a.componentPathInfo)?
void 0:d.allCustomField)?e:[]);e=a.next();for(d={};!e.done;d={$jscomp$loop$prop$customField$312054373$4:d.$jscomp$loop$prop$customField$312054373$4},e=a.next())if(d.$jscomp$loop$prop$customField$312054373$4=e.value,d.$jscomp$loop$prop$customField$312054373$4.required){var g=void 0;e=null!=(g=d.$jscomp$loop$prop$customField$312054373$4.typedDefaultValue)?g:new ni({customFieldId:d.$jscomp$loop$prop$customField$312054373$4.customFieldId});var h=g=void 0,m=void 0,r=null!=(m=null==(g=b)?void 0:null==(h=
g.snapshot.customField)?void 0:h.find(function(v){return function(y){return y.customFieldId===v.$jscomp$loop$prop$customField$312054373$4.customFieldId}}(d)))?m:e;r&&c.push(Object.assign({},r))}return 0===c.length?{}:{customField:c}},Ltc=function(a,b){var c,d,e,g,h,m;return ne(function(r){if(1==r.nextAddress)return r.yield(Promise.all([(0,E.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,E.firstValueFrom)(a.componentFridge.watch(b).pipe(De(Ei)))]),2);c=r.yieldResult;d=k(c);e=d.next().value;
g=d.next().value;h=e;m=g;return r.return({component:m,defaultTemplate:h})})};TP.\u0275fac=function(a){return new (a||TP)(u(WE),u(bt),u(YH),u(PF),u(tG))};TP.\u0275prov=wc({token:TP,factory:TP.\u0275fac,providedIn:"root"});var UP=function(a,b,c,d,e,g,h,m,r,v,y,A,G){GE.call(this);var N=this;this.rootIssueId=a;this.quickFilters=b;this.saveExpansionAtKey=c;this.analytics=d;this.butterBar=e;this.issueFridge=g;this.issuePicker=h;this.issueRelationshipsFridge=m;this.paths=r;this.router=v;this.issueCreationService=y;this.clearcut=A;this.refreshMonitor=G;var Q;this.recallExpansion=Np(null!=(Q=this.saveExpansionAtKey)?Q:"");var Z;this.saveExpansion=yp(null!=(Z=this.saveExpansionAtKey)?Z:"");this.expansion=new Itc(this.recallExpansion());
this.draftRows=new QP;this.refetchingAll$=new E.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(af(function(){N.refetchingAll$.next(!0);var Y=An(N.rows$),ea=[];if(!Y)return Promise.resolve();ea.push(Sic(N.issueRelationshipsFridge,N.rootIssueId));Y=k(Y);for(var ja=Y.next();!ja.done;ja=Y.next())ja=ja.value,"data"===ja.type&&ea.push(N.issueFridge.poke(ja.id)),1<ja.level&&ea.push(N.issueRelationshipsFridge.poke(ja.id));return Promise.all(ea).then(function(){N.refetchingAll$.next(!1)})}));
this.rows$=(0,E.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,E.scheduled)((0,E.of)({}),E.asapScheduler)).pipe(af(function(){return Ric(N.issueRelationshipsFridge,N.rootIssueId,3)}),af(function(){var Y=new Set([].concat(ad(Ktc(N.expansion).keys())));return N.getParentToChildrenMap(Y)}),af(function(Y){return N.quickFilters.value$.pipe(af(function(ea){return N.applyFilters(Y,[].concat(ad(ea)))}))}),D(function(Y){return N.calculateDisplayedRows(Y)}),Ye({refCount:!0,
bufferSize:1}));this.filteredRowCount$=new E.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(De(Ei));this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new OP([this.rootIssueId]),expandedCount:500,issue$:E.NEVER,hasChildren$:E.NEVER};this.supportsOneLineCreation=(0,E.firstValueFrom)(this.rootIssue$).then(function(Y){return Kn(Y.snapshot[0].componentId)}).then(function(Y){return Mtc(N.issueCreationService,Y)});this.isOneLineCreationSupported=function(){return N.supportsOneLineCreation};
this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(Ke(100)).subscribe(function(Y){N.saveExpansion(Y)}))};U(UP,GE);UP.\u0275dir=GE.\u0275dir;UP.\u0275fac=GE.\u0275fac;f=UP.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,m,r,v;ne(function(y){switch(y.nextAddress){case 1:return d=a.nodeId,y.yield((0,E.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=y.yieldResult)?y.yield(c.supportsOneLineCreation,3):y.return();case 3:g=y.yieldResult;if(!g){y.jumpTo(4);break}return y.yield(Otc(c.issueCreationService,d),5);case 5:return h=y.yieldResult,y.return(c.draftRows.create(a,h,b));case 4:return m=e.snapshot[0].componentId,
v={},y.yield(Ks(c.router,c.paths.createIssue((v.component=m?String(m):void 0,v.parentIssueId=e.issueId,v.redirectUrl=km(c.rootIssueId),v.afterIssueId=null==(r=b)?void 0:r.afterIssueId,v))),6);case 6:return y.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;ne(function(h){if(1==h.nextAddress)return h.yield((0,E.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();g=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+g,allowMultipleIds:!0,edgeType:"child"},function(m){return ne(function(r){if(1==r.nextAddress){if(0===m.length)return r.return();b.assignParentToIssues(g,m);b.analytics.trackEvent(io.EXPERIMENTAL_HOMEPAGE,
"add","existing-child-issue");return r.yield(ao(),2)}a&&SP(b.expansion,a.ancestorChain,500);se(r)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return ne(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return d.yield(b.createIssueFromDraft(a),2)}return(c=d.yieldResult)?d.return(b.assignParentToIssue(a,c)):d.return()})};
f.createIssueFromDraft=function(a){var b=this,c,d,e,g;return ne(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,oe(h,2),h.yield(Ptc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;ht(h,3);break;case 2:return g=re(h),b.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),SP(b.expansion,a.ancestorChain.parentChain,500),Gtc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,m,r;return ne(function(v){if(1==v.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?v.jumpTo(2):v.yield(Ftc(c.draftRows,g),2);if(4!=v.nextAddress)return v.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=v.yieldResult;m=h.errors;(null==(r=m)?0:r.length)&&c.butterBar.showWarning("Could not create issue relationship. Error: "+
JSON.stringify(m));c.deleteDraftRow(a);se(v)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,E.combineLatest)([this.rootIssueId].concat(ad(a.keys())).map(function(d){return c.refetchingAll$.pipe(De(function(e){return!e}),af(function(){return Qic(c.issueRelationshipsFridge,d)}))})).pipe(D(function(d){return d.filter(Boolean)}),af(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,E.of)(e);d=c.getIdsAtLevel(e,b);return c.getParentToChildrenMap(d,b+1).pipe(D(function(g){return PAa(e,
g)}))}))};
f.getIdsAtLevel=function(a,b){for(var c=new Set,d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;)if(e={$jscomp$loop$prop$current$1247703124$8:e.$jscomp$loop$prop$current$1247703124$8},e.$jscomp$loop$prop$current$1247703124$8=d.pop(),e.$jscomp$loop$prop$current$1247703124$8.level===b&&c.add(e.$jscomp$loop$prop$current$1247703124$8.id),!(e.$jscomp$loop$prop$current$1247703124$8.level>b)){var g=void 0,h=void 0,m=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$1247703124$8.id))?void 0:g.relatedChildren)?
h:[];d.push.apply(d,ad(m.map(function(r){return function(v){return{id:v.targetIssueId,level:r.$jscomp$loop$prop$current$1247703124$8.level+1}}}(e))))}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;)if(e={$jscomp$loop$prop$parentRow$1247703124$10:e.$jscomp$loop$prop$parentRow$1247703124$10,$jscomp$loop$prop$childrenLevel$1247703124$11:e.$jscomp$loop$prop$childrenLevel$1247703124$11},e.$jscomp$loop$prop$parentRow$1247703124$10=d.pop(),"load-more-children"===e.$jscomp$loop$prop$parentRow$1247703124$10.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$1247703124$10.type)c.push(e.$jscomp$loop$prop$parentRow$1247703124$10);
else{e.$jscomp$loop$prop$parentRow$1247703124$10.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$1247703124$10);var g=void 0,h=void 0,m=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$1247703124$10.id))?void 0:g.relatedChildren)?h:[];g=m.slice(0,e.$jscomp$loop$prop$parentRow$1247703124$10.expandedCount);g.length&&(e.$jscomp$loop$prop$parentRow$1247703124$10.hasChildren$=(0,E.of)(!0));e.$jscomp$loop$prop$childrenLevel$1247703124$11=e.$jscomp$loop$prop$parentRow$1247703124$10.level+
1;e.$jscomp$loop$prop$parentRow$1247703124$10.expandedCount&&g.length<m.length&&(h=PP(e.$jscomp$loop$prop$parentRow$1247703124$10.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$1247703124$11,parentIssue$:e.$jscomp$loop$prop$parentRow$1247703124$10.issue$,ancestorChain:h,truncatedSiblingCount:m.length-g.length}));m=g.map(function(r){return function(v){var y=PP(r.$jscomp$loop$prop$parentRow$1247703124$10.ancestorChain,v.targetIssueId);
return{type:"data",id:v.targetIssueId,level:r.$jscomp$loop$prop$childrenLevel$1247703124$11,hasChildren$:Stc(b,v.targetIssueId),ancestorChain:y,expandedCount:b.getExpandedCount(y,r.$jscomp$loop$prop$childrenLevel$1247703124$11,a),issue$:b.issueFridge.watch(v.targetIssueId)}}}(e));d.push.apply(d,ad(this.interpolateDraftRows(m,e.$jscomp$loop$prop$parentRow$1247703124$10.ancestorChain).reverse()))}return c};
var Stc=function(a,b){return a.issueRelationshipsFridge.watch(b).pipe(af(function(c){return c&&c.relatedChildren.length?a.quickFilters.value$.pipe(af(function(d){return 0===d.size?(0,E.of)(!0):a.issueFridge.watchSet(c.relatedChildren.map(function(e){return e.targetIssueId})).pipe(D(function(e){return e.some(function(g){return zJa(g,[].concat(ad(d)))})}))})):(0,E.of)(!1)}))};f=UP.prototype;
f.interpolateDraftRows=function(a,b){var c=[].concat(ad(a));b=this.draftRows.get(b);b=k(b);for(var d=b.next(),e={};!d.done;e={$jscomp$loop$prop$draft$1247703124$14:e.$jscomp$loop$prop$draft$1247703124$14},d=b.next())e.$jscomp$loop$prop$draft$1247703124$14=d.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$1247703124$14.issueId}}(e))||(d=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$1247703124$14.afterDraftId||h.id===g.$jscomp$loop$prop$draft$1247703124$14.afterIssueId}}(e)),
c.splice(-1===d?c.length:d+1,0,e.$jscomp$loop$prop$draft$1247703124$14));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=RP(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,g;return Math.min(10,null!=(g=null==(e=c.get(d))?void 0:e.relatedChildren.length)?g:0)}return 0};
f.assignParentToIssues=function(a,b){var c=this,d,e,g,h;return ne(function(m){if(1==m.nextAddress)return 0===b.length?m.return():m.yield(c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(r){return{issueId:r,afterIssueId:"-1"}})),2);d=m.yieldResult;e=d.notAdded;g=d.errors;if(e.length)return c.butterBar.showWarning("Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(r){return fm(r)}))),m.return();se(m)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);Bic("createIssue",b,"from-tree");this.analytics.trackEvent(io.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);IH(this.clearcut,a,"createIssue-fromTree")}};
f.getAllIssues=function(a){var b=this,c,d,e,g,h,m,r,v,y,A,G,N;return ne(function(Q){if(1==Q.nextAddress){c=new Set;d=k(a.keys());for(e=d.next();!e.done;e=d.next())g=e.value,c.add(g);h=k(a.values());for(m=h.next();!m.done;m=h.next())for(r=m.value,v=r.relatedChildren.map(function(Z){return Z.targetIssueId}),y=k(v),A=y.next();!A.done;A=y.next())G=A.value,c.add(G);return Q.yield(Promise.all([].concat(ad(c)).map(function(Z){return(0,E.firstValueFrom)(b.issueFridge.watch(Z))})),2)}N=Q.yieldResult;return Q.return(Cl(N.filter(Ei),
function(Z){return Z.issueId}))})};
f.applyFilters=function(a,b){function c(r){if(!r)return!1;var v=e.get(r),y=h.get(r);if(!v||0===v.relatedChildren.length)return y;var A=v.relatedChildren.filter(function(G){return c(G.targetIssueId)});m+=v.relatedChildren.length-A.length;e.set(r,Object.assign({},v,{relatedChildren:A}));return 0!==A.length||y}var d=this,e,g,h,m;return ne(function(r){if(1==r.nextAddress){if(0===b.length)return d.filteredRowCount$.next(0),r.return(a);e=new Map(a.entries());return r.yield(d.getAllIssues(e),2)}g=r.yieldResult;
h=new Map(g.map(function(v){return[v.issueId,zJa(v,b)]}));m=0;c(d.rootIssueId);d.filteredRowCount$.next(m);return r.return(e)})};var VP=function(a,b,c,d,e,g,h,m,r,v){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=g;this.router=h;this.issueCreationService=m;this.clearcut=r;this.refreshMonitor=v};
VP.prototype.create=function(a,b,c){b=void 0===b?new bK:b;return new UP(a,b,c,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};VP.\u0275fac=function(a){return new (a||VP)(u(TH),u(lG),u(YH),u(MP),u(eI),u(dH),u(WG),u(TP),u(HH),u(WH))};VP.\u0275prov=wc({token:VP,factory:VP.\u0275fac,providedIn:"root"});var WP=function(a){this.clApi=a};WP.prototype.transform=function(a){var b=this;return a.pipe(af(function(c){if(null==c)return(0,E.of)(c);var d,e=na(null!=(d=c.snapshot[0].changelist)?d:[]);return e?b.clApi.getChangelistDetails(e).pipe(D(function(g){return Object.assign({},g,{changelistNumber:Number(e)})})):(0,E.of)(void 0)}),Ye({bufferSize:1,refCount:!0}))};WP.\u0275fac=function(a){return new (a||WP)(C(CD,16))};WP.\u0275pipe=Rc({name:"mostRecentCL$",type:WP,pure:!0});var Ttc=["button"],XP=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new pw};XP.prototype.onClick=function(a){this.onAction.emit(a)};XP.prototype.focus=function(){this.nativeButton.focus()};XP.\u0275fac=function(a){return new (a||XP)};
XP.\u0275cmp=Mc({type:XP,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&cg(Ttc,5);if(a&2){var c;bg(c=eg())&&(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",""],[3,"ngSwitch"],["type","button","mat-stroked-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip",
"click",4,"ngSwitchCase"],["type","button","mat-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-flat-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-icon-button","","class","gmat-button",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-stroked-button","","class","gmat-button",3,"color","disabled","ngClass",
"matTooltip","click",4,"ngSwitchDefault"],["type","button","mat-stroked-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"],["button",""],[4,"ngTemplateOutlet"],["type","button","mat-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"],["type","button","mat-flat-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"],["type","button","mat-icon-button","",1,"gmat-button",3,"color","disabled","ngClass","matTooltip","click"]],
template:function(a,b){a&1&&(Gf(),P(0,BJa,1,0,"ng-template",null,0,hg),K(2,1),P(3,DJa,3,7,"button",2),P(4,FJa,3,7,"button",3),P(5,HJa,3,7,"button",4),P(6,JJa,3,7,"button",5),P(7,LJa,3,7,"button",6),L());a&2&&(B(2),F("ngSwitch",b.format),B(1),F("ngSwitchCase","hairline"),B(1),F("ngSwitchCase","flat"),B(1),F("ngSwitchCase","fill"),B(1),F("ngSwitchCase","icon"))},dependencies:[qA,tC,Mw,Tw,Pw,Qw,Rw],encapsulation:2,changeDetection:0});var Utc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},Vtc=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=Utc};Vtc.\u0275fac=function(a){return new (a||Vtc)(C(CA),C(dH))};
Vtc.\u0275cmp=Mc({type:Vtc,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&&(H(0,"h1",0),R(1,"Archive with all descendant issues?"),
I(),H(2,"div",1),R(3),J(4,"br")(5,"br"),H(6,"a",2),R(7,"View all descendant issues"),I(),J(8,"br"),H(9,"a",3),R(10,"Learn more"),I()(),H(11,"div",4)(12,"button",5),R(13,"Cancel"),I(),H(14,"button",5),R(15," Just this one "),I(),H(16,"button",6),R(17," Archive all "),I()());a&2&&(B(3),Mf(" This issue has ",b.numberOfDescendants," descendant issues. Archiving only this issue may make it difficult to find them later. Do you want to archive this issue with all descendant issues? "),B(3),Jf("href",b.descendantIssuesUrl,
Sd),B(6),F("matDialogClose",b.ActionType.CANCEL),B(2),F("matDialogClose",b.ActionType.ARCHIVE_ONE),B(2),F("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[qA,EA,FA,GA,HA],encapsulation:2});var YP=function(a,b,c,d,e,g,h,m,r){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=g;this.paths=h;this.butterBar=m;this.editIssueService=r};
YP.prototype.submitArchivalState=function(a,b){var c=this;return ne(function(d){if(1==d.nextAddress)return b?d.yield(c.archive(a),5):d.yield(c.editIssueService.unarchive(a),0);c.issueFridge.poke(a);c.eventsForIssueFridge.poke(a);se(d)})};
YP.prototype.archive=function(a){var b=this,c,d,e,g,h,m,r,v,y,A;return ne(function(G){if(1==G.nextAddress)return G.yield(Promise.all([b.getDescendants(a),(0,E.firstValueFrom)(b.issueFridge.watch(a))]),2);c=G.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;m=g;r=h;v=r.childToParents;y=r.completeResult;A=[].concat(ad(v.keys()));v.set(a,m.parentIssueIds||[]);return 0===A.length?G.return(Wtc(b,a,v)):y?G.return(Xtc(b,a,A,v)):G.return(Ytc(b,a,v))})};
var Xtc=function(a,b,c,d){var e,g,h;return ne(function(m){if(1==m.nextAddress)return e={numberOfDescendants:c.length,issueId:b},g={data:e,width:"500px"},m.yield((0,E.firstValueFrom)(yA(a.dialog.open(Vtc,g))),2);h=m.yieldResult;switch(h){case "ARCHIVE_ALL":return m.return(Ztc(a,[b].concat(ad(c)),d));case "ARCHIVE_ONE":return m.return(Wtc(a,b,d));case "CANCEL":return m.return();default:return m.return(Fh(h))}})},Ztc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];
$tc(a,c);mG(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){mG(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){a.butterBar.showWarning(e);auc(a,c)})},Wtc=function(a,b,c){$tc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){mG(a.butterBar,"Archived successfully.")}).catch(function(d){a.butterBar.showWarning(d);auc(a,c)})},Ytc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:Pg([Ng("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."),Qg("br",{}),Qg("br",{}),Qg("a",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),Qg("br",{}),Qg("a",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")]),cancelButtonText:"Cancel",confirmButtonText:"Just this one",
onConfirm:function(){Wtc(a,b,c).then(d)},onDismiss:d})})},$tc=function(a,b){b=k(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},auc=function(a,b){b=[].concat(ad(b.values())).flat();b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
YP.prototype.getDescendants=function(a){var b=this,c,d,e,g,h,m,r,v,y,A,G,N;return ne(function(Q){if(1==Q.nextAddress)return Q.yield((0,E.firstValueFrom)(Ric(b.issueRelationshipsFridge,a)),2);c=Q.yieldResult;d=c.results;e=!0;g=new Map;h=k(d);for(m=h.next();!m.done;m=h.next()){r=m.value;v=k(r.relatedChildren);for(y=v.next();!y.done;y=v.next())A=y.value,G=void 0,N=null!=(G=g.get(A.targetIssueId))?G:[],N.push(r.issueId),g.set(A.targetIssueId,N);r.totalChildCount===r.relatedChildren.length||(e=!1)}return Q.return({childToParents:g,
completeResult:e})})};YP.\u0275fac=function(a){return new (a||YP)(u(WE),u(DA),u(kJ),u(eI),u(YH),u(CF),u(dH),u(lG),u(fK))};YP.\u0275prov=wc({token:YP,factory:YP.\u0275fac,providedIn:"root"});var ZP=function(){var a=this;this.checks=[];this.beforeUnloadEventHandler=function(b){if(a.checks.some(function(c){return c.dataChanged()}))return b.preventDefault(),b.returnValue="","You have unsaved changes in your form."};window.addEventListener("beforeunload",this.beforeUnloadEventHandler)};ZP.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler)};
var $P=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new E.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};ZP.prototype.canDeactivate=function(a,b,c,d){a:{a=iD(c.url).getPath()===iD(d.url).getPath();b=k(this.checks);for(c=b.next();!c.done;c=b.next())if(c=c.value,a){if(c.triggerOnSearch&&c.dataChanged()){a=!0;break a}}else if(c.dataChanged()){a=!0;break a}a=!1}return a?buc()?(this.checks=[],!0):!1:!0};var buc=function(){return window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?")};
ZP.\u0275fac=function(a){return new (a||ZP)};ZP.\u0275prov=wc({token:ZP,factory:ZP.\u0275fac,providedIn:"root"});var cuc=function(a,b,c,d,e,g,h,m,r,v,y,A){var G=this;this.rootIssueId=a;this.quickFilters=b;this.analytics=c;this.butterBar=d;this.issueFridge=e;this.issuePicker=g;this.issueRelationshipsFridge=h;this.paths=m;this.router=r;this.issueCreationService=v;this.clearcut=y;this.refreshMonitor=A;this.expansion=new Itc;this.draftRows=new QP;this.refetchingAll$=new E.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(af(function(){G.refetchingAll$.next(!0);var N=An(G.rows$),
Q=[];if(!N)return Promise.resolve();Q.push(Sic(G.issueRelationshipsFridge,G.rootIssueId));N=k(N);for(var Z=N.next();!Z.done;Z=N.next())Z=Z.value,"data"===Z.type&&Q.push(G.issueFridge.poke(Z.id)),1<Z.level&&Q.push(G.issueRelationshipsFridge.poke(Z.id));return Promise.all(Q).then(function(){G.refetchingAll$.next(!1)})}));this.rows$=(0,E.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,E.scheduled)((0,E.of)({}),E.asapScheduler)).pipe(af(function(){return Ric(G.issueRelationshipsFridge,
G.rootIssueId,3)}),af(function(){var N=Ktc(G.expansion);return G.getParentToChildrenMap(N)}),Je(this.quickFilters.value$),af(function(N){N=k(N);var Q=N.next().value,Z=N.next().value;return 0===Z.size?(G.filteredRowCount$.next(0),(0,E.of)(Q)):G.getAllIssues(Q).pipe(D(function(Y){return G.applyFilters(Q,Z,Y)}))}),D(function(N){return G.calculateDisplayedRows(N)}),Ye({refCount:!0,bufferSize:1}));this.filteredRowCount$=new E.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(De(Ei));
this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new OP([this.rootIssueId]),expandedCount:500,issue$:E.NEVER,hasChildren$:E.NEVER};this.supportsOneLineCreation=(0,E.firstValueFrom)(this.rootIssue$).then(function(N){return Kn(N.snapshot[0].componentId)}).then(function(N){return Mtc(G.issueCreationService,N)});this.isOneLineCreationSupported=function(){return G.supportsOneLineCreation}};f=cuc.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,m,r,v;ne(function(y){switch(y.nextAddress){case 1:return d=a.nodeId,y.yield((0,E.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=y.yieldResult)?y.yield(c.supportsOneLineCreation,3):y.return();case 3:g=y.yieldResult;if(!g){y.jumpTo(4);break}return y.yield(Otc(c.issueCreationService,d),5);case 5:return h=y.yieldResult,y.return(c.draftRows.create(a,h,b));case 4:return m=e.snapshot[0].componentId,
v={},y.yield(Ks(c.router,c.paths.createIssue((v.component=m?String(m):void 0,v.parentIssueId=e.issueId,v.redirectUrl=km(c.rootIssueId),v.afterIssueId=null==(r=b)?void 0:r.afterIssueId,v))),6);case 6:return y.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;ne(function(h){if(1==h.nextAddress)return h.yield((0,E.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();g=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+g,allowMultipleIds:!0,edgeType:"child"},function(m){return ne(function(r){if(1==r.nextAddress){if(0===m.length)return r.return();b.assignParentToIssues(g,m);b.analytics.trackEvent(io.EDIT_ISSUE,"add","existing-child-issue");
return r.yield(ao(),2)}a&&SP(b.expansion,a.ancestorChain,500);se(r)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return ne(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return d.yield(b.createIssueFromDraft(a),2)}return(c=d.yieldResult)?d.return(b.assignParentToIssue(a,c)):d.return()})};
f.createIssueFromDraft=function(a){var b=this,c,d,e,g;return ne(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,oe(h,2),h.yield(Ptc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;ht(h,3);break;case 2:return g=re(h),b.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),SP(b.expansion,a.ancestorChain.parentChain,500),Gtc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,m,r;return ne(function(v){if(1==v.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?v.jumpTo(2):v.yield(Ftc(c.draftRows,g),2);if(4!=v.nextAddress)return v.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=v.yieldResult;m=h.errors;(null==(r=m)?0:r.length)&&c.butterBar.showWarning("Could not create issue relationship. Error: "+
JSON.stringify(m));c.deleteDraftRow(a);se(v)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,E.combineLatest)([this.rootIssueId].concat(ad(a.keys())).map(function(d){return c.refetchingAll$.pipe(De(function(e){return!e}),af(function(){return Qic(c.issueRelationshipsFridge,d)}))})).pipe(D(function(d){return d.filter(Boolean)}),af(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,E.of)(e);d=c.getIdsAtLevel(e,b);d=new Map(d.map(function(g){return[g,10]}));return c.getParentToChildrenMap(d,
b+1).pipe(D(function(g){return PAa(e,g)}))}))};
f.getIdsAtLevel=function(a,b){for(var c=[],d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;)if(e={$jscomp$loop$prop$current$m870819688$8:e.$jscomp$loop$prop$current$m870819688$8},e.$jscomp$loop$prop$current$m870819688$8=d.pop(),e.$jscomp$loop$prop$current$m870819688$8.level===b&&c.push(e.$jscomp$loop$prop$current$m870819688$8.id),!(e.$jscomp$loop$prop$current$m870819688$8.level>b)){var g=void 0,h=void 0,m=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$m870819688$8.id))?void 0:g.relatedChildren)?
h:[];d.push.apply(d,ad(m.map(function(r){return function(v){return{id:v.targetIssueId,level:r.$jscomp$loop$prop$current$m870819688$8.level+1}}}(e))))}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;)if(e={$jscomp$loop$prop$parentRow$m870819688$10:e.$jscomp$loop$prop$parentRow$m870819688$10,$jscomp$loop$prop$childrenLevel$m870819688$11:e.$jscomp$loop$prop$childrenLevel$m870819688$11},e.$jscomp$loop$prop$parentRow$m870819688$10=d.pop(),"load-more-children"===e.$jscomp$loop$prop$parentRow$m870819688$10.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$m870819688$10.type)c.push(e.$jscomp$loop$prop$parentRow$m870819688$10);
else{e.$jscomp$loop$prop$parentRow$m870819688$10.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$m870819688$10);var g=void 0,h=void 0,m=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$m870819688$10.id))?void 0:g.relatedChildren)?h:[];g=m.slice(0,e.$jscomp$loop$prop$parentRow$m870819688$10.expandedCount);e.$jscomp$loop$prop$childrenLevel$m870819688$11=e.$jscomp$loop$prop$parentRow$m870819688$10.level+1;e.$jscomp$loop$prop$parentRow$m870819688$10.expandedCount&&g.length<m.length&&
(h=PP(e.$jscomp$loop$prop$parentRow$m870819688$10.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$m870819688$11,parentIssue$:e.$jscomp$loop$prop$parentRow$m870819688$10.issue$,ancestorChain:h,truncatedSiblingCount:m.length-g.length}));m=g.map(function(r){return function(v){var y=PP(r.$jscomp$loop$prop$parentRow$m870819688$10.ancestorChain,v.targetIssueId);return{type:"data",id:v.targetIssueId,level:r.$jscomp$loop$prop$childrenLevel$m870819688$11,
hasChildren$:b.issueRelationshipsFridge.watch(v.targetIssueId).pipe(D(Pza)),ancestorChain:y,expandedCount:b.getExpandedCount(y,r.$jscomp$loop$prop$childrenLevel$m870819688$11,a),issue$:b.issueFridge.watch(v.targetIssueId)}}}(e));d.push.apply(d,ad(this.interpolateDraftRows(m,e.$jscomp$loop$prop$parentRow$m870819688$10.ancestorChain).reverse()))}return c};
f.interpolateDraftRows=function(a,b){var c=[].concat(ad(a));b=this.draftRows.get(b);b=k(b);for(var d=b.next(),e={};!d.done;e={$jscomp$loop$prop$draft$m870819688$14:e.$jscomp$loop$prop$draft$m870819688$14},d=b.next())e.$jscomp$loop$prop$draft$m870819688$14=d.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$m870819688$14.issueId}}(e))||(d=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$m870819688$14.afterDraftId||h.id===g.$jscomp$loop$prop$draft$m870819688$14.afterIssueId}}(e)),
c.splice(-1===d?c.length:d+1,0,e.$jscomp$loop$prop$draft$m870819688$14));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=RP(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,g;return Math.min(10,null!=(g=null==(e=c.get(d))?void 0:e.relatedChildren.length)?g:0)}return 0};
f.assignParentToIssues=function(a,b){var c=this,d,e,g,h;return ne(function(m){if(1==m.nextAddress)return 0===b.length?m.return():m.yield(c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(r){return{issueId:r,afterIssueId:"-1"}})),2);d=m.yieldResult;e=d.notAdded;g=d.errors;if(e.length)return c.butterBar.showWarning("Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(r){return fm(r)}))),m.return();se(m)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);Bic("createIssue",b,"from-tree");this.analytics.trackEvent(io.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);IH(this.clearcut,a,"createIssue-fromTree")}};
f.getAllIssues=function(a){for(var b=this,c=new Set,d=k(a.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);a=k(a.values());for(d=a.next();!d.done;d=a.next())for(d=d.value.relatedChildren.map(function(g){return g.targetIssueId}),d=k(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,E.combineLatest)([].concat(ad(c)).map(function(g){return b.issueFridge.watch(g)})).pipe(D(function(g){return g.filter(Ei)}))};
f.applyFilters=function(a,b,c){function d(m){if(!m)return!1;var r=e.get(m),v=g.get(m);if(!r||0===r.relatedChildren.length)return v;var y=r.relatedChildren.filter(function(A){return d(A.targetIssueId)});h+=r.relatedChildren.length-y.length;e.set(m,Object.assign({},r,{relatedChildren:y}));return 0!==y.length||v}var e=new Map(a.entries()),g=new Map(c.map(function(m){return[m.issueId,zJa(m,b)]})),h=0;d(this.rootIssueId);this.filteredRowCount$.next(h);return e};
var aQ=function(a,b,c,d,e,g,h,m,r,v){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=g;this.router=h;this.issueCreationService=m;this.clearcut=r;this.refreshMonitor=v};aQ.prototype.create=function(a,b){b=void 0===b?new bK:b;return new cuc(a,b,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};
aQ.\u0275fac=function(a){return new (a||aQ)(u(TH),u(lG),u(YH),u(MP),u(eI),u(dH),u(WG),u(TP),u(HH),u(WH))};aQ.\u0275prov=wc({token:aQ,factory:aQ.\u0275fac,providedIn:"root"});var Rub=function(a){return!!a&&("object"===typeof a||"function"===typeof a)};var bQ=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new E.Subject;this.onRowsMoved$=new E.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=pTb(function(g,h){if(e.activeDrag){var m=g||0,r=h.getBoundingClientRect();g=r.height;m-=r.top;
g=OJa(m<=.25*g?"top":m>=.75*g?"bottom":"middle",h);h=g.position;g=g.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=g.offsetLeft+"px";e.placeholder.style.top=g.offsetTop+"px";e.placeholder.style.height=g.offsetHeight+"px";break;case "before":case "after":var v=(m=null==(v=g.querySelector(".title-location"))?void 0:v.getBoundingClientRect().left)?m-g.getBoundingClientRect().left:0;v=g.offsetLeft+v;m="after"===h?g.offsetTop+
g.offsetHeight:g.offsetTop;r=g.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=v+"px";e.insertionBar.style.top=m-1+"px";e.insertionBar.style.width=r-v+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:g,position:h};duc(e,g,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(g){var h,m=null==(h=g.target)?
void 0:h.closest("tr");if(m&&(e.onDragOver(g.clientY,m),m.classList.contains("dragging")||m.classList.contains("nodrop")))return!0;var r;if("none"===(null==(r=e.currentReorderingGuide)?void 0:r.position))return!0;g.preventDefault();return!1});a.addEventListener("dragend",function(){euc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,fuc(e.rowSelectionModel),"mouse",4);euc(e)})})};
bQ.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(PJa(c));guc(this.rowSelectionModel);huc(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=1===this.rowSelectionModel.selectedCount?"Moving 1 issue":"Moving "+this.rowSelectionModel.selectedCount+" issues";a.dataTransfer.setDragImage(this.dragPreview,
0,0);a.dataTransfer.dropEffect="move";a=this.rows.toArray().filter(function(d){return b.rowSelectionModel.isSelected(d.row.ancestorChain)});a=k(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var iuc=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)},juc=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(g){return g.row.ancestorChain.equals(b.row.ancestorChain)});if(-1!==d&&0!==d){c=c.slice(0,d).reverse();c=k(c);for(d=c.next();!d.done;d=c.next()){d=d.value;if("load-more-children"===d.row.type){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)}};
bQ.prototype.moveUp=function(a){var b=a.element.previousElementSibling;if(b){if("load-more-children"===b.dataset.type){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)}};
bQ.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;"load-more-children"===b.row.type?iuc(this,a):(b=c&&b.row.level<NJa(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
bQ.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=PJa(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":iuc(this,b);break;case "ArrowRight":juc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
bQ.prototype.reorder=function(a,b,c,d){var e=this;if(a){var g=PJa(a.rowElement),h=void 0,m=g;switch(a.position){case "current":m=g;h={parentId:g.nodeId};break;case "before":case "after":m=g.parentChain,h={parentId:g.parentNodeId,position:{issueId:g.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:m,origin:c,actionMessage:MJa(d)})})}};
var euc=function(a){for(var b=k(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=k(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;null==(d=a.updatingNoDropRows)||d.unsubscribe();var e,g;null==(e=a.dragPreview)||null==(g=e.parentElement)||g.removeChild(a.dragPreview);
a.activeDrag=!1},duc=function(a,b,c){if("current"!==c)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(1E3<=Date.now()-a.longHoveredRow.enterTime&&!a.longHoveredRow.emitted){var d=a.rows.toArray().find(function(e){return PJa(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},huc=function(a){var b;
null==(b=a.updatingNoDropRows)||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe($e(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(g){return g.nodeId}));c=k(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(g){return d.has(g)})&&e.element.classList.add("nodrop")})};var cQ=function(a){GE.call(this);var b=this;this.analytics=a;this.dragStarted$=new E.Subject;this.onRowsMoved$=new E.Subject;(0,E.merge)(this.dragStarted$,this.onRowsMoved$).pipe(EAa(),bf(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=Dl(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";b.analytics.trackEvent(io.EDIT_ISSUE,"reorderChildren",c);Bic("reorderChildren",d,c)})};U(cQ,GE);cQ.\u0275dir=GE.\u0275dir;
cQ.\u0275fac=function(a){return new (a||cQ)(u(TH))};cQ.\u0275prov=wc({token:cQ,factory:cQ.\u0275fac,providedIn:"root"});var dQ=function(){this.changed$=new E.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};dQ.prototype.init=function(a){this.visibleRows=a};dQ.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var LKa=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe($e(a.selectedRowHashes),D(function(g){return g.has(b.hash())}),Ne(),Ye({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
dQ.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};dQ.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var guc=function(a){for(var b=a.visibleRows.toArray().map(function(m){return m.row.ancestorChain}),c=!1,d=k(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=lo(e.value);for(var g=k(b),h=g.next();!h.done;h=g.next())h=h.value,Etc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},fuc=function(a){var b=a.visibleRows.toArray().map(function(g){return g.row});b=new Map(b.filter(function(g){return"data"===g.type}).map(function(g){return[g.ancestorChain.hash(),
g]}));var c=new Set([].concat(ad(a.selectedRowHashes.values())).map(function(g){return lo(g)}).map(function(g){return g.nodeId})),d=[];a=k(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(g){return c.has(g)})||d.push(e.ancestorChain));return d};
wh.Object.defineProperties(dQ.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(ad(this.selectedRowHashes)).map(function(a){return lo(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var zKa=function(a){return{cl:a}},kuc=function(){return["focus-indicator","load-more-children"]},luc=io.EXPERIMENTAL_HOMEPAGE,muc={type:"data",id:"",issue$:E.NEVER,hasChildren$:E.NEVER,ancestorChain:new OP([]),level:0,expandedCount:0},eQ=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q){GE.call(this);var Z=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=g;this.elementRef=h;this.domSafe=r;this.reorderingSessionTracker=v;this.cdr=y;this.expandableIssuesTableModelFactory=
A;this.liveAnnouncer=G;this.clearcut=N;this.paths=Q;this.getUserInvolvement=kwa;this.quickFilters=new bK;this.tableColumns="focus-indicator drag-handle title type id assignee status cls menu".split(" ");this.options={};this.trackBy=function(Y,ea){return ea.ancestorChain.hash()+ea.type};this.isLoadMoreRow=function(Y,ea){return"load-more-children"===ea.type};this.isDataRow=function(Y,ea){return"data"===ea.type};this.isDraftRow=function(Y,ea){return"draft-issue"===ea.type};this.selectionModel=new dQ;
this.hasLogged=!1;this.correctedDisplayedRows=new fg;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(Y){var ea;return(null!=(ea=An(Z.rows$))?ea:[]).findIndex(function(ja){return ko(ja,Y)})};this.showError=function(Y){return function(ea){Z.butterBar.showWarning(Y+". "+(em(ea)?fm(ea):ea))}};this.subscriptions.add($P(m,function(){return Z.tableModel.draftRows.isSaving()||Z.issueRelationshipsFridge.isSaving()},!1))};U(eQ,GE);eQ.\u0275dir=GE.\u0275dir;
var rKa=function(a,b){if(null==b)return!1;var c,d;return!!(null==(c=a.projectData)?0:null==(d=c.bugToPendingFixCl)?0:d.has(b))};f=eQ.prototype;f.isClosed=function(a){if(this.options.showPendingFixCls){var b=rKa(this,null==a?void 0:a.issueId);return mva(a)||b}return mva(a)};f.getAssigneeString=function(a){var b,c;return Jn(ti(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};f.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};
f.ldapOnly=function(a){return null==a?void 0:a.split("@")[0]};
f.ngOnInit=function(){var a=this;this.tableModel=this.expandableIssuesTableModelFactory.create(this.rootIssueId,this.quickFilters,this.saveExpansionAtKey);this.destroyed$.subscribe(function(){a.tableModel.ngOnDestroy()});this.rows$=(0,E.scheduled)([this.tableModel.rows$,(0,E.of)([muc])],E.asyncScheduler).pipe(ye(1),Ye({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(af(function(c){return(0,E.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),Ke(0,E.asapScheduler));
this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));this.rowReorderingModel=new bQ(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;"load-more-children"===d.type?a.displayAllSiblings(d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,RP(c,d)||SP(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;
return ne(function(e){if(1==e.nextAddress)return Wic(a.issueRelationshipsFridge,c.insertAt,c.movedRows.map(function(g){return{issueId:g.nodeId,parentId:g.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),Jtc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,E.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===
c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===c.insertAt.parentId})}),De(Boolean),Fe(6E4))),2);d=e.yieldResult;d.focus();se(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
f.trackRelationsData=function(a){if(!this.hasLogged&&0!==a.length){this.hasLogged=!0;var b=a.length,c=0===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;JH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(luc,"view-relations","visible-count",b);c&&(a=a.filter(function(d){var e;return null!=(null==d?void 0:null==
(e=d.snapshot[0])?void 0:e.effort)}).length/b,JH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(luc,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,E.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(bf(this.destroyed$)).subscribe(function(b){b=k(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);ag(a.correctedDisplayedRows)});this.focusManager=hz(new Mqc(this.correctedDisplayedRows,
ko))};f.toggleExpansion=function(a){SP(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};f.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(this.analytics.trackEvent(luc,"navigate","to-child-issue"),b=jm(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?go(this.domSafe,b):Ks(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return ne(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),SP(b.tableModel.expansion,a.ancestorChain.parentChain,500),d.yield(ao(),2);b.focusManager.setActiveItem(c);se(d)})};f.getMenuItemsForDraft=function(a){var b=this;return[{type:"action",label:"Continue on the create issue page",action:function(c){return b.navigateToCreateIssuePage(c,a)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
f.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Go to issue",action:function(g){b.navigateToIssue(g,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!An(a.hasChildren$),action:function(){var g=mm({q:"parentid:"+a.id});b.domSafe.openInNewTab(g)},title:"View the children of this issue on the main search page",icon:"pop-out"},{type:"action",label:"Create child",action:function(){return ne(function(g){if(1==g.nextAddress)return g.yield(ao(),2);
b.createChildIssue(a);se(g)})},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 ne(function(g){if(1==g.nextAddress)return g.yield(ao(),2);b.createSiblingIssue(a);se(g)})},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(){juc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){iuc(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(){b.archiveRow(a)},title:"Archive issue",icon:"archive_24px"}],d,e;return null!=(e=null==(d=this.modifyMenuItems)?void 0:d.call(this,a,c))?
e:c};f.saveDraft=function(a){var b=this,c,d;return ne(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return e.yield((0,E.firstValueFrom)(b.displayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),De(Boolean),Fe(6E4))),2)}c=e.yieldResult;ko(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);se(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;ko(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};f.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};f.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
f.addExistingChild=function(a){this.tableModel.addExistingChild(a)};f.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};f.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
f.onRowKeydown=function(a,b){var c=this,d;return ne(function(e){if(1==e.nextAddress){c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);switch(b.keyCode){case 39:case 37:if(b.ctrlKey)return e.return();"data"===a.type&&(c.toggleExpansion(a),b.preventDefault());"load-more-children"===a.type&&(c.displayAllSiblings(a),b.preventDefault());break;case 13:return e.jumpTo(2)}return e.jumpTo(0)}if(4!=e.nextAddress)return"BUTTON"!==b.target.tagName||b.shiftKey||b.metaKey?e.yield(c.tableModel.isOneLineCreationSupported(),
4):e.return();d=e.yieldResult;if(!d)return e.return();"data"===a.type&&(b.shiftKey?c.createChildIssue(a):c.createSiblingIssue(a));"draft-issue"===a.type&&a.saving&&c.createSiblingIssue(a);b.preventDefault();return e.jumpTo(0)})};
f.navigateToCreateIssuePage=function(a,b){var c=this,d,e,g,h,m,r,v,y;return ne(function(A){if(1==A.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?A.return():A.yield((0,E.firstValueFrom)(b.issue$),2);d=A.yieldResult;v={};y=c.paths.createIssue((v.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),v.parentIssueId=b.ancestorChain.parentChain.nodeId,v.redirectUrl=km(c.rootIssueId),v.afterIssueId=b.afterIssueId,v.title=b.title,v.priority=null!=
(m=null==(g=d)?void 0:g.snapshot[0].priority)?m:void 0,v.type=null!=(r=null==(h=d)?void 0:h.snapshot[0].type)?r:void 0,v));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(y),A.return();if(a&&a.shiftKey)return c.cancelDraft(b),go(c.domSafe,y),A.return();Ks(c.router,y);se(A)})};
f.archiveRow=function(a){var b=this,c,d;ne(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(luc,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,E.firstValueFrom)(b.rows$.pipe(D(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),De(Boolean),Fe(6E4))),2);ko(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);se(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return ne(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(luc,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){mG(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
wh.Object.defineProperties(eQ.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.quickFilters.reset(null!=a?a:[])},get:function(){return[].concat(ad(this.quickFilters))}},model:{configurable:!0,enumerable:!0,get:function(){return this.tableModel}}});eQ.\u0275fac=function(a){return new (a||eQ)(C(eI),C(WG),C(lG),C(TH),C(YP),C(ef),C(Bd),C(ZP),C(LK),C(cQ),C(PH),C(VP),C(Yy),C(HH),C(dH))};
eQ.\u0275cmp=Mc({type:eQ,selectors:[["expandable-issues-table"]],viewQuery:function(a,b){a&1&&cg(ZM,5);if(a&2){var c;bg(c=eg())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters",saveExpansionAtKey:"saveExpansionAtKey",projectData:"projectData",modifyMenuItems:"modifyMenuItems",tableColumns:"tableColumns",options:"options"},features:[Pf([PH]),lf],decls:49,vars:10,consts:[["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","cls"],["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","highlighted","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"],["focusIndicator",""],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["dragHandle",""],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"issue","expandable","expanded","level","expansionChange"],[3,"issue"],[3,"ngSwitch"],
[4,"ngSwitchCase"],[3,"issue",4,"ngSwitchDefault"],[3,"email"],[3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["normalStatusChip",""],["target","_blank",1,"chippy","status-4","pending-fix-msg",3,"href","matTooltip"],["buttonLabel","More options",3,"menuItems","click"],[3,"isReady",4,"ngIf"],[3,"isReady"],["target","_blank",1,"hover-link","nowrap",3,"href","matTooltip","click"],["mode","relativepast",3,"paddingLeftPx","timestamp"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems",
"click",4,"ngIf","ngIfElse"],["saving",""],["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,"value","readonly","valueChange","commit"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"disabled","onAction"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"disabled","onAction"],["mat-header-row","",4,"matHeaderRowDef"],
["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"],["mat-row","",3,"row","focusin","keydown"],["mat-row","","cdkTrapFocus","",1,"draft",3,"row","keydown","keydown.escape","keydown.backspace","focusin"]],template:function(a,b){a&1&&(H(0,"table",0),K(1,1),P(2,QJa,1,0,"th",2),P(3,RJa,2,0,"td",3),L(),K(4,4),P(5,SJa,1,0,"th",2),P(6,TJa,3,0,"td",5),L(),K(7,6),P(8,UJa,2,0,"th",2),P(9,VJa,2,1,"td",7),L(),K(10,8),P(11,WJa,2,0,"th",2),
P(12,XJa,2,0,"td",7),L(),K(13,9),P(14,YJa,2,0,"th",2),P(15,ZJa,4,8,"td",7),L(),K(16,10),P(17,$Ja,2,0,"th",2),P(18,aKa,3,3,"td",7),L(),K(19,11),P(20,bKa,2,0,"th",2),P(21,mKa,6,4,"td",7),L(),K(22,12),P(23,nKa,2,0,"th",2),P(24,sKa,4,2,"td",7),L(),K(25,13),P(26,tKa,2,0,"th",2),P(27,uKa,3,3,"td",7),L(),K(28,14),P(29,vKa,1,0,"th",2),P(30,wKa,2,1,"td",7),L(),K(31,15),P(32,xKa,2,0,"th",2),P(33,BKa,2,1,"td",7),L(),K(34,16),P(35,CKa,1,0,"th",2),P(36,FKa,4,2,"td",17),L(),K(37,18),P(38,GKa,6,7,"td",19),L(),K(39,
20),P(40,HKa,2,0,"th",2),P(41,IKa,7,6,"td",19),L(),P(42,KKa,2,1,"ng-container",21),P(43,MKa,4,16,"tr",22),P(44,NKa,1,4,"tr",23),P(45,OKa,1,2,"tr",24),I(),J(46,"div",25)(47,"div",26)(48,"div",27));a&2&&(F("dataSource",b.rows$)("trackBy",b.trackBy),B(42),F("ngIf",!b.options.hideHeader),B(1),F("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),B(1),F("matRowDefColumns",Rf(9,kuc))("matRowDefWhen",b.isLoadMoreRow),B(1),F("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},
dependencies:[Px,Ow,Pw,Qw,Rw,bB,jM,XL,cM,ZL,WL,eM,$L,bM,fM,hM,tC,kL,WK,XP,VK,HN,XK,RM,$K,cL,jL,VN,KK,mL,wM,ZM,PK,Uw,WP],styles:['.mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-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-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-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}a.pending-fix-msg[_ngcontent-%COMP%], [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:hover, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:focus, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:active, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]{color:var(--b-status-fixed-text)}.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-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}[_nghost-%COMP%]{display:block;position:relative;padding-bottom:5px;overflow-y:hidden;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}/*# sourceMappingURL=expandable_issues_table.css.map */'],
changeDetection:0});var fQ=function(a){this.internalArray_=l(a)};U(fQ,q);f=fQ.prototype;f.getComponentId=function(){return uj(this,yn(this,gQ,1))};f.setComponentId=function(a){return Co(this,1,gQ,a)};f.hasComponentId=function(){return null!=Qt(this,1,gQ)};f.getHotlistId=function(){return uj(this,yn(this,gQ,2))};f.setHotlistId=function(a){return Co(this,2,gQ,a)};f.getTeamId=function(){return Pt(this,5,gQ)};f.setTeamId=function(a){return Io(this,5,gQ,a)};var gQ=[1,2,5];fQ.prototype.toObject=function(){return nuc(this)};
var nuc=function(a){if(null!=a)return t(a),{componentId:n(Qt(a,1,gQ)),hotlistId:n(Qt(a,2,gQ)),teamId:n(Ro(a,5,gQ)),syncStartTime:mu(W(a,Rh,3)),syncEndTime:mu(W(a,Rh,4))}};var ouc=function(a){this.internalArray_=l(a)};U(ouc,q);ouc.prototype.getSourceSyncStateList=function(){return oj(this,fQ,2)};ouc.repeatedFields_=[1,2];ouc.prototype.toObject=function(){return puc(this)};var puc=function(a){if(null!=a)return t(a),{componentIdsList:n(sl(a,1)),sourceSyncStateList:Ub(a.getSourceSyncStateList(),nuc)}};var quc=function(a){this.internalArray_=l(a)};U(quc,q);quc.prototype.getHotlistId=function(){return uj(this,1)};quc.prototype.setHotlistId=function(a){return Nb(this,1,a)};quc.prototype.toObject=function(){return ruc(this)};var ruc=function(a){if(null!=a)return t(a),{hotlistId:uj(a,1),sourceSyncState:nuc(W(a,fQ,2))}};var suc=function(a){this.internalArray_=l(a)};U(suc,q);suc.prototype.getEmail=function(){return V(this,1)};suc.prototype.setEmail=function(a){return zj(this,1,a)};suc.prototype.toObject=function(){return tuc(this)};var tuc=function(a){if(null!=a)return t(a),{email:V(a,1),isGroup:Vj(a,2)}};var hQ=function(a){this.internalArray_=l(a)};U(hQ,q);hQ.prototype.setTeamIdsList=function(a){return Ri(this,1,a)};hQ.prototype.getSourceSyncStateList=function(){return oj(this,fQ,2)};hQ.repeatedFields_=[1,2];hQ.prototype.toObject=function(){return uuc(this)};var uuc=function(a){if(null!=a)return t(a),{teamIdsList:n(Xh(a,1)),sourceSyncStateList:Ub(a.getSourceSyncStateList(),nuc)}};var vuc=function(a){this.internalArray_=l(a)};U(vuc,q);var wuc=[1,2];vuc.prototype.toObject=function(){return xuc(this)};var xuc=function(a){if(null!=a)return t(a),{buganizerStatus:n(vn(a,1,wuc)),customStatusId:n(Qt(a,2,wuc))}};var iQ=function(a){this.internalArray_=l(a)};U(iQ,q);iQ.prototype.getName=function(){return V(this,1)};iQ.prototype.setName=function(a){return zj(this,1,a)};iQ.repeatedFields_=[2];iQ.prototype.toObject=function(){return yuc(this)};var yuc=function(a){if(null!=a)return t(a),{name:V(a,1),buganizerOrCustomStatusesList:Ub(oj(a,vuc,2),xuc),itemLimit:uj(a,3)}};var zuc=function(a){this.internalArray_=l(a)};U(zuc,q);f=zuc.prototype;f.getCustomFieldId=function(){return uj(this,1)};f.setCustomFieldId=function(a){Nb(this,1,a)};f.getCustomFieldValue=function(){return V(this,2)};f.setCustomFieldValue=function(a){return zj(this,2,a)};f.clearCustomFieldValue=function(){return Ct(this,2)};f.toObject=function(){return Auc(this)};var Auc=function(a){if(null!=a)return t(a),{customFieldId:uj(a,1),customFieldValue:V(a,2)}};var Buc=function(a){this.internalArray_=l(a)};U(Buc,q);f=Buc.prototype;f.getId=function(){return uj(this,1)};f.setId=function(a){return Nb(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return zj(this,2,a)};f.setColor=function(a){return zj(this,4,a)};f.clearColor=function(){return Ct(this,4)};f.getCustomField=function(){return W(this,zuc,6)};f.setCustomField=function(a){return lj(this,zuc,6,a)};f.toObject=function(){return Cuc(this)};
var Cuc=function(a){if(null!=a)return t(a),{id:uj(a,1),name:V(a,2),color:V(a,4),buganizerStatus:aj(a,5,0),customField:Auc(a.getCustomField())}};var Duc=function(a){this.internalArray_=l(a)};U(Duc,q);Duc.prototype.getId=function(){return uj(this,1)};Duc.prototype.setId=function(a){return Nb(this,1,a)};Duc.prototype.toObject=function(){return Euc(this)};var Euc=function(a){if(null!=a)return t(a),{id:uj(a,1)}};var Fuc=function(a){this.internalArray_=l(a)};U(Fuc,q);Fuc.prototype.setWorkItemId=function(a){return zj(this,1,a)};Fuc.prototype.toObject=function(){return Guc(this)};var Guc=function(a){if(null!=a)return t(a),{workItemId:V(a,1)}};var Huc=function(a){this.internalArray_=l(a)};U(Huc,q);Huc.prototype.toObject=function(){return Iuc(this)};var Iuc=function(a){if(null!=a)return t(a),{}};var Juc=function(a){this.internalArray_=l(a)};U(Juc,q);Juc.prototype.toObject=function(){return Kuc(this)};var Kuc=function(a){if(null!=a)return t(a),{}};var Luc=function(a){this.internalArray_=l(a)};U(Luc,q);Luc.prototype.getId=function(){return uj(this,yn(this,Muc,1))};Luc.prototype.setId=function(a){return Co(this,1,Muc,a)};var Muc=[1,2,3];Luc.prototype.toObject=function(){return Nuc(this)};var Nuc=function(a){if(null!=a)return t(a),{id:n(Qt(a,1,Muc)),iterationType:n(vn(a,2,Muc)),iterationTag:n(vn(a,3,Muc))}};var Ouc=function(a){this.internalArray_=l(a)};U(Ouc,q);Ouc.prototype.getId=function(){return uj(this,1)};Ouc.prototype.setId=function(a){return Nb(this,1,a)};Ouc.prototype.toObject=function(){return Puc(this)};var Puc=function(a){if(null!=a)return t(a),{id:uj(a,1)}};var jQ=function(a){this.internalArray_=l(a)};U(jQ,q);jQ.prototype.getQuery=function(){return V(this,1)};jQ.prototype.setQuery=function(a){return zj(this,1,a)};jQ.prototype.clearQuery=function(){Ct(this,1)};jQ.prototype.toObject=function(){return Quc(this)};var Quc=function(a){if(null!=a)return t(a),{query:V(a,1)}};var Ruc=function(a){this.internalArray_=l(a)};U(Ruc,q);Ruc.prototype.getId=function(){return V(this,1)};Ruc.prototype.setId=function(a){return zj(this,1,a)};Ruc.prototype.toObject=function(){return Suc(this)};var Suc=function(a){if(null!=a)return t(a),{id:V(a,1)}};var Tuc=function(a){this.internalArray_=l(a)};U(Tuc,q);var kQ=[1,2,3,4,5,6,7,8];Tuc.prototype.toObject=function(){return Uuc(this)};var Uuc=function(a){if(null!=a)return t(a),{backlogScope:Euc(fk(a,Duc,1,kQ)),drillinScope:Guc(fk(a,Fuc,2,kQ)),goalsScope:Iuc(fk(a,Huc,3,kQ)),inboxScope:Kuc(fk(a,Juc,4,kQ)),iterationScope:Nuc(fk(a,Luc,5,kQ)),searchScope:Quc(fk(a,jQ,6,kQ)),tagScope:Suc(fk(a,Ruc,7,kQ)),savedQueryScope:Puc(fk(a,Ouc,8,kQ))}};var Vuc=function(a){this.internalArray_=l(a)};U(Vuc,q);Vuc.prototype.getScope=function(){return W(this,Tuc,2)};Vuc.prototype.toObject=function(){return Wuc(this)};var Wuc=function(a){if(null!=a)return t(a),{savedViewId:V(a,1),scope:Uuc(a.getScope())}};var lQ=function(a){this.internalArray_=l(a)};U(lQ,q);lQ.prototype.getPriority=function(a){return Mt(this,1,a)};lQ.prototype.setPriority=function(a,b){return Fb(this,1,a,b,fl)};lQ.repeatedFields_=[1,2];lQ.prototype.toObject=function(){return Xuc(this)};var Xuc=function(a){if(null!=a)return t(a),{priorityList:n(fl(a,1)),itemTypesList:n(fl(a,2))}};var Yuc=function(a){this.internalArray_=l(a)};U(Yuc,q);Yuc.prototype.toObject=function(){return Zuc(this)};var Zuc=function(a){if(null!=a)return t(a),{defaultStartAsBlank:n(Ur(a,1)),estimateAndDependenciesMax:n(Ur(a,2))}};var $uc=function(a){this.internalArray_=l(a)};U($uc,q);$uc.prototype.toObject=function(){return avc(this)};var avc=function(a){if(null!=a)return t(a),{parentIssueType:aj(a,1,0),childIssueType:aj(a,2,0)}};var mQ=function(a){this.internalArray_=l(a)};U(mQ,q);mQ.prototype.getType=function(){return aj(this,1,0)};mQ.prototype.setType=function(a){return $i(this,1,a)};mQ.prototype.getScope=function(){return W(this,Tuc,2)};mQ.prototype.toObject=function(){return bvc(this)};var bvc=function(a){if(null!=a)return t(a),{type:aj(a,1,0),scope:Uuc(a.getScope())}};var cvc=function(a){this.internalArray_=l(a)};U(cvc,q);cvc.repeatedFields_=[1,2];cvc.prototype.toObject=function(){return dvc(this)};var dvc=function(a){if(null!=a)return t(a),{rootLevelItemDefaultsList:Ub(oj(a,mQ,1),bvc),preferredParentChildIssueTypesList:Ub(oj(a,$uc,2),avc),inheritedParentFields:pD(W(a,oD,3)),inheritedSiblingFields:pD(W(a,oD,4))}};var evc=function(a){this.internalArray_=l(a)};U(evc,q);evc.repeatedFields_=[1];evc.prototype.toObject=function(){return fvc(this)};var fvc=function(a){if(null!=a)return t(a),{workspaceIdsList:n(sl(a,1))}};var nQ=function(a){this.internalArray_=l(a)};U(nQ,q);nQ.prototype.getAssignee=function(){return V(this,2)};nQ.prototype.setAssignee=function(a){zj(this,2,a)};nQ.prototype.clearAssignee=function(){return Ct(this,2)};nQ.prototype.toObject=function(){return gvc(this)};var gvc=function(a){if(null!=a)return t(a),{promptUser:Vj(a,1),assignee:V(a,2),removeAssignee:Vj(a,3)}};var hvc=function(a){this.internalArray_=l(a)};U(hvc,q);hvc.repeatedFields_=[2,3];hvc.prototype.toObject=function(){return ivc(this)};var ivc=function(a){if(null!=a)return t(a),{promptUser:Vj(a,1),addCcsList:n(Xh(a,2)),removeCcsList:n(Xh(a,3))}};var jvc=function(a){this.internalArray_=l(a)};U(jvc,q);jvc.prototype.getComment=function(){return V(this,2)};jvc.prototype.setComment=function(a){zj(this,2,a)};jvc.prototype.toObject=function(){return kvc(this)};var kvc=function(a){if(null!=a)return t(a),{promptUser:Vj(a,1),comment:V(a,2)}};var lvc=function(a){this.internalArray_=l(a)};U(lvc,q);lvc.prototype.getComponentId=function(){return uj(this,1)};lvc.prototype.setComponentId=function(a){return Nb(this,1,a)};lvc.prototype.toObject=function(){return mvc(this)};var mvc=function(a){if(null!=a)return t(a),{componentId:uj(a,1),promptUser:Vj(a,2)}};var nvc=function(a){this.internalArray_=l(a)};U(nvc,q);f=nvc.prototype;f.getCustomFieldValue=function(){return W(this,QD,2)};f.setCustomFieldValue=function(a){return lj(this,QD,2,a)};f.clearCustomFieldValue=function(){return Ct(this,2)};f.hasCustomFieldValue=function(){return Pj(this,QD,2)};f.toObject=function(){return ovc(this)};var ovc=function(a){if(null!=a)return t(a),{promptUser:Vj(a,1),customFieldValue:jbc(a.getCustomFieldValue())}};var oQ=function(a){this.internalArray_=l(a)};U(oQ,q);oQ.prototype.setAddHotlistIdsList=function(a){Cb(this,2,a,gb)};oQ.prototype.setRemoveHotlistIdsList=function(a){Cb(this,3,a,gb)};oQ.repeatedFields_=[2,3];oQ.prototype.toObject=function(){return pvc(this)};var pvc=function(a){if(null!=a)return t(a),{promptUser:Vj(a,1),addHotlistIdsList:n(sl(a,2)),removeHotlistIdsList:n(sl(a,3))}};var pQ=function(a){this.internalArray_=l(a)};U(pQ,q);pQ.prototype.getIterationId=function(){return uj(this,2)};pQ.prototype.setIterationId=function(a){return Nb(this,2,a)};pQ.prototype.getIteration=function(){return V(this,3)};pQ.prototype.toObject=function(){return qvc(this)};var qvc=function(a){if(null!=a)return t(a),{promptUser:Vj(a,1),iterationId:uj(a,2),iteration:V(a,3),removeIteration:Vj(a,4)}};var rvc=function(a){this.internalArray_=l(a)};U(rvc,q);rvc.repeatedFields_=[2,3];rvc.prototype.toObject=function(){return svc(this)};var svc=function(a){if(null!=a)return t(a),{promptUser:Vj(a,1),addParentIdsList:n(sl(a,2)),removeParentIdsList:n(sl(a,3))}};var tvc=function(a){this.internalArray_=l(a)};U(tvc,q);tvc.prototype.getPriority=function(){return aj(this,1,0)};tvc.prototype.setPriority=function(a){return $i(this,1,a)};tvc.prototype.toObject=function(){return uvc(this)};var uvc=function(a){if(null!=a)return t(a),{priority:aj(a,1,0)}};var vvc=function(a){this.internalArray_=l(a)};U(vvc,q);vvc.prototype.getSeverity=function(){return aj(this,1,0)};vvc.prototype.setSeverity=function(a){return $i(this,1,a)};vvc.prototype.toObject=function(){return wvc(this)};var wvc=function(a){if(null!=a)return t(a),{severity:aj(a,1,0)}};var xvc=function(a){this.internalArray_=l(a)};U(xvc,q);xvc.prototype.getStatus=function(){return aj(this,1,0)};xvc.prototype.setStatus=function(a){return $i(this,1,a)};xvc.prototype.toObject=function(){return yvc(this)};var yvc=function(a){if(null!=a)return t(a),{status:aj(a,1,0)}};var zvc=function(a){this.internalArray_=l(a)};U(zvc,q);zvc.repeatedFields_=[2,3];zvc.prototype.toObject=function(){return Avc(this)};var Avc=function(a){if(null!=a)return t(a),{promptUser:Vj(a,1),addTagsList:n(Xh(a,2)),removeTagsList:n(Xh(a,3))}};var Bvc=function(a){this.internalArray_=l(a)};U(Bvc,q);Bvc.prototype.toObject=function(){return Cvc(this)};var Cvc=function(a){if(null!=a)return t(a),{itemType:aj(a,1,0)}};var Dvc=function(a){this.internalArray_=l(a)};U(Dvc,q);var qQ=[1,2,3,4,5,6,7,8,9,10,11,12,13];Dvc.prototype.toObject=function(){return Evc(this)};
var Evc=function(a){if(null!=a)return t(a),{parentAction:svc(fk(a,rvc,1,qQ)),iterationsBacklogsAction:qvc(fk(a,pQ,2,qQ)),tagsAction:Avc(fk(a,zvc,3,qQ)),hotlistsAction:pvc(fk(a,oQ,4,qQ)),componentsAction:mvc(fk(a,lvc,5,qQ)),statusAction:yvc(fk(a,xvc,6,qQ)),priorityAction:uvc(fk(a,tvc,7,qQ)),severityAction:wvc(fk(a,vvc,8,qQ)),assigneeAction:gvc(fk(a,nQ,9,qQ)),ccAction:ivc(fk(a,hvc,10,qQ)),commentAction:kvc(fk(a,jvc,11,qQ)),typeAction:Cvc(fk(a,Bvc,12,qQ)),customFieldAction:ovc(fk(a,nvc,13,qQ))}};var rQ=function(a){this.internalArray_=l(a)};U(rQ,q);rQ.prototype.getName=function(){return V(this,1)};rQ.prototype.setName=function(a){return zj(this,1,a)};rQ.prototype.getDescription=function(){return V(this,2)};rQ.prototype.setDescription=function(a){return zj(this,2,a)};rQ.repeatedFields_=[3];rQ.prototype.toObject=function(){return Fvc(this)};var Fvc=function(a){if(null!=a)return t(a),{name:V(a,1),description:V(a,2),subActionsList:Ub(oj(a,Dvc,3),Evc)}};var sQ=function(a){this.internalArray_=l(a)};U(sQ,q);f=sQ.prototype;f.getUser=function(){return fk(this,fj,1,tQ)};f.setUser=function(a){Ko(this,1,tQ,a)};f.hasUser=function(){return ck(this,fj,1,tQ)};f.getGroup=function(){return fk(this,fj,2,tQ)};f.setGroup=function(a){Ko(this,2,tQ,a)};f.getAlias=function(){return Pt(this,3,tQ)};f.setAlias=function(a){Io(this,3,tQ,a)};var tQ=[1,2,3];sQ.prototype.toObject=function(){return uQ(this)};
var uQ=function(a){if(null!=a)return t(a),{user:TD(a.getUser()),group:TD(a.getGroup()),alias:n(Ro(a,3,tQ))}};var Gvc=function(a){this.internalArray_=l(a)};U(Gvc,q);f=Gvc.prototype;f.getAdminsList=function(){return oj(this,sQ,2)};f.setAdminsList=function(a){rj(this,2,a)};f.getInheritedAdminsList=function(){return oj(this,sQ,3)};f.getEditorsList=function(){return oj(this,sQ,4)};f.setEditorsList=function(a){rj(this,4,a)};f.getImplicitEditorsList=function(){return oj(this,sQ,5)};f.getAppendersList=function(){return oj(this,sQ,6)};f.setAppendersList=function(a){rj(this,6,a)};
f.getImplicitAppendersList=function(){return oj(this,sQ,7)};f.getReadersList=function(){return oj(this,sQ,8)};f.setReadersList=function(a){rj(this,8,a)};f.getImplicitReadersList=function(){return oj(this,sQ,9)};f.getImplicitAccess=function(){return aj(this,10,0)};f.setImplicitAccess=function(a){return $i(this,10,a)};f.getRestrictedReadersList=function(){return oj(this,sQ,11)};f.setRestrictedReadersList=function(a){rj(this,11,a)};f.getRestrictedPlusReadersList=function(){return oj(this,sQ,12)};
f.setRestrictedPlusReadersList=function(a){rj(this,12,a)};Gvc.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];Gvc.prototype.toObject=function(){return Hvc(this)};
var Hvc=function(a){if(null!=a)return t(a),{inheritance:aj(a,1,0),adminsList:Ub(a.getAdminsList(),uQ),inheritedAdminsList:Ub(a.getInheritedAdminsList(),uQ),editorsList:Ub(a.getEditorsList(),uQ),implicitEditorsList:Ub(a.getImplicitEditorsList(),uQ),appendersList:Ub(a.getAppendersList(),uQ),implicitAppendersList:Ub(a.getImplicitAppendersList(),uQ),readersList:Ub(a.getReadersList(),uQ),implicitReadersList:Ub(a.getImplicitReadersList(),uQ),implicitAccess:aj(a,10,0),restrictedReadersList:Ub(a.getRestrictedReadersList(),
uQ),restrictedPlusReadersList:Ub(a.getRestrictedPlusReadersList(),uQ)}};var mo=function(a){this.internalArray_=l(a)};U(mo,q);f=mo.prototype;f.getWorkspaceId=function(){return uj(this,1)};f.getName=function(){return V(this,2)};f.setName=function(a){return zj(this,2,a)};f.getTimeZone=function(){return W(this,mj,8)};f.setTimeZone=function(a){return lj(this,mj,8,a)};f.hasTimeZone=function(){return Pj(this,mj,8)};f.getMembersList=function(){return oj(this,suc,9)};f.setMembersList=function(a){rj(this,9,a)};f.getUpdateTime=function(){return W(this,Rh,12)};
f.setUpdateTime=function(a){lj(this,Rh,12,a)};f.getBookmarkGroupId=function(){return uj(this,14)};f.setBookmarkGroupId=function(a){return Nb(this,14,a)};f.getTeamId=function(){return V(this,20)};f.setTeamId=function(a){return zj(this,20,a)};var Ivc=Yb(mo);mo.repeatedFields_=[5,9,13,15,17,18];var Jvc=[6,7,21];mo.prototype.toObject=function(){return Kvc(this)};
var Kvc=function(a){if(null!=a)return t(a),{workspaceId:uj(a,1),name:V(a,2),defaultComponentId:It(a,3),inboxQuery:V(a,4),componentIdsList:n(zb(a,5,hb)),componentBased:puc(fk(a,ouc,6,Jvc)),hotlistBased:ruc(fk(a,quc,7,Jvc)),teamBased:uuc(fk(a,hQ,21,Jvc)),inclusionCriteria:fvc(W(a,evc,24)),exclusionCriteria:Xuc(W(a,lQ,25)),timeZone:MC(a.getTimeZone()),membersList:Ub(a.getMembersList(),tuc),trashComponentId:uj(a,10),defaultHotlistAcls:Hvc(W(a,Gvc,11)),updateTime:mu(a.getUpdateTime()),triageActionsList:Ub(oj(a,
rQ,13),Fvc),bookmarkGroupId:uj(a,14),defaultSavedViewsList:Ub(oj(a,Vuc,15),Wuc),customStatusesList:Ub(oj(a,Buc,17),Cuc),boardColumnsList:Ub(oj(a,iQ,18),yuc),teamId:V(a,20),workspaceType:aj(a,22,0),itemDefaultsConfig:dvc(W(a,cvc,23)),ganttDateStrategyConfig:Zuc(W(a,Yuc,26)),iterationRecurrenceId:uj(a,27)}};var Lvc=function(a){this.internalArray_=l(a)};U(Lvc,q);Lvc.prototype.getWorkspaceId=function(){return uj(this,1)};Lvc.prototype.toObject=function(){if(null!=this){t(this);var a={workspaceId:uj(this,1)}}else a=void 0;return a};var Mvc=new SC("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",Lvc,mo,function(a){return a.serialize()},Ivc);var Nvc=function(a){this.internalArray_=l(a)};U(Nvc,q);Nvc.prototype.toObject=function(){return Ovc(this)};var Ovc=function(a){if(null!=a)return t(a),{}};var vQ=function(a){this.internalArray_=l(a)};U(vQ,q);vQ.prototype.setWorkItemId=function(a){return Io(this,1,Pvc,a)};var Qvc=function(){var a=new vQ,b=new Nvc;return Ko(a,2,Pvc,b)};vQ.repeatedFields_=[3];var Pvc=[1,2];vQ.prototype.toObject=function(){if(null!=this){t(this);var a={workItemId:n(Ro(this,1,Pvc)),userWorkspacesRequest:Ovc(fk(this,Nvc,2,Pvc)),workspaceTypesList:n(fl(this,3))}}else a=void 0;return a};var Rvc=function(a){this.internalArray_=l(a)};U(Rvc,q);var Svc=Yb(Rvc);Rvc.repeatedFields_=[1];Rvc.prototype.toObject=function(){if(null!=this){t(this);var a={workspacesList:Ub(oj(this,mo,1),Kvc)}}else a=void 0;return a};var Tvc=new SC("/google.corp.devtools.worktracker.v1.WorkspaceService/List",vQ,Rvc,function(a){return a.serialize()},Svc);var Uvc=function(a,b){b=b||{};b.format="jspb";this.client_=new nD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};Uvc.prototype.get=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},Mvc)};Uvc.prototype.list=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},Tvc)};var Vvc={},Wvc;Vvc.Authorization=null!=(Wvc=cp([]))?Wvc:"";Vvc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";Vvc["X-Goog-AuthUser"]="0";var wQ=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())},Xvc=function(a,b){return a.activeSession.isExternalSession()?(0,E.of)([]):(0,E.from)(a.client.list((new vQ).setWorkItemId("b/"+b),Vvc)).pipe(D(PKa(b)),Ie(function(){return(0,E.of)([])}))};
wQ.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"}};wQ.\u0275fac=function(a){return new (a||wQ)(u(bt),u(xQ))};wQ.\u0275prov=wc({token:wQ,factory:wQ.\u0275fac,providedIn:"root"});var xQ=function(){};
xQ.prototype.create=function(a){return new Uvc(a,{withCredentials:!0,suppressCorsPreflight:!0})};xQ.\u0275fac=function(a){return new (a||xQ)};xQ.\u0275prov=wc({token:xQ,factory:xQ.\u0275fac,providedIn:"root"});var yQ=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new E.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=null!=window.localStorage.getItem("onedev-darkmode");Yvc(b,b.localDarkmode);b.clientStreamzService&&b.clientStreamzService.logUsageMetric("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")}};yQ.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(aC)};var Yvc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};yQ.\u0275fac=function(a){return new (a||yQ)(u(Lv))};yQ.\u0275prov=wc({token:yQ,factory:yQ.\u0275fac});var Zvc=et(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),$vc=et(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),awc=function(a,b){this.dialogRef=a;this.darkmodeService=b;this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(D(function(c){return c?Sg(Zvc):Sg($vc)}))};awc.\u0275fac=function(a){return new (a||awc)(C(AA),C(yQ))};
awc.\u0275cmp=Mc({type:awc,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,"src","load"],["diameter","60"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,QKa,2,3,"ng-container",1),S(2,"async"),P(3,RKa,
1,0,"mat-spinner",2),I(),H(4,"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),R(6," Cancel "),I(),H(7,"button",5),M("click",function(){return b.dialogRef.close(!0)}),R(8," File a new issue "),I()());a&2&&(B(1),F("ngIf",T(2,2,b.docUrl$)),B(2),F("ngIf",!b.contentLoaded))},dependencies:[Ow,GA,HA,qA,vM,Uw],styles:["iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:0}.loading[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:space-between}.mat-dialog-content[_ngcontent-%COMP%]{display:flex;flex-grow:1;position:relative;justify-content:center;align-items:center}"],
changeDetection:0});var po=function(a){this.internalArray_=l(a)};U(po,q);f=po.prototype;f.getEnableSsEngine=function(){return Vj(this,2)};f.getEnableAwr=function(){return Vj(this,3)};f.getEnableHelpSuggestions=function(){return Vj(this,4)};f.getAlohaAutoGaRollout=function(){return Vj(this,5)};f.getEnableConfigurator=function(){return Vj(this,6)};f.getEnableMweb=function(){return Vj(this,7)};f.getEnableCtlConsentCheckbox=function(){return Vj(this,8)};f.getEnableIframe=function(){return Vj(this,9)};
var hLa=function(){var a=new po;a=Ib(a,5,!0);a=Ib(a,2,!0);a=Ib(a,4,!1);a=Ib(a,8,!0);return Ib(a,9,!0)};f=po.prototype;f.getEnableScreenshotNudge=function(){return Vj(this,10)};f.getEnableWebStartupConfigEndpoint=function(){return Vj(this,11)};f.getEnableJunkNudge=function(){return Vj(this,12)};f.getEnableConfiguratorLocale=function(){return Vj(this,13)};f.getEnableTinyNoPointer=function(){return Vj(this,14)};f.getEnableSupportSessionLogging=function(){return Vj(this,15)};
f.getEnableFileUploadForScreenshot=function(){return Vj(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return Vj(this,17)};f.getEnableImageSanitization=function(){return Vj(this,18)};f.getEnableAlohaBinarySplit=function(){return Vj(this,19)};f.getEnableDbFeedbackIntents=function(){return Vj(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return Vj(this,21)};f.getEnableFeedbackCategoryCustomUi=function(){return Vj(this,22)};
f.getEnableRealtimeCtl=function(){return Vj(this,23)};f.toObject=function(){return bwc(this)};
var bwc=function(a){if(null!=a)return t(a),{alohaLaunch:Vj(a,1),enableSsEngine:Vj(a,2),enableAwr:Vj(a,3),enableHelpSuggestions:Vj(a,4),alohaAutoGaRollout:Vj(a,5),enableConfigurator:Vj(a,6),enableMweb:Vj(a,7),enableCtlConsentCheckbox:Vj(a,8),enableIframe:Vj(a,9),enableScreenshotNudge:Vj(a,10),enableWebStartupConfigEndpoint:Vj(a,11),enableJunkNudge:Vj(a,12),enableConfiguratorLocale:Vj(a,13),enableTinyNoPointer:Vj(a,14),enableSupportSessionLogging:Vj(a,15),enableFileUploadForScreenshot:Vj(a,16),enableDirectDeflectionForSingleCategory:Vj(a,
17),enableImageSanitization:Vj(a,18),enableAlohaBinarySplit:Vj(a,19),enableDbFeedbackIntents:Vj(a,20),enableMarkMandatoryFieldsWithRequired:Vj(a,21),enableFeedbackCategoryCustomUi:Vj(a,22),enableRealtimeCtl:Vj(a,23)}};var gLa=function(a){this.internalArray_=l(a)};U(gLa,q);gLa.prototype.toObject=function(){if(null!=this){t(this);var a={alohaFlags:bwc(W(this,po,1))}}else a=void 0;return a};var SKa=[/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 VKa="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 WKa=et(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),XKa=et(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var ZKa,aLa;var cwc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||ba,e=d.document,g=a.nonce||NTb(d);g&&!a.nonce&&(a.nonce=g);if("help"==a.flow){var h=bp("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var m=JSON.stringify(b);(h=1200>=m.length)&&(a.psdJson=m)}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 r in a)b=a[r],null==b||wa(b)||(d+=encodeURIComponent(r)+"="+encodeURIComponent(b)+"&");a=ip(e).createElement("SCRIPT");g&&a.setAttribute("nonce",g);g=Rg(d);Kh(a,g);e.body.appendChild(a)}},dwc=function(a,b,c,d){var e,g;ne(function(h){e=c||ba;var m="DEV"===a.serverEnvironment,r=c||ba;r=a.nonce||NTb(r);m={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:m,nonce:r,useNightlyRelease:m,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&&(r=new Map(Object.entries(b)),m.extraData.productSpecificData=r);g=m;return h.yield(eLa(g,d,e),0)})},ewc=function(a,b,c){try{if("help"===a.flow){var d=a.helpCenterPath.replace(/^\//,
"");Ppa(c||window,Vg("https://support.google.com/"+d))}else"submit"===a.flow?cwc(a,b,c):iLa(a.productId,a.feedbackServerUri).then(function(e){e=W(e,po,1);var g=!qNb||(null==e?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(null==e?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&g&&h?dwc(a,b,c,e):cwc(a,b,c)},function(e){e&&"DuplicateFormError"!==e.name&&cwc(a,b,c)})}catch(e){dwc(a,b,c,null)}};VMb("userfeedback.api.startFeedback",ewc);var zQ=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};zQ.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?yA(this.matDialog.open(awc,{width:"500px",maxHeight:"80vh",height:"640px",autoFocus:!1})).subscribe(function(b){b&&U1a(a)}):U1a(this)};
var U1a=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20230725.05_p0"};b.bucket=a.currentTracker.inTracker?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=ad([]),g=[],h=k(a.activeSession.session.config.enabledFlags),m=h.next();!m.done;m=h.next()){var r=k(m.value);m=r.next().value;(r=r.next().value)&&g.push(m)}c=d.call(c,e,ad(g)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};a.currentTracker.inTracker&&
(c.trackerId=a.currentTracker.getTrackerId());ewc(b,c)};zQ.\u0275fac=function(a){return new (a||zQ)(u(bt),u(DA),u(eL))};zQ.\u0275prov=wc({token:zQ,factory:zQ.\u0275fac,providedIn:"root"});var AQ=function(a,b,c,d,e,g,h){var m=this;this.cdr=a;this.codefont=b;this.location=e;this.paths=g;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(r){m.history=r}).catch(function(r){d.errorHandler(null,r)}).finally(function(){m.isLoading=!1;m.cdr.detectChanges()})};AQ.prototype.trackByIndex=function(a){return a};
AQ.prototype.startFeedback=function(){this.userFeedback.startFeedback()};AQ.\u0275fac=function(a){return new (a||AQ)(C(PH,2),C(DO),C(CA),C(oG),C(jx),C(dH),C(zQ))};
AQ.\u0275cmp=Mc({type:AQ,selectors:[["comment-history-dialog"]],features:[Pf([PH])],decls:14,vars:4,consts:[["mat-dialog-title",""],[1,"diff-checkbox"],[3,"checked","change"],[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,"id","click"],["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&&(H(0,"h2",0),R(1),I(),H(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),M("change",function(c){return b.diffView=c.checked}),R(5," Show Diff "),I()(),H(6,"a",3),M("click",function(){return b.startFeedback()}),R(7,"Feedback"),I(),J(8,"br",4),P(9,jLa,2,0,"div",5),P(10,yLa,2,2,"ul",6),I(),H(11,"mat-dialog-actions")(12,"button",7),R(13,"Close"),I()());a&2&&(B(1),Mf("History for Comment #",b.commentNumber,""),B(3),F("checked",b.diffView),B(5),F("ngIf",b.isLoading),B(1),F("ngIf",!b.isLoading))},dependencies:[Nw,Ow,VK,BO,qA,EA,FA,GA,HA,KK,wM,PK,rM,Uw,eK,xP],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 zLa=function(){},qo=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("hd");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var g=fwc(b,c),h=b.substring(0,g);b=b.substring(g);c=c.substring(g);g=gwc(b,c);var m=b.substring(b.length-g);b=b.substring(0,b.length-g);c=c.substring(0,c.length-g);b=hwc(a,b,c,d,e);h&&b.unshift([0,h]);m&&b.push([0,m]);iwc(a,b);return b},hwc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var g=
b.length>c.length?b:c,h=b.length>c.length?c:b,m=g.indexOf(h);if(-1!=m)return a=[[1,g.substring(0,m)],[0,h],[1,g.substring(m+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(1==h.length)return[[-1,b],[1,c]];if(g=jwc(b,c))return c=g[1],h=g[3],b=g[4],g=qo(a,g[0],g[2],d,e),a=qo(a,c,h,d,e),g.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=kwc(b,c);c=b.lineArray;b=qo(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){g=b[d][1];h=[];for(m=0;m<g.length;m++)h[m]=c[g.charCodeAt(m)];b[d][1]=h.join("")}ALa(a,
b);b.push([0,""]);g=d=c=0;for(m=h="";c<b.length;){switch(b[c][0]){case 1:g++;m+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(1<=d&&1<=g){b.splice(c-d-g,d+g);c=c-d-g;d=qo(a,h,m,!1,e);for(g=d.length-1;0<=g;g--)b.splice(c,0,d[g]);c+=d.length}d=g=0;m=h=""}c++}b.pop();a=b}else a:{d=b.length;g=c.length;h=Math.ceil((d+g)/2);m=2*h;for(var r=Array(m),v=Array(m),y=0;y<m;y++)r[y]=-1,v[y]=-1;r[h+1]=0;v[h+1]=0;y=d-g;for(var A=0!=y%2,G=0,N=0,Q=0,Z=0,Y=0;Y<h&&!((new Date).getTime()>e);Y++){for(var ea=-Y+
G;ea<=Y-N;ea+=2){var ja=h+ea;var va=ea==-Y||ea!=Y&&r[ja-1]<r[ja+1]?r[ja+1]:r[ja-1]+1;for(var za=va-ea;va<d&&za<g&&b.charAt(va)==c.charAt(za);)va++,za++;r[ja]=va;if(va>d)N+=2;else if(za>g)G+=2;else if(A&&(ja=h+y-ea,0<=ja&&ja<m&&-1!=v[ja])){var Pa=d-v[ja];if(va>=Pa){a=lwc(a,b,c,va,za,e);break a}}}for(ea=-Y+Q;ea<=Y-Z;ea+=2){ja=h+ea;Pa=ea==-Y||ea!=Y&&v[ja-1]<v[ja+1]?v[ja+1]:v[ja-1]+1;for(va=Pa-ea;Pa<d&&va<g&&b.charAt(d-Pa-1)==c.charAt(g-va-1);)Pa++,va++;v[ja]=Pa;if(Pa>d)Z+=2;else if(va>g)Q+=2;else if(!A&&
(ja=h+y-ea,0<=ja&&ja<m&&-1!=r[ja]&&(va=r[ja],za=h+va-ja,Pa=d-Pa,va>=Pa))){a=lwc(a,b,c,va,za,e);break a}}}a=[[-1,b],[1,c]]}return a},lwc=function(a,b,c,d,e,g){var h=b.substring(d),m=c.substring(e);b=qo(a,b.substring(0,d),c.substring(0,e),!1,g);a=qo(a,h,m,!1,g);return b.concat(a)},kwc=function(a,b){function c(h){for(var m="",r=0,v=-1,y=d.length;v<h.length-1;){v=h.indexOf("\n",r);-1==v&&(v=h.length-1);var A=h.substring(r,v+1);(e.hasOwnProperty?e.hasOwnProperty(A):void 0!==e[A])?m+=String.fromCharCode(e[A]):
(y==g&&(A=h.substring(r),v=h.length),m+=String.fromCharCode(y),e[A]=y,d[y++]=A);r=v+1}return m}var d=[],e={};d[0]="";var g=4E4;a=c(a);g=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},fwc=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,g=0;c<e;)a.substring(g,e)==b.substring(g,e)?g=c=e:d=e,e=Math.floor((d-c)/2+c);return e},gwc=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,g=0;c<e;)a.substring(a.length-e,a.length-g)==b.substring(b.length-e,b.length-g)?g=c=e:d=e,e=Math.floor((d-c)/2+c);return e},mwc=function(a,b){var c=a.length,d=b.length;if(0==c||0==d)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 g=b.indexOf(a.substring(c-e));if(-1==g)return d;e+=g;if(0==g||a.substring(c-e)==b.substring(0,e))d=e,e++}},jwc=function(a,b){function c(m,r,v){for(var y=m.substring(v,v+Math.floor(m.length/4)),A=-1,G="",
N,Q,Z,Y;-1!=(A=r.indexOf(y,A+1));){var ea=fwc(m.substring(v),r.substring(A)),ja=gwc(m.substring(0,v),r.substring(0,A));G.length<ja+ea&&(G=r.substring(A-ja,A)+r.substring(A,A+ea),N=m.substring(0,v-ja),Q=m.substring(v+ea),Z=r.substring(0,A-ja),Y=r.substring(A+ea))}return 2*G.length>=m.length?[N,Q,Z,Y,G]:null}var d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(4>d.length||2*e.length<d.length)return null;var g=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));var h;if(g||d)d?h=g?g[4].length>
d[4].length?g:d:d:h=g;else return null;a.length>b.length?(a=h[0],b=h[1],g=h[2],d=h[3]):(g=h[0],d=h[1],a=h[2],b=h[3]);return[a,b,g,d,h[4]]},ALa=function(a,b){for(var c=!1,d=[],e=0,g=null,h=0,m=0,r=0,v=0,y=0;h<b.length;)0==b[h][0]?(d[e++]=h,m=v,r=y,y=v=0,g=b[h][1]):(1==b[h][0]?v+=b[h][1].length:y+=b[h][1].length,g&&g.length<=Math.max(m,r)&&g.length<=Math.max(v,y)&&(b.splice(d[e-1],0,[-1,g]),b[d[e-1]+1][0]=1,e--,e--,h=0<e?d[e-1]:-1,y=v=r=m=0,g=null,c=!0)),h++;c&&iwc(a,b);nwc(b);for(h=1;h<b.length;){if(-1==
b[h-1][0]&&1==b[h][0]){a=b[h-1][1];c=b[h][1];d=mwc(a,c);e=mwc(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++}},nwc=function(a){function b(A,G){if(!A||!G)return 6;var N=A.charAt(A.length-1),Q=G.charAt(0),Z=N.match(owc),Y=Q.match(owc),
ea=Z&&N.match(pwc),ja=Y&&Q.match(pwc);N=ea&&N.match(qwc);Q=ja&&Q.match(qwc);A=N&&A.match(rwc);G=Q&&G.match(swc);return A||G?5:N||Q?4:Z&&!ea&&ja?3:ea||ja?2:Z||Y?1:0}for(var c=1;c<a.length-1;){if(0==a[c-1][0]&&0==a[c+1][0]){var d=a[c-1][1],e=a[c][1],g=a[c+1][1],h=gwc(d,e);if(h){var m=e.substring(e.length-h);d=d.substring(0,d.length-h);e=m+e.substring(0,e.length-h);g=m+g}h=d;m=e;for(var r=g,v=b(d,e)+b(e,g);e.charAt(0)===g.charAt(0);){d+=e.charAt(0);e=e.substring(1)+g.charAt(0);g=g.substring(1);var y=
b(d,e)+b(e,g);y>=v&&(v=y,h=d,m=e,r=g)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=m,r?a[c+1][1]=r:(a.splice(c+1,1),c--))}c++}},owc=/[^a-zA-Z0-9]/,pwc=/\s/,qwc=/[\r\n]/,rwc=/\n\r?\n$/,swc=/^\r?\n\r?\n/,iwc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,g="",h="",m;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;g+=b[c][1];c++;break;case 0:1<d+e?(0!==d&&0!==e&&(m=fwc(h,g),0!==m&&(0<c-d-e&&0==b[c-d-e-1][0]?b[c-d-e-1][1]+=h.substring(0,m):(b.splice(0,0,[0,h.substring(0,
m)]),c++),h=h.substring(m),g=g.substring(m)),m=gwc(h,g),0!==m&&(b[c][1]=h.substring(h.length-m)+b[c][1],h=h.substring(0,h.length-m),g=g.substring(0,g.length-m))),0===d?b.splice(c-e,d+e,[1,h]):0===e?b.splice(c-d,d+e,[-1,g]):b.splice(c-d-e,d+e,[-1,g],[1,h]),c=c-d-e+(d?1:0)+(e?1:0)+1):0!==c&&0==b[c-1][0]?(b[c-1][1]+=b[c][1],b.splice(c,1)):c++,d=e=0,h=g=""}""===b[b.length-1][1]&&b.pop();d=!1;for(c=1;c<b.length-1;)0==b[c-1][0]&&0==b[c+1][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&&iwc(a,b)};var BQ=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};BQ.prototype.show=function(a,b,c){var d=this,e;return ne(function(g){if(d.dialog&&2!==d.dialog.getState())return g.return();d.analytics.trackEvent("commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:twc(d,a,b,c)};d.dialog=d.dialogManager.open(AQ,{data:e,width:"50vw"});return g.return((0,E.firstValueFrom)(yA(d.dialog)))})};
var twc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var g=0<e.length?e[0].unlinkifiedComment:"",h=0<e.length?e[0].formattingMode:"",m=!1,r=[];e=k(e);for(var v=e.next();!v.done;v=e.next()){v=v.value;var y=CLa(v);y||m?(g=uwc(v.unlinkifiedComment),h=uwc(v.formattingMode)):(g=BLa(g,v.unlinkifiedComment),m=v.formattingMode,h=h===m?uwc(m):so(uwc(h,"diff-removed"),uwc(m,"diff-added")));m=void 0===v.unlinkifiedComment?"":v.unlinkifiedComment;var A=v.version,G=v.commentContentVerdict;
r.push({unlinkifiedComment:m,lastEditorUser:v.lastEditorUser,version:A,formattingMode:v.formattingMode,formattingModeDiff:h,lastModified:Number(v.lastModified)/1E3,open:25>A,preview:48>=m.length?m:m.substring(0,45)+"...",diff:g,restricted:G&&G.piiVerdict&&"NONE_DETECTED"!==G.piiVerdict.severity||!1,deleted:CLa(v)});g=v.unlinkifiedComment;h=v.formattingMode;m=y}-1<d?r[d].open=!0:r[0].open=!0;return r})},uwc=function(a,b){return ro("SPAN",b?{"class":b}:null,a)};
BQ.\u0275fac=function(a){return new (a||BQ)(u(TH),u(JI),u(DA))};BQ.\u0275prov=wc({token:BQ,factory:BQ.\u0275fac,providedIn:"root"});var CQ=function(a){this.internalArray_=l(a,0,CQ.messageId)};U(CQ,q);CQ.prototype.getUrl=function(){return V(this,1)};CQ.prototype.setUrl=function(a){return uk(this,1,a)};CQ.prototype.hasUrl=function(){return Jk(this,1)};CQ.prototype.toObject=function(){if(null!=this){t(this);var a={url:n(X(this,1))}}else a=void 0;return a};CQ.messageId="b.AttachmentUrlResponse";var DQ=function(a){this.executor=a};DQ.prototype.get=function(a,b,c,d){if(!a||!b)return Promise.reject("Invalid resource ID.");var e={};d&&(e["X-Restricted-Content-Limit"]=String(Qqa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:CQ}).then(function(g){return g.getUrl()})};DQ.\u0275fac=function(a){return new (a||DQ)(u(xD))};DQ.\u0275prov=wc({token:DQ,factory:DQ.\u0275fac,providedIn:"root"});var EQ=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};EQ.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};EQ.\u0275fac=function(a){return new (a||EQ)(C(bt),C(Zf),C($f))};EQ.\u0275dir=Qc({type:EQ,selectors:[["","internalOnly",""]]});var FQ=function(a,b,c,d,e,g,h,m){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=g;this.documentationLinks=h;this.changeDetectorRef=m;this.isLoading=!0;this.download=this.hasViewAccess=!1;this.attachment=a.attachment;this.issueId=a.issueId;this.download=a.download};FQ.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
FQ.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;ELa(this)?(this.hasViewAccess=!1,aG(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)};FQ.prototype.getPiiSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var ELa=function(a){return(a=a.getPiiSeverity())?"NONE_DETECTED"!==a:!1},vwc=function(a){var b=a.download&&oqa(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getPiiSeverity()).then(function(c){b?Snc(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){a.butterBar.showWarning("Failed to load attachment. Please refresh and try again.");a.close()})};FQ.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
FQ.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};FQ.\u0275fac=function(a){return new (a||FQ)(C(CA),C(AA),C($F),C(DQ),C(lG),C(LK),C(jJ),C(PH,2))};
FQ.\u0275cmp=Mc({type:FQ,selectors:[["b-attachment-download-dialog"]],features:[Pf([PH])],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","",1,"gmat-button",3,"click"],["mat-flat-button",
"",1,"gmat-button","dialog-primary-action",3,"disabled","click"],["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&&(H(0,"h1",0),R(1,"Access Attachment"),I(),H(2,"div",1)(3,"div",2),R(4," Are you sure you would like to access the following attachment? "),I(),J(5,"br"),H(6,"div",3)(7,"div",4),J(8,"mat-icon",5),I(),H(9,"div",6),R(10),I()(),J(11,"br"),P(12,FLa,2,1,"ng-container",
7),P(13,GLa,3,0,"div",8),I(),P(14,HLa,1,0,"mat-spinner",9),H(15,"div",10)(16,"button",11),M("click",function(){return b.close()}),R(17," Cancel "),I(),H(18,"button",12),M("click",function(){return vwc(b)}),R(19," Continue "),I()());a&2&&(B(10),Mf(" ",b.attachment.filename," "),B(3),F("ngIf",!b.isLoading&&!b.hasViewAccess),B(1),F("ngIf",b.isLoading),B(4),F("disabled",!b.hasViewAccess))},dependencies:[Ow,bB,FA,GA,HA,qA,vM,EQ],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 wwc=function(a){this.internalArray_=l(a)};U(wwc,q);f=wwc.prototype;f.getIssueId=function(){return Ki(this,1)};f.setIssueId=function(a){return cj(this,1,a)};f.getAttachmentId=function(){return Ki(this,2)};f.setAttachmentId=function(a){cj(this,2,a)};f.getPiiRetention=function(){return aj(this,3,0)};f.setPiiRetention=function(a){return cj(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:n(p(this,1)),attachmentId:n(p(this,2)),piiRetention:n(p(this,3))}}else a=void 0;return a};var GQ=function(a){this.executor=a};GQ.prototype.updateRetention=function(a,b,c){var d=new wwc;d.setIssueId(a);d.setAttachmentId(String(b));d.setPiiRetention(jsa[c]);return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:d,responseConstructor:RE}).pipe(D(Lsa))};GQ.\u0275fac=function(a){return new (a||GQ)(u(wD))};GQ.\u0275prov=wc({token:GQ,factory:GQ.\u0275fac,providedIn:"root"});var HQ=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new pw};HQ.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};HQ.\u0275fac=function(a){return new (a||HQ)};
HQ.\u0275cmp=Mc({type:HQ,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,"href","rel","click"]],template:function(a,b){a&1&&(P(0,ILa,2,3,"span",0),P(1,JLa,2,3,"a",1));a&2&&(F("ngIf",
b.isGreyedOut||!b.linkEnabled),B(1),F("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[Ow],encapsulation:2,changeDetection:0});var IQ=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=Aac;this.label="Restricted";this.contentType="item"};IQ.prototype.getRetentionPeriod=function(){if(!this.retentionState||!this.retentionState.retentionPeriod)return"";var a=zAa(this.retentionState.retentionPeriod);return a?$ua(Math.floor(1E3*a.getSeconds()/864E5)):""};
var LLa=function(a){var b=new Date(864E13);if(!a.retentionState||!a.retentionState.scheduledDeletionTime)return b;a=Gl(Dn(a.retentionState.scheduledDeletionTime));return new Date(a||b)},xwc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>Gl(Dn(a.retentionState.scheduledDeletionTime))-Date.now():!1};IQ.\u0275fac=function(a){return new (a||IQ)(C(jJ),C(UK))};
IQ.\u0275cmp=Mc({type:IQ,selectors:[["b-restricted-chip"]],inputs:{label:"label",contentType:"contentType",retention:"retention",retentionState:"retentionState"},decls:11,vars:5,consts:[[1,"bubble",3,"panelTemplate"],["bubble",""],["tabindex","0","aria-label","Display retention information","aria-haspopup","dialog","role","button",1,"chip","nowrap",3,"focus","blur"],[1,"icon-s",3,"svgIcon"],["popup",""],["infiniteRetention",""],["hasExpiredText",""],[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=w();H(0,"xap-bubble",0,1)(2,"div",2);M("focus",function(){x(c);var e=Lf(1);return z(e.toggle(!0))})("blur",function(){x(c);var e=Lf(1);return z(e.toggle(!1))});J(3,"mat-icon",3);R(4);I();P(5,QLa,8,4,"ng-template",null,4,hg);P(7,RLa,3,1,"ng-template",null,5,hg);P(9,SLa,8,5,"ng-template",null,6,hg);I()}if(a&2){var d=Lf(6);F("panelTemplate",d);B(2);yf("warning",xwc(b));B(1);F("svgIcon",xwc(b)?"delete-alert":
"delete-clock");B(1);Mf(" ",b.label," ")}},dependencies:[Ow,Pw,Qw,bB,mP,Xw],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 JQ=function(){this.warningChunks=[]};JQ.prototype.ngOnInit=function(){var a=this.warningText,b=XLa(a,"EXTERNAL_PUBLIC")||XLa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};JQ.prototype.isText=function(a){return void 0!==a.text};JQ.\u0275fac=function(a){return new (a||JQ)};
JQ.\u0275cmp=Mc({type:JQ,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&&(H(0,"div"),P(1,VLa,3,2,"span",0),I());a&2&&(B(1),F("ngForOf",b.warningChunks))},dependencies:[Nw,Ow,nP],encapsulation:2});var WLa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var KQ=function(a,b,c){this.data=a;this.documentationLinks=b;this.dialogRef=c;this.acknowledged=!0;this.warning=this.header="";this.isAllowed=this.isExternalMove=!1;this.callbacks={allow:function(){},cancel:function(){}};this.learnMore=Zkc(b);this.header=a.response.warningHeader;this.warning=a.response.warning;if(this.isExternalMove=a.response.isExternalMove)this.acknowledged=!1;this.isAllowed=a.response.isAllowed;this.callbacks=a.callbacks};
KQ.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};KQ.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};KQ.\u0275fac=function(a){return new (a||KQ)(C(CA),C(jJ),C(AA))};
KQ.\u0275cmp=Mc({type:KQ,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,"gmat-button","medium",3,"click"],["mat-flat-button","","cdkFocusInitial","","class","gmat-button",3,"disabled","click",4,"ngIf"],["gmat-checkbox","",3,"ngModel","ngModelChange"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button",
3,"disabled","click"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),H(2,"div",1)(3,"div",2),J(4,"b-component-move-warning-content",3),I(),J(5,"br"),H(6,"a",4),R(7,"Learn more"),I(),P(8,YLa,5,1,"div",5),I(),H(9,"mat-dialog-actions")(10,"button",6),M("click",function(){return b.cancel()}),R(11," Cancel "),I(),P(12,ZLa,2,1,"button",7),I());a&2&&(B(1),Nf(b.header),B(3),F("warningText",b.warning),B(2),pf("href",b.learnMore,Sd),B(2),F("ngIf",b.isExternalMove&&b.isAllowed),B(4),F("ngIf",b.isAllowed))},
dependencies:[Ow,ox,ux,qA,BO,EA,FA,GA,HA,JQ],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var ywc=function(a){this.internalArray_=l(a,0,ywc.messageId)};U(ywc,q);ywc.prototype.toObject=function(){if(null!=this){t(this);var a={warningHeader:n(X(this,1)),warning:n(X(this,2)),isAllowed:n(Ur(this,3)),isExternalMove:n(Ur(this,4))}}else a=void 0;return a};ywc.messageId="b.CompareComponentAccessResponse";var LQ=function(a){this.executor=a};LQ.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:ywc}).then(fta)};LQ.\u0275fac=function(a){return new (a||LQ)(u(xD))};LQ.\u0275prov=wc({token:LQ,factory:LQ.\u0275fac,providedIn:"root"});var MQ=function(a,b,c,d,e,g){this.issueInteractionsTracking=a;this.issueFridge=b;this.butterBar=c;this.compareComponentAccess=d;this.matDialogService=e;this.editIssueService=g},obb=function(a,b,c){var d,e,g,h,m;ne(function(r){switch(r.nextAddress){case 1:return b=String(b),$lc(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?r.yield((0,E.firstValueFrom)(a.issueFridge.watch(b)),2):r.return();case 2:d=r.yieldResult;if(!d)return a.butterBar.showWarning("Could not load issue "+b),r.return();
e=d.snapshot[0].componentId;g=c.componentId;return e===g?r.return():r.yield(a.compareComponentAccess.check(String(e),String(g),b),3);case 3:h=r.yieldResult;if(!h.warning){r.jumpTo(4);break}return r.yield(zwc(a,h),5);case 5:if(m=r.yieldResult,!m)return r.return();case 4:return r.return(a.editIssueService.updateComponent(b,g,h.isExternalMove))}})},zwc=function(a,b){return new Promise(function(c){yA(a.matDialogService.open(KQ,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}})).subscribe(function(){c(!1)})})};
MQ.\u0275fac=function(a){return new (a||MQ)(u(PJ),u(YH),u(lG),u(LQ),u(DA),u(fK))};MQ.\u0275prov=wc({token:MQ,factory:MQ.\u0275fac,providedIn:"root"});var Awc=function(a){this.documentationLinks=a};Awc.\u0275fac=function(a){return new (a||Awc)(C(jJ))};
Awc.\u0275cmp=Mc({type:Awc,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,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a){a&1&&(H(0,"h1",0),R(1,"Apply component retention settings?"),I(),H(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. "),I(),H(5,"a",2),R(6,"Learn more"),I()(),H(7,"div",3)(8,"button",4),R(9," Cancel "),I(),H(10,"button",5),R(11," OK "),I()());a&2&&(B(5),F("href",Xs(),Sd),B(3),F("mat-dialog-close",!1),B(2),F("mat-dialog-close",!0))},dependencies:[EA,FA,GA,HA,qA],encapsulation:2});var Bwc=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};Bwc.\u0275fac=function(a){return new (a||Bwc)(C(CA),C(jJ))};
Bwc.\u0275cmp=Mc({type:Bwc,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,"ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"],[3,"value","disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),H(2,"div",1)(3,"span"),R(4," Please select the reason for deleting this attachment. "),H(5,"a",2),R(6," \u00a0Learn more "),I()(),H(7,"mat-radio-group",3),M("ngModelChange",function(c){return b.selectedReason=c}),P(8,aMa,3,4,"mat-radio-button",4),I()(),H(9,"div",5)(10,"button",6),R(11," Cancel "),I(),H(12,"button",7),R(13," Delete "),I()());a&2&&(B(1),Mf("Delete attachment ",b.attachmentId,""),B(4),F("href",
$kc(b.documentationLinks),Sd),B(2),F("ngModel",b.selectedReason),B(1),F("ngForOf",b.deletionReasons),B(4),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Nw,Ow,EA,FA,GA,HA,qA,ox,ux,DN,EN],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Cwc=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};Cwc.\u0275fac=function(a){return new (a||Cwc)(C(CA),C(jJ))};
Cwc.\u0275cmp=Mc({type:Cwc,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,"ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close",
"disabled"],[3,"value","disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),H(2,"div",1)(3,"label"),R(4,"Please select the reason for deleting this comment."),I(),H(5,"a",2),R(6," \u00a0Learn more "),I(),H(7,"mat-radio-group",3),M("ngModelChange",function(c){return b.selectedReason=c}),P(8,cMa,3,4,"mat-radio-button",4),I()(),H(9,"div",5)(10,"button",6),R(11," Cancel "),I(),H(12,"button",7),R(13," Delete "),I()());a&2&&(B(1),Of("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),B(4),F("href",$kc(b.documentationLinks),Sd),B(2),F("ngModel",b.selectedReason),B(1),F("ngForOf",b.deletionReasons),B(4),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Nw,Ow,EA,FA,GA,HA,qA,ox,ux,DN,EN],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var Dwc=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=dMa(this.activeSession.isInternalSession())};Dwc.\u0275fac=function(a){return new (a||Dwc)(C(jJ),C(bt))};
Dwc.\u0275cmp=Mc({type:Dwc,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,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Report spam?"),I(),H(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, "),H(5,"a",2),R(6,"see here"),I(),R(7,". "),I(),J(8,"p"),H(9,"p"),R(10," To delete PII or other sensitive content, "),H(11,"a",2),R(12,"file a support request"),I(),R(13,". "),I()(),H(14,"div",3)(15,"button",4),R(16," Cancel "),I(),H(17,"button",5),R(18," Report spam "),I()());a&2&&(B(5),F("href",Ykc(b.documentationLinks),Sd),B(6),F("href",b.REMOVAL_URL,
Sd),B(4),F("mat-dialog-close",!1),B(2),F("mat-dialog-close",!0))},dependencies:[EA,FA,GA,HA,qA],encapsulation:2});var Ewc=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};Ewc.\u0275fac=function(a){return new (a||Ewc)(C(jJ))};
Ewc.\u0275cmp=Mc({type:Ewc,selectors:[["b-issue-indefinite-retention-dialog"]],decls:28,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["cdkFocusInitial","",3,"checked","change"],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Retain issue indefinitely?"),
I(),H(2,"div",1)(3,"p"),R(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),I(),H(5,"p")(6,"b"),R(7,"Please note indefinite retention is not appropriate in many circumstances."),I(),J(8,"br"),R(9," Before selecting this option, you should make sure at least one of the following is true: "),I(),H(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. "),I(),H(13,"li"),
R(14," You have a process in place to manually delete this issue within an approved period of time. "),I(),H(15,"li"),R(16," Legal and Privacy have approved this non-standard retention period. "),I()(),J(17,"p"),H(18,"p")(19,"a",2),R(20,"Learn more"),I()(),H(21,"mat-checkbox",3),M("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),R(22," I acknowledge "),I()(),H(23,"div",4)(24,"button",5),R(25," Cancel "),I(),H(26,"button",6),R(27," OK "),I()());a&2&&(B(19),F("href",Xs(),Sd),
B(2),F("checked",b.indefiniteRetentionAcknowledged),B(3),F("mat-dialog-close",!1),B(2),F("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[EA,FA,GA,HA,qA,BO],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var Ns=function(a,b,c,d){var e=this;this.issueComments=b;this.errorHandler=c;this.dialogRef=d;this.allResponders=[];this.loadingResponders=!0;this.commentNumber=a.commentNumber;this.reactionType=a.reactionType;this.issueComments.listCommentReactionResponders({issueId:a.issueId,reactionType:a.reactionType,commentId:a.commentNumber}).then(function(g){e.loadingResponders=!1;e.allResponders=g.responders}).catch(function(g){e.loadingResponders=!1;pG(e.errorHandler,"Fetching comment reaction responders failed\n "+
g.message);e.dialogRef.close()})};Ns.\u0275fac=function(a){return new (a||Ns)(C(CA),C(JI),C(oG),C(AA))};
Ns.\u0275cmp=Mc({type:Ns,selectors:[["b-issue-comment-reaction-responders-dialog"]],decls:11,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["appearance","primary"],["mat-tab-label",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"],[1,"icon-xs",3,"svgIcon"],[4,"ngFor","ngForOf"],[1,"margin-xs-top","margin-xs-bottom","type-m"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),H(2,
"div",1)(3,"mat-tab-group",2)(4,"mat-tab"),P(5,eMa,1,1,"ng-template",3),P(6,fMa,1,0,"b-spinner",4),P(7,hMa,2,1,"ng-container",4),I()()(),H(8,"div",5)(9,"button",6),R(10," OK "),I()());a&2&&(B(1),Mf("View Reactions for Comment #",b.commentNumber,""),B(5),F("ngIf",b.loadingResponders),B(1),F("ngIf",!b.loadingResponders),B(2),F("mat-dialog-close",!0))},dependencies:[Nw,Ow,bB,EA,FA,GA,HA,qA,wM,tN,uN,sN],styles:["[_nghost-%COMP%]     .mat-tab-label {\n      height: 32px;\n    }\n    [_nghost-%COMP%]     .mat-tab-body-wrapper {\n      margin-top: 8px;\n    }"]});var NQ=function(){};NQ.\u0275fac=function(a){return new (a||NQ)};NQ.\u0275mod=Oc({type:NQ});NQ.\u0275inj=xc({imports:[cG,IA,QC,UA,Jx,RA,gO,eO,xN,fP]});var Fwc=function(a){this.internalArray_=l(a,0,Fwc.messageId)};U(Fwc,q);f=Fwc.prototype;f.getResourcePath=function(){return V(this,1)};f.setResourcePath=function(a){return uk(this,1,a)};f.hasResourcePath=function(){return Jk(this,1)};f.getSeverity=function(){return aj(this,2,0)};f.setSeverity=function(a){return cj(this,2,a)};f.hasSeverity=function(){return tj(this,2)};f.getJudgementReason=function(){return V(this,3)};f.setJudgementReason=function(a){return uk(this,3,a)};
f.toObject=function(){if(null!=this){t(this);var a={resourcePath:n(X(this,1)),severity:n(p(this,2)),judgementReason:n(X(this,3))}}else a=void 0;return a};Fwc.messageId="b.CreateContentJudgementRequest";var OQ=function(a){this.internalArray_=l(a,0,OQ.messageId)};U(OQ,q);OQ.repeatedFields_=[1];OQ.prototype.toObject=function(){if(null!=this){t(this);var a={contentJudgementsList:Ub(oj(this,Li,1),ID)}}else a=void 0;return a};OQ.messageId="b.ListContentJudgementsResponse";var PQ=function(a){this.internalArray_=l(a,0,PQ.messageId)};U(PQ,q);PQ.prototype.getContentJudgement=function(){return W(this,Li,1)};PQ.prototype.setContentJudgement=function(a){return lj(this,Li,1,a)};PQ.prototype.toObject=function(){if(null!=this){t(this);var a={contentJudgement:ID(this.getContentJudgement())}}else a=void 0;return a};PQ.messageId="b.UpdateContentJudgementRequest";var QQ=function(a){this.executor=a};QQ.prototype.create=function(a,b,c){a=(new Fwc).setResourcePath(a).setSeverity(Pqa(b)).setJudgementReason(c);return this.executor.post({url:"action/content_judgements",body:a,responseConstructor:Li}).pipe(D(Sqa))};
QQ.prototype.update=function(a){var b=a.contentJudgementId,c=new PQ,d=c.setContentJudgement,e=new Li;e=cj(e,1,a.contentJudgementId).setResourcePath(a.resourcePath).setSeverity(Pqa(a.severity)).setJudgementReason(a.judgementReason);a=uk(e,5,a.contentJudge);c=d.call(c,a);return this.executor.post({url:"action/content_judgements/"+b,body:c,responseConstructor:Li}).pipe(D(Sqa))};
QQ.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:OQ}).pipe(D(function(b){var c;return(null!=(c=oj(b,Li,1))?c:[]).map(Sqa)}))};QQ.\u0275fac=function(a){return new (a||QQ)(u(wD))};QQ.\u0275prov=wc({token:QQ,factory:QQ.\u0275fac,providedIn:"root"});var SQ=function(a,b,c,d,e){var g=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.piiSeverity=vac;this.loaded=!1;this.minimumSeverity="PII_SEVERITY_UNSPECIFIED";this.severity="NONE_DETECTED";this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(function(h){var m="PII_SEVERITY_UNSPECIFIED";h=k(h);for(var r=h.next();!r.done;r=h.next())r=r.value,r.contentJudge===
g.activeSession.getUserEmail()?Gwc(g,r):RQ(r.severity,m)&&(m=r.severity);g.minimumSeverity=m;RQ(g.minimumSeverity,g.severity)&&(g.severity=g.minimumSeverity);g.loaded=!0}):(Gwc(this,e.contentJudgement),this.loaded=!0)};SQ.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var RQ=function(a,b){return iMa(a)>iMa(b)},Gwc=function(a,b){if(a.judgement=b)a.severity=b.severity},Hwc=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.";
RQ(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};SQ.prototype.getContentJudgement=function(){var a;this.judgement?a=Object.assign({},this.judgement):a={contentJudge:"",contentJudgementId:void 0,resourcePath:void 0,severity:"PII_SEVERITY_UNSPECIFIED",judgementReason:""};a.severity=this.severity;a.judgementReason="None specified";return a};
SQ.prototype.onSaveClick=function(){var a=this;if(this.data.resourcePath){if(null==this.judgement){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||"None specified"!==this.judgement.judgementReason){this.contentJudgements.update(this.getContentJudgement()).subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});
return}}this.dialogRef.close({contentJudgement:this.getContentJudgement()})};SQ.prototype.onNoClick=function(){this.dialogRef.close(null)};SQ.\u0275fac=function(a){return new (a||SQ)(C(AA),C(jJ),C(QQ),C(bt),C(CA))};
SQ.\u0275cmp=Mc({type:SQ,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,"ngModel","ngModelChange"],[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,"disabled","click"]],template:function(a,b){a&1&&(H(0,"header",0)(1,"h1"),J(2,"mat-icon",1),H(3,"div"),R(4," Set restriction "),I()()(),H(5,"section",2)(6,"label",3),R(7),H(8,"a",4),R(9," Learn More "),I()(),
H(10,"mat-radio-group",5),M("ngModelChange",function(c){return b.severity=c}),H(11,"mat-radio-button",6),R(12," No restriction "),H(13,"div"),R(14,' Users with "View issues" can access. '),I()(),H(15,"mat-radio-button",7),R(16," Restricted "),H(17,"div"),R(18,' Users with "View restricted content" can access. '),I()(),H(19,"mat-radio-button",8),R(20," Restricted+ "),H(21,"div"),R(22,' Users with "View restricted+ content" can access. '),I()()()(),H(23,"mat-dialog-actions")(24,"button",9),M("click",
function(){return b.onNoClick()}),R(25," Cancel "),I(),H(26,"button",10),M("click",function(){return b.onSaveClick()}),R(27," Set "),I()());a&2&&(B(7),Mf(" ",Hwc(b)," "),B(1),F("rel",b.EXTERNAL_LINK_REL),pf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Sd),B(2),F("ngModel",b.severity),B(1),F("value",b.piiSeverity.NONE_DETECTED)("disabled",!b.canInteract()||RQ(b.minimumSeverity,b.piiSeverity.NONE_DETECTED)),B(4),F("value",b.piiSeverity.PII)("disabled",!b.canInteract()||RQ(b.minimumSeverity,
b.piiSeverity.PII)),B(4),F("value",b.piiSeverity.SPII)("disabled",!b.canInteract()||RQ(b.minimumSeverity,b.piiSeverity.SPII)),B(7),F("disabled",!b.canInteract()))},dependencies:[bB,qA,FA,GA,HA,DN,EN,ox,ux],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 TQ=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};TQ.prototype.canInteract=function(){return!UQ(this)||this.acknowledgeToMatchIssueRetention};var UQ=function(a){return"INDEFINITE"===a.piiRetention};TQ.prototype.onSaveClick=function(){this.dialogRef.close(1)};TQ.prototype.onNoClick=function(){this.dialogRef.close(0)};
TQ.\u0275fac=function(a){return new (a||TQ)(C(AA),C(jJ),C(CA))};
TQ.\u0275cmp=Mc({type:TQ,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,"disabled","click"],[3,"ngModel","ngModelChange"]],template:function(a,b){a&1&&(H(0,"h1",0),J(1,"mat-icon",1),H(2,"div"),P(3,jMa,2,1,"span",2),P(4,kMa,2,0,"span",2),I()(),H(5,"div",3),P(6,lMa,8,1,"span",2),P(7,mMa,3,2,"span",2),H(8,"span")(9,"a",4),R(10," Learn More "),I()()(),H(11,"div")(12,"span"),P(13,nMa,2,1,"mat-checkbox",5),I()(),H(14,"div",6)(15,"button",7),M("click",function(){return b.onNoClick()}),R(16," Cancel "),I(),H(17,"button",8),M("click",
function(){return b.onSaveClick()}),R(18," Save "),I()());a&2&&(B(3),F("ngIf",UQ(b)),B(1),F("ngIf",!UQ(b)),B(2),F("ngIf",UQ(b)),B(1),F("ngIf",!UQ(b)),B(2),F("rel",b.EXTERNAL_LINK_REL),pf("href",Xs(),Sd),B(4),F("ngIf",UQ(b)),B(4),F("disabled",!b.canInteract()))},dependencies:[Ow,bB,qA,FA,GA,HA,BO,ox,ux],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var VQ=function(a,b,c,d,e,g,h){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFetchResponseFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=g;this.editIssueService=h},Iwc=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,g=b.newCommentFormattingMode,h=b.recaptchaToken,m,r;ne(function(v){switch(v.nextAddress){case 1:m=a.editIssueService.savingState(c);if(!e.trim())return a.butterBar.showWarning("New comment cannot be empty."),v.return();cK(m,
"commentEdit");mG(a.butterBar,"Saving comment edit...",0);$lc(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});oe(v,2,3);return v.yield(a.issueCommentsService.update(c,d,e,g,h),5);case 5:mG(a.butterBar,"Comment edit successful.",4E3),cI(a.issueFetchResponseFridge,c),AF(a.eventsForIssueFridge,c,function(y){y.events=gva(y.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:g})}),a.eventsForIssueFridge.poke(c);case 3:pe(v);dK(m,"commentEdit");qe(v,0);break;case 2:r=
re(v),qG(a.errorHandler,r),v.jumpTo(3)}})};VQ.\u0275fac=function(a){return new (a||VQ)(u(oG),u(CF),u(aI),u(JI),u(PJ),u(lG),u(fK))};VQ.\u0275prov=wc({token:VQ,factory:VQ.\u0275fac,providedIn:"root"});var Jwc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},Kwc=function(){},Lwc=function(a){this.timestampMicros=a};oMa.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var Mwc=function(a){var b=0;if(a.inRetryMode_){b=Math.ceil(a.random_()*a.currentMaxDelayMs_);var c=1024*a.initialMaxDelayMs_;a.currentMaxDelayMs_<=c&&(a.currentMaxDelayMs_*=2,a.currentMaxDelayMs_>c&&(a.currentMaxDelayMs_=c))}a.inRetryMode_=!0;return b};var Bo=function(a){this.internalArray_=l(a)};U(Bo,q);var Do=[1,2,3,15];Bo.prototype.toObject=function(){return Nwc(this)};var Nwc=function(a){if(null!=a)return t(a),{isPublic:n(Ur(a,yn(a,Do,1))),isPrivateToUser:n(Ur(a,yn(a,Do,2))),privateUserGaiaIdForTest:n(Qt(a,3,Do)),isEnd:n(Ur(a,yn(a,Do,15)))}};var Fo=function(a){this.internalArray_=l(a)};U(Fo,q);var Ho=[1,2,3,4,5,6,7,8,9,10,11,12];Fo.prototype.toObject=function(){return Owc(this)};
var Owc=function(a){if(null!=a)return t(a),{bytesDecreasing:Xb(So(a,yn(a,Ho,5))),signedNumDecreasing:n(Po(a,yn(a,Ho,4))),stringDecreasing:n(Ro(a,3,Ho)),numDecreasing:n(xMa(a,6)),bytes:Xb(So(a,yn(a,Ho,7))),signedNumIncreasing:n(Po(a,yn(a,Ho,2))),string:n(Ro(a,1,Ho)),numIncreasing:n(xMa(a,8)),doubleDecreasing:n(Qo(a,yn(a,Ho,9))),doubleIncreasing:n(Qo(a,yn(a,Ho,10))),timestampDecreasing:mu(fk(a,Rh,11,Ho)),timestampIncreasing:mu(fk(a,Rh,12,Ho))}};var Eo=function(a){this.internalArray_=l(a)};U(Eo,q);Eo.repeatedFields_=[1];Eo.prototype.toObject=function(){return WQ(this)};var WQ=function(a){if(null!=a)return t(a),{partsList:Ub(oj(a,Fo,1),Owc)}};var Ao=function(a){this.internalArray_=l(a)};U(Ao,q);Ao.prototype.getName=function(){return Ro(this,1,XQ)};Ao.prototype.setName=function(a){return Io(this,1,XQ,a)};Ao.prototype.hasName=function(){return null!=Ro(this,1,XQ)};Ao.prototype.getNameOrUndefined=function(){return Tt(this,yn(this,XQ,1))};var XQ=[1,2];Ao.prototype.toObject=function(){return Pwc(this)};var Pwc=function(a){if(null!=a)return t(a),{name:n(Ro(a,1,XQ)),isEnd:n(Ur(a,yn(a,XQ,2)))}};var Qwc=function(a){this.internalArray_=l(a)};U(Qwc,q);f=Qwc.prototype;f.getProject=function(){return W(this,Ao,1)};f.setProject=function(a){lj(this,Ao,1,a)};f.getOwner=function(){return W(this,Bo,2)};f.setOwner=function(a){return lj(this,Bo,2,a)};f.getPath=function(){return W(this,Eo,3)};f.setPath=function(a){return lj(this,Eo,3,a)};f.hasPath=function(){return Pj(this,Eo,3)};f.toObject=function(){return Rwc(this)};
var Rwc=function(a){if(null!=a)return t(a),{project:Pwc(a.getProject()),owner:Nwc(a.getOwner()),path:WQ(a.getPath())}};var Swc=function(a){this.internalArray_=l(a)};U(Swc,q);f=Swc.prototype;f.getProject=function(){return W(this,Ao,1)};f.setProject=function(a){lj(this,Ao,1,a)};f.getOwner=function(){return W(this,Bo,2)};f.setOwner=function(a){return lj(this,Bo,2,a)};f.getPrefix=function(){return W(this,Eo,3)};f.setPrefix=function(a){lj(this,Eo,3,a)};f.toObject=function(){return Twc(this)};var Twc=function(a){if(null!=a)return t(a),{project:Pwc(a.getProject()),owner:Nwc(a.getOwner()),prefix:WQ(a.getPrefix())}};var YQ=function(a){this.internalArray_=l(a)};U(YQ,q);f=YQ.prototype;f.getVersion=function(){return Ft(this,1)};f.getVersion_legacyNullable=function(){return Ft(this,1)};f.setVersion=function(a){return dj(this,1,a)};f.getVersionOrUndefined=function(){return Rt(this,1)};f.toObject=function(){return Uwc(this)};var Uwc=function(a){if(null!=a)return t(a),{version:n(Ft(a,1)),library:n(p(a,2)),buildBaselineChangelist:n(p(a,3))}};var Vwc=function(a){this.internalArray_=l(a)};U(Vwc,q);f=Vwc.prototype;f.getProject=function(){return W(this,Ao,3)};f.setProject=function(a){lj(this,Ao,3,a)};f.getOwner=function(){return W(this,Bo,4)};f.setOwner=function(a){return lj(this,Bo,4,a)};f.toObject=function(){return Wwc(this)};var Wwc=function(a){if(null!=a)return t(a),{project:Pwc(a.getProject()),owner:Nwc(a.getOwner()),minPath:WQ(W(a,Eo,5)),maxPath:WQ(W(a,Eo,6))}};var ZQ=function(a){this.internalArray_=l(a)};U(ZQ,q);f=ZQ.prototype;f.getHeader=function(){return W(this,YQ,4)};f.setHeader=function(a){return lj(this,YQ,4,a)};f.hasHeader=function(){return Pj(this,YQ,4)};f.getPrefix=function(){return fk(this,Swc,6,Xwc)};f.setPrefix=function(a){Ko(this,6,Xwc,a)};var Xwc=[2,3,6];ZQ.prototype.toObject=function(){return Ywc(this)};
var Ywc=function(a){if(null!=a)return t(a),{header:Uwc(a.getHeader()),startTimeMicros:n(p(a,1)),point:Rwc(fk(a,Qwc,2,Xwc)),range:Wwc(fk(a,Vwc,3,Xwc)),prefix:Twc(a.getPrefix()),monitoringTag:n(X(a,5)),startTimeChosenByPunctual:n(Ur(a,8)),streamInitiationReason:n(p(a,9))}};var Zwc=function(a){this.internalArray_=l(a)};U(Zwc,q);Zwc.prototype.toObject=function(){if(null!=this){t(this);var a={watchRequest:Ywc(W(this,ZQ,1))}}else a=void 0;return a};var $wc=function(a){this.internalArray_=l(a)};U($wc,q);$wc.prototype.setAffinitization=function(a){cj(this,2,a)};$wc.prototype.getAffinitizationOrUndefined=function(){return ps(this,2)};$wc.prototype.toObject=function(){if(null!=this){t(this);var a={gsessionid:n(X(this,1)),affinitization:n(p(this,2)),initialConnectionDelayMillis:n(Ft(this,3))}}else a=void 0;return a};var axc=function(a){this.internalArray_=l(a)};U(axc,q);axc.prototype.toObject=function(){return bxc(this)};var bxc=function(a){if(null!=a)return t(a),{}};var cxc=function(a){this.internalArray_=l(a)};U(cxc,q);f=cxc.prototype;f.getStreamId_legacyNullable=function(){return p(this,1)};f.setStreamId=function(a){cj(this,1,a)};f.getClose=function(){return fk(this,axc,3,dxc)};f.setClose=function(a){Ko(this,3,dxc,a)};f.hasClose=function(){return ck(this,axc,3,dxc)};f.setAffinitization=function(a){cj(this,4,a)};f.getAffinitizationOrUndefined=function(){return ps(this,4)};var dxc=[2,3];cxc.prototype.toObject=function(){return exc(this)};
var exc=function(a){if(null!=a)return t(a),{streamId:n(p(a,1)),open:Ywc(fk(a,ZQ,2,dxc)),close:bxc(a.getClose()),affinitization:n(p(a,4))}};var $Q=function(a){this.internalArray_=l(a)};U($Q,q);$Q.prototype.getRequestsList=function(){return oj(this,cxc,1)};$Q.prototype.setRequestsList=function(a){return rj(this,1,a)};$Q.prototype.addAndReturnRequests=function(){return Hb(this,1,cxc)};$Q.repeatedFields_=[1];$Q.prototype.toObject=function(){if(null!=this){t(this);var a={requestsList:Ub(this.getRequestsList(),exc)}}else a=void 0;return a};var aR=function(a){this.internalArray_=l(a)};U(aR,q);aR.prototype.setAffinitization=function(a){cj(this,4,a)};aR.prototype.getAffinitizationOrUndefined=function(){return ps(this,4)};aR.repeatedFields_=[3];aR.prototype.toObject=function(){return fxc(this)};var fxc=function(a){if(null!=a)return t(a),{int64SliceKey:n(p(a,1)),rangeSliceKey:Xb(So(a,2)),behavior:n(p(a,5)),weaverAddressesList:n(Xh(a,3)),affinitization:n(p(a,4))}};var gxc=function(a){this.internalArray_=l(a)};U(gxc,q);gxc.repeatedFields_=[1];gxc.prototype.toObject=function(){return hxc(this)};var hxc=function(a){if(null!=a)return t(a),{sliceKeyHintsList:Ub(oj(a,aR,1),fxc)}};var bR=function(a){this.internalArray_=l(a)};U(bR,q);bR.prototype.getCode=function(){return p(this,1)};bR.prototype.getCode_legacyNullable=function(){return p(this,1)};bR.prototype.setCode=function(a){return cj(this,1,a)};bR.prototype.toObject=function(){return ixc(this)};var ixc=function(a){if(null!=a)return t(a),{code:n(p(a,1)),reconnectHints:hxc(W(a,gxc,2))}};var cR=function(a){this.internalArray_=l(a)};U(cR,q);cR.prototype.getReason=function(){return aj(this,1,0)};cR.prototype.setReason=function(a){cj(this,1,a)};cR.prototype.toObject=function(){return jxc(this)};var jxc=function(a){if(null!=a)return t(a),{reason:n(p(a,1))}};eu[376010773]=Tb(376010773,{messageSetExtension:0},cR,jxc);var kxc=function(a){this.internalArray_=l(a)};U(kxc,q);kxc.prototype.toObject=function(){return lxc(this)};var lxc=function(a){if(null!=a)return t(a),{timestampMicros:n(p(a,1))}};var mxc=function(a){this.internalArray_=l(a)};U(mxc,q);f=mxc.prototype;f.getPayload=function(){return So(this,2)};f.getVersion=function(){return p(this,3)};f.getVersion_legacyNullable=function(){return p(this,3)};f.setVersion=function(a){return cj(this,3,a)};f.getVersionOrUndefined=function(){var a=p(this,3);return null==a?void 0:a};f.toObject=function(){return nxc(this)};
var nxc=function(a){if(null!=a)return t(a),{objectPath:WQ(W(a,Eo,6)),payload:Xb(a.getPayload()),version:n(p(a,3)),changeTimeMicros:n(p(a,4))}};var oxc=function(a){this.internalArray_=l(a)};U(oxc,q);oxc.repeatedFields_=[1];oxc.prototype.toObject=function(){return pxc(this)};var pxc=function(a){if(null!=a)return t(a),{changesList:Ub(oj(a,mxc,1),nxc)}};var qxc=function(a){this.internalArray_=l(a)};U(qxc,q);qxc.prototype.getPayload=function(){return W(this,cR,1)};qxc.prototype.toObject=function(){return rxc(this)};var rxc=function(a){if(null!=a)return t(a),{payload:jxc(a.getPayload())}};var sxc=function(a){this.internalArray_=l(a)};U(sxc,q);sxc.prototype.toObject=function(){return txc(this)};var txc=function(a){if(null!=a)return t(a),{}};var dR=function(a){this.internalArray_=l(a)};U(dR,q);dR.prototype.getStart=function(){return fk(this,sxc,1,eR)};dR.prototype.setStart=function(a){return Ko(this,1,eR,a)};dR.prototype.getChanges=function(){return fk(this,oxc,2,eR)};dR.prototype.hasChanges=function(){return ck(this,oxc,2,eR)};var eR=[1,2,3,5];dR.prototype.toObject=function(){return uxc(this)};
var uxc=function(a){if(null!=a)return t(a),{start:txc(a.getStart()),changes:pxc(a.getChanges()),advance:lxc(fk(a,kxc,3,eR)),resync:rxc(fk(a,qxc,5,eR))}};var fR=function(a){this.internalArray_=l(a)};U(fR,q);f=fR.prototype;f.getCode=function(){return Ft(this,1)};f.getCode_legacyNullable=function(){return Ft(this,1)};f.setCode=function(a){return dj(this,1,a)};f.getMessage=function(){return X(this,3)};f.setMessage=function(a){uk(this,3,a)};f.toObject=function(){return vxc(this)};var vxc=function(a){if(null!=a)return t(a),{code:n(Ft(a,1)),space:n(X(a,2)),message:n(X(a,3)),canonicalCode:n(Ft(a,6)),messageSet:UOb(W(a,TOb,5))}};eu[10071]=Tb(10071,{messageSetExtension:0},fR,vxc);var gR=function(a){this.internalArray_=l(a)};U(gR,q);gR.prototype.getStatus=function(){return W(this,fR,1)};gR.prototype.setStatus=function(a){return lj(this,fR,1,a)};gR.prototype.hasStatus=function(){return Pj(this,fR,1)};gR.prototype.toObject=function(){return wxc(this)};var wxc=function(a){if(null!=a)return t(a),{status:vxc(a.getStatus())}};var xxc=function(a){this.internalArray_=l(a)};U(xxc,q);f=xxc.prototype;f.getStreamId_legacyNullable=function(){return p(this,1)};f.setStreamId=function(a){cj(this,1,a)};f.getClose=function(){return fk(this,gR,3,yxc)};f.setClose=function(a){Ko(this,3,yxc,a)};f.hasClose=function(){return ck(this,gR,3,yxc)};var yxc=[2,3];xxc.prototype.toObject=function(){return zxc(this)};var zxc=function(a){if(null!=a)return t(a),{streamId:n(p(a,1)),watchResponse:uxc(fk(a,dR,2,yxc)),close:wxc(a.getClose())}};var hR=function(a){this.internalArray_=l(a)};U(hR,q);hR.prototype.getStatus=function(){return W(this,bR,2)};hR.prototype.setStatus=function(a){return lj(this,bR,2,a)};hR.prototype.hasStatus=function(){return Pj(this,bR,2)};hR.repeatedFields_=[1];hR.prototype.toObject=function(){if(null!=this){t(this);var a={responsesList:Ub(oj(this,xxc,1),zxc),status:ixc(this.getStatus())}}else a=void 0;return a};var Axc=function(){kB.call(this,"d")};nt(Axc,kB);var Bxc=function(){kB.call(this,"c")};nt(Bxc,kB);var Cxc=function(a,b){this.path=a;this.authMethod=b},Dxc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new Mq;this.channel=this.createWebChannel(e)};
Dxc.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()),messageHeaders:this.config.authMethod.getHeaders(),supportsCrossDomainXhr:this.config.authMethod.usesCredentialedRequests()};a=this.channelCreator(this.config.path,a);this.channelHandler.listen(a,"a",function(){b.channelStatusHandler.onOpen()});this.channelHandler.listen(a,
"b",function(){b.channelStatusHandler.onClose((new Exc(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"d",function(c){(c=c.data)&&1===c.length&&b.channelMessageHandler(new hR(c[0]))});this.channelHandler.listen(a,"c",function(c){b.channelStatusHandler.onError(c,(new Exc(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
Dxc.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};Dxc.prototype.close=function(){2!==this.state&&this.channel.close()};Dxc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var Fxc,Gxc=(new YQ).setVersion(7);Fxc=cj(Gxc,2,5);var Lo=function(a){this.rep=a};Lo.prototype.equals=function(a){return this.rep===a.rep};var Hxc=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};Hxc.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+=3E5*a};var Jo=function(a,b){this.seconds=a;this.nanos=b},uMa=function(a){var b=new Rh;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},zMa=function(a){try{var b=a.getSeconds(),c=a.getNanos();if(-62135596800>b)throw Error("kd`"+b);if(253402300800<=b)throw Error("ld`"+b);if(0>c)throw Error("md`"+c);if(1E9<=c)throw Error("nd`"+c);if(!Number.isInteger(b))throw Error("od`"+b);if(!Number.isInteger(c))throw Error("pd`"+c);return new Jo(b,c)}catch(d){return null}};
Jo.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var Go=function(a,b){this.low_=a|0;this.high_=b|0};f=Go.prototype;f.toNumber=function(){return 4294967296*this.high_+(this.low_>>>0)};f.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
f.toString=function(a){a=a||10;if(2>a||36<a)throw Error("qd`"+a);if(this.isSafeInteger()){var b=this.toNumber();return 10==a?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=iR(c,c/4294967296);c=jR(this,d);d=Math.abs(this.subtract(c.multiply(d)).toNumber());var e=10==a?""+d:d.toString(a);e.length<b&&(e="0000000000000".slice(e.length-b)+e);d=c.toNumber();return(10==a?d:d.toString(a))+e};f.isZero=function(){return 0==this.low_&&0==this.high_};f.isNegative=function(){return 0>this.high_};
f.equals=function(a){return this.low_==a.low_&&this.high_==a.high_};f.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 kR=function(a){var b=~a.low_+1|0;return iR(b,~a.high_+!b|0)};
Go.prototype.add=function(a){var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=a.high_>>>16,g=a.high_&65535,h=a.low_>>>16;a=(this.low_&65535)+(a.low_&65535);h=(a>>>16)+(d+h);d=h>>>16;d+=c+g;return iR((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};Go.prototype.subtract=function(a){return this.add(kR(a))};
Go.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,g=a.high_>>>16,h=a.high_&65535,m=a.low_>>>16;a=a.low_&65535;var r=e*a;var v=(r>>>16)+d*a;var y=v>>>16;v=(v&65535)+e*m;y+=v>>>16;y+=c*a;var A=y>>>16;y=(y&65535)+d*m;A+=y>>>16;y=(y&65535)+e*h;A=A+(y>>>16)+(b*a+c*m+d*h+e*g)&65535;return iR((v&65535)<<16|r&65535,A<<16|y&65535)};
var jR=function(a,b){if(b.isZero())throw Error("rd");if(a.isNegative()){if(a.equals(Ixc)){if(b.equals(Jxc)||b.equals(Kxc))return Ixc;if(b.equals(Ixc))return Jxc;var c=a.high_;c=iR(a.low_>>>1|c<<31,c>>1);c=jR(c,b).shiftLeft(1);if(c.equals(lR))return b.isNegative()?Jxc:Kxc;a=a.subtract(b.multiply(c));return c.add(jR(a,b))}return b.isNegative()?jR(kR(a),kR(b)):kR(jR(kR(a),b))}if(a.isZero())return lR;if(b.isNegative())return b.equals(Ixc)?lR:kR(jR(a,kR(b)));for(var d=lR;0<=a.compare(b);){c=Math.max(1,
Math.floor(a.toNumber()/b.toNumber()));var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var g=mR(c),h=g.multiply(b);h.isNegative()||0<h.compare(a);)c-=e,g=mR(c),h=g.multiply(b);g.isZero()&&(g=Jxc);d=d.add(g);a=a.subtract(h)}return d};f=Go.prototype;f.not=function(){return iR(~this.low_,~this.high_)};f.and=function(a){return iR(this.low_&a.low_,this.high_&a.high_)};f.or=function(a){return iR(this.low_|a.low_,this.high_|a.high_)};
f.xor=function(a){return iR(this.low_^a.low_,this.high_^a.high_)};f.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.low_;return 32>a?iR(b<<a,this.high_<<a|b>>>32-a):iR(0,b<<a-32)};
var mR=function(a){return 0<a?0x7fffffffffffffff<=a?Lxc:new Go(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?Ixc:kR(new Go(-a,-a/4294967296)):lR},iR=function(a,b){return new Go(a,b)},Oo=function(a,b){if("-"==a.charAt(0))return kR(Oo(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new Go(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("sd");if(0<=a.indexOf("-"))throw Error("td`"+a);b=b||10;if(2>b||36<b)throw Error("qd`"+b);c=mR(Math.pow(b,8));for(var d=lR,e=0;e<a.length;e+=
8){var g=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+g),b);8>g?d=d.multiply(mR(Math.pow(b,g))).add(mR(h)):(d=d.multiply(c),d=d.add(mR(h)))}return d},lR=iR(0,0),Jxc=iR(1,0),Kxc=iR(-1,-1),Lxc=iR(4294967295,2147483647),Ixc=iR(0,2147483648);var to=function(a,b){this.value=a;this.isDecreasing=!!b};
to.prototype.equals=function(a){if(this.isDecreasing!==a.isDecreasing)var b=!1;else if("string"===typeof this.value||"number"===typeof this.value)b=this.value===a.value;else if(this.value instanceof Go)b=a.value instanceof Go?this.value.equals(a.value):!1;else if(this.value instanceof Lo)b=a.value instanceof Lo?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 Jo?a.value instanceof Jo?this.value.equals(a.value):!1:!1;return b};var No=function(a,b){this.parts=a;this.isPrivate=b},wMa=function(){for(var a=[],b=k(Wc.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof to?a.push(c):a.push(new to(c));return new No(a,!1)};No.prototype.isPrivateToUser=function(){return this.isPrivate};
No.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 Mxc=function(){},xo=function(a,b){this.apiKey=a;this.authUser=b};xo.prototype.getHeaders=function(){var a={},b;(b=cp([]))?(b=b.split(" "),b={scheme:b[0],hash:b[1]}):b=null;null!=b&&(a.Authorization=b.scheme+" "+b.hash,a["X-Goog-AuthUser"]=String(this.authUser||0));return a};xo.prototype.getQueryParameters=function(){return{key:this.apiKey}};xo.prototype.domainType=function(){return 0};xo.prototype.usesCredentialedRequests=function(){return!0};var vo=function(a){this.oauthTokens=a};
vo.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};vo.prototype.getQueryParameters=function(){return{}};vo.prototype.domainType=function(){return 1};vo.prototype.usesCredentialedRequests=function(){return!0};var wo=function(a,b){this.apiKey=a;this.appAuthTokens=b};wo.prototype.getHeaders=function(){return{}};wo.prototype.getQueryParameters=function(){return{key:this.apiKey}};wo.prototype.domainType=function(){return 1};
wo.prototype.usesCredentialedRequests=function(){return!1};var Nxc={send:function(a,b,c,d,e,g,h){oo(a,b,c,d,e,g,h)}};var Oxc=function(a,b,c){this.code=a;this.message=b;this.status=c},Pxc=function(a){var b=void 0===b?Nxc:b;this.baseUri=a;this.xhrIo=b};Pxc.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
Pxc.prototype.request=function(a,b,c,d,e){var g=this,h=new lp(this.baseUri);h.setPath(b);if(e.queryParams){b=k(Object.entries(e.queryParams));for(var m=b.next();!m.done;m=b.next()){var r=k(m.value);m=r.next().value;r=r.next().value;gD(h,m,r)}}var v={"Content-type":"application/json+protobuf"};Object.assign(v,e.extraHeaders);var y=c.serialize();return new Promise(function(A,G){var N;g.xhrIo.send(h,function(){var Q=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{A(Hca(d,this.getResponseText()))}catch(Z){G(new Oxc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),Q))}else G(new Oxc(this.getLastErrorCode(),this.getLastError(),Q))},a,y,v,null!=(N=e.timeoutMs)?N:2E4,e.withCredentials)})};var Qxc=function(a,b,c){iB.call(this);this.listener_=null!=c?a.bind(c):a;this.interval_=b;this.args_=null;this.shouldFire_=!1;this.pauseCount_=0;this.timer_=null};U(Qxc,iB);f=Qxc.prototype;f.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};f.stop=function(){this.timer_&&(zo(this.timer_),this.timer_=null,this.shouldFire_=!1,this.args_=null)};f.pause=function(){this.pauseCount_++};
f.resume=function(){this.pauseCount_--;this.pauseCount_||!this.shouldFire_||this.timer_||(this.shouldFire_=!1,this.doAction_())};f.disposeInternal=function(){iB.prototype.disposeInternal.call(this);this.stop()};f.onTimer_=function(){this.timer_=null;this.shouldFire_&&!this.pauseCount_&&(this.shouldFire_=!1,this.doAction_())};f.doAction_=function(){var a=this;this.timer_=yo(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var Rxc=null,Sxc=function(){return Rxc=Rxc||new fp},Txc=function(a){kB.call(this,"serverreachability",a)};nt(Txc,kB);var Uxc=function(a){var b=Sxc();b.dispatchEvent(new Txc(b,a))},Vxc=function(a,b){kB.call(this,"statevent",a);this.stat=b};nt(Vxc,kB);var nR=function(a){var b=Sxc();b.dispatchEvent(new Vxc(b,a))},Wxc=function(a,b,c){kB.call(this,"timingevent",a);this.size=b;this.rtt=c};nt(Wxc,kB);
var Xxc=function(a,b,c){var d=Sxc();d.dispatchEvent(new Wxc(d,a,b,c))},Yxc=function(a,b){if("function"!==typeof a)throw Error("vd");return ba.setTimeout(function(){a()},b)};var oR=function(){this.redactEnabled_=!0};oR.prototype.disableRedact=function(){this.redactEnabled_=!1};
var Zxc=function(a,b,c,d,e,g){a.info(function(){if(a.redactEnabled_)if(g){var h="";for(var m=g.split("&"),r=0;r<m.length;r++){var v=m[r].split("=");if(1<v.length){var y=v[0];v=v[1];var A=y.split("_");h=2<=A.length&&"type"==A[1]?h+(y+"="+v+"&"):h+(y+"=redacted&")}}}else h=null;else h=g;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},$xc=function(a,b,c,d,e,g,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+g+" "+h})},pR=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+ayc(a,c)+(d?" "+d:"")})},byc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};oR.prototype.debug=function(){};oR.prototype.info=function(){};oR.prototype.warning=function(){};
var ayc=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(!(2>e.length)){var g=e[1];if(Array.isArray(g)&&!(1>g.length)){var h=g[0];if("noop"!=h&&"stop"!=h&&"close"!=h)for(var m=1;m<g.length;m++)g[m]=""}}}return w4b(c)}catch(r){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var qR=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 Mq(this);this.timeout_=45E3;a=Pp?125:void 0;this.pollingTimer_=new EB(a);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 cyc},cyc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},dyc=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"}},
eyc={},fyc={};qR.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};qR.prototype.setTimeout=function(a){this.timeout_=a};qR.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};qR.prototype.getPendingMessages=function(){return this.pendingMessages_};
var hyc=function(a,b,c){a.type_=1;a.baseUri_=v$b(b.clone());a.postData_=c;a.decodeChunks_=!0;gyc(a,null)},gyc=function(a,b){a.requestStartTime_=Date.now();iyc(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 cyc;a.xmlHttp_=jyc(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new Qxc(lt(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?cc(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));Uxc(1);Zxc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
qR.prototype.readyStateChangeHandler_=function(a){a=a.target;var b=this.readyStateChangeThrottle_;b&&3==a.getReadyState()?(this.channelDebug_.debug("Throttling readystatechange."),b.fire()):this.xmlHttpHandler_(a)};qR.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?kyc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),lyc(this)}finally{}};
var kyc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!Pp&&!lyc(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?Uxc(3):Uxc(2));myc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=nyc(a);lyc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;$xc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
oyc(a))pR(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,pyc(a,d);else{a.successful_=!1;a.lastError_=3;nR(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");rR(a);qyc(a);return}a.decodeChunks_?(ryc(a,b,c),Pp&&a.successful_&&3==b&&syc(a)):(pR(a.channelDebug_,a.rid_,c,null),pyc(a,c));4==b&&rR(a);a.successful_&&!a.cancelled_&&(4==b?tyc(a.channel_,a):(a.successful_=!1,iyc(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,nR(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,nR(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),rR(a),qyc(a)}},oyc=function(a){return a.xmlHttp_&&(a=Gh(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!Ok(a)?a:null},nyc=function(a){if(!uyc(a))return a.xmlHttp_.getResponseText();var b=a.xmlHttp_.getResponse(),c="",d=b.length,e=4==a.xmlHttp_.getReadyState();if(!a.fetchResponseState_.textDecoder){if("undefined"===
typeof TextDecoder)return rR(a),qyc(a),"";a.fetchResponseState_.textDecoder=new ba.TextDecoder}for(var g=0;g<d;g++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[g],{stream:e&&g==d-1});b.splice(0,d);a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},lyc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},
uyc=function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},ryc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=vyc(a,c),e==fyc){4==b&&(a.lastError_=4,nR(14),d=!1);pR(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==eyc){a.lastError_=4;nR(15);pR(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else pR(a.channelDebug_,a.rid_,e,null),pyc(a,e);uyc(a)&&e!=fyc&&e!=eyc&&(a.fetchResponseState_.responseBuffer=
"",a.xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,nR(16),d=!1);a.successful_=a.successful_&&d;d?0<c.length&&!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),wyc(b),b.bpDetectionDone_=!0,nR(11))):(pR(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),rR(a),qyc(a))};
qR.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(myc(this),ryc(this,a,b),this.successful_&&4!=a&&iyc(this))}};
var syc=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},vyc=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return fyc;c=Number(b.substring(c,d));if(isNaN(c))return eyc;d+=1;if(d+c>b.length)return fyc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};qR.prototype.cancel=function(){this.cancelled_=!0;rR(this)};
var iyc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;xyc(a,a.timeout_)},xyc=function(a,b){if(null!=a.watchDogTimerId_)throw Error("wd");a.watchDogTimerId_=Yxc(lt(a.onWatchDogTimeout_,a),b)},myc=function(a){a.watchDogTimerId_&&(ba.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
qR.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(byc(this.channelDebug_,this.requestUri_),2!=this.type_&&(Uxc(3),nR(17)),rR(this),this.lastError_=2,qyc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),xyc(this,this.watchDogTimeoutTime_-a))};
var qyc=function(a){a.channel_.isClosed()||a.cancelled_||tyc(a.channel_,a)},rR=function(a){myc(a);Eh(a.readyStateChangeThrottle_);a.readyStateChangeThrottle_=null;a.pollingTimer_.stop();a.eventHandler_.removeAll();if(a.xmlHttp_){var b=a.xmlHttp_;a.xmlHttp_=null;b.abort();b.dispose()}};qR.prototype.getLastError=function(){return this.lastError_};qR.prototype.getLastStatusCode=function(){return this.lastStatusCode_};qR.prototype.getRequestId=function(){return this.rid_};qR.prototype.getXhr=function(){return this.xmlHttp_};
var pyc=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||yyc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&yyc(c.forwardChannelRequestPool_,a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(ja){d=null}if(Array.isArray(d)&&3==d.length){var e=d;if(0==e[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_)zyc(c),Ayc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");Byc(c);nR(18)}else{c.lastPostResponseArrayId_=e[1];var g=c.lastPostResponseArrayId_-c.lastArrayId_;if(0<g){var h=e[2];c.channelDebug_.debug(h+" bytes (in "+g+" arrays) are outstanding on the BackChannel");37500>h&&c.enableStreaming_&&0==c.backChannelRetryCount_&&!c.deadBackChannelTimerId_&&(c.deadBackChannelTimerId_=Yxc(lt(c.onBackChannelDead_,c),6E3))}}if(1>=c.forwardChannelRequestPool_.getRequestCount()&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(ja){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),sR(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&zyc(c),!Ok(b))for(e=c.wireCodec_.parser_.parse(b),g=0;g<e.length;g++){var m=e[g];c.lastArrayId_=m[0];m=m[1];if(2==c.state_)if("c"==m[0]){c.sid_=m[1];c.hostPrefix_=c.correctHostPrefix(m[2]);var r=m[3];null!=r&&(c.channelVersion_=r,c.channelDebug_.info("VER="+
c.channelVersion_));var v=m[4];null!=v&&(c.serverVersion_=v,c.channelDebug_.info("SVER="+c.serverVersion_));var y=m[5];null!=y&&"number"===typeof y&&0<y&&(h=1.5*y,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var A=a.getXhr();if(A){var G=Gh(A,"X-Client-Wire-Protocol");if(G){var N=h.forwardChannelRequestPool_;b=G;!N.requestPool_&&(ha(b,"spdy")||ha(b,"quic")||ha(b,"h2"))&&(N.maxSize_=N.maxPoolSizeConfigured_,N.requestPool_=new Set,N.request_&&(N.addRequest(N.request_),
N.request_=null))}if(h.httpSessionIdParam_){var Q=Gh(A,"X-HTTP-Session-Id");Q?(h.httpSessionId_=Q,gD(h.forwardChannelUri_,h.httpSessionIdParam_,Q)):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 Z=d=h,Y=Cyc(Z,Z.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);Z.channelDebug_.debug("GetBackChannelUri: "+
Y);d.backChannelUri_=Y;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");Dyc(h.forwardChannelRequestPool_,b);d=b;var ea=h.backChannelRequestTimeoutMs_;ea&&d.setTimeout(ea);d.watchDogTimerId_&&(myc(d),iyc(d));h.backChannelRequest_=b}else Eyc(h);0<c.outgoingMaps_.length&&Fyc(c)}else"stop"!=m[0]&&"close"!=m[0]||sR(c,7);else 3==c.state_&&("stop"==m[0]||"close"==m[0]?"stop"==m[0]?sR(c,7):c.disconnect():"noop"!=m[0]&&c.handler_&&c.handler_.channelHandleArray(m),
c.backChannelRetryCount_=0)}Uxc(4)}catch(ja){}};var Gyc=function(a,b){this.mapId=a;this.map=b;this.context=null};var Hyc=function(a){this.maxPoolSizeConfigured_=a||10;ba.PerformanceNavigationTiming?(a=ba.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(ba.chrome&&ba.chrome.loadTimes&&ba.chrome.loadTimes()&&ba.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.maxSize_&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},Iyc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1};Hyc.prototype.getRequestCount=function(){return this.request_?1:this.requestPool_?this.requestPool_.size:0};var yyc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};Hyc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var Dyc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
Hyc.prototype.cancel=function(){this.pendingMessages_=this.getPendingMessages();if(this.request_)this.request_.cancel(),this.request_=null;else if(this.requestPool_&&0!==this.requestPool_.size){for(var a=k(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
Hyc.prototype.getPendingMessages=function(){if(null!=this.request_)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(null!=this.requestPool_&&0!==this.requestPool_.size){for(var a=this.pendingMessages_,b=k(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return ta(this.pendingMessages_)};var Jyc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var Lyc=function(a,b){var c=new oR;c.debug("TestLoadImage: loading "+a);if(ba.Image){var d=new Image;d.onload=mt(Kyc,c,d,"TestLoadImage: loaded",!0,b);d.onerror=mt(Kyc,c,d,"TestLoadImage: error",!1,b);d.onabort=mt(Kyc,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=mt(Kyc,c,d,"TestLoadImage: timeout",!1,b);ba.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},Kyc=function(a,b,c,d,e){try{a.debug(c),b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(g){}};var Myc=function(){this.replacer_=void 0};Myc.prototype.stringify=function(a){return ba.JSON.stringify(a,this.replacer_)};Myc.prototype.parse=function(a){return ba.JSON.parse(a,void 0)};var Nyc=function(){this.parser_=new Myc},Oyc=function(a,b,c){var d=c||"";try{l$b(a,function(e,g){var h=e;wa(e)&&(h=w4b(e));b.push(d+g+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var Pyc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},tR=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new oR;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_=Pyc("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_=Pyc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=Pyc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=Pyc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
Pyc("forwardChannelRequestTimeoutMs",2E4,a);this.xmlHttpFactory_=a&&a.xmlHttpFactory||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 Hyc(a&&a.concurrentRequestLimit);this.wireCodec_=new Nyc;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&&0<a.longPollingTimeout&&
(this.longPollingTimeout_=a.longPollingTimeout);this.forwardChannelFlushedCallback_=void 0;this.handshakeRttMs_=0;this.bpDetectionDone_=!1;this.nonAckedMapsAtChannelClose_=this.bpDetectionTimerId_=null};tR.prototype.channelVersion_=8;tR.prototype.state_=1;
tR.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");nR(0);this.path_=a;this.extraParams_=b||{};c&&void 0!==d&&(this.extraParams_.OSID=c,this.extraParams_.OAID=d);this.enableStreaming_=this.allowStreamingMode_;this.channelDebug_.debug("connectChannel_()");a=Cyc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;Fyc(this)};
tR.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");Qyc(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();gD(b,"SID",this.sid_);gD(b,"RID",a);gD(b,"TYPE","terminate");Ryc(this,b);a=new qR(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=v$b(b.clone());b=!1;if(ba.navigator&&ba.navigator.sendBeacon)try{b=ba.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&ba.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=jyc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();iyc(a)}Syc(this)};var Ayc=function(a){a.backChannelRequest_&&(wyc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},Qyc=function(a){Ayc(a);a.backChannelTimerId_&&(ba.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);zyc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&ba.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
f=tR.prototype;f.setExtraHeaders=function(a){this.extraHeaders_=a};f.getHttpSessionId=function(){return this.httpSessionId_};f.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};f.getHandler=function(){return this.handler_};f.isClosed=function(){return 0==this.state_};f.getState=function(){return this.state_};f.getLastStatusCode=function(){return this.errorResponseStatusCode_};
var Fyc=function(a){Iyc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,AB(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},Uyc=function(a,b){if(a.forwardChannelRequestPool_.getRequestCount()>=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(1==
a.state_||2==a.state_||a.forwardChannelRetryCount_>=(a.failFast_?0:a.forwardChannelMaxRetries_))return!1;a.channelDebug_.debug("Going to retry POST");a.forwardChannelTimerId_=Yxc(lt(a.onStartForwardChannelTimer_,a,b),Tyc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
tR.prototype.onStartForwardChannelTimer_=function(a){if(this.forwardChannelTimerId_)if(this.forwardChannelTimerId_=null,this.channelDebug_.debug("startForwardChannel_"),1==this.state_){if(!a){this.channelDebug_.debug("open_()");this.nextRid_=Math.floor(1E5*Math.random());a=this.nextRid_++;var b=new qR(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=cc(c),Rca(c,this.initHeaders_)):c=this.initHeaders_);null!==this.httpHeadersOverwriteParam_||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 g=this.outgoingMaps_[e];if("__data__"in g.map&&(g=g.map.__data__,"string"===typeof g)){g=g.length;break b}g=void 0}if(void 0===g)break;d+=g;if(4096<d){d=e;break a}if(4096===d||e===this.outgoingMaps_.length-1){d=e+1;break a}}d=1E3}else d=1E3;d=Vyc(this,b,d);e=this.forwardChannelUri_.clone();gD(e,"RID",a);0<this.clientVersion_&&gD(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
gD(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);Ryc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(y$b(c)))+"&"+d:this.httpHeadersOverwriteParam_&&z$b(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&gD(e,"TYPE","init");this.fastHandshake_?(gD(e,"$req",d),gD(e,"SID","null"),b.decodeInitialResponse_=!0,hyc(b,e,null)):hyc(b,e,d);this.state_=2}}else 3==this.state_&&(a?Wyc(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):Iyc(this.forwardChannelRequestPool_)||(Wyc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var Wyc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();gD(d,"SID",a.sid_);gD(d,"RID",c);gD(d,"AID",a.lastArrayId_);Ryc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&z$b(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new qR(a,a.channelDebug_,a.sid_,c,a.forwardChannelRetryCount_+1);null===a.httpHeadersOverwriteParam_&&c.setExtraHeaders(a.extraHeaders_);b&&(a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_));b=Vyc(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);hyc(c,d,b)},Ryc=function(a,b){a.extraParams_&&Zb(a.extraParams_,function(c,d){gD(b,d,c)});a.handler_&&l$b({},function(c,d){gD(b,d,c)})},Vyc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?lt(a.handler_.badMapError,a.handler_,a):null;a:for(var e=a.outgoingMaps_,g=-1;;){var h=["count="+c];-1==g?0<c?(g=e[0].mapId,h.push("ofs="+g)):g=0:h.push("ofs="+
g);for(var m=!0,r=0;r<c;r++){var v=e[r].mapId,y=e[r].map;v-=g;if(0>v)g=Math.max(0,e[r].mapId-100),m=!1;else try{Oyc(y,h,"req"+v+"_")}catch(A){d&&d(y)}}if(m){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},Eyc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,AB(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},Byc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=Yxc(lt(a.onStartBackChannelTimer_,a),Tyc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
tR.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;Xyc(this);if(this.detectBufferingProxy_&&!this.bpDetectionDone_)if(null==this.backChannelRequest_||0>=this.handshakeRttMs_)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_=Yxc(lt(this.onBpDetectionTimer_,this),a)}};
tR.prototype.onBpDetectionTimer_=function(){if(this.bpDetectionTimerId_){this.bpDetectionTimerId_=null;this.channelDebug_.info("BP detection timeout reached.");if(null!=this.backChannelRequest_.getXhr()){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;nR(10);Ayc(this);Xyc(this)}else this.channelDebug_.warning("Invalid operation.")};
var wyc=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),ba.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},Xyc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new qR(a,a.channelDebug_,a.sid_,"rpc",a.backChannelAttemptId_);null===a.httpHeadersOverwriteParam_&&a.backChannelRequest_.setExtraHeaders(a.extraHeaders_);a.backChannelRequest_.setReadyStateChangeThrottle(a.readyStateChangeThrottleMs_);var b=
a.backChannelUri_.clone();gD(b,"RID","rpc");gD(b,"SID",a.sid_);gD(b,"AID",a.lastArrayId_);gD(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&gD(b,"TO",a.longPollingTimeout_);gD(b,"TYPE","xmlhttp");Ryc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&z$b(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=v$b(b.clone());
c.postData_=null;c.decodeChunks_=!0;gyc(c,d);a.channelDebug_.debug("New Request created")};tR.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};tR.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,Ayc(this),Byc(this),nR(19))};
var zyc=function(a){null!=a.deadBackChannelTimerId_&&(ba.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},tyc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){zyc(a);wyc(a);a.backChannelRequest_=null;var d=2}else if(yyc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),Dyc(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(Xxc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),Fyc(a)):Eyc(a);else{var e=b.getLastStatusCode(),g=b.getLastError();if(3==g||0==g&&0<e)a.channelDebug_.debug("Not retrying due to error type"),200<e&&(a.errorResponseStatusCode_=b.getLastStatusCode());else{a.channelDebug_.debug(function(){return"Maybe retrying, last error: "+dyc(g,a.errorResponseStatusCode_)});if(1==d&&Uyc(a,b)||2==d&&Byc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&Jyc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(g){case 1:sR(a,5);break;case 4:sR(a,10);break;case 3:sR(a,6);break;default:sR(a,2)}}},Tyc=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},sR=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=lt(a.testNetworkCallback_,a);c||(c=new lp("//www.google.com/images/cleardot.gif"),ba.location&&"http"==ba.location.protocol||cD(c,"https"),v$b(c));
Lyc(c.toString(),d)}else nR(2);a.onError_(b)};tR.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),nR(2)):(this.channelDebug_.info("Failed to ping google.com"),nR(1))};tR.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);Syc(this);Qyc(this)};
var Syc=function(a){a.state_=0;a.nonAckedMapsAtChannelClose_=[];if(a.handler_){var b=a.forwardChannelRequestPool_.getPendingMessages();if(0!=b.length||0!=a.outgoingMaps_.length)a.channelDebug_.debug(function(){return"Number of undelivered maps, pending: "+b.length+", outgoing: "+a.outgoingMaps_.length}),taa(a.nonAckedMapsAtChannelClose_,b),taa(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,ta(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
Cyc=function(a,b,c){var d=iD(c);""!=d.getDomain()?(b&&d.setDomain(b+"."+d.getDomain()),dD(d,d.port_)):(d=ba.location,d=w$b(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&gD(d,b,c);gD(d,"VER",a.channelVersion_);Ryc(a,d);return d},jyc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("xd");b=c&&a.usesFetchStreams_&&!a.xmlHttpFactory_?new NB(new $C({streamBinaryChunks:!0})):new NB(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};tR.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var Yyc=function(){};f=Yyc.prototype;f.channelOpened=function(){};f.channelHandleArray=function(){};f.channelError=function(){};f.channelClosed=function(){};f.isActive=function(){return!0};f.badMapError=function(){};f.correctHostPrefix=function(a){return a};var Zyc=function(){if(Gq&&!(10<=Number(st)))throw Error("yd");};Zyc.prototype.createWebChannel=function(a,b){return new uR(a,b)};
var uR=function(a,b){fp.call(this);this.channel_=new tR(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)&&!Ok(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!Ok(b)&&(this.channel_.httpSessionIdParam_=b,Lca(this.messageUrlParams_,b)&&bc(this.messageUrlParams_,b));this.channelHandler_=new vR(this)};nt(uR,fp);
uR.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};uR.prototype.close=function(){this.channel_.disconnect()};uR.prototype.send=function(a){var b=this.channel_;if("string"===typeof a){var c={};c.__data__=a;a=c}else this.sendRawJson_&&(c={},c.__data__=w4b(a),a=c);b.outgoingMaps_.push(new Gyc(b.nextMapId_++,a));3==b.state_&&Fyc(b)};
uR.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;uR.superClass_.disposeInternal.call(this)};var $yc=function(a){Axc.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)?Pca(b,this.metadataKey):b}else this.data=a};nt($yc,Axc);
var azc=function(a){Bxc.call(this);this.status=1;this.errorCode=a};nt(azc,Bxc);var vR=function(a){this.channel_=a};nt(vR,Yyc);vR.prototype.channelOpened=function(){this.channel_.dispatchEvent("a")};vR.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new $yc(a))};vR.prototype.channelError=function(a){this.channel_.dispatchEvent(new azc(a))};vR.prototype.channelClosed=function(){this.channel_.dispatchEvent("b")};var Exc=function(a){this.channel_=a};
Exc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};Exc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};Exc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var bzc=function(){this.changeList=[]};bzc.prototype.add=function(a){this.changeList.push(a)};
var czc=function(a,b){this.authMethod=b;this.jspbClient=new Pxc(a)},dzc=function(a,b){var c,d,e,g,h;return ne(function(m){if(1==m.nextAddress){c=new Zwc;lj(c,ZQ,1,b);var r=m.yield,v=a.jspbClient,y=v.post;var A=a.authMethod;A={queryParams:A.getQueryParameters(),extraHeaders:A.getHeaders(),withCredentials:A.usesCredentialedRequests()};return r.call(m,y.call(v,"/punctual/v1/chooseServer",c,$wc,A),2)}d=m.yieldResult;e=X(d,1);if(null==e)throw Error("zd");return m.return({gsessionid:e,affinitization:null!=
(g=d.getAffinitizationOrUndefined())?g:0,initialConnectionDelayMillis:null!=(h=Ft(d,3))?h:0})})},ezc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},wR=function(a,b,c){this.defaultProject=a;this.channelDeps=c;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new E.Subject;this.streamNumber=0;this.rawStatus=new E.Subject;this.status=new E.BehaviorSubject(new YC);this.skipBackoff=
new Hxc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(Hia(function(d){return 0===d.getCode()?Promise.resolve():new Promise(function(e){yo(e,500)})})).subscribe(this.status);this.delayGenerator=new oMa;this.reconnectHint=b?b.pipe(Ie(function(){return E.NEVER}),Fia(E.NEVER)):E.NEVER;fzc(this)},gzc=function(a,b,c,d){b=b.then(function(e){switch(e.domainType()){case 2:case 0:var g=a.firstPartyUri;break;case 1:g=a.thirdPartyUri;break;default:g=new lp}var h=g.clone().setPath("/punctual/multi-watch/channel"),
m=new Cxc(h.toString(),e);return{serverChooser:new czc(g,e),channelCreator:function(r,v,y){r=new Dxc(r,v,m,function(A,G){return(new Zyc).createWebChannel(A,G)},y);r.open();return r}}});return new wR(d,c,b)};wR.prototype.handleClose=function(a,b){var c=this.causalStreams.get(a)||this.limboStreams.get(a)||this.nonCausalStreams.get(a);c&&(0===b.getCode_legacyNullable()?c.observer.complete():c.observer.error(b),this.causalStreams.delete(a),this.limboStreams.delete(a),this.nonCausalStreams.delete(a))};
var hzc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},izc=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 No&&d instanceof No?c.equals(d):!1;return d})};wR.prototype.onOpen=function(){var a=new YC;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};wR.prototype.onClose=function(){this.channelState=void 0;fzc(this)};
wR.prototype.onError=function(a,b){a=new YC;a.setCode(qMa(b));try{this.rawStatus.next(a)}catch(c){}a=k(this.causalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2;a=k(this.nonCausalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2};
var lzc=function(a,b,c){if(a.channelState){var d=jzc(c.project,c.interestSet);c instanceof kzc&&(cj(d,1,c.knowledgeTimestamp.toString()),Xj(d,8,c.knowledgeTimestampChosenByPunctual));cj(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new $Q;var e=c.addAndReturnRequests();e.setStreamId(b.toString());Ko(e,2,dxc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},jzc=function(a,b){var c=(new ZQ).setHeader(Fxc);if(b instanceof No){var d=new Qwc;null!=a&&d.setProject(sMa(a));
d.setOwner(tMa(b));d.setPath(vMa(b));Ko(c,2,Xwc,d)}else d=new Swc,null!=a&&d.setProject(sMa(a)),d.setOwner(tMa(b.root)),d.setPrefix(vMa(b.root)),c.setPrefix(d);return c},mzc=function(a,b){var c=new $Q,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new axc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},fzc=function(a){var b=Mwc(a.delayGenerator);rMa(b).pipe(dja(a.reconnectHint.pipe(Re(function(){var c=
a.skipBackoff;c.update();0<c.tokens?(c.tokens--,c=!0):c=!1;return c})))).subscribe(function(){a.channelDeps.then(function(c){nzc(a,c.serverChooser).then(function(d){yo(function(){a.hasConnected=!0;ozc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){fzc(a)})},function(c){var d=new YC;d.setCode(13);d.setMessage(c.toString());a.rawStatus.next(d)})})},nzc=function(a,b){var c,d,e,g,h,m;return ne(function(r){if(1==r.nextAddress)return r.yield(pzc(a),2);c=r.yieldResult;
d=k(c);e=d.next().value;g=d.next().value;h=e;m=g;return r.return(dzc(b,jzc(h,m)))})},pzc=function(a){var b,c,d,e,g,h,m;return ne(function(r){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=k(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,g=k(e.values()),h=g.next();!h.done;)return m=h.value,r.return([m.project,m.interestSet]);return r.yield(bVb(dVb(a.newStreamSubject).pipe(Re())),1)})},ozc=function(a,b,c){a.channelState={channel:b(function(g){for(var h=k(oj(g,xxc,1)),m=h.next();!m.done;m=
h.next()){var r=m.value;if(m=r.getStreamId_legacyNullable())if(m=Number(m),r.hasClose()){a:{if(r=r.getClose())if(r=r.getStatus())break a;r=void 0}r&&a.handleClose(m,r)}else{var v=fk(r,dR,2,yxc);if(v)switch(Oi(v,eR)){case 1:r=a;if(v=r.causalStreams.get(m)){try{v.observer.next(new Kwc)}catch(Z){}r.causalStreams.delete(m);r.limboStreams.set(m,v.start())}break;case 3:a:{if(r=fk(v,kxc,3,eR))if(r=p(r,1)){var y=new Lwc(Oo(r));break a}y=void 0}if(y&&(r=a,v=m,m=y,(y=r.limboStreams.get(v))?(y=y.advance(m.timestampMicros),
r.limboStreams.delete(v),r.nonCausalStreams.set(v,y),r=y):r=r.nonCausalStreams.get(v),r)){v=r;y=m.timestampMicros;y>v.knowledgeTimestamp&&(v.knowledgeTimestamp=y,v.knowledgeTimestampChosenByPunctual=!0);try{r.observer.next(m)}catch(Z){}}break;case 2:m=a.nonCausalStreams.get(m)||a.limboStreams.get(m);if(!m)break;r=m.interestSet;if(y=v.getChanges()){v=new bzc;y=k(oj(y,mxc,1));for(var A=y.next();!A.done;A=y.next()){var G=A.value,N=W(G,Eo,6);A=G.getVersion_legacyNullable();if(N&&A){var Q=void 0;G=null==
(Q=G.getPayload())?void 0:yMa(Q);Q=null===G?void 0:G;(N=AMa(r,N))&&v.add(new Jwc(N,Oo(A),Q))}}r=v}else r=void 0;if(r)for(r=k(r.changeList),v=r.next();!v.done;v=r.next()){v=v.value;v=new Jwc(v.objectId,v.version,v.payload);try{m.observer.next(v)}catch(Z){}}break;case 5:if(r=a,m=r.causalStreams.get(m)||r.limboStreams.get(m)||r.nonCausalStreams.get(m)){m instanceof kzc&&(hzc(r),(v=izc(r,m))?(v.hasRecurred=!0,v.knowledgeTimestamp=m.knowledgeTimestamp,v.resyncMillis=Date.now()):r.recentResyncs.push(new ezc(m.project,
m.interestSet,m.knowledgeTimestamp)));try{m.observer.complete()}catch(Z){}}}}}if(g.hasStatus())switch(g.getStatus().getCode_legacyNullable()){case 1:h=k(a.causalStreams.values());for(g=h.next();!g.done;g=h.next())g.value.streamInitiationReason=3;h=k(a.nonCausalStreams.values());for(g=h.next();!g.done;g=h.next())g.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(g,h){return g[0]-h[0]});b=k(b);for(c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;lzc(a,c,d)}b=k(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=k(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;yo(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
wR.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new E.Observable(function(d){var e=++c.streamNumber,g,h=null!=(g=b.projectOverride)?g:c.defaultProject;d=new qzc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});lzc(c,e,d);return function(){mzc(c,e)}})};
wR.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new E.Observable(function(e){var g=++d.streamNumber,h,m=null!=(h=c.projectOverride)?h:d.defaultProject,r=new kzc(e,m,a,b,!1);hzc(d);if((e=izc(d,r))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var v=!0;yo(function(){v&&r.observer.complete()},6E4);return function(){v=!1}}d.nonCausalStreams.set(g,r);d.newStreamSubject.next({});lzc(d,g,r);return function(){mzc(d,g)}})};
var qzc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};qzc.prototype.start=function(){return new rzc(this.observer,this.project,this.interestSet)};var rzc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};rzc.prototype.advance=function(a){return new kzc(this.observer,this.project,this.interestSet,a,!0)};
var kzc=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 szc={firstPartyUri:new lp("https://signaler-pa.clients6.google.com"),thirdPartyUri:new lp("https://signaler-pa.googleapis.com")},tzc={firstPartyUri:new lp("https://punctual-dev.corp.google.com"),thirdPartyUri:new lp("https://signaler-staging.sandbox.google.com")},uzc=new Map(Object.entries({prod:szc,ytprod:{firstPartyUri:new lp("https://signaler-pa.youtube.com"),thirdPartyUri:new lp("https://signaler-pa.googleapis.com")},dev:tzc}));var vzc=function(a){this.projectPath=a;this.authParams=new Mxc};vzc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};
vzc.prototype.build=function(){var a=pMa(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("Ad`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("Bd`"+b);b=k(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new lp(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=uzc.get(c);if(!d)throw Error("Cd`"+c);c=d}return gzc(c,a,this.reconnectHint,b)};var wzc={watch:function(){return(0,E.of)()},watchWithStartTime:function(){return(0,E.of)()},status:(0,E.of)()},xR=function(a){this.activeSession=a;if(EE(this.activeSession,"enablePushUpdatesClient")){switch(this.activeSession.getEnvironmentType()){case "PROD":case "NIGHTLY":a="AIzaSyDBL0cdQ7zgltPyAYPmzKE4X2t2_S_wW8w";var b="/punctual/prod/buganizer";break;case "QA":a="AIzaSyCpeBtg5BChNlEw-O4F0WpVJWgk_CFEY6I";b="/punctual/prod/buganizer-qa";break;default:a="ANVavNKXeiME5gTvC0_SzcTVHNYBMU50fWn-NpE",
b="/punctual/dev/buganizer-test"}this.punctualClient=(new vzc(b)).setApiKey(a).build()}else this.punctualClient=wzc},xzc=function(a,b){return a.punctualClient.watch(wMa("new-comment-issue",b)).pipe(De(function(c){return c instanceof Jwc}))};xR.\u0275fac=function(a){return new (a||xR)(u(bt))};xR.\u0275prov=wc({token:xR,factory:xR.\u0275fac,providedIn:"root"});var yR=function(a){this.punctualService=a;this.stream=new E.Subject;this.isPaused=!1;this.closeStream$=new E.Subject};yR.prototype.resume=function(){this.isPaused=!1};var yzc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new E.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};yR.prototype.watch=function(a){var b=this;return xzc(this.punctualService,a).pipe(De(function(){var c=!b.isPaused;b.resume();return c}),Ke(1E3),bf(this.closeStream$))};
yR.\u0275fac=function(a){return new (a||yR)(u(xR))};yR.\u0275prov=wc({token:yR,factory:yR.\u0275fac,providedIn:"root"});var zzc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var zR=function(a,b,c){GE.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new pw;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)};U(zR,GE);zR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&Azc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){Azc(a,2)}))};zR.prototype.onInput=function(){Azc(this,1)};
var Azc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=k("width max-height min-height font-family text-decoration letter-spacing".split(" ")),e=d.next();!e.done;e=d.next())e=e.value,a.cloneEl.style.setProperty(e,c.getPropertyValue(e));a.cloneEl.value=a.el.value;d=a.window.getComputedStyle(a.cloneEl);c=a.cloneEl;c=Qn(d.getPropertyValue("border-top-width"))+Qn(d.getPropertyValue("padding-top"))+c.scrollHeight+Qn(d.getPropertyValue("padding-bottom"))+Qn(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=Qn(d.getPropertyValue("max-height")),d=Qn(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})))};zR.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);GE.prototype.ngOnDestroy.call(this)};zR.\u0275fac=function(a){return new (a||zR)(C(Bd),C(FE),C(dP))};
zR.\u0275dir=Qc({type:zR,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[lf]});var Bzc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var AR=function(a){this.activeSession=a;this.createIframe=nTb(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})},Czc=function(a){var b,c;ne(function(d){if(1==d.nextAddress){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();oe(d,2);b=a.createIframe();return d.yield(new Promise(function(e,
g){var h=function(){try{var r,v,y;if(null==(r=b.contentWindow)?0:null==(v=r.location)?0:null==(y=v.href)?0:y.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(m),e()}catch(A){}},m=setTimeout(function(){b.removeEventListener("load",h);g(Error("Gd"))},5E3);b.addEventListener("load",h);Opa(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(2!=d.nextAddress)return ht(d,0);c=re(d);console.log("first party auth passive login "+c);se(d)})};AR.\u0275fac=function(a){return new (a||AR)(u(bt))};
AR.\u0275prov=wc({token:AR,factory:AR.\u0275fac,providedIn:"root"});var Dzc=function(a){this.internalArray_=l(a)};U(Dzc,q);f=Dzc.prototype;f.getSocialApplication=function(){return aj(this,3,0)};f.getSocialApplicationOrUndefined=function(){return ps(this,3)};f.getAffinityType=function(){return V(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};f.setAffinityType=function(a){return uk(this,12,a)};f.toObject=function(){return Ezc(this)};
var Ezc=function(a){if(null!=a)return t(a),{gapiApiKey:n(X(a,1)),gapiApiKeyTest:n(X(a,2)),socialApplication:n(p(a,3)),papiClientId:n(X(a,4)),papiClientName:n(X(a,5)),papiClientVersion:n(X(a,6)),requestTimeoutMillis:Vh(a,8,3E4),includeDomainAddressBook:n(Ur(a,10)),includeDomainGroups:n(Ur(a,11)),affinityType:V(a,12,"CONTACT_STORE_DEFAULT_AFFINITY"),autocompletePageSize:Vh(a,13,15),rankedTargetsPageSize:Vh(a,14,500),peopleContainerMask:V(a,15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),
peopleFieldMask:V(a,16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),includeOnlyNames:Vj(a,17,!1)}};var BR=function(a){this.internalArray_=l(a)};U(BR,q);BR.prototype.getExperimentIdsList=function(){return Uh(this,4)};BR.prototype.setExperimentIdsList=function(a){return Cb(this,4,a,bb)};BR.prototype.getExperimentIds=function(){return Jt(this,4)};BR.prototype.setExperimentIds=function(a){Fb(this,4,a,bb(void 0),Uh)};BR.repeatedFields_=[4];BR.prototype.toObject=function(){return Fzc(this)};
var Fzc=function(a){if(null!=a)return t(a),{enablePapiClearcutLogging:Vj(a,1,!0),enableOzClearcutLogging:Vj(a,2,!0),enableApiClearcutLogging:Vj(a,3,!0),experimentIdsList:n(Uh(a,4)),enablePapi:Vj(a,5,!0),enableCacheFiltering:Vj(a,6,!0)}};var Gzc=function(a){this.internalArray_=l(a)};U(Gzc,q);f=Gzc.prototype;f.getClientInfo=function(){return W(this,Dzc,1)};f.getMutableClientInfo=function(){return nOb(this,Dzc,1)};f.setClientInfo=function(a){lj(this,Dzc,1,a)};f.getExperiments=function(){return W(this,BR,2)};f.setExperiments=function(a){lj(this,BR,2,a)};f.hasExperiments=function(){return Pj(this,BR,2)};
f.toObject=function(){if(null!=this){t(this);var a={clientInfo:Ezc(this.getClientInfo()),experiments:Fzc(this.getExperiments())}}else a=void 0;return a};var Hzc=Gca(Gzc);var Izc;var Jzc=function(a){this.internalArray_=l(a)};U(Jzc,q);f=Jzc.prototype;f.getDelegatorId=function(){return V(this,2)};f.getEnvType=function(){return aj(this,5,0)};f.getEnvType_legacyNullable=function(){return p(this,5)};f.setEnvType=function(a){cj(this,5,a)};f.getCacheSize=function(){return Vh(this,7)};f.setCacheSize=function(a){dj(this,7,a)};f.hasCacheSize=function(){return Rk(this,7)};
f.toObject=function(){if(null!=this){t(this);var a={delegatorId:n(X(this,2)),envType:n(p(this,5)),releaseEnvType:n(p(this,6)),cacheSize:n(Ft(this,7))}}else a=void 0;return a};var EMa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,CMa=/([#].*?&|[#])authuser=([^&#]*)\b/,DMa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var CR=function(){this.config_=ob(Izc||(Izc=Hzc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new Jzc;this.onAuthError_=this.gapiClientThenable_=null};CR.prototype.getClientInfo=function(){return this.config_.getClientInfo()};CR.prototype.getExperiments=function(){return this.config_.getExperiments()};CR.prototype.getUserInfo=function(){return this.userInfo_};
var Kzc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=JMa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};CR.prototype.getAuthErrorHandler=function(){return this.onAuthError_};CR.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var Lzc=function(){};var Mzc=[];Mzc.push=function(){throw Error("Hd");};var DR={cancel:function(){},isPending:function(){return!1}};var Nzc=function(a){this.response_=a||function(){};this.timer_=yo(this.onTimer_,0,this);this.addressBookId_=""};f=Nzc.prototype;f.setResponse=function(a){this.response_=a};f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.cancel=function(){zo(this.timer_);this.timer_=null};f.isPending=function(){return!!this.timer_};f.onTimer_=function(){this.timer_=null;this.response_()};f.setQuery=function(a){this.query_=a};f.getQuery=function(){return this.query_};var Ozc=new Map([["personal",2],["domain",4],["pcab",3]]);var dp=function(a){this.internalArray_=l(a)};U(dp,q);f=dp.prototype;f.getEventType=function(){return aj(this,1,0)};f.setEventType=function(a){return cj(this,1,a)};f.getApiType=function(){return aj(this,2,0)};f.setApiType=function(a){return cj(this,2,a)};f.getCacheStatus=function(){return aj(this,3,0)};f.setCacheStatus=function(a){return cj(this,3,a)};f.getAddressBook=function(){return aj(this,4,0)};f.setAddressBook=function(a){return cj(this,4,a)};f.getRpcType=function(){return aj(this,5,0)};
f.setRpcType=function(a){return cj(this,5,a)};f.getLookupType=function(){return aj(this,6,0)};f.setLookupType=function(a){return cj(this,6,a)};f.getToken=function(){return V(this,7,"")};f.setToken=function(a){return uk(this,7,a)};
f.toObject=function(){if(null!=this){t(this);var a={eventType:aj(this,1,0),apiType:aj(this,2,0),cacheStatus:aj(this,3,0),addressBook:aj(this,4,0),rpcType:aj(this,5,0),lookupType:aj(this,6,0),token:V(this,7,""),isCountRecorded:Vj(this,8,!1),isStatusRecorded:Vj(this,9,!1)}}else a=void 0;return a};var ER=function(a){this.internalArray_=l(a)};U(ER,q);f=ER.prototype;f.setDevice=function(a){return cj(this,1,a)};f.getApplication=function(){return aj(this,2,0)};f.setApplication=function(a){return cj(this,2,a)};f.getApplicationOrUndefined=function(){return ps(this,2)};f.toObject=function(){return Pzc(this)};var Pzc=function(a){if(null!=a)return t(a),{device:n(p(a,1)),application:n(p(a,2)),platform:n(p(a,3)),trafficType:n(p(a,4))}};var FR=function(a){this.internalArray_=l(a)};U(FR,q);f=FR.prototype;f.setEventSource=function(a){cj(this,2,a)};f.getEventSourceOrUndefined=function(){return ps(this,2)};f.getSocialClient=function(){return W(this,ER,3)};f.setSocialClient=function(a){return lj(this,ER,3,a)};f.setVersionName=function(a){return uk(this,5,a)};f.getBaselineCl=function(){return p(this,7)};f.setBaselineCl=function(a){return cj(this,7,a)};f.hasBaselineCl=function(){return $k(this,7)};
f.getBaselineClOrUndefined=function(){return St(this,7)};f.setClientAgent=function(a){return cj(this,9,a)};f.getClientAgentOrUndefined=function(){return ps(this,9)};f.getPeoplekitEntryPoint=function(){return p(this,11)};f.setPeoplekitEntryPoint=function(a){return cj(this,11,a)};f.getPeoplekitEntryPointOrUndefined=function(){return ps(this,11)};f.setEnvironment=function(a){return cj(this,13,a)};f.getEnvironmentOrUndefined=function(){return ps(this,13)};FR.repeatedFields_=[6];
FR.prototype.toObject=function(){return Qzc(this)};var Qzc=function(a){if(null!=a)return t(a),{eventSource:n(p(a,2)),socialClient:Pzc(a.getSocialClient()),versionName:n(X(a,5)),applicationIdentifies:n(X(a,10)),baselineCl:n(p(a,7)),enabledExperimentsFlagsList:n(Xh(a,6)),sendkitEntryPoint:n(Ft(a,8)),clientAgent:n(p(a,9)),peoplekitEntryPoint:n(p(a,11)),environment:n(p(a,13)),sharekitEntryPoint:n(p(a,14))}};var Rzc=function(a){this.internalArray_=l(a)};U(Rzc,q);f=Rzc.prototype;f.getApiType=function(){return aj(this,1,0)};f.setApiType=function(a){return cj(this,1,a)};f.getItemCount=function(){return Vh(this,2)};f.setItemCount=function(a){return dj(this,2,a)};f.hasItemCount=function(){return Rk(this,2)};f.toObject=function(){return Szc(this)};var Szc=function(a){if(null!=a)return t(a),{apiType:n(p(a,1)),itemCount:n(Ft(a,2))}};var Tzc=function(a){this.internalArray_=l(a)};U(Tzc,q);f=Tzc.prototype;f.getApiType=function(){return aj(this,1,0)};f.setApiType=function(a){return cj(this,1,a)};f.getItemCount=function(){return Vh(this,2)};f.setItemCount=function(a){return dj(this,2,a)};f.hasItemCount=function(){return Rk(this,2)};f.getStatus=function(){return aj(this,4,2)};f.setStatus=function(a){return cj(this,4,a)};f.hasStatus=function(){return tj(this,4)};f.setTotalUsec=function(a){return cj(this,5,a)};
f.setBlockedUsec=function(a){return cj(this,6,a)};f.setNetworkUsec=function(a){cj(this,7,a)};f.getCacheStatus=function(){return aj(this,8,0)};f.setCacheStatus=function(a){return cj(this,8,a)};f.getAddressBook=function(){return aj(this,9,0)};f.setAddressBook=function(a){return cj(this,9,a)};f.toObject=function(){return Uzc(this)};
var Uzc=function(a){if(null!=a)return t(a),{apiType:n(p(a,1)),itemCount:n(Ft(a,2)),notFoundCount:n(Ft(a,3)),status:aj(a,4,2),totalUsec:n(p(a,5)),blockedUsec:n(p(a,6)),networkUsec:n(p(a,7)),cacheStatus:n(p(a,8)),addressBook:n(p(a,9))}};var Vzc=function(a){this.internalArray_=l(a)};U(Vzc,q);f=Vzc.prototype;f.getStatus=function(){return aj(this,1,2)};f.setStatus=function(a){return cj(this,1,a)};f.hasStatus=function(){return tj(this,1)};f.setTotalUsec=function(a){return cj(this,2,a)};f.toObject=function(){return Wzc(this)};var Wzc=function(a){if(null!=a)return t(a),{status:aj(a,1,2),totalUsec:n(p(a,2)),scriptLoadUsec:n(p(a,3)),papiLoadUsec:n(p(a,4)),transportType:n(p(a,5))}};var Xzc=function(a){this.internalArray_=l(a)};U(Xzc,q);f=Xzc.prototype;f.getRpcType=function(){return aj(this,1,0)};f.setRpcType=function(a){return cj(this,1,a)};f.getLookupType=function(){return aj(this,2,0)};f.setLookupType=function(a){return cj(this,2,a)};f.toObject=function(){return Yzc(this)};var Yzc=function(a){if(null!=a)return t(a),{rpcType:n(p(a,1)),lookupType:n(p(a,2))}};var Zzc=function(a){this.internalArray_=l(a)};U(Zzc,q);f=Zzc.prototype;f.getRpcType=function(){return aj(this,1,0)};f.setRpcType=function(a){return cj(this,1,a)};f.getLookupType=function(){return aj(this,2,0)};f.setLookupType=function(a){return cj(this,2,a)};f.getStatus=function(){return aj(this,3,2)};f.setStatus=function(a){return cj(this,3,a)};f.hasStatus=function(){return tj(this,3)};f.setTotalUsec=function(a){return cj(this,4,a)};f.setBlockedUsec=function(a){return cj(this,5,a)};
f.setNetworkUsec=function(a){cj(this,6,a)};f.toObject=function(){return $zc(this)};var $zc=function(a){if(null!=a)return t(a),{rpcType:n(p(a,1)),lookupType:n(p(a,2)),status:aj(a,3,2),totalUsec:n(p(a,4)),blockedUsec:n(p(a,5)),networkUsec:n(p(a,6))}};var GR=function(a){this.internalArray_=l(a)};U(GR,q);f=GR.prototype;f.getEnvType=function(){return aj(this,1,0)};f.getEnvType_legacyNullable=function(){return p(this,1)};f.setEnvType=function(a){cj(this,1,a)};f.getCacheSize=function(){return Vh(this,2)};f.setCacheSize=function(a){dj(this,2,a)};f.hasCacheSize=function(){return Rk(this,2)};f.toObject=function(){return aAc(this)};
var aAc=function(a){if(null!=a)return t(a),{envType:n(p(a,1)),cacheSize:n(Ft(a,2)),cacheSizeBucket:n(Ft(a,3)),gmailDelegation:n(Ur(a,4))}};var HR=function(a){this.internalArray_=l(a)};U(HR,q);f=HR.prototype;f.getClientInterface=function(){return W(this,FR,1)};f.setClientInterface=function(a){return lj(this,FR,1,a)};f.getSource=function(){return aj(this,2,0)};f.setSource=function(a){return cj(this,2,a)};f.hasSource=function(){return tj(this,2)};f.getSourceOrUndefined=function(){return ps(this,2)};f.getEventType=function(){return aj(this,3,0)};f.getEventType_legacyNullable=function(){return p(this,3)};
f.setEventType=function(a){return cj(this,3,a)};f.getRpcRequest=function(){return fk(this,Xzc,5,IR)};f.setRpcRequest=function(a){return Ko(this,5,IR,a)};f.getRpcResponse=function(){return fk(this,Zzc,6,IR)};f.setRpcResponse=function(a){return Ko(this,6,IR,a)};f.getApiCall=function(){return fk(this,Rzc,7,IR)};f.setApiCall=function(a){return Ko(this,7,IR,a)};f.getApiResult=function(){return fk(this,Tzc,8,IR)};f.setApiResult=function(a){return Ko(this,8,IR,a)};
f.getUserInfo=function(){return W(this,GR,9)};f.setUserInfo=function(a){return lj(this,GR,9,a)};f.hasUserInfo=function(){return Pj(this,GR,9)};var IR=[4,5,6,7,8];
HR.prototype.toObject=function(){if(null!=this){t(this);var a={clientInterface:Qzc(this.getClientInterface()),source:n(p(this,2)),eventType:n(p(this,3)),gapiInit:Wzc(fk(this,Vzc,4,IR)),rpcRequest:Yzc(this.getRpcRequest()),rpcResponse:$zc(this.getRpcResponse()),apiCall:Szc(this.getApiCall()),apiResult:Uzc(this.getApiResult()),userInfo:aAc(this.getUserInfo())}}else a=void 0;return a};var bAc=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]]),cAc=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]]),dAc=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]]),eAc=function(a){return cAc.has(a)?cAc.get(a):1},fAc=function(a){return dAc.has(a)?dAc.get(a):2};var gAc=function(a){this.request_=a;this.errorCode_=0},hAc=function(a,b){b=new gAc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};f=gAc.prototype;f.hasChanges=function(){return this.mutateResponse_&&this.mutateResponse_.getOperation()?this.mutateResponse_.getOperation().hasChanges():!1};f.getError=function(){return this.errorCode_};f.getErrorCode=function(){return this.errorCode_};f.getRequest=function(){return this.request_};f.getQuery=function(){return this.request_.getQuery()};
f.getConfiguration=function(){return this.queryResponse_.getConfiguration()};f.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var JR=function(a){this.map_=new iH;this.size=0;a&&this.addAll(a)},iAc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+xa(a):b.charAt(0)+a};f=JR.prototype;f.getCount=function(){return this.map_.size};f.add=function(a){this.map_.set(iAc(a),a);this.setSizeInternal_(this.map_.size)};f.addAll=function(a){a=bD(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.setSizeInternal_(this.map_.size)};f.removeAll=function(a){a=bD(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.setSizeInternal_(this.map_.size)};
f.delete=function(a){a=this.map_.remove(iAc(a));this.setSizeInternal_(this.map_.size);return a};f.remove=function(a){return this.delete(a)};f.clear=function(){this.map_.clear();this.setSizeInternal_(0)};f.isEmpty=function(){return 0===this.map_.size};f.has=function(a){return this.map_.containsKey(iAc(a))};f.contains=function(a){return this.map_.containsKey(iAc(a))};f.intersection=function(a){var b=new JR;a=bD(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};
f.getValues=function(){return this.map_.getValues()};f.values=function(){return this.map_.values()};f.clone=function(){return new JR(this)};f.equals=function(a){return this.getCount()==j$b(a)&&jAc(this,a)};
var jAc=function(a,b){var c=j$b(b);if(a.getCount()>c)return!1;!(b instanceof JR)&&5<c&&(b=new JR(b));return m$b(a,function(d){var e=b;if(e.contains&&"function"==typeof e.contains)d=e.contains(d);else if(e.containsValue&&"function"==typeof e.containsValue)d=e.containsValue(d);else if(ua(e)||"string"===typeof e)d=pa(e,d);else a:{for(var g in e)if(e[g]==d){d=!0;break a}d=!1}return d})};JR.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};JR.prototype[Symbol.iterator]=function(){return this.values()};
JR.prototype.setSizeInternal_=function(a){this.size=a};var KR=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new JR(c);this.extraFields_=[]};KR.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 kAc=function(a){a.fieldSet_||(a.fieldSet_=new JR(a.fields_));return a.fieldSet_};
KR.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new JR);if(this.doesntContain_.has(a))return!1;var b=kAc(this),c=kAc(a);if(m$b(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var lAc=new KR(["6","12"],"1"),mAc=new KR("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[lAc]);new KR("6 12 16 17 18 1a".split(" "),"3",[lAc]);
new KR("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",[lAc,mAc]);new KR([]);var nAc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var oAc=function(a,b,c){iB.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};U(oAc,iB);f=oAc.prototype;f.getGroup=function(){return this.group};f.setGroup=function(a){this.group=a};f.isSuccess=function(){return this.getState().isSuccess()};f.setSuccess=function(a){this.getState().setSuccess(a)};f.getMaxNumRetries=function(){this.getState().getMaxNumRetries()};f.setMaxNumRetries=function(a){this.getState().setMaxNumRetries(a)};f.reset=function(){this.getState().reset()};
f.getNumTriesLeft=function(){return this.getState().getNumTriesLeft()};f.setRunState=function(a){this.getState().setRunState(a)};f.setRunTime=function(a){this.getState().setRunTime(a)};f.setRunTimerId=function(a){this.getState().setRunTimerId(a)};f.incNumSuccesses=function(){this.getState().incNumSuccesses()};f.incNumFailures=function(){this.getState().incNumFailures()};f.incNumExecutions=function(){this.getState().incNumExecutions()};f.decNumTriesLeft=function(){this.getState().decNumTriesLeft()};
f.isPending=function(){return this.getState().isPending()};f.cancel=function(){this.scheduler.cancel(this.getState())};f.getState=function(){return this.scheduler.getState(this.group)};f.run=function(){this.incNumExecutions();this.runFunction_(this)};f.isDone=function(a){return this.scheduler.isDone(this,a)};var pAc=function(a){iB.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};U(pAc,iB);f=pAc.prototype;f.reset=function(){this.numTriesLeft=this.maxNumRetries_;this.success=!1;this.runState=1;this.runTimerId=this.runTime=-1};f.isSuccess=function(){return this.success};f.setSuccess=function(a){this.success=a};f.getMaxNumRetries=function(){return this.maxNumRetries_};f.setRunState=function(a){this.runState=a};f.setRunTime=function(a){this.runTime=a};
f.setRunTimerId=function(a){this.runTimerId=a};f.setMaxNumRetries=function(a){this.maxNumRetries_=a};f.getNumTriesLeft=function(){return this.numTriesLeft};f.decNumTriesLeft=function(){--this.numTriesLeft};f.incNumSuccesses=function(){};f.incNumFailures=function(){};f.incNumExecutions=function(){};f.isPending=function(){return!(4==this.runState||5==this.runState)};f.disposeInternal=function(){iB.prototype.disposeInternal.call(this);this.scheduler=null};var qAc=function(){iB.call(this);this.states={};this.currentGroup=1};U(qAc,iB);qAc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,g=this.states[a.getGroup()];g||(g=new pAc(this),this.states[a.getGroup()]=g);g.setMaxNumRetries(Math.max(c||1,g.getMaxNumRetries()));switch(g.runState){case 1:case 5:g.reset();rAc(a,b,e);break;case 6:rAc(a,b,e);break;case 4:d&&(g.reset(),rAc(a,b,e));break;case 2:e<g.runTime?(this.cancel(g),g.reset(),rAc(a,b,e)):g.numTriesLeft=g.maxNumRetries_}};
var rAc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(yo(a.run,b,a)))};f=qAc.prototype;f.getState=function(a){return this.states[a]};f.createGroup=function(){return""+this.currentGroup++};f.disposeInternal=function(){iB.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);Eh(b)}this.states={}};f.cancel=function(a){2==a.runState&&zo(a.runTimerId)};
f.isDone=function(a,b){b?a.incNumSuccesses():a.incNumFailures();a.setSuccess(b);a.decNumTriesLeft();if(!b&&0<a.getNumTriesLeft())return a.setRunState(6),this.schedule(a,Math.max(100,Math.round(45E3*Math.random()))),!1;a.setRunState(b?4:5);return!0};var sAc={SOMETHING_CHANGED:"e",ERROR:"f"},tAc=function(a,b){kB.call(this,a&&a[0].getError()?"f":"e");this.responses_=a;this.source_=b||"h"};U(tAc,kB);tAc.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];oa(this.responses_,function(b){b=b.getOperation().getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};tAc.prototype.getSource=function(){return this.source_};var uAc=function(a,b){this.fn_=a;this.handler_=b};uAc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};uAc.prototype.abort=function(){this.handler_=this.fn_=null};d2b(function(a){uAc.prototype.execute=a(uAc.prototype.execute)});var vAc=[];var LR=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];this.addDependencies(c,!1)};LR.prototype.toString=function(){return this.serviceId_};LR.prototype.getModuleId=function(){return this.moduleId_};
LR.prototype.addDependencies=function(a,b){var c=this;b=void 0===b?!1:b;this.dependencies_=this.dependencies_.concat(a);if(b){if(!this.moduleId_)throw Error("Id`"+this.serviceId_);a.map(function(d){return d.getModuleId()}).forEach(function(d){vAc.push(function(e){e.addExtraEdge(c.moduleId_,d)})})}};new LR("ZtVrH");new LR("rJmJrc","rJmJrc");new LR("fJuxOc");new LR("NGntwf");new LR("ofuapc");new LR("BWETze");new LR("ZmXAm");new LR("n73qwf","n73qwf");new LR("Bgf0ib");new LR("MpJwZc","MpJwZc");new LR("UUJqVe","UUJqVe");new LR("GHAeAc","GHAeAc");new LR("Wt6vjf","Wt6vjf");new LR("byfTOb","byfTOb");new LR("LEikZe","LEikZe");new LR("lsjVmc","lsjVmc");new LR("pVbxBc");new LR("klpyYe");new LR("OPbIxb");new LR("pg9hFd");new LR("IaqD3e");new LR("Xpw1of");new LR("v5BQle");new LR("tdUkaf");new LR("WSziFf");new LR("UBSgGf");new LR("zZa4xc");new LR("o1bZcd");new LR("WwG67d");new LR("z72MOc");new LR("JccZRe");new LR("amY3Td");new LR("ABma3e");new LR("gSshPb");new LR("yu4DA");new LR("vk3Wc");new LR("IykvEf");new LR("J5K1Ad");new LR("IW8Usd");new LR("jbDgG");new LR("b8xKu");new LR("d0RAGb");new LR("AzG0ke");new LR("J4QWB");new LR("TuDsZ");new LR("hdXIif");new LR("mITR5c");new LR("DFElXb");new LR("FENZqe");new LR("tLnxq");var wAc=function(){iB.call(this);this.eventTarget_=new fp;this.updateCacheEventTarget_=new fp;this.mutationIdMap_=new lH};U(wAc,iB);wAc.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};wAc.prototype.getEventTarget=function(){return this.eventTarget_};
wAc.prototype.disposeInternal=function(){iB.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var ls=function(a){this.internalArray_=l(a)};U(ls,q);var ks=function(a,b){return uk(a,1,b)};f=ls.prototype;f.setLogSource=function(a){return cj(this,2,a)};f.getApplication=function(){return aj(this,3,0)};f.setApplication=function(a){return cj(this,3,a)};f.getApplicationOrUndefined=function(){return ps(this,3)};f.getVersion=function(){return V(this,4)};f.getVersion_legacyNullable=function(){return X(this,4)};f.setVersion=function(a){return uk(this,4,a)};
f.getVersionOrUndefined=function(){return Tt(this,4)};f.getBaselineCl=function(){return Vh(this,5)};f.setBaselineCl=function(a){return dj(this,5,a)};f.hasBaselineCl=function(){return Rk(this,5)};f.getBaselineClOrUndefined=function(){return Rt(this,5)};f.getEnableClearcut=function(){return Vj(this,6)};f.setEnableClearcut=function(a){return Xj(this,6,a)};var Fpb=function(a,b){return Cb(a,7,b,bb)};f=ls.prototype;f.getExperimentId=function(){return Jt(this,7)};
f.setClientAgent=function(a){return cj(this,8,a)};f.getClientAgentOrUndefined=function(){return ps(this,8)};f.setEventSource=function(a){cj(this,9,a)};f.getEventSourceOrUndefined=function(){return ps(this,9)};f.getClearcutUrl=function(){return V(this,10)};f.setClearcutUrl=function(a){uk(this,10,a)};f.setEnvironment=function(a){return cj(this,11,a)};f.getEnvironmentOrUndefined=function(){return ps(this,11)};f.getPeoplekitEntryPoint=function(){return aj(this,12,0)};
f.setPeoplekitEntryPoint=function(a){return cj(this,12,a)};f.getPeoplekitEntryPointOrUndefined=function(){return ps(this,12)};ls.repeatedFields_=[7];
ls.prototype.toObject=function(){if(null!=this){t(this);var a={logName:n(X(this,1)),logSource:n(p(this,2)),application:n(p(this,3)),version:n(X(this,4)),baselineCl:n(Ft(this,5)),enableClearcut:n(Ur(this,6)),experimentIdList:n(Uh(this,7)),clientAgent:n(p(this,8)),eventSource:n(p(this,9)),clearcutUrl:n(X(this,10)),environment:n(p(this,11)),peoplekitEntryPoint:n(p(this,12))}}else a=void 0;return a};var xAc=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 yAc=function(a){this.start_=a;this.end_=NaN};yAc.prototype.duration=function(){return this.end_-this.start_};yAc.prototype.stop=function(a){this.end_=a;return this.duration()};var MR=function(a){var b=void 0===b?xAc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};MR.prototype.source=function(){return this.source_};var zAc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};f=MR.prototype;
f.duration=function(a){a=zAc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};f.durationUsec=function(a){return NMa(this.duration(void 0===a?"":a))};f.toString=function(a,b){b=void 0===b?1:b;return this.duration(void 0===a?"":a).toFixed(b)};f.start=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=zAc(this,a);this.durations_.set(a,new yAc(b));return this};
f.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=zAc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};f.clear=function(){this.durations_.clear();return this};var AAc=function(a){this.internalArray_=l(a)};U(AAc,q);AAc.prototype.toObject=function(){return BAc(this)};var BAc=function(a){if(null!=a)return t(a),{applicationPackageName:n(X(a,1)),widgetName:n(X(a,2))}};var CAc=function(a){this.internalArray_=l(a)};U(CAc,q);CAc.prototype.toObject=function(){return DAc(this)};var DAc=function(a){if(null!=a)return t(a),{hadValidCache:n(Ur(a,1)),timeSinceCacheRefreshUsec:n(p(a,2)),cacheRefreshUsec:n(p(a,3)),hadDeviceContactPermissions:n(Ur(a,4))}};var NR=function(a){this.internalArray_=l(a)};U(NR,q);f=NR.prototype;f.getQueryId=function(){return p(this,1)};f.setQueryId=function(a){cj(this,1,a)};f.setSelectionId=function(a){cj(this,2,a)};f.getInstanceId=function(){return X(this,4)};f.setInstanceId=function(a){return uk(this,4,a)};f.clearInstanceId=function(){Ct(this,4)};f.hasInstanceId=function(){return Jk(this,4)};f.getInstanceIdOrUndefined=function(){return Tt(this,4)};f.getAffinityVersion=function(){return Ft(this,5)};
f.setAffinityVersion=function(a){dj(this,5,a)};f.getAffinityVersionOrUndefined=function(){return Rt(this,5)};f.toObject=function(){return EAc(this)};var EAc=function(a){if(null!=a)return t(a),{queryId:n(p(a,1)),selectionId:n(p(a,2)),submissionId:n(p(a,3)),instanceId:n(X(a,4)),affinityVersion:n(Ft(a,5))}};var FAc=function(a){this.internalArray_=l(a)};U(FAc,q);f=FAc.prototype;f.getQueryLength=function(){return Ft(this,1)};f.setQueryLength=function(a){return dj(this,1,a)};f.hasQueryLength=function(){return Rk(this,1)};f.getQuery=function(){return X(this,2)};f.setQuery=function(a){return uk(this,2,a)};f.clearQuery=function(){Ct(this,2)};f.hasQuery=function(){return Jk(this,2)};f.toObject=function(){return GAc(this)};
var GAc=function(a){if(null!=a)return t(a),{queryLength:n(Ft(a,1)),query:n(X(a,2)),sessions:EAc(W(a,NR,3))}};var HAc=function(a){this.internalArray_=l(a)};U(HAc,q);HAc.prototype.toObject=function(){return IAc(this)};var IAc=function(a){if(null!=a)return t(a),{mobileNetworkCountry:n(X(a,1)),simCountry:n(X(a,2)),localeCountry:n(X(a,3))}};var JAc=function(a){this.internalArray_=l(a)};U(JAc,q);JAc.prototype.toObject=function(){return KAc(this)};var KAc=function(a){if(null!=a)return t(a),{canonicalCode:n(p(a,1))}};var LAc=function(a){this.internalArray_=l(a)};U(LAc,q);LAc.prototype.toObject=function(){return MAc(this)};var MAc=function(a){if(null!=a)return t(a),{attributedSharingEnabled:n(Ur(a,1)),sharePanelVersion:n(X(a,2))}};var OR=function(a){this.internalArray_=l(a)};U(OR,q);OR.prototype.setLatencyUsec=function(a){dj(this,1,a)};OR.prototype.toObject=function(){return NAc(this)};var NAc=function(a){if(null!=a)return t(a),{latencyUsec:n(Ft(a,1)),dataLatencyUsec:n(Ft(a,2))}};var PR=function(a){this.internalArray_=l(a)};U(PR,q);f=PR.prototype;f.getColumn=function(){return Ft(this,2)};f.setColumn=function(a){return dj(this,2,a)};f.getType=function(){return p(this,3)};f.setType=function(a){return cj(this,3,a)};f.hasType=function(){return tj(this,3)};f.toObject=function(){return OAc(this)};var OAc=function(a){if(null!=a)return t(a),{row:n(Ft(a,1)),column:n(Ft(a,2)),type:n(p(a,3))}};var PAc=function(a){this.internalArray_=l(a)};U(PAc,q);f=PAc.prototype;f.getExistingSelectionsCount=function(){return Ft(this,1)};f.setExistingSelectionsCount=function(a){dj(this,1,a)};f.getPosition=function(){return W(this,PR,2)};f.setPosition=function(a){return lj(this,PR,2,a)};f.toObject=function(){return QAc(this)};
var QAc=function(a){if(null!=a)return t(a),{existingSelectionsCount:n(Ft(a,1)),position:OAc(a.getPosition()),replacementOriginEmailAddress:n(X(a,3)),replacementDestinationEmailAddress:n(X(a,4))}};var QR=function(a){this.internalArray_=l(a)};U(QR,q);f=QR.prototype;f.getType=function(){return p(this,5)};f.setType=function(a){return cj(this,5,a)};f.hasType=function(){return tj(this,5)};f.getEmail=function(){return X(this,1)};f.getEmail_legacyNullable=function(){return X(this,1)};f.setEmail=function(a){return uk(this,1,a)};f.hasEmail=function(){return Jk(this,1)};f.getPhone=function(){return X(this,2)};f.getPhone_legacyNullable=function(){return X(this,2)};
f.setPhone=function(a){return uk(this,2,a)};f.hasPhone=function(){return Jk(this,2)};f.getObfuscatedGaiaId=function(){return X(this,3)};f.getObfuscatedGaiaId_legacyNullable=function(){return X(this,3)};f.setObfuscatedGaiaId=function(a){uk(this,3,a)};f.getContactId=function(){return p(this,4)};f.setContactId=function(a){cj(this,4,a)};f.getGroupId=function(){return X(this,6)};f.setGroupId=function(a){uk(this,6,a)};f.hasGroupId=function(){return Jk(this,6)};f.toObject=function(){return RAc(this)};
var RAc=function(a){if(null!=a)return t(a),{type:n(p(a,5)),email:n(X(a,1)),phone:n(X(a,2)),obfuscatedGaiaId:n(X(a,3)),contactId:n(p(a,4)),groupId:n(X(a,6))}};var SAc=function(a){this.internalArray_=l(a)};U(SAc,q);f=SAc.prototype;f.getName=function(){return X(this,1)};f.setName=function(a){return uk(this,1,a)};f.hasName=function(){return Jk(this,1)};f.getNameOrUndefined=function(){return Tt(this,1)};f.toObject=function(){return TAc(this)};var TAc=function(a){if(null!=a)return t(a),{name:n(X(a,1))}};var RR=function(a){this.internalArray_=l(a)};U(RR,q);f=RR.prototype;f.getPosition=function(){return W(this,PR,1)};f.setPosition=function(a){return lj(this,PR,1,a)};f.getProfile=function(){return W(this,SAc,2)};f.getProvenance=function(){return Mt(this,3)};f.setProvenance=function(a){return Fb(this,3,a,void 0,fl)};f.getIsPlaceholder=function(){return Ur(this,7)};f.setIsPlaceholder=function(a){Xj(this,7,a)};f.getIsSelf=function(){return Ur(this,11)};f.getQueryId=function(){return p(this,15)};
f.setQueryId=function(a){cj(this,15,a)};f.setSelectionId=function(a){cj(this,16,a)};RR.repeatedFields_=[4,3];RR.prototype.toObject=function(){return UAc(this)};
var UAc=function(a){if(null!=a)return t(a),{position:OAc(a.getPosition()),additionalPositionList:Ub(oj(a,PR,4),OAc),profile:TAc(a.getProfile()),provenanceList:n(fl(a,3)),hasAvatar:n(Ur(a,5)),isBoosted:n(Ur(a,6)),isPlaceholder:n(Ur(a,7)),smartAddressEntityMetadata:QAc(W(a,PAc,8)),uiSurface:n(p(a,9)),isSelf:n(Ur(a,11)),isOutOfDomain:n(Ur(a,12)),rankType:n(p(a,13)),rank:n(Ft(a,14)),queryId:n(p(a,15)),selectionId:n(p(a,16))}};var VAc=function(a){this.internalArray_=l(a)};U(VAc,q);f=VAc.prototype;f.getLoggingId=function(){return X(this,1)};f.setLoggingId=function(a){uk(this,1,a)};f.getMetadata=function(){return W(this,RR,3)};f.setMetadata=function(a){lj(this,RR,3,a)};f.toObject=function(){return WAc(this)};var WAc=function(a){if(null!=a)return t(a),{loggingId:n(X(a,1)),entityId:RAc(W(a,QR,4)),metadata:UAc(a.getMetadata())}};var SR=function(a){this.internalArray_=l(a)};U(SR,q);SR.prototype.getAffinityVersion=function(){return Ft(this,2)};SR.prototype.setAffinityVersion=function(a){dj(this,2,a)};SR.prototype.getAffinityVersionOrUndefined=function(){return Rt(this,2)};SR.prototype.toObject=function(){return XAc(this)};
var XAc=function(a){if(null!=a)return t(a),{autocompleteMetadata:GAc(W(a,FAc,1)),affinityVersion:n(Ft(a,2)),showMetadata:NAc(W(a,OR,6)),queryErrorMetadata:KAc(W(a,JAc,7)),autocompleteClientMetadata:DAc(W(a,CAc,3)),reactrMetadata:MAc(W(a,LAc,4)),apdlMetadata:BAc(W(a,AAc,5)),phoneRegionHints:IAc(W(a,HAc,8))}};var YAc=function(a){this.internalArray_=l(a)};U(YAc,q);YAc.prototype.toObject=function(){return ZAc(this)};var ZAc=function(a){if(null!=a)return t(a),{scoreVersion:n(p(a,1)),sessionId:n(p(a,2))}};var $Ac=function(a){this.internalArray_=l(a)};U($Ac,q);f=$Ac.prototype;f.getEventType=function(){return p(this,1)};f.getEventType_legacyNullable=function(){return p(this,1)};f.setEventType=function(a){return cj(this,1,a)};f.getMetadata=function(){return W(this,SR,4)};f.setMetadata=function(a){lj(this,SR,4,a)};f.getClientInterface=function(){return W(this,FR,5)};f.setClientInterface=function(a){return lj(this,FR,5,a)};$Ac.repeatedFields_=[2];
$Ac.prototype.toObject=function(){if(null!=this){t(this);var a={eventType:n(p(this,1)),entityList:Ub(oj(this,VAc,2),WAc),scoringInfo:ZAc(W(this,YAc,3)),metadata:XAc(this.getMetadata()),clientInterface:Qzc(this.getClientInterface()),eventTimestampUsec:n(p(this,6))}}else a=void 0;return a};var aBc=new Map([[1,4],[2,2],[3,1],[4,7]]),bBc=function(a,b){b=void 0===b?0:b;this.clientConfig_=a;this.transportType_=b;switch(b){case 1:b="ppl.store.peopleapi";var c=Vj(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Vj(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=aBc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=Eb(Fpb(ks(new ls,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,bb(20090307))};f=bBc.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b){b=b.source();var c=cBc(this);switch(b.getEventType()){case 2:case 3:return(new HR).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new Xzc).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new HR).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new Rzc).setApiType(b.getApiType()));default:return null}};
f.createStatusMetric=function(a,b,c){var d=b.source(),e=cBc(this);switch(d.getEventType()){case 1:d=(new HR).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new Vzc).setStatus(c);if(0==c||4==c)c=e.setTotalUsec(b.durationUsec("total")),b=b.durationUsec("blocked"),b=cj(c,3,b),cj(b,5,a);return Ko(d,4,IR,e);case 2:case 3:return a=(new HR).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new Zzc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
0!=c&&4!=c||d.setTotalUsec(b.durationUsec("total")).setBlockedUsec(b.durationUsec("blocked")).setNetworkUsec(b.durationUsec("network")),e.call(a,d);case 4:case 5:a=(new HR).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var g=new Tzc;g.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);0!==c&&4!==c||g.setTotalUsec(b.durationUsec("total"));return e.call(a,g);default:return null}};f.createErrorMetric=function(){return null};
f.createLatencyMetric=function(){return null};var cBc=function(a){a=a.clientConfig_.getUserInfo();var b=new GR;b=Xj(b,4,!!a.getDelegatorId());a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(aj(a,6,0)||0);return b};var Ir=function(a){this.internalArray_=l(a)};U(Ir,q);Ir.repeatedFields_=[1,2,3,4];Ir.prototype.toObject=function(){if(null!=this){t(this);var a={byGaiaList:n(Uh(this,1)),byPseudonymousList:n(Uh(this,2)),alwaysList:n(Uh(this,3)),byOtherList:n(Uh(this,4))}}else a=void 0;return a};var TR=function(a,b){this.name_=b||"";this.address=a||""},dBc=/"/g,eBc=/\\"/g,fBc=/\\/g,gBc=/\\\\/g,hBc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),iBc=new RegExp("["+Kca({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");TR.prototype.getName=function(){return this.name_};TR.prototype.getAddress=function(){return this.address};TR.prototype.setName=function(a){this.name_=a};TR.prototype.toString=function(){return jBc(this,'()<>@:\\".[],;')};
var jBc=function(a,b){var c=a.getName();c=c.replace(dBc,"");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(fBc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};TR.prototype.isValid=function(){return hBc.test(this.address)};
var mBc=function(a){var b=kBc;a=a.replace(iBc,"");for(var c="",d="",e=0;e<a.length;){var g=a;var h=e,m=g.charAt(h),r='"<(['.indexOf(m);if(-1==r||lBc(g,h))g=m;else{r='">)]'.charAt(r);for(var v=g.indexOf(r,h+1);0<=v&&lBc(g,v);)v=g.indexOf(r,v+1);g=0<=v?g.substring(h,v+1):m}"<"==g.charAt(0)&&-1!=g.indexOf(">")?(d=g.indexOf(">"),d=g.substring(1,d)):""==d&&(c+=g);e+=g.length}""==d&&-1!=c.indexOf("@")&&(d=c,c="");c=RTb(c);c=STb(c,"'");c=STb(c,'"');c=c.replace(eBc,'"');c=c.replace(gBc,"\\");d=RTb(d);return new b(d,
c)},lBc=function(a,b){if('"'!=a.charAt(b))return!1;var c=0;for(--b;0<=b&&"\\"==a.charAt(b);b--)c++;return 0!=c%2};var kBc=function(a,b){TR.call(this,a,b)};nt(kBc,TR);var nBc=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}$");kBc.prototype.isValid=function(){return oBc(this.address)};var oBc=function(a){return null==a?!1:nBc.test(a)};kBc.prototype.toString=function(){return jBc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var pBc=/[^a-z0-9]+/ig,qBc=[9,11,10,12,13,14,15,16,19],rBc=[9,19,11],sBc=[1,6],tBc=[2,7],uBc=[3,8],vBc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],pob=[3,4,5,17,20],Qr=function(a,b,c){this.type_=a;this.value_=ep(b);this.originalValue_=ep(void 0===c?b:c)};Qr.prototype.getType=function(){return this.type_};Qr.prototype.getValue=function(){return this.value_};Qr.prototype.getOriginalValue=function(){return this.originalValue_};
var sr=function(a){return qBc.includes(a.getType())},tr=function(a){return rBc.includes(a.getType())},Kr=function(a,b){switch(a){case 1:return Nr(b);case 6:return new Qr(6,ep(b).toLowerCase(),b);case 2:return zob(b);case 7:return Aob(b);case 3:return mob(b);case 8:return new Qr(8,ep(b).toLowerCase(),b);case 5:return new Qr(5,ep(b).toLowerCase(),b);case 4:return nob(b);case 9:return wBc(b);case 12:return new Qr(12,ep(b),b);case 13:return new Qr(13,ep(b),b);case 14:return new Qr(14,ep(b),b);case 15:return new Qr(15,
ep(b),b);case 16:return new Qr(16,ep(b),b);case 10:return new Qr(10,ep(b),b);case 11:return new Qr(11,ep(b),b);case 18:return oob(b);case 19:return new Qr(19,ep(b),b);case 20:return new Qr(20,ep(b),b);case 17:return xBc;default:return new Qr(0,b)}},Nr=function(a){return new Qr(1,ep(a).toLowerCase(),a)},zob=function(a){var b=ep(a).toLowerCase().replace(pBc,"");return new Qr(2,b,a)},mob=function(a){var b=ep(a).toLowerCase();return"me"===b?xBc:new Qr(3,b,a)},nob=function(a){return new Qr(4,ep(a).toLowerCase(),
a)},Aob=function(a){var b=ep(a).toLowerCase().replace(pBc,"");return new Qr(7,b,a)},wBc=function(a){return new Qr(9,ep(a).toLowerCase(),a)},oob=function(a){return new Qr(18,ep(a),a)},yBc=function(a){var b=a.indexOf(":");return Kr(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};Qr.prototype.toString=function(){return this.getType()+":"+this.getValue()};Qr.prototype.equals=function(a){return a?this===a?!0:this.getType()===a.getType()&&this.getValue()===a.getValue():!1};
var zBc=function(a){switch(a.getType()){case 1:case 6:return oBc(a.getValue().trim());case 2:case 7:return a=a.getValue().replace(pBc,""),3<=a.length&&"0"<=a[0]&&"9">=a[0];case 3:case 8:return!!a.getValue().trim();default:return!0}},Sr=Kr(0,""),xBc=new Qr(17,"me");var ABc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var BBc=function(a){this.profileId_=a};BBc.prototype.getProfileId=function(){return this.profileId_};var CBc=Object.freeze({userProfileId:"",apiEnv:4,userEmail:""});var DBc=function(){return da&&fa?!fa.mobile&&(ia("iPad")||ia("Android")||ia("Silk")):ia("iPad")||ia("Android")&&!ia("Mobile")||ia("Silk")};var EBc=function(a,b,c,d,e,g,h){ZB.call(this,{logSource:a,getAuthHeaderValue:cp,sessionIndex:b,urlOverride:c,isServiceWorkerScope:d,disableAutomaticFlush:e,pageId:g,backgroundJobDeferrer:h,network:new I6b})};U(EBc,ZB);var FBc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=maa()||ia("iPod")?4:ia("iPad")?5:laa()?DBc()?3:2:(da&&fa?fa.mobile:!DBc()&&(ia("iPod")||ia("iPhone")||ia("Android")||ia("IEMobile")))||DBc()?0:1},GBc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()&&(c=new EBc(p(b,2),FMa(),b.getClearcutUrl()||void 0),(b=Uh(b,7))&&b.length)){var d=new Ir;Cb(d,3,b,bb);c.setClearExperimentIds(d)}return new FBc(c,a)},HBc=function(a){var b=a.logContextFactory_.getLogContext(),
c=new ER;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new FR;a.setSocialClient(c);a.setVersionName(b.getVersionOrUndefined());a.setClientAgent(b.getClientAgentOrUndefined());a.setEventSource(b.getEventSourceOrUndefined());a.setEnvironment(b.getEnvironmentOrUndefined());a.setPeoplekitEntryPoint(b.getPeoplekitEntryPointOrUndefined());b.hasBaselineCl()&&(b=Math.round(b.getBaselineCl()),isFinite(b)&&a.setBaselineCl(b));return a},IBc=function(a,b){var c=new VB;a6b(c,b.serialize());
a.clearcut_&&a.clearcut_.log(c)};var JBc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};JBc.prototype.logError=function(a){var b=HBc(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&IBc(this.clearcut_,a)};var KBc=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 LBc=function(){this.logContext_=ks(new ls,"ppl.store")};f=LBc.prototype;f.getLogContext=function(){return this.logContext_};f.createCountMetric=function(){return null};f.createStatusMetric=function(){return null};f.createErrorMetric=function(){return null};f.createLatencyMetric=function(){return null};var MBc=function(a){this.clearcut_=a},Er=function(a){a=new JBc(GBc(a),a);return new MBc(a)};f=MBc.prototype;f.start=function(a,b){a.start(b);return this};f.stop=function(a,b){a.stop(b);return this};
f.count=function(a,b){var c=this.clearcut_;b=void 0===b?1:b;var d=HBc(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&IBc(c.clearcut_,a);return this};f.status=function(a,b){var c=this.clearcut_,d=HBc(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&IBc(c.clearcut_,a);return this};f.latency=function(a){var b=this.clearcut_,c=HBc(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&IBc(b.clearcut_,a);return this};f.error=function(a){this.clearcut_.logError(a);return this};
f.logError=function(){};f.logInfo=function(){return this};var UR=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new qAc;this.eventHandler_=new Mq(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new wAc;(a=b)||(a=Er(new LBc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};nt(UR,iB);f=UR.prototype;
f.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,Kca(sAc),lt(this.forwardEvent_,this))};f.forwardEvent_=function(a){this.contactNotificationService_.dispatchEvent(a)};f.getEventTarget=function(){return this.contactNotificationService_.getEventTarget()};f.invalidate=function(){this.contactNotificationService_.dispatchEvent(new tAc(null,"g"))};
f.loadContactRows=function(a,b){var c=this,d=(new dp).setEventType(4).setApiType(2),e=new MR(d);this.metrics.count(e);this.metrics.start(e,"total");return NBc(this,a,function(g){return g.loadContactRows},function(g,h,m,r,v){OBc(function(y,A,G,N){var Q=A===DR||A instanceof Nzc?2:1;e.source().setCacheStatus(Q);e.source().setAddressBook(G?Ozc.get(G)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,fAc(v||0));b&&b(y,A,G,N,v)},g,h,m,r)})};
var NBc=function(a,b,c,d){var e=new PBc(d,a.metrics),g;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?g=QBc(a,h,c(h),b,d):g=c(h).call(h,b,d);g&&e.add(g)}else for(var m=0;m<a.addressBooks.length;m++)h=a.addressBooks[m],0<b.delayMillis||1<b.maxTries?g=QBc(a,h,c(h),b,d):g=c(h).call(h,b,d),g&&e.add(g);return e};
UR.prototype.execute=function(a){var b=this,c=(new dp).setEventType(4).setApiType(1),d=new MR(c);this.metrics.count(d);this.metrics.start(d,"total");RBc(this,a);a.addSuccessOrFailureCallback(function(e){var g=e?fAc(e.getErrorCode()):2;e=(e=e?e.getRequest():null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?Ozc.get(e)||1:1:0);b.metrics.stop(d,"total");b.metrics.status(d,g)});return this.cache_&&(c=a.executeFromCache(this.cache_,function(e){return SBc(b,e,d)}))?
c:SBc(this,a,d)};
var RBc=function(a,b){oa(a.queryFilters_,function(){});b.isMutate()&&(b=b.getOperation())&&(b=b.getQueryAfterMutate())&&RBc(a,b)},SBc=function(a,b,c){if(b.isMutate()){var d=b.getOperation();d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new PBc(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},QBc=function(a,
b,c,d,e){b=lt(a.runScheduledQuery_,a,b,c,d,e);b=new oAc(a.scheduler_,b,d.name);a.scheduler_.schedule(b,d.delayMillis,d.maxTries,d.force);return new TBc(b)};UR.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(g,h,m,r,v){e.isDone(!v)&&d&&d(g,h,m,r,v)})};
var OBc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),UBc(b)),a(b||[],c,d,e))},UBc=function(a){if(0<a.length)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)}};
UR.prototype.disposeInternal=function(){UR.superClass_.disposeInternal.call(this);Eh(this.scheduler_);this.scheduler_=null;oa(this.ownedAddressBooks_,Eh);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;Eh(this.eventHandler_);this.eventHandler_=null;oa(this.queryFilters_,function(a){a!=this.contactNotificationService_&&Eh(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(Eh(this.contactNotificationService_),this.contactNotificationService_=null)};
var VBc=function(a){var b=new bBc(a,0);ks(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Vj(a.getExperiments(),3,!0));return Er(b)},PBc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};f=PBc.prototype;f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.add=function(a){this.requests_.push(a)};f.isEmpty=function(){return 0==this.requests_.length};
f.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()};f.isPending=function(){for(var a=0;a<this.requests_.length;a++)if(this.requests_[a].isPending())return!0;return!1};f.getQuery=function(){return this.query_};f.setQuery=function(a){this.query_=a};var TBc=function(a){this.op=a;this.request=null};TBc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
TBc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var WBc=function(a,b){this.text=a;this.specialRowHandler=b};nt(WBc,Lzc);f=WBc.prototype;f.getName=function(){return null};f.getEmail=function(){return null};f.getPhoneNumber=function(){return null};f.getType=function(){return"sr"};f.getPriority=function(){return 0};f.getLoggingId=function(){return"sr"};var XBc=function(a,b){UR.call(this,a,b)};U(XBc,UR);XBc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new YBc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));UR.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};XBc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):UR.prototype.loadContactRows.call(this,a,b)};
var YBc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};YBc.prototype.addAddressBook=function(a){this.addrBooks_.push(new ZBc(this,this.addrBooks_.length,a))};YBc.prototype.loadContactRows=function(a,b){a=new $Bc(a,this.metrics_,b);aCc(this,a);return a};
var aCc=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),0==e&&a.rowSets_[e]&&a.rowSets_[e].length>=b.query.maxMatches);e++);c=b.query;d=a.rowSets_;var g=[];e=!1;for(var h,m=0;m<d.length&&g.length<c.maxMatches;m++)if(d[m]){h=g.length;e=!0;var r=d[m],v=c.maxMatches,y=g.length;if(0==y)g=r.length>v?r.slice(0,v):r;else for(var A=0;A<r.length;A++){for(var G=null,N=0;N<y&&!(G=bCc(g[N],r[A]));N++);if(G)G===r[A]&&(g[N]=G);else if(g.length==
y?g=g.concat(r[A]):g.push(r[A]),g.length==v)break}0<h&&g.length>h&&(g[h].flags|=1)}e?(UBc(g),c=g):c=null;c&&b.handler&&a.addrBooks_[0]&&a.addrBooks_[0].madeCallback_&&b.handler(c,b,null,b.query);a.rowSets_=null},bCc=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},cCc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:aCc(a,b,c,d)};
YBc.prototype.handleSpecialRow=function(){};var ZBc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
ZBc.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(g,h,m,r,v){b.matchListener_(a,d,g,v)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&300<this.lastAsyncLatency_&&(c=[dCc(this)])}c&&cCc(this.combiner_,a,this.id_,c)};
var dCc=function(a){var b=a.addrBook_.title_;return new WBc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
ZBc.prototype.matchListener_=function(a,b,c,d){d=void 0===d?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;cCc(this.combiner_,a,this.id_,c)};ZBc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var $Bc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new MR((new dp).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(g,h,m,r){d.addressBooksToReport_.forEach(function(v,y){var A=d.activeRequests_[y];A=A===DR||A instanceof Nzc?2:1;e.source().setCacheStatus(A);e.source().setAddressBook(v?Ozc.get(v)||1:1);b.stop(e,"total");b.status(e,fAc(d.storedErrorCodes_[y]))});
d.addressBooksToReport_=[];c&&c(g,h,m,r)}};$Bc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};$Bc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};$Bc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var eCc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},Jr=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);if(192>e||382<e)e=null;else{var g=eCc[e];g?e=g:(g="AAAAAA*CEEEEIIIIDNOOOOOx0UUUUYpBaaaaaa*ceeeeiiiionooooo^ouuuuypyAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIi**JjKkkLlLlLLLlllNnNnNnnNnOoOoOo**RrRrRrSsSsSsSsTtTtttUuUuUuUuUuUuWwYyYZzZzZz"[e-192],e="^"==g?null:g)}e&&(c!=d&&b.push(a.substr(c,d-c)),c=d+1,b.push(e))}return 0<b.length?(b.push(a.substr(c)),b.join("")):
a};var VR=function(a,b,c,d,e,g){fp.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=g||fCc;this.cache_=new lH(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};nt(VR,fp);VR.prototype.disposeInternal=function(){VR.superClass_.disposeInternal.call(this);this.cache_=null};VR.prototype.clear=function(){this.cache_.clear()};
var fCc=function(a){var b=In(Jr(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=Jr(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},gCc=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},hCc=function(a,b,c){a.cache_.set(gCc(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_)}},iCc=function(a,b,c){c=c?a.cache_.get(b):Fhc(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},jCc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=iCc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},kCc=function(a,b){if(b.isContactAutoComplete)return null;var c=gCc(b,a.cacheByType_),
d=jCc(a,c,b.token);return d?d:a.cacheByType_&&!fi(c,"^")?(c=gCc(b,!1),jCc(a,c,b.token)):null};VR.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};VR.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:Fhc(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var lCc=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};lCc.prototype.getMatches=function(a){a&&this.count++;return this.matches_};lCc.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};nt(hp,fp);f=hp.prototype;f.configure=function(a,b){this.title_=b;this.initialized_||(this.initialized_=!0)};f.getId=function(){return this.id_};
f.loadContactRows=function(a,b){if(this.initialized_){var c=this.cache_;if(Ok(a.token)&&!c.allowEmptyQueries_)var d=Mzc;else{d=a.maxMatches;var e=iCc(c,gCc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=kCc(c,a))&&0==d.getMatches().length?(hCc(c,a,new lCc(a.token,Mzc)),d=Mzc):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=kNb(d,c.rowMatchingFunction_(a),c),hCc(c,a,new lCc(a.token,d))):d=null}d&&0<=a.maxMatches&&d.length>a.maxMatches&&(d=d.slice(0,a.maxMatches));
return(c=d)?(b&&b(c,DR,this.getId(),a),DR):this.transport_.loadContactRows(a,this.getId(),lt(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(Mzc,DR,this.getId(),a,4);return DR};f.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,g){g||hCc(this.cache_,e,new lCc(e.token,b,-1!=e.maxMatches&&b.length>=e.maxMatches));a&&(b&&0<=e.maxMatches&&b.length>e.maxMatches&&(b=b.slice(0,e.maxMatches)),a(b,c,d,e,g))};f.onContactsChange_=function(){this.cache_.clear()};
f.disposeInternal=function(){hp.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;mCc(this.transport_,this.id_);this.transport_=null};var oCc=function(a,b,c){VR.call(this,100,18E5,432E5,!0,0,c||nCc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};U(oCc,VR);var nCc=function(a){return function(b){var c=b.getType(),d;if(d=pCc(a,c)){d=new RegExp("(^|\\W+)"+In(Jr(a.token)),"i");var e=Jr(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+In(Jr(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},pCc=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 rCc=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new oCc(!0,!1,qCc);hp.call(this,a,b,"domain")};nt(rCc,hp);rCc.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=cc(a),a.includeGroups=!1);return rCc.superClass_.loadContactRows.call(this,a,b)};
var qCc=function(a){for(var b=RTb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var g=In(b[e]),h=new RegExp("^"+g,"i");c.push(new RegExp("(^|\\W+)"+g,"i"));d.push(h)}return function(m){if(pCc(a,m.getType())){for(var r=0;r<c.length;r++)if(!m.getName().match(c[r])&&!m.getEmail().match(d[r]))return!1;return!0}return!1}};rCc.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var sCc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},uCc=function(a){if(!a)return tCc;var b=PMa(bp("metadata.identityInfo.sourceIds",a)),c=bp("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 sCc(a.personId||"",b)},tCc=new sCc("",{});var vCc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};vCc.prototype.toString=function(){return""};var WR=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};WR.prototype.toString=function(){return""};var xCc=function(a){return wCc(a).some(function(b){return!b.isLocal_})};WR.prototype.getSource=function(a){return wCc(this)[a]};WR.prototype.hasSource=function(){return void 0<wCc(this).length};var wCc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};WR.prototype.getCause=function(a){return yCc(this)[a]};
var yCc=function(a){return a.edgeCollection_?zCc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};WR.prototype.getContainerType=function(){return this.metadata_.containerType};var ACc=new WR({},null);var BCc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};f=BCc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new WR(this.email_.metadata,this.edgeCollection_):ACc);return this.metadata_};f.hasMetaData=function(){return"metadata"in this.email_};f.getValue=function(){return this.email_.value||""};f.hasValue=function(){return!!this.getValue()};
f.getPrimary=function(){var a=this.email_.metadata;return!(!a||!a.primary)};f.getDisplayName=function(){return""};var CCc=new BCc({},null);var DCc=function(a,b){this.emails_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new BCc(c.value,b))};f=DCc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.emails_[a]||CCc};f.getFieldLength=function(){return this.emails_.length};var ECc=new DCc([],null);var FCc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};f=FCc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=new WR(this.name_.metadata,this.edgeCollection_));return this.metadata_};f.hasMetaData=function(){return!!this.getMetaData()};f.getValue=function(){return this.name_.displayName||this.name_.formattedName||this.name_.formattedValue||this.name_.value||""};f.hasValue=function(){return!!this.getValue()};
f.getFamilyName=function(){return this.name_.familyName||""};f.hasFamilyName=function(){return!!this.getFamilyName()};f.getGivenName=function(){return this.name_.givenName||""};f.hasGivenName=function(){return!!this.getGivenName()};var GCc=new FCc({},null);var HCc=function(a){this.field_=a};f=HCc.prototype;f.toString=function(){return""};f.getField=function(){return this.field_};f.getMetaData=function(){return this.field_.getMetaData()};f.hasMetaData=function(){return this.field_.hasMetaData()};f.getValue=function(){return this.field_.getValue()};f.hasValue=function(){return this.field_.hasValue()};f.getFamilyName=function(){return this.field_.getFamilyName()};f.hasFamilyName=function(){return this.field_.hasFamilyName()};f.getGivenName=function(){return this.field_.getGivenName()};
f.hasGivenName=function(){return this.field_.hasGivenName()};var ICc=new HCc(GCc);var JCc=["CONTACT","PROFILE","DOMAIN_PROFILE"],KCc=function(a,b){this.names_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new FCc(c.value,b))};f=KCc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.names_[a]||GCc};f.getFieldLength=function(){return this.names_.length};var LCc=new KCc([],null);var MCc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};f=MCc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new WR(this.phone_.metadata,this.edgeCollection_):ACc);return this.metadata_};f.hasMetaData=function(){return"metadata"in this.phone_};f.getValue=function(){return this.phone_.value||""};f.hasValue=function(){return!!this.getValue()};
f.getPrimary=function(){var a=this.phone_.metadata;return!(!a||!a.primary)};var NCc=new MCc({},null);var OCc=function(a,b){this.phones_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new MCc(c.value,b))};f=OCc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.phones_[a]||NCc};f.getFieldLength=function(){return this.phones_.length};var PCc=new OCc([],null);var QCc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};f=QCc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new WR(this.photo_.metadata,this.edgeCollection_):ACc);return this.metadata_};f.hasMetaData=function(){return"metadata"in this.photo_};f.getUrl=function(){return this.photo_.url||""};f.hasUrl=function(){return!!this.getUrl()};var RCc=new QCc({},null);var SCc=function(a,b){this.photos_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new QCc(c,b))};f=SCc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.photos_[a]||RCc};f.getFieldLength=function(){return this.photos_.length};var TCc=new SCc([],null);var YR=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_=void 0===e?0:e;this.photo_=this.phone_=null};
YR.prototype.toString=function(){if(null==this.text_){if(this.contactLabel_){var a=this.contactLabel_.extendedData&&this.contactLabel_.extendedData.contactPreferences?this.contactLabel_.extendedData.contactPreferences.length:0;a=1==a?"(1 contact)":"("+a+" contacts)";a=this.getName().getValue()+" "+a}else a=this.person_||this.googleGroup_?QMa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};YR.prototype.hasName=function(){return!!this.getName()};
YR.prototype.getName=function(){if(!this.name_){a:{var a=VMa(this);if(a.names_.length){for(var b=k(JCc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=k(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new HCc(e);break a}}a=new HCc(a.names_[0])}else a=ICc}this.name_=a}return this.name_};
var VMa=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 KCc(b,a.edgeCollection_):LCc}return a.nameRepeated_};f=YR.prototype;f.hasEmail=function(){return!!this.getEmail().getField(0).getValue()};
f.getEmail=function(){if(!this.email_){var a=null;this.person_?a=this.person_.email:this.googleGroup_?a=this.googleGroup_.emails:this.contactLabel_&&(a=[{value:RMa(this.contactLabel_)}]);this.email_=a?new DCc(a,this.edgeCollection_):ECc}return this.email_};f.hasPhone=function(){return!!this.getPhone().getField(0).getValue()};f.getPhone=function(){if(!this.phone_){var a;this.person_?a=this.person_.phone:this.googleGroup_&&(a=this.googleGroup_.phones);this.phone_=a?new OCc(a,this.edgeCollection_):PCc}return this.phone_};
f.hasPhoto=function(){return!!this.getPhoto().getField(0).getUrl()};f.getPhoto=function(){if(!this.photo_){var a;this.person_&&(a=this.person_.photo);this.photo_=a?new SCc(a,this.edgeCollection_):TCc}return this.photo_};f.getAddress=function(){return null};f.getStatus=function(){return null};f.hasStatus=function(){return!!this.getStatus()};f.hasAttribute=function(a){return!!this.getAttribute(a)};f.getAttribute=function(){return null};f.getLocation=function(){return null};f.getDisplayName=function(){return null};
f.getRelation=function(){return null};f.getEvent=function(){return null};var QMa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},UCc=new YR(null,null,null,null);var VCc=function(){this.keyToIndex_=new Map},WCc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};VCc.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(this.getKey_(a,b)):null};VCc.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(this.getKey_(a,b),c)};
VCc.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(this.getKey_(a,b))};VCc.prototype.getKey_=function(a,b){return a+"="+b};var TMa=function(a){this.evergreenProfile_=a?new YR(a,null,null,null):UCc};TMa.prototype.toString=function(){return""};var XCc=new TMa(null);var YCc=new vCc(!0,null),ZR=function(a){this.edgeIndexResolver_=new VCc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=UMa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};ZR.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||XCc};var zCc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};ZR.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
ZR.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[YCc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,WCc(this.edgeIndexResolver_,a,[b]).map(function(d){return new vCc(!1,d)}));return this.sourcesCache_.get(c)};var ZCc=new ZR(null);var $Cc=function(a,b,c){a=void 0===a?null:a;b=void 0===b?0:b;c=void 0===c?!1:c;this.person_=a&&a.person||null;this.googleGroup_=a&&a.googleGroup||null;this.contactLabel_=a&&a.contactGroup||null;this.edgeCollection_=new ZR(this.person_);this.emailIndex_=b;this.profile_=new YR(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()};U($Cc,Lzc);f=$Cc.prototype;
f.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};f.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=uCc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=PMa(a.sourceIds);a=new sCc(a.personId||"",b)}else a=tCc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=bp("id.id",a)||"",a=new sCc("",b)):a=tCc:a=tCc;this.allIds_=a}return this.allIds_};f.getId=function(){return this.getAllIds_().contactId};
f.getName=function(){null===this.name_&&(this.name_=WMa(this.profile_,function(a){return!!a&&!xCc(a)}),null===this.name_&&(this.name_=aDc(this,WMa)));return this.name_};f.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};f.getPhoneNumber=function(){null===this.phone_&&(this.phone_=XMa(this.profile_,function(a){return!!a&&!xCc(a)}),null===this.phone_&&(this.phone_=aDc(this,XMa)));return this.phone_};
f.getType=function(){var a=this.profile_;return a.contactLabel_?"cl":a.googleGroup_?"li":!a.hasEmail()&&a.hasPhone()?"pt":"ct"};f.getPriority=function(){return 0};f.getPhotoUrl=function(){null===this.photoUrl_&&(this.photoUrl_=YMa(this.profile_,function(a){return!!a&&!xCc(a)}),null===this.photoUrl_&&(this.photoUrl_=aDc(this,YMa)));return this.photoUrl_};f.getLoggingId=function(){return this.getAllIds_().loggingId};
var aDc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<yCc(c).length;d++){var e=c.getCause(d);e=a.edgeCollection_.get(e).evergreenProfile_;e=b(e);if(null!==e)return e}for(d=0;d<wCc(c).length;d++)if(e=c.getSource(d),null!==e.edgeIndex_&&(e=a.edgeCollection_.get(e.edgeIndex_||0).evergreenProfile_,e=b(e),null!==e))return e;return""},bDc=function(a,b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(r){return new $Cc(r,void 0,!0)});b=new Set;var d=
[];a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=bp("person.email",e)||bp("googleGroup.emails",e)||[];if(c||g&&g.length)for(var h=0;h<g.length;h++){var m=(bp("value",g[h])||"").trim().toLowerCase();if(c){if(b.has(m))continue;b.add(m)}d.push(new $Cc(e,h))}else d.push(new $Cc(e))}return d};var cDc=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z){Q=void 0===Q?new BR:Q;Z=void 0===Z?!1:Z;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=g||"contact_store_336195648";this.affinityType=h;this.delegatorId=m;this.timeoutMs=r;this.onAuthError=v?v:function(){};this.autocompletePageSize=y;this.rankedTargetsPageSize=A;this.peopleContainerMask=G.split(/[\s,]+/).filter(function(Y){return!!Y});this.peopleFieldMask=N;this.experiments=Q;this.includeOnlyNames=
Z};cDc.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};var dDc=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};U(dDc,Error);var $R=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new MR(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")};f=$R.prototype;f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.isPending=function(){return 1==this.state_};f.getQuery=function(){return this.query_};
f.setQuery=function(a){this.query_=a};f.cancel=function(){switch(this.state_){case 1:this.promise_.cancel();break;case 0:this.state_=2,this.promise_=f3b(new DB),eDc(this,null,11)}};
f.send=function(a){var b=this;if(0!==this.state_)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&&!GMa()&&(c.params=c.params||{},c.params.key=d);c.headers=HMa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=p3b(i3b([a,y3b(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)})};f.onResponse_=function(a){if("TIMEOUT"===a)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{eDc(this,c,0)}finally{this.metrics_.stop(this.metric_,"total"),this.metrics_.status(this.metric_,0)}}}};
f.onError_=function(a){var b=!1,c=2,d=1;try{if("TIMEOUT"===a)c=4,d=10;else if(a instanceof DB)c=1,d=11;else if(a instanceof dDc)c=a.code,d=eAc(c);else if(a&&"object"===typeof a){var e=bp("result.error.code",a)||a.status,g=e;g=Number(g);c=bAc.has(g)?bAc.get(g):200<=g&&300>g?0:400<=g&&500>g?9:500<=g&&600>g?13:2;d=eAc(c);b=401==e||403==e;2===c&&this.metrics_.logError("Bad status code (HTTP="+e+")",a)}else c=2,d=1}finally{this.metrics_.status(this.metric_,c),eDc(this,null,d,b)}};
var eDc=function(a,b,c,d){if(void 0===d?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 fDc=function(a,b,c){var d=(new dp).setEventType(2).setRpcType(1).setToken(b);$R.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};U(fDc,$R);
fDc.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}};
fDc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new dDc(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new dDc(8,"RequestThrottled");if(b.containsPartialResults)throw new dDc(8,"ContainsPartialResults");}return bDc(a.results||[],this.config.includeOnlyNames)};var gDc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new YR(this.person_,null,null,this.edgeCollection_):UCc};f=gDc.prototype;f.toString=function(){return""};f.getAllIds_=function(){this.allIds_||(this.allIds_=uCc(this.person_));return this.allIds_};f.getId=function(){return this.getAllIds_().contactId||this.getAllIds_().profileId||this.getAllIds_().syntheticId};f.hasAttribute=function(a){return!!this.getAttribute(a)};f.getAttribute=function(){return null};
f.getProfile=function(){return this.profile_};f.getAffinity=function(){return null};f.hasAffinity=function(){return!!this.getAffinity()};f.getDeleted=function(){return!1};var hDc=new gDc(null,ZCc);var iDc=function(a){a=void 0===a?null:a;this.edgeCollection_=new ZR(a);this.contact_=a?new gDc(a,this.edgeCollection_):hDc};f=iDc.prototype;f.toString=function(){return""};f.getId=function(){return this.contact_.getId()};f.getAttribute=function(a){return this.contact_.getAttribute(a)};f.hasAttribute=function(a){return this.contact_.hasAttribute(a)};f.getProfile=function(){return this.contact_.getProfile()};f.getAffinity=function(){return this.contact_.getAffinity()};f.hasAffinity=function(){return this.contact_.hasAffinity()};
f.getDeleted=function(){return this.contact_.getDeleted()};var jDc=function(a,b,c){$R.call(this,a,(new dp).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};U(jDc,$R);
jDc.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}};jDc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new iDc(b.person)})};var aS=function(a,b,c,d){$R.call(this,a,MMa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=kDc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};U(aS,$R);
aS.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}};
aS.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=k(e.personId);for(var g=e.next();!g.done;g=e.next())(g=c[g.value])&&d.push(new iDc(g))});return d};var kDc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var lDc=function(a,b){$R.call(this,a,(new dp).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_=[];Vj(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};U(lDc,$R);
lDc.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}};lDc.prototype.processResponse=function(a){return bDc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};f=ZMa.prototype;f.getQuery=function(){return this.query_};f.setQuery=function(a){this.query_=a};f.getError=function(){return this.error_};f.setError=function(a){this.error_=a};f.getConfiguration=function(){return this.config_};f.setConfiguration=function(a){this.config_=a};f.getUserData=function(){return this.userData_};f.setUserData=function(a){this.userData_=a};var mDc=new Map([[1,4],[2,2],[3,1],[4,7]]),pDc=function(a,b){iB.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 MR((new dp).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?nDc(c,d):oDc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);oDc(c,5)})};
U(pDc,iB);var nDc=function(a,b){b&&b.request?(LMa(),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 qDc(a,d,e)})})):oDc(a,9)};pDc.prototype.disposeInternal=function(){for(var a=k(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())mCc(this,b.value)};
var oDc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},mCc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(rDc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},sDc=function(a,b,c){a.gapiFailed_?c.cancel():(OMa(a,b).push(c),qDc(a,b,c))},qDc=function(a,b,c){a.gapiClient_&&p3b(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);0<=e&&d.splice(e,1)}})},OMa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},rDc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};pDc.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,m){return c(h,g,b,a,m)},g=d?new fDc(this.config_,d,e):new lDc(this.config_,e);sDc(this,b,g);return g};
pDc.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new MR((new dp).setEventType(2).setRpcType(4)),12),tDc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(y,A){if(A)a.setResponse(hAc(A,h));else{A=new ZMa(b);A.contacts_=y;y=a.setResponse;var G=new gAc(h);G.queryResponse_=A;G.errorCode_=A.getError();y.call(a,G)}},e=this.config_.setTimeout(uDc(a));try{var g=b.emailAddresses||[];if(g.length)var h=new aS(this.config_,1,g,d);else{var m=b.contactIds||
[];if(m.length)h=new aS(this.config_,3,m,d);else{var r=b.profileIds||[];if(r.length)h=new jDc(this.config_,r,d);else{var v=b.syntheticIds||[];if(v.length)h=new aS(this.config_,5,v,d);else return this.metrics_.status(new MR((new dp).setEventType(2)),12),tDc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);sDc(this,c,h);return h};var tDc=function(a){var b=new Nzc(function(){return a.setResponse(hAc(5,b))});b.setQuery(a);return b};var vDc=function(a,b,c,d){hp.call(this,a,b,c,d)};U(vDc,hp);vDc.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(lt(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};vDc.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new tAc([b.mutateResponse_],"g"),this.dispatchEvent(a)}};var wDc=function(a,b,c){b=b||new oCc(!0,!0);hp.call(this,a,b,"personal",c)};U(wDc,vDc);wDc.prototype.configure=function(a,b){vDc.prototype.configure.call(this,a,b)};var xDc=function(){throw Error("Jd");};var yDc={},zDc={},ADc={},BDc={},CDc={},bS=function(){throw Error("Ld");};bS.prototype.contentDir=null;bS.prototype.getContent=function(){return this.content};bS.prototype.toString=function(){return this.content};bS.prototype.toSafeHtml=function(){if(this.contentKind!==yDc)throw Error("Md");return Mg(this.toString())};var DDc=function(){bS.call(this)};nt(DDc,bS);DDc.prototype.contentKind=yDc;var EDc=function(){bS.call(this)};nt(EDc,bS);EDc.prototype.contentKind=zDc;EDc.prototype.contentDir=1;var cS=function(a,b){return null!=a&&a.contentKind===b};var FDc=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},ar=function(a){return cS(a,yDc)?a:a instanceof Lg?Xq(Og(a).toString()):a instanceof Lg?Xq(Og(a).toString()):Xq(String(String(a)).replace(GDc,HDc),FDc(a))},Xq=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));void 0!==d&&(c.contentDir=d);return c}}(DDc),dS=function(a){if(null==a)throw Error("Nd");return a},eS=function(a){function b(c){this.content=
c}b.prototype=a.prototype;return function(c,d){c=String(c);if(!c)return"";c=new b(c);void 0!==d&&(c.contentDir=d);return c}}(DDc),IDc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return(c=String(c))?new b(c):""}}(EDc),br=function(a){return cS(a,yDc)?a:Xq(JDc(a,KDc),FDc(a))},LDc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),JDc=function(a,b){if(!b)return String(a).replace(MDc,"").replace(NDc,"&lt;");a=String(a).replace(/\[/g,
"&#91;");var c=[],d=[];a=a.replace(MDc,function(g,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var m=c.length,r="</",v="";if("/"!=g.charAt(1)){r="<";for(var y;y=ODc.exec(g);)if(y[1]&&"dir"==y[1].toLowerCase()){if(g=y[2]){if("'"==g.charAt(0)||'"'==g.charAt(0))g=g.substr(1,g.length-2);g=g.toLowerCase();if("ltr"==g||"rtl"==g||"auto"==g)v=' dir="'+g+'"'}break}ODc.lastIndex=0}c[m]=r+h+">";d[m]=v;return"["+m+"]"}return""});a=String(a).replace(PDc,HDc);var e=QDc(c);a=a.replace(/\[(\d+)\]/g,function(g,
h){return d[h]&&c[h]?c[h].substr(0,c[h].length-1)+d[h]+">":c[h]});return a+e},RDc=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},QDc=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c];"/"==e.charAt(1)?(e=b.lastIndexOf(e),0>e?a[c]="":(a[c]=b.slice(e).reverse().join(""),b.length=e)):"<li>"==e&&0>b.lastIndexOf("</ol>")&&0>b.lastIndexOf("</ul>")?a[c]="":LDc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},$q=function(a){return cS(a,yDc)?String(JDc(a.getContent())).replace(PDc,
HDc):String(a).replace(GDc,HDc)},VDc=function(a){cS(a,zDc)||cS(a,ADc)?a=fS(a):a instanceof dc?a=fS(ec(a)):a instanceof dc?a=fS(ec(a)):a instanceof Ev?a=fS(Jh(a).toString()):a instanceof Ev?a=fS(Jh(a).toString()):(a=String(a),a=SDc.test(a)?a.replace(TDc,UDc):"about:invalid#zSoyz");return a},XDc=function(a){cS(a,zDc)||cS(a,ADc)?a=fS(a):a instanceof dc?a=fS(ec(a)):a instanceof dc?a=fS(ec(a)):a instanceof Ev?a=fS(Jh(a).toString()):a instanceof Ev?a=fS(Jh(a).toString()):(a=String(a),a=WDc.test(a)?a.replace(TDc,
UDc):"about:invalid#zSoyz");return a},gS=function(a){cS(a,CDc)?a=RDc(a.getContent()):null==a?a="":a instanceof Fv?a=RDc(CTb(a)):a instanceof Fv?a=RDc(CTb(a)):a instanceof Gv?a=RDc(ETb(a)):a instanceof Gv?a=RDc(ETb(a)):(a=String(a),a=YDc.test(a)?a:"zSoyz");return a},ZDc={"\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;"},HDc=function(a){return ZDc[a]},$Dc={"\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"},UDc=function(a){return $Dc[a]},GDc=/[\x00\x22\x26\x27\x3c\x3e]/g,PDc=/[\x00\x22\x27\x3c\x3e]/g,TDc=/[\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,YDc=/^(?!-*(?: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)\((?:[-\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)\([-\u0020\t,+.!#%_0-9a-zA-Z]+\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|!important)(?:\s*[,\u0020]\s*|$))*$/i,
SDc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,WDc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,aEc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,fS=function(a){return String(a).replace(TDc,UDc)},MDc=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,NDc=/</g,KDc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},
ODc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var $Ma={};var hS=function(a,b,c){fp.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;gp(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_={}};nt(hS,fp);f=hS.prototype;f.maxMatches_=10;f.getMatcher=function(){return this.matcher_};f.setMatcher=function(a){this.matcher_=a};f.getToken=function(){return this.token_};
f.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("number"===typeof a.row){a=a.row;var d=this.rows_[bEc(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":cEc(this);break;case "dismiss":dEc(this)}};
f.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,lt(this.matchListener_,this)),cEc(this))};f.getTarget=function(){return this.target_};f.setTarget=function(a){this.target_=a};f.isOpen=function(){return this.renderer_.isVisible()};var eEc=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(-1==c)c=a.firstRowId_;else break;if(a.hiliteId(c))break}};
hS.prototype.hiliteId=function(a){var b=bEc(this,a),c=this.rows_[b];return c&&this.matcher_.isRowDisabled&&this.matcher_.isRowDisabled(c)?!1:(this.hiliteId_=a,this.renderer_.hiliteId(a),-1!=b)};
hS.prototype.selectHilited=function(){var a=bEc(this,this.hiliteId_);if(-1!=a){var b=this.rows_[a],c=this.selectionHandler_;if(c.activeElement_){var d=b.toString();if(c.multi_){var e=fEc(c,c.getValue(),c.getCursorPosition()),g=gEc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||Ok(g[e-1])||(d=" "+d);e==g.length-1&&(d+=" ");if(d!=g[e]){g[e]=d;d=c.activeElement_;(qt||Gq)&&d.blur();d.value=g.join("");for(var h=0,m=0;m<=e;m++)h+=
g[m].length;d.focus();e=h;g=c.activeElement_;hEc(g)&&(g.selectionStart=e);g=c.activeElement_;hEc(g)&&(g.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};
hS.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 dEc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(lt(a.dismiss,a),100))};
hS.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var cEc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(lt(a.immediatelyCancelDelayedDismiss_,a),10)};hS.prototype.disposeInternal=function(){hS.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
hS.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
hS.prototype.renderRows=function(a,b){var c="object"==Xa(b)&&b;b=(c?c.getPreserveHilited():b)?bEc(this,this.hiliteId_):-1;this.firstRowId_+=this.rows_.length;this.rows_=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.firstRowId_+e,data:a[e]});a=null;this.target_&&(a=this.inputToAnchorMap_[xa(this.target_)]||this.target_);this.renderer_.anchorElement_=a;this.renderer_.renderRows(d,this.token_,this.target_);a=!0;c&&void 0!==c.getAutoHilite()&&(a=c.getAutoHilite());this.hiliteId_=-1;(a||0<=b)&&0!=
d.length&&this.token_&&(0<=b?this.hiliteId(this.firstRowId_+b):eEc(this));this.dispatchEvent("suggestionsupdate")};var bEc=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};hS.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};hS.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){bc(this.inputToAnchorMap_,xa(c))},this)};
hS.prototype.update=function(a){this.selectionHandler_.update(a)};var iEc=function(a,b){var c=0,d=0;hEc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},hEc=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var lEc=function(a,b,c,d,e,g){if(Iq&&e)return jEc(a);if(e&&!d)return!1;if(!qt){"number"===typeof b&&(b=kEc(b));var h=17==b||18==b||Iq&&91==b;if((!c||Iq)&&h||Iq&&16==b&&(d||g))return!1}if((rt||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}if(Gq&&d&&b==a)return!1;switch(a){case 13:return qt?g||e?!1:!(c&&d):!0;case 27:return!(rt||pt||qt)}return qt&&(d||e||g)?!1:jEc(a)},jEc=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(rt||pt)&&0==a)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:return qt;default:return!1}},kEc=function(a){if(qt)a=mEc(a);else if(Iq&&rt)switch(a){case 93:a=91}return a},mEc=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 nEc=function(a,b,c,d){lB.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};nt(nEc,lB);var oEc=function(a,b){fp.call(this);a&&this.attach(a,b)};nt(oEc,fp);f=oEc.prototype;f.element_=null;f.keyPressKey_=null;f.keyDownKey_=null;f.keyUpKey_=null;f.lastKey_=-1;f.keyCode_=-1;f.altKey_=!1;
var pEc={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},qEc={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},rEc=Iq&&qt;f=oEc.prototype;
f.handleKeyDown_=function(a){(rt||pt)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||Iq&&91==this.lastKey_&&!a.metaKey)&&this.resetState();-1==this.lastKey_&&(a.ctrlKey&&17!=a.keyCode?this.lastKey_=17:a.altKey&&18!=a.keyCode?this.lastKey_=18:a.metaKey&&91!=a.keyCode&&(this.lastKey_=91));lEc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=kEc(a.keyCode),rEc&&(this.altKey_=a.altKey)):this.handleEvent(a)};
f.resetState=function(){this.keyCode_=this.lastKey_=-1};f.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};
f.handleEvent=function(a){var b=a.event_,c=b.altKey;if(Gq&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(rt||pt)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&jEc(d)?b.charCode:0):("keypress"==a.type?(rEc&&(c=this.altKey_),b.keyCode==b.charCode?32>b.keyCode?(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),Iq&&63==e&&224==d&&(d=191));var g=d=kEc(d);d?63232<=
d&&d in pEc?g=pEc[d]:25==d&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in qEc&&(g=qEc[b.keyIdentifier]);if(!qt||"keypress"!=a.type||lEc(g,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.lastKey_,this.lastKey_=g,b=new nEc(g,e,a,b),b.altKey=c,this.dispatchEvent(b)};f.getElement=function(){return this.element_};
f.attach=function(a,b){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=gp(this.element_,"keypress",this,b);this.keyDownKey_=gp(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=gp(this.element_,"keyup",this.handleKeyup_,b,this)};f.detach=function(){this.keyPressKey_&&(qB(this.keyPressKey_),qB(this.keyDownKey_),qB(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
f.disposeInternal=function(){oEc.superClass_.disposeInternal.call(this);this.detach()};var iS=function(a,b,c,d){iB.call(this);d=d||150;this.multi_=null!=c?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_=0<d?new EB(d):null;this.eh_=new Mq(this);this.activateHandler_=new Mq(this);this.keyHandler_=new oEc;this.lastKeyCode_=-1};
nt(iS,iB);f=iS.prototype;f.activeElement_=null;f.lastValue_="";f.waitingForIme_=!1;f.rowJustSelected_=!1;f.getValue=function(){return this.activeElement_.value};f.setValue=function(a){this.activeElement_.value=a};f.getCursorPosition=function(){return iEc(this.activeElement_,!0)[0]};
f.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];zB(c)&&(DM(c,"combobox"),EM(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_),zB(c))){var d=tB(c);try{var e=d&&d.activeElement;var g=e&&e.nodeName?e:null}catch(h){g=null}g==c&&sEc(this,c)}}};
f.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];zB(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_)}};
f.disposeInternal=function(){iS.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();Eh(this.timer_)};
var uEc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){eEc(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}}tEc(a,b)},tEc=function(a,b){var c=a.multi_&&b.charCode&&-1!=a.separators_.indexOf(String.fromCharCode(b.charCode));c&&a.update();
c&&a.ac_.selectHilited()&&b.preventDefault()};iS.prototype.handleKeyUp=function(){return!1};iS.prototype.handleFocus=function(a){sEc(this,a.target||null)};
var sEc=function(a,b){a.activateHandler_.removeAll();a.ac_&&cEc(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_),Gq&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};f=iS.prototype;
f.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_),Gq&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&vEc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&dEc(this.ac_))};
f.onTick_=function(){this.update()};f.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};f.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&uEc(this,a)};f.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&vEc(this)};f.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&vEc(this)};f.onMouseDown_=function(){};
var vEc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};iS.prototype.onIeKeyPress_=function(a){tEc(this,a)};
iS.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=gEc(this,b)[fEc(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 fEc=function(a,b,c){a=gEc(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},gEc=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=0,g=!1;e<b.length;e++)a.literals_&&-1!=a.literals_.indexOf(b[e])?(g||(c.push(d.join("")),d.length=0),d.push(b[e]),g=!g):g||-1==a.separators_.indexOf(b[e])?d.push(b[e]):(d.push(b[e]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};var wEc=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},xEc=function(a){return a.classList?a.classList:wEc(a).match(/\S+/g)||[]},yEc=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},zEc=function(a,b){return a.classList?a.classList.contains(b):pa(xEc(a),b)},AEc=function(a,b){if(a.classList)a.classList.add(b);else if(!zEc(a,b)){var c=wEc(a);yEc(a,c+(0<c.length?" "+b:b))}},BEc=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){AEc(a,e)});else{var c={};Array.prototype.forEach.call(xEc(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=0<b.length?" "+d:d;yEc(a,b)}},CEc=function(a,b){a.classList?a.classList.remove(b):zEc(a,b)&&yEc(a,Array.prototype.filter.call(xEc(a),function(c){return c!=b}).join(" "))},DEc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){CEc(a,c)}):yEc(a,Array.prototype.filter.call(xEc(a),function(c){return!pa(b,c)}).join(" "))};var EEc=function(a,b){if(b&&a in b)return a;var c=rt?"Webkit":qt?"Moz":Gq?"ms":null;return c?(c=c.toLowerCase(),a=c+ii(a),void 0===b||a in b?a:null):null};var jS=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};f=jS.prototype;f.getWidth=function(){return this.right-this.left};f.getHeight=function(){return this.bottom-this.top};f.clone=function(){return new jS(this.top,this.right,this.bottom,this.left)};f.contains=function(a){return this&&a?a instanceof jS?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};
f.expand=function(a,b,c,d){wa(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};f.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};
f.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};f.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};
f.translate=function(a,b){a instanceof Qq?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};f.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var kS=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};kS.prototype.clone=function(){return new kS(this.left,this.top,this.width,this.height)};var wlb=function(a){return new kS(a.left,a.top,a.right-a.left,a.bottom-a.top)};
kS.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 FEc=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 kS(c,e,d-c,a-e)}return null};
f=kS.prototype;f.contains=function(a){return a instanceof Qq?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};f.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)};f.getSize=function(){return new rB(this.width,this.height)};
f.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};f.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};f.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};
f.translate=function(a,b){a instanceof Qq?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};f.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var lS=function(a,b){var c=tB(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},hq=function(a,b){return lS(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},Tq=function(a,b,c){if(b instanceof Qq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=mS(d,!1);a.style.top=mS(b,!1)},GEc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},elb=function(a){if(Gq&&!(8<=
Number(st)))return a.offsetParent;var b=tB(a),c=hq(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=hq(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null},Pq=function(a){for(var b=new jS(0,Infinity,Infinity,0),c=ip(a),d=c.document_.body,e=c.document_.documentElement,g=D2b(c.document_);a=
elb(a);)if(!(Gq&&0==a.clientWidth||rt&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=hq(a,"overflow")){var h=nS(a),m=new Qq(a.clientLeft,a.clientTop);h.x+=m.x;h.y+=m.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=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=
b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},flb=function(a,b){b=b||D2b(document);var c=b||D2b(document);var d=nS(a),e=nS(c);if(!Gq||9<=Number(st)){h=lS(c,"borderLeftWidth");var g=lS(c,"borderRightWidth");m=lS(c,"borderTopWidth");r=lS(c,"borderBottomWidth");g=new jS(parseFloat(m),parseFloat(g),parseFloat(r),parseFloat(h))}else{var h=HEc(c,"borderLeft");g=HEc(c,"borderRight");var m=HEc(c,"borderTop"),r=HEc(c,"borderBottom");g=new jS(m,g,r,h)}c==D2b(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!Gq||10<=Number(st)||(h+=g.left,d+=g.top)):(h=d.x-e.x-g.left,d=d.y-e.y-g.top);a=IEc(a);e=c.clientHeight-a.height;g=c.scrollLeft;m=c.scrollTop;g+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));m+=Math.min(d,Math.max(d-e,0));c=new Qq(g,m);b.scrollLeft=c.x;b.scrollTop=c.y},nS=function(a){var b=tB(a),c=new Qq(0,0);var d=b?tB(b):document;d=!Gq||9<=Number(st)||C2b(ip(d).document_)?d.documentElement:d.body;if(a==d)return c;a=GEc(a);b=wB(ip(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},xlb=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new Qq(0,0),g=xB(tB(d));if(oNb(g,"parent")){var h=d;do{if(g==c)var m=nS(h);else m=GEc(h),m=new Qq(m.left,m.top);e.x+=m.x;e.y+=m.y}while(g&&g!=c&&g!=g.parent&&(h=g.frameElement)&&(g=g.parent))}d=Rq(e,nS(d));!Gq||9<=Number(st)||C2b(b.document_)||(d=Rq(d,wB(b.document_)));a.left+=d.x;a.top+=d.y}},JEc=function(a,b,c){if(b instanceof rB)c=b.height,b=b.width;else if(void 0==c)throw Error("Qd");a.style.width=mS(b,!0);a.style.height=
mS(c,!0)},mS=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},Sq=function(a){var b=IEc;if("none"!=hq(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a},IEc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=rt&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=GEc(a),new rB(a.right-a.left,a.bottom-a.top)):new rB(b,c)},Oq=
function(a){var b=nS(a);a=Sq(a);return new kS(b.x,b.y,a.width,a.height)},KEc=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="+100*Number(b)+")")},oS=function(a,b){a.style.display=b?"":"none"},pS=function(a){return"rtl"==hq(a,"direction")},LEc=qt?"MozUserSelect":rt||pt?"WebkitUserSelect":null,MEc=function(a){var b=a.getElementsByTagName("*");if(LEc){var c="none";a.style&&(a.style[LEc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[LEc]=c)}}else if(Gq&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},Clb=function(a,b){a=a.style;qt?a.MozBoxSizing="border-box":rt?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},NEc=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=
c;a.runtimeStyle.left=d;return+b},OEc=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?NEc(a,b):0},PEc=function(a){if(Gq){var b=OEc(a,"marginLeft"),c=OEc(a,"marginRight"),d=OEc(a,"marginTop");a=OEc(a,"marginBottom");return new jS(d,c,a,b)}b=lS(a,"marginLeft");c=lS(a,"marginRight");d=lS(a,"marginTop");a=lS(a,"marginBottom");return new jS(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},QEc={thin:2,medium:4,thick:6},HEc=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+
"Style"]:null))return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in QEc?QEc[b]:NEc(a,b)};var REc=function(){if(rNb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(ca()))?a[1]:"0"}return Iq?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(ca()))?a[0].replace(/_/g,"."):"10"):uNb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(ca()))?a[1]:""):vNb||wNb||xNb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(ca()))?a[1].replace(/_/g,"."):""):""}();var qS=function(a){return(a=a.exec(ca()))?a[1]:""},SEc=function(){if(HNb)return qS(/Firefox\/([0-9.]+)/);if(Gq||pt||pNb)return ENb;if(LNb){if(ma()||naa()){var a=qS(/CriOS\/([0-9.]+)/);if(a)return a}return qS(/Chrome\/([0-9.]+)/)}if(MNb&&!ma())return qS(/Version\/([0-9.]+)/);if(INb||JNb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(ca()))return a[1]+"."+a[2]}else if(KNb)return(a=qS(/Android\s+([0-9.]+)/))?a:qS(/Version\/([0-9.]+)/);return""}();var vlb=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=hq(a,"position")){var c=nS(a);if(!b){b=pS(a);var d;if(d=b){d=MNb&&0<=gNb(SEc,10);var e;if(e=yNb)e=0<=gNb(REc,10);var g=LNb&&0<=gNb(SEc,85);d=qt||d||e||g}b=d?-a.scrollLeft:b&&!Pp&&"visible"!=hq(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=Rq(c,new Qq(b,a.scrollTop))}}}return c||new Qq},zlb=function(a,b,c,d,e,g){a=a.clone();b=b.clone();var h=0;if(d||0!=c)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(g){if(e){h=a;c=b;d=0;65==(g&65)&&(h.x<e.left||h.x>=e.right)&&(g&=-2);132==(g&132)&&(h.y<e.top||h.y>=e.bottom)&&(g&=-5);h.x<e.left&&g&1&&(h.x=e.left,d|=1);if(g&16){var m=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,m+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}h.x+c.width>e.right&&g&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);g&2&&(d|=(h.x<e.left?16:0)|
(h.x+c.width>e.right?32:0));h.y<e.top&&g&4&&(h.y=e.top,d|=2);g&32&&(m=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,m+c.height-e.top),c.height=Math.max(c.height,0),d|=8));h.y+c.height>e.bottom&&g&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);g&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 kS(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}},ylb=function(a,b){return(b&8&&pS(a)?b^4:b)&
-9};var Jq=function(){};Jq.instance_=void 0;Jq.getInstance=function(){return Jq.instance_?Jq.instance_:Jq.instance_=new Jq};Jq.prototype.nextId_=0;Jq.prototype.idPrefix_="";Jq.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Fq=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var rS=function(a,b,c,d){fp.call(this);this.parent_=a||document.body;this.dom_=ip(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_=null!=d?d:!0;this.highlightAllTokens_=!1;this.rightAlign_=!!c};nt(rS,fp);rS.prototype.getElement=function(){return this.element_};
rS.prototype.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];TEc(this)};rS.prototype.dismiss=function(){this.visible_&&(this.visible_=!1,UEc(this,!1),oS(this.element_,!1))};rS.prototype.show=function(){this.visible_||(this.visible_=!0,UEc(this,!0),oS(this.element_,!0))};
var UEc=function(a,b){a.target_&&(EM(a.target_,"haspopup",b),EM(a.element_,"expanded",b),EM(a.target_,"expanded",b),b?EM(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),FM(a.target_,null)))};rS.prototype.isVisible=function(){return this.visible_};
var VEc=function(a,b){var c=0<=b&&b<a.rows_.length?a.rows_[b]:void 0,d=0<=b&&b<a.rowDivs_.length?a.rowDivs_[b]:void 0;a.dispatchEvent({type:"rowhilite",rowNode:d,row:c?c.data:null})&&(0<=a.hilitedRow_&&DEc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(BEc(d,["ac-active","active"]),a.target_&&FM(a.target_,d),flb(d,a.element_)))};rS.prototype.hiliteId=function(a){if(-1==a)VEc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){VEc(this,b);break}};
var WEc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;BEc(b,hi(a.className).split(" "));DM(b,"listbox");b.id=Fq(Jq.getInstance());a.dom_.appendChild(a.parent_,b);gp(b,"click",a.handleClick_,!1,a);gp(b,"mousedown",a.handleMouseDown_,!1,a);gp(b,"mouseover",a.handleMouseOver_,!1,a)}},TEc=function(a){WEc(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:Fq(Jq.getInstance())});DM(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):K2b(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,XEc(this,d,c));AEc(d,
"ac-row");this.rowDivs_.push(d);b=d;this.dom_.appendChild(this.element_,b)},a);0==a.rows_.length?a.dismiss():(a.show(),a.reposition(),MEc(a.element_))};
rS.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=vlb(c),g=Oq(a),h=Pq(a);h&&g.intersection(wlb(h));xlb(g,ip(a),ip(c));a=ylb(a,b);b=g.left;a&4?b+=g.width:a&2&&(b+=g.width/2);a=new Qq(b,g.top+(a&1?g.height:0));a=Rq(a,e);if(g=Pq(c))g.top-=e.y,g.right-=e.x,g.bottom-=e.y,g.left-=e.x;e=a.clone();a=ylb(c,d);d=Sq(c);b=d.clone();e=zlb(e,b,a,null,g,65);e.status&496||(g=e.rect,Tq(c,new Qq(g.left,
g.top)),b=e.rect.getSize(),Blb(d,b)||Clb(c,b))}};rS.prototype.getTarget=function(){return this.target_||null};rS.prototype.disposeInternal=function(){this.element_&&(pB(this.element_,"click",this.handleClick_,!1,this),pB(this.element_,"mousedown",this.handleMouseDown_,!1,this),pB(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);Eh(this.animation_);this.parent_=null;rS.superClass_.disposeInternal.call(this)};
var XEc=function(a,b,c){if(a.highlightAllTokens_||!a.wasHighlightedAtLeastOnce_)if(3==b.nodeType){var d=null;Array.isArray(c)&&1<c.length&&!a.highlightAllTokens_&&(d=c.slice(1));c=YEc(a,c);if(0!=c.length){var e=b.nodeValue,g=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,m=g.exec(e),r=0;m;)r++,c.push(e.substring(h,m.index)),c.push(e.substring(m.index,g.lastIndex)),h=g.lastIndex,m=g.exec(e);c.push(e.substring(h));if(1<c.length){d=a.highlightAllTokens_?r:1;for(e=0;e<d;e++)g=2*e,b.nodeValue=c[g],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[g+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;c=c.slice(2*d);b.nodeValue=c.join("");a.wasHighlightedAtLeastOnce_=!0}else d&&XEc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,XEc(a,b,c),b=d},YEc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!Ok(Nk(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(In).join("|"):(c=RTb(b),c=In(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?In(b[0]):"":/^\W/.test(b)||(c=In(b));return c},ZEc=function(a,b){for(;b&&b!=a.element_&&!zEc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};rS.prototype.handleClick_=function(a){var b=ZEc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};rS.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
rS.prototype.handleMouseOver_=function(a){a=ZEc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var sS=function(a,b,c,d,e,g,h,m,r,v){g=g||new iS(",;",'"');h=new rS(h||null,r||this,v);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;hS.call(this,this,h,g);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!m};nt(sS,hS);
var aFc=function(a,b,c,d,e,g,h){b=new sS(null,b,void 0,g,c,d,e,void 0,void 0,h);iD(a);lt($Ec,null,b,!0);throw Error("Kd");},bFc=function(a,b,c,d,e,g,h){b=new sS(null,b,void 0,g,c,d,e,void 0,void 0,h);c=$Ec;e=a.getClientInfo();d=(g=Vj(e,10)||Vj(a.getExperiments(),5,!0))?new XBc(void 0,VBc(a)):new UR(void 0,VBc(a));h=Er(new bBc(a,1));var m=a.getUserInfo().getEnvType()||1;var r=mDc.get(m)||4;r=IMa("people-pa",void 0===r?0:r);m=4===m?V(a.getClientInfo(),2)||"":V(a.getClientInfo(),1)||"";var v=V(a.getClientInfo(),
4),y=V(a.getClientInfo(),5),A=V(a.getClientInfo(),6)||"",G=a.getClientInfo().getAffinityType()||"",N=X(a.getUserInfo(),2),Q=a.getAuthErrorHandler(),Z=Vh(a.getClientInfo(),8,3E4),Y=Vj(a.getClientInfo(),17,!1);h=new cDc(h,r,m,v,y,A,G,N,Z,Q,Vh(a.getClientInfo(),13,15),Vh(a.getClientInfo(),14,500),V(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),V(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),a.getExperiments(),
Y);a=new pDc(h,Kzc(a));h=new wDc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);g&&(a=new rCc(a,null,!!Vj(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},$Ec=function(a,b,c){b&&c.loadContactRows(nAc,function(){});cFc(a,c)};sS.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&Eh(this.contactStore_);sS.superClass_.disposeInternal.call(this)};
var cFc=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)};f=sS.prototype;f.savedQuery_=null;f.savedHandler_=null;f.inputHandler_=null;f.includeGroups_=!0;f.isRowDisabled=function(a){return!!a.rowDisabled};
f.requestMatchingRows=function(a,b,c){a={token:a,maxMatches:b,includeContacts:!0,includeGroups:this.includeGroups_,matchType:1,matchFieldList:lAc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};b=lt(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,
b)):(this.savedQuery_=a,this.savedHandler_=b);else{c=new Nzc;var d=[];this.filter_&&(d=this.filter_(d,a.token));a=mt(b,d,c,null,a);c.setResponse(a)}};f.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};f.renderRows=function(a,b){sS.superClass_.renderRows.call(this,a,b)};f.dismiss=function(){sS.superClass_.dismiss.call(this)};
f.renderRow=function(a,b,c){b=b={displayName:a.data.text,newSection:!!(a.data.flags&1)};a=b.displayName;b=b.newSection;(a=Xq('<div class="'+$q("goog-contacts-ui-autocomplete-name-nochat")+(b?" "+$q("goog-contacts-ui-autocomplete-new-section"):"")+'">'+ar(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=aNa(a),bNa(c,a))};f.selectHilited=function(){var a=bEc(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):sS.superClass_.selectHilited.call(this)};
f.fireSelectionEvent=function(a){this.dispatchEvent(new dFc(a))};var dFc=function(a){kB.call(this,"k");this.row=a};nt(dFc,kB);VMb("createAutoComplete",function(a,b,c,d,e,g,h,m,r,v){d&&(b=b+d+"/");b=xDc(iD(b));g&&b.loadContactRows(nAc,function(){});c=new sS(b,c,void 0,r,e,m,v,!0);c.attachInputs(z2b(document,a));return c});var tS=function(){this.eventHandler_=new Mq(this);tS.prototype.addInput=tS.prototype.addInput;tS.prototype.removeInput=tS.prototype.removeInput;tS.prototype.setTarget=tS.prototype.setTarget},eFc=function(a,b){var c=new tS;c.create(a,b);return c};f=tS.prototype;
f.create=function(a,b){a=z2b(document,a);this.acWidget_=b.contactStoreConfig?bFc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):aFc(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;"function"===typeof c&&this.eventHandler_.listen(this.acWidget_,"update",function(d){d.row&&c.call(ba,
d.target.getTarget())});this.addInput(a)};f.dispose=function(){Apa(this.acWidget_,this.eventHandler_)};f.setTarget=function(a){this.acWidget_.setTarget(a)};f.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)};f.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)};
f.acWidget_=null;ba._EmailAc_create=eFc;var fFc=function(a,b){return new mp("/",a,void 0,void 0,void 0,void 0,b)};mp.prototype.setLocale=function(){};var gFc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};gFc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
mp.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Sd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)hFc(this,this.acWrappers_[b]);this.focusedElement_&&(a=xa(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(ad(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)pB(a[b],"focus",this.onTargetFocus_,!1,this)};
var hFc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=lt(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(ad(b.pendingInputs.values()));b.emailac=eFc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};f=mp.prototype;
f.attachAutocomplete=function(a,b,c){a=z2b(document,a);var d=b||{};b=xa(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new gFc(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_?hFc(this,e):gp(a,"focus",this.onTargetFocus_,!1,this))};f.onTargetFocus_=function(a){this.focusedElement_=a.target;this.emailAcInitialized_||this.initAutocomplete()};
f.onCompleteCallback_=function(a){var b=this.onAcCompleteListeners_[xa(a)];b&&b(a)};f.detachAutocomplete=function(a){a=z2b(document,a);pB(a,"focus",this.onTargetFocus_,!1,this);var b=xa(a);delete this.onAcCompleteListeners_[b];var c=this.inputToAcWrapper_[b];c&&(c.emailac?c.emailac.removeInput(a):c.pendingInputs.delete(a),delete this.inputToAcWrapper_[b])};f.attachAutocompleteTo=function(a,b){this.initAutocomplete(b);this.attachAutocomplete(a,b)};VMb("goog.NewContactTools",mp);
VMb("goog.NewContactTools.create",fFc);mp.prototype.setLocale=mp.prototype.setLocale;mp.prototype.attachAutocompleteTo=mp.prototype.attachAutocompleteTo;mp.prototype.initAutocomplete=mp.prototype.initAutocomplete;mp.prototype.attachAutocomplete=mp.prototype.attachAutocomplete;mp.prototype.detachAutocomplete=mp.prototype.detachAutocomplete;var fNa=function(a){this.rows_=a||[]};fNa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var g=new RegExp("(^|\\W+)"+In(a),"i"),h=0;h<d.length&&e.length<b;h++){var m=d[h];String(m).match(g)&&e.push(m)}0==e.length&&(e=iFc(a,b,d));c(a,e)};
var eNa=function(a,b,c){return iFc(b,c,a.rows_)},iFc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var g=c[e],h=a.toLowerCase(),m=String(g).toLowerCase(),r=0;if(-1!=m.indexOf(h))r=parseInt((m.indexOf(h)/4).toString(),10);else for(var v=h.split(""),y=-1,A=10,G=0,N;N=v[G];G++)N=m.indexOf(N),N>y?(y=N-y-1,y>A-5&&(y=A-5),r+=y,y=N):(r+=A,A+=5);r<6*h.length&&d.push({str:g,score:r,index:e})}d.sort(function(Q,Z){var Y=Q.score-Z.score;return 0!=Y?Y:Q.index-Z.index});a=[];for(G=0;G<b&&G<d.length;G++)a.push(d[G].str);
return a};var uS=function(a,b,c,d,e){var g=this;this.activeSession=c;this.firstPartyAuthHelper=e;this.contactTools=null;this.subscription=new E.Subscription;this.acReadyDeferred=cm();if(a.gapi){var h=a.gapi;h.load("client",function(){h.config.update("googleapis.config/auth/useFirstPartyAuth",!0);h.config.update("googleapis.config/auth/useFirstPartyAuthV2",!0);var m="QA"===g.activeSession.getEnvironmentType();m&&h.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");
var r="0",v=/\/u\/(\d+)\//.exec(b.absUrl());v&&(r=v[1]);h.config.update("googleapis.config/sessionIndex",r);g.acReadyDeferred.resolve(void 0);g.contactTools=d.create(m,function(){Czc(g.firstPartyAuthHelper)});g.contactTools.initAutocomplete()})}};uS.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
uS.prototype.attach=function(a,b,c){var d=this,e=function(h,m){return gNa(h,m,c)},g=new E.Subscription;this.acReadyDeferred.promise.then(function(){d.contactTools&&(d.contactTools.attachAutocomplete(a,{ac2:!0,groups:!0,extendedInterface:!1,filter:e,cacheBusting:[c]},b),g.add(function(){var h;null==(h=d.contactTools)||h.detachAutocomplete(a)}))});return g};uS.\u0275fac=function(a){return new (a||uS)(u(FE),u(cH),u(bt),u(vS),u(AR))};uS.\u0275prov=wc({token:uS,factory:uS.\u0275fac,providedIn:"root"});
var vS=function(){};vS.prototype.create=function(a,b){var c=new CR,d=c.getUserInfo();cj(d,6,a?5:1);a=c.getExperiments();a=Xj(a,5,!0);a=Xj(a,1,!0);a=Xj(a,3,!0);Xj(a,2,!0);c.setAuthErrorHandler(b);return fFc("xapi",c)};vS.\u0275fac=function(a){return new (a||vS)};vS.\u0275prov=wc({token:vS,factory:vS.\u0275fac,providedIn:"root"});var wS=function(a,b,c){GE.call(this);this.element=a;this.focusContacts=b;this.activeSession=c;this.autocompleteActive=new pw;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};U(wS,GE);
wS.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-"+UTb());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=jFc(kFc(a.$element.value));a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));
a.$element.dispatchEvent(new Event("input"))};else if("MULTI"===this.fieldType)b=function(){for(var d="",e=[],g=a.$element,h=k(g.value.split(",")),m=h.next();!m.done;m=h.next())d+=m.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(jFc(d)),d=""):Bzc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=jFc(kFc(d)),e.push(d),d="");g.value=e.join(", ")+", ";a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("Td`"+
this.fieldType);var c=this.additionalContactsCallback();c=lFc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var mFc=function(a){(0,E.timer)(150).pipe(bf(a.destroyed$)).subscribe(function(){var b=document.querySelector(".ac-renderer"),c;b=!!b&&"none"!==(null==(c=window.getComputedStyle(b))?void 0:c.display);a.autocompleteActive.emit(b)})},lFc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},kFc=function(a){var b=Math.max(0,a.lastIndexOf("<"));return a.substr(b).trim().replace(/[<>]/g,"")},jFc=function(a){a=
a.trim();","===na(a)&&(a=a.slice(0,-1));a=Ln(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};wS.\u0275fac=function(a){return new (a||wS)(C(Bd),C(uS),C(bt))};
wS.\u0275dir=Qc({type:wS,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&M("keydown",function(){return mFc(b)},!1,Ed)("mousedown",function(){return mFc(b)})},inputs:{fieldType:["bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[lf]});var xS=function(){};xS.\u0275fac=function(a){return new (a||xS)};xS.\u0275mod=Oc({type:xS});xS.\u0275inj=xc({imports:[cG]});var nFc=["textarea"],oFc=["hiddenInput"],pFc=["autocompleteUnderlay"],qFc=Symbol(),yS=function(a,b,c){GE.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new pw;this.focus=new pw;this.blur=new pw;this.autoResize=new pw;this.manualResize$=new pw;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};U(yS,GE);yS.\u0275dir=GE.\u0275dir;yS.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?np(a).classList.add("codefont"):np(a).classList.remove("codefont")}))};yS.prototype.ngOnDestroy=function(){GE.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};yS.prototype.setValue=function(a){np(this).value!==a&&(np(this).value=a,this.manualResize$.next())};
yS.prototype.getValue=function(){return np(this).value};var np=function(a){return a.textareaRef.nativeElement},op=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},hNa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL_AUDIENCE"===a.audience},rFc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},sFc=function(a){var b=np(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
yS.prototype.findWord=function(a,b){var c=a.slice(0,b).search(/(?!(.*\s))/);b+=a.slice(b).search(/(\s|$)/);a=a.slice(c,b);return{wordStart:c,wordEnd:b,word:a}};
var tFc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},uFc=function(a){var b=rFc(a);a=np(a);b&&a&&(b.scrollTop=a.scrollTop)},iNa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},jNa=function(a,b){b=void 0===b?!1:b;var c=np(a),d=np(a).value,e,g=null==(e=op(a))?void 0:e.value;e=null==g?void 0:g.length;sFc(a);var h=a.wordInfo.word,m=d.slice(0,a.textAreaLastAtSymbolLocation+1);d=h.slice(1)===g?d.slice(a.textAreaLastAtSymbolLocation+
g.length+1):d.slice(a.textAreaLastCursorLocation);e&&(a.textAreaLastCursorLocation=m.length+e);b?(b=m+g+" "+d,a.textAreaLastCursorLocation+=1):b=m+g+d;c.value=b};yS.prototype[qFc]=function(){return this.findWord};yS.\u0275fac=function(a){return new (a||yS)(C(DO),C(bt),C(FE))};
yS.\u0275cmp=Mc({type:yS,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(cg(nFc,7),cg(oFc,5),cg(pFc,5));if(a&2){var c;bg(c=eg())&&(b.textareaRef=c.first);bg(c=eg())&&(b.hiddenInputRef=c.first);bg(c=eg())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&M("click",function(){iNa(b)},!1,Mfa)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(iNa(b),np(b).focus())},!1,Mfa)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[lf],decls:7,vars:11,consts:[[1,"pos-rel","comment-box-container",3,"keydown"],["commentBoxContainer",""],["aria-label","Comment box - add your comment","cdkFocusInitial","",3,"autoResize","ngClass","disabled","input","focus","blur","onAutoResize","keydown","keyup","scroll"],["textarea",""],[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,"value","change","keyup"],["hiddenInput",""],["contentEditable","true",1,"autocomplete-underlay"],["autocompleteUnderlay",""]],template:function(a,b){a&1&&(H(0,
"div",0,1),M("keydown",function(c){"Escape"===c.key&&(iNa(b),np(b).focus())}),H(2,"textarea",2,3),M("input",function(){b.contentChange.emit(b.getValue())})("focus",function(c){return b.focus.emit(c)})("blur",function(c){return b.blur.emit(c)})("onAutoResize",function(c){return b.autoResize.emit(c)})("keydown",function(c){if(hNa(b)&&tFc(c)&&b.taggingInProgress){null==c||c.preventDefault();var d;null==(d=op(b))||d.focus();d=c.code;var e=c.key,g=c.keyCode,h=c.which;c=new KeyboardEvent("keydown",{charCode:c.charCode,
metaKey:c.metaKey,type:c.type,code:"Enter"===e?"Tab":d,key:"Enter"===e?"Tab":e,keyCode:"Enter"===e?9:g,which:"Enter"===e?9:h});var m;null==(m=op(b))||m.dispatchEvent(c)}})("keyup",function(c){if(hNa(b)){var d=np(b),e=null==d?void 0:d.value;b.textAreaLastCursorLocation=d.selectionStart;b.textAreaLastAtSymbolLocation=e.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!tFc(c)){c=c.target;b.scrollPosition=c.scrollTop;sFc(b);var g=b.wordInfo.word;d="@"===g;e=g.startsWith("@");var h=g.slice(g.length-
1).match(/[a-z]/i);g=Vua.test(g.slice(1));if(d||e&&h&&!g){c=c.selectionStart;if(!b.taggingInProgress){if(d=rFc(b)){d.textContent=b.getValue();e=rFc(b);h=np(b);g="height width font-family margin line-height padding border".split(" ");if(e&&h){h=b.window.getComputedStyle(h);g=k(g);for(var m=g.next();!m.done;m=g.next()){m=m.value;var r=h.getPropertyValue(m);e.style.setProperty(m,r)}}uFc(b)}d=null==d?void 0:d.firstChild;e=null==d?void 0:d.textContent;d&&e&&c&&(e=new Range,e.setStart(d,c),e.setEnd(d,c),
c=document.createElement("span"),e.deleteContents(),e.insertNode(c),d=c.getBoundingClientRect(),b.autocompleteTop=d.top,b.autocompleteLeft=d.left,c.remove())}b.taggingInProgress=!0}else b.taggingInProgress=!1;if(b.taggingInProgress){b.autocompleteUserName=b.wordInfo.word.slice(1);var v;null==(v=op(b))||v.dispatchEvent(new KeyboardEvent("keydown"))}}}})("scroll",function(){return uFc(b)}),I(),H(4,"span",4),P(5,kNa,2,1,"input",5),I(),P(6,lNa,2,0,"div",6),I());a&2&&(B(2),F("autoResize",b.manualResize$)("ngClass",
b.textareaClass)("disabled",b.disabled),pf("placeholder",b.placeholder)("id",b.idForAriaLabel),B(2),xf("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),B(1),F("ngIf",b.taggingInProgress),B(1),F("ngIf",hNa(b)))},dependencies:[Mw,Ow,wS,zR],styles:["textarea.banned-words-warning[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-gfx)}/*# sourceMappingURL=comment_draft_textarea.css.map */"],changeDetection:0});var vFc=function(a){return{"draft-markdown":a}},zS=function(a,b,c){GE.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()}};U(zS,GE);zS.\u0275dir=GE.\u0275dir;zS.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
zS.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};zS.\u0275fac=function(a){return new (a||zS)(C(PH,2),C(Bd),C(sG))};
zS.\u0275cmp=Mc({type:zS,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&cg(tN,7);if(a&2){var c;bg(c=eg())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[Pf([PH]),lf],decls:5,vars:5,consts:[[1,"small","no-border",3,"dynamicHeight","selectedIndex","animationDone","selectedIndexChange"],["label","Edit"],[4,"ngTemplateOutlet"],["label","Preview",3,"disabled"]],template:function(a,b){a&1&&(H(0,"mat-tab-group",
0),M("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),H(1,"mat-tab",1),P(2,mNa,1,0,"ng-container",2),I(),H(3,"mat-tab",3),P(4,nNa,1,0,"ng-container",2),I()());a&2&&(F("dynamicHeight",!1)("selectedIndex",b.selectedIndex),B(2),F("ngTemplateOutlet",b.editArea),B(1),F("disabled",b.previewDisabled),B(1),F("ngTemplateOutlet",b.previewArea))},dependencies:[Tw,tN,sN],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var AS=function(a,b,c,d){GE.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(D(function(e){return e===Kcc}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL_AUDIENCE";this.init=new pw;this.contentChange=new pw;this.focus=new pw;this.blur=new pw;this.autoResize=new pw;this.onSubmit=new pw};U(AS,GE);AS.\u0275dir=GE.\u0275dir;
AS.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
AS.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 wFc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&np(a.commentDraftTextarea).focus()})};AS.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};AS.\u0275fac=function(a){return new (a||AS)(C(DO),C(ef),C(qJ),C(GM))};
AS.\u0275cmp=Mc({type:AS,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(cg(yS,5),cg(zS,5));if(a&2){var c;bg(c=eg())&&(b.commentDraftTextarea=c.first);bg(c=eg())&&(b.commentDraftTabGroup=c.first)}},inputs:{content:"content",textareaClass:"textareaClass",disabled:"disabled",placeholder:"placeholder",audience:"audience",idForAriaLabel:"idForAriaLabel"},outputs:{init:"init",contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize",onSubmit:"onSubmit"},features:[lf,
ed],decls:2,vars:10,consts:[[3,"textareaClass","ngClass","disabled","placeholder","idForAriaLabel","audience","autoResize","keydown.control.enter","keydown.meta.enter"]],template:function(a,b){a&1&&(H(0,"b-comment-draft-textarea",0),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()}),S(1,"async"),I());a&2&&F("textareaClass",b.textareaClass)("ngClass",
Sf(8,vFc,T(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[Mw,yS,Uw],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 xFc=["captchaContainer"],BS=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new pw;this.destroyed$=new E.ReplaySubject(1)};BS.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(bf(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
BS.prototype.ngAfterViewInit=function(){var a=this;this.onUpdate.emit("");var b;null==(b=this.window.recaptchaAsync)||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(io.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent(io.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};BS.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};BS.prototype.reset=function(){var a=this;if(void 0!==this.widgetId){var b;null==(b=this.window.recaptchaAsync)||b.then(function(c){c.reset(a.widgetId)})}};BS.\u0275fac=function(a){return new (a||BS)(C(ef),C(FE),C(yQ),C(sG),C(TH))};
BS.\u0275cmp=Mc({type:BS,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&cg(xFc,5);if(a&2){var c;bg(c=eg())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&J(0,"div",null,0)},encapsulation:2});var yFc=function(a){this.internalArray_=l(a,0,yFc.messageId)};U(yFc,q);f=yFc.prototype;f.getComponentId=function(){return Ki(this,1)};f.setComponentId=function(a){return cj(this,1,a)};f.hasComponentId=function(){return Ji(this,1)};f.getText=function(){return V(this,2)};f.setText=function(a){return uk(this,2,a)};f.toObject=function(){if(null!=this){t(this);var a={componentId:n(p(this,1)),text:n(X(this,2))}}else a=void 0;return a};yFc.messageId="b.CheckBannedWordsRequest";var CS=function(a){this.internalArray_=l(a,0,CS.messageId)};U(CS,q);CS.repeatedFields_=[1];CS.prototype.toObject=function(){if(null!=this){t(this);var a={matchedPatternsList:n(Xh(this,1))}}else a=void 0;return a};CS.messageId="b.CheckBannedWordsResponse";var DS=function(a){this.executor=a};DS.prototype.checkBannedWords=function(a){a=(new yFc).setComponentId(a.componentId).setText(a.text);return this.executor.post({url:"action/check_banned_words",body:a,responseConstructor:CS}).pipe(D(oNa))};DS.\u0275fac=function(a){return new (a||DS)(u(wD))};DS.\u0275prov=wc({token:DS,factory:DS.\u0275fac,providedIn:"root"});var ES=function(a){this.observableApi=a};ES.prototype.checkBannedWords=function(a){return(0,E.firstValueFrom)(this.observableApi.checkBannedWords(a))};
ES.\u0275fac=function(a){return new (a||ES)(u(DS))};ES.\u0275prov=wc({token:ES,factory:ES.\u0275fac,providedIn:"root"});var FS=function(a,b,c){GE.call(this);this.bannedWordsApi=a;this.activeSession=b;this.errorHandler=c;this.enableBannedWordsCheck=EE(this.activeSession,"enableBannedWordsCheck");this.isUserInternal=this.activeSession.isInternalSession()};U(FS,GE);FS.\u0275dir=GE.\u0275dir;
FS.prototype.check=function(a,b,c,d){var e=this;return ne(function(g){if(!(e.enableBannedWordsCheck&&e.isUserInternal&&c&&d))return g.return(!0);switch(a.state){case "INITIAL":return g.return(zFc(e,a,String(d),b));case "SHOW_WARNING":return a.state="SKIP_WARNING",g.return(!0);default:return g.return(!0)}})};
var zFc=function(a,b,c,d){var e,g;return ne(function(h){if(1==h.nextAddress)return oe(h,2),h.yield(a.bannedWordsApi.checkBannedWords({componentId:c,text:d}),4);if(2!=h.nextAddress)return e=h.yieldResult,0<e.matchedPatterns.length?(b.matchedPatterns=e.matchedPatterns,b.state="SHOW_WARNING",h.return(!1)):h.return(!0);g=re(h);qG(a.errorHandler,g);return h.return(!0)})};FS.prototype.showWarning=function(a){return"SHOW_WARNING"===a.state};FS.prototype.reset=function(a){a.matchedPatterns=[];a.state="INITIAL"};
FS.\u0275fac=function(a){return new (a||FS)(u(ES),u(bt),u(oG))};FS.\u0275prov=wc({token:FS,factory:FS.\u0275fac,providedIn:"root"});var AFc=function(a){return[a]},GS=function(a){this.matDialog=a};GS.prototype.show=function(a,b,c,d){this.dialog=this.matDialog.open(HS,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{issueId:a,componentId:d,audience:b,id:null!=c.unlinkifiedComment?c.commentNumber:1,text:c.unlinkifiedComment||"",formattingMode:c.formattingMode||"PLAIN"}});return(0,E.firstValueFrom)(yA(this.dialog))};GS.\u0275fac=function(a){return new (a||GS)(u(DA))};GS.\u0275prov=wc({token:GS,factory:GS.\u0275fac,providedIn:"root"});
var HS=function(a,b,c,d,e,g){GE.call(this);var h=this;this.activeSession=a;this.origComment=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsService=g;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=EE(this.activeSession,"enableRecaptcha");this.recaptchaResponse="";this.newComment=Object.assign({},this.origComment);
this.bannedWordsWarning={matchedPatterns:[],state:"INITIAL"};this.subscriptions.add($P(e,function(){return h.isModified()},!1))};U(HS,GE);HS.\u0275dir=GE.\u0275dir;f=HS.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(bf(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(bf(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
f.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};f.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};f.isModified=function(){return!Yh(this.newComment,this.origComment)};
f.closeDialogForSave=function(){var a=this,b,c,d;return ne(function(e){if(1==e.nextAddress){if(!a.isModified())return e.return();a.enableRecaptcha&&(a.newComment.recaptchaToken=a.recaptchaResponse);return e.yield(a.bannedWordsService.check(a.bannedWordsWarning,a.newComment.text,"EXTERNAL_AUDIENCE"===a.newComment.audience,a.newComment.componentId),2)}(b=e.yieldResult)?null==(d=a.dialogService.dialog)||d.close(a.newComment):null==(c=a.commentDraft)||wFc(c);se(e)})};
HS.\u0275fac=function(a){return new (a||HS)(C(bt),C(CA),C(GS),C(AA),C(ZP),C(FS))};
HS.\u0275cmp=Mc({type:HS,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&cg(AS,5);if(a&2){var c;bg(c=eg())&&(b.commentDraft=c.first)}},features:[lf],decls:19,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","audience","textareaClass","contentChange","onSubmit"],["class","banned-words-warning",4,"ngIf"],[1,"inline-block",3,"initialValue","change"],[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,"disabled","color","click"],[1,"banned-words-warning"],[3,"comment","issueId","audience","formattingMode"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),H(2,"section",1)(3,"p",2),R(4," Editing comments will not permanently remove old ones from database history. "),J(5,"br"),R(6," For deletion of PII or other sensitive content, please "),
H(7,"a",3),R(8," file a support request."),I()(),H(9,"b-comment-draft",4),M("contentChange",function(c){return b.newComment.text=c})("onSubmit",function(){return b.closeDialogForSave()})("contentChange",function(){b.bannedWordsService.reset(b.bannedWordsWarning)}),I(),P(10,pNa,2,1,"p",5),H(11,"b-markdown-toggle",6),M("change",function(c){return b.newComment.formattingMode=c}),I(),P(12,qNa,1,4,"b-live-preview",7),I(),P(13,rNa,3,0,"section",8),H(14,"footer",9)(15,"button",10),R(16," Cancel "),I(),H(17,
"button",11),M("click",function(){return b.closeDialogForSave()}),R(18),I()());a&2&&(B(1),Of("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),B(6),F("href",b.contentRemovalRequestLink,Sd),B(2),F("content",b.newComment.text)("audience",b.origComment.audience)("textareaClass",Sf(16,AFc,b.bannedWordsService.showWarning(b.bannedWordsWarning)?"banned-words-warning":"")),B(1),F("ngIf",b.bannedWordsService.showWarning(b.bannedWordsWarning)),B(1),yf("margin-bottom",(null==b.newComment?
null:b.newComment.formattingMode)!==b.MARKDOWN),F("initialValue",b.origComment.formattingMode),B(1),F("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),B(1),F("ngIf",b.enableRecaptcha),B(2),F("mat-dialog-close",void 0),B(2),F("disabled",!b.isModified()||!b.isCaptchaValid())("color",b.bannedWordsService.showWarning(b.bannedWordsWarning)?"warn":"primary"),B(1),Mf(" ",b.bannedWordsService.showWarning(b.bannedWordsWarning)?"Save Anyway":"Save"," "))},dependencies:[EA,FA,GA,HA,
Ow,qA,XO,WO,AS,BS],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 IS=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa){this.editIssueService=a;this.butterBar=b;this.issuePermissionService=c;this.issueCommentService=d;this.editCommentDialogService=e;this.issueFridge=g;this.matDialogService=h;this.paths=m;this.analytics=r;this.domSafe=v;this.confirmationDialogService=y;this.issueComments=A;this.errorHandler=G;this.issueFetchResponseFridge=N;this.eventsForIssueFridge=Q;this.componentFridge=Z;this.commentFormatter=Y;this.confirmNoAccessService=ea;this.activeSession=
ja;this.appEvents=va;this.issuePicker=za;this.eventsForIssueWatcher=Pa;this.issueInteractionsTracking=Sa},Os=function(a,b,c){var d,e,g,h,m,r,v;return ne(function(y){if(1==y.nextAddress)return y.yield((0,E.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=y.nextAddress){d=y.yieldResult;g=null==(e=d)?void 0:e.snapshot[0].componentId;h=a.editIssueService.savingState(b);if(h.get("commentEdit"))return y.return();a.butterBar.dismiss();r=null!=(m=a.issuePermissionService.audience())?m:"EXTERNAL_AUDIENCE";
return y.yield(a.editCommentDialogService.show(b,r,c,g),3)}v=y.yieldResult;if(null==v)return y.return();Iwc(a.issueCommentService,{issueId:b,newCommentId:v.id,newComment:v.text,newCommentFormattingMode:v.formattingMode,recaptchaToken:v.recaptchaToken});se(y)})},CFc=function(a,b,c){var d,e,g;return ne(function(h){if(1==h.nextAddress)return c?h.yield(BFc(a,b),2):h.return();if(3!=h.nextAddress)return d={title:"Choose target issue",defaultChoices:h.yieldResult,allowMultipleIds:!1,currentResource:{id:b,
type:"issue"},edgeType:"copyComment"},h.yield(a.issuePicker.open(d),3);e=h.yieldResult;if(null==(g=e)?0:g.length){var m=a.paths.editIssue(e[0],{template_issue:b,template_comment:c,do_attribution:!0});a.analytics.trackEvent(io.EDIT_ISSUE,"copyComment");a.domSafe.openInNewTab(m)}se(h)})},BFc=function(a,b){function c(ea){return A.get(ea)}var d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y;return ne(function(ea){if(1==ea.nextAddress)return ea.yield((0,E.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=ea.nextAddress){d=
ea.yieldResult;if(!d)return ea.return([]);g=null!=(e=d.snapshot[0].duplicateIssueId)?e:[];m=null!=(h=d.snapshot[0].blockingIssueId)?h:[];v=null!=(r=d.snapshot[0].blockedByIssueId)?r:[];return ea.yield((0,E.firstValueFrom)(a.issueFridge.watchSet(Dl([].concat(ad(g),ad(m),ad(v))))),3)}y=ea.yieldResult;A=new Map(y.map(function(ja){return[ja.issueId,ja]}));G=v.map(c).filter(Ei).map(sNa("BLOCKED_BY"));N=m.map(c).filter(Ei).map(sNa("BLOCKING"));Q=g.map(c).filter(Ei).map(sNa("DUPLICATE"));Z=[].concat(ad(G),
ad(N),ad(Q));Y=tNa(Z);return ea.return(Y)})},EFc=function(a,b,c){var d;return ne(function(e){return 1==e.nextAddress?c?e.yield(lJ(a.confirmationDialogService,{title:"Restore comment # "+c+"?",content:kp("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?e.yield(DFc(a,b,c),0):e.return()})},DFc=function(a,b,c){var d,e;return ne(function(g){switch(g.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return g.return();mG(a.butterBar,"Restoring comment...",
0);oe(g,2,3);cK(d,"commentUndelete");return g.yield(a.issueComments.undelete(b,c),5);case 5:mG(a.butterBar,"Comment restored successfully.");case 3:pe(g);dK(d,"commentUndelete");cI(a.issueFetchResponseFridge,b);a.eventsForIssueFridge.poke(b);qe(g,0);break;case 2:e=re(g),mG(a.butterBar,"Comment restoration failed."),qG(a.errorHandler,e),g.jumpTo(3)}})},HFc=function(a,b,c,d){var e,g,h,m;return ne(function(r){if(1==r.nextAddress){if(!c)return r.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?
r.return():r.yield(FFc(a,b),2)}return 3!=r.nextAddress?(g=r.yieldResult,a.butterBar.dismiss(),r.yield((0,E.firstValueFrom)(yA(a.matDialogService.open(Cwc,{width:"560px",data:{commentNumber:c,issueId:b,deletionReasons:g}}))),3)):(h=r.yieldResult)?r.yield(GFc(a,b,c,h.value,null!=(m=d)?m:""),0):r.jumpTo(0)})},GFc=function(a,b,c,d,e){var g,h;return ne(function(m){switch(m.nextAddress){case 1:g=a.editIssueService.savingState(b);if(g.get("commentDelete"))return m.return();oe(m,2,3);mG(a.butterBar,"Deleting comment...",
0);cK(g,"commentDelete");return m.yield(a.issueComments.delete(b,c,d,e),5);case 5:mG(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),a.eventsForIssueFridge.poke(b);case 3:pe(m);dK(g,"commentDelete");cI(a.issueFetchResponseFridge,b);qe(m,0);break;case 2:h=re(m),mG(a.butterBar,"Comment deletion failed."),qG(a.errorHandler,h),m.jumpTo(3)}})},FFc=function(a,b){var c,d,e,g,h,m,r,v;return ne(function(y){switch(y.nextAddress){case 1:return y.yield((0,E.firstValueFrom)(a.issueFridge.watch(b,
{trustUncertainMemory:!0})),2);case 2:c=y.yieldResult;e=(null==(d=c)?void 0:d.snapshot[0].componentId)||void 0;if(!e){g=void 0;y.jumpTo(3);break}return y.yield((0,E.firstValueFrom)(a.componentFridge.watch(e)),4);case 4:g=y.yieldResult;case 3:return h=g,m=new zzc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(m.enabled=!1,m.disabledReason="comment editing must be enabled"),r=new zzc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(r.enabled=!1,r.disabledReason=
"available on Public components"),v=new zzc("Personally Identifiable Information","PII"),y.return([v,r,m])}})},IFc=function(a,b,c){var d,e;return ne(function(g){if(1==g.nextAddress)return d=SJ(a.issuePermissionService,ti(c.userPerformingActionUser)),a.analytics.trackEvent(io.RESTRICTED_CONTENT,"updateContentJudgement","comment"),g.yield(a.showContentJudgementDialog({severity:Ii(c.commentContentVerdict),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||
d}),2);if(e=g.yieldResult)c.commentContentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},cI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),$H(a.issueFridge,[b],{markRead:!0});se(g)})};IS.prototype.showContentJudgementDialog=function(a){return(0,E.firstValueFrom)(yA(this.matDialogService.open(SQ,{panelClass:"no-jitter",width:"500px",data:a})))};
var JFc=function(a,b,c){var d;return ne(function(e){if(1==e.nextAddress)return e.yield((0,E.firstValueFrom)(yA(a.matDialogService.open(TQ,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(1===d)})},KFc=function(a,b,c,d){var e;ne(function(g){if(1==g.nextAddress){if(null==d)return g.return();a.analytics.trackEvent(io.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return g.yield(a.showContentJudgementDialog({severity:Ii(d.contentVerdict),resourcePath:"issues/"+
b+"/attachments/"+d.attachmentId,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=g.yieldResult)d.contentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},cI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),$H(a.issueFridge,[b],{markRead:!0});se(g)})};
IS.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,g,h,m,r,v;ne(function(y){if(1==y.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return y.return();e=E;g=e.firstValueFrom;h=c.matDialogService;m=h.open;r=Bwc;return y.yield(FFc(c,a),3)}return 2!=y.nextAddress?y.yield(g.call(e,yA(m.call(h,r,{width:"560px",data:{deletionReasons:y.yieldResult,attachmentId:b.attachmentId}}))),2):(v=y.yieldResult)?y.yield(Fmc(c.editIssueService,a,b,v.value),
0):y.jumpTo(0)})};
var LFc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,g,h,m;return ne(function(r){if(1==r.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return r.return(!0);oe(r,2);return r.yield((0,E.firstValueFrom)(Hsc(a.commentFormatter,{comment:e.value,issueId:c,audience:null!=(g=a.issuePermissionService.audience())?g:"EXTERNAL_AUDIENCE",formattingMode:e.formattingMode,idPrefix:"b"+c+
"-draft"})),4)}if(2!=r.nextAddress)return h=r.yieldResult,r.return(Hlc(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));m=re(r);qG(a.errorHandler,m);return r.return(!1)})},MFc=function(a,b){b=void 0===b?"comment":b;var c,d;return ne(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||sdc(a.activeSession))return e.return(!0);switch(b){case "comment":d=
kp("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=kp("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:Fh(b)}return e.return(lJ(a.confirmationDialogService,{title:"",content:d}))})};
IS.prototype.submitCommentBox=function(a,b,c,d){var e=this,g,h,m,r;return ne(function(v){if(1==v.nextAddress){g=e.editIssueService.savingState(b);if(!e.issuePermissionService.hasAclToComment()||!Mlc(c)||g.get("comment"))return v.return();cK(g,"comment");h=function(){dK(g,"comment")};return v.yield(LFc(e,{issueId:b,componentId:a,comment:c}),2)}if(3!=v.nextAddress)return m=v.yieldResult,m?v.yield(MFc(e),3):(h(),v.return());r=v.yieldResult;if(!r)return h(),v.return();e.analytics.trackEvent(io.EDIT_ISSUE,
"addComment","MARKDOWN"===c.formattingMode?"markdown":"non markdown");$lc(e.issueInteractionsTracking,b);e.eventsForIssueWatcher.isPaused=!0;return v.return(e.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(b,d).finally(function(){h();e.appEvents.commentSubmitted.next(b);e.appEvents.scrollToCommentBox.next()}))})};
IS.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,g,h,m;return ne(function(r){if(1==r.nextAddress)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=null!=(g=null==(e=d)?void 0:e.severity)?g:"NONE_DETECTED",r.yield(b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(m=r.yieldResult)&&c.userDefinedJudgementForNewContent$.next(m.contentJudgement);se(r)})};
IS.prototype.updateCommentReaction=function(a){var b=this,c;return ne(function(d){return 1==d.nextAddress?a.hasReacted?d.yield(MFc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};IS.\u0275fac=function(a){return new (a||IS)(u(fK),u(lG),u(TJ),u(VQ),u(GS),u(YH),u(DA),u(dH),u(TH),u(LK),u(kJ),u(JI),u(oG),u(aI),u(CF),u(PF),u(VO),u(GJ),u(bt),u(sG),u(MP),u(yR),u(PJ))};
IS.\u0275prov=wc({token:IS,factory:IS.\u0275fac,providedIn:"root"});var JS=function(a,b,c){this.editIssueService=a;this.issuePicker=b;this.analytics=c},NFc=function(a,b){var c,d,e,g,h,m,r;return ne(function(v){if(1==v.nextAddress)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"},g=(new Date).getTime(),v.yield(a.issuePicker.open(e),2);h=v.yieldResult;if(null==(m=h)||!m.length)return c.status=
d,v.return();r=(new Date).getTime()-g;a.analytics.trackEvent(io.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(r/2E3),600)+"s",r);a.analytics.trackEvent(io.EDIT_ISSUE,"setCanonicalIssue");return v.return(xmc(a.editIssueService,b,h[0]))})};JS.\u0275fac=function(a){return new (a||JS)(u(fK),u(MP),u(TH))};JS.\u0275prov=wc({token:JS,factory:JS.\u0275fac,providedIn:"root"});var KS=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z){GE.call(this);this.activeSession=a;this.documentationLinks=b;this.domSafe=c;this.matDialogService=d;this.attachmentService=e;this.cdr=g;this.differs=h;this.paths=m;this.userAccess=r;this.butterBar=v;this.errorHandler=y;this.analytics=A;this.issueCommentDialogsService=G;this.issuePermissionService=N;this.editIssueService=Q;this.routeParams=Z;this.isInternalSession=this.activeSession.isInternalSession();this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1};U(KS,GE);KS.\u0275dir=GE.\u0275dir;KS.prototype.ngOnInit=function(){this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create());var a;this.attachmentRetentionOverride=null==(a=this.attachment)?void 0:a.piiRetention;OFc(this);PFc(this)};KS.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&(OFc(this),this.cdr.markForCheck())};
KS.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var OFc=function(a){a.actionMenuItems=[];QFc(a)&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."});RFc(a)&&a.actionMenuItems.push({type:"action",action:function(){Emc(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.isInternalSession&&a.actionMenuItems.push({type:"action",action:function(){KFc(a.issueCommentDialogsService,a.issueId,a.attachmentUploader===a.activeSession.getUserEmail(),a.attachment)},label:"Restriction settings..."});
if(a.isInternalSession&&a.isRestricted()&&a.isActive()){var b="COMPONENT_DEFAULT"===a.attachmentRetentionOverride;a.actionMenuItems.push({type:"action",action:function(){var c=b?"INDEFINITE":"COMPONENT_DEFAULT";JFc(a.issueCommentDialogsService,"attachment",c).then(function(d){d&&SFc(a,c)})},label:b?"Match issue retention...":"Revert to component retention..."})}};
KS.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,aG(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};KS.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
KS.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var xNa=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("Ud");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return M4b(a,"download",b)};KS.prototype.isActive=function(){var a;if(null==(a=this.attachment)||!a.attachmentId)return!1;var b;return"ACTIVE"===(null==(b=this.attachment.entityStatus)?void 0:b.status)};
KS.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getPiiSeverity()};KS.prototype.getPiiSeverity=function(){var a;return Ii(null==(a=this.attachment)?void 0:a.contentVerdict)};KS.prototype.getRestrictedLabel=function(){return Rqa(this.getPiiSeverity())};
var yNa=function(a){return(a=a.getPiiSeverity())?"bv2-restricted-content-limit-"+Qqa(a):""},wNa=function(a,b){a.analytics.trackEvent(io.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(FQ,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})},QFc=function(a){var b;if(null!=(b=a.attachment)&&b.attachmentId){b=a.issuePermissionService;var c=a.attachment;a=a.attachmentUploader;b=c?(c=c.entityStatus)&&"ACTIVE"===c.status?b.hasAclToAdmin()||SJ(b,a)?
!0:!1:!1:!1}else b=!1;return b},RFc=function(a){var b;if(null!=(b=a.attachment)&&b.attachmentId){b=a.issuePermissionService;var c=a.attachment;a=a.attachmentUploader;b=c?(c=c.entityStatus)&&"DELETED"===c.status?b.hasAclToAdmin()||SJ(b,a)?!0:!1:!1:!1}else b=!1;return b};KS.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var SFc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(a.analytics.trackEvent(io.RESTRICTED_CONTENT,"updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(bf(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);mG(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride="INDEFINITE"===b?"INDEFINITE":"COMPONENT_DEFAULT";OFc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;pG(a.errorHandler,"Attachment retention update failed")}})):pG(a.errorHandler,"Attachment id is missing")},PFc=function(a){var b,c,d;ne(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,wNa(a,d));se(e)})};
KS.\u0275fac=function(a){return new (a||KS)(C(bt),C(jJ),C(LK),C(DA),C(GQ),C(PH,2),C(Lw),C(dH),C($F),C(lG),C(oG),C(TH),C(IS),C(TJ),C(fK),C(JJ))};
KS.\u0275cmp=Mc({type:KS,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[Pf([PH]),lf,ed],decls:16,vars:8,consts:[[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"],["restrictedAccessHelp",""],[3,"label","retentionState","contentType"],[1,"bv2-issue-attachment-overflow-menu"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"isGreyedOut","displayName","linkUrl","linkEnabled","useCustomHandler","customHandler"],[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&&(H(0,"div",0),J(1,"b-icon",1),I(),H(2,"div")(3,"div",2),R(4),H(5,"span",3),P(6,uNa,1,3,"b-restricted-chip",4),P(7,vNa,2,3,"span",5),I()(),H(8,"div"),R(9),P(10,zNa,2,8,"span",6),P(11,ANa,2,8,"span",6),H(12,"xap-bubble",7),P(13,BNa,3,3,"span",8),P(14,CNa,4,1,"ng-template",null,9,hg),I()()());if(a&2){var c=Lf(15);B(4);Mf(" ",b.getFilename()," ");B(2);F("ngIf",b.isRestricted());
B(1);F("ngIf",0<b.actionMenuItems.length);B(2);Mf(" ",KBa(b.getSize())," ");B(1);var d;a=b.isActive()&&oqa(null==(d=b.attachment)?void 0:d.contentType);F("ngIf",a);B(1);F("ngIf",b.isActive());B(1);F("panelTemplate",c);B(1);F("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[Ow,bB,kL,HQ,GN,rA,tC,IQ,mP],encapsulation:2,changeDetection:0});var LS=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};LS.prototype.onNoClick=function(){this.dialogRef.close(!1)};LS.\u0275fac=function(a){return new (a||LS)(C(AA),C(jJ),C(CA))};
LS.\u0275cmp=Mc({type:LS,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&&(H(0,"h1",0),R(1),I(),H(2,"div",1)(3,"p"),R(4),H(5,"a",2),R(6," Learn More "),I()()(),H(7,"div",3)(8,"button",4),M("click",function(){return b.onNoClick()}),R(9," Cancel "),I(),H(10,"button",5),R(11," Confirm "),I()());a&2&&(B(1),Nf(b.data.title),B(3),Mf(" ",b.data.content," "),B(1),F("rel",b.EXTERNAL_LINK_REL),pf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Sd),B(5),F("mat-dialog-close",!0))},dependencies:[qA,EA,FA,GA,HA],encapsulation:2});var MS=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new pw};
MS.prototype.openDialog=function(){var a=this;yA(this.dialog.open(LS,{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()})};MS.\u0275fac=function(a){return new (a||MS)(C(DA),C(jJ))};
MS.\u0275cmp=Mc({type:MS,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,"disabled","click"],["target","_blank","aria-label","Learn more about restricted access",3,"rel"]],template:function(a,b){a&1&&(H(0,"span")(1,"button",0),M("click",function(){return b.openDialog()}),R(2," Show Restricted Content "),I(),H(3,"a",1),R(4,
" Learn More "),I()());a&2&&(B(1),F("disabled",b.disabled),B(2),F("rel",b.EXTERNAL_LINK_REL),pf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Sd))},dependencies:[qA],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var NS=function(){};NS.\u0275fac=function(a){return new (a||NS)};NS.\u0275mod=Oc({type:NS});NS.\u0275inj=xc({imports:[mC,cG,QC,uD]});var TFc=["commentActionsMenu"],UFc=["editDescription"],XNa=function(){return[]},OS=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q){GE.call(this);var Z=this;this.eventsForIssue=a;this.userPreferencesManager=b;this.issueFridge=c;this.issueReferenceResolver=d;this.activeSession=e;this.commentService=g;this.errorHandler=h;this.analytics=m;this.butterBar=r;this.userAccess=v;this.issueCommentDialogsService=y;this.issuePermissionService=A;this.commentHistoryDialogService=G;this.dateFormatter=N;this.issueFetchResponseFridge=
Q;this.id$=new E.ReplaySubject(1);this.accessLevel$=this.id$.pipe(af(this.issueFridge.watch),D(function(Y){var ea;return null==Y?void 0:null==(ea=Y.accessLimit)?void 0:ea.accessLevel}));this.firstEvent$=new E.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(D(function(Y){return Y}));this.commentActionMenuItems$=new E.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=zn(this.firstEvent$.pipe(De(Ei),D(function(Y){return Y.formattingMode})),
"PLAIN");this.isRedacted$=this.firstEvent$.pipe(De(Ei),D(function(Y){return Y.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(De(Ei),D(function(Y){return"DELETED"===Y.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,E.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(D(function(Y){var ea=k(Y);Y=ea.next().value;ea=ea.next().value;return!(!Y||ea)}));this.isRestricted$=this.firstEvent$.pipe(De(Ei),D(function(Y){return Ii(Y.commentContentVerdict)}),D(function(Y){if(!Z.isInternalSession)return!1;
switch(Y){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:Fh(Y)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(De(Ei),D(function(Y){return Y.commentRetention}));this.commentHistoryEnabled=EE(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,E.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(D(function(Y){var ea=k(Y);Y=ea.next().value;ea=ea.next().value;return!(!(EE(Z.activeSession,"enableCommentHistoryUi")&&
0<((null==Y?void 0:Y.commentVersion)||0))||ea)}));this.canEditComment$=this.firstEvent$.pipe(af(function(Y){return Y?Z.issuePermissionService.canEditComment$(Y):(0,E.of)(!1)}),Ye({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!An(Z.canEditComment$)};this.isInternalSession=this.activeSession.isInternalSession();this.mayReadPii$=this.isRestricted$.pipe(af(function(Y){return Y?Z.mayReadPii():(0,E.of)(void 0)}));this.reporterUser$=this.id$.pipe(af(function(Y){return Z.issueFridge.watch(Y)}),
D(function(Y){var ea;return null==Y?void 0:null==(ea=Y.snapshot[0])?void 0:ea.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(D($Na));this.firstEventReporterEmail$=this.firstEvent$.pipe(D(function(Y){Y=k((null==Y?void 0:Y.postDiffs)||[]);for(var ea=Y.next();!ea.done;ea=Y.next())if(ea=ea.value,"reporter"===ea.name)return ea.newValue||"";return""}));this.onBehalfOfEmail$=(0,E.combineLatest)([this.firstEventReporterEmail$,this.reporterUserEmailAddress$]).pipe(D(function(Y){var ea=
k(Y);Y=ea.next().value;ea=ea.next().value;return Y||ea}));this.isAuthorNotReporter$=(0,E.combineLatest)([this.onBehalfOfEmail$,this.firstEvent$]).pipe(D(function(Y){var ea=k(Y);Y=ea.next().value;ea=ea.next().value;return Y!==$Na(null==ea?void 0:ea.userPerformingActionUser)}))};U(OS,GE);OS.\u0275dir=GE.\u0275dir;
OS.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(af(function(b){return(0,E.defer)(function(){return aG(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){Oh("error: ",c);return!1})})}))};
OS.prototype.ngOnInit=function(){var a=this;VFc(this,"PLAIN");this.id$.pipe(af(this.issueFetchResponseFridge.watch),D(function(b){return null==b?void 0:b.firstEvent}),bf(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(bf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(bf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=null!=b.commentDisplayOverride;a.initializeActionsMenu()});
this.formattingMode$.pipe(bf(this.destroyed$)).subscribe(function(b){a.formattingMode=null!=b?b:"PLAIN";VFc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(bf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
OS.prototype.initializeActionsMenu=function(){var a=this,b=[];this.isFormattingOverrideEnabled||b.push({type:"submenu",label:"View as...",items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]});var c=An(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){Os(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:An(this.isRedacted$)});
An(this.isShowCommentHistoryActionInMenu$)&&c&&b.push({type:"action",action:function(){c.commentNumber&&a.showCommentHistoryDialog(c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Show editing history"});c&&cmc(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&HFc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&bmc(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){EFc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});this.isInternalSession&&c&&b.push({type:"action",action:function(){IFc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings..."});if(this.isInternalSession&&An(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!An(this.isDeleted$)){var d="COMPONENT_DEFAULT"===An(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?"INDEFINITE":"COMPONENT_DEFAULT";JFc(a.issueCommentDialogsService,"comment",e).then(function(g){a.commentActionsMenu.actionsMenuIconButton.focus();g&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}this.commentActionMenuItems$.next(b)};
var VFc=function(a,b){var c={};a.formattingModeMenuItems=(c.PLAIN={type:"select",action:function(){a.formattingMode$.next("PLAIN");a.initializeActionsMenu()},label:"Classic",selected:"PLAIN"===b},c.MARKDOWN={type:"select",action:function(){a.formattingMode$.next("MARKDOWN");a.initializeActionsMenu()},label:"Markdown",selected:"MARKDOWN"===b},c.LITERAL={type:"select",action:function(){a.formattingMode$.next("LITERAL");a.initializeActionsMenu()},label:"Source",selected:"LITERAL"===b},c)};
OS.prototype.updateCommentRetention=function(a){var b=this,c=An(this.firstEvent$),d=An(this.id$);c&&!c.commentNumber&&pG(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(io.RESTRICTED_CONTENT,"updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(bf(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);mG(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){pG(b.errorHandler,"Comment retention update failed")}})};
OS.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent(io.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=(null==b?void 0:b.commentNumber)||0;b=Ii(null==b?void 0:b.commentContentVerdict);a&&this.commentService.get(a,d,b).pipe(Oe(),bf(this.destroyed$)).subscribe(function(e){e=wta(e);e=Object.assign({},An(c.firstEvent$),e);c.firstEvent$.next(e);c.initializeActionsMenu()},function(e){var g;c.butterBar.showWarning("Error showing comment "+d+": "+(null==(g=e.error)?
void 0:g.message))})};OS.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};OS.prototype.getUserEmailIfAvailable=function(){var a;return ti(null==(a=An(this.firstEvent$))?void 0:a.userPerformingActionUser)};
var DNa=function(a){var b=An(a.firstEvent$);b&&Os(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},INa=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=pi(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",Eoc(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
wh.Object.defineProperties(OS.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return An(this.id$)}}});OS.\u0275fac=function(a){return new (a||OS)(C(CF),C(qJ),C(YH),C(mM),C(bt),C(KI),C(oG),C(TH),C(lG),C($F),C(IS),C(TJ),C(BQ),C(UK),C(aI))};
OS.\u0275cmp=Mc({type:OS,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(cg(TFc,5),cg(UFc,5));if(a&2){var c;bg(c=eg())&&(b.commentActionsMenu=c.first);bg(c=eg())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[lf],decls:4,vars:4,consts:[["id","comment1","class","flex-kids-x",4,"ngIf","ngIfElse"],["loading",""],["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"],[3,"onedevHovercardTrigger","model"],["card",""],[3,"email"],[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"],["commentActionsMenu",""],[4,"ngIf",
"ngIfElse"],["showFirstComment",""],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],["mat-stroked-button","","color","primary","aria-label","Edit description",1,"gmat-button","update-button","small","margin-xs-right",3,"click"],["editDescription",""],[3,"email","showEmail"],[1,"keep-focus-ring","first-comment",3,"routerLinkObj","click"],[1,"muted",3,"matTooltip"],[1,"description-deleted"],["showNote",""],["class","critical-feature",3,"disabled","onConfirm",4,"ngIf"],[1,"critical-feature",
3,"disabled","onConfirm"],["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"],[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&&(P(0,YNa,29,24,"div",0),S(1,"async"),P(2,ZNa,1,0,"ng-template",null,1,hg));if(a&2){var c=Lf(3);F("ngIf",T(1,2,b.firstEvent$))("ngIfElse",c)}},dependencies:[kL,KS,YO,Nw,Ow,bB,VK,jK,oK,NK,qA,tC,MS,ZN,wM,OK,rM,Uw],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 PS=function(a){this.issueReferenceResolver=a;this.userToString=ti};PS.prototype.ngOnInit=function(){};PS.prototype.getCommentNumberLink=function(a){return Gwa(this.issueId,{comment:a})};PS.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};PS.\u0275fac=function(a){return new (a||PS)(C(mM))};
PS.\u0275cmp=Mc({type:PS,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},decls:1,vars:1,consts:[["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"],["personCard",""],[3,"email",4,"ngIf"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"routerLinkObj","click"]],template:function(a,b){a&1&&P(0,eOa,5,3,"span",0);a&2&&F("ngForOf",b.comments)},
dependencies:[Nw,Ow,jK,oK,NK,ZN,pP],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 QS=function(a){GE.call(this);this.ngZone=a};U(QS,GE);QS.\u0275dir=GE.\u0275dir;var WFc=function(a,b){return(new E.Observable(function(c){var d=new ResizeObserver(function(e){a.ngZone.run(function(){var g=e[0];c.next({height:g.contentRect.height,width:g.contentRect.width})})});d.observe(b);return function(){d.unobserve(b)}})).pipe(bf(a.destroyed$))};QS.\u0275fac=function(a){return new (a||QS)(u(ef))};QS.\u0275prov=wc({token:QS,factory:QS.\u0275fac,providedIn:"root"});var XFc=["imagesSummaryWidget"],RS=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new E.ReplaySubject(1);this.paginate=!1;this.container$=new E.ReplaySubject(1);this.containerResize$=this.container$.pipe(D(function(e){return e.nativeElement}),af(function(e){return WFc(d.resizeService,e)}));this.issueId$=new E.ReplaySubject(1);this.lastRenderedImageIndex$=new E.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(D(function(e){e=e.map(function(g){if(g.comment){var h=
Tva(g.href);if(h)return{src:h,comment:g.comment}}}).filter(Ei);return lOa(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(D(function(e){return Math.floor((e.width-16)/216)}),Ye({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(D(function(e){return 2*e}));this.imagesToRender$=(0,E.combineLatest)([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(D(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;
return d.paginate?h.slice(0,g||e):h.slice(0,e)}),Ne())};RS.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};RS.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};RS.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};wh.Object.defineProperties(RS.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return An(this.imageLinks$)}}});
RS.\u0275fac=function(a){return new (a||RS)(C(QS),C(WG),C(Cm))};
RS.\u0275cmp=Mc({type:RS,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&cg(XFc,7);if(a&2){var c;bg(c=eg())&&(b.container=c.first)}},inputs:{issueId:"issueId",imageLinks:"imageLinks",paginate:"paginate"},decls:4,vars:3,consts:[["imagesSummaryWidget",""],[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"],["withoutPagination",""],["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&&(H(0,"div",null,0),P(2,kOa,3,3,"ng-container",1),S(3,"async"),I());a&2&&(B(2),F("ngIf",T(3,1,b.allImages$)))},dependencies:function(){return[PS,Nw,Ow,qA,KO,Uw,SS]},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[_ngcontent-%COMP%]     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[_ngcontent-%COMP%]     img:before{content:" ";position:absolute;left:0;height:100%;width:100%;background-color:#f8f9fa;background-color:var(--surface-secondary)}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]     img:after{content:"\u274cBroken screenshot link";position:absolute;top:46%;left:0;width:100%;text-align:center}']});
var SS=function(){};SS.prototype.transform=function(a){return a.split(".png")[0]};SS.\u0275fac=function(a){return new (a||SS)};SS.\u0275pipe=Rc({name:"removePngExtension",type:SS,pure:!0});var YFc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links"},qPa=[].concat(ad(Object.values(YFc)));var ZFc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=Oza(function(d){c.analytics.trackEvent(io.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=Oza(function(){c.analytics.trackEvent(io.EDIT_ISSUE,"view","SW")})},fPa=function(a,b,c){a.recordInteractionOnce(c);pp(a.issueInteractionsTracking,b,c+"-content-interacted");pp(a.issueInteractionsTracking,b,"SW-content-interacted")};var TS=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
TS.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=sOa(b.markdownFormat.content);break a}if(b.literalFormat){a=sOa(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=k(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(sOa(c));break a}}a=void 0}if(a=a&&$Fc(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(aGc.has(c.nodeName))break;d=void 0;b.push(null!=(d=c.textContent)?d:"")}this.leftText=b.reverse().join("");b=[];for(c=a;c.nextSibling;){c=c.nextSibling;if(aGc.has(c.nodeName))break;d=void 0;b.push(null!=(d=c.textContent)?d:"")}this.rightText=b.join("");this.linkText=a.innerText||a.href}else this.relatedLink&&
(c=b=a="",Sl(this.relatedLink)?c=b=this.relatedLink.href:Uva(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?tqa(fL(this.currentTracker,c),""):this.getIssueUrl(c)),this.issueId=a,this.originalHref=this.redirectedHref=b,this.isExternalLink=!1,this.rightText=this.leftText="",this.linkText=c)};
var $Fc=function(a,b){if(a.relatedLink){if(Uva(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(ad(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(Sl(a.relatedLink)){var d=a.relatedLink;return[].concat(ad(b.querySelectorAll("a"))).find(function(e){a:{var g=d.href;if(e.innerText===g)e=!0;else{try{g=(new URL(g)).href}catch(h){e=!1;break a}e=e.href===g||e.href.replace("https://cl.corp.google.com/","https://critique.corp.google.com/")===g?!0:!1}}return e})}}};
TS.prototype.getIssueUrl=function(a){return fL(this.currentTracker,a)};TS.\u0275fac=function(a){return new (a||TS)(C(bt),C(eL))};
TS.\u0275cmp=Mc({type:TS,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[ed],decls:8,vars:4,consts:[[1,"wrapper"],["class","muted margin-xs-right left","aria-hidden","true",4,"ngIf"],[4,"ngIf","ngIfElse"],["internalLink",""],["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"],["hyperLink",
""],[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&&(H(0,"div",0),R(1," \u201c "),P(2,mOa,3,3,"span",1),P(3,nOa,3,3,"ng-container",2),P(4,qOa,3,2,"ng-template",null,3,hg),P(6,rOa,2,1,"span",4),R(7," \u201d\n"),I());if(a&2){var c=Lf(5);B(2);F("ngIf",b.leftText);B(1);F("ngIf",b.isExternalLink)("ngIfElse",c);B(3);F("ngIf",b.rightText)}},dependencies:[CO,oM,Ow,$J],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 aGc=new Set(["BR"]);var US=function(a,b,c,d,e){var g=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new E.ReplaySubject(1);this.currentIssueId$=new E.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new E.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(De(Ei),af(function(h){var m=Dl(h.map(function(r){return r.issueId}));return g.issueFridge.watchSet(m).pipe(D(function(r){return new Map(r.map(function(v){return[null==
v?void 0:v.issueId.toString(),v]}))}),D(function(r){return new Map(m.map(function(v){return[v,r.get(v)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(De(Ei),D(function(h){var m=new Map;h=k(h);for(var r=h.next();!r.done;r=h.next()){r=r.value;var v=r.issueId.toString();m.has(v)?m.get(v).push(r):m.set(v,[r])}return m}));this.allMentionedIssues$=(0,E.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(D(function(h){h=k(h);var m=h.next().value;h=h.next().value;return[].concat(ad(h)).filter(function(r){return k(r).next().value!==
g.issueId}).map(function(r){var v=k(r);r=v.next().value;v=v.next().value;var y=m.get(r),A=null==y?void 0:y.map(function(G){var N,Q,Z=null==(N=G.comment)?void 0:null==(Q=N.userPerformingActionUser)?void 0:Q.emailAddress;return{commentNumber:G.sourceCommentNumber,author:(null==Z?void 0:Z.split("@")[0])+"@",issueEvent:G.comment}});return{hasViewAccess:!!v,issueId:r,shortIssueUrl:tqa(g.activeSession.getAppBaseUrl(),r),sourceComments:A,title:null==v?void 0:v.snapshot[0].title,priority:v?v.snapshot[0].priority:
null,relatedLinks:y}})}));this.mentionedIssuesToRender$=(0,E.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(D(function(h){var m=k(h);h=m.next().value;m=m.next().value;return g.paginate?h.slice(0,m):h.slice(0,5)}))};US.prototype.getCommentNumberLink=function(a){return Gwa(this.issueId,{comment:a})};US.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
US.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};wh.Object.defineProperties(US.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}}});US.\u0275fac=function(a){return new (a||US)(C(bt),C(YH),C(WG),C(Cm),C(mM))};
US.\u0275cmp=Mc({type:US,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},decls:2,vars:3,consts:[[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"],["withoutPagination",
""],["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&&(P(0,zOa,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[Nw,Ow,SI,qA,tC,TS,PS,Uw,VS]},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 VS=function(){};VS.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(Ei)};VS.\u0275fac=function(a){return new (a||VS)};VS.\u0275pipe=Rc({name:"toComments",type:VS,pure:!0});var WS=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new E.ReplaySubject(1);this.issueId$=new E.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new E.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(D(function(d){return Jua(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,E.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(D(function(d){var e=k(d);d=e.next().value;
e=e.next().value;return c.paginate?HOa(d,e):6===d.length?HOa(d,6):HOa(d,5)}))};WS.prototype.ngOnInit=function(){};WS.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};wh.Object.defineProperties(WS.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("ab");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return An(this.issueId$)}}});
WS.\u0275fac=function(a){return new (a||WS)(C(WG),C(Cm))};
WS.\u0275cmp=Mc({type:WS,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},decls:2,vars:3,consts:[[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"],["withoutPagination",""],["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&&(P(0,FOa,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.allLinkGroups$))},dependencies:function(){return[PS,Nw,Ow,qA,TS,Uw,XS]},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 GOa=Il(function(a){return Math.min.apply(Math,ad(a.map(function(b){return b.sourceCommentNumber})))},eva),XS=function(){};XS.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(Ei)};XS.\u0275fac=function(a){return new (a||XS)};XS.\u0275pipe=Rc({name:"toComments",type:XS,pure:!0});var YS=function(){ay.apply(this,arguments)};U(YS,ay);YS.\u0275fac=function(){var a;return function(b){return(a||(a=zd(YS)))(b||YS)}}();YS.\u0275dir=Qc({type:YS,selectors:[["","expandable-tab-content",""]],features:[lf]});var ZS=function(){ay.apply(this,arguments)};U(ZS,ay);ZS.\u0275fac=function(){var a;return function(b){return(a||(a=zd(ZS)))(b||ZS)}}();ZS.\u0275dir=Qc({type:ZS,selectors:[["","expandable-tab-header",""]],features:[lf]});var $S=function(){ay.apply(this,arguments)};U($S,ay);
$S.\u0275fac=function(){var a;return function(b){return(a||(a=zd($S)))(b||$S)}}();$S.\u0275dir=Qc({type:$S,selectors:[["","expandable-tab-icon",""]],features:[lf]});var aT=function(){};aT.prototype.ngOnInit=function(){};aT.\u0275fac=function(a){return new (a||aT)};
aT.\u0275cmp=Mc({type:aT,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(dg(c,ZS,5,Zf),dg(c,YS,5,Zf),dg(c,$S,5,Zf));if(a&2){var d;bg(d=eg())&&(b.tabHeaderTemplate=d.first);bg(d=eg())&&(b.tabContentTemplate=d.first);bg(d=eg())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var IOa=function(a){return{tab:a}},bGc=function(a){return{allTabsExpanded:a}},bT=function(){GE.apply(this,arguments);this.internalTabKeys$=new E.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new bK;this.expandedTabsChanged=new pw;this.contentShownChanged=new pw;this.tabs$=new E.BehaviorSubject([]);this.allTabsExpanded$=(0,E.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(D(function(a){a=k(a);var b=a.next().value,c=a.next().value;return b.every(function(d){return c.has(d.key)})}));
this.trackByKey=function(a,b){return b.key}};U(bT,GE);bT.\u0275dir=GE.\u0275dir;
bT.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe($e(void 0),D(function(){return a.internalTabs.toArray()}),D(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),af(function(b){return(0,E.combineLatest)([(0,E.of)(b),a.internalTabKeys$])}),D(function(b){b=k(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add((0,E.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(D(function(b){var c=k(b);b=c.next().value;c=c.next().value;return cqa(new Set(b),new Set(c))}),Ne(Yh)).subscribe(function(b){a.contentShownChanged.emit(b)}))};bT.prototype.ngOnInit=function(){};bT.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,ad(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
bT.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var POa=function(a){var b;return ne(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();se(c)})};
wh.Object.defineProperties(bT.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(ad(a)))},get:function(){var a;return null!=(a=An(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(ad(this.internalExpandedTabs))}}});bT.\u0275fac=function(){var a;return function(b){return(a||(a=zd(bT)))(b||bT)}}();
bT.\u0275cmp=Mc({type:bT,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&dg(c,aT,5);if(a&2){var d;bg(d=eg())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[lf],decls:11,vars:14,consts:[[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"],["headerText",""],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],[4,"ngIf","ngIfElse"],["notExpanded",""],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["mat-button","",1,"gmat-button","small",3,"click"],["class",
"expandable-tab-content","role","tabpanel",3,"id",4,"ngIf"],["role","tabpanel",1,"expandable-tab-content",3,"id"],["noTemplate",""]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),P(2,OOa,8,16,"button",2),S(3,"async"),I(),P(4,QOa,3,6,"ng-container",3),S(5,"async"),I(),H(6,"div",4),P(7,YOa,3,3,"ng-container",5),S(8,"async"),I(),P(9,cPa,3,2,"ng-template",null,6,hg));a&2&&(B(1),pf("aria-label",b.ariaLabel),B(1),F("ngForOf",T(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),B(2),F("ngIf",Sf(12,bGc,T(5,
8,b.allTabsExpanded$))),B(3),F("ngForOf",T(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[Nw,Ow,Tw,bB,qA,Uw],styles:[".expandable-tabs[_ngcontent-%COMP%]{gap:8px}.expandable-tab[_ngcontent-%COMP%]{padding:5px 7px;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%]: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 gPa=function(){return[]},cT=function(a,b,c,d,e,g){GE.call(this);var h=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=g;this.TabKeys=YFc;this.issueId$=new E.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(af(function(m){return h.issueFridge.watch(m)}),De(Ei));this.commentNumberToEventMap$=this.issueId$.pipe(af(function(m){return h.eventsForIssueFridge.watch(m)}),
D(function(m){var r;return null!=(r=null==m?void 0:m.events)?r:[]}),D(function(m){return new Map(m.filter(function(r){return!!r.commentNumber}).map(function(r){return[r.commentNumber,r]}))}));this.relatedLinks$=(0,E.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(D(function(m){m=k(m);var r=m.next().value,v=m.next().value,y;return(null==(y=r.relatedLinks)?void 0:y.map(function(A){return Object.assign({},A,{comment:v.get(A.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(D(function(m){return m.filter(Qva)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(D(function(m){return Cl(m,function(r){return Tva(r.href)})}),D(function(m){return m.length}));this.shouldShowImages$=this.imageLinks$.pipe(D(function(m){return h.activeSession.isInternalSession()&&EE(h.activeSession,"enableImageSummary")&&cGc(h,m)}));this.issues$=this.relatedLinks$.pipe(D(function(m){return m.filter(Uva)}));this.distinctIssuesCount$=this.issues$.pipe(D(function(m){return m.filter(function(r){return r.issueId!==h.issueId})}),D(function(m){return Cl(m,
function(r){return r.issueId})}),D(function(m){return m.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(D(function(m){return EE(h.activeSession,"enableRelatedIssuesWidget")&&!!m}));this.otherLinks$=this.relatedLinks$.pipe(D(function(m){return m.filter(Vva)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(D(function(m){return Cl(m,function(r){return r.href})}),D(function(m){return m.length}));this.shouldShowLinks$=this.otherLinks$.pipe(D(function(m){return EE(h.activeSession,
"enableLinksWidget")&&h.shouldShowLinks(m)}));this.tabKeys$=(0,E.combineLatest)([this.shouldShowImages$.pipe(D(function(m){return{show:m,key:"SW-images"}})),this.shouldShowIssues$.pipe(D(function(m){return{show:m,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(D(function(m){return{show:m,key:"SW-links"}}))]).pipe(D(function(m){return m.filter(function(r){return r.show}).map(function(r){return r.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(D(function(m){return!!m.length}),Me(0,E.asapScheduler));
this.initiallyExpandedTabs=qPa.map(function(m){return ilc(h.userPreferencesManager,m)?void 0:m}).filter(Ei);this.onTabExpanded$=new pw;this.issueSummaryTracking=new ZFc(this.issueInteractionsTracking,this.analytics)};U(cT,GE);cT.\u0275dir=GE.\u0275dir;
cT.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(Ke(1E3),af(function(b){var c=b.expandedTabKeys;return hlc(a.userPreferencesManager,Object.fromEntries(b.allTabKeys.map(function(d){return[d,!c.has(d)]})))})).subscribe());this.subscriptions.add(this.tabKeys$.subscribe(function(b){var c=a.issueSummaryTracking,d=a.issueId;b=new Set(b);for(var e=k(b),g=e.next();!g.done;g=e.next())pp(c.issueInteractionsTracking,
d,g.value+"-available");0<b.size&&pp(c.issueInteractionsTracking,d,"SW-available")}))};cT.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var cGc=function(a,b){if(0===b.length)return!1;b=b.every(function(c){var d;return 1===c.sourceCommentNumber&&"MARKDOWN"===(null==(d=c.comment)?void 0:d.formattingMode)});return rJ(a.userPreferencesManager).showInlineImages&&b?!1:!0};
wh.Object.defineProperties(cT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return An(this.issueId$)}}});cT.\u0275fac=function(a){return new (a||cT)(C(bt),C(qJ),C(PJ),C(YH),C(TH),C(CF))};
cT.\u0275cmp=Mc({type:cT,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[lf],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged",4,"ngIf"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged"],["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"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","click",4,"ngIf"],[3,"issueId","imageLinks","click"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","click",4,"ngIf"],[3,"issueReferences","currentIssueId","click"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","click"]],template:function(a,b){a&1&&(H(0,"h3",
0),R(1,"Issue summary"),I(),P(2,rPa,13,5,"expandable-tabs",1),S(3,"async"));a&2&&(B(2),F("ngIf",T(3,1,b.tabKeys$)))},dependencies:[Ow,bB,aT,YS,ZS,$S,bT,RS,US,WS,Uw],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}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var yPa=function(){return[]},DPa=function(){return{hideHeader:!0,assigneeMode:"avatar-in-progress",showPendingFixCls:!0}},TPa="QA"===xl().config.environmentType?82860:1298542,dT=function(a,b,c,d,e,g){GE.call(this);var h=this;this.hackyPrefs=a;this.issueFridge=b;this.data=c;this.workspaceService=d;this.activeSession=e;this.projectActivity=g;this.makePie=Yva;this.getEndDate=SPa;this.Number=Number;this.makeCritiqueUrl=Xva;this.makeScreenshotViewUrl=UPa;this.log=console.log.bind(console);this.TABLE_COLUMNS=
"focus-indicator drag-handle title assignee status id menu".split(" ");this.maybeIssueId$=new E.BehaviorSubject(void 0);this.issueId$=this.maybeIssueId$.pipe(De(Boolean));this.issue$=this.issueId$.pipe(af(this.issueFridge.watchOne));this.projectData$=this.issueId$.pipe(af(function(m){return Vec(h.data,[m])}),Ye({refCount:!0,bufferSize:1}));this.taskFlowLink$=this.issueId$.pipe(af(function(m){return h.getTaskFlowLink(m)}));this.projectActivityStream$=this.issueId$.pipe(af(function(m){return Vjc(h.projectActivity,
m)}));this.environmentType=this.activeSession.getEnvironmentType()};U(dT,GE);dT.\u0275dir=GE.\u0275dir;dT.prototype.isCollapsed=function(a){return!0===this.neverCollapse?!1:null==a?!0:this.addMode||this.prefs.collapsed["project-"+a]};
dT.prototype.getTaskFlowLink=function(a){var b=this;return Xvc(this.workspaceService,a).pipe(af(function(c){if(0<c.length){c=c[0];switch(b.environmentType){case "NIGHTLY":case "PROD":var d="https://taskflow.corp.google.com/workspaces";break;default:d="https://taskflow-autopush.corp.google.com/workspaces"}c=(0,E.of)(d+"/"+c.workspaceId+"/work_item/b/"+c.issueId)}else c=(0,E.of)(void 0);return c}))};
wh.Object.defineProperties(dT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.maybeIssueId$.next(a)},get:function(){return this.maybeIssueId$.value}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});dT.\u0275fac=function(a){return new (a||dT)(C(NI),C(YH),C(DF),C(wQ),C(bt),C(QI))};
dT.\u0275cmp=Mc({type:dT,selectors:[["issue-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",issueId:"issueId"},features:[lf],decls:5,vars:10,consts:[[1,"carded","bg-main"],[4,"ngIf","ngIfElse"],["noIssue",""],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-button","","title","Save this project to your homepage",1,"gmat-button","add",3,"click"],[1,"main","grow-1"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],["mat-icon-button",
"","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],["mat-menu-item","",3,"href"],[1,"icon-s"],["class","main-content",4,"ngIf"],["class","margin-left-auto flex-kids-x align-items-center","tabIndex",
"0",3,"click",4,"ngIf"],["tabIndex","0",1,"margin-left-auto","flex-kids-x","align-items-center",3,"click"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","",
"src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",3,"click",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats",3,"click"],["class","flex-kids-x align-items-center",3,"title",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"title"],[1,"pie","margin-s-right"],["svgIcon","release-notes-default",
1,"icon-s"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options","projectData"],[1,"",3,"id"],[3,"issueId","alwaysStartCollapsed"],["issueSummaryCard",""],[1,"muted","margin-top"],[3,"href"],["href","https://launch.corp.google.com","target","_blank",1,"subtle-link","muted","margin-right"],["loading",""],["target","_blank",1,"subtle-link","muted","margin-right",3,"href"],
["target","_blank",1,"margin-right",3,"href"],[3,"activityEvents","title"],["loadFailed",""],[1,"muted"],["href","javascript:void(0);",1,"color-bad-text",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,NPa,37,9,"ng-container",1),S(2,"async"),P(3,QPa,3,2,"ng-template",null,2,hg),I());if(a&2){var c=Lf(4);yf("collapsed",b.isCollapsed(b.issueId))("never-collapse-mode",b.neverCollapse)("add-mode",b.addMode);B(1);F("ngIf",T(2,8,b.issue$))("ngIfElse",c)}},dependencies:[Nw,Ow,bB,eQ,qA,PK,wM,lC,
jC,kC,xM,OS,cT,sM,Uw,ax,$w],styles:['[_nghost-%COMP%]{display:block}h4[_ngcontent-%COMP%]   [mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}.card-overflow[_ngcontent-%COMP%]{margin-left:12px;margin-right:-4px}b-issue-description[_ngcontent-%COMP%]{max-height:400px;overflow-y:auto}\n/*# sourceMappingURL=issue_as_project_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});
var RPa=function(a){return function(b){var c,d;return(null!=(d=null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}}(1070134);var eT=function(a,b,c,d){GE.call(this);var e=this;this.hackyPrefs=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.projectSuggestService=d;this.log=console.log.bind(console);this.projectIds$=this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(D(function(g){var h;return null!=(h=null==g?void 0:g.relatedChildren.map(function(m){return m.targetIssueId}))?h:[]}));this.suggestionCount=3;this.suggestedProjects$=(0,E.combineLatest)([$jc(this.projectSuggestService),Ric(this.issueRelationshipsFridge,
this.hackyPrefs.prefs.id,2)]).pipe(D(function(g){g=k(g);var h=g.next().value,m=g.next().value.results.map(function(r){return r.issueId});return h.filter(function(r){return!m.includes(r)})}),af(this.issueFridge.watchSet));this.addProject=function(g){null!=g&&Rn(e.hackyPrefs,g)}};U(eT,GE);eT.\u0275dir=GE.\u0275dir;eT.\u0275fac=function(a){return new (a||eT)(C(NI),C(eI),C(YH),C(RI))};
eT.\u0275cmp=Mc({type:eT,selectors:[["suggested-issue-projects"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[lf],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"flex-kids-y","gap"],[1,"muted"],["mat-icon-button","","href","http://go/b-learn-project-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[4,"ngFor","ngForOf"],["class","muted",4,"ngIf"],["mat-button","","class",
"gmat-button","title","Show more projects",3,"click",4,"ngIf"],[3,"issueId","addMode"],["mat-button","","title","Show more projects",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(P(0,YPa,10,7,"ng-container",0),S(1,"async"),P(2,ZPa,3,0,"ng-template",null,1,hg));if(a&2){var c=Lf(3);F("ngIf",T(1,2,b.suggestedProjects$))("ngIfElse",c)}},dependencies:[Nw,Ow,bB,qA,rA,dT,wM,Uw,ax],styles:["[_nghost-%COMP%] { display: block; }"]});var fT=function(a,b,c){this.dialogRef=a;this.params=c;this.DEFAULTS={};this.data=Object.assign({},this.DEFAULTS,b);this.data.prefilledSearchInput&&""!==this.data.prefilledSearchInput&&(this.userSearchInput=this.data.prefilledSearchInput)};fT.prototype.onEnter=function(){this.onConfirm()};fT.prototype.onEscape=function(){this.dialogRef.close()};
fT.prototype.onConfirm=function(){var a,b=null==(a=this.userSearchInput)?void 0:a.trim();if(null==b?0:b.match(/\d{3,}/))if(null==Xl(b))this.errorMsg="That doesn't look an issue, hotlist, or saved search";else{a:{a=fwa(b);if(null!=a)switch(Xl(b)){case "hotlist":b=Vl(a);break a;case "savedsearch":b=Wl(a);break a;default:b=a;break a}b=void 0}this.dialogRef.close(b)}else this.errorMsg="Please enter an ID. (at least 3 numbers in a row)"};fT.prototype.onCancel=function(){this.dialogRef.close()};
fT.\u0275fac=function(a){return new (a||fT)(C(AA),C(CA),C(IJ))};
fT.\u0275cmp=Mc({type:fT,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},decls:18,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["type","text","mat-input","","placeholder","Enter an ID",1,"search-field",3,"ngModel","keydown.enter","ngModelChange"],["class","color-bad-text margin-s-top",4,"ngIf"],[1,"muted","flex-kids-x","margin-top"],["mat-icon-button","","href","http://go/b-learn-project-add","target","_blank","title",
"Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],["class","suggestions margin-top",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,"disabled","click"],[1,"color-bad-text","margin-s-top"],[1,"suggestions","margin-top"],[1,"flex-hemmed"],[1,"margin-bottom",3,"suggestionCount","disableShowMore","click"],[3,"suggestionCount","disableShowMore","click"]],
template:function(a,b){a&1&&(H(0,"h2",0),R(1," Add a Project\n"),I(),H(2,"div",1)(3,"input",2),M("keydown.enter",function(){return b.onEnter()})("ngModelChange",function(c){return b.userSearchInput=c}),I(),P(4,$Pa,2,1,"p",3),H(5,"div",4)(6,"a",5),J(7,"mat-icon",6),I(),H(8,"p"),R(9,' Add "parent" tracking bugs using their ID. '),J(10,"br"),R(11,' Or, add hotlists and saved searches by URL or with syntax like "hotlist/123456" and "savedsearch-789012". '),I()(),P(12,aQa,9,4,"aside",7),I(),H(13,"div",
8)(14,"button",9),M("click",function(){return b.onCancel()}),R(15," Cancel "),I(),H(16,"button",10),M("click",function(){return b.onConfirm()}),R(17," Confirm "),I()());a&2&&(B(3),F("ngModel",b.userSearchInput),B(1),F("ngIf",b.errorMsg),B(8),F("ngIf",null==b.userSearchInput||0===(null==b.userSearchInput?null:b.userSearchInput.length)),B(4),F("disabled",null==b.userSearchInput||0===b.userSearchInput.length))},dependencies:[Ow,bB,qA,rA,FA,GA,HA,xg,ox,ux,zM,eT],styles:["[_nghost-%COMP%]     .suggestions{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;width:900px}[_nghost-%COMP%]     .suggestions suggested-hotlists>.gap, [_nghost-%COMP%]     .suggestions suggested-issue-projects>.gap{gap:unset}[_nghost-%COMP%]     .suggestions .gap>p:first-of-type{margin-bottom:8px}[_nghost-%COMP%]     .suggestions .carded{border:none;margin:0 -24px;padding:8px}\n/*# sourceMappingURL=project_picker_dialog.css.map */",
".search-field[_ngcontent-%COMP%] {\n      height: 32px;\n      width: 100%;\n    }"]});var gT=function(a){this.dialog=a};gT.prototype.open=function(a,b){var c=this;a=void 0===a?{}:a;var d={panelClass:"no-jitter",data:a};return new Promise(function(e){yA(c.dialog.open(fT,d)).subscribe(function(g){null==b||b(g);e(g)})})};gT.\u0275fac=function(a){return new (a||gT)(u(DA))};gT.\u0275prov=wc({token:gT,factory:gT.\u0275fac,providedIn:"root"});var hT=function(){};hT.\u0275fac=function(a){return new (a||hT)};hT.\u0275mod=Oc({type:hT});hT.\u0275inj=xc({imports:[QC,uD,cG]});var dGc="focus-indicator title type team id assignee status menu".split(" "),eGc="focus-indicator drag-handle title type id assignee status menu".split(" ");var fGc=Wg("indicator",[$g("active-asc, asc",Zg({transform:"translateY(0px)"})),$g("active-desc, desc",Zg({transform:"translateY(10px)"})),ah("active-asc <=> active-desc",Yg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),gGc=Wg("leftPointer",[$g("active-asc, asc",Zg({transform:"rotate(-45deg)"})),$g("active-desc, desc",Zg({transform:"rotate(45deg)"})),ah("active-asc <=> active-desc",Yg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),hGc=Wg("rightPointer",[$g("active-asc, asc",Zg({transform:"rotate(45deg)"})),$g("active-desc, desc",
Zg({transform:"rotate(-45deg)"})),ah("active-asc <=> active-desc",Yg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),iGc=Wg("arrowOpacity",[$g("desc-to-active, asc-to-active, active",Zg({opacity:1})),$g("desc-to-hint, asc-to-hint, hint",Zg({opacity:.54})),$g("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Zg({opacity:0})),ah("* => asc, * => desc, * => active, * => hint, * => void",Yg("0ms")),ah("* <=> *",Yg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),jGc=Wg("arrowPosition",[ah("* => desc-to-hint, * => desc-to-active",
Yg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Zg({transform:"translateY(-25%)"}),Zg({transform:"translateY(0)"})]})),ah("* => hint-to-desc, * => active-to-desc",Yg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Zg({transform:"translateY(0)"}),Zg({transform:"translateY(25%)"})]})),ah("* => asc-to-hint, * => asc-to-active",Yg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Zg({transform:"translateY(25%)"}),Zg({transform:"translateY(0)"})]})),ah("* => hint-to-asc, * => active-to-asc",
Yg("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Zg({transform:"translateY(0)"}),Zg({transform:"translateY(-25%)"})]})),$g("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Zg({transform:"translateY(0)"})),$g("hint-to-desc, active-to-desc, desc",Zg({transform:"translateY(-25%)"})),$g("hint-to-asc, active-to-asc, asc",Zg({transform:"translateY(25%)"}))]),kGc=Wg("allowChildren",[ah("* <=> *",[ch("@*",bh())])]);var iT=function(){this.changes=new E.Subject};iT.\u0275fac=function(a){return new (a||iT)};iT.\u0275prov=wc({token:iT,factory:iT.\u0275fac,providedIn:"root"});var lGc={provide:iT,deps:[[new Jv,new Kv,iT]],useFactory:function(a){return a||new iT}};var mGc=new Zc("MAT_SORT_DEFAULT_OPTIONS"),nGc=Joa(zh(function(){})),jT=function(a){var b=nGc.call(this)||this;b._defaultOptions=a;b.sortables=new Map;b._stateChanges=new E.Subject;b.start="asc";b._direction="";b.sortChange=new pw;return b};U(jT,nGc);f=jT.prototype;f.register=function(a){this.sortables.set(a.id,a)};f.deregister=function(a){this.sortables.delete(a.id)};
f.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=null!=(d=null!=(c=null==a?void 0:a.disableClear)?c:this.disableClear)?d:!(null==(b=this._defaultOptions)||!b.disableClear);b=["asc","desc"];"desc"==(a.start||this.start)&&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})};f.ngOnInit=function(){this._markInitialized()};
f.ngOnChanges=function(){this._stateChanges.next()};f.ngOnDestroy=function(){this._stateChanges.complete()};wh.Object.defineProperties(jT.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}},disableClear:{configurable:!0,enumerable:!0,get:function(){return this._disableClear},set:function(a){this._disableClear=Gg(a)}}});jT.\u0275fac=function(a){return new (a||jT)(C(mGc,8))};
jT.\u0275dir=Qc({type:jT,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[lf,ed]});var oGc=zh(function(){}),kT=function(a,b,c,d,e,g,h,m){var r=oGc.call(this)||this;r._intl=a;r._changeDetectorRef=b;r._sort=c;r._columnDef=d;r._focusMonitor=e;r._elementRef=g;r._ariaDescriber=h;r._showIndicatorHint=!1;r._viewState={};r._arrowDirection="";r._disableViewStateAnimation=!1;r.arrowPosition="after";r._sortActionDescription="Sort";if(null==m?0:m.arrowPosition)r.arrowPosition=null==m?void 0:m.arrowPosition;r._handleStateChanges();return r};U(kT,oGc);f=kT.prototype;
f.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)};
f.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())})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe()};
f._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})))};f._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
f._toggleOnInteraction=function(){this._sort.sort(this);if("hint"===this._viewState.toState||"active"===this._viewState.toState)this._disableViewStateAnimation=!0};f._handleClick=function(){this._isDisabled()||this._sort.sort(this)};f._handleKeydown=function(a){this._isDisabled()||32!==a.keyCode&&13!==a.keyCode||(a.preventDefault(),this._toggleOnInteraction())};f._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)};
f._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};f._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};f._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};f._isDisabled=function(){return this._sort.disabled||this.disabled};
f._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"};f._renderArrow=function(){return!this._isDisabled()||this._isSorted()};f._updateSortActionDescription=function(a){if(this._sortButton){var b;null==(b=this._ariaDescriber)||d_b(b,this._sortButton,this._sortActionDescription);var c;null==(c=this._ariaDescriber)||c.describe(this._sortButton,a)}this._sortActionDescription=a};
f._handleStateChanges=function(){var a=this;this._rerenderSubscription=(0,E.merge)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){if(a._isSorted()){a._updateArrowDirection();if("hint"===a._viewState.toState||"active"===a._viewState.toState)a._disableViewStateAnimation=!0;a._setAnimationTransitionState({fromState:a._arrowDirection,toState:"active"});a._showIndicatorHint=!1}!a._isSorted()&&a._viewState&&"active"===a._viewState.toState&&(a._disableViewStateAnimation=
!1,a._setAnimationTransitionState({fromState:"active",toState:a._arrowDirection}));a._changeDetectorRef.markForCheck()})};wh.Object.defineProperties(kT.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}},disableClear:{configurable:!0,enumerable:!0,get:function(){return this._disableClear},set:function(a){this._disableClear=Gg(a)}}});
kT.\u0275fac=function(a){return new (a||kT)(C(iT),C(Hw),C(jT,8),C("MAT_SORT_HEADER_COLUMN_DEF",8),C(Sx),C(Bd),C($y,8),C(mGc,8))};
kT.\u0275cmp=Mc({type:kT,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&&(pf("aria-sort",b._getAriaSortAttribute()),yf("mat-sort-header-disabled",b._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header",
"id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[lf],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[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&&(Gf(),H(0,"div",0)(1,"div",1),Hf(2),I(),P(3,bQa,6,6,"div",2),I());a&2&&(yf("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),pf("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),B(3),F("ngIf",b._renderArrow()))},dependencies:[Ow],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;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:[fGc,gGc,hGc,iGc,jGc,kGc]},changeDetection:0});var lT=function(a,b,c){GE.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.isOpen=function(e){return Nl(e)};this.getAssigneeString=function(e){var g,h;e=ti(null==e?void 0:null==(g=e.snapshot)?void 0:null==(h=g[0])?void 0:h.assigneeUser);return Fl(e)?e:void 0};this.getPriority=MQa;this.getModifiedTimeMicros=NQa;this.issueIds$=new E.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.options={};this.internalFilters=new bK;this.tableColumns=[].concat(ad(dGc));
this.activeSort$=new E.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(Fn(),D(function(e){return e.map(function(g){return{id:g,issue$:d.issueFridge.watch(g)}})}),Ye({refCount:!0,bufferSize:1}));this.allIssuesAreLoaded$=this.allRows$.pipe(af(function(e){return(0,E.combineLatest)(e.map(function(g){return g.issue$.pipe($e(null))}))}),D(function(e){return e.every(function(g){return null!==g})}));this.unarchivedRows$=this.allRows$.pipe(Je(this.allIssuesAreLoaded$),D(function(e){e=k(e);var g=
e.next().value;return e.next().value?g.filter(function(h){var m;return!(null==(m=Pl(h))?0:m.isArchived)}):g}));this.sortRows=(0,E.pipe)(Je(this.activeSort$,this.allIssuesAreLoaded$),D(function(e){e=k(e);var g=e.next().value,h=e.next().value;return e.next().value?OQa(g,h):g}));this.filterRows=(0,E.pipe)(Je(this.internalFilters.value$),af(function(e){e=k(e);var g=e.next().value,h=e.next().value;return 0===h.size?(0,E.of)(g):(0,E.combineLatest)(g.map(function(m){return m.issue$})).pipe(D(function(m){return g.filter(function(r,
v){return!m[v]||zJa(m[v],h)})}))}));this.rows$=this.unarchivedRows$.pipe(this.filterRows,this.sortRows);this.filteredRowCount$=(0,E.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e.length-g.length}),Ne());this.trackBy=function(e,g){return g.id};this.correctedDisplayedRows=new fg};U(lT,GE);lT.\u0275dir=GE.\u0275dir;f=lT.prototype;
f.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"}].concat(ad(this.menuItemFactory(a)))};f.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
f.ngAfterViewInit=function(){var a=this;(0,E.combineLatest)([this.rows$,this.displayedRows.changes.pipe($e(void 0))]).pipe(bf(this.destroyed$)).subscribe(function(b){b=k(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);ag(a.correctedDisplayedRows)});this.focusManager=hz(new Mqc(this.correctedDisplayedRows,LQa))};
f.navigateToIssue=function(a,b){!b||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=this.getIssueUrl(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?go(this.domSafe,b):Ks(this.router,b))};f.onRowKeydown=function(a,b){this.focusManager.onKeydown(b)};f.onSortChange=function(a){this.activeSort$.next(a)};f.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):jm(a)};
wh.Object.defineProperties(lT.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}},filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}}});lT.\u0275fac=function(a){return new (a||lT)(C(YH),C(WG),C(LK))};
lT.\u0275cmp=Mc({type:lT,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&cg(ZM,5);if(a&2){var c;bg(c=eg())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",options:"options",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[lf],decls:41,vars:10,consts:[["mat-table","","matSort","",1,"full-width",3,"dataSource","trackBy","matSortActive","matSortDirection","matSortChange"],["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",4,"matHeaderCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","team"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","modifiedTime"],["mat-header-cell","","mat-sort-header","modifiedTime",4,"matHeaderCellDef"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick",
"","class","clickable",3,"row","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["mat-cell",""],[3,"id"],[3,"issue","issueUrlFactory"],["mat-header-cell","","mat-sort-header","type"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],["class","medium",3,"email",4,"ngIf"],[1,"medium",3,"email"],["mat-header-cell","","mat-sort-header","reporter"],
["mat-header-cell","","mat-sort-header","priority"],[3,"issuePriority"],["mat-header-cell","","mat-sort-header","status"],["mat-header-cell","","mat-sort-header","createdTime"],["mat-header-cell","","mat-sort-header","modifiedTime"],[4,"ngIf","ngIfElse"],["noData",""],["mode","relativepast",3,"timestamp"],["buttonLabel","More options",3,"menuItems","click"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"]],template:function(a,
b){a&1&&(H(0,"table",0),M("matSortChange",function(e){return b.onSortChange(e)}),S(1,"async"),S(2,"async"),K(3,1),P(4,cQa,1,0,"th",2),P(5,dQa,1,0,"td",3),L(),K(6,4),P(7,eQa,2,0,"th",2),P(8,fQa,2,1,"td",5),L(),K(9,6),P(10,gQa,2,0,"th",2),P(11,hQa,3,4,"td",5),L(),K(12,7),P(13,iQa,2,0,"th",8),P(14,jQa,3,3,"td",5),L(),K(15,9),P(16,mQa,4,2,"th",10),P(17,sQa,4,2,"td",5),L(),K(18,11),P(19,tQa,2,0,"th",12),P(20,uQa,3,3,"td",5),L(),K(21,13),P(22,vQa,2,0,"th",14),P(23,wQa,2,1,"td",5),L(),K(24,15),P(25,xQa,
2,0,"th",16),P(26,yQa,3,3,"td",5),L(),K(27,17),P(28,zQa,2,0,"th",2),P(29,AQa,3,3,"td",5),L(),K(30,18),P(31,BQa,2,0,"th",19),P(32,CQa,3,3,"td",5),L(),K(33,20),P(34,DQa,2,0,"th",21),P(35,GQa,4,2,"td",5),L(),K(36,22),P(37,HQa,1,0,"th",2),P(38,IQa,2,1,"td",5),L(),P(39,JQa,1,0,"tr",23),P(40,KQa,1,1,"tr",24),I());if(a&2){var c,d;F("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=T(1,6,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",null!==(d=null==(d=T(2,
8,b.activeSort$))?null:d.direction)&&void 0!==d?d:"");B(39);F("matHeaderRowDef",b.tableColumns);B(1);F("matRowDefColumns",b.tableColumns)}},dependencies:[Ow,Pw,Qw,Rw,jT,kT,jM,XL,cM,ZL,WL,eM,$L,bM,fM,hM,kL,XK,YK,RM,ZK,$K,cL,iL,jL,mL,ZM,PK,SI,VK,Uw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-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-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}"],
changeDetection:0});var mT=function(){};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275mod=Oc({type:mT});mT.\u0275inj=xc({providers:[lGc],imports:[bx,Lz]});var nT=function(){};nT.\u0275fac=function(a){return new (a||nT)};nT.\u0275mod=Oc({type:nT});nT.\u0275inj=xc({imports:[Zy,Py,Cy,cG,Jx,QC,mT,sO,xN,uD,Kx,bH,NS,aO,hT,cO,eP,eO,$M,zP,TN,IN]});var pGc=["ASSIGNMENT","RESPONSE","CLOSURE"],qGc=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),rGc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),ikb=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var ij=function(a){this.internalArray_=l(a)};U(ij,q);ij.prototype.getComponentId=function(){return uj(this,1)};ij.prototype.setComponentId=function(a){return Nb(this,1,a)};ij.prototype.getEffectiveSloEditPolicy=function(){return aj(this,2,0)};ij.prototype.toObject=function(){return sGc(this)};var sGc=function(a){if(null!=a)return t(a),{componentId:uj(a,1),effectiveSloEditPolicy:aj(a,2,0)}};var tGc=function(a){this.internalArray_=l(a,0,tGc.messageId)};U(tGc,q);tGc.prototype.toObject=function(){if(null!=this){t(this);var a={componentSloEditPolicy:sGc(W(this,ij,1))}}else a=void 0;return a};tGc.messageId="b.GetComponentSloEditPolicyResponse";var oT=function(a){this.internalArray_=l(a,0,oT.messageId)};U(oT,q);oT.prototype.getTeamSloEditPolicy=function(){return W(this,kE,1)};oT.prototype.toObject=function(){if(null!=this){t(this);var a={teamSloEditPolicy:Ubc(this.getTeamSloEditPolicy())}}else a=void 0;return a};oT.messageId="b.GetTeamSloEditPolicyResponse";var pT=function(a){this.internalArray_=l(a,0,pT.messageId)};U(pT,q);pT.repeatedFields_=[1];pT.prototype.toObject=function(){if(null!=this){t(this);var a={slosList:Ub(oj(this,qj,1),Ybc)}}else a=void 0;return a};pT.messageId="b.SloSearchResponse";var qT=function(a){this.internalArray_=l(a,0,qT.messageId)};U(qT,q);qT.prototype.getTeamSloEditPolicy=function(){return W(this,kE,1)};qT.prototype.toObject=function(){if(null!=this){t(this);var a={teamSloEditPolicy:Ubc(this.getTeamSloEditPolicy())}}else a=void 0;return a};qT.messageId="b.UpdateTeamSloEditPolicyResponse";var rT=function(a,b){this.activeSession=a;this.executor=b};f=rT.prototype;f.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:qj}).pipe(D(pj))};f.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};f.search=function(a){return this.executor.get({url:"action/slos",options:{params:{query:a}},responseConstructor:pT}).pipe(D(function(b){var c;return(null!=(c=oj(b,qj,1))?c:[]).map(pj)}))};
f.create=function(a){a=Tra(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:qj}).pipe(D(pj))};f.update=function(a){var b=a.sloId;a=Tra(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:qj}).pipe(D(pj))};rT.\u0275fac=function(a){return new (a||rT)(u(bt),u(wD))};rT.\u0275prov=wc({token:rT,factory:rT.\u0275fac,providedIn:"root"});
var sT=function(a,b){this.observableSlosService=b;var c;this.slosCache=null!=(c=a.get("slos-second-level-cache"))?c:a.create("slos-second-level-cache",{capacity:25})};f=sT.prototype;f.get=function(a){var b=this.slosCache.get(a);return void 0!==b?b:this.slosCache.put(String(a),(0,E.firstValueFrom)(this.observableSlosService.get(a)))};f.getOwnedSlos=function(){return(0,E.firstValueFrom)(this.observableSlosService.getOwnedSlos())};f.search=function(a){return(0,E.firstValueFrom)(this.observableSlosService.search(a))};
f.create=function(a){return(0,E.firstValueFrom)(this.observableSlosService.create(a))};f.update=function(a){return(0,E.firstValueFrom)(this.observableSlosService.update(a))};sT.\u0275fac=function(a){return new (a||sT)(u(mH),u(rT))};sT.\u0275prov=wc({token:sT,factory:sT.\u0275fac,providedIn:"root"});var tT=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.objectiveDisplayText=null;this.iconName="slo-status-no-data"};tT.prototype.getIconName=function(a){return uGc.has(a)?uGc.get(a):"slo-status-no-data"};
tT.prototype.setDisplayValues=function(a,b){this.iconName=this.getIconName(a);b=null!==b?Doc(1E3*b).match(/^(\d+\s\D+)(?:\s|$)/)[1]:"";switch(a){case "COMPLETED":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?"Issue assigned":"RESPONSE"===this.sloMetricDescription?"Response recorded":"CLOSURE"===this.sloMetricDescription?"Issue closed":"SLO fulfilled";break;case "SNOOZED_NEAR":case "SNOOZED_HEALTHY":case "HEALTHY":case "NEAR":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?
b+" to assign":"RESPONSE"===this.sloMetricDescription?b+" to respond":"CLOSURE"===this.sloMetricDescription?b+" to close":b+" left";break;case "OUT_OF_SLO":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?b+" overdue for assignment":"RESPONSE"===this.sloMetricDescription?b+" overdue for response":"CLOSURE"===this.sloMetricDescription?b+" overdue for closure":b+" overdue";break;case "NO_DATA":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?"No assignment SLO":"RESPONSE"===
this.sloMetricDescription?"No response SLO":"CLOSURE"===this.sloMetricDescription?"No closure SLO":"--";break;default:Oh("unknown status type: "+a)}};
tT.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&NJ(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=Doc(1E3*c):this.objectiveDisplayText=null;c=this.sloBounds;NJ(c)&&c.endTime&&0!==c.endTime.seconds&&c.endTime.seconds<=Date.now()/1E3?this.setDisplayValues("COMPLETED",a-this.sloBounds.endTime.seconds):b<a?this.setDisplayValues("OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),
a=b-a,this.setDisplayValues(259200<a?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else this.setDisplayValues("NO_DATA",null),this.objectiveDisplayText=null};tT.\u0275fac=function(a){return new (a||tT)(C(MJ),C(UK))};
tT.\u0275cmp=Mc({type:tT,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[ed],decls:4,vars:6,consts:[[3,"ngClass","svgIcon"],["matTooltipShowDelay","250",1,"slo-time-indicator-text",3,"matTooltip","matTooltipDisabled"],[1,"slo-status-text"]],template:function(a,b){a&1&&(J(0,"mat-icon",0),H(1,"span",
1)(2,"span",2),R(3),I()());a&2&&(F("ngClass",b.iconName)("svgIcon",b.iconName),pf("aria-label","--"===b.timeDisplayText?"No SLO data":""),B(1),If("matTooltip","",b.objectiveDisplayText," total"),F("matTooltipDisabled",!b.includeObjective||!b.objectiveDisplayText),B(2),Nf(b.timeDisplayText))},dependencies:[Mw,bB,tC],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}"],
changeDetection:0});var uGc=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 uT=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};uT.prototype.ngOnInit=function(){vGc(this);this.hasSlo=!!this.sloStatus&&Vlc(this.sloStatus)};uT.prototype.ngOnChanges=function(){vGc(this)};var vGc=function(a){a.sloStatus&&(a.assignmentSlo=wGc(Bi(a.sloStatus.assignmentBounds)),a.responseSlo=wGc(Bi(a.sloStatus.responseBounds)),a.closureSlo=wGc(Bi(a.sloStatus.closureBounds)))};uT.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var wGc=function(a){if(NJ(a))return a};uT.\u0275fac=function(a){return new (a||uT)(C(MJ))};
uT.\u0275cmp=Mc({type:uT,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[ed],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&&(P(0,PQa,2,4,"div",0),P(1,QQa,2,4,"div",0),P(2,RQa,2,4,"div",0));a&2&&(F("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),B(1),F("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),B(1),F("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[Ow,tT],encapsulation:2,changeDetection:0});var vT=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};vT.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&Wlc(this.sloStatus,this.onlyShowMetric);"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),xGc(this)):this.editSloLink=null};vT.prototype.trackOpenSlo=function(){this.analytics.trackEvent(io.EDIT_SLO,"open","fromSloStatusCard")};
var xGc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};vT.\u0275fac=function(a){return new (a||vT)(C(MJ),C(dH),C(TH),C(sT))};
vT.\u0275cmp=Mc({type:vT,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",onlyShowMetric:"onlyShowMetric"},ngContentSelectors:["*"],decls:10,vars:4,consts:[[3,"onedevHovercardTrigger"],["card",""],["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,"href","click"]],template:function(a,b){a&1&&(Gf(),H(0,"span",0),Hf(1),I(),H(2,"onedev-hovercard",null,1)(4,"div",2)(5,"div",3)(6,"div",4),P(7,SQa,2,3,"div",5),P(8,VQa,3,2,"div",6),P(9,YQa,4,2,"span",7),I()()()());if(a&2){var c=Lf(3);F("onedevHovercardTrigger",c);B(7);F("ngIf",b.hasSlo);B(1);F("ngIf",!b.hasSlo);B(1);F("ngIf",b.editSloLink)}},dependencies:[Ow,jK,oK,uT],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 wT=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};wT.prototype.ngOnInit=function(){yGc(this)};wT.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&yGc(this)};var yGc=function(a){var b=Xlc(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
wT.\u0275fac=function(a){return new (a||wT)(C(MJ))};
wT.\u0275cmp=Mc({type:wT,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[ed],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&J(0,"b-slo-time-indicator",0);a&2&&F("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[tT],encapsulation:2,changeDetection:0});var xT=function(){};xT.\u0275fac=function(a){return new (a||xT)};xT.\u0275mod=Oc({type:xT});xT.\u0275inj=xc({imports:[cG,uD]});var yT=function(){};yT.\u0275fac=function(a){return new (a||yT)};yT.\u0275mod=Oc({type:yT});yT.\u0275inj=xc({imports:[cG,xT]});var zT=function(){};zT.\u0275fac=function(a){return new (a||zT)};zT.\u0275mod=Oc({type:zT});zT.\u0275inj=xc({imports:[cG,JN,yT]});var AT=function(){};AT.\u0275fac=function(a){return new (a||AT)};AT.\u0275mod=Oc({type:AT});AT.\u0275inj=xc({imports:[cG,xT]});var zGc=function(a,b){this.dialogRef=b;this.supportedColumns=aqc;this.currentColumns=[];this.updatedColumns=this.currentColumns=a.currentColumns};zGc.\u0275fac=function(a){return new (a||zGc)(C(CA),C(AA))};
zGc.\u0275cmp=Mc({type:zGc,selectors:[["customize-columns-dialog"]],decls:9,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["class","padded-s-y",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"click"],[1,"padded-s-y"],[1,"margin-right",3,"checked","change"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Show or Hide Columns"),I(),H(2,"div",1)(3,"div"),P(4,ZQa,3,2,"div",2),S(5,"keyvalue"),I()(),
H(6,"div",3)(7,"button",4),M("click",function(){b.dialogRef.close(b.updatedColumns)}),R(8," Save "),I()());a&2&&(B(4),F("ngForOf",T(5,1,b.supportedColumns)))},dependencies:[Nw,qA,FA,GA,HA,BO,Zw],encapsulation:2});var lRa="QA"===xl().config.environmentType?82860:1298542,BT=function(a,b,c,d){var e=this;this.hackyPrefs=a;this.issueFridge=b;this.issueFrFridge=c;this.data=d;this.makePie=Yva;this.getEndDate=kRa;this.Number=Number;this.makeCritiqueUrl=Xva;this.makeScreenshotViewUrl=mRa;this.log=console.log.bind(console);this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(af(this.issueFridge.watchOne));this.issueFr$=this.issueId$.pipe(af(this.issueFrFridge.watchOne));this.projectData$=this.issueId$.pipe(af(function(g){return Vec(e.data,
[g])}),Ye({refCount:!0,bufferSize:1}))};wh.Object.defineProperties(BT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});BT.\u0275fac=function(a){return new (a||BT)(C(NI),C(YH),C(aI),C(DF))};
BT.\u0275cmp=Mc({type:BT,selectors:[["issue-as-immersed-card"]],inputs:{issueId:"issueId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","click",4,"ngIf"],[1,"carded","bg-main",3,"click"],[1,"flex-kids-x"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],[1,"symbol","arrow",3,"click"],[1,"muted","item-id"],["class","margin-left-auto flex-kids-x align-items-center","tabIndex","0",3,"click",4,"ngIf"],["class","flex-kids-x align-items-center gap stats margin-s-top",3,"click",4,
"ngIf"],[1,"margin-s-top"],[4,"ngIf"],["tabIndex","0",1,"margin-left-auto","flex-kids-x","align-items-center",3,"click"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],[3,"email",4,"ngFor","ngForOf"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[3,"email"],[1,"flex-kids-x",
"align-items-center","gap","stats","margin-s-top",3,"click"],[3,"issuePriority"],["href","#"],[1,"muted",3,"click"]],template:function(a,b){a&1&&(P(0,iRa,17,14,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[Nw,Ow,PK,SI,Uw,ax],styles:['[_nghost-%COMP%]{display:block}h4[_ngcontent-%COMP%]   [mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.collapsed[_ngcontent-%COMP%]   .item-id[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.symbol[_ngcontent-%COMP%]{display:inline-block;font-style:normal;vertical-align:middle}.symbol.arrow[_ngcontent-%COMP%]{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid transparent;border-top-color:#80868b;border-top-color:var(--gfx-muted)}\n/*# sourceMappingURL=issue_as_immersed_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});
var jRa=function(a){return function(b){var c,d;return(null!=(d=null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}}(1070134);var AGc=new Zc("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});new Zc("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1}}});var BGc=0,CGc=Ah(xh(yh(zh(function(a){this._elementRef=a})))),CT=function(a,b,c,d,e,g,h){a=CGc.call(this,a)||this;a._focusMonitor=b;a._changeDetectorRef=c;a.defaults=e;a._onChange=function(){};a._onTouched=function(){};a._required=!1;a._checked=!1;a.name=null;a.labelPosition="after";a.ariaLabel=null;a.ariaLabelledby=null;a._hideIcon=!1;a.change=new pw;a.toggleChange=new pw;a.tabIndex=parseInt(d)||0;a.color=a.defaultColor=e.color||"accent";a._noopAnimations="NoopAnimations"===g;a.id=a._uniqueId=h+
++BGc;var m;a._hideIcon=null!=(m=e.hideIcon)?m:!1;return a};U(CT,CGc);f=CT.prototype;f.ngAfterContentInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){"keyboard"===b||"program"===b?(a._focused=!0,a._changeDetectorRef.markForCheck()):b||Promise.resolve().then(function(){a._focused=!1;a._onTouched();a._changeDetectorRef.markForCheck()})})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
f.writeValue=function(a){this.checked=!!a};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};f.toggle=function(){this.checked=!this.checked;this._onChange(this.checked)};f._emitChangeEvent=function(){this._onChange(this.checked);this.change.emit(this._createChangeEvent(this.checked))};
wh.Object.defineProperties(CT.prototype,{required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Gg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=Gg(a);this._changeDetectorRef.markForCheck()}},hideIcon:{configurable:!0,enumerable:!0,get:function(){return this._hideIcon},set:function(a){this._hideIcon=Gg(a)}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+
"-input"}}});CT.\u0275fac=function(){Fd()};CT.\u0275dir=Qc({type:CT,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[lf]});var DT=function(){};DT.\u0275fac=function(a){return new (a||DT)};DT.\u0275mod=Oc({type:DT});DT.\u0275inj=xc({});var DGc=["input"],EGc=function(a){return{enterDuration:a}},FGc={provide:dx,useExisting:Cc(function(){return ET}),multi:!0},GGc=function(a,b){this.source=a;this.checked=b},ET=function(a,b,c,d,e,g){return CT.call(this,a,b,c,d,e,g,"mat-slide-toggle-")||this};U(ET,CT);ET.\u0275dir=CT.\u0275dir;f=ET.prototype;f._createChangeEvent=function(a){return new GGc(this,a)};
f._onChangeEvent=function(a){a.stopPropagation();this.toggleChange.emit();this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())};f._onInputClick=function(a){a.stopPropagation()};f.focus=function(a,b){b?Tx(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};f._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};
ET.\u0275fac=function(a){return new (a||ET)(C(Bd),C(Sx),C(Hw),ud("tabindex"),C(AGc),C(Ov,8))};
ET.\u0275cmp=Mc({type:ET,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&cg(DGc,5);if(a&2){var c;bg(c=eg())&&(b._inputElement=c.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(Ef("id",b.id),pf("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),yf("mat-checked",b.checked)("mat-disabled",b.disabled)("mat-slide-toggle-label-before","before"==b.labelPosition)("_mat-animation-noopable",b._noopAnimations))},inputs:{disabled:"disabled",
disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[Pf([FGc]),lf],ngContentSelectors:["*"],decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple",
"mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(a,b){a&1&&(Gf(),H(0,"label",0,1)(2,"span",2)(3,"input",3,4),M("change",function(e){return b._onChangeEvent(e)})("click",function(e){return b._onInputClick(e)}),I(),H(5,"span",5),J(6,"span",6),H(7,"span",
7),J(8,"span",8),I()()(),H(9,"span",9,10),M("cdkObserveContent",function(){return b._onLabelTextChange()}),H(11,"span",11),R(12,"\u00a0"),I(),Hf(13),I()());if(a&2){var c=Lf(1),d=Lf(10);pf("for",b.inputId);B(2);yf("mat-slide-toggle-bar-no-side-margin",!d.textContent||!d.textContent.trim());B(1);F("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex)("checked",b.checked)("disabled",b.disabled);pf("name",b.name)("aria-checked",b.checked)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",
b.ariaDescribedby);B(4);F("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Sf(18,EGc,b._noopAnimations?0:150))}},dependencies:[Sz,Wy],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}\n'],
encapsulation:2,changeDetection:0});var FT=function(a,b){this.queryIssues=a;this.hackyPrefs=b;this.selfReference="assigned-to-me";this.hideAssignedSetting=!1;var c;this.isAssignedToMeOnly=null!=(c=this.hackyPrefs.prefs.showAssignedToMeOnly)?c:!1;this.columnsToDisplay=Ajc.slice();this.myWorkIssueIds$=(0,E.of)([])};
FT.prototype.ngOnInit=function(){null!=this.assignedOnly&&(this.selfReference=this.assignedOnly?"assigned-to-me":"recent-stuff-i-follow",this.isAssignedToMeOnly=this.assignedOnly,this.hideAssignedSetting=!0);this.myWorkIssueIds$=HGc(this,this.isAssignedToMeOnly).pipe(D(function(a){return a.map(function(b){return b.issueId})}))};FT.prototype.isCollapsed=function(){return this.prefs.collapsed[this.selfReference]};FT.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed(this.selfReference)};
var nRa=function(a,b){Op(a.hackyPrefs,{showAssignedToMeOnly:b});a.myWorkIssueIds$=HGc(a,b).pipe(D(function(c){return c.map(function(d){return d.issueId})}))},HGc=function(a,b){return b?rjc(a.queryIssues):qjc(a.queryIssues)},IGc=function(a){var b=$l(),c=Yl()!==Zl?"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+") status:open modified:30d":"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+" OR star:true) status:open modified:30d";a.isAssignedToMeOnly&&(c="assignee:"+b+" status:open modified:30d");
return"/issues?q="+c};wh.Object.defineProperties(FT.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});FT.\u0275fac=function(a){return new (a||FT)(C(FI),C(NI))};
FT.\u0275cmp=Mc({type:FT,selectors:[["my-work-card"]],inputs:{assignedOnly:"assignedOnly"},decls:37,vars:18,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"muted","item-id"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],[3,"ngModel","ngModelChange","change",4,"ngIf"],["mat-icon-button","","aria-label","More options",
"aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],[1,"main-content"],[4,"ngIf","ngIfElse"],[1,"margin-s-top"],[3,"href"],["loading",""],[3,"ngModel","ngModelChange","change"],[3,"issueIds","displayedColumns",
"assigneeMode"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4),H(5,"button",4),M("click",function(){return b.toggleCollapsed()}),J(6,"mat-icon",5),I()(),H(7,"span",6),R(8),I()(),H(9,"div",7),P(10,oRa,2,1,"mat-slide-toggle",8),H(11,"button",9),J(12,"mat-icon",10),I(),H(13,"mat-menu",null,11)(15,"button",12),M("click",function(){return qp(b.hackyPrefs,b.selfReference,-1)}),J(16,"mat-icon",13),H(17,"span",14),R(18,"Move up"),I()(),H(19,"button",12),M("click",function(){return qp(b.hackyPrefs,
b.selfReference,1)}),J(20,"mat-icon",15),H(21,"span",14),R(22,"Move down"),I()(),J(23,"mat-divider"),H(24,"button",16),M("click",function(){return rp(b.hackyPrefs,b.selfReference)}),J(25,"mat-icon",17),H(26,"span",14),R(27,"Remove"),I()()()()(),H(28,"div",18),P(29,pRa,2,3,"ng-container",19),S(30,"slice"),S(31,"async"),H(32,"div",20)(33,"a",21),R(34,"View all issues"),I()(),P(35,qRa,1,0,"ng-template",null,22,hg),I()());if(a&2){var c=Lf(14),d=Lf(36);yf("collapsed",b.isCollapsed());B(4);Mf(" ",b.isAssignedToMeOnly?
"Assigned to me":"My related issues"," ");B(1);pf("aria-label",b.isCollapsed()?"Expand card":"Collapse card");B(3);Mf(" ",b.isAssignedToMeOnly?"assigned and modified in last 30 days":"assigned, starred, commented, reported"," ");B(2);F("ngIf",!b.hideAssignedSetting);B(1);F("matMenuTriggerFor",c);B(4);F("disabled",!sp(b.hackyPrefs,b.selfReference,-1));B(4);F("disabled",!sp(b.hackyPrefs,b.selfReference,1));B(10);F("ngIf",Wf(30,12,T(31,16,b.myWorkIssueIds$),0,15))("ngIfElse",d);B(4);F("href",IGc(b),
Sd)}},dependencies:[Ow,bB,qA,kM,wM,lC,jC,kC,xM,ET,ox,ux,Uw,ax],styles:["[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.collapsed[_ngcontent-%COMP%]   .card-controls[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     .mat-icon-button .mat-icon{margin-top:-1px}\n/*# sourceMappingURL=my_work_card.css.map */",
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});var vRa=function(){return[]},GT=function(a,b,c,d,e){var g=this;this.issueFridge=a;this.savedSearchesApi=b;this.data=c;this.hackyPrefs=d;this.projectActivity=e;this.makeCritiqueUrl=Xva;this.savedSearchId$=new E.ReplaySubject(1);this.savedSearchIssueIds$=this.savedSearchId$.pipe(af(function(h){return g.issueFridge.watchMany({filter:"savedsearchid:"+h+" status:open",pageSize:100,sort:"modified_time:desc"})}),D(function(h){return h.results}),D(function(h){return h.map(function(m){return m.issueId})}));
this.savedSearchMetadata$=this.savedSearchId$.pipe(af(function(h){return g.savedSearchesApi.get(h)}));this.savedSearchActivityEvents$=this.savedSearchId$.pipe(af(function(h){return Xjc(g.projectActivity,h)}));this.savedSearchAggregatedData$=this.savedSearchIssueIds$.pipe(af(function(h){return $ec(g.data,[].concat(ad(h)))}),Ye({refCount:!0,bufferSize:1}));this.columnsToDisplay="title assignee priority status id menu".split(" ")};
GT.prototype.isCollapsed=function(a){a=a.searchId;return!0===this.neverCollapse?!1:this.addMode||this.prefs.collapsed["savedsearch-"+a]};GT.prototype.reorder=function(a,b){qp(this.hackyPrefs,Wl(a),b)};GT.prototype.canMove=function(a,b){return sp(this.hackyPrefs,Wl(a),b)};wh.Object.defineProperties(GT.prototype,{savedSearchId:{configurable:!0,enumerable:!0,set:function(a){this.savedSearchId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
GT.\u0275fac=function(a){return new (a||GT)(C(YH),C(iI),C(DF),C(NI),C(QI))};
GT.\u0275cmp=Mc({type:GT,selectors:[["saved-search-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",savedSearchId:"savedSearchId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"never-collapse-mode","collapsed",4,"ngIf"],[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-button","","title","Save this to your homepage",1,"gmat-button","add",3,"click"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,
"href"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[4,"ngIf"],["class","main-content",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],["mat-menu-item","",3,"href"],[1,"icon-s"],["class","margin-left-auto flex-kids-x align-items-center",
4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",
2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],[3,"href"],[3,"issueIds","displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],template:function(a,
b){a&1&&(P(0,FRa,35,13,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.savedSearchMetadata$))},dependencies:[Nw,Ow,bB,qA,PK,kM,wM,lC,jC,kC,xM,sM,Uw,ax],styles:['[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}.card-overflow[_ngcontent-%COMP%]{margin-left:12px;margin-right:-4px}\n/*# sourceMappingURL=saved_search_as_project_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});var HT=function(){};HT.\u0275fac=function(a){return new (a||HT)};HT.\u0275mod=Oc({type:HT});HT.\u0275inj=xc({imports:[cG,zP,JN,IN]});var IT=function(){};IT.\u0275fac=function(a){return new (a||IT)};IT.\u0275mod=Oc({type:IT});IT.\u0275inj=xc({imports:[cG]});var JT=function(){};JT.\u0275fac=function(a){return new (a||JT)};JT.\u0275mod=Oc({type:JT});JT.\u0275inj=xc({imports:[Lz,Lz]});new Zc("ListOption");new Zc("MAT_LIST_CONFIG");new Zc("SelectionList");new Zc("MatList");new Zc("MatNavList");zh(yh(function(){}));yh(function(){});var JGc=function(){};JGc.\u0275fac=function(a){return new (a||JGc)};JGc.\u0275dir=Qc({type:JGc,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]});var KGc=function(){};KGc.\u0275fac=function(a){return new (a||KGc)};KGc.\u0275dir=Qc({type:KGc,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]});var LGc=["text"],MGc=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],NGc=yh(function(){}),OGc=yh(function(){}),PGc={provide:dx,useExisting:Cc(function(){return KT}),multi:!0},QGc=function(a,b){this.source=a;this.options=b},LT=function(a,b,c){var d=OGc.call(this)||this;d._element=a;d._changeDetector=b;d.selectionList=c;d._selected=!1;d._disabled=!1;d._hasFocus=!1;d.selectedChange=new pw;d.checkboxPosition="after";d._inputsInitialized=!1;return d};
U(LT,OGc);f=LT.prototype;f.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._changeDetector.markForCheck()});this._inputsInitialized=!0};f.ngAfterContentInit=function(){Loa(this._lines,this._element)};
f.ngOnDestroy=function(){var a=this;this.selected&&Promise.resolve().then(function(){a.selected=!1});var b=this._hasFocus,c=this.selectionList._removeOptionFromList(this);b&&c&&c.focus()};f.toggle=function(){this.selected=!this.selected};f.focus=function(){this._element.nativeElement.focus()};f.getLabel=function(){return this._text?this._text.nativeElement.textContent||"":""};f._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple};
f._handleClick=function(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent([this]))};f._handleFocus=function(){this.selectionList._setFocusedOption(this);this._hasFocus=!0};f._handleBlur=function(){this.selectionList._onTouched();this._hasFocus=!1};f._getHostElement=function(){return this._element.nativeElement};
f._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._changeDetector.markForCheck();return!0};f._markForCheck=function(){this._changeDetector.markForCheck()};
wh.Object.defineProperties(LT.prototype,{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&&!this.selectionList.compareWith(a,this.value)&&this._inputsInitialized&&(this.selected=!1);this._value=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},
set:function(a){a=Gg(a);a!==this._disabled&&(this._disabled=a,this._changeDetector.markForCheck())}},selected:{configurable:!0,enumerable:!0,get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(a){a=Gg(a);a!==this._selected&&(this._setSelected(a),(a||this.selectionList.multiple)&&this.selectionList._reportValueChange())}}});LT.\u0275fac=function(a){return new (a||LT)(C(Bd),C(Hw),C(Cc(function(){return KT})))};
LT.\u0275cmp=Mc({type:LT,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(dg(c,JGc,5),dg(c,KGc,5),dg(c,R_b,5));if(a&2){var d;bg(d=eg())&&(b._avatar=d.first);bg(d=eg())&&(b._icon=d.first);bg(d=eg())&&(b._lines=d)}},viewQuery:function(a,b){a&1&&cg(LGc,5);if(a&2){var c;bg(c=eg())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&M("focus",function(){return b._handleFocus()})("blur",
function(){return b._handleBlur()})("click",function(){return b._handleClick()});a&2&&(pf("aria-selected",b.selected)("aria-disabled",b.disabled)("tabindex",-1),yf("mat-list-item-disabled",b.disabled)("mat-list-item-with-avatar",b._avatar||b._icon)("mat-primary","primary"===b.color)("mat-accent","primary"!==b.color&&"warn"!==b.color)("mat-warn","warn"===b.color)("mat-list-single-selected-option",b.selected&&!b.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",
color:"color",value:"value",disabled:"disabled",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[lf],ngContentSelectors:["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(a,b){a&1&&(Gf(MGc),
H(0,"div",0),J(1,"div",1),P(2,GRa,1,2,"mat-pseudo-checkbox",2),H(3,"div",3,4),Hf(5),I(),Hf(6,1),I());a&2&&(yf("mat-list-item-content-reverse","after"==b.checkboxPosition),B(1),F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b._isRippleDisabled()),B(1),F("ngIf",b.selectionList.multiple))},dependencies:[Sz,Tz,Ow],encapsulation:2,changeDetection:0});
var KT=function(a,b,c){var d=NGc.call(this)||this;d._element=a;d._changeDetector=b;d._focusMonitor=c;d._multiple=!0;d._contentInitialized=!1;d.selectionChange=new pw;d.color="accent";d.compareWith=function(e,g){return e===g};d._disabled=!1;d.selectedOptions=new tz(d._multiple);d._tabIndex=-1;d._onChange=function(){};d._destroyed=new E.Subject;d._onTouched=function(){};return d};U(KT,NGc);f=KT.prototype;
f.ngAfterContentInit=function(){var a=this;this._contentInitialized=!0;this._keyManager=i_b(h_b(hz(j_b(ez(new kz(this.options)))),function(){return!1}));this._value&&this._setOptionsFromValues(this._value);this._keyManager.tabOut.subscribe(function(){return a._allowFocusEscape()});this.options.changes.pipe($e(null),bf(this._destroyed)).subscribe(function(){a._updateTabIndex()});this.selectedOptions.changed.pipe(bf(this._destroyed)).subscribe(function(b){if(b.added)for(var c=k(b.added),d=c.next();!d.done;d=
c.next())d.value.selected=!0;if(b.removed)for(b=k(b.removed),d=b.next();!d.done;d=b.next())d.value.selected=!1});this._focusMonitor.monitor(this._element).pipe(bf(this._destroyed)).subscribe(function(b){if("keyboard"===b||"program"===b){for(var c=b=0;c<a.options.length;c++){var d=void 0;if(null==(d=a.options.get(c))?0:d.selected){b=c;break}}a._keyManager.setActiveItem(b)}})};f.ngOnChanges=function(a){var b=a.disableRipple;a=a.color;(b&&!b.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()};
f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._focusMonitor.stopMonitoring(this._element);this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0};f.focus=function(a){this._element.nativeElement.focus(a)};f.selectAll=function(){this._setAllOptionsSelected(!0)};f.deselectAll=function(){return this._setAllOptionsSelected(!1)};f._setFocusedOption=function(a){iz(this._keyManager,a)};
f._removeOptionFromList=function(a){a=this._getOptionIndex(a);-1<a&&this._keyManager.activeItemIndex===a&&(0<a?iz(this._keyManager,a-1):0===a&&1<this.options.length&&iz(this._keyManager,Math.min(a+1,this.options.length-1)));return this._keyManager.activeItem};
f._keydown=function(a){var b=a.keyCode,c=this._keyManager,d=c.activeItemIndex,e=Kg(a);switch(b){case 32:case 13:e||0<c._pressedLetters.length||(this._toggleFocusedOption(),a.preventDefault());break;default:if(65!==b||!this.multiple||!Kg(a,"ctrlKey")||0<c._pressedLetters.length)c.onKeydown(a);else e=this.options.some(function(g){return!g.disabled&&!g.selected}),this._setAllOptionsSelected(e,!0,!0),a.preventDefault()}this.multiple&&(38===b||40===b)&&a.shiftKey&&c.activeItemIndex!==d&&this._toggleFocusedOption()};
f._reportValueChange=function(){if(this.options&&!this._isDestroyed){var a=this._getSelectedOptionValues();this._onChange(a);this._value=a}};f._emitChangeEvent=function(a){this.selectionChange.emit(new QGc(this,a))};f.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};f.setDisabledState=function(a){this.disabled=a};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};
f._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)})};f._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};
f._toggleFocusedOption=function(){var a=this._keyManager.activeItemIndex;null!=a&&this._isValidIndex(a)&&(!(a=this.options.toArray()[a])||a.disabled||!this._multiple&&a.selected||(a.toggle(),this._emitChangeEvent([a])))};f._setAllOptionsSelected=function(a,b,c){var d=[];this.options.forEach(function(e){b&&e.disabled||!e._setSelected(a)||d.push(e)});d.length&&(this._reportValueChange(),c&&this._emitChangeEvent(d));return d};f._isValidIndex=function(a){return 0<=a&&a<this.options.length};
f._getOptionIndex=function(a){return this.options.toArray().indexOf(a)};f._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};f._allowFocusEscape=function(){var a=this;this._tabIndex=-1;setTimeout(function(){a._tabIndex=0;a._changeDetector.markForCheck()})};f._updateTabIndex=function(){this._tabIndex=0===this.options.length?-1:0};
wh.Object.defineProperties(KT.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Gg(a);this._markOptionsForCheck()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=Gg(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new tz(this._multiple,this.selectedOptions.selected))}}});KT.\u0275fac=function(a){return new (a||KT)(C(Bd),C(Hw),C(Sx))};
KT.\u0275cmp=Mc({type:KT,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&dg(c,LT,5);if(a&2){var d;bg(d=eg())&&(b.options=d)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._keydown(c)});a&2&&pf("aria-multiselectable",b.multiple)("aria-disabled",b.disabled.toString())("tabindex",b._tabIndex)},inputs:{disableRipple:"disableRipple",color:"color",compareWith:"compareWith",disabled:"disabled",
multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Pf([PGc]),lf,ed],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Gf(),Hf(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::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 [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],
encapsulation:2,changeDetection:0});var MT=function(){};MT.\u0275fac=function(a){return new (a||MT)};MT.\u0275mod=Oc({type:MT});MT.\u0275inj=xc({imports:[Rz,Vz,Lz,Wz,bx,Rz,Lz,Wz,JT]});var NT=function(){};NT.\u0275fac=function(a){return new (a||NT)};NT.\u0275mod=Oc({type:NT});NT.\u0275inj=xc({imports:[cG,mC,QC,IA,JT,RA,MT,uD,sO,gO,fP,Jx,rP]});var OT=function(){};OT.\u0275fac=function(a){return new (a||OT)};OT.\u0275mod=Oc({type:OT});OT.\u0275inj=xc({imports:[cG,NS,IT,bO,QC,uD,NT,rP]});var PT=function(){};PT.\u0275fac=function(a){return new (a||PT)};PT.\u0275mod=Oc({type:PT});PT.\u0275inj=xc({imports:[NS,OT,kP,cG,IN,JN,ZO,QC,uD,NT,$N,eO,zP]});var QT=function(){this.admins=[]};QT.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=qi(this.hotlist.adminUsers)};QT.\u0275fac=function(a){return new (a||QT)};
QT.\u0275cmp=Mc({type:QT,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&&(H(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),I()(),H(6,"ul")(7,"li"),R(8),I(),H(9,"li"),R(10),I()(),H(11,"div")(12,"p"),R(13),I()()()()());a&2&&(B(4),F("href",b.url,Sd),B(1),Nf(b.hotlist.name),B(3),Mf("ID: ",b.hotlist.hotlistId,""),B(2),Of("",1===
b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),B(3),Nf(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 RGc={CREATE_COMPONENT:"components/new",CREATE_ISSUE:"issues/new",DASHBOARD:function(a){return"dashboard/"+a},EDIT_COMPONENT:function(a){return"components/"+a+"/edit"},EDIT_ISSUE:function(a){return"issues/"+a},LIST_COMPONENTS:"components",LIST_ISSUES:"issues",NEEDS_ATTENTION:"attention",CREATE_BOOKMARK_GROUP:"bookmark-groups/new",VIEW_BOOKMARK_GROUP:function(a){return"bookmark-groups/"+a},VIEW_COMPONENT:function(a){return"components/"+a},VIEW_HOTLIST:function(a){return"hotlists/"+a},EDIT_HOTLIST:function(a){return"hotlists/"+
a+"/edit"},CREATE_HOTLIST:"hotlists/new",LIST_HOTLISTS:"hotlists",CREATE_SLO:"slos/new",VIEW_SLO:function(a){return"slos/"+a},EDIT_SLO:function(a){return"slos/"+a+"/edit"},LIST_SLOS:"slos",VIEW_SAVEDSEARCH:function(a){return"savedsearches/"+a},EDIT_BOOKMARK_GROUP:function(a){return"bookmark-groups/"+a+"/edit"},MANAGE_COMPONENT:function(a){return"components/"+a+"/manage"},MANAGE_COMPONENT_ACL:function(a){return"components/"+a+"/manage#access"},EDIT_SAVED_SEARCH:function(a){return"savedsearches/"+a+
"/edit"},SETTINGS:"settings"},SGc=new Zc("routes",{providedIn:"root",factory:function(){return RGc}}),RT=function(a){this.routes=a};f=RT.prototype;f.createIssue=function(a){return tp(this.routes.CREATE_ISSUE,{params:a})};f.editIssue=function(a,b){return up(this.routes.EDIT_ISSUE(a),{id:a,params:b})};f.listIssues=function(a){return tp(this.routes.LIST_ISSUES,{params:a})};f.viewSavedSearch=function(a){return up(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
f.viewHotlist=function(a){return up(this.routes.VIEW_HOTLIST(a),{id:a})};f.editHotlist=function(a){return tp(this.routes.EDIT_HOTLIST(a),{id:a,tab:void 0})};f.createHotlist=function(){return this.routes.CREATE_HOTLIST};f.createBookmarkGroup=function(){return this.routes.CREATE_BOOKMARK_GROUP};f.viewBookmarkGroup=function(a){return up(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};f.editBookmarkGroup=function(a){return tp(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
f.editSavedSearch=function(a){return tp(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};f.dashboard=function(a){return tp(this.routes.DASHBOARD(a),{id:a})};f.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=HRa(c);return MB("action/issues/csv","q",a,"s",b,"c",c,"h",d)};f.hotlistIssuesCsvAction=function(a,b,c,d){a="action/hotlists/"+a+"/issues/csv";b=this.toApiSortParamValue(b);(c=HRa(c))&&(c="position,"+c);return MB(a,"s",b,"c",c,"h",d)};
f.toApiSortParamValue=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null};f.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};f.listComponents=function(){return tp(this.routes.LIST_COMPONENTS,{params:void 0})};f.viewComponent=function(a,b){return up(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};f.manageComponent=function(a,b){return up(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
f.createComponent=function(a){return tp(this.routes.CREATE_COMPONENT,{params:a})};f.editComponent=function(a,b){return tp(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};f.createSlo=function(){return tp(this.routes.CREATE_SLO,{params:void 0})};f.editSlo=function(a){return tp(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};f.listSlos=function(){return tp(this.routes.LIST_SLOS,{params:void 0})};f.listHotlists=function(){return this.routes.LIST_HOTLISTS};RT.\u0275fac=function(a){return new (a||RT)(u(SGc))};
RT.\u0275prov=wc({token:RT,factory:RT.\u0275fac,providedIn:"root"});var ST=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new pw};ST.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};ST.\u0275fac=function(a){return new (a||ST)(C(RT))};
ST.\u0275cmp=Mc({type:ST,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","",3,"invisible","click",4,"ngIf"],["card","onedevHovercard"],[3,"hotlist"],["mat-icon-button","",3,"click"],["svgIcon","close"]],template:function(a,
b){a&1&&P(0,JRa,9,11,"ng-container",0);a&2&&F("ngIf",b.hotlist)},dependencies:[Ow,bB,jK,oK,QT,qA],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 TT=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new E.ReplaySubject(1);this.removeHotlist=new pw;this.removable=!0;this.hotlist$=this.id$.pipe(af(this.hotlists.watch));this.isDisabled$=(0,E.combineLatest)([this.id$,this.id$.pipe(af(this.hotlists.isSaving$))]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
TT.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe(af(function(b){return aG(a.userAccess,"appender","hotlists/"+b)})):(0,E.of)(this.removable)};wh.Object.defineProperties(TT.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});TT.\u0275fac=function(a){return new (a||TT)(C(FH),C($F))};
TT.\u0275cmp=Mc({type:TT,selectors:[["b-hotlist-chip-smart"]],inputs:{id:"id",removable:"removable"},outputs:{removeHotlist:"removeHotlist"},decls:4,vars:9,consts:[[3,"hotlist","disabled","removable","removeHotlist"]],template:function(a,b){a&1&&(H(0,"b-hotlist-chip",0),M("removeHotlist",function(){null==b.idInternal?Oh("Missing id"):b.removeHotlist.emit()}),S(1,"async"),S(2,"async"),S(3,"async"),I());if(a&2){var c;F("hotlist",T(1,3,b.hotlist$))("disabled",!0===T(2,5,b.isDisabled$))("removable",null!==
(c=T(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[ST,Uw],encapsulation:2,changeDetection:0});var UT=function(a,b,c,d){GE.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(D(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),$e(""))};U(UT,GE);UT.\u0275dir=GE.\u0275dir;
UT.prototype.onClick=function(){var a=this,b;return ne(function(c){if(1==c.nextAddress)return a.isSaving?c.return():c.yield((0,E.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);se(c)})};
UT.prototype.save=function(a){var b=this;this.analytics.trackEvent(io.EDIT_ISSUE,"toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,E.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(bf(this.destroyed$)).subscribe()};
UT.\u0275fac=function(a){return new (a||UT)(C(qJ),C(Hw),C(TH),C(lG))};
UT.\u0275cmp=Mc({type:UT,selectors:[["smart-full-history-btn"]],features:[lf],decls:7,vars:16,consts:[["mat-icon-button","",1,"gmat-button",3,"matTooltip","disabled","click"],["svgIcon","history","class","icon-s",4,"ngIf"],[4,"ngIf"],["svgIcon","history",1,"icon-s"]],template:function(a,b){a&1&&(H(0,"button",0),M("click",function(){return b.onClick()}),S(1,"async"),S(2,"async"),S(3,"async"),S(4,"async"),P(5,KRa,1,0,"mat-icon",1),P(6,LRa,1,0,"b-spinner",2),I());a&2&&(yf("on",T(1,8,b.on$)),F("matTooltip",
T(2,10,b.tooltip$))("disabled",b.isSaving),pf("aria-pressed",T(3,12,b.on$))("aria-label",T(4,14,b.tooltip$)),B(5),F("ngIf",!b.isSaving),B(1),F("ngIf",b.isSaving))},dependencies:[Ow,bB,qA,tC,wM,Uw],styles:["mat-icon[_ngcontent-%COMP%] {\n      display: flex;\n      margin: 0 auto;\n    }\n    [_nghost-%COMP%]     .on .mat-spinner circle {\n      stroke: var(--text-inverse); \n\n    }"],changeDetection:0});var VT=function(a){this.buttonRef=a;this.toRefocus=!1};VT.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}))};VT.\u0275fac=function(a){return new (a||VT)(C(Bd))};
VT.\u0275dir=Qc({type:VT,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[ed]});var WT=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 pw;this.isAnonymous=this.activeSession.isAnonymous()};f=WT.prototype;f.onClick=function(a){a.stopPropagation();this.acceptInput&&(this.starClicked.emit(!!this.starred),this.cdr.detectChanges())};f.onEnter=function(a){this.onClick(a)};f.isDisabled=function(){return this.isAnonymous||this.disabled};
f.getLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starred?this.unStarMessage:this.starMessage};f.getAriaLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starMessage};WT.\u0275fac=function(a){return new (a||WT)(C(bt),C(PH))};
WT.\u0275cmp=Mc({type:WT,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},features:[Pf([PH])],decls:4,vars:7,consts:[[1,"inline-block",3,"matTooltip"],["tooltip","matTooltip"],["mat-icon-button","","focusBack","","role","checkbox",1,"small",3,"disabled","keydown.enter","click","focus","blur"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){if(a&1){var c=
w();H(0,"div",0,1)(2,"button",2);M("keydown.enter",function(d){return b.onEnter(d)})("click",function(d){return b.onClick(d)})("focus",function(){x(c);var d=Lf(1);return z(d.show())})("blur",function(){x(c);var d=Lf(1);return z(d.hide())});J(3,"mat-icon",3);I()()}a&2&&(F("matTooltip",b.getLabel()),B(2),yf("starred",b.starred),F("disabled",b.isDisabled()),pf("aria-label",b.getAriaLabel())("aria-checked",b.starred),B(1),F("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[bB,qA,tC,VT],
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 XT=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new pw;this.currentUserEmail=this.activeSession.getUserEmail()};XT.prototype.ngOnInit=function(){};XT.prototype.isDirectAdmin=function(a){return a?qi(a.adminUsers).includes(this.currentUserEmail):!1};XT.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};XT.\u0275fac=function(a){return new (a||XT)(C(dH),C(bt))};
XT.\u0275cmp=Mc({type:XT,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,"routerLink","click","keydown.enter"],["svgIcon","pop-out",1,"icon-s"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&P(0,ORa,9,4,"div",0);a&2&&F("ngIf",b.hotlist)},dependencies:[Ow,bB,YG,WT,tC,Uw],encapsulation:2,changeDetection:0});var TGc=function(){this.tokens=new Map};TGc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};TGc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new UGc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var UGc=function(a){this.sortedEntries=a};
UGc.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};UGc.prototype.search=function(a){var b=new Set;a=k(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=k(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var VGc=function(a,b){if(0===b.length)return new Set;for(var c=a.search(b[0]),d=1;d<b.length&&0<c.size;d++){var e=[].concat(ad(a.search(b[d]))).filter(function(g){return c.has(g)});c=new Set(e)}return c};var WGc=function(a){this.hotlists=a;var b=new TGc,c=new TGc;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,g=(null==(e=d.name)?0:e.trim())?OBa(d.name.toLowerCase()):[];g=k(g);for(e=g.next();!e.done;e=g.next())b.add(e.value,d);e=void 0;g=(null==(e=d.description)?0:e.trim())?OBa(d.description.toLowerCase()):[];g=k(g);for(e=g.next();!e.done;e=g.next())c.add(e.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
m){return[h,m]}))};
WGc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=k(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,g=null==(e=d.name)?void 0:e.toLowerCase(),h=void 0;e=null==(h=d.description)?void 0:h.toLowerCase();h=d.hotlistId;var m=void 0,r=void 0;(mqa(a)&&String(h).includes(a)||(null==(m=g)?0:m.includes(a))||(null==(r=e)?0:r.includes(a)))&&b.add(d)}c=OBa(a);d=k(VGc(this.nameTokenMatcher,c));for(a=d.next();!a.done;a=d.next())b.add(a.value);c=k(VGc(this.descriptionTokenMatcher,c));
for(a=c.next();!a.done;a=c.next())b.add(a.value);return XGc(this,b)};var XGc=function(a,b){return[].concat(ad(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var YT=function(){this.innerHeight$=(0,E.concat)((0,E.defer)(function(){return(0,E.of)(window.innerHeight)}),(0,E.fromEvent)(window,"resize").pipe(D(function(){return window.innerHeight})))};YT.\u0275fac=function(a){return new (a||YT)};YT.\u0275prov=wc({token:YT,factory:YT.\u0275fac,providedIn:"root"});var ZT=function(a,b,c,d,e,g,h,m,r,v,y){GE.call(this);var A=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.hotlistApi=e;this.snackBar=g;this.appEvents=h;this.errorHandler=m;this.userApi=r;this.windowHeight=v;this.permissionsFridge=y;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new E.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(Ke(100),$e(""));this.hotlists=[];this.allHotlistIds=
new Set(this.data.selectedHotlistIds);this.selectedHotlistIds=new Set(this.data.selectedHotlistIds);this.originalIds=new Set(this.data.selectedHotlistIds);this.pristine=!0;this.saveBtnLabel="Save";this.saveBtnTooltip="Save your hotlist choices";this.hotlistUnderEdit=new rx({name:new tx("",qXb),description:new tx("")});this.starredHotlists=new bK;this.isSavingStar=new bK;this.userHotlists$=gic(this.hotlistFridge);this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));
this.combineHotlistsWithPermissions=D(function(G){var N=A.permissionsFridge.watchSet(G.map(function(Q){return"hotlists/"+Q.hotlistId}));return G.map(function(Q,Z){return Object.assign({},Q,{permissions$:N.pipe(D(function(Y){return Y[Z]}))})})});this.hotlists$=(0,E.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(D(function(G){var N=k(G);G=N.next().value;N=N.next().value;return[].concat(ad(G),ad(N))}),D(Eua(function(G){return G.hotlistId})),D(function(G){return G.filter(Ei)}),D(function(G){return G.sort(eSa)}),
D(function(G){return G.sort(function(N,Q){var Z=A.selectedHotlistIds;N=Z.has(N.hotlistId);Q=Z.has(Q.hotlistId);return N&&Q?0:N?-1:Q?1:0})}),this.combineHotlistsWithPermissions,Ye({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(D(function(G){return new WGc(G)}),Ye({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new E.Subject;this.matchedHotlists$=(0,E.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,this.hotlists$]).pipe(D(function(G){var N=k(G);G=N.next().value;
var Q=N.next().value;N=N.next().value;return""!==G.trim()?Q.search(G):N}),Ye({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,E.combineLatest)([this.matchedHotlists$,(0,E.merge)(this.matchedHotlists$.pipe(D(function(){return!1})),this.forceShowOverflow$)]).pipe(D(function(G){var N=k(G);G=N.next().value;N=N.next().value;return 200<G.length&&!N?G.slice(0,200):G}),Ye({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,E.combineLatest)([this.matchedHotlists$,this.visibleHotlists$]).pipe(D(function(G){var N=
k(G);G=N.next().value;N=N.next().value;return G.length!==N.length}));this.showLoadById$=this.query$.pipe(D(function(G){G=G.trim();return!A.allHotlistIds.has(Number(G))&&mqa(G)}));this.showCreateNew$=(0,E.combineLatest)([this.query$,this.matchedHotlists$]).pipe(D(function(G){var N=k(G);G=N.next().value;N=N.next().value;return fSa(G,N)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(D(function(G){return Math.max(1,Math.floor(.5*G/24))}),Ne());this.compactNumberOfHotlistsToShow$.pipe(D(function(G){return 24*
G}));this.subscriptions.add(this.hotlists$.subscribe(function(G){A.hotlists=G;G=k(G);for(var N=G.next();!N.done;N=G.next())A.allHotlistIds.add(N.value.hotlistId)}))};U(ZT,GE);ZT.\u0275dir=GE.\u0275dir;ZT.prototype.ngOnInit=function(){var a=this;YGc(this);this.query$.pipe(bf(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
ZT.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(d){d.selected?b.selectedHotlistIds.add(d.value):b.selectedHotlistIds.delete(d.value)});a=bqa(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=k(gSa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var vp=function(a){a.dialogRef.close(a.selectedHotlistIds)},URa=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},ZGc=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?void 0:b.value)?a:""},TRa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=URa(a),c=ZGc(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)})},YGc=function(a){a.userApi.getUserSidebar().then(function(b){a.starredHotlists.clear();for(var c=k(b.hotlists||[]),d=c.next();!d.done;d=c.next()){d=d.value;var e=Number(d.id);d.starred&&a.starredHotlists.add(e)}b=k(b.bookmarkGroups||[]);for(c=b.next();!c.done;c=b.next())for(c=k(c.value.sublinks||[]),d=c.next();!d.done;d=c.next())d=d.value,d.starred&&a.starredHotlists.add(Number(d.id))}).catch(function(b){a.errorHandler.errorHandler(null,
b)})};
ZT.prototype.toggleStar=function(a){var b=this,c,d,e;return ne(function(g){switch(g.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};oe(g,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),g.yield(b.userApi.deleteFavorite(d),3);b.starredHotlists.add(a);return g.yield(b.userApi.saveFavorite(d),3);case 3:pe(g);b.isSavingStar.delete(a);qe(g,4);break;case 2:e=re(g);qG(b.errorHandler,e);g.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
YGc(b),se(g)}})};var XRa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);vp(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};ZT.prototype.trackByHotlistId=function(a,b){return b.hotlistId};ZT.\u0275fac=function(a){return new (a||ZT)(C(AA),C(CA),C(dH),C(FH),C(sH),C(jG),C(sG),C(oG),C(BH),C(YT),C(fI))};
ZT.\u0275cmp=Mc({type:ZT,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.meta.enter",function(){return vp(b)})("keydown.shift.enter",function(){return vp(b)})("keydown.control.enter",function(){return vp(b)})},features:[lf],decls:13,vars:4,consts:[[4,"ngIf","ngIfElse"],["mat-button","","mat-dialog-close","","tooltip","Dismiss modal","aria-label","Dismiss modal","role","button",3,"click"],["createNewHotlistBtn",""],["applyHotlistSelectionBtn",""],["updateHotlistSelectionPane",
""],["createNewHotlistPane",""],[4,"ngTemplateOutlet"],["mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",1,"gmat-button",3,"disabled","click"],["mat-flat-button","","color","primary",1,"gmat-button",3,"mat-dialog-close","matTooltip","disabled","click"],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search","spellcheck","false","autocomplete","off","aria-label","Filter hotlists","placeholder","Type to filter your starred hotlists",
1,"search-box",3,"input"],["searchBox",""],["mat-dialog-content","",1,"search-results"],["content",""],["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"],["hotlistMatList",""],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"matTooltip"],["tooltip","matTooltip"],["checkboxPosition","before",3,"selected","disabled","value","focus","blur"],[3,
"hotlist","isCompact","starredHotlists","isSavingStar","starClicked"],[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){a&1&&(P(0,QRa,2,1,"ng-container",
0),H(1,"mat-dialog-actions")(2,"button",1),M("click",function(){b.dialogRef.close()}),R(3," Cancel "),I(),P(4,SRa,2,1,"ng-container",0),I(),P(5,VRa,2,1,"ng-template",null,2,hg),P(7,WRa,2,5,"ng-template",null,3,hg),P(9,cSa,15,9,"ng-template",null,4,hg),P(11,dSa,14,1,"ng-template",null,5,hg));if(a&2){var c=Lf(8),d=Lf(10);F("ngIf",b.showCreateNewPane)("ngIfElse",d);B(4);F("ngIf",b.showCreateNewPane)("ngIfElse",c)}},dependencies:[Nw,Ow,Tw,bB,EA,FA,GA,HA,qA,KT,LT,vx,xg,ox,px,Fx,Bx,Cx,tC,XT,Uw],styles:["[_nghost-%COMP%]     .mat-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-dialog-title{margin:0}[_nghost-%COMP%]     .mat-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-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content{padding:5px 0;padding-right:20px;padding-left:24px;align-items:flex-start}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content .mat-pseudo-checkbox{margin-top:3px}[_nghost-%COMP%]     .mat-list-base .compact .mat-list-option .mat-list-item-content{padding-top:0}[_nghost-%COMP%]     .mat-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 $T=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},aHc=function(a,b){var c,d,e,g,h,m,r,v;return ne(function(y){switch(y.nextAddress){case 1:return y.yield((0,E.firstValueFrom)(b),2);case 2:return c=y.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?y.yield($Gc(a,e),3):y.return();case 3:g=y.yieldResult;if(null==g)return y.return();h=g.added.map(String);m=g.removed.map(String);r=String(c.issueId);oe(y,4,5);return y.yield(Jic(a.issueFridge,
r,h,m),5);case 5:pe(y);a.eventsForIssueFridge.poke(r);qe(y,0);break;case 4:v=re(y),qG(a.errorHandler,v),y.jumpTo(5)}})},$Gc=function(a,b){var c,d,e,g;return ne(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open(ZT,c),h.yield((0,E.firstValueFrom)(yA(d)),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());g=bqa(new Set(b),new Set(e));return h.return(Promise.resolve(g))})};
$T.\u0275fac=function(a){return new (a||$T)(u(DA),u(YH),u(CF),u(oG))};$T.\u0275prov=wc({token:$T,factory:$T.\u0275fac,providedIn:"root"});var aU=function(a,b,c,d,e,g,h){GE.call(this);var m=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=g;this.activeSession=h;this.ISSUE_TYPE_JS_TEXT=uec;this.STATUS_JS_FULL_TEXT=Al;this.STATUS_JS_TERSE=pF;this.DUPLICATE="DUPLICATE";this.id$=new E.ReplaySubject(1);this.issue$=this.id$.pipe(af(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(D(qSa));this.textOfHotlistBtn$=this.hotlistIds$.pipe(D(function(r){var v;
return null!=(v=null==r?void 0:r.length)?v:0}),D(function(r){return 5>=r?"Add Hotlist":""}));this.priority$=this.issue$.pipe(D(function(r){return(null==r?void 0:r.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(D(function(r){var v;return null!=(v=null==r?void 0:r.snapshot[0].type)?v:void 0}));this.canonicalId$=this.issue$.pipe(D(function(r){return null==r?void 0:r.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(D(function(r){return(null==r?void 0:r.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(D(function(r){return pec[r]?r:void 0}));this.statusCssClass$=this.status$.pipe(D(function(r){return m.computeStatusCssClass(r)}));this.HOTKEYS=JM;this.enableCommentFilters=EE(this.activeSession,"enableCommentFiltering")};U(aU,GE);aU.\u0275dir=GE.\u0275dir;aU.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+fsa[a]};
var mSa=function(a){return ne(function(b){return b.yield(aHc(a.hotlistPickerService,a.issue$),0)})},kSa=function(a,b){var c,d;return ne(function(e){switch(e.nextAddress){case 1:return e.yield((0,E.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;$lc(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});oe(e,3,4);var g=e.yield;var h=Jic(a.issueFridge,c,[],[String(b)]);return g.call(e,h,6);case 6:return e.yield(a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:pe(e);a.eventsForIssueFridge.poke(c);
qe(e,0);break;case 3:d=re(e),qG(a.errorHandler,d),e.jumpTo(4)}})};wh.Object.defineProperties(aU.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});aU.\u0275fac=function(a){return new (a||aU)(C(YH),C(CF),C($T),C(PJ),C(oG),C(Yy),C(bt))};
aU.\u0275cmp=Mc({type:aU,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[lf],decls:14,vars:13,consts:[[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"],["canonicalHovercard","onedevHovercard"],[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,"hotkey","onHotkey","click"],["svgIcon","add",1,"icon-xs"],["removable","check-acl",3,"id","removeHotlist",4,"ngFor","ngForOf"],["removable","check-acl",3,"id","removeHotlist"],[1,"thread-filters"],[3,"onedevIsHovercardReady","issueId"],["canonicalCardBody",""]],
template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),P(2,iSa,6,10,"div",2),S(3,"async"),P(4,jSa,2,4,"span",3),S(5,"async"),J(6,"b-issue-priority-display",4),S(7,"async"),I(),P(8,nSa,6,5,"div",5),S(9,"async"),P(10,oSa,2,0,"div",6),I(),H(11,"onedev-hovercard",null,7),P(13,pSa,3,4,"b-issue-card",8),I());a&2&&(B(2),F("ngIf",T(3,5,b.statusForChip$)),B(2),F("ngIf",T(5,7,b.type$)),B(2),F("issuePriority",T(7,9,b.priority$)),B(2),F("ngIf",T(9,11,b.hotlistIds$)),B(2),F("ngIf",!b.enableCommentFilters))},dependencies:[Nw,
Ow,bB,IM,TT,jK,kK,oK,lK,vP,SI,qA,tC,YG,UT,Uw],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-access-level-indicator .label{line-height:22px;height:22px}[_nghost-%COMP%]     .chip-container b-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 bU=function(){};bU.\u0275fac=function(a){return new (a||bU)};bU.\u0275mod=Oc({type:bU});bU.\u0275inj=xc({imports:[cG]});var cU=function(){};cU.\u0275fac=function(a){return new (a||cU)};cU.\u0275mod=Oc({type:cU});cU.\u0275inj=xc({imports:[cG,JN,bU,QC]});var dU=function(){};dU.\u0275fac=function(a){return new (a||dU)};dU.\u0275mod=Oc({type:dU});dU.\u0275inj=xc({});var eU=function(){};eU.\u0275fac=function(a){return new (a||eU)};eU.\u0275mod=Oc({type:eU});eU.\u0275inj=xc({imports:[cG,bO,QC,uD,dU]});var fU=function(){};fU.\u0275fac=function(a){return new (a||fU)};fU.\u0275mod=Oc({type:fU});fU.\u0275inj=xc({imports:[cG,JT,IA,bH,fP,QC,MT,iG,Jx,Kx,eU,uD,xz]});var bHc=["issueTitleEl"],cHc=["issueTitleInputEl"],gU=function(a,b){this.issuePermissionService=a;this.bannedWordsService=b;this.disabled=!1;this.updateTitle=new pw;this.isEditMode=!1;this.editModeWidth=0;this.bannedWordsWarning={matchedPatterns:[],state:"INITIAL"}};gU.prototype.ngDoCheck=function(){dHc(this)};var uSa=function(a){a.isEditMode=!a.isEditMode;a.isEditMode?setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0):a.bannedWordsService.reset(a.bannedWordsWarning)};
gU.prototype.saveTitle=function(a){var b=this,c;return ne(function(d){if(1==d.nextAddress)return a&&b.isModified(a)?d.yield(b.bannedWordsService.check(b.bannedWordsWarning,a,"EXTERNAL_PUBLIC"===b.issuePermissionService.accessLevel(),b.componentId),3):d.jumpTo(2);if(2!=d.nextAddress){c=d.yieldResult;if(!c)return b.issueTitleInputEl.nativeElement.focus(),d.return();b.updateTitle.emit(a.trim());b.bannedWordsService.reset(b.bannedWordsWarning)}b.isEditMode=!1;dHc(b);se(d)})};
gU.prototype.isModified=function(a){return a!==this.titlePlain};var sSa=function(a,b){if(b)"Enter"===b.key?a.saveTitle(b.target.value):"Escape"===b.key||"Esc"===b.key?uSa(a):a.bannedWordsService.reset(a.bannedWordsWarning);else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;a.saveTitle(b)}},dHc=function(a){var b=a.editModeWidth,c,d;a.editModeWidth=null!=(d=Number(null==(c=a.issueTitleEl)?void 0:c.nativeElement.offsetWidth)+50)?d:b};
wh.Object.defineProperties(gU.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=NBa(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});gU.\u0275fac=function(a){return new (a||gU)(C(TJ),C(FS))};
gU.\u0275cmp=Mc({type:gU,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(cg(bHc,5),cg(cHc,5));if(a&2){var c;bg(c=eg())&&(b.issueTitleEl=c.first);bg(c=eg())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",componentId:"componentId",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{updateTitle:"updateTitle"},decls:5,vars:4,consts:[["class","heading-m",4,"ngIf"],[3,"width","banned-words-warning",4,"ngIf"],["mat-icon-button","","class","small","matTooltip","Edit issue title","aria-label",
"Edit issue title",3,"disabled","click",4,"ngIf"],["class","banned-words-warning",4,"ngIf"],[1,"heading-m"],["issueTitleEl",""],["matInput","","aria-label","Enter a new title",1,"heading-m",3,"value","keyup","blur"],["issueTitleInputEl",""],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small",3,"disabled","click"],["svgIcon","edit-outline",1,"icon-xxs"],[1,"banned-words-warning"]],template:function(a,b){a&1&&(H(0,"div"),P(1,rSa,3,2,"h3",0),P(2,tSa,3,5,"mat-form-field",
1),P(3,vSa,2,1,"button",2),I(),P(4,wSa,2,1,"p",3));a&2&&(B(1),F("ngIf",!b.isEditMode),B(1),F("ngIf",b.isEditMode),B(1),F("ngIf",b.hasAclToEdit),B(1),F("ngIf",b.bannedWordsService.showWarning(b.bannedWordsWarning)))},dependencies:[Ow,bB,qA,tC,QA,TA],styles:["[_nghost-%COMP%]{display:flex;align-items:center}h3[_ngcontent-%COMP%]{vertical-align:middle;margin-bottom:-1px;word-break:break-word}mat-form-field[_ngcontent-%COMP%]{min-width:200px;max-width:100%;margin-bottom:-3px}[_nghost-%COMP%]     .mat-form-field.banned-words-warning .mat-form-field-underline{background-color:#c5221f;background-color:var(--bad-text)}[_nghost-%COMP%]     .mat-form-field.banned-words-warning .mat-form-field-ripple{background-color:#c5221f;background-color:var(--bad-text)}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--c700);margin-top:-2px}[_nghost-%COMP%]     .mat-form-field-wrapper{padding:0}[_nghost-%COMP%]     .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{padding:0;border:0}[_nghost-%COMP%]     .mat-form-field-wrapper .mat-form-field-underline{margin-bottom:-15px}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}"]});var hU=function(){};hU.\u0275fac=function(a){return new (a||hU)};hU.\u0275mod=Oc({type:hU});hU.\u0275inj=xc({imports:[cG,QC,uD,RA,UA]});var eHc=function(a){return{isDupe:a}},iU=function(a,b,c,d,e){GE.call(this);var g=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 E.ReplaySubject(1);this.issue$=this.issueId$.pipe(af(function(h){return g.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(D(function(h){var m;return!!(null==
h?0:null==(m=h.snapshot[0])?0:m.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(af(function(h){return g.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(D(function(h){return!(null==h||!h.writer)}),$e(!0));this.didChooseCanonical=function(h){return function(m){(m=m[0])&&Kic(g.fridge,m,h).then(function(){g.eventsForIssueFridge.poke(h)}).catch(g.gotErr)}};this.gotErr=function(h){g.snackBar.open(fm(h)||"Error with network request","close",{panelClass:"error"})}};
U(iU,GE);iU.\u0275dir=GE.\u0275dir;
var xSa=function(a){var b,c;return ne(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!An(a.canEdit$)?d.return():d.yield((0,E.firstValueFrom)(a.isDupe$),2);if(3!=d.nextAddress)return b=d.yieldResult,d.yield((0,E.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(null==c)return d.return();b?fHc(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));se(d)})},fHc=function(a,b){var c=b.snapshot[0].duplicateOfIssueId;null!=c&&a.fridge.removeDuplicate(c,b.issueId).then(function(){a.eventsForIssueFridge.poke(b.issueId)}).catch(a.gotErr)};wh.Object.defineProperties(iU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});iU.\u0275fac=function(a){return new (a||iU)(C(YH),C(fI),C(MP),C(jG),C(CF))};
iU.\u0275cmp=Mc({type:iU,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[lf],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,"disabled","title","click"]],template:function(a,b){a&1&&(P(0,ySa,3,5,"button",0),S(1,"async"));a&2&&F("ngIf",Sf(3,eHc,T(1,1,b.isDupe$)))},dependencies:[Ow,qA,Uw]});var jU=function(a){GE.call(this);this.prefs=a};U(jU,GE);jU.\u0275dir=GE.\u0275dir;jU.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(bf(this.destroyed$)).subscribe()};jU.\u0275fac=function(a){return new (a||jU)(C(qJ))};
jU.\u0275cmp=Mc({type:jU,selectors:[["b-toggle-code-font"]],features:[lf],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"checked","change"]],template:function(a,b){a&1&&(Gf(),H(0,"mat-slide-toggle",0),M("change",function(c){return b.onChange(c)}),S(1,"async"),Hf(2),I());a&2&&F("checked",T(1,1,b.prefs.codeFont$))},dependencies:[ET,tC,Uw],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var kU=function(){};kU.\u0275fac=function(a){return new (a||kU)};kU.\u0275mod=Oc({type:kU});kU.\u0275inj=xc({imports:[DT,Vz,Lz,Xy,DT,Lz]});var lU=function(){};lU.\u0275fac=function(a){return new (a||lU)};lU.\u0275mod=Oc({type:lU});lU.\u0275inj=xc({imports:[cG,QC,fP,IA,kU,iG,uD,eO]});var mU=function(){};mU.\u0275fac=function(a){return new (a||mU)};mU.\u0275mod=Oc({type:mU});mU.\u0275inj=xc({providers:[$T],imports:[cG,sP,KM,cU,fU,JN,BP,UN,TN,hU,QC,uD,bH,eU,lU]});var nU=function(){};nU.\u0275fac=function(a){return new (a||nU)};nU.\u0275mod=Oc({type:nU});nU.\u0275inj=xc({imports:[cG,JN,ZO,qP,$N]});var oU=function(){};oU.\u0275fac=function(a){return new (a||oU)};oU.\u0275mod=Oc({type:oU});oU.\u0275inj=xc({imports:[nU,cG,JN,ZO,QC,qP,$N,bH,eP]});var pU=function(){};pU.\u0275fac=function(a){return new (a||pU)};pU.\u0275mod=Oc({type:pU});pU.\u0275inj=xc({imports:[kP,cG,aK]});var qU=function(){};qU.\u0275fac=function(a){return new (a||qU)};qU.\u0275mod=Oc({type:qU});qU.\u0275inj=xc({imports:[cG,TN,QC,uD,pU,SN,$N,bH,nU]});var rU=function(){};rU.\u0275fac=function(a){return new (a||rU)};rU.\u0275mod=Oc({type:rU});rU.\u0275inj=xc({imports:[nU,cG,QC,pU]});var sU=function(){};sU.\u0275fac=function(a){return new (a||sU)};sU.\u0275mod=Oc({type:sU});sU.\u0275inj=xc({imports:[cG,QC,cy]});var tU=function(){};tU.\u0275fac=function(a){return new (a||tU)};tU.\u0275mod=Oc({type:tU});tU.\u0275inj=xc({imports:[cG,sU,oU,qU,rU]});var uU=function(){};uU.\u0275fac=function(a){return new (a||uU)};uU.\u0275mod=Oc({type:uU});uU.\u0275inj=xc({imports:[fP,cG,xS,Jx,Kz,vO,eP,jP,xN,QC,uD]});var gHc=function(a){return[a]},vU=function(a){this.matDialog=a};vU.prototype.show=function(a,b,c){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(wU,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{componentId:c,formattingAudience:b,statusUpdate:a}});return(0,E.firstValueFrom)(yA(this.dialog))};vU.\u0275fac=function(a){return new (a||vU)(u(DA))};vU.\u0275prov=wc({token:vU,factory:vU.\u0275fac,providedIn:"root"});
var wU=function(a,b,c,d,e,g){GE.call(this);var h=this;this.activeSession=a;this.data=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsService=g;this.CHAR_LIMIT=1E3;this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.bannedWordsWarning={matchedPatterns:[],state:"INITIAL"};this.formattingAudience=b.formattingAudience;
this.origStatusUpdate=b.statusUpdate;this.newStatusUpdate=Zh(this.origStatusUpdate);this.subscriptions.add($P(e,function(){return h.isModified()},!1))};U(wU,GE);wU.\u0275dir=GE.\u0275dir;var hHc=function(a){var b,c;return null!=(c=RBa(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};f=wU.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(bf(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(bf(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
f.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};f.isModified=function(){return!Yh(this.newStatusUpdate,this.origStatusUpdate)};f.asNumber=function(a){return Number(a)};
f.closeDialogForSave=function(){var a=this,b,c,d;return ne(function(e){if(1==e.nextAddress)return a.isModified()?e.yield(a.bannedWordsService.check(a.bannedWordsWarning,a.newStatusUpdate.updateText,"EXTERNAL_AUDIENCE"===a.formattingAudience,a.data.componentId),2):e.return();b=e.yieldResult;if(!b)return null==(c=a.commentDraft)||wFc(c),e.return();null==(d=a.dialogService.dialog)||d.close(a.newStatusUpdate);se(e)})};wU.\u0275fac=function(a){return new (a||wU)(C(bt),C(CA),C(vU),C(AA),C(ZP),C(FS))};
wU.\u0275cmp=Mc({type:wU,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&cg(AS,5);if(a&2){var c;bg(c=eg())&&(b.commentDraft=c.first)}},features:[lf],decls:19,vars:17,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","textareaClass","contentChange","onSubmit"],["class","char-limit-warning",4,"ngIf"],["class","banned-words-warning",4,"ngIf"],[1,"inline-block",3,"initialValue","change"],["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,"disabled","color","click"],[1,"char-limit-warning"],[1,"banned-words-warning"],["tabindex","0",1,"clamper","line-clamp-4"],[3,"comment","issueId","formattingMode","audience"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Editing Status Update"),I(),H(2,"section",1)(3,"p",2),R(4," Editing the Status Update will not permanently remove old ones from database history. "),
J(5,"br"),R(6," For deletion of PII or other sensitive content, please "),H(7,"a",3),R(8," file a support request. "),I()(),H(9,"b-comment-draft",4),M("contentChange",function(c){return b.newStatusUpdate.updateText=c})("contentChange",function(){b.bannedWordsService.reset(b.bannedWordsWarning)})("onSubmit",function(){return b.closeDialogForSave()}),I(),P(10,zSa,2,1,"p",5),P(11,ASa,2,1,"p",6),H(12,"b-markdown-toggle",7),M("change",function(c){return b.newStatusUpdate.formattingMode=c}),I(),P(13,BSa,
2,4,"div",8),I(),H(14,"footer",9)(15,"button",10),R(16," Cancel "),I(),H(17,"button",11),M("click",function(){return b.closeDialogForSave()}),R(18),I()());a&2&&(B(7),F("href",b.contentRemovalRequestLink,Sd),B(2),zf(hHc(b)),F("content",b.newStatusUpdate.updateText)("textareaClass",Sf(15,gHc,b.bannedWordsService.showWarning(b.bannedWordsWarning)?"banned-words-warning":"")),B(1),F("ngIf",1E3<b.newStatusUpdate.updateText.length),B(1),F("ngIf",b.bannedWordsService.showWarning(b.bannedWordsWarning)),B(1),
yf("margin-bottom",b.newStatusUpdate.formattingMode!==b.MARKDOWN),F("initialValue",b.origStatusUpdate.formattingMode),B(1),F("ngIf",b.newStatusUpdate.formattingMode===b.MARKDOWN),B(2),F("mat-dialog-close",void 0),B(2),F("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length||!b.isModified())("color",b.bannedWordsService.showWarning(b.bannedWordsWarning)?"warn":"primary"),B(1),Mf(" ",b.bannedWordsService.showWarning(b.bannedWordsWarning)?"Save Anyway":"Save"," "))},
dependencies:[EA,FA,GA,HA,Ow,qA,XO,WO,AS],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 xU=function(){};xU.\u0275fac=function(a){return new (a||xU)};xU.\u0275mod=Oc({type:xU});xU.\u0275inj=xc({imports:[IA,fP,cG,Kz,QC,kP,uU]});var yU=function(a){this.matDialog=a};yU.prototype.show=function(a){this.dialog=this.matDialog.open(zU,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,E.firstValueFrom)(yA(this.dialog))};yU.\u0275fac=function(a){return new (a||yU)(u(DA))};yU.\u0275prov=wc({token:yU,factory:yU.\u0275fac,providedIn:"root"});var zU=function(a,b,c){GE.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};U(zU,GE);zU.\u0275dir=GE.\u0275dir;
zU.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(bf(this.destroyed$)).subscribe(function(b){if("Escape"===b.key){var c;null==(c=a.dialogService.dialog)||c.close()}});this.dialogRef.backdropClick().pipe(bf(this.destroyed$)).subscribe(function(){var b;null==(b=a.dialogService.dialog)||b.close()})};zU.\u0275fac=function(a){return new (a||zU)(C(CA),C(yU),C(AA))};
zU.\u0275cmp=Mc({type:zU,selectors:[["ng-component"]],features:[lf],decls:8,vars:2,consts:[["mat-dialog-title",""],["tabindex","0","mat-dialog-content",""],[1,"history-list"],["class","version",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],[1,"version"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"version-header"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],[1,"muted","float-right","float-clear"],[1,"type-xs"],
[1,"update-email"],[3,"email"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"History for Status Update"),I(),H(2,"section",1)(3,"ul",2),P(4,CSa,19,12,"li",3),I()(),H(5,"footer",4)(6,"button",5),R(7," Close "),I()());a&2&&(B(4),F("ngForOf",b.statusUpdates),B(2),F("mat-dialog-close",void 0))},dependencies:[Nw,VK,qA,EA,FA,GA,HA,KK,PK,rM,eK,xP],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 AU=function(){};AU.\u0275fac=function(a){return new (a||AU)};AU.\u0275mod=Oc({type:AU});AU.\u0275inj=xc({imports:[kP,cG]});var BU=function(){};BU.\u0275fac=function(a){return new (a||BU)};BU.\u0275mod=Oc({type:BU});BU.\u0275inj=xc({imports:[cG,IN,QC,IA,Kz,SN,qP,AU,zP]});var CU=function(a){this.internalArray_=l(a,0,CU.messageId)};U(CU,q);CU.repeatedFields_=[1];CU.prototype.toObject=function(){if(null!=this){t(this);var a={statusUpdatesList:Ub(oj(this,rE,1),jcc)}}else a=void 0;return a};CU.messageId="b.ListStatusUpdateHistoryResponse";var DU=function(a){this.executor=a};DU.prototype.get=function(a,b){return this.executor.get({url:Ecc(a),responseConstructor:rE,options:{params:{issueCommentView:String(isa[void 0===b?"MARKDOWN":b])}}}).pipe(D(Rj))};
DU.prototype.update=function(a){var b=this.executor,c=b.post,d=Ecc(a.issueId),e=new rE;a.issueId&&e.setIssueId(a.issueId);a.updateText&&e.setUpdateText(a.updateText);if(a.formattedText){var g=a.formattedText,h=new Qj;if(g.plainFormat){var m=h.setPlainFormat;var r=g.plainFormat;r=(new iE).setPlainSectionList(r.plainSection.map(rra));m.call(h,r)}g.markdownFormat&&(m=h.setMarkdownFormat,r=g.markdownFormat,r=(new hE).setContent(r.content),m.call(h,r));g.literalFormat&&(m=h.setLiteralFormat,g=g.literalFormat,
g=(new gE).setContent(g.content),m.call(h,g));lj(e,Qj,3,h)}a.formattingMode&&e.setFormattingMode(isa[a.formattingMode]);a.author&&e.setAuthor(wi(a.author));a.updateTime&&e.setUpdateTime(Sh(a.updateTime));a.version&&e.setVersion(a.version);return c.call(b,{url:d,body:e,responseConstructor:rE}).pipe(D(Rj))};DU.prototype.delete=function(a){return this.executor.delete({url:Ecc(a),responseConstructor:null})};
var iHc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:CU,options:{params:{issueCommentView:String(isa.MARKDOWN)}}}).pipe(D(function(c){return oj(c,rE,1).map(Rj)}))};DU.\u0275fac=function(a){return new (a||DU)(u(wD))};DU.\u0275prov=wc({token:DU,factory:DU.\u0275fac,providedIn:"root"});var jHc=["noteContainer"],OSa=function(a,b){return[a,b]},kHc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},EU=function(a,b,c,d,e,g,h,m,r){GE.call(this);var v=this;this.analytics=a;this.confirmationDialogService=b;this.currentUser=c;this.editStatusUpdateDialogService=d;this.errorHandler=e;this.issueFridge=g;this.issuePermissionService=h;this.statusUpdateService=m;this.statusUpdateHistoryDialogService=r;this.Freshness=kHc;this.UiState=lHc;this.FormattingMode=sac;this.issueId$=new E.ReplaySubject(1);
this.issue$=this.issueId$.pipe(af(this.issueFridge.watch));this.componentId$=this.issue$.pipe(D(function(y){return null==y?void 0:y.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(D(function(y){var A;return null==y?void 0:null==(A=y.accessLimit)?void 0:A.accessLevel}));this.issueTeamId$=this.issue$.pipe(D(function(y){var A;return null==y?void 0:null==(A=y.aggregatedData)?void 0:A.teamId}));this.isCollapsed=!1;this.currentUserIsAuthoritative$=(0,E.combineLatest)([this.issue$,this.issueTeamId$]).pipe(D(function(y){var A=
k(y);y=A.next().value;var G=A.next().value;A=v.currentUser.email===Ml(y);G=v.currentUser.allTeamIds.includes(String(G));var N,Q,Z,Y;y=(null!=(Y=null==y?void 0:null==(N=y.snapshot)?void 0:null==(Q=N[0])?void 0:null==(Z=Q.collaboratorsUsers)?void 0:Z.map(pi))?Y:[]).includes(v.currentUser.email);return A||G||y}));this.statusUpdate$=this.issue$.pipe(D(function(y){return null==y?void 0:y.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(De(Ei),D(function(y){return{unlinkifiedComment:y.updateText,
formattedComment:y.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(D(function(y){var A;return null!=(A=RBa(null==y?void 0:y.updateText))?A:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(D(function(y){return""===((null==y?void 0:y.updateText)||"").trim()}));this.freshnessIndicator$=(0,E.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(D(function(y){var A=k(y);y=A.next().value;A=A.next().value;if(y)return 2;var G;y=(null==A?void 0:null==(G=A.updateTime)?void 0:G.seconds)||
0;return 86400>Date.now()/1E3-y?0:1}));this.uiState$=(0,E.combineLatest)([this.currentUserIsAuthoritative$,this.statusIsEmpty$]).pipe(D(function(y){var A=k(y);y=A.next().value;A=A.next().value;return y&&A?2:A?1:3}),$e(0));this.formattingModeOverride$=new E.BehaviorSubject(void 0);this.formattingMode$=(0,E.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(D(function(y){var A=k(y);y=A.next().value;return(A=A.next().value)?A:(null==y?void 0:y.formattingMode)||"PLAIN"}));this.menuItems$=
(0,E.combineLatest)([this.issueId$,this.statusUpdate$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(D(function(y){var A=k(y),G=A.next().value,N=A.next().value;y=A.next().value;A=A.next().value;var Q=null!=N;N=N&&""!==(null==N?void 0:N.updateText);var Z=[];N&&Z.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){v.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===A},{type:"select",label:"Markdown",
action:function(){v.formattingModeOverride$.next("MARKDOWN")},selected:"MARKDOWN"===A},{type:"select",label:"Source",action:function(){v.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===A}]});Z.push({type:"action",label:"Edit Status Update",action:function(){v.editStatusUpdate()}});Q&&Z.push({type:"action",label:"Show editing history",action:function(){mHc(v,G)}});N&&y&&Z.push({type:"action",label:"Delete Status Update",action:function(){v.confirmationDialogService.open({title:"Delete Status Update?",
content:kp("\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(){v.doDelete()}})}});Z.push(nHc);return Z}))};U(EU,GE);EU.\u0275dir=GE.\u0275dir;
EU.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return ne(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.uiState$.pipe(De(function(e){return 0!==e}))),2);b=d.yieldResult;c=QSa(b);a.analytics.trackEvent(io.ISSUE,"statusUpdateDisplay",c);se(d)})},1E3)};EU.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
EU.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,g,h,m,r;return ne(function(v){switch(v.nextAddress){case 1:return v.yield((0,E.firstValueFrom)(a.issueId$),2);case 2:return b=v.yieldResult,v.yield((0,E.firstValueFrom)(a.componentId$),3);case 3:return c=v.yieldResult,d={issueId:b,updateText:"",version:-1},g=null!=(e=An(a.statusUpdate$))?e:d,v.yield((0,E.firstValueFrom)(a.accessLevel$),4);case 4:return h=v.yieldResult,m="INTERNAL"===h?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",v.yield(a.editStatusUpdateDialogService.show(g,
m,c),5);case 5:r=v.yieldResult;if(null==r)return v.return();a.statusUpdateService.update(r).subscribe(function(y){a.didSave(b,y)},function(y){a.errorHandler.errorHandler(null,y)});se(v)}})};var ESa=function(a){var b,c;return ne(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=An(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)});se(d)})};
EU.prototype.didSave=function(a,b){AF(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};var mHc=function(a,b){var c;ne(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(iHc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);se(d)})};
EU.prototype.doDelete=function(){var a=this,b;ne(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){AF(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});se(c)})};wh.Object.defineProperties(EU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});
EU.\u0275fac=function(a){return new (a||EU)(C(TH),C(kJ),C(MI),C(vU),C(oG),C(YH),C(TJ),C(DU),C(yU))};
EU.\u0275cmp=Mc({type:EU,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&cg(jHc,5);if(a&2){var c;bg(c=eg())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[lf],decls:2,vars:3,consts:[[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",3,"click"],[1,"flex-1-hemmed"],[1,"flex-kids-x","space-between"],[1,"left"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"gmat-button","small","margin-xs-right",3,"click"],[1,"edit-info","right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems",4,"ngIf"],["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",3,"timestamp"],["userCard",""],[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"],["noteContainer",""],[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&&(P(0,PSa,
5,14,"div",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.uiState$))},dependencies:[kL,YO,Ow,bB,VK,jK,oK,NK,qA,tC,Uw,pP],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}.short-height[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}']});
var lHc={LOADING:0,HIDDEN:1,SHOW_EMPTY:2,NORMAL:3,0:"LOADING",1:"HIDDEN",2:"SHOW_EMPTY",3:"NORMAL"},nHc={type:"action",label:"Using the Status Update field...",action:function(){Ppa(window,Vg("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var FU=function(){};FU.\u0275fac=function(a){return new (a||FU)};FU.\u0275mod=Oc({type:FU});FU.\u0275inj=xc({imports:[NS,kP,cG,IN,xU,JN,ZO,QC,uD,qP,BU,AU]});var GU=function(a,b){this.dialogRef=a;this.userApi=b;this.userSavedSearches=[];this.selectedSavedSearches=new Set;this.pristine=!0};f=GU.prototype;f.ngOnInit=function(){this.getUserSavedSearches()};f.getUserSavedSearches=function(){var a=this;this.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=[].concat(ad(b))})};f.trackBySearchId=function(a,b){return b.searchId};f.onEnter=function(){this.onConfirm()};f.onEscape=function(){this.dialogRef.close()};f.onConfirm=function(){this.dialogRef.close(this.selectedSavedSearches)};
f.onCancel=function(){this.dialogRef.close()};f.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedSavedSearches.add(c.value):b.selectedSavedSearches.delete(c.value)});this.pristine=!1};GU.\u0275fac=function(a){return new (a||GU)(C(AA),C(BH))};
GU.\u0275cmp=Mc({type:GU,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},decls:10,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectionChange"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-button","","mat-dialog-close","","aria-label","Dismiss modal","role","button",3,"click"],["mat-flat-button","","mat-dialog-close","","color","primary","aria-label","'Save saved search selection'",1,"gmat-button",3,"disabled",
"click"],["checkboxPosition","before",3,"selected","value"],[1,"savedsearch-name","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&&(H(0,"h2",0),R(1," Add Saved Search\n"),I(),H(2,"div",1)(3,"mat-selection-list",2),M("selectionChange",function(c){return b.onChangeMatList(c)}),P(4,SSa,6,6,"ng-container",3),I()(),H(5,"mat-dialog-actions")(6,"button",4),M("click",function(){return b.onCancel()}),
R(7," Cancel "),I(),H(8,"button",5),M("click",function(){return b.onConfirm()}),R(9," Add "),I()());a&2&&(B(4),F("ngForOf",b.userSavedSearches)("ngForTrackBy",b.trackBySearchId),B(4),F("disabled",b.pristine))},dependencies:[Nw,Ow,EA,FA,GA,HA,KT,LT,qA],styles:["[_nghost-%COMP%]     .mat-dialog-title{margin:0}[_nghost-%COMP%]     .mat-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .mat-dialog-content{width:500px;padding:0}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content{padding:5px 0;padding-right:20px;padding-left:24px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content .savedsearch-name{height:24px;font-size:.8125rem}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-text{padding-left:12px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-text p{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400}\n/*# sourceMappingURL=saved_search_picker_modal.css.map */"]});
var IU=function(a){this.dialog=a};IU.prototype.open=function(){var a=this,b={panelClass:"no-jitter"};return new Promise(function(c){yA(a.dialog.open(GU,b)).subscribe(function(d){c(d)})})};IU.\u0275fac=function(a){return new (a||IU)(u(DA))};IU.\u0275prov=wc({token:IU,factory:IU.\u0275fac,providedIn:"root"});var oHc=function(){this.headerOnly=!1;this.emailToUser=xi};oHc.\u0275fac=function(a){return new (a||oHc)};
oHc.\u0275cmp=Mc({type:oHc,selectors:[["b-changelist-activity-card"]],inputs:{changelistWithId:"changelistWithId",headerOnly:"headerOnly"},decls:1,vars:1,consts:[["class","container carded bg-main",4,"ngIf"],[1,"container","carded","bg-main"],[1,"header","critique"],[1,"logo"],["alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",1,"user-avatar","material","robo-avatar","ng-star-inserted"],[1,"text","line-clamp-3"],[1,"first-row","heading-xs",3,"title"],["taret","_blank",
1,"subtle-link","line-clamp-2",3,"href"],[1,"second-row","type-xs"],["target","_blank",1,"subtle-link",3,"href"],[3,"model"],[1,"menu"],["mat-icon-button","","aria-label","Show menu for this artifact",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["artifactMenu","matMenu"],["mat-menu-item",""],["class","show-updates",4,"ngIf"],["class","updates",4,"ngIf"],["class","actions margin-s-top",4,"ngIf"],[1,"show-updates"],["mat-button","","aria-label","Show affected files",
1,"small",3,"click"],["svgIcon","arrow-down"],[1,"updates"],[1,"type-m","margin-bottom"],["mat-icon-button","","aria-label","Hide affected files",1,"small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","update",4,"ngFor","ngForOf"],[1,"update"],[1,"text"],[1,"actions","margin-s-top"],[1,"initiate","bordered","rounded"],["svgIcon","pop-out",1,"icon-s","margin-left"],["mat-button","","target","_blank",3,"href"]],template:function(a,b){a&1&&P(0,XSa,31,13,"div",0);a&2&&F("ngIf",null==b.changelistWithId?
null:b.changelistWithId.changelist)},dependencies:[Nw,Ow,bB,qA,rA,rM,lC,jC,kC],styles:[".container[_ngcontent-%COMP%]{padding:8px;margin-bottom:4px}.container   .d-comfort[_nghost-%COMP%]   .container[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .container[_ngcontent-%COMP%]{padding:16px;margin-bottom:8px}.header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;border-bottom:2px solid gray;padding-bottom:8px;margin-bottom:8px}.header   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]{gap:16px}.header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px;width:30px}.header   .logo   img   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px;width:40px}.header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-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-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-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar img.user-avatar{height:32px;width:32px}[_nghost-%COMP%]     .comment .bv2-profile-avatar img.user-avatar{height:24px;width:24px}.update[_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:8px;gap:8px}.update   .d-comfort[_nghost-%COMP%]   .update[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .update[_ngcontent-%COMP%]{padding:16px;gap:16px}.update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%], .update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:32px;width:32px}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:90%;overflow-wrap:anywhere}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{font-style:italic}.update[_ngcontent-%COMP%]   .metadata[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.subtle-link[_ngcontent-%COMP%]{cursor:pointer}\n/*# sourceMappingURL=card_common.css.map */",
".header.critique[_ngcontent-%COMP%]{border-bottom:2px solid #1e8e3e}\n/*# sourceMappingURL=changelist_activity_card.css.map */"]});var JU=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};JU.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};JU.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};JU.\u0275fac=function(a){return new (a||JU)(C(Bd))};JU.\u0275dir=Qc({type:JU,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[ed]});var KU=function(){};KU.\u0275fac=function(a){return new (a||KU)};KU.\u0275mod=Oc({type:KU});KU.\u0275inj=xc({});var LU=function(a){this.currentUser=a;this.headerOnly=!1;this.STATUS_JS_TERSE=pF;this.emailToUser=xi;this.ReactionType=xac;this.IssueStatus=Dac;this.toIssuePriority=zl;this.showCommentBox=new Map};f=LU.prototype;f.getClNumber=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)};f.getUserEmailIfAvailable=function(a){return ti(a.userPerformingActionUser)};f.clAuthorToUser=function(a){return{emailAddress:Tl(a)+"@google.com"}};
f.clAuthorToEmailAddress=function(a){return Tl(a)+"@google.com"};f.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};f.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(ad(a.preDiffs),ad(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(ad(a.preDiffs),ad(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};
LU.\u0275fac=function(a){return new (a||LU)(C(MI))};
LU.\u0275cmp=Mc({type:LU,selectors:[["b-issue-activity-card"]],inputs:{issueWithEvents:"issueWithEvents",headerOnly:"headerOnly"},decls:4,vars:1,consts:[[1,"container","carded","bg-main"],[4,"ngIf"],["loading",""],[1,"header","buganizer"],[1,"logo"],["alt","","src","https://www.gstatic.com/buganizer/img/v3/logo_light.svg",1,"user-avatar","material","robo-avatar","ng-star-inserted"],[1,"text","line-clamp-3","break-word"],[1,"first-row","heading-xs"],[1,"subtle-link",3,"href"],[1,"second-row","type-xs"],
[3,"issuePriority"],[3,"ngSwitch",4,"ngIf"],[1,"menu"],["mat-icon-button","","aria-label","Show menu for this artifact",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["artifactMenu","matMenu"],["mat-menu-item",""],[4,"ngIf","ngIfElse"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"model"],["class","show-updates",4,"ngIf"],["class","updates",4,"ngIf"],["class","actions",4,"ngIf"],[1,"show-updates"],["mat-button","","aria-label","Show recent updates",1,"small",
3,"click"],["svgIcon","arrow-down",1,"icon-s"],[1,"updates"],[1,"type-m"],["mat-icon-button","","aria-label","Hide recent updates",1,"small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","update",4,"ngFor","ngForOf"],[1,"update"],[1,"avatar"],[1,"bv2-profile-avatar",3,"email"],[1,"text","line-clamp-3"],[1,"type-s","line-clamp-2",3,"title"],[1,"metadata","type-xs","margin-s-top"],["mode","relativepast",3,"timestamp"],["role","button",1,"subtle-link",3,"click"],[1,"type-s","line-clamp-2"],[3,
"changelistId"],[1,"actions"],["class","initiate bordered rounded",4,"ngIf"],["class","comment bordered rounded padded-s",4,"ngIf"],[1,"initiate","bordered","rounded"],["svgIcon","add_circle_outline_24px",1,"icon-s","margin-left"],["mat-button","",1,"text","line-clamp-3",3,"click"],[1,"comment","bordered","rounded","padded-s"],["matInput","","aria-label","Add a comment","placeholder","Add a comment...",1,"margin-s-left",3,"bFocus"],["mat-icon-button","","matTooltip","Post comment",1,"gmat-button"],
["svgIcon","check_circle_filled_24px",1,"icon"],["mat-icon-button","","matTooltip","Discard comment",1,"gmat-button",3,"click"],["svgIcon","close",1,"icon"],["mat-icon-button","","matTooltip","Edit comment in issue details page",1,"gmat-button"],["svgIcon","pop-out",1,"icon"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,uTa,23,11,"ng-container",1),P(2,vTa,1,0,"ng-template",null,2,hg),I());a&2&&(B(1),F("ngIf",null==b.issueWithEvents?null:b.issueWithEvents.issue))},dependencies:[Nw,Ow,Pw,Qw,Rw,bB,
QA,TA,lC,jC,kC,tC,qM,SI,PK,rM,qA,wM,JU,VK,Uw],styles:[".container[_ngcontent-%COMP%]{padding:8px;margin-bottom:4px}.container   .d-comfort[_nghost-%COMP%]   .container[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .container[_ngcontent-%COMP%]{padding:16px;margin-bottom:8px}.header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;border-bottom:2px solid gray;padding-bottom:8px;margin-bottom:8px}.header   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]{gap:16px}.header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px;width:30px}.header   .logo   img   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px;width:40px}.header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-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-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-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar img.user-avatar{height:32px;width:32px}[_nghost-%COMP%]     .comment .bv2-profile-avatar img.user-avatar{height:24px;width:24px}.update[_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:8px;gap:8px}.update   .d-comfort[_nghost-%COMP%]   .update[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .update[_ngcontent-%COMP%]{padding:16px;gap:16px}.update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%], .update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:32px;width:32px}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:90%;overflow-wrap:anywhere}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{font-style:italic}.update[_ngcontent-%COMP%]   .metadata[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.subtle-link[_ngcontent-%COMP%]{cursor:pointer}\n/*# sourceMappingURL=card_common.css.map */",
".header.buganizer[_ngcontent-%COMP%]{border-bottom:2px solid #678390}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%], .actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;margin-left:8px}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:45px}\n/*# sourceMappingURL=issue_activity_card.css.map */"],
changeDetection:0});var pHc={QA:124156,NIGHTLY:190923,PROD:190923};var MU=function(a,b,c,d,e,g){GE.call(this);var h=this;this.componentApi=b;this.appEvents=e;this.activeSession=g;this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(m){h.components.removeAll();d.invalidate(m)}));this.componentGetter=c.adapt(function(m){var r=ta(m);waa(r);return h.componentApi.query({id:r}).then(function(v){var y={};v=k(v);for(var A=v.next();!A.done;A=
v.next())(A=A.value)&&(y[A.componentId]=A);return m.map(function(G){return y[G]||null})})})};U(MU,GE);MU.\u0275dir=GE.\u0275dir;f=MU.prototype;f.get=function(a){var b=this.components.get(String(a));if(null!=b)return b;b=this.componentGetter.get(a).then(function(c){return null!=c?c:Promise.reject({data:{message:"Could not load details for component "+a}})});return this.components.put(String(a),b)};
f.create=function(a){var b=this;return this.componentApi.create(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};f.update=function(a){var b=this;return this.componentApi.update(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};f.move=function(a,b){var c=this;return this.componentApi.move(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};
f.updateSlo=function(a,b){var c=this;return this.componentApi.updateSlo(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};f.updateTeam=function(a,b){var c=this;return this.componentApi.updateTeam(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};f.getChildren=function(a,b,c){return this.componentApi.getChildren(a,void 0===b?!1:b,c)};f.getDescendants=function(a){return this.componentApi.getDescendants(a)};
f.getUncached=function(a,b){b=void 0===b?!1:b;this.components.remove(String(a));var c={};b&&(c.checkEditAccess=!0);return this.componentApi.fetchComponent(a,c)};f.search=function(a,b){var c={query:a};if(void 0===b?0:b)c.includearchived=!0;return qHc(this,a,this.componentApi.query(c))};
var qHc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=pHc[a.activeSession.getEnvironmentType()];if(d)return $n({publicComponent:a.get(d),rest:c}).then(function(e){var g=[e.publicComponent];e=k(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&g.push(h);return g})}return c};
MU.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(g){return!b.components.get(String(g))});waa(c);if(c.length){a=this.componentApi.query({id:c}).then(function(g){var h={};g=k(g);for(var m=g.next();!m.done;m=g.next())(m=m.value)&&(h[m.componentId]=m);return h});c=k(c);for(var d=c.next(),e={};!d.done;e={$jscomp$loop$prop$id$2092430033$1:e.$jscomp$loop$prop$id$2092430033$1},d=c.next())e.$jscomp$loop$prop$id$2092430033$1=d.value,this.components.put(String(e.$jscomp$loop$prop$id$2092430033$1),
a.then(function(g){return function(h){return h[g.$jscomp$loop$prop$id$2092430033$1]?h[g.$jscomp$loop$prop$id$2092430033$1]:Promise.reject({data:{message:"Could not load details for component "+g.$jscomp$loop$prop$id$2092430033$1}})}}(e)))}};MU.\u0275fac=function(a){return new (a||MU)(u(mH),u(lfc),u(XF),u(PF),u(sG),u(bt))};MU.\u0275prov=wc({token:MU,factory:MU.\u0275fac,providedIn:"root"});var NU=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new pw;this.expandComponent=new pw;this.goBack=new pw};NU.prototype.ngOnInit=function(){};NU.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};NU.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};NU.\u0275fac=function(a){return new (a||NU)};
NU.\u0275cmp=Mc({type:NU,selectors:[["component-row"]],inputs:{showFolderSpecialIcon:"showFolderSpecialIcon",componentOption:"componentOption",mode:"mode",query:"query"},outputs:{selectComponentId:"selectComponentId",expandComponent:"expandComponent",goBack:"goBack"},decls:13,vars:10,consts:[[1,"container"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"content"],[1,"margin-s-right"],[4,"ngIf","ngIfElse"],["leafOnly",""],["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,"matTooltip","mousedown"],[3,"svgIcon"],[4,"ngFor","ngForOf"],["noAccessComponent",""],[4,"ngIf"],[1,"subtle-link",3,"innerHtml","mousedown"],[1,"subtle-link",3,"mousedown"],[1,"archived-indicator"]],template:function(a,b){a&1&&(H(0,"div",0),K(1,1),P(2,wTa,2,0,"ng-container",
2),P(3,xTa,3,0,"ng-container",2),P(4,yTa,3,3,"ng-container",3),L(),H(5,"div",4)(6,"span",5),P(7,DTa,2,1,"ng-container",6),P(8,FTa,1,1,"ng-template",null,7,hg),P(10,GTa,2,0,"span",8),I(),J(11,"b-access-level-indicator",9)(12,"b-tracker-chip-smart",10),I()());if(a&2){var c=Lf(9);B(1);F("ngSwitch",b.mode);B(1);F("ngSwitchCase","recent");B(1);F("ngSwitchCase","tree");B(4);F("ngIf","leaf"!==b.mode)("ngIfElse",c);B(3);F("ngIf",b.componentOption.archived);B(1);F("accessLevel",null==b.componentOption.accessLimit?
null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0);B(1);F("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[Nw,Ow,Pw,Qw,Rw,bB,qA,tC,hL,nP,XJ,omc],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 OU=function(a,b,c,d,e,g,h){var m=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=g;this.currentTracker=h;this.includeArchived=!1;this.searchQuery$=new E.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(Ke(250));this.state$=new E.BehaviorSubject("default");this.listUpdated$=new E.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new E.BehaviorSubject(void 0);this.componentOptions=[];this.childTeamsMap=
new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new E.BehaviorSubject([]);this.showAllTeams$=new E.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(Ne());this.teamOptions$=new E.BehaviorSubject([]);this.filteredTeamOptions$=(0,E.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(D(function(r){r=k(r);var v=r.next().value;return r.next().value?v:v.slice(0,5)}));this.hasHiddenTeams$=(0,E.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(D(function(r){var v=
k(r);r=v.next().value;v=v.next().value;return 5<r.length&&!v}));this.newChildTeams$=new E.BehaviorSubject([]);this.teamsDisplayed$=(0,E.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(D(function(r){return r?[r]:[]}))).pipe(D(function(r){return r.map(function(v){return v.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(D(function(r){return r.filter(function(v){return!m.childTeamsMap.has(v)})}),De(function(r){return 0<r.length}),af(function(r){return m.teamsService.getChildTeams(r)}),
D(KTa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(D(function(r){return r.filter(function(v){return!m.componentCountMap.has(v)})}),De(function(r){return 0<r.length}),af(function(r){return ojc(m.teamsService,r)}));this.componentIdSelected$=new E.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
OU.prototype.init=function(a){var b=this;a=void 0===a?!1:a;rHc(this);(0,E.combineLatest)([this.debouncedSearchQuery$.pipe(Ze(a?1:0)),this.state$]).pipe(bf(this.destroyed$)).subscribe(function(c){var d=k(c);c=d.next().value;d=d.next().value;b.showAllTeams$.next(!1);"default"===d?c?b.state$.next("global"):(b.componentOptions=[],b.teamOptions$.next([]),b.listUpdated$.next()):"global"===d?c?(b.includeTeamData()&&sHc(b,c),tHc(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
tHc(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&uHc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(df(this.state$),bf(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;"component_scope"===c.next().value&&b.state$.next(d?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(bf(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(bf(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};OU.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};OU.prototype.includeTeamData=function(){return this.config.includeTeamData&&!this.currentTracker.inTracker};
var rHc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=vHc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,xI(a.teamsService,"").pipe(bf(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(HTa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
OU.prototype.filterTrackerComponents=function(a){return!this.currentTracker.inTracker||a.trackerId===this.getTrackerId()};OU.prototype.selectOption=function(a){"component"===a.type?XUa(this,a.id):"team"===a.type?dUa(this,a):console.warn("invalid option selected")};
var XUa=function(a,b){var c=wHc(a);a.analytics.trackEvent(io.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},wHc=function(a){if("default"===a.state$.value)return"recent-component";if("global"===a.state$.value)return"global-search";if("component_scope"===a.state$.value)return"component-scope";if("team_scope"===a.state$.value){var b,c=null==(b=a.teamScope$.value)?void 0:b.id;return a.myTeams$.value.some(function(d){return d.id===c})?"my-team":"team-scope"}return""};
OU.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var KUa=function(a,b){a.componentActions.get(b).then(function(c){var d=Ds(a.currentTracker,c.componentPathInfo);a.componentScope=JTa(c,d);a.state$.next("component_scope")})},JUa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},dUa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||xp(a,b.id)},xp=function(a,b){a.teamsLoading=!0;xI(a.teamsService,b).pipe(bf(a.destroyed$)).subscribe(function(c){c=
c.map(HTa);if(1===c.length){c=c[0];var d,e=c.id!==(null==(d=a.teamScope$.value)?void 0:d.id);a.teamScope$.next(c);a.teamsLoading=!1;e&&a.state$.next("team_scope")}},function(){a.teamsLoading=!1})},xHc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;xp(a,b[b.length-2])}};OU.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
OU.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var zUa=function(a,b){b.expanded=!1;a.listUpdated$.next()},AUa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},DUa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},sHc=function(a,b){1<b.length&&(a.teamsLoading=!0,xI(a.teamsService,b).pipe(bf(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(HTa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},tHc=function(a,b){if(1<b.length){a.componentsLoading=
!0;var c=a.requestIndex++;a.componentActions.search(b,a.includeArchived).then(function(d){c>a.lastProcessedIndex&&(a.lastProcessedIndex=c,a.componentOptions=vHc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},uHc=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=vHc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=!1})},vHc=
function(a,b){return b.map(function(c){var d=Ds(a.currentTracker,c.componentPathInfo);return JTa(c,d)})};var yHc=0,PU=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+yHc;yHc+=1};PU.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};PU.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};PU.\u0275fac=function(a){return new (a||PU)(C(Hw),C(Bd))};
PU.\u0275dir=Qc({type:PU,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Ef("id",b.id),yf("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var QU=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new pw};QU.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};QU.prototype.ngOnInit=function(){};QU.\u0275fac=function(a){return new (a||QU)};
QU.\u0275cmp=Mc({type:QU,selectors:[["team-row"]],inputs:{teamOption:"teamOption",query:"query",allowSegmentSelection:"allowSegmentSelection",compact:"compact",hasNoComponent:"hasNoComponent"},outputs:{selectTeamId:"selectTeamId"},decls:5,vars:7,consts:[[1,"container"],["alt","Team logo",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"],["lastSeg",""],["plainText",""],[1,"subtle-link",3,"mousedown"],["normal",""],[1,"team-name"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,LTa,1,1,"img",1),H(2,"div",2),P(3,NTa,4,5,"div",3),P(4,VTa,2,1,"div",4),I()());a&2&&(yf("no-component",b.hasNoComponent)("compact",b.compact),B(1),F("ngIf",!b.compact),B(2),F("ngIf",!b.compact),B(1),F("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[Nw,Ow,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 zHc=new Zc("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),AHc=new Zc("mat-progress-bar-location",{providedIn:"root",factory:WTa});xh(function(a){this._elementRef=a},"primary");var BHc=["primaryValueBar"],CHc=xh(function(a){this._elementRef=a},"primary"),DHc=0,RU=function(a,b,c,d,e,g){a=CHc.call(this,a)||this;a._ngZone=b;a._animationMode=c;a._changeDetectorRef=g;a._isNoopAnimation=!1;a._value=0;a._bufferValue=0;a.animationEnd=new pw;a._animationEndSubscription=E.Subscription.EMPTY;a.mode="determinate";a.progressbarId="mat-progress-bar-"+DHc++;a._rectangleFillValue="url('"+(d?d.getPathname().split("#")[0]:"")+"#"+a.progressbarId+"')";a._isNoopAnimation="NoopAnimations"===
c;e&&(e.color&&(a.color=a.defaultColor=e.color),a.mode=e.mode||a.mode);return a};U(RU,CHc);RU.prototype._primaryTransform=function(){return{transform:"scale3d("+this.value/100+", 1, 1)"}};RU.prototype._bufferTransform=function(){return"buffer"===this.mode?{transform:"scale3d("+this.bufferValue/100+", 1, 1)"}:null};
RU.prototype.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._primaryValueBar.nativeElement;a._animationEndSubscription=(0,E.fromEvent)(b,"transitionend").pipe(De(function(c){return c.target===b})).subscribe(function(){0!==a.animationEnd.observers.length&&("determinate"!==a.mode&&"buffer"!==a.mode||a._ngZone.run(function(){return a.animationEnd.next({value:a.value})}))})})};RU.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()};
wh.Object.defineProperties(RU.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,Jg(a)||0));var b;null==(b=this._changeDetectorRef)||b.markForCheck()}},bufferValue:{configurable:!0,enumerable:!0,get:function(){return this._bufferValue},set:function(a){this._bufferValue=Math.max(0,Math.min(100,a||0));var b;null==(b=this._changeDetectorRef)||b.markForCheck()}}});
RU.\u0275fac=function(a){return new (a||RU)(C(Bd),C(ef),C(Ov,8),C(AHc,8),C(zHc,8),C(Hw))};
RU.\u0275cmp=Mc({type:RU,selectors:[["mat-progress-bar"]],viewQuery:function(a,b){a&1&&cg(BHc,5);if(a&2){var c;bg(c=eg())&&(b._primaryValueBar=c.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(a,b){a&2&&(pf("aria-valuenow","indeterminate"===b.mode||"query"===b.mode?null:b.value)("mode",b.mode),yf("_mat-animation-noopable",b._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",
mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[lf],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],"cx 2 cy 2 r 2".split(" "),["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill",
"mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(a,b){a&1&&(H(0,"div",0),pd(),H(1,"svg",1)(2,"defs")(3,"pattern",2),J(4,"circle",3),I()(),J(5,"rect",4),I(),qd(),J(6,"div",5)(7,"div",6,7)(9,"div",8),I());a&2&&(B(3),F("id",b.progressbarId),B(2),pf("fill",b._rectangleFillValue),B(1),F("ngStyle",b._bufferTransform()),B(1),F("ngStyle",b._primaryTransform()))},dependencies:[Sw],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-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 mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],
encapsulation:2,changeDetection:0});var EHc=["container"],FHc=["inputBox"],GHc=["dropdownTemplate"],HHc=["dropdown"],iUa=function(a){return{mode:"recent",$implicit:a}},nUa=function(a){return[a]},mUa=function(a,b){return{team:a,level:0,order:b}},tUa=function(a){return{mode:"default",$implicit:a}},wUa=function(a){return[0,a]},EUa=function(){return[0]},HUa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},NUa=function(a){return{mode:"leaf",$implicit:a}},SUa=function(a,b,c){return{team:a,level:b,order:c}},IHc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],SU=function(a,b,c,d,e,g,h,m,r,v,y){GE.call(this);this.overlay=a;this.viewContainerRef=b;this.userApi=c;this.componentActions=d;this.teamsService=e;this.userAccess=g;this.paths=h;this.analytics=m;this.activeSession=r;this.currentTracker=v;this.cdr=y;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new pw;this.shouldFocus=!1;this.touched=
new pw;this.selectedComponentChange=new pw;this.dropdownClosed=new pw;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new OU(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};U(SU,GE);SU.\u0275dir=GE.\u0275dir;
SU.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(bf(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;JHc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,E.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(bf(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
SU.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var JHc=function(a){if(a.selectedComponent){var b=Ds(a.currentTracker,a.selectedComponent.componentPathInfo);b=JTa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},KHc=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}};f=SU.prototype;f.ngOnChanges=function(a){a.selectedComponent&&(JHc(this),this.checkAdminAccess&&this.selectedComponent&&LHc(this,this.selectedComponent))};f.ngOnDestroy=function(){this.close();GE.prototype.ngOnDestroy.call(this)};
f.ngAfterViewInit=function(){var a=this;this.keyManager=ez(fz(new jz(this.listOptions)));this.searchState.listUpdated$.pipe(bf(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(bf(this.destroyed$)).subscribe(function(b){var c=b.toArray();b=c.filter(function(e){return null==e.listOrder});c=c.filter(function(e){return null!=e.listOrder}).sort(gVa);b=[].concat(ad(c),ad(b));a.listOptions.reset(b);var d;if(null==(d=a.keyManager)?0:d.activeItem)d=b.indexOf(a.keyManager.activeItem),
-1<d&&d!==a.keyManager.activeItemIndex&&a.keyManager.setActiveItem(d)});this.shouldFocus&&setTimeout(function(){a.inputBox.nativeElement.focus()})};f.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
f.close=function(a){a=void 0===a?!1:a;this.isDropdownOpen&&this.dropdownOverlayRef&&(this.searchState.searchQuery$.value||(this.selectedComponent=void 0,this.selectedComponentChange.emit(void 0)),"team_scope"===this.searchState.state$.value&&DUa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),this.analytics.trackEvent(io.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
f.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var MHc=function(a){var b,c,d;return null!=(d=null==(b=a.keyManager)?void 0:null==(c=b.activeItem)?void 0:c.id)?d:void 0};
SU.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),KHc(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||l_b(d);KHc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),KHc(this)):(this.open(),setTimeout(function(){var d;null!=(d=b.keyManager)&&d._setActiveItemByIndex(0,1);KHc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?DUa(this.searchState):this.searchState.selectOption(this.keyManager.activeItem.data),a.preventDefault());break;case "ArrowRight":if(this.keyManager.activeItem){var c=this.keyManager.activeItem.data;"team"===c.type?(a.preventDefault(),AUa(this.searchState,c)):"component"===c.type&&(a.preventDefault(),this.searchState.expandComponent(c))}break;case "ArrowLeft":this.keyManager.activeItem&&"team"===this.keyManager.activeItem.data.type&&
(a.preventDefault(),this.searchState.teamScope$.value!==this.keyManager.activeItem.data||this.searchState.teamScope$.value.expanded?zUa(this.searchState,this.keyManager.activeItem.data):xHc(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),JUa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(DUa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var wp=function(a){a.preventDefault();a.stopPropagation()},LHc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;aG(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};f=SU.prototype;
f.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new zz({positionStrategy:a,scrollStrategy:b,panelClass:["b-team-component-picker-dropdown","gmat-elevation-z3"],width:null==(c=this.container.nativeElement)?void 0:c.offsetWidth}))};f.attach=function(){var a=new Xx(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
f.getPositionStrategy=function(){return Cz(E_b(Ez(Gz(this.overlay.position(),this.container),!1),!1),IHc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};f.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&(this.keyManager.setActiveItem(-1),this.dropdown&&(this.dropdown.nativeElement.scrollTop=0))};wh.Object.defineProperties(SU.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
SU.\u0275fac=function(a){return new (a||SU)(C(Hz),C($f),C(BH),C(MU),C(vI),C($F),C(dH),C(TH),C(bt),C(eL),C(Hw))};
SU.\u0275cmp=Mc({type:SU,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(cg(EHc,7),cg(FHc,7),cg(GHc,7),cg(HHc,5),cg(PU,5));if(a&2){var c;bg(c=eg())&&(b.container=c.first);bg(c=eg())&&(b.inputBox=c.first);bg(c=eg())&&(b.dropdownTemplateRef=c.first);bg(c=eg())&&(b.dropdown=c.first);bg(c=eg())&&(b.listOptions=c)}},inputs:{placeholder:"placeholder",isRequired:"isRequired",ariaLabel:"ariaLabel",selectedComponent:"selectedComponent",checkAdminAccess:"checkAdminAccess",shouldFocus:"shouldFocus",
includeArchived:"includeArchived"},outputs:{accessCheckComplete:"accessCheckComplete",touched:"touched",selectedComponentChange:"selectedComponentChange",dropdownClosed:"dropdownClosed"},features:[lf,ed],decls:13,vars:10,consts:[[1,"container","pseudo-input"],["container",""],["type","text","role","combobox","autocomplete","off","spellcheck","false","aria-autocomplete","list",1,"override",3,"ngModel","placeholder","required","ngModelChange","keydown","click","focus","blur"],["inputBox",""],["mat-icon-button",
"","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown",4,"ngIf"],[4,"ngIf"],["dropdownTemplate",""],["teamTreeItem",""],["componentList",""],["mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown"],["svgIcon","clear"],["class","bv2-picker-checking",4,"ngIf","ngIfElse"],["maybeShowNotAdmin",""],[1,"bv2-picker-checking"],["class","bv2-picker-error",4,"ngIf"],[1,"bv2-picker-error"],["target","_blank",3,
"href"],[1,"dropdown",3,"mousedown"],["dropdown",""],[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,"data","mousedown"],[3,"teamOption","query","hasNoComponent","selectTeamId"],["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,"teamOption","query","compact","allowSegmentSelection","selectTeamId"],["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,"componentOption","goBack","selectComponentId"],["role","treeitem","listOption","",1,"list-option",3,"listOrder","data","mousedown"],[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"],["emptyList",""],["role","listbox"],["role","option","listOption","","class","list-option",3,"data","mousedown",4,"ngFor","ngForOf"],["role","option","listOption","",1,"list-option",3,"data","mousedown"],[3,"showFolderSpecialIcon","componentOption","query","mode","selectComponentId","expandComponent"],["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){a&1&&(H(0,"div",0,1)(2,"input",2,3),M("ngModelChange",function(d){return b.searchState.searchQuery$.next(d)})("keydown",function(d){return b.handleKeydown(d)})("click",function(){b.open();return b.touched.emit()})("focus",function(){return b.open()})("blur",function(){return b.close()}),S(4,"async"),I(),P(5,XTa,2,0,"button",4),I(),P(6,aUa,4,2,"div",5),P(7,PUa,11,8,"ng-template",null,6,hg),P(9,VUa,5,11,"ng-template",null,
7,hg),P(11,fVa,3,2,"ng-template",null,8,hg));if(a&2){var c=Lf(3);B(2);F("ngModel",T(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired);pf("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",MHc(b));B(3);F("ngIf",c.value);B(1);F("ngIf",b.checkAdminAccess)}},dependencies:[Nw,Ow,Tw,Pw,Qw,Rw,bB,xg,ox,Fx,ux,qA,xM,tC,RU,QU,NU,PU,Uw],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 NHc={ME:0,TEAM:1,COMPONENT:2,HOTLIST:3,SAVEDSEARCH:4,0:"ME",1:"TEAM",2:"COMPONENT",3:"HOTLIST",4:"SAVEDSEARCH"},OHc=new Map([[0,{type:0,display:"My activity",search:{atom:"assignee",value:"me"}}],[2,{type:2,display:"Component",search:{atom:"componentid",value:void 0}}],[3,{type:3,display:"Hotlist",search:{atom:"hotlistid",value:void 0}}]]),PHc=OHc.get(0),TU=function(a){var b=this;this.hotlistFridge=a;this.selectedFilter=PHc;this.isOpen=!1;this.FilterType=NHc;this.filters=OHc;this.selectedComponent=
null;this.isHotlistPanelOpen=!1;this.selectedHotlist=null;this.userHotlistQuery$=new E.BehaviorSubject("");this.userHotlists$=gic(this.hotlistFridge);this.displayedHotlists$=this.userHotlistQuery$.pipe(Ke(200),af(function(c){c=c.toLowerCase();return b.userHotlists$.pipe(D(function(d){return d.filter(function(e){return e.name.toLowerCase().includes(c)})}))}));this.selected=new pw;this.internalSelectedFilter=Zh(this.selectedFilter);if(a=Np("streamFilterSelectedComponent")())this.selectedComponent=a,
this.filters.get(2).search.value=a.componentId+"+";if(a=Np("streamFilterSelectedHotlist")())this.selectedHotlist=a,this.filters.get(3).search.value=String(a.hotlistId)};TU.prototype.selectComponent=function(a){a&&(yp("streamFilterSelectedComponent")(a),this.selectedComponent=a,this.filters.get(2).search.value=a.componentId+"+",this.selectedFilter=this.filters.get(2))};
var QHc=function(a){var b=a.selectedFilter.display;switch(a.selectedFilter.type){case 2:if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.componentPathName)return b+": "+a.selectedComponent.componentPathInfo.componentPathName[a.selectedComponent.componentPathInfo.componentPathName.length-1];break;case 3:if(a.selectedHotlist)return b+": "+a.selectedHotlist.name}return b};TU.prototype.openMenu=function(){this.isOpen=!0};
TU.prototype.closeMenu=function(){this.selectedFilter||(this.selectedFilter=this.internalSelectedFilter);2!==this.selectedFilter.type&&3!==this.selectedFilter.type||this.selectedFilter.search.value||(this.selectedFilter=this.internalSelectedFilter);this.isOpen=!1};TU.prototype.emitSelection=function(){this.selected.emit(this.selectedFilter);this.closeMenu()};TU.\u0275fac=function(a){return new (a||TU)(C(FH))};
TU.\u0275cmp=Mc({type:TU,selectors:[["b-activity-stream-filter"]],inputs:{selectedFilter:"selectedFilter"},outputs:{selected:"selected"},decls:8,vars:5,consts:[["mat-icon-button","","aria-label","Show menu to filter stream","aria-haspopup","true","cdkOverlayOrigin","",1,"gmat-button","large",3,"click"],["trigger","cdkOverlayOrigin"],["svgIcon","filter"],[1,"chippy","rounded"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",
"cdkConnectedOverlayPanelClass","filter-stream-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],["loading",""],["id","radio-group-label",1,"heading-s"],["aria-labelledby","radio-group-label",1,"radio-group",3,"value","change"],["class","radio-button",3,"checked","value",4,"ngIf"],[4,"ngIf"],[1,"actions","padded","flex-kids-x","justify-flex-end","gap"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary",3,"click"],[1,"radio-button",3,"checked",
"value"],[1,"bv2-search-component-picker","margined",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["appearance","outline",1,"stream-filter-hotlist-search","margined"],["autocomplete","off","aria-label","Search hotlists","matInput","","cdkOverlayOrigin","","placeholder","Search starred hotlists",1,"margined",3,"value","input","focus"],["searchHotlistsInput","","hotlistPanelTrigger","cdkOverlayOrigin"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass",
"cdk-overlay-transparent-backdrop","cdkConnectedOverlayPanelClass","search-hotlists-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],[3,"multiple","selectionChange"],[4,"ngIf","ngIfElse"],[3,"value",4,"ngFor","ngForOf"],[3,"value",4,"ngIf"],[3,"value"]],template:function(a,b){a&1&&(H(0,"button",0,1),M("click",function(){return b.openMenu()}),J(2,"mat-icon",2),I(),H(3,"div",3),R(4),I(),P(5,rVa,15,6,"ng-template",4),M("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}),P(6,sVa,1,0,"ng-template",null,5,hg));if(a&2){var c=Lf(1);yf("menu-open",b.isOpen);B(4);Mf(" ",QHc(b),"\n");B(1);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[Nw,Ow,bB,qA,QA,PA,TA,KT,LT,xM,Jz,Iz,DN,EN,wM,SU,Uw],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}  .filter-stream-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);padding:16px;-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;min-width:500px;max-width:18rem;max-height:calc(100vh - 100px);overflow-y:auto}  .search-hotlists-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);max-height:20rem;overflow-y:auto;-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}  .stream-filter-hotlist-search .mat-form-field-infix{padding:8px 0}  .stream-filter-hotlist-search .mat-form-field-infix input{height:1.25rem}.stream-filter-hotlist-search[_ngcontent-%COMP%]{width:380px}.chippy[_ngcontent-%COMP%]{font-weight:500;color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}.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;margin:15px 0;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.radio-button[_ngcontent-%COMP%]{margin:5px}\n/*# sourceMappingURL=stream_filter.css.map */"]});var AVa=function(){return[]},RHc={CARD_HEADER_ONLY:0,0:"CARD_HEADER_ONLY"},UU=function(a,b,c,d,e){this.issueFridge=a;this.eventsForIssueFridge=b;this.currentUser=c;this.dateFormatter=d;this.changelistApi=e;this.showCls=!1;this.issuesWithEvents$=(0,E.of)([]);this.changelistsWithIds=(0,E.of)([]);this.loadingCards=!0;this.isSettingsMenuOpen=!1;this.settings=new Map([[0,{id:0,display:"Show card headers only",value:!1}]]);this.SettingType=RHc;a=Vm("activityStreamHeaderOnly")();this.settings.get(0).value=
null!=a?a:!1;this.selectedFilter=(a=Np("activityStreamSelectedFilter")())?a:PHc;SHc(this)},SHc=function(a){a.loadingCards=!0;a.issuesWithEvents$=a.issueFridge.watchMany({filter:a.selectedFilter.search.atom+":"+a.selectedFilter.search.value+" AND modified:7d",pageSize:25,sort:"modified_time:desc"}).pipe(D(function(b){var c;return null!=(c=b.results)?c:[]}),D(a.buildIssuesWithEvents.bind(a)),cf(function(){THc(a)}))};
UU.prototype.getDayOfYear=function(a){a=void 0===a?new Date:a;var b=new Date(a.getFullYear(),0,0);return Math.floor((a.getTime()-b.getTime()+6E4*(b.getTimezoneOffset()-a.getTimezoneOffset()))/864E5)};var THc=function(a){setTimeout(function(){a.loadingCards=!1},500)};
UU.prototype.buildIssuesWithEvents=function(a){var b=this,c=[];a.sort(function(e,g){return g.majorModifiedTimeMicros-e.majorModifiedTimeMicros});a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c.push({issue:d,events:this.eventsForIssueFridge.watchOne(d.issueId).pipe(D(function(e){if(e){var g,h=null!=(g=e.events)?g:[];e=e.id;g=[];h=k(h);for(var m=h.next();!m.done;m=h.next())if(m=m.value){var r=b.getInterestingEventType(m);r&&g.push({issueId:e,event:m,eventType:r})}e=g}else e=[];return e}))});
return c};
UU.prototype.getInterestingEventType=function(a){if(!a||a.modifiedDate<Date.now()-12096E5)return null;if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(ad(a.preDiffs),ad(a.postDiffs));b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.oldValue&&("priority"===c.name||"status"===c.name))return"newIssue";if("priority"===c.name)return"priority";if("status"===c.name)return Rl(a)?"changelistFixed":"status";if("assignee"===c.name)return"assignee";if("statusUpdate"===c.name)return"statusUpdate"}}return Rl(a)?"changelist":
Jl(a)&&a.isHumanAuthor?"comment":null};UU.\u0275fac=function(a){return new (a||UU)(C(YH),C(CF),C(MI),C(UK),C(CD))};
UU.\u0275cmp=Mc({type:UU,selectors:[["b-activity-stream"]],decls:11,vars:5,consts:[[1,"container","padded"],[1,"filters","margin-s-bottom","border-bottom"],[1,"flex",3,"selectedFilter","selected"],["mat-icon-button","","color","primary","aria-label","Refresh the stream",1,"gmat-button",3,"click"],["svgIcon","refresh"],["mat-icon-button","","aria-haspopup","true","cdkOverlayOrigin","","aria-label","Show settings for activity stream",1,"gmat-button",3,"click"],["settingsMenuTrigger","cdkOverlayOrigin"],
["svgIcon","more-settings-vertical"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop","cdkConnectedOverlayPanelClass","activity-stream-settings-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],["class","card-scroll padded-x",4,"ngIf"],[4,"ngIf"],[3,"value","selected","click"],[1,"card-scroll","padded-x"],[4,"ngFor","ngForOf"],[3,"changelistWithId"],["scrollContainer",""],["class",
"padded centered-inside",4,"ngIf"],["class","carded bg-main margin-bottom the-end",4,"ngIf"],[1,"padded","centered-inside"],[3,"issueWithEvents","headerOnly"],[1,"heading-m","margin-y"],[1,"carded","bg-main","margin-bottom","the-end"],[1,"heading-s"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"b-activity-stream-filter",2),M("selected",function(d){b.selectedFilter=d;yp("activityStreamSelectedFilter")(d);SHc(b)}),I(),H(3,"button",3),
M("click",function(){return SHc(b)}),J(4,"mat-icon",4),I(),H(5,"button",5,6),M("click",function(){b.isSettingsMenuOpen=!0}),J(7,"mat-icon",7),I(),P(8,uVa,2,1,"ng-template",8),M("detach",function(){b.isSettingsMenuOpen=!1})("backdropClick",function(){b.isSettingsMenuOpen=!1}),I(),P(9,wVa,3,3,"div",9),P(10,DVa,6,5,"div",9),I());if(a&2){var c=Lf(6);B(2);F("selectedFilter",b.selectedFilter);B(6);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isSettingsMenuOpen);B(1);F("ngIf",b.showCls);
B(1);F("ngIf",!b.showCls)}},dependencies:[Nw,Ow,bB,qA,KT,LT,Jz,Iz,wM,LU,oHc,TU,Uw],styles:[".card-scroll[_ngcontent-%COMP%]{height:calc(100vh - 175px);overflow-y:scroll}.filters[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}  .activity-stream-settings-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);max-height:20rem;overflow-y:auto;-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}.the-end[_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;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}\n/*# sourceMappingURL=activity_stream.css.map */"]});var VU=function(a){this.internalArray_=l(a)};U(VU,q);VU.prototype.getWorkspaceId=function(){return V(this,1)};VU.prototype.getClientTimeZone=function(){return W(this,mj,2)};VU.prototype.toObject=function(){if(null!=this){t(this);var a={workspaceId:V(this,1),clientTimeZone:MC(this.getClientTimeZone())}}else a=void 0;return a};var WU=function(a){this.internalArray_=l(a)};U(WU,q);WU.prototype.getTaskList=function(){return oj(this,HC,1)};WU.prototype.addTask=function(a){Mo(this,1,HC,a)};WU.prototype.setTask=function(a){return zt(this,1,HC,a)};var UHc=Yb(WU);WU.repeatedFields_=[1];WU.prototype.toObject=function(){if(null!=this){t(this);var a={taskList:Ub(this.getTaskList(),IC)}}else a=void 0;return a};var VHc=new SC("/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",VU,WU,function(a){return a.serialize()},UHc);var YHc=function(){var a=WHc,b=new VU;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",b,XHc||{},VHc)};var XU=function(a){this.internalArray_=l(a)};U(XU,q);XU.prototype.getWorkspaceId=function(){return V(this,4)};XU.prototype.getClientTimeZone=function(){return W(this,mj,5)};XU.prototype.toObject=function(){if(null!=this){t(this);var a={oauthToken:V(this,1),enableDebug:Vj(this,2),autoRefresh:Vj(this,3),workspaceId:V(this,4),clientTimeZone:MC(this.getClientTimeZone())}}else a=void 0;return a};var ZHc=function(a){this.internalArray_=l(a)};U(ZHc,q);ZHc.prototype.toObject=function(){return $Hc(this)};var $Hc=function(a){if(null!=a)return t(a),{logMessage:V(a,1),relativeStartMs:vj(a,2)}};var aIc=function(a){this.internalArray_=l(a)};U(aIc,q);f=aIc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return zj(this,1,a)};f.addRequest=function(a,b){Eb(this,2,ib(a),b)};f.getRequest=function(){return Lt(this,2)};f.getRequestCount=function(){return Xh(this,2,void 0,2).length};f.getResponse=function(a){return Lt(this,4,a)};f.setResponse=function(a){return Ot(this,4,a)};aIc.repeatedFields_=[2,3,4];aIc.prototype.toObject=function(){return bIc(this)};
var bIc=function(a){if(null!=a)return t(a),{name:V(a,1),requestList:n(Xh(a,2)),responseStatusList:n(Xh(a,3)),responseList:n(Xh(a,4)),relativeStartMs:vj(a,5),latencyMs:vj(a,6)}};var cIc=function(a){this.internalArray_=l(a)};U(cIc,q);cIc.repeatedFields_=[1,2];cIc.prototype.toObject=function(){return dIc(this)};var dIc=function(a){if(null!=a)return t(a),{rpcInfoList:Ub(oj(a,aIc,1),bIc),logInfoList:Ub(oj(a,ZHc,2),$Hc)}};var YU=function(a){this.internalArray_=l(a)};U(YU,q);YU.prototype.getTaskList=function(){return oj(this,HC,1)};YU.prototype.addTask=function(a){Mo(this,1,HC,a)};YU.prototype.setTask=function(a){return zt(this,1,HC,a)};var eIc=Yb(YU);YU.repeatedFields_=[1];YU.prototype.toObject=function(){if(null!=this){t(this);var a={taskList:Ub(this.getTaskList(),IC),debugInfo:dIc(W(this,cIc,4)),incrementalUpdate:Vj(this,5)}}else a=void 0;return a};var fIc=new SC("/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",XU,YU,function(a){return a.serialize()},eIc);var hIc=function(){var a=gIc,b=new XU;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",b,XHc||{},fIc)};var iIc=new Zc("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var jIc=function(a){this.options=a};jIc.\u0275fac=function(a){return new (a||jIc)(C(iIc))};jIc.\u0275dir=Qc({type:jIc,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-mdc-checkbox",!b.options.disableGmatStyle)}});var kIc=new Zc("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var ZU=function(a){this.options=a};ZU.\u0275fac=function(a){return new (a||ZU)(C(kIc))};
ZU.\u0275dir=Qc({type:ZU,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&&yf("gmat-mdc-chip",!b.options.disableGmatStyle)("gmat-input-chip","input"===b.appearance)("gmat-filter-chip","hairline-filter"===b.appearance||"protected-filter"===b.appearance)("gmat-suggestive-chip","hairline-suggestive"===b.appearance||"protected-suggestive"===b.appearance)("gmat-assistive-chip","hairline-assistive"===
b.appearance||"protected-assistive"===b.appearance)("gmat-hairline-chip","input"===b.appearance||"hairline-filter"===b.appearance||"hairline-suggestive"===b.appearance||"hairline-assistive"===b.appearance)("gmat-protected-chip","protected-filter"===b.appearance||"protected-suggestive"===b.appearance||"protected-assistive"===b.appearance)("gmat-selectable-chip","input"===b.appearance||"hairline-filter"===b.appearance||"protected-filter"===b.appearance)},inputs:{appearance:"appearance"}});var lIc=new Zc("mat-chips-default-options"),mIc=new Zc("MatChipAvatar"),nIc=new Zc("MatChipTrailingIcon"),oIc=new Zc("MatChipRemove"),pIc=new Zc("MatChip");var qIc=Ah(function(){},-1),$U=function(a,b){var c=qIc.call(this)||this;c._elementRef=a;c._parentChip=b;c.isInteractive=!0;c._isPrimary=!0;c._disabled=!1;c._allowFocusWhenDisabled=!1;"BUTTON"===a.nativeElement.nodeName&&a.nativeElement.setAttribute("type","button");return c};U($U,qIc);f=$U.prototype;f._getDisabledAttribute=function(){return this.disabled&&!this._allowFocusWhenDisabled?"":null};
f._getTabindex=function(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()};f.focus=function(){this._elementRef.nativeElement.focus()};f._handleClick=function(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};
f._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||this.disabled||!this.isInteractive||!this._isPrimary||this._parentChip._isEditing||(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};wh.Object.defineProperties($U.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=Gg(a)}}});$U.\u0275fac=function(a){return new (a||$U)(C(Bd),C(pIc))};
$U.\u0275dir=Qc({type:$U,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&&(pf("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),yf("mdc-evolution-chip__action--primary",b._isPrimary)("mdc-evolution-chip__action--presentational",!b.isInteractive)("mdc-evolution-chip__action--trailing",
!b._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[lf]});var aV=function(){var a=$U.apply(this,arguments)||this;a.isInteractive=!1;a._isPrimary=!1;return a};U(aV,$U);aV.\u0275fac=function(){var a;return function(b){return(a||(a=zd(aV)))(b||aV)}}();aV.\u0275dir=Qc({type:aV,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],features:[Pf([{provide:nIc,useExisting:aV}]),lf]});var rIc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],sIc=0,tIc=Ah(xh(yh(zh(function(a){this._elementRef=a})),"primary"),-1),bV=function(a,b,c,d,e,g,h,m){b=tIc.call(this,b)||this;b._changeDetectorRef=a;b._ngZone=c;b._focusMonitor=d;b._globalRippleOptions=h;b._onFocus=new E.Subject;b._onBlur=new E.Subject;b.role=null;b._hasFocusInternal=!1;b.id="mat-mdc-chip-"+sIc++;b.ariaLabel=null;b.ariaDescription=null;b._ariaDescriptionId=
b.id+"-aria-description";b._removable=!0;b._highlighted=!1;b.removed=new pw;b.destroyed=new pw;b.basicChipAttrName="mat-basic-chip";b._rippleLoader=Hc(Xz);b._document=e;b._animationsDisabled="NoopAnimations"===g;if(null!=m){var r;b.tabIndex=null!=(r=parseInt(m))?r:b.defaultTabIndex}b._monitorFocus();null==b._rippleLoader||m0b(b._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:b._isRippleDisabled()});return b};U(bV,tIc);f=bV.prototype;f._hasFocus=function(){return this._hasFocusInternal};
f.ngOnInit=function(){var a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.tagName.toLowerCase()===this.basicChipAttrName};f.ngAfterViewInit=function(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label");this._pendingFocus&&(this._pendingFocus=!1,this.focus())};f.ngAfterContentInit=function(){var a=this;this._actionChanges=(0,E.merge)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
f.ngDoCheck=function(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;null==(a=this._actionChanges)||a.unsubscribe();this.destroyed.emit({chip:this});this.destroyed.complete()};f.remove=function(){this.removable&&this.removed.emit({chip:this})};
f._isRippleDisabled=function(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!(null==(a=this._globalRippleOptions)||!a.disabled)};f._hasTrailingIcon=function(){return!(!this.trailingIcon&&!this.removeIcon)};f._handleKeydown=function(a){if(8===a.keyCode||46===a.keyCode)a.preventDefault(),this.remove()};f.focus=function(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)};
f._getSourceAction=function(a){return this._getActions().find(function(b){b=b._elementRef.nativeElement;return b===a||b.contains(a)})};f._getActions=function(){var a=[];this.primaryAction&&a.push(this.primaryAction);this.removeIcon&&a.push(this.removeIcon);this.trailingIcon&&a.push(this.trailingIcon);return a};f._handlePrimaryActionInteraction=function(){};
f._monitorFocus=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=null!==b;b!==a._hasFocusInternal&&((a._hasFocusInternal=b)?a._onFocus.next({chip:a}):a._ngZone.onStable.pipe(Oe()).subscribe(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})}))})};
wh.Object.defineProperties(bV.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return void 0!==this._value?this._value:this._textElement.textContent.trim()},set:function(a){this._value=a}},removable:{configurable:!0,enumerable:!0,get:function(){return this._removable},set:function(a){this._removable=Gg(a)}},highlighted:{configurable:!0,enumerable:!0,get:function(){return this._highlighted},set:function(a){this._highlighted=Gg(a)}},ripple:{configurable:!0,enumerable:!0,get:function(){var a;
return null==(a=this._rippleLoader)?void 0:n0b(a,this._elementRef.nativeElement)},set:function(a){null==this._rippleLoader||o0b(this._elementRef.nativeElement,a)}}});bV.\u0275fac=function(a){return new (a||bV)(C(Hw),C(Bd),C(ef),C(Sx),C(uh),C(Ov,8),C(f0b,8),ud("tabindex"))};
bV.\u0275cmp=Mc({type:bV,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(dg(c,mIc,5),dg(c,nIc,5),dg(c,oIc,5),dg(c,mIc,5),dg(c,nIc,5),dg(c,oIc,5));if(a&2){var d;bg(d=eg())&&(b.leadingIcon=d.first);bg(d=eg())&&(b.trailingIcon=d.first);bg(d=eg())&&(b.removeIcon=d.first);bg(d=eg())&&(b._allLeadingIcons=d);bg(d=eg())&&(b._allTrailingIcons=d);bg(d=eg())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&cg($U,5);if(a&2){var c;
bg(c=eg())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&(Ef("id",b.id),pf("role",b.role)("tabindex",b.role?b.tabIndex:null)("aria-label",b.ariaLabel),yf("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:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label",
"ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Pf([{provide:pIc,useExisting:bV}]),lf],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"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Gf(rIc),J(0,"span",0),H(1,"span",1)(2,"span",
2),P(3,EVa,2,0,"span",3),H(4,"span",4),Hf(5),J(6,"span",5),I()()(),P(7,FVa,2,0,"span",6));a&2&&(B(2),F("isInteractive",!1),B(1),F("ngIf",b.leadingIcon),B(4),F("ngIf",b._hasTrailingIcon()))},dependencies:[Ow,$U],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);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.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){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.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-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.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-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-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.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}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.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--disabled{opacity:.4}.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:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.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{opacity:.54}.mat-mdc-chip-remove:focus{opacity: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 .mat-icon{width:inherit;height:inherit;font-size:inherit;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 uIc=Ah(function(){}),cV=function(a,b,c){var d=uIc.call(this,a)||this;d._elementRef=a;d._changeDetectorRef=b;d._dir=c;d._lastDestroyedFocusedChipIndex=null;d._destroyed=new E.Subject;d._defaultRole="presentation";d._disabled=!1;d._explicitRole=null;d._chipActions=new fg;return d};U(cV,uIc);f=cV.prototype;f.ngAfterViewInit=function(){this._setUpFocusManagement();this._trackChipSetChanges();this._trackDestroyedFocusedChip()};
f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._chipActions.destroy();this._destroyed.next();this._destroyed.complete()};f._hasFocusedChip=function(){return this._chips&&this._chips.some(function(a){return a._hasFocus()})};f._syncChipsState=function(){var a=this;this._chips&&this._chips.forEach(function(b){b.disabled=a._disabled;b._changeDetectorRef.markForCheck()})};f.focus=function(){};f._handleKeydown=function(a){if(this._originatesFromChip(a))this._keyManager.onKeydown(a)};
f._isValidIndex=function(a){return 0<=a&&a<this._chips.length};f._allowFocusEscape=function(){var a=this;if(-1!==this.tabIndex){var b=this.tabIndex;this.tabIndex=-1;setTimeout(function(){return a.tabIndex=b})}};f._getChipStream=function(a){var b=this;return this._chips.changes.pipe($e(null),af(function(){return E.merge.apply(null,ad(b._chips.map(a)))}))};f._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};
f._setUpFocusManagement=function(){var a=this;this._chips.changes.pipe($e(this._chips)).subscribe(function(c){var d=[];c.forEach(function(e){return e._getActions().forEach(function(g){return d.push(g)})});a._chipActions.reset(d);ag(a._chipActions)});this._keyManager=h_b(hz(gz(fz(new kz(this._chipActions)),this._dir?this._dir.value:"ltr")),function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(bf(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
iz(a._keyManager,c)});var b;null==(b=this._dir)||b.change.pipe(bf(this._destroyed)).subscribe(function(c){return gz(a._keyManager,c)})};f._skipPredicate=function(a){return!a.isInteractive||a.disabled};f._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe($e(null),bf(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
f._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(bf(this._destroyed)).subscribe(function(b){var c=a._chips.toArray().indexOf(b.chip);a._isValidIndex(c)&&b.chip._hasFocus()&&(a._lastDestroyedFocusedChipIndex=c)})};
f._redirectDestroyedChipFocus=function(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){var a=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1);a=this._chips.toArray()[a];a.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}};
wh.Object.defineProperties(cV.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=Gg(a);this._syncChipsState()}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._chips||
0===this._chips.length}},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()}}});cV.\u0275fac=function(a){return new (a||cV)(C(Bd),C(Hw),C(lz,8))};
cV.\u0275cmp=Mc({type:cV,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&dg(c,bV,5);if(a&2){var d;bg(d=eg())&&(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&&pf("role",b.role)},inputs:{disabled:"disabled",role:"role"},features:[lf],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&
1&&(Gf(),H(0,"div",0),Hf(1),I())},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 vIc=function(a,b,c,d,e,g,h){a=cV.call(this,a,b,c)||this;a._defaultErrorStateMatcher=d;a._parentForm=e;a._parentFormGroup=g;a.ngControl=h;a.stateChanges=new E.Subject;return a};U(vIc,cV);vIc.\u0275cmp=cV.\u0275cmp;vIc.\u0275fac=cV.\u0275fac;Ioa(vIc);var wIc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],dV=function(){var a=bV.apply(this,arguments)||this;a._defaultOptions=Hc(lIc,{optional:!0});a.chipListSelectable=!0;a._chipListMultiple=!1;var b,c;a._chipListHideSingleSelectionIndicator=null!=(c=null==(b=a._defaultOptions)?void 0:b.hideSingleSelectionIndicator)?c:!1;a._selectable=!0;a._selected=!1;a.basicChipAttrName="mat-basic-chip-option";a.selectionChange=
new pw;return a};U(dV,bV);f=dV.prototype;f.ngOnInit=function(){bV.prototype.ngOnInit.call(this);this.role="presentation"};f.select=function(){this._setSelectedState(!0,!1,!0)};f.deselect=function(){this._setSelectedState(!1,!1,!0)};f._handlePrimaryActionInteraction=function(){this.selectable&&!this.disabled&&this._setSelectedState(!this.selected,!0,!0)};f._hasLeadingGraphic=function(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple};
f._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())};
wh.Object.defineProperties(dV.prototype,{selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable&&this.chipListSelectable},set:function(a){this._selectable=Gg(a);this._changeDetectorRef.markForCheck()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._setSelectedState(Gg(a),!1,!0)}},ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.selectable?this.selected.toString():null}}});
dV.\u0275fac=function(){var a;return function(b){return(a||(a=zd(dV)))(b||dV)}}();
dV.\u0275cmp=Mc({type:dV,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&&(Ef("id",b.id),pf("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),yf("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:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[Pf([{provide:bV,useExisting:dV},{provide:pIc,useExisting:dV}]),lf],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"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],
[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"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Gf(wIc),J(0,"span",0),H(1,"span",1)(2,"button",2),P(3,GVa,5,0,"span",3),H(4,"span",4),Hf(5),J(6,"span",5),I()()(),P(7,HVa,2,0,"span",6),H(8,"span",
7),R(9),I());a&2&&(B(2),F("tabIndex",b.tabIndex)("_allowFocusWhenDisabled",!0),pf("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),B(1),F("ngIf",b._hasLeadingGraphic()),B(4),F("ngIf",b._hasTrailingIcon()),B(1),F("id",b._ariaDescriptionId),B(1),Nf(b.ariaDescription))},dependencies:[Ow,$U],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);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.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){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.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-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.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-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-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.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}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.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--disabled{opacity:.4}.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:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.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{opacity:.54}.mat-mdc-chip-remove:focus{opacity: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 .mat-icon{width:inherit;height:inherit;font-size:inherit;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 xIc=function(a,b){this.source=a;this.value=b},yIc={provide:dx,useExisting:Cc(function(){return eV}),multi:!0},eV=function(){var a=cV.apply(this,arguments)||this;a._onTouched=function(){};a._onChange=function(){};a._defaultRole="listbox";a._defaultOptions=Hc(lIc,{optional:!0});a._multiple=!1;a.ariaOrientation="horizontal";a._selectable=!0;a.compareWith=function(d,e){return d===e};a._required=!1;var b,c;a._hideSingleSelectionIndicator=null!=(c=null==(b=a._defaultOptions)?void 0:b.hideSingleSelectionIndicator)?
c:!1;a.change=new pw;a._chips=void 0;return a};U(eV,cV);f=eV.prototype;
f.ngAfterContentInit=function(){var a=this;void 0!==this._pendingInitialValue&&Promise.resolve().then(function(){a._setSelectionByValue(a._pendingInitialValue,!1);a._pendingInitialValue=void 0});this._chips.changes.pipe($e(null),bf(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(bf(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(bf(this._destroyed)).subscribe(function(b){a.multiple||a._chips.forEach(function(c){c!==
b.source&&c._setSelectedState(!1,!1,!1)});b.isUserInput&&a._propagateChanges()})};f.focus=function(){if(!this.disabled){var a=this._getFirstSelectedChip();a&&!a.disabled?a.focus():0<this._chips.length?this._keyManager._setActiveItemByIndex(0,1):this._elementRef.nativeElement.focus()}};f.writeValue=function(a){this._chips?this._setSelectionByValue(a,!1):null!=a&&(this._pendingInitialValue=a)};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};
f.setDisabledState=function(a){this.disabled=a};f._setSelectionByValue=function(a,b){var c=this;b=void 0===b?!0:b;this._clearSelection();Array.isArray(a)?a.forEach(function(d){return c._selectValue(d,b)}):this._selectValue(a,b)};f._blur=function(){var a=this;this.disabled||setTimeout(function(){a.focused||a._markAsTouched()})};f._keydown=function(a){9===a.keyCode&&cV.prototype._allowFocusEscape.call(this)};f._markAsTouched=function(){this._onTouched();this._changeDetectorRef.markForCheck()};
f._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 xIc(this,a));this._onChange(a);this._changeDetectorRef.markForCheck()};f._clearSelection=function(a){this._chips.forEach(function(b){b!==a&&b.deselect()})};
f._selectValue=function(a,b){var c=this,d=this._chips.find(function(e){return null!=e.value&&c.compareWith(e.value,a)});d&&(b?d._setSelectedState(!0,!0,!0):d.select());return d};f._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()})})};
f._getFirstSelectedChip=function(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected};f._skipPredicate=function(a){return!a.isInteractive};
wh.Object.defineProperties(eV.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Gg(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=Gg(a);this._syncListboxProperties()}},required:{configurable:!0,
enumerable:!0,get:function(){return this._required},set:function(a){this._required=Gg(a)}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=Gg(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}}});eV.\u0275fac=function(){var a;return function(b){return(a||(a=zd(eV)))(b||eV)}}();
eV.\u0275cmp=Mc({type:eV,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&dg(c,dV,5);if(a&2){var d;bg(d=eg())&&(b._chips=d)}},hostAttrs:["ngSkipHydration","",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&&(Ef("tabIndex",b.empty?-1:b.tabIndex),pf("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),yf("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[Pf([yIc]),
lf],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Gf(),H(0,"div",0),Hf(1),I())},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 zIc=new Zc("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var fV=function(){Hz.apply(this,arguments);this.gmatPanelClasses=[]};U(fV,Hz);fV.prototype.create=function(a){var b=(null==a?0:a.panelClass)?Fg(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return Hz.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};fV.\u0275fac=function(){var a;return function(b){return(a||(a=zd(fV)))(b||fV)}}();fV.\u0275prov=wc({token:fV,factory:fV.\u0275fac});var gV=function(a,b){this.options=a;a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-menu")};gV.\u0275fac=function(a){return new (a||gV)(C(zIc),C(Hz))};gV.\u0275dir=Qc({type:gV,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],features:[Pf([{provide:Hz,useClass:fV}])]});var AIc=new Zc("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var hV=function(a){this.options=a};hV.\u0275fac=function(a){return new (a||hV)(C(AIc))};hV.\u0275dir=Qc({type:hV,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-mdc-table",!b.options.disableGmatStyle)}});var iV=function(){};iV.\u0275fac=function(a){return new (a||iV)};iV.\u0275mod=Oc({type:iV});iV.\u0275inj=xc({imports:[rO]});var WHc=new function(){this.client_=new nD({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},gIc=new function(){this.client_=new nD({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},XHc={"X-Goog-Api-Key":"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",Authorization:cp([])||"","X-Goog-AuthUser":"0"},jV=function(a,b,c){this.issueFridge=a;this.hackyPrefs=b;this.currentUser=c;this.currentUserEmail=
this.currentUser.email;this.cardTitle="My tasks";this.displayedColumns=["type","title","modified","role","created"];this.mvpMyTaskTabsData$=[{label:"Owned",description:"Tasks that you own, are assigned to or have authored.",tasks:(0,E.of)([]),sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]},{label:"Collaborating",description:"Tasks that you have contributed to, but don't own.",tasks:(0,E.of)([]),sources:["Buganizer",
"Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]},{label:"Following",description:"Tasks that you frequently view or have shown interest in (e.g. starred).",tasks:(0,E.of)([]),sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]}];this.issueTasksOwned=(0,E.of)([]);this.issueTasksCollaborating=(0,E.of)([]);this.issueTasksFollowing=(0,E.of)([]);
this.critiqueTasks=(0,E.of)([]);this.driveTasks=(0,E.of)([]);this.mergedTasks$=(0,E.of)([])};jV.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-tasks"]};jV.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-tasks")};
var BIc=function(a){return new E.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},CIc=function(a,b){var c=b.snapshot[0]||{},d={isOwner:!1,isCollaborating:!1,isFollowing:!1,role:""},e;if((null==(e=c.assigneeUser)?void 0:e.emailAddress)===a.currentUserEmail)d.isOwner=!0,d.role="Assignee";else{var g;if(null==(g=c.collaboratorsUsers)?0:g.some(function(v){return v.emailAddress===
a.currentUserEmail}))d.isCollaborating=!0,d.role="Collaborator";else{var h;if((null==(h=c.reporterUser)?void 0:h.emailAddress)===a.currentUserEmail)d.isCollaborating=!0,d.role="Reporter";else{c=[];var m;if(null==b?0:null==(m=b.userData)?0:m.voted)d.isFollowing=!0,c.push("Upvoted");var r;if(null==(r=b.userData)?0:r.starred)d.isFollowing=!0,c.push("Starred");d.role=c.join(", ")}}}return d},DIc=function(a,b){var c=b.snapshot[0]||{},d=c.createdTimeMicros?Math.floor(c.createdTimeMicros/1E3):0;a=CIc(a,
b);return{id:b.issueId,source:"Buganizer",icon:"bug_report",title:null==c?void 0:c.title,link:"issues/"+b.issueId,creationDate:d,modifiedDate:Math.floor(b.majorModifiedTimeMicros/1E3),teams:null,isOwner:a.isOwner,isCollaborating:a.isCollaborating,isFollowing:a.isFollowing,priority:null==c?void 0:c.priority,role:a.role,open:!0,resource:b,rawObj:b}};jV.prototype.queryIssues=function(a){return this.issueFridge.watchMany({filter:a,pageSize:50,sort:"modified_time:desc"}).pipe(D(function(b){return b.results}))};
jV.prototype.ngOnInit=function(){var a=this;this.issueTasksOwned=this.queryIssues("assignee:me t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:30d status:open").pipe(D(function(b){return b.map(function(c){return DIc(a,c)})}));this.issueTasksCollaborating=this.queryIssues("(collaborator:me | reporter:me) -assignee:me modified:30d status:open").pipe(D(function(b){return b.map(function(c){return DIc(a,c)})}));this.issueTasksFollowing=this.queryIssues("star:true | (cc:me status:open)").pipe(D(function(b){return b.map(function(c){return DIc(a,
c)})}));this.critiqueTasks=BIc(YHc()).pipe(D(function(b){return b.getTaskList().map(function(c){var d=c.toObject(),e=d.resource,g=!1,h=!1,m=!1,r="",v=pn(Qs(c,GC,6)),y=null==v?void 0:v.getAuthorEmail();v=null==v?void 0:v.getCategory();y===a.currentUserEmail||2===v?(g=!0,r="Author"):1===v?(h=!0,r="Reviewer"):3===v&&(m=!0,r="CC'd");return{id:null==e?void 0:e.resourceId,source:"Critique",icon:"check_circle_filled",title:null==e?void 0:e.title,link:null==e?void 0:e.externalLink,creationDate:c.getCreatedTimestamp(),
modifiedDate:c.getUpdatedTimestamp(),teams:null,isOwner:g,isCollaborating:h,isFollowing:m,priority:null,role:r,open:!0,resource:e,rawObj:d}})}));this.driveTasks=BIc(hIc()).pipe(D(function(b){return b.getTaskList().map(function(c){var d=c.toObject(),e=d.resource,g=null==e?void 0:e.taskSource,h;switch(null==(h=Et(Qs(c,GC,6),qn,5))?void 0:h.getMimeType()){case "document":h="drive_document";break;case "spreadsheet":h="drive_spreadsheet";break;case "presentation":h="drive_presentation";break;case "video/mp4":h=
"video_youtube";break;default:h="link"}var m=!1,r=!1,v=!1;var y=Et(Qs(c,GC,6),qn,5);var A=null==y?void 0:y.getOwnedByMe(),G=null==y?void 0:Vj(y,26),N=null==y?void 0:Vj(y,25),Q=null==y?void 0:y.getSharedToMe();A||G?(m=!0,y="Owner"):Vj(y,2)?(m=!0,y="Creator"):N?(r=!0,y="Approver"):Q?(r=!0,y="Shared with me"):y.getIsStarred()?(v=!0,y="Starred"):(v=!0,y="Recent activity");return{id:null==e?void 0:e.resourceId,source:g,icon:h,title:null==e?void 0:e.title,link:null==e?void 0:e.externalLink,creationDate:c.getCreatedTimestamp(),
modifiedDate:c.getUpdatedTimestamp(),teams:null,isOwner:m,isCollaborating:r,isFollowing:v,priority:null,role:y,open:!0,resource:e,rawObj:d}})}));this.mergedTasks$=(0,E.merge)(this.critiqueTasks,this.driveTasks,this.issueTasksOwned,this.issueTasksCollaborating,this.issueTasksFollowing).pipe(ZVa(),D(function(b){return b.sort(function(c,d){return(d.modifiedDate||d.creationDate)-(c.modifiedDate||c.creationDate)}).filter(function(c){return c.modifiedDate?c.modifiedDate>Date.now()-2592E6:c.creationDate>
Date.now()-2592E6})}));this.mvpMyTaskTabsData$[0].tasks=this.mergedTasks$.pipe(D(function(b){return b.filter(function(c){return c.isOwner})}));this.mvpMyTaskTabsData$[1].tasks=this.mergedTasks$.pipe(D(function(b){return b.filter(function(c){return c.isCollaborating})}));this.mvpMyTaskTabsData$[2].tasks=this.mergedTasks$.pipe(D(function(b){return b.filter(function(c){return c.isFollowing})}))};jV.\u0275fac=function(a){return new (a||jV)(C(YH),C(NI),C(MI))};
jV.\u0275cmp=Mc({type:jV,selectors:[["mvp-my-tasks"]],decls:12,vars:4,consts:[[1,"mvp-my-tasks-view"],[1,"mvp-card","carded","small-tabs"],[1,"mvp-card-header"],[1,"title"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"spacer"],["mat-icon-button","","matTooltip","More actions menu","aria-label","More actions menu","aria-haspopup","true",1,"gmat-button","medium"],[1,"google-material-icons"],["class",
"card-content",4,"ngIf"],[1,"card-content"],["mat-align-tabs","start","gmat-tabs",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"mvp-tab-controls"],["mat-button","","matTooltip","Select source applications","aria-label","Select source applications","aria-haspopup","true",1,"gmat-button","medium","chip-button",3,"matMenuTriggerFor"],[1,"mvp-my-tasks-menu"],["sourceMenu","matMenu"],[1,"mvp-source-select",3,"click"],["color","primary","checked","true"],["checked","true"],["checked","false"],["multiple",
""],["appearance","hairline-suggestive",3,"selected",4,"ngFor","ngForOf"],[1,"mvp-tab-content"],[3,"dataSource"],["matColumnDef","type"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","title"],["matColumnDef","modified"],["matColumnDef","role"],["matColumnDef","created"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["loadingContrib",""],["appearance","hairline-suggestive",3,"selected"],[3,"class",4,"ngIf"],[3,"href"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"section",1)(2,
"div",2)(3,"h2",3),R(4),I(),H(5,"button",4),M("click",function(){return b.toggleCollapsed()}),J(6,"mat-icon",5),I(),J(7,"span",6),H(8,"button",7)(9,"mat-icon",8),R(10,"more_vert"),I()()(),P(11,YVa,3,1,"div",9),I()());a&2&&(yf("collapsed",b.isCollapsed()),B(4),Nf(b.cardTitle),B(7),F("ngIf",!b.isCollapsed()))},dependencies:[Nw,Ow,bB,jIc,yO,ZU,eV,dV,gV,eC,hC,hV,qO,iO,mO,jO,hO,nO,kO,lO,oO,pO,qA,tN,sN,wM,Xw],styles:['[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]{margin-top:24px;background:var(--surface-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_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;gap:4px}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge[_ngcontent-%COMP%]{padding:0 .25rem;border-radius:.25rem;font-weight:500;margin-right:.5rem;border:1px solid transparent}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P0[_ngcontent-%COMP%]{border:1px solid var(--primary-default);background:var(--primary-default);color:var(--text-inverse)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P1[_ngcontent-%COMP%]{border:1px solid var(--primary-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.check_circle_filled[_ngcontent-%COMP%]{color:var(--green-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_document[_ngcontent-%COMP%]{color:var(--blue-700)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_spreadsheet[_ngcontent-%COMP%]{color:var(--green-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_presentation[_ngcontent-%COMP%]{color:var(--yellow-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.video_youtube[_ngcontent-%COMP%]{color:var(--red-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-footer-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-row[_ngcontent-%COMP%]{min-height:2rem;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-tab-controls[_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;gap:.5rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-tab-controls[_ngcontent-%COMP%]   .chip-button[_ngcontent-%COMP%]{background:var(--mvp-prototype-chip-bg);padding:0 8px 0 12px;height:1.5rem;line-height:1.5rem;margin:6px 0;border-radius:.5rem;font-weight:400}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-type[_ngcontent-%COMP%]{width:48px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--text-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-modified[_ngcontent-%COMP%]{min-width:180px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-role[_ngcontent-%COMP%]{min-width:200px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-created[_ngcontent-%COMP%]{min-width:120px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}  .mvp-my-tasks-view .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#212121;--mdc-chip-with-icon-icon-color:#212121;--mdc-chip-with-icon-disabled-icon-color:#212121;--mdc-chip-with-icon-selected-icon-color:#212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#212121;--mdc-chip-with-trailing-icon-trailing-icon-color:#212121}  .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary,   .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#2196f3;--mdc-chip-elevated-disabled-container-color:#2196f3;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent,   .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent{--mdc-chip-disabled-label-text-color:rgba(0,0,0,.87);--mdc-chip-elevated-container-color:#ff9800;--mdc-chip-elevated-disabled-container-color:#ff9800;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:rgba(0,0,0,.87);--mdc-chip-with-icon-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-disabled-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-selected-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-trailing-icon-color:rgba(0,0,0,.87)}  .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn,   .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#f44336;--mdc-chip-elevated-disabled-container-color:#f44336;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-my-tasks-view .mat-mdc-standard-chip{--mdc-chip-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-chip-label-text-line-height:20px;--mdc-chip-label-text-size:14px;--mdc-chip-label-text-tracking:normal;--mdc-chip-label-text-weight:400}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__text-label{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-right:0}[dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-style:solid}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-outline-color,transparent)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-disabled-outline-color,transparent)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-width:1px;border-width:var(--mdc-chip-flat-outline-width,1px)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__text-label{font-family:Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip.mat-mdc-chip-disabled{box-shadow:none}  .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon{opacity:.9}  .mvp-my-tasks-view .gmat-mdc-chip{--mdc-chip-label-text-color:#5f6368;--mdc-chip-disabled-label-text-color:rgba(60,64,67,.38);--mdc-chip-with-icon-icon-color:#5f6368;--mdc-chip-with-icon-disabled-icon-color:rgba(60,64,67,.38);--mdc-chip-with-icon-selected-icon-color:#5f6368;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#5f6368;--mdc-chip-with-trailing-icon-trailing-icon-color:#5f6368;--mdc-chip-focus-state-layer-color:#3c4043;--mdc-chip-focus-state-layer-opacity:0.12}  .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused{--mdc-chip-label-text-color:#202124}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip{--mdc-chip-elevated-container-color:transparent;--mdc-chip-elevated-disabled-container-color:transparent;--mdc-chip-flat-outline-color:#dadce0;--mdc-chip-flat-disabled-outline-color:#dadce0;--mdc-chip-focus-state-layer-color:#3c4043}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip{--mdc-chip-elevated-container-color:#fff;--mdc-chip-elevated-disabled-container-color:#fff;--mdc-chip-focus-state-layer-color:#3c4043}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#e3f2fd;--mdc-chip-elevated-disabled-container-color:#e3f2fd;--mdc-chip-label-text-color:#0d47a1;--mdc-chip-disabled-label-text-color:#0d47a1;--mdc-chip-with-icon-icon-color:#0d47a1;--mdc-chip-with-icon-disabled-icon-color:#0d47a1;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#0d47a1;--mdc-chip-with-trailing-icon-trailing-icon-color:#0d47a1;--mdc-chip-with-icon-selected-icon-color:#0d47a1;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#1976d2}  .mvp-my-tasks-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#fff3e0;--mdc-chip-elevated-disabled-container-color:#fff3e0;--mdc-chip-label-text-color:#e65100;--mdc-chip-disabled-label-text-color:#e65100;--mdc-chip-with-icon-icon-color:#e65100;--mdc-chip-with-icon-disabled-icon-color:#e65100;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#e65100;--mdc-chip-with-trailing-icon-trailing-icon-color:#e65100;--mdc-chip-with-icon-selected-icon-color:#e65100;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#f57c00}  .mvp-my-tasks-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#ffebee;--mdc-chip-elevated-disabled-container-color:#ffebee;--mdc-chip-label-text-color:#b71c1c;--mdc-chip-disabled-label-text-color:#b71c1c;--mdc-chip-with-icon-icon-color:#b71c1c;--mdc-chip-with-icon-disabled-icon-color:#b71c1c;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#b71c1c;--mdc-chip-with-trailing-icon-trailing-icon-color:#b71c1c;--mdc-chip-with-icon-selected-icon-color:#b71c1c;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#d32f2f}  .mvp-my-tasks-view .mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height:24px}  .mvp-my-tasks-view .gmat-mdc-chip{--mdc-ripple-color:var(--text-default);--odw-chip-background-selected:var(--blue-50);--odw-chip-assistive-background-selected:var(--blue-100)}  .mvp-my-tasks-view .gmat-mdc-chip:not([disabled]){cursor:pointer}.dark-mode[_ngcontent-%COMP%]  .mvp-my-tasks-view .gmat-mdc-chip{--odw-chip-background-selected:#3c4043;--odw-chip-assistive-background-selected:#3c4043}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover{--mdc-ripple-color:var(--odw-chip-background-selected);background-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--hairline);--mdc-chip-flat-disabled-outline-color:var(--hairline)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--text-default);--mdc-chip-flat-disabled-outline-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip.gmat-selectable-chip.mdc-evolution-chip--selected:hover{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-mdc-chip.gmat-protected-chip{background:var(--page-bg);box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected{--mdc-ripple-color:var(--primary-default);background-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{background-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected{--mdc-chip-label-text-color:var(--text-primary);--odw-chip-background-selected:var(--mvp-prototype-chip-bg)}  .mvp-my-tasks-view .mat-tab-labels{height:28px}  .mvp-my-tasks-view .mat-tab-label{height:28px;min-width:80px}  .mvp-my-tasks-menu{background:var(--surface-default)}  .mvp-my-tasks-menu .mvp-source-select{padding:0 .75rem;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;gap:.75rem;overflow:hidden}  .mvp-my-tasks-menu .mvp-source-select .mat-mdc-checkbox{color:var(--text-default)}  .dark-mode,   .light-mode,   :root{--mvp-prototype-chip-bg:var(--blue-50)}  .dark-mode{--mvp-prototype-chip-bg:#3c4043}.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)}\n/*# sourceMappingURL=mvp_my_tasks.css.map */']});var kV=function(){this.hotlistFull=[{type:"Buganizer",icon:"bug_report",id:15432586,priority:"P0",title:"Update the user guide to include info about the new features",date:"May 13, 2023",assignee:"ruihua@google.com"},{type:"Buganizer",icon:"bug_report",id:13548756,priority:"P0",title:"[Security] Potential vulnerability in customer login flow",date:"May 10, 2023",assignee:"judh@google.com"},{type:"Buganizer",icon:"bug_report",priority:"P0",id:11245852,title:"Performance issue - The application is very slow to launch",
date:"May 9, 2023",assignee:"--"},{type:"Buganizer",icon:"bug_report",id:12468545,priority:"P1",title:"Deployment failure - The latest release failed to build",date:"May 3, 2023",assignee:"--"},{type:"Buganizer",icon:"bug_report",id:13654855,priority:"P2",title:"There are 13 new failing unit tests in project Bananas",date:"Apr 10, 2023",assignee:"disun@google.com"},{type:"Buganizer",icon:"bug_report",id:14415474,priority:"P1",title:'Update the user guide "Getting Started" section',date:"Apr 9, 2023",
assignee:"kevinruvalcaba@google.com"},{type:"Buganizer",icon:"bug_report",id:16354846,priority:"P0",title:"The new sort feature is not working as expected",date:"Apr 7, 2023",assignee:"--"},{type:"Buganizer",icon:"bug_report",id:11419658,priority:"P1",title:"Support: A customer is having trouble with editing their profile",date:"Apr 7, 2023",assignee:"ruihmenrightua@google.com"},{type:"Buganizer",icon:"bug_report",id:13142196,priority:"P0",title:"Login button does not work on all browsers",date:"Apr 4, 2023",
assignee:"--"},{type:"Buganizer",icon:"bug_report",id:17784732,priority:"P2",title:"Add a dark mode with adjustable brightness levels",date:"Apr 1, 2023",assignee:"jessicawise@google.com"}];this.tabs="Hotlist abc;Saved search 123;Project apple;Component xyz;Backlog banana;Current iteration".split(";")};kV.\u0275fac=function(a){return new (a||kV)};kV.\u0275prov=wc({token:kV,factory:kV.\u0275fac,providedIn:"root"});var EIc=["addWorkAreaDialog"],FIc=function(a){return{collapsed:a}},lV=function(a,b,c){this.dialog=a;this.hackyPrefs=b;this.fakeData=c;this.autocompleteControl=new tx("");this.sourceTypes=[{label:"Hotlist",disabled:!1},{label:"Component",disabled:!0},{label:"Project",disabled:!0},{label:"Saved search",disabled:!0},{label:"Taskflow workspace",disabled:!0}];this.currentSourceType="Hotlist";this.cardTitle="Work areas";this.currentViewIndex=0;this.suggestions="3011695318 - High Priority Bugs;3110651874 - Low Priority Bugs;3131967663 - Upvoted issues;3142425766 - Project Bananas;3119124877 - Project Zebrafish;3136285535 - Team Jalisco open issues;3163886186 - Feature requests;3165497868 - High severity;3171679611 - To triage;3116651879 - Last quarter".split(";");
this.displayedColumns="type title id priority created assignee".split(" ")};lV.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-work"]};lV.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-work")};var $Va=function(a){yA(a.dialog.open(a.addDialog)).subscribe(function(b){"cancel"!==b&&void 0!==b&&(a.currentViewIndex=void 0===b?0:b)})};
lV.prototype.ngOnInit=function(){var a=this;this.filteredOptions=this.autocompleteControl.valueChanges.pipe($e(""),D(function(b){return GIc(a,b||"")}))};var GIc=function(a,b){var c=b.toLowerCase();return a.suggestions.filter(function(d){return d.toLowerCase().includes(c)})};lV.\u0275fac=function(a){return new (a||lV)(C(DA),C(NI),C(kV))};
lV.\u0275cmp=Mc({type:lV,selectors:[["mvp-my-work"]],viewQuery:function(a,b){a&1&&cg(EIc,7);if(a&2){var c;bg(c=eg())&&(b.addDialog=c.first)}},decls:12,vars:6,consts:[[1,"mvp-work-areas-view"],[1,"mvp-card","carded","small-tabs"],[1,"mvp-card-header"],[1,"title"],["mat-icon-button","","matTooltip","Toggle card expansion",1,"gmat-button","medium","expansion-toggle",3,"ngClass","click"],[1,"google-material-icons","small-button-icon"],[1,"spacer"],["class","card-content",4,"ngIf"],["addWorkAreaDialog",
""],[1,"card-content"],[4,"ngIf"],[1,"empty-state-content"],"width;140;height;140;viewBox;0 0 210 210;fill;none;xmlns;http://www.w3.org/2000/svg".split(";"),["d","M167.329 35.096a18.29 18.29 0 00-19.002 18.279v.423c-.97-.278-1.974-.42-2.984-.423h-.02a3.373 3.373 0 01-2.71-1.269 13.066 13.066 0 00-13.053-4.792 13.063 13.063 0 108.22 24.626 10.824 10.824 0 0014.723.378 10.823 10.823 0 003.011-4.415 18.284 18.284 0 0023.643-1.225 18.296 18.296 0 005.605-15.564 18.28 18.28 0 00-17.433-16.018z","fill",
"url(#prefix__prefix__paint0_linear_12_6)"],["d","M106.377 184.435a9.92 9.92 0 00-2.29-6.34l-12.002-14.45h45.325l12.002 14.45a9.92 9.92 0 012.29 6.34v.033a9.917 9.917 0 01-2.739 6.842l-.178.19h-45.354l.172-.181a9.917 9.917 0 002.774-6.884z","fill","#F1F3F4"],"opacity;.45;d;M87.67 187.9H42.536v3.401h45.132V187.9z;fill;url(#prefix__prefix__paint1_linear_12_6)".split(";"),["d","M154.026 191.354a5.178 5.178 0 000-10.354h6.709a5.175 5.175 0 013.66 8.837 5.176 5.176 0 01-3.66 1.517h-6.709z","fill","url(#prefix__prefix__paint2_linear_12_6)"],
["d","M160.735 182.75a3.429 3.429 0 013.427 3.427 3.426 3.426 0 01-3.427 3.427v1.75a5.176 5.176 0 003.66-8.838 5.175 5.175 0 00-3.66-1.516v1.75z","fill","#E8EAED"],"opacity;.45;d;M156.82 187.9h-24.677v3.401h24.677V187.9z;fill;url(#prefix__prefix__paint3_linear_12_6)".split(";"),"fill-rule;evenodd;clip-rule;evenodd;d;M72.467 118.74a16.043 16.043 0 0111.343-4.698 4.666 4.666 0 110 9.333 6.709 6.709 0 00-6.708 6.708V178.5a4.667 4.667 0 01-9.333 0v-48.417c0-4.254 1.69-8.334 4.698-11.343z;fill;#BDC1C6".split(";"),
["d","M79.625 189.368a5.153 5.153 0 000-6.385c-.035-.044-.067-.091-.105-.134a5.176 5.176 0 00-1.584-1.266h.537V178.5H66.515v2.94a5.179 5.179 0 002.073 9.917h6.96c.35-.001.698-.036 1.04-.105a5.176 5.176 0 002.917-1.75.34.34 0 00.12-.134zm-5.6-3.191c0 .964-.272 1.909-.785 2.727a3.427 3.427 0 01-1.36-2.729 3.41 3.41 0 011.36-2.728c.517.817.792 1.763.797 2.73h-.012zm-2.383-3.661a5.234 5.234 0 00-.408.467c.13-.164.27-.32.42-.467h-.012zm0 7.321a5.84 5.84 0 01-.408-.469c.13.164.271.32.42.469h-.012z","fill",
"#BDC1C6"],["d","M118.708 184.435a9.92 9.92 0 012.29-6.34L133 163.645H87.672l-12.002 14.45a9.914 9.914 0 00-2.29 6.34v.033a9.917 9.917 0 002.745 6.842l.18.19h45.355l-.175-.181a9.919 9.919 0 01-2.777-6.884z","fill","url(#prefix__prefix__paint4_linear_12_6)"],["d","M117.23 95.078h-11.303v21h11.303v-21z","fill","#BDC1C6"],["d","M105.927 103.746l11.303-1.849v-3.005l-11.303 1.083v3.771z","fill","#9AA0A6"],["d","M55.913 18.515a18.377 18.377 0 0119.08 18.352v.425a10.907 10.907 0 013.01-.425h.018a3.4 3.4 0 002.712-1.284 13.125 13.125 0 114.85 19.918 10.868 10.868 0 01-17.805-4.054 18.374 18.374 0 11-11.866-32.932z",
"fill","url(#prefix__prefix__paint5_linear_12_6)"],["opacity",".15"],["id","prefix__a","maskUnits","userSpaceOnUse","x","79","y","158","width","67","height","13",2,"mask-type","luminance"],["d","M145.86 158.492H79.943v12.054h65.917v-12.054z","fill","#fff"],["mask","url(#prefix__a)"],["d","M149.412 178.095l-12.002-14.45H87.672l-12.002 14.45a9.914 9.914 0 00-2.29 6.34v.033a9.917 9.917 0 002.745 6.842l.18.19h72.48l.178-.19a9.917 9.917 0 002.739-6.842v-.033a9.92 9.92 0 00-2.29-6.34z","fill","#202124"],
["d","M151.699 107.619H84.365v56.292h67.334v-56.292z","fill","#F8F9FA"],["d","M149.985 122.112l-6.74-6.74-11.381 11.381 6.74 6.74 11.381-11.381z","fill","url(#prefix__prefix__paint6_linear_12_6)"],["d","M138.79 107.619H71.455v56.292h67.335v-56.292z","fill","url(#prefix__prefix__paint7_linear_12_6)"],["d","M137.494 59.85l-50.277 5.267a5.932 5.932 0 00-5.282 6.518l2.714 25.91a5.933 5.933 0 006.519 5.282l50.276-5.267a5.932 5.932 0 005.282-6.518l-2.714-25.91a5.932 5.932 0 00-6.518-5.282z","fill","#F8F9FA"],
["d","M131.404 60.49l-50.276 5.266a5.932 5.932 0 00-5.282 6.519l2.714 25.91a5.933 5.933 0 006.518 5.282l50.277-5.267a5.933 5.933 0 005.282-6.518l-2.714-25.91a5.933 5.933 0 00-6.519-5.282z","fill","url(#prefix__prefix__paint8_linear_12_6)"],["d","M129.02 70.523l-43.477 4.555a3.5 3.5 0 00-3.116 3.845l.9 8.598a3.5 3.5 0 003.846 3.117l43.477-4.555a3.5 3.5 0 003.116-3.845l-.9-8.598a3.5 3.5 0 00-3.846-3.117z","fill","#E8F0FE"],["d","M129.016 70.525L85.54 75.078a3.5 3.5 0 00-2.879 2.179 3.461 3.461 0 011.581-.584l43.476-4.553a3.5 3.5 0 013.847 3.13l.898 8.598a3.472 3.472 0 01-.236 1.666 3.506 3.506 0 001.222-1.419 3.51 3.51 0 00.315-1.845l-.901-8.598a3.502 3.502 0 00-3.847-3.127z",
"fill","#D2E3FC"],["d","M94.929 82.289l-1.645.172.172 1.645 1.645-.172-.172-1.645zm1.732.65l-1.645.172.173 1.645 1.645-.172-.173-1.645z","fill","#4285F4"],["d","M98.368 83.371l-1.645.173.173 1.644 1.644-.172-.172-1.645zm1.645-.173l-1.645.172.172 1.645 1.645-.172-.172-1.645zm1.581-.776l-1.644.172.172 1.645 1.645-.172-.173-1.645z","fill","#4285F4"],["d","M103.151 81.428l-1.645.172.172 1.645 1.645-.172-.172-1.645zm11.602-1.217l-1.645.173.172 1.644 1.645-.172-.172-1.645z","fill","#4285F4"],["d","M116.482 80.862l-1.644.172.172 1.645 1.645-.172-.173-1.645z",
"fill","#4285F4"],["d","M118.189 81.294l-1.644.172.172 1.645 1.645-.172-.173-1.645z","fill","#4285F4"],["d","M119.834 81.124l-1.645.172.172 1.645 1.645-.172-.172-1.645zm1.582-.776l-1.645.172.172 1.645 1.645-.172-.172-1.645z","fill","#4285F4"],["d","M122.972 79.351l-1.645.172.172 1.645 1.645-.172-.172-1.645z","fill","#4285F4"],["d","M105.682 93.176a.662.662 0 10-1.317.138l.394 3.76a.662.662 0 101.317-.139l-.394-3.759zm2.898-.303a.661.661 0 10-1.317.138l.394 3.76a.662.662 0 001.317-.139l-.394-3.76zm2.901-.307a.661.661 0 10-1.316.138l.393 3.76a.662.662 0 001.317-.138l-.394-3.76zm2.902-.303a.662.662 0 00-1.317.138l.394 3.76a.662.662 0 101.317-.139l-.394-3.76z",
"fill","#9AA0A6"],["d","M153.081 178.5v-48.417a6.708 6.708 0 00-6.708-6.708 4.667 4.667 0 010-9.333 16.057 16.057 0 0116.042 16.041V178.5h-9.334z","fill","#F1F3F4"],["id","prefix__b","maskUnits","userSpaceOnUse","x","141","y","114","width","22","height","65",2,"mask-type","luminance"],["d","M153.081 178.5v-48.417a6.708 6.708 0 00-6.708-6.708 4.667 4.667 0 010-9.333 16.057 16.057 0 0116.042 16.041V178.5h-9.334z","fill","#fff"],"mask url(#prefix__b) fill-rule evenodd clip-rule evenodd fill #DADCE0".split(" "),
["d","M147.819 111.11c.158.03.262.183.232.341l-2.783 14.612a.291.291 0 11-.573-.109l2.783-14.612a.29.29 0 01.341-.232zm5.088 1.11a.292.292 0 01.133.39l-6.551 13.315a.293.293 0 01-.524-.258l6.551-13.315a.291.291 0 01.391-.132zm4.458 2.355a.29.29 0 01.028.411l-9.748 11.142a.291.291 0 01-.439-.384l9.748-11.142a.291.291 0 01.411-.027zm3.625 3.374a.292.292 0 01-.077.406l-12.218 8.298a.292.292 0 01-.328-.483l12.218-8.298a.292.292 0 01.405.077zm2.636 4.206a.291.291 0 01-.178.372l-13.892 4.918a.292.292 0 01-.195-.55l13.893-4.918a.292.292 0 01.372.178zm1.471 4.843a.293.293 0 01-.268.314l-14.662 1.131a.292.292 0 11-.045-.581l14.662-1.132a.292.292 0 01.313.268zm-14.909 2.699a.292.292 0 01.328-.25l14.54 1.992a.292.292 0 01-.079.578l-14.54-1.992a.29.29 0 01-.249-.328zm-.004 3.161a.292.292 0 01.327-.252l14.53 1.852a.292.292 0 11-.073.578l-14.531-1.852a.292.292 0 01-.253-.326zm-.003 3.159a.292.292 0 01.324-.256l14.519 1.712a.292.292 0 01-.068.58l-14.519-1.713a.29.29 0 01-.256-.323zm0 3.158a.29.29 0 01.321-.258l14.505 1.575a.292.292 0 01-.063.58l-14.505-1.575a.292.292 0 01-.258-.322zm-.003 3.159a.291.291 0 01.319-.262l14.496 1.438a.292.292 0 01-.058.581l-14.496-1.438a.292.292 0 01-.261-.319zm-.004 3.161a.292.292 0 01.317-.264l14.484 1.298a.291.291 0 11-.052.581l-14.484-1.298a.293.293 0 01-.265-.317zm-.003 3.159a.292.292 0 01.314-.268l14.476 1.161a.292.292 0 01-.047.582l-14.475-1.161a.292.292 0 01-.268-.314zm-.003 3.158a.293.293 0 01.312-.27l14.464 1.024a.292.292 0 01-.042.582l-14.463-1.024a.293.293 0 01-.271-.312zm0 3.159a.291.291 0 01.309-.273l14.452.886a.293.293 0 01-.036.583l-14.452-.887a.292.292 0 01-.273-.309zm-.003 3.161a.292.292 0 01.306-.276l14.441.747a.291.291 0 11-.03.582l-14.441-.746a.293.293 0 01-.276-.307zm-.003 3.159a.292.292 0 01.304-.279l14.431.61a.29.29 0 01.279.303.29.29 0 01-.303.279l-14.432-.609a.292.292 0 01-.279-.304zm-.003 3.159a.291.291 0 01.301-.282l14.42.472a.292.292 0 11-.019.583l-14.42-.472a.292.292 0 01-.282-.301zm-.003 3.158a.292.292 0 01.298-.285l14.409.336a.29.29 0 11-.014.583l-14.408-.335a.292.292 0 01-.285-.299zm0 3.162a.292.292 0 01.295-.288l14.397.196a.292.292 0 11-.008.583l-14.396-.196a.29.29 0 01-.288-.295zm-.003 3.158a.291.291 0 01.293-.29l14.385.058a.291.291 0 11-.003.584l-14.385-.059a.29.29 0 01-.29-.293zm14.957 3.077a.292.292 0 01-.29.293l-14.377.079a.291.291 0 11-.003-.583l14.376-.079a.292.292 0 01.294.29z"],
["id","prefix__c","maskUnits","userSpaceOnUse","x","73","y","163","width","60","height","29",2,"mask-type","luminance"],["d","M118.708 184.435a9.92 9.92 0 012.29-6.34L133 163.645H87.672l-12.002 14.45a9.914 9.914 0 00-2.29 6.34v.033a9.917 9.917 0 002.745 6.842l.18.19h45.355l-.175-.181a9.919 9.919 0 01-2.777-6.884z","fill","#fff"],"mask url(#prefix__c) fill-rule evenodd clip-rule evenodd".split(" "),["d","M130.853 168.02H80.809v-1.166h50.044v1.166z","fill","#80868B"],["d","M128.698 172.2H78.07v-1.167h50.628v1.167z",
"fill","#8C9297"],["d","M126.54 176.38H75.332v-1.167h51.208v1.167z","fill","#989EA3"],["d","M124.384 180.559H72.593v-1.166h51.791v1.166z","fill","#A5A9AE"],["d","M122.229 184.739H69.851v-1.167h52.378v1.167z","fill","#B1B5BA"],["d","M120.07 188.918H67.113v-1.166h52.957v1.166z","fill","#BDC1C6"],["d","M160.484 191.354a5.178 5.178 0 010-10.354h-6.709a5.175 5.175 0 00-3.66 8.837 5.176 5.176 0 003.66 1.517h6.709z","fill","url(#prefix__prefix__paint9_linear_12_6)"],["d","M160.484 181a5.177 5.177 0 100 10.354v-1.75a3.428 3.428 0 110-6.854V181z",
"fill","#E8EAED"],["d","M163.651 178.494h-11.949v3.089h11.949v-3.089z","fill","url(#prefix__prefix__paint10_linear_12_6)"],["d","M45.5 72.295a28.154 28.154 0 0117.938-26.25 28.145 28.145 0 100 52.471A28.154 28.154 0 0145.5 72.296z","fill","url(#prefix__prefix__paint11_linear_12_6)"],"id prefix__prefix__paint0_linear_12_6 x1 152.06 y1 62.198 x2 152.06 y2 22.4 gradientUnits userSpaceOnUse".split(" "),["stop-color","#DADCE0","stop-opacity","0"],["offset","1","stop-color","#DADCE0"],"id prefix__prefix__paint1_linear_12_6 x1 42.537 y1 189.604 x2 87.669 y2 189.604 gradientUnits userSpaceOnUse".split(" "),
["stop-color","#202124","stop-opacity","0"],["offset","1","stop-color","#202124"],"id prefix__prefix__paint2_linear_12_6 x1 165.912 y1 186.177 x2 154.026 y2 186.177 gradientUnits userSpaceOnUse".split(" "),["stop-color","#BDC1C6"],"id prefix__prefix__paint3_linear_12_6 x1 132.143 y1 189.604 x2 156.82 y2 189.604 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint4_linear_12_6 x1 103.189 y1 162.496 x2 103.189 y2 176.426 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint5_linear_12_6 x1 71.248 y1 45.73 x2 71.248 y2 5.766 gradientUnits userSpaceOnUse".split(" "),
"id prefix__prefix__paint6_linear_12_6 x1 146.765 y1 118.596 x2 139.702 y2 125.659 gradientUnits userSpaceOnUse".split(" "),["stop-color","#DADCE0"],["offset","1","stop-color","#F1F3F4"],"id prefix__prefix__paint7_linear_12_6 x1 131.816 y1 124.623 x2 77.079 y2 147.47 gradientUnits userSpaceOnUse".split(" "),["stop-color","#F1F3F4"],"id prefix__prefix__paint8_linear_12_6 x1 134.325 y1 74.667 x2 76.767 y2 90.805 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint9_linear_12_6 x1 148.598 y1 186.177 x2 160.484 y2 186.177 gradientUnits userSpaceOnUse".split(" "),
"id prefix__prefix__paint10_linear_12_6 x1 151.702 y1 180.037 x2 163.651 y2 180.037 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint11_linear_12_6 x1 44.269 y1 110.066 x2 44.269 y2 38.31 gradientUnits userSpaceOnUse".split(" "),["color","primary","mat-flat-button","",3,"click"],[1,"google-material-icons"],["mat-align-tabs","start","gmat-tabs",""],["label","Hotlist ABC"],[1,"mvp-tab-controls"],[1,"mvp-big-chip"],[1,"mvp-tab-chips"],["multiple",""],["appearance","hairline-suggestive",
"selected","true"],["mat-button","",1,"gmat-button","medium"],["inline","",1,"google-material-icons"],["mat-icon-button","","matTooltip","Help","aria-label","Help","aria-haspopup","true",1,"gmat-button","medium"],[3,"dataSource"],["matColumnDef","type"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","title"],["matColumnDef","id"],["matColumnDef","priority"],["matColumnDef","created"],["matColumnDef","assignee"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"mvp-bottom-controls"],
[1,"mvp-dialog"],[1,"mvp-inputs"],[1,"gmat-headline-6"],["mat-stroked-button","",1,"mvp-source-menu-button",3,"matMenuTriggerFor"],[1,"mvp-work-areas-menu"],["sourceType","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["appearance","outline",1,"mvp-hotlist-input"],["matInput","","type","text","placeholder","Search by name or Id","aria-label","Choose hotlist",3,"formControl","matAutocomplete"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[1,"mvp-preview"],["src",
"https://screenshot.googleplex.com/BdAt34uZXes4UDX.png","alt","image of prototype UI",2,"width","415px"],["align","end",2,"padding-right","24px"],["mat-button","","color","primary",3,"click"],["mat-flat-button","","color","primary",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"value"]],template:function(a,b){a&1&&(H(0,"main",0)(1,"section",1)(2,"div",2)(3,"h2",3),R(4),I(),H(5,"button",4),M("click",function(){return b.toggleCollapsed()}),H(6,"mat-icon",5),R(7,"expand_less"),I()(),J(8,"span",
6),I(),P(9,rWa,3,2,"div",7),I()(),P(10,uWa,30,8,"ng-template",null,8,hg));a&2&&(B(4),Nf(b.cardTitle),B(1),F("ngClass",Sf(4,FIc,b.isCollapsed())),pf("aria-label",b.isCollapsed?"Expand card":"Collapse card"),B(4),F("ngIf",!b.isCollapsed()))},dependencies:[Mw,Nw,Ow,bB,xg,ox,ZU,eV,dV,gV,eC,cC,hC,hV,qO,iO,mO,jO,hO,nO,kO,lO,oO,pO,GP,FP,sA,qA,HA,QA,TA,tN,sN,Ax,Uw,Xw],styles:['[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]{margin-top:24px;background:var(--surface-default)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_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;gap:4px}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .expansion-toggle[_ngcontent-%COMP%]{-webkit-transition:rotate .3s;transition:rotate .3s}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .expansion-toggle.collapsed[_ngcontent-%COMP%]{rotate:180deg}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]{font-weight:500;border:1px solid var(--hairline);border-radius:4px;cursor:pointer;padding:.5rem .75rem;min-width:64px;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;gap:.5rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.25rem;fount-weight:500}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]:hover{border-color:var(--primary-default)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-bottom-controls[_ngcontent-%COMP%]{height:36px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge[_ngcontent-%COMP%]{padding:0 .25rem;border-radius:.25rem;font-weight:500;margin-right:.5rem;border:1px solid transparent}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P0[_ngcontent-%COMP%]{border:1px solid var(--primary-default);background:var(--primary-default);color:var(--text-inverse)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P1[_ngcontent-%COMP%]{border:1px solid var(--primary-default)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-footer-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-header-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-row[_ngcontent-%COMP%]{min-height:2rem;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .empty-state-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;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:.625rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .empty-state-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:Google Sans;font-size:.875rem;font-weight:500;line-height:1rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-chips[_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;gap:.5rem;padding:0;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-chips[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-chips[_ngcontent-%COMP%]   .chip-button[_ngcontent-%COMP%]{background:var(--mvp-prototype-chip-bg);padding:0 8px 0 12px;height:1.5rem;line-height:1.5rem;margin:6px 0;border-radius:.5rem;font-weight:400}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-controls[_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;gap:.5rem;padding:.5rem 0;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-type[_ngcontent-%COMP%]{width:48px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-priority[_ngcontent-%COMP%]{width:64px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-assignee[_ngcontent-%COMP%]{min-width:250px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-created[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-id[_ngcontent-%COMP%]{min-width:120px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}  .mvp-work-areas-view .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#212121;--mdc-chip-with-icon-icon-color:#212121;--mdc-chip-with-icon-disabled-icon-color:#212121;--mdc-chip-with-icon-selected-icon-color:#212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#212121;--mdc-chip-with-trailing-icon-trailing-icon-color:#212121}  .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary,   .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#2196f3;--mdc-chip-elevated-disabled-container-color:#2196f3;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent,   .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent{--mdc-chip-disabled-label-text-color:rgba(0,0,0,.87);--mdc-chip-elevated-container-color:#ff9800;--mdc-chip-elevated-disabled-container-color:#ff9800;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:rgba(0,0,0,.87);--mdc-chip-with-icon-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-disabled-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-selected-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-trailing-icon-color:rgba(0,0,0,.87)}  .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn,   .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#f44336;--mdc-chip-elevated-disabled-container-color:#f44336;--mdc-chip-focus-state-layer-color:#000;--mdc-chip-focus-state-layer-opacity:0.12;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-work-areas-view .mat-mdc-standard-chip{--mdc-chip-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-chip-label-text-line-height:20px;--mdc-chip-label-text-size:14px;--mdc-chip-label-text-tracking:normal;--mdc-chip-label-text-weight:400}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__text-label{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-right:0}[dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-style:solid}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-outline-color,transparent)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-disabled-outline-color,transparent)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-width:1px;border-width:var(--mdc-chip-flat-outline-width,1px)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__text-label{font-family:Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip.mat-mdc-chip-disabled{box-shadow:none}  .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon{opacity:.9}  .mvp-work-areas-view .gmat-mdc-chip{--mdc-chip-label-text-color:#5f6368;--mdc-chip-disabled-label-text-color:rgba(60,64,67,.38);--mdc-chip-with-icon-icon-color:#5f6368;--mdc-chip-with-icon-disabled-icon-color:rgba(60,64,67,.38);--mdc-chip-with-icon-selected-icon-color:#5f6368;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#5f6368;--mdc-chip-with-trailing-icon-trailing-icon-color:#5f6368;--mdc-chip-focus-state-layer-color:#3c4043;--mdc-chip-focus-state-layer-opacity:0.12}  .mvp-work-areas-view .gmat-mdc-chip.cdk-focused{--mdc-chip-label-text-color:#202124}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip{--mdc-chip-elevated-container-color:transparent;--mdc-chip-elevated-disabled-container-color:transparent;--mdc-chip-flat-outline-color:#dadce0;--mdc-chip-flat-disabled-outline-color:#dadce0;--mdc-chip-focus-state-layer-color:#3c4043}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip{--mdc-chip-elevated-container-color:#fff;--mdc-chip-elevated-disabled-container-color:#fff;--mdc-chip-focus-state-layer-color:#3c4043}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#e3f2fd;--mdc-chip-elevated-disabled-container-color:#e3f2fd;--mdc-chip-label-text-color:#0d47a1;--mdc-chip-disabled-label-text-color:#0d47a1;--mdc-chip-with-icon-icon-color:#0d47a1;--mdc-chip-with-icon-disabled-icon-color:#0d47a1;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#0d47a1;--mdc-chip-with-trailing-icon-trailing-icon-color:#0d47a1;--mdc-chip-with-icon-selected-icon-color:#0d47a1;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#1976d2}  .mvp-work-areas-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#fff3e0;--mdc-chip-elevated-disabled-container-color:#fff3e0;--mdc-chip-label-text-color:#e65100;--mdc-chip-disabled-label-text-color:#e65100;--mdc-chip-with-icon-icon-color:#e65100;--mdc-chip-with-icon-disabled-icon-color:#e65100;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#e65100;--mdc-chip-with-trailing-icon-trailing-icon-color:#e65100;--mdc-chip-with-icon-selected-icon-color:#e65100;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#f57c00}  .mvp-work-areas-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#ffebee;--mdc-chip-elevated-disabled-container-color:#ffebee;--mdc-chip-label-text-color:#b71c1c;--mdc-chip-disabled-label-text-color:#b71c1c;--mdc-chip-with-icon-icon-color:#b71c1c;--mdc-chip-with-icon-disabled-icon-color:#b71c1c;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#b71c1c;--mdc-chip-with-trailing-icon-trailing-icon-color:#b71c1c;--mdc-chip-with-icon-selected-icon-color:#b71c1c;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent;--mdc-chip-focus-state-layer-color:#d32f2f}  .mvp-work-areas-view .mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height:24px}  .mvp-work-areas-view .gmat-mdc-chip{--mdc-ripple-color:var(--text-default);--odw-chip-background-selected:var(--blue-50);--odw-chip-assistive-background-selected:var(--blue-100)}  .mvp-work-areas-view .gmat-mdc-chip:not([disabled]){cursor:pointer}.dark-mode[_ngcontent-%COMP%]  .mvp-work-areas-view .gmat-mdc-chip{--odw-chip-background-selected:#3c4043;--odw-chip-assistive-background-selected:#3c4043}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover{--mdc-ripple-color:var(--odw-chip-background-selected);background-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--hairline);--mdc-chip-flat-disabled-outline-color:var(--hairline)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--text-default);--mdc-chip-flat-disabled-outline-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip.gmat-selectable-chip.mdc-evolution-chip--selected:hover{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-mdc-chip.gmat-protected-chip{background:var(--page-bg);box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected{--mdc-ripple-color:var(--primary-default);background-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{background-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected{--mdc-chip-label-text-color:var(--text-primary);--odw-chip-background-selected:var(--mvp-prototype-chip-bg)}  .mvp-work-areas-view .mat-tab-labels{height:28px}  .mvp-work-areas-view .mat-tab-label{height:28px;min-width:80px}  .mvp-dialog{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;border-bottom:1px solid var(--hairline)}  .mvp-dialog .mvp-inputs{width:50%;padding:0 1.5rem;border-right:1px solid var(--hairline)}  .mvp-dialog .mvp-inputs p{margin:.75rem 0}  .mvp-dialog .mvp-preview{width:50%;padding:0 1.5rem}  .mvp-dialog .mvp-source-menu-button{width:350px}  .mvp-dialog .mvp-source-menu-button .mat-button-wrapper{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}  .mvp-dialog .mvp-hotlist-input{width:400px}  .mvp-dialog .mvp-hotlist-input .mat-form-field-outline{top:0}  .mvp-dialog .mvp-hotlist-input .mat-form-field-infix{border:none}  .mvp-dialog .mvp-hotlist-input input{font-size:1rem}  .mvp-work-areas-menu{background:var(--surface-default)}  .mvp-work-areas-menu .mvp-source-select{padding:0 .75rem;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;gap:.75rem;overflow:hidden}  .mvp-work-areas-menu .mvp-source-select .mat-mdc-checkbox{color:var(--text-default)}  .mvp-dialog{margin:-24px -24px 0}\n/*# sourceMappingURL=mvp_my_work.css.map */']});var HIc=function(a){this.internalArray_=l(a)};U(HIc,q);f=HIc.prototype;f.getSignalsList=function(){return fl(this,6)};f.setSignalsList=function(a){Cb(this,6,a,$a)};f.getCount=function(){return Vh(this,1)};f.setCount=function(a){return dj(this,1,a)};f.setS=function(a){uk(this,2,a)};f.setP=function(a){return dj(this,3,a)};f.getNextPageToken=function(){return V(this,4)};f.setTrackerIdsList=function(a){xj(this,5,a)};HIc.repeatedFields_=[6,5];
HIc.prototype.toObject=function(){if(null!=this){t(this);var a={signalsList:n(fl(this,6)),count:n(Ft(this,1)),s:n(X(this,2)),p:n(Ft(this,3)),nextPageToken:n(X(this,4)),trackerIdsList:n(Wh(this,5))}}else a=void 0;return a};var mV=function(a){this.internalArray_=l(a)};U(mV,q);mV.prototype.getTimestamp=function(){return W(this,Rh,2)};mV.prototype.setTimestamp=function(a){return lj(this,Rh,2,a)};mV.prototype.hasTimestamp=function(){return Pj(this,Rh,2)};mV.prototype.toObject=function(){return IIc(this)};var IIc=function(a){if(null!=a)return t(a),{signalType:n(p(a,1)),timestamp:mu(a.getTimestamp())}};var zp=function(a){this.internalArray_=l(a)};U(zp,q);zp.prototype.getIssue=function(){return W(this,Hj,1)};zp.prototype.setIssue=function(a){lj(this,Hj,1,a)};zp.prototype.getSignalsList=function(){return oj(this,mV,2)};zp.prototype.setSignalsList=function(a){rj(this,2,a)};zp.repeatedFields_=[2];zp.prototype.toObject=function(){return JIc(this)};var JIc=function(a){if(null!=a)return t(a),{issue:sE(a.getIssue()),signalsList:Ub(a.getSignalsList(),IIc)}};var nV=function(a){this.internalArray_=l(a,0,nV.messageId)};U(nV,q);nV.prototype.getNumTotalResults=function(){return Vh(this,2)};nV.prototype.getComponentsMap=function(){return ik(this,3,gk)};nV.prototype.getNextPageToken=function(){return V(this,4)};nV.repeatedFields_=[1];nV.prototype.toObject=function(){if(null!=this){t(this);var a={issuesWithSignalsList:Ub(oj(this,zp,1),JIc),numTotalResults:n(Ft(this,2)),componentsMap:Wb(this.getComponentsMap(),zE),nextPageToken:n(X(this,4))}}else a=void 0;return a};
nV.messageId="b.NeedsAttentionSearchResponse";var oV=function(a){this.internalArray_=l(a)};U(oV,q);oV.prototype.getIssueIdsList=function(){return sl(this,1)};oV.prototype.setIssueIdsList=function(a){return Cb(this,1,a,gb)};oV.prototype.addIssueIds=function(a){Eb(this,1,a)};oV.repeatedFields_=[1];oV.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:n(sl(this,1)),dismissed:n(Ur(this,2))}}else a=void 0;return a};var KIc=function(a){this.internalArray_=l(a,0,KIc.messageId)};U(KIc,q);KIc.prototype.toObject=function(){if(null!=this){t(this);var a={dismissTimestamp:mu(W(this,Rh,1))}}else a=void 0;return a};KIc.messageId="b.UpdateIssueDismissTimestampResponse";var pV=function(a,b){this.executor=a;this.appEvents=b;this.COUNT=100};pV.prototype.listIssues=function(a,b,c){var d=this,e=(new HIc).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map(zWa));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:nV}).then(wWa).then(function(g){d.appEvents.needsAttentionIssueCount.next(g.numTotalResults||0);return g})};
var qV=function(a,b,c){b=(new oV).setIssueIdsList(b.map(li));c=Xj(b,2,c);return a.executor.post({url:"action/issues/dismiss_timestamp",body:c,responseConstructor:KIc}).then(yWa)};pV.\u0275fac=function(a){return new (a||pV)(u(xD),u(sG))};pV.\u0275prov=wc({token:pV,factory:pV.\u0275fac,providedIn:"root"});var LIc=new Map([["NEAR_SLO",{color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"}],["MENTIONED",{color:"pink",text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"}],["UNBLOCKED",{color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"}],["NEEDS_REPORTER_INPUT",{color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"}],["NEWLY_BLOCKING",{color:"red",text:"Newly blocking",icon:"alert_24px",
className:"newly-blocking"}],["ASSIGNED",{color:"blue",text:"Newly assigned",icon:"assignment_ind_24px",className:"newly-assigned"}],["REPLIED_TO_MENTION",{color:"green",text:"Replied to mention",icon:"chat_24px",className:"replied-to-mention"}]]),GJb=new Map([["NEAR_SLO",{header:"Near SLO",body:"Issues that will go out of SLO in 2 days or less"}],["MENTIONED",{header:"Mentioned me",body:"Someone mentioned you in a comment in the past 2 weeks"}],["UNBLOCKED",{header:"Blockers closed",body:"All blockers are closed"}],
["NEEDS_REPORTER_INPUT",{header:"Needs reporter input",body:"Issue is assigned back to reporter (you) for more context"}],["REPLIED_TO_MENTION",{header:"Replied to mention",body:"Someone you mentioned replied to your comment"}],["NEWLY_BLOCKING",{header:"Newly blocking",body:"Issues that are blocking other issues"}],["ASSIGNED",{header:"Newly assigned",body:"Issues newly assigned to you"}]]);var rV=function(a){this.api=a},MIc=function(a,b){return Nkc(a.api,GWa(b)).pipe(D(function(c){c=c.results.map(function(d){var e=d.userId.email;d=d.userAvailabilities.availabilities;var g=d[0];d=d.slice(1);var h;if(h=g)h=g.status.hasOutOfOffice?"OOO - "+CWa(g.status.outOfOffice.comeBackTime):g.status.hasOutsideWorkingHours?"Outside working hours - "+CWa(g.status.outsideWorkingHours.comeBackTime):void 0;g=(g=h)?{type:"Current Availability",text:g}:void 0;d=null!=g?g:FWa(d);return[e,d]});return new Map(c)}))};
rV.\u0275fac=function(a){return new (a||rV)(u(cJ))};rV.\u0275prov=wc({token:rV,factory:rV.\u0275fac,providedIn:"root"});var NIc=new Zc("Worktracker API Key");var OIc=new Zc("Environment");var sV=function(a){this.internalArray_=l(a)};U(sV,q);f=sV.prototype;f.getIterationId=function(){return uj(this,1)};f.setIterationId=function(a){return Nb(this,1,a)};f.getWorkspaceId=function(){return uj(this,2)};f.getType=function(){return aj(this,3,0)};f.setType=function(a){return $i(this,3,a)};f.getName=function(){return V(this,4)};f.setName=function(a){return zj(this,4,a)};f.getHotlistId=function(){return uj(this,7)};f.setHotlistId=function(a){return Nb(this,7,a)};
f.getStatus=function(){return aj(this,8,0)};f.setStatus=function(a){return $i(this,8,a)};f.getTagsList=function(){return fl(this,9)};f.getTags=function(a){return Mt(this,9,a)};f.setVelocity=function(a){return Db(this,11,Va(a),0)};f.getStartTime=function(){return W(this,Rh,12)};f.setStartTime=function(a){lj(this,Rh,12,a)};f.getEndTime=function(){return W(this,Rh,13)};f.setEndTime=function(a){lj(this,Rh,13,a)};f.getEtag=function(){return V(this,18)};f.setEtag=function(a){zj(this,18,a)};var PIc=Yb(sV);
sV.repeatedFields_=[9];sV.prototype.toObject=function(){return QIc(this)};var QIc=function(a){if(null!=a)return t(a),{iterationId:uj(a,1),workspaceId:uj(a,2),type:aj(a,3,0),name:V(a,4),startUsecs:Ob(p(a,5),"0"),endUsecs:Ob(p(a,6),"0"),actualStartTime:mu(W(a,Rh,15)),actualEndTime:mu(W(a,Rh,14)),hotlistId:uj(a,7),status:aj(a,8,0),tagsList:n(fl(a,9)),capacity:vj(a,10),velocity:vj(a,11),startTime:mu(a.getStartTime()),endTime:mu(a.getEndTime()),iterationRecurrenceId:uj(a,16),etag:V(a,18)}};var tV=function(a){this.internalArray_=l(a)};U(tV,q);tV.prototype.getIterationId=function(){return It(this,1)};tV.prototype.setIterationId=function(a){return Db(this,1,a,0)};tV.prototype.toObject=function(){if(null!=this){t(this);var a={iterationId:It(this,1)}}else a=void 0;return a};var RIc=new SC("/google.corp.devtools.worktracker.v1.IterationService/GetIteration",tV,sV,function(a){return a.serialize()},PIc);var uV=function(a){this.internalArray_=l(a)};U(uV,q);uV.prototype.getContexts=function(){return Mt(this,1)};uV.repeatedFields_=[1];uV.prototype.toObject=function(){return SIc(this)};var SIc=function(a){if(null!=a)return t(a),{contextsList:n(fl(a,1))}};var vV=function(a){this.internalArray_=l(a)};U(vV,q);vV.prototype.getWorkspaceId=function(){return uj(this,1)};vV.prototype.getType=function(){return aj(this,2,0)};vV.prototype.setType=function(a){return $i(this,2,a)};vV.prototype.toObject=function(){return TIc(this)};var TIc=function(a){if(null!=a)return t(a),{workspaceId:uj(a,1),type:aj(a,2,0)}};var UIc=function(a){this.internalArray_=l(a)};U(UIc,q);UIc.repeatedFields_=[1,2,3];UIc.prototype.toObject=function(){return VIc(this)};var VIc=function(a){if(null!=a)return t(a),{typedWorkspaceIdsList:Ub(oj(a,vV,1),TIc),iterationIdsList:n(sl(a,2)),tagIdsList:n(Xh(a,3))}};var WIc=function(a){this.internalArray_=l(a)};U(WIc,q);f=WIc.prototype;f.getId=function(){return V(this,1)};f.setId=function(a){return zj(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return zj(this,2,a)};f.getIsArchived=function(){return Vj(this,3)};f.setIsArchived=function(a){return Ib(this,3,a)};f.getWorkspaceId=function(){return uj(this,4)};f.setColor=function(a){return zj(this,5,a)};f.clearColor=function(){return Ct(this,5)};f.toObject=function(){return XIc(this)};
var XIc=function(a){if(null!=a)return t(a),{id:V(a,1),name:V(a,2),isArchived:Vj(a,3),workspaceId:uj(a,4),color:V(a,5)}};var YIc=function(a){this.internalArray_=l(a)};U(YIc,q);YIc.prototype.getTagsList=function(){return oj(this,WIc,1)};YIc.repeatedFields_=[1];YIc.prototype.toObject=function(){return ZIc(this)};var ZIc=function(a){if(null!=a)return t(a),{tagsList:Ub(a.getTagsList(),XIc)}};var $Ic=function(a){this.internalArray_=l(a)};U($Ic,q);$Ic.prototype.toObject=function(){return aJc(this)};var aJc=function(a){if(null!=a){t(a);var b=Bb(a,1,mo,mb);b=Wb(b,Kvc);var c=Bb(a,2,sV,mb);c=Wb(c,QIc);a=ik(a,4,YIc);return{workspacesMap:b,iterationsMap:c,taglistsMap:Wb(a,ZIc)}}};var bJc=function(a){this.internalArray_=l(a)};U(bJc,q);f=bJc.prototype;f.getData=function(){return W(this,$Ic,2)};f.setData=function(a){return lj(this,$Ic,2,a)};f.clearData=function(){return Ct(this,2)};f.getFilter=function(){return W(this,uV,3)};f.setFilter=function(a){return lj(this,uV,3,a)};f.toObject=function(){return cJc(this)};var cJc=function(a){if(null!=a){t(a);var b=ik(a,1,UIc);return{contextsMap:Wb(b,VIc),data:aJc(a.getData()),filter:SIc(a.getFilter())}}};var dJc=function(a){this.internalArray_=l(a)};U(dJc,q);dJc.repeatedFields_=[1];dJc.prototype.toObject=function(){return eJc(this)};var eJc=function(a){if(null!=a)return t(a),{launchIdsList:n(Xh(a,1))}};var fJc=function(a){this.internalArray_=l(a)};U(fJc,q);fJc.repeatedFields_=[1];fJc.prototype.toObject=function(){return gJc(this)};var gJc=function(a){if(null!=a)return t(a),{okrIdsList:n(Xh(a,1))}};var hJc=function(a){this.internalArray_=l(a)};U(hJc,q);hJc.prototype.getIssue=function(){return W(this,fE,1)};hJc.prototype.setIssue=function(a){lj(this,fE,1,a)};hJc.prototype.toObject=function(){return iJc(this)};var iJc=function(a){if(null!=a)return t(a),{issue:Ibc(a.getIssue()),legacyType:aj(a,2,0)}};var jJc=function(a){this.internalArray_=l(a)};U(jJc,q);jJc.prototype.getIssue=function(){return fk(this,hJc,1,kJc)};jJc.prototype.setIssue=function(a){Ko(this,1,kJc,a)};var kJc=[1];jJc.prototype.toObject=function(){return lJc(this)};var lJc=function(a){if(null!=a)return t(a),{issue:iJc(a.getIssue())}};var wV=function(a){this.internalArray_=l(a)};U(wV,q);wV.prototype.getId=function(){return V(this,1)};wV.prototype.setId=function(a){return zj(this,1,a)};wV.prototype.getPayload=function(){return W(this,jJc,9)};var mJc=Yb(wV);wV.repeatedFields_=[11,12,7,10];wV.prototype.toObject=function(){return nJc(this)};
var nJc=function(a){if(null!=a){t(a);var b=V(a,1),c=lJc(a.getPayload()),d=n(Xh(a,11)),e=Ub(oj(a,sV,12),QIc),g=n(Xh(a,7)),h=Vj(a,8),m=n(Xh(a,10));var r=ik(a,15,fJc);r=Wb(r,gJc);a=ik(a,16,dJc);return{id:b,payload:c,tagIdsList:d,iterationsList:e,blockerIdsList:g,inboxItem:h,parentIdsList:m,okrIdsMap:r,launchIdsMap:Wb(a,eJc)}}};var qJc=function(){var a=Hc(oJc),b=pJc;b=b||{};b.format="jspb";this.client_=new nD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};qJc.prototype.getIteration=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.IterationService/GetIteration",a,b||{},RIc)};var rJc=function(a){this.internalArray_=l(a)};U(rJc,q);var sJc=function(a,b){return Ri(a,1,b)};rJc.repeatedFields_=[1];rJc.prototype.toObject=function(){if(null!=this){t(this);var a={workItemIdsList:n(Xh(this,1)),workItemContextFilter:SIc(W(this,uV,2))}}else a=void 0;return a};var tJc=function(a){this.internalArray_=l(a)};U(tJc,q);var uJc=Yb(tJc);tJc.repeatedFields_=[1];tJc.prototype.toObject=function(){if(null!=this){t(this);var a={workItemsList:Ub(oj(this,wV,1),nJc),workItemContexts:cJc(W(this,bJc,2))}}else a=void 0;return a};var vJc=new SC("/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",rJc,tJc,function(a){return a.serialize()},uJc);var wJc=function(a){this.internalArray_=l(a)};U(wJc,q);wJc.prototype.setWorkItemId=function(a){return zj(this,1,a)};wJc.prototype.toObject=function(){if(null!=this){t(this);var a={workItemId:V(this,1)}}else a=void 0;return a};var xJc=new SC("/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",wJc,wV,function(a){return a.serialize()},mJc);var yJc=function(){var a=Hc(oJc),b=pJc;b=b||{};b.format="jspb";this.client_=new nD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")},zJc=function(a,b,c){return PC(a.client_,a.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",b,c||{},vJc)};yJc.prototype.getWorkItem=function(a){return PC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",a,{},xJc)};var oJc=new Zc("Worktracker API Endpoint",{factory:function(){switch(Hc(OIc)){case "Prod":return"https://worktracker-googleapis.corp.google.com";case "Staging":return"https://staging-worktracker-googleapis.corp.google.com";default:return"https://autopush-worktracker-googleapis.corp.google.com"}}}),pJc={withCredentials:!0,suppressCorsPreflight:!0},AJc=new Zc("Workspaces Promise Client",{factory:function(){return new Uvc(Hc(oJc),pJc)}}),BJc=new Zc("Iterations Promise Client",{factory:function(){return new qJc}}),
CJc=new Zc("Work Items Promise Client",{factory:function(){return new yJc}});var xV=function(){this.iterationsApi=Hc(BJc);this.idToIterationMap=new Map;this.headers=Dp(Hc(NIc))};xV.prototype.getIteration=function(a){if(this.idToIterationMap.has(a))return this.idToIterationMap.get(a);var b=(new tV).setIterationId(a);b=this.iterationsApi.getIteration(b,this.headers);this.idToIterationMap.set(a,b);return b};xV.\u0275fac=function(a){return new (a||xV)};xV.\u0275prov=wc({token:xV,factory:xV.\u0275fac,providedIn:"root"});var yV=function(){var a=this;this.workItemsApi=Hc(CJc);this.headers=Dp(Hc(NIc));this.task$=new E.ReplaySubject;this.taskToWorkItem$=IWa(this.task$).pipe(af(function(b){var c;return ne(function(d){if(1==d.nextAddress)return d.yield(DJc(a,b),2);c=d.yieldResult;for(var e=d.return,g=Map,h=Math.max(b.length,c.length),m=[],r=0;r<h;r++)m.push([b[r],c[r]]);return e.call(d,new g(m))})}),Ye())};
yV.prototype.getWorkItem=function(a){var b;if(null==(b=a.getResource())||!Ip(b))return(0,E.of)(void 0);this.task$.next(a);return this.taskToWorkItem$.pipe(D(function(c){return c.get(a)}))};var DJc=function(a,b){var c,d;return ne(function(e){if(1==e.nextAddress)return c=sJc(new rJc,b.map(function(g){return V(g,1)})),e.yield(zJc(a.workItemsApi,c,a.headers),2);d=e.yieldResult;return e.return(oj(d,wV,1))})};yV.\u0275fac=function(a){return new (a||yV)};yV.\u0275prov=wc({token:yV,factory:yV.\u0275fac,providedIn:"root"});var zV=function(){var a=this;this.workspacesApi=Hc(AJc);this.workspaceIds$=(0,E.defer)(function(){return EJc(a)}).pipe(Ye());this.headers=Dp(Hc(NIc));this.workItemFetcher=Hc(yV);this.iterationFetcher=Hc(xV)},GJc=function(a,b){return(0,E.defer)(function(){return FJc(a,b)})},FJc=function(a,b){var c,d,e,g,h,m,r,v;return ne(function(y){if(1==y.nextAddress)return y.yield(Promise.all([(0,E.firstValueFrom)(a.workItemFetcher.getWorkItem(b)),(0,E.firstValueFrom)(a.workspaceIds$)]),2);if(3!=y.nextAddress){c=
y.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;m=g;if(!h)return y.return(void 0);r=oj(h,sV,12).filter(function(A){return m.includes(A.getWorkspaceId())});return y.yield(Promise.all(r.map(function(A){return a.iterationFetcher.getIteration(A.getIterationId())})),3)}v=y.yieldResult;return y.return(v.some(JWa)?"Current iteration":void 0)})},EJc=function(a){var b,c;return ne(function(d){if(1==d.nextAddress)return b=Qvc(),d.yield(a.workspacesApi.list(b,a.headers),2);c=d.yieldResult;return d.return(oj(c,
mo,1).map(function(e){return e.getWorkspaceId()}))})};zV.\u0275fac=function(a){return new (a||zV)};zV.\u0275prov=wc({token:zV,factory:zV.\u0275fac,providedIn:"root"});var AV={},BV={},CV={},DV={},EV={},FV={},OWa=(FV[1]=(AV[1]=4419,AV[2]=19482,AV[3]=65108,AV[4]=78715,AV[5]=80067,AV[6]=15012,AV),FV[2]=(BV[1]=9078,BV[2]=63700,BV[3]=86383,BV[4]=148526,BV[5]=161988,BV[6]=80049,BV),FV[3]=(CV[1]=37536,CV[2]=89931,CV[3]=179965,CV[4]=274704,CV[5]=351444,CV[6]=237983,CV),FV[4]=(DV[1]=72484,DV[2]=191314,DV[3]=342430,DV[4]=444537,DV[5]=528272,DV[6]=417086,DV),FV[5]=(EV[1]=56493,EV[2]=167140,EV[3]=327933,EV[4]=425290,EV[5]=490491,EV[6]=436116,EV),FV);var HJc=function(a){this.internalArray_=l(a)};U(HJc,q);HJc.prototype.toObject=function(){if(null!=this){t(this);var a={changelistId:uj(this,1)}}else a=void 0;return a};var IJc=function(a){this.internalArray_=l(a)};U(IJc,q);f=IJc.prototype;f.getName=function(){return V(this,1)};f.setName=function(a){return zj(this,1,a)};f.getId=function(){return V(this,2)};f.setId=function(a){return zj(this,2,a)};f.toObject=function(){return JJc(this)};var JJc=function(a){if(null!=a)return t(a),{name:V(a,1),id:V(a,2),rolloutTime:mu(W(a,Rh,3))}};var KJc=function(a){this.internalArray_=l(a)};U(KJc,q);KJc.prototype.toObject=function(){return LJc(this)};var LJc=function(a){if(null!=a)return t(a),{candidate:JJc(W(a,IJc,1)),containsCl:Vj(a,2),artifactCorpus:V(a,3)}};var GV=function(a){this.internalArray_=l(a)};U(GV,q);GV.prototype.getName=function(){return V(this,2)};GV.prototype.setName=function(a){return zj(this,2,a)};GV.repeatedFields_=[5];GV.prototype.toObject=function(){return MJc(this)};var MJc=function(a){if(null!=a)return t(a),{name:V(a,2),candidateRolloutInfosList:Ub(oj(a,KJc,5),LJc)}};var NJc=function(a){this.internalArray_=l(a)};U(NJc,q);NJc.prototype.getPackageName=function(){return V(this,2)};NJc.repeatedFields_=[3];NJc.prototype.toObject=function(){return OJc(this)};var OJc=function(a){if(null!=a)return t(a),{packageGroup:V(a,1),packageName:V(a,2),androidTracksList:Ub(oj(a,GV,3),MJc)}};var PJc=function(a){this.internalArray_=l(a)};U(PJc,q);PJc.prototype.getName=function(){return V(this,1)};PJc.prototype.setName=function(a){return zj(this,1,a)};PJc.prototype.toObject=function(){return QJc(this)};var QJc=function(a){if(null!=a)return t(a),{name:V(a,1),cellStatus:aj(a,2,0)}};var RJc=function(a){this.internalArray_=l(a)};U(RJc,q);f=RJc.prototype;f.getStartTime=function(){return W(this,Rh,1)};f.setStartTime=function(a){lj(this,Rh,1,a)};f.getEndTime=function(){return W(this,Rh,2)};f.setEndTime=function(a){lj(this,Rh,2,a)};f.toObject=function(){return SJc(this)};var SJc=function(a){if(null!=a)return t(a),{startTime:mu(a.getStartTime()),endTime:mu(a.getEndTime())}};var TJc=function(a){this.internalArray_=l(a)};U(TJc,q);f=TJc.prototype;f.getConfidence=function(){return vj(this,2)};f.getStatus=function(){return W(this,YC,3)};f.setStatus=function(a){return lj(this,YC,3,a)};f.hasStatus=function(){return Pj(this,YC,3)};f.toObject=function(){return UJc(this)};var UJc=function(a){if(null!=a)return t(a),{confidenceInterval:SJc(W(a,RJc,1)),confidence:n(Qo(a,2)),status:Y9b(a.getStatus())}};var HV=function(a){this.internalArray_=l(a)};U(HV,q);HV.prototype.getName=function(){return V(this,1)};HV.prototype.setName=function(a){return zj(this,1,a)};HV.prototype.getUser=function(){return V(this,7)};HV.prototype.setUser=function(a){zj(this,7,a)};HV.repeatedFields_=[6,8];HV.prototype.toObject=function(){return VJc(this)};
var VJc=function(a){if(null!=a)return t(a),{name:V(a,1),user:V(a,7),changelistDeploymentStatus:aj(a,2,0),clFirstReachedTimestamp:mu(W(a,Rh,3)),rapidCandidate:V(a,4),isFinalStage:Vj(a,5),cellDeploymentInfosList:Ub(oj(a,PJc,6),QJc),currentRapidCandidatesList:Ub(oj(a,IJc,8),JJc),clDeploymentHistoryMessage:V(a,9),releasePrediction:UJc(W(a,TJc,10))}};var IV=function(a){this.internalArray_=l(a)};U(IV,q);IV.prototype.getName=function(){return V(this,1)};IV.prototype.setName=function(a){return zj(this,1,a)};IV.repeatedFields_=[2,5];IV.prototype.toObject=function(){return WJc(this)};var WJc=function(a){if(null!=a)return t(a),{name:V(a,1),environmentsList:Ub(oj(a,HV,2),VJc),missingRapidProjectDataReason:aj(a,3,0),androidReleaseInfosList:Ub(oj(a,NJc,5),OJc)}};var XJc=function(a){this.internalArray_=l(a)};U(XJc,q);var YJc=Yb(XJc);XJc.repeatedFields_=[2];XJc.prototype.toObject=function(){if(null!=this){t(this);var a={submissionDeadlinePrediction:UJc(W(this,TJc,1)),projectReleasePredictionsList:Ub(oj(this,IV,2),WJc)}}else a=void 0;return a};var ZJc=new SC("/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",HJc,XJc,function(a){return a.serialize()},YJc);var aKc=function(){var a=Hc($Jc).endpoint;this.client_=new nD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};aKc.prototype.getChangelistReleaseSchedulePrediction=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",a,b||{},ZJc)};var $Jc=new Zc("Deployments config",{factory:function(){switch(Hc(OIc)){case "Prod":return{endpoint:"https://developergraph-googleapis.corp.google.com",apiKey:"AIzaSyCcQkm25Zzy--16hP6gEq5iF57VSicmFPo"};case "Autopush":case "Staging":return{endpoint:"https://staging-developergraph-googleapis.corp.google.com",apiKey:"AIzaSyDSUcRr-tRwNntdpgqJSKetPwgDfFhdXh0"};default:return{endpoint:"https://autopush-developergraph-googleapis.corp.google.com",apiKey:"AIzaSyAgSldgoc7j91zBJEF4H-5KfMW3kdb0Knc"}}}}),bKc=
new Zc("Context Service Promise Client",{factory:function(){return new aKc}}),JV=function(){this.headers=Dp(Hc($Jc).apiKey);this.client=Hc(bKc)},dKc=function(a,b){var c;return ne(function(d){if(1==d.nextAddress)return d.yield(cKc(a,b),2);c=d.yieldResult;return d.return(c?DWa("Scheduled release in",c,12):void 0)})},cKc=function(a,b){var c,d,e,g,h;return ne(function(m){if(1==m.nextAddress){var r=new HJc;c=Nb(r,1,b);return m.yield(a.client.getChangelistReleaseSchedulePrediction(c,a.headers),2)}d=m.yieldResult;
return m.return(null==(e=W(d,TJc,1))?void 0:null==(g=W(e,RJc,1))?void 0:null==(h=g.getStartTime())?void 0:h.toDate())})};JV.\u0275fac=function(a){return new (a||JV)};JV.\u0275prov=wc({token:JV,factory:JV.\u0275fac,providedIn:"root"});var eXa=new Map;var KV=function(){var a=this;this.keyValueStore=new hB;this.initiallyHiddenTaskIds=eKc(this);this.hideEvent$=new E.Subject;this.hiddenTaskIdList$=this.hideEvent$.pipe(tXa(this.initiallyHiddenTaskIds),cf(function(b){a.keyValueStore.setValue("task_prioritization.hidden_task_ids",b)}),Ye({bufferSize:1,refCount:!1}));this.showHiddenMyWorkTasks$=new E.BehaviorSubject(!1);this.showHiddenNeedsMyInputTasks$=new E.BehaviorSubject(!1)};KV.prototype.hideTask=function(a){this.hideEvent$.next({id:a.id,type:"hidden"})};
KV.prototype.unhideTask=function(a){this.hideEvent$.next({id:a.id,type:"unhidden"})};var gKc=function(a){return(0,E.pipe)(af(function(b){return(0,E.combineLatest)(b.map(function(c){return fKc(a,c)}))}),D(function(b){return b.filter(Ep)}))};KV.prototype.isHidden=function(a){return this.hiddenTaskIdList$.pipe(D(function(b){return b.includes(a)}))};
var fKc=function(a,b){return(0,E.combineLatest)([b.isHidden$,b.isMyWork?a.showHiddenMyWorkTasks$:a.showHiddenNeedsMyInputTasks$]).pipe(D(function(c){c=k(c);var d=c.next().value;return c.next().value||!d?b:void 0}))},eKc=function(a){var b;return null!=(b=sXa(a.keyValueStore.getValue("task_prioritization.hidden_task_ids")))?b:[]};KV.\u0275fac=function(a){return new (a||KV)};KV.\u0275prov=wc({token:KV,factory:KV.\u0275fac,providedIn:"root"});var hKc=new Zc("G3C API Keys");var iKc=new Zc("Deployments config",{factory:function(){switch(Hc(OIc)){case "Prod":return{endpoint:"https://devopsconsole-pa-googleapis.corp.google.com",apiKey:Hc(hKc).prodApiKey};case "Staging":return{endpoint:"https://stagingcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:Hc(hKc).stagingApiKey};default:return{endpoint:"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:Hc(hKc).autopushApiKey}}}}),jKc=new Zc("Task Prioritization Promise Client",{factory:function(){return new djc(Hc(iKc).endpoint)}}),
LV=function(){this.client=Hc(jKc);this.headers=Dp(Hc(iKc).apiKey)};LV.prototype.fetchTasks=function(){var a=ejc(this.client,Yic(new lI,[3,2,1,4]),this.headers);return HWa(a)};LV.\u0275fac=function(a){return new (a||LV)};LV.\u0275prov=wc({token:LV,factory:LV.\u0275fac,providedIn:"root"});var MV=function(a,b,c,d,e){var g=this;this.availability=a;this.submissionDeadline=b;this.iterations=c;this.hiddenTasks=d;this.taskFetcher=e;this.showAllMyWorkTasks$=new E.BehaviorSubject(!1);this.showAllNeedsMyInputTasks$=new E.BehaviorSubject(!1);this.tasks$=(0,E.defer)(function(){return g.taskFetcher.fetchTasks()}).pipe(xe(function(h){return kKc(g,h)}),Ye());this.allTasks$=this.tasks$.pipe(vXa());this.filteredTasks$=this.tasks$.pipe(lKc(this),vXa());this.readdedTasks$=(0,E.zip)(this.allTasks$,this.filteredTasks$).pipe(mKc(this))},
nKc=function(a){return a.readdedTasks$.pipe(gKc(a.hiddenTasks))},oKc=function(a){return a.areAllTasksLoaded().pipe(df(nKc(a)),D(function(b){b=k(b);b.next();return b.next().value.filter(function(c){return!c.isMyWork}).length}))};MV.prototype.areAllTasksLoaded=function(){return this.tasks$.pipe(Xia(void 0,[]),Te(!0))};
var kKc=function(a,b){b=b.getTasksList().filter(function(e){return e.getResource()});var c=b.map(xXa),d=MIc(a.availability,c).pipe(Ye());return(0,E.forkJoin)(b.map(function(e,g){var h=e.getResource(),m=V(h,1),r=V(e,1);return(0,E.forkJoin)([d.pipe(D(function(v){return v.get(c[g])})),(0,E.defer)(function(){return pKc(a,r,m)}),uXa(e),qKc(a,e),(0,E.of)(PWa(e))]).pipe(D(function(v){return v.filter(Ep)})).pipe(D(function(v){var y=h.getTitle(),A=h.getExternalLink(),G=[],N=G.concat;v=ad(v);var Q=(Q=Ip(e.getResource()))?
[3===Q.getStatus()&&{type:"Accepted",text:"Accepted"},1===Q.getPriority()&&{type:"P0",text:"P0"},MWa(Q)&&{type:"Out of SLO",text:"Out of SLO"},NWa(Q)&&{type:"Near SLO",text:"Near SLO"}].filter(Ep):[];Q=ad(Q);var Z=(Z=pn(e.getResource()))?[3===Z.getStatus()&&{type:"Unresolved",text:"Unresolved"},1===Z.getStatus()&&{type:"LGTM",text:"LGTM"},Z.getDescription().includes("ROLLBACK_OF=")&&{type:"Rollback",text:"Rollback"}].filter(Ep):[];Z=ad(Z);var Y=(Y=rn(e.getResource()))?[Vj(Y,25)&&{type:"Docwrap Incoming",
text:"Incoming review"},Vj(Y,26)&&{type:"Docwrap Outgoing",text:"Outgoing review"}].filter(Ep):[];return{id:r,title:y,resourceUrl:A,signals:N.call(G,v,Q,Z,ad(Y)),source:m,isHidden$:a.hiddenTasks.isHidden(r),isMyWork:wXa(e),resource:h,timestamp:h.getLastModifiedTimestamp()}}))}))},qKc=function(a,b){return GJc(a.iterations,b).pipe(D(function(c){return c?{type:"Current Iteration",text:c}:void 0}))},pKc=function(a,b,c){var d,e;return ne(function(g){if(1==g.nextAddress){if("Critique"!==c)return g.return(void 0);
d=Number(b.slice(3));return g.yield(dKc(a.submissionDeadline,d),2)}e=g.yieldResult;return g.return(e?{type:"Submission Deadline",text:e,tooltipText:"Time this CL must be submitted by to make it into the next release"}:void 0)})},mKc=function(a){return(0,E.pipe)(af(function(b){b=k(b);var c=b.next().value,d=b.next().value;return(0,E.combineLatest)([a.showAllMyWorkTasks$,a.showAllNeedsMyInputTasks$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;var h=c.filter(function(r){return!d.includes(r)}),
m=k(KWa(h,function(r){return r.isMyWork}));h=m.next().value;m=m.next().value;e=e?h:[];g=g?m:[];return[].concat(ad(d),ad(e),ad(g))}))}))},lKc=function(a){return(0,E.pipe)(D(function(b){var c=k(KWa(b,function(d){return a.hiddenTasks.initiallyHiddenTaskIds.includes(d.id)}));b=c.next().value;c=c.next().value;return[].concat(ad(rXa(c)),ad(b))}))};MV.\u0275fac=function(a){return new (a||MV)(u(rV),u(JV),u(zV),u(KV),u(LV))};MV.\u0275prov=wc({token:MV,factory:MV.\u0275fac,providedIn:"root"});var NV=function(a,b,c,d,e,g){GE.call(this);var h=this;this.hackyPrefs=a;this.needsAttentionApi=b;this.tasksService=c;this.currentUser=d;this.domSafe=e;this.router=g;this.currentUserEmail=this.currentUser.email;this.allAlerts=[];this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.displayedColumns="selection type description timestamp signal action dismiss".split(" ");this.selection=new tz(!0,[]);this.needsAttentionApi.listIssues(void 0,void 0,Ap()).then(function(m){m=k(m.issuesWithSignals);
for(var r=m.next();!r.done;r=m.next()){r=r.value;var v=void 0,y=void 0,A=(null!=(y=null==(v=r.issue)?void 0:v.majorModifiedTimeMicros)?y:0)/1E3,G=y=v=void 0,N=void 0;h.allAlerts=h.allAlerts.concat({type:"Buganizer",description:null!=(G=null==(v=r.issue)?void 0:null==(y=v.snapshot[0])?void 0:y.title)?G:"",signal:null!=(N=r.signals[0].signalType)?N:"SIGNAL_TYPE_UNKNOWN",timestamp:A,fullObject:r})}rKc(h)});this.areAllTasksLoaded$.pipe(df(nKc(this.tasksService)),bf(this.destroyed$)).subscribe(function(m){m=
k(m);m.next();m=m.next().value.filter(function(N){return"Buganizer"!==N.source});m=k(m);for(var r=m.next();!r.done;r=m.next()){r=r.value;var v=void 0,y=void 0,A=void 0,G=null!=(A=null==(v=r.signals[0])?void 0:null==(y=v.type)?void 0:y.toString())?A:"";v=void 0;y=Number(null!=(v=r.timestamp)?v:0);h.allAlerts.push({type:r.source,description:r.title,signal:G,timestamp:y,fullObject:r})}rKc(h)})};U(NV,GE);NV.\u0275dir=GE.\u0275dir;NV.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-needs-attention"]};
NV.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-needs-attention")};NV.prototype.isAllSelected=function(){return this.selection.selected.length===this.allAlerts.length};NV.prototype.toggleAllRows=function(){this.isAllSelected()?this.selection.clear():this.selection.select.apply(this.selection,ad(this.allAlerts))};
var rKc=function(a){a.allAlerts.sort(function(b,c){return c.timestamp-b.timestamp})},CXa=function(a){switch(a.type){case "Buganizer":return"bug_report";case "Critique":return"check_circle_filled";case "Drive":if("resource"in a.fullObject){var b;switch(null==(b=Et(a.fullObject.resource,qn,5))?void 0:b.getMimeType()){case "document":return"drive_document";case "spreadsheet":return"drive_spreadsheet";case "presentation":return"drive_presentation";case "video/mp4":return"video_youtube"}}return"link";
case "Ariane":return"https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg";default:return"bug_report"}},OXa=function(a){if("Buganizer"===a.type){var b;return null==(b=LIc.get(a.signal))?void 0:b.text}return"Critique"===a.type&&""===a.signal?"In attention set":"Ariane"===a.type&&""===a.signal?(a=Et(a.fullObject.resource,sn,9),a.getOwnedByMe()?"Launch owner":Vj(a,8)?"Launch bit approver":"Launch collaborator"):"Drive"===a.type&&""===a.signal?(a=a.fullObject,b=Et(a.resource,qn,5),b.getOwnedByMe()?
sKc(a)+" owner":b.getSharedToMe()?sKc(a)+" shared with me":sKc(a)+" collaborator"):a.signal},sKc=function(a){var b;switch(null==(b=Et(a.resource,qn,5))?void 0:b.getMimeType()){case "document":return"Docs";case "spreadsheet":return"Sheets";case "presentation":return"Slides";default:return"File"}},RXa=function(a,b){if("Buganizer"===b.type)switch(b.signal){case "MENTIONED":return"Reply to @mention";case "UNBLOCKED":return"View recently unblocked issue";case "ASSIGNED":return"View recently assigned issue";
case "NEWLY_BLOCKING":return"View newly blocking issue";default:return"View issue"}else{var c=b.fullObject;if("Critique"===b.type)return b=Et(c.resource,nn,8),b.getNeedsAttention()&&b.getReviewerEmailsList().includes(a.currentUserEmail)?"Review CL":"View CL";if("Ariane"===b.type)return Vj(Et(c.resource,sn,9),8)?"Review launch":"Open Launch";if("Drive"===b.type)return"View "+sKc(c)}return"Review"};
NV.prototype.getSignalUrgency=function(a){if("Buganizer"===a.type)switch(a.signal){case "MENTIONED":return"most-urgent";case "REPLIED_TO_MENTION":case "NEAR_SLO":case "ASSIGNED":return"less-urgent"}else{if("Critique"===a.type)return""===a.signal?"most-urgent":"less-urgent";if("Ariane"===a.type){if(Vj(Et(a.fullObject.resource,sn,9),8))return"less-urgent"}else if("Drive"===a.type&&Vj(Et(a.fullObject.resource,qn,5),25))return"less-urgent"}return""};
var HXa=function(a){var b;return null==(b=a.fullObject.issue)?void 0:b.snapshot[0].priority};NV.prototype.navigateToResource=function(a,b){if(!(a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName))if("Buganizer"===b.type){var c;b=jm(null==(c=b.fullObject.issue)?void 0:c.issueId);a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?go(this.domSafe,b):Ks(this.router,b)}else this.domSafe.openInNewTab(b.fullObject.resource.getExternalLink())};
NV.prototype.trackByAlertId=function(a,b){if("Buganizer"===b.type){var c;return"b/"+(null==(c=b.fullObject.issue)?void 0:c.issueId)}return b.fullObject.id};NV.\u0275fac=function(a){return new (a||NV)(C(NI),C(pV),C(MV),C(MI),C(LK),C(WG))};
NV.\u0275cmp=Mc({type:NV,selectors:[["mvp-needs-attention"]],features:[lf],decls:18,vars:9,consts:[[1,"carded","bg-main","margin-top"],[1,"flex-kids-x","margin-s-bottom"],[1,"header-left"],[1,"heading-s","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","alert-count-badge b-chip",4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button",
"","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["class","main-content",4,"ngIf"],[1,"alert-count-badge","b-chip"],[1,"alert-count"],[1,"main-content"],[1,"flex-kids-x","gap-s","align-items-center"],["mat-button","","matTooltip","Select source applications","aria-label","Select source applications","aria-haspopup","true",1,"gmat-button","medium","source-filter",
3,"matMenuTriggerFor"],[1,"google-material-icons"],[1,"mvp-my-tasks-menu"],["sourceMenu","matMenu"],[1,"mvp-source-select",3,"click"],["color","primary","checked","true"],["checked","true"],["aria-label","Table filters","multiple",""],["appearance","hairline-filter","selected",""],["mat-table","","aria-label","Table of alerts",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","selection"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef",
"description"],["matColumnDef","timestamp"],["matColumnDef","signal"],["matColumnDef","action"],["matColumnDef","dismiss"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click","mouseup",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["aria-label","Select all alerts",3,"checked","indeterminate","change"],["mat-cell",""],["aria-label","Select alert",3,"checked","click","change"],[3,"class",
4,"ngIf","ngIfElse"],["launchIcon",""],["alt","product icon",1,"product-icon","center-text",3,"src"],[1,"alert-description"],[3,"issuePriority","class",4,"ngIf"],[3,"issuePriority"],[1,"google-material-icons","sort-column-icon"],["mode","datetime",3,"timestamp",4,"ngIf"],["mode","datetime",3,"timestamp"],["mat-button","",1,"gmat-button","primary","action-button"],["mat-header-cell","",1,"border-bottom"],[1,"google-material-icons","dismiss-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,
"click","mouseup"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," Needs attention "),H(5,"button",4),M("click",function(){return b.toggleCollapsed()}),J(6,"mat-icon",5),I(),P(7,yXa,3,1,"div",6),S(8,"async"),I()(),H(9,"div",7)(10,"button",8),J(11,"mat-icon",9),I(),H(12,"mat-menu",null,10)(14,"p",11),R(15,"WIP"),I()()()(),P(16,XXa,44,5,"div",12),S(17,"async"),I());if(a&2){var c=Lf(13);yf("collapsed",b.isCollapsed());B(7);F("ngIf",T(8,5,b.areAllTasksLoaded$)&&0<
b.allAlerts.length);B(3);F("matMenuTriggerFor",c);B(6);F("ngIf",T(17,7,b.areAllTasksLoaded$))}},dependencies:[Ow,bB,qA,rA,lC,kC,jM,XL,cM,ZL,WL,eM,$L,bM,fM,hM,BO,ZU,eV,dV,VK,SI,Uw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-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-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-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}.card-controls[_ngcontent-%COMP%]{margin-top:-8px;margin-bottom:-8px}.small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}.alert-count-badge[_ngcontent-%COMP%]{display:none;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}.product-icon[_ngcontent-%COMP%]{margin-top:4px;height:24px;width:24px}.product-icon.check_circle_filled[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive_document[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive_spreadsheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive_presentation[_ngcontent-%COMP%]{color:#f9ab00}.product-icon.video_youtube[_ngcontent-%COMP%]{color:#d93025}.main-content[_ngcontent-%COMP%]   button.source-filter[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--selected-bg-muted);border-radius:8px;height:24px;line-height:24px;padding:0 8px 0 12px;margin:6px 0}.mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);padding-top:6px}.main-content[_ngcontent-%COMP%]   .mat-row[_ngcontent-%COMP%]:hover   .mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.mvp-my-tasks-menu[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--input-field-bg)}.mvp-my-tasks-menu[_ngcontent-%COMP%]   .mvp-source-select[_ngcontent-%COMP%]{padding:0 .75rem;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;gap:.75rem;overflow:hidden}.alert-description[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.mat-column-action[_ngcontent-%COMP%], .mat-column-signal[_ngcontent-%COMP%]{min-width:125px}.priority-badge-P2[_ngcontent-%COMP%]{font-weight:500}td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]:active, td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]:focus, td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}.mat-header-cell.mat-column-action[_ngcontent-%COMP%]{padding-left:12px}.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}.signal-chip.most-urgent[_ngcontent-%COMP%]{border:1px solid;border-color:#d42521;border-color:var(--red-text);color:#d42521;color:var(--red-text)}.signal-chip.less-urgent[_ngcontent-%COMP%]{border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text)}.mat-header-cell.mat-column-timestamp[_ngcontent-%COMP%]{line-height:38px}.sort-column-icon[_ngcontent-%COMP%]{font-size:1rem;line-height:38px;text-align:center}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .alert-count-badge[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.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)}.main-content[_ngcontent-%COMP%]   mat-chip-option[_ngcontent-%COMP%]{height:24px;line-height:18px}"]});var fYa=function(a){return{count:a}},OV=function(a,b,c,d,e,g){var h=this;this.activeSession=a;this.hackyPrefs=b;this.issuePermissionService=c;this.issueRelationshipsFridge=d;this.projectSuggestService=e;this.issueFridge=g;this.SECTION_SLUG="my-projects-tree-table";this.isNonPublicSession=this.activeSession.isNonPublicSession();this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.projectIds$=this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(D(function(m){var r;return null!=
(r=null==m?void 0:m.relatedChildren.map(function(v){return v.targetIssueId}))?r:[]}));this.unarchivedProjectsCount$=this.projectIds$.pipe(D(function(m){return m.length}));this.rowCreated$=new E.Subject;this.showSuggestedProjects=!1;this.suggestLimit=4;this.suggestedProjects$=(0,E.combineLatest)([$jc(this.projectSuggestService),Ric(this.issueRelationshipsFridge,this.hackyPrefs.prefs.id,2)]).pipe(D(function(m){m=k(m);var r=m.next().value,v=m.next().value.results.map(function(y){return y.issueId});return r.filter(function(y){return!v.includes(y)})}),
af(this.issueFridge.watchSet));this.modifyMenuItems=function(m,r){if(m.ancestorChain.parentNodeId===h.hackyPrefs.prefs.id){if(m=r.find(function(v){return"Unlink from parent"===v.label}))m.label="Remove project";if(m=r.find(function(v){return"Archive"===v.label}))m.label="Archive project";if(m=r.find(function(v){return"Create sibling"===v.label}))m.label="Create project"}return r}};OV.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.addExistingChild()};
OV.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.createChildIssue()};var aYa=function(a,b){a.hackyPrefs.prefs.projectFilters=b;a.hackyPrefs.save(a.hackyPrefs.prefs)};OV.prototype.addProject=function(a){this.hackyPrefs.prefs.id&&this.issueRelationshipsFridge.assignParentToOneIssue(this.hackyPrefs.prefs.id,a)};OV.\u0275fac=function(a){return new (a||OV)(C(bt),C(NI),C(TJ),C(eI),C(RI),C(YH))};
OV.\u0275cmp=Mc({type:OV,selectors:[["my-projects"]],viewQuery:function(a,b){a&1&&cg(eQ,5);if(a&2){var c;bg(c=eg())&&(b.table=c.first)}},decls:10,vars:5,consts:[[1,"table-header","child-issue-header","flex-kids-x","align-items-center"],[1,"margin-s-y","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Display different projects and each project can be further broken down into smaller tasks.",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","account_tree_24px",
1,"icon-xxs"],[4,"ngTemplateOutlet"],[3,"collapsed",4,"ngIf"],["class","highlighted-left padded-s-left",4,"ngIf"],["addProjects",""],["saveExpansionAtKey","my-projects",3,"rootIssueId","modifyMenuItems","filters"],["table",""],[4,"ngIf"],[1,"muted"],["href","#","class","keep-focus-ring",3,"click",4,"ngIf"],["class","muted",4,"ngIf"],["href","#",1,"keep-focus-ring",3,"click"],[1,"highlighted-left","padded-s-left"],[1,"margin-s-y"],[4,"ngIf","ngIfElse"],["loading",""],[1,"suggested"],[4,"ngFor","ngForOf"],
["title","Show more projects",3,"onAction",4,"ngIf"],["dismissIcon","add","dismissTooltip","Add project",3,"issue","onlyTitle","onDismiss",4,"ngIf"],["dismissIcon","add","dismissTooltip","Add project",3,"issue","onlyTitle","onDismiss"],["href","http://go/wtdm-home#parent-child-relationship","target","_blank"],["svgIcon","pop-out",1,"icon-xs"],["title","Show more projects",3,"onAction"],["class","add","size","small","title","Create an issue as a project.",3,"disabled","onAction",4,"ngIf"],["size",
"small","title","Add an existing issue as a project.",1,"add",3,"disabled","onAction"],["size","small","title","Show project suggestions",1,"add",3,"disabled","onAction"],["size","small","title","Create an issue as a project.",1,"add",3,"disabled","onAction"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"h2",1)(2,"div",2),J(3,"mat-icon",3),I(),R(4," My projects "),I(),P(5,YXa,1,0,"ng-container",4),I(),P(6,hYa,8,15,"section",5),P(7,oYa,7,4,"div",6),P(8,qYa,7,8,"ng-template",null,7,hg));if(a&2){var c=
Lf(9);yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);B(5);F("ngTemplateOutlet",c);B(1);F("ngIf",b.hackyPrefs.prefs.id);B(1);F("ngIf",b.showSuggestedProjects)}},dependencies:[Nw,Ow,Tw,XP,bB,tC,eQ,QK,wM,Uw],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     h4 button{margin:-8px 0}[_nghost-%COMP%]     h4 button.gmat-button.mat-stroked-button.small{line-height:21px}.table-header[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}.status[_ngcontent-%COMP%]   b-spinner[_ngcontent-%COMP%]{margin-top:4px}.status[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-1px}b-button.add[_ngcontent-%COMP%]{margin-left:16px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-header.collapsed[_ngcontent-%COMP%]{text-decoration:underline}.table-header.collapsed[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.table-header.collapsed[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%], .table-header.collapsed[_ngcontent-%COMP%]   .b-chip[_ngcontent-%COMP%]{display:none}.table-header.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid rgba(0,0,0,0);border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}.suggested[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}/*# sourceMappingURL=my_projects.css.map */']});var tKc=function(){return[]},uKc=io.EXPERIMENTAL_HOMEPAGE,PV=function(a,b,c,d,e,g){GE.call(this);var h=this;this.hackyPrefs=a;this.projectPicker=b;this.analytics=c;this.hotlistPicker=d;this.savedSearchPicker=e;this.hotlistSuggest=g;this.SECTION_SLUG="my-projects-as-cards";this.IMMERSED=wjc[1];this.SPACE_EMPTY_STATE=Yoc;this.log=console.log.bind(console);this.extractHotlistId=Ul;this.inferEntityType=Xl;this.extractSavedSearchId=gwa;this.suggestedHotlists$=this.hotlistSuggest.suggestedHotlists$;this.addProject=
function(m){null!=m&&Rn(h.hackyPrefs,m)};a=Jp(this.hackyPrefs).length;this.analytics.trackEvent(uKc,"display","selected-projects-"+a,a)};U(PV,GE);PV.\u0275dir=GE.\u0275dir;PV.prototype.ngOnInit=function(){var a=this;1===Jp(this.hackyPrefs).length&&this.suggestedHotlists$.pipe(Oe()).subscribe(function(b){var c=Jp(a.hackyPrefs);if("hotlist"===Xl(c[0])){var d=Ul(c[0]);Array.from(b)[0][0].toString()===d&&1===(a.hackyPrefs.configVersionNumber||0)&&(a.hackyPrefs.prefs.collapsed[c[0]]=!0,a.hackyPrefs.save(a.hackyPrefs.prefs))}})};
PV.prototype.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};PV.prototype.onClickAddHotlist=function(){var a=this,b,c,d,e,g,h,m;return ne(function(r){if(1==r.nextAddress)return r.yield($Gc(a.hotlistPicker,[]),2);b=r.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(Vl));for(h=g.next();!h.done;h=g.next())m=h.value,Rn(a.hackyPrefs,m);se(r)})};
PV.prototype.onClickAddSavedSearch=function(){var a=this;this.savedSearchPicker.open().then(function(b){if(b){b=k(b);for(var c=b.next();!c.done;c=b.next())Rn(a.hackyPrefs,Wl(c.value))}})};wh.Object.defineProperties(PV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});PV.\u0275fac=function(a){return new (a||PV)(C(NI),C(gT),C(TH),C($T),C(IU),C(GI))};
PV.\u0275cmp=Mc({type:PV,selectors:[["my-projects-as-cards"]],features:[lf],decls:9,vars:8,consts:[["mat-icon-button","","title","Add a project","aria-label","Add a project","data-project-add","true",1,"gmat-button","margin-left",3,"click"],["svgIcon","add","color","primary"],[1,"card-container"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","flex-kids-x gap margin-top",4,"ngIf"],[3,"ngSwitch"],[3,"assignedOnly",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"assignedOnly"],[3,"hotlistId",
4,"ngIf"],[3,"hotlistId"],[3,"issueId",4,"ngSwitchCase"],[3,"issueId",4,"ngSwitchDefault"],[3,"issueId"],[3,"savedSearchId",4,"ngIf"],[3,"savedSearchId"],[1,"muted"],["href","javascript:void(0);",1,"color-bad-text",3,"click"],["href","http://go/b-learn-project-add"],[1,"empty-state"],["aria-hidden","true","alt","",3,"src"],["mat-button","","title","Add a project",1,"gmat-button","margin-left",3,"click"],["mat-icon-button","","href","http://go/b-learn-project-view","target","_blank","title","Learn more",
"aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[1,"flex-kids-x","gap","margin-top"],["mat-button","","title","Add a parent/container/tracking issue","data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"],["svgIcon","add"],["mat-button","","data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"]],template:function(a,b){a&1&&(H(0,"h2"),R(1," My projects "),H(2,"button",0),M("click",function(){return b.onClickAdd()}),J(3,"mat-icon",1),I()(),H(4,"section",
2),P(5,BYa,8,6,"ng-container",3),P(6,CYa,11,1,"ng-container",4),P(7,DYa,6,0,"ng-container",4),I(),P(8,EYa,8,0,"aside",5));if(a&2){var c;B(5);F("ngForOf",b.prefs.pinned||Rf(4,tKc));B(1);F("ngIf",0===(b.prefs.pinned||Rf(5,tKc)).length);B(1);F("ngIf",0===(b.prefs.pinned||Rf(6,tKc)).length);B(1);F("ngIf",0<(null!==(c=b.prefs.pinned)&&void 0!==c?c:Rf(7,tKc)).length)}},dependencies:[Nw,Ow,Pw,Qw,Rw,bB,qA,rA,dT,BT,yM,GT,FT,zM,eT],styles:["[_nghost-%COMP%]{display:block}img[_ngcontent-%COMP%]{max-width:100%}.empty-state[_ngcontent-%COMP%]{text-align:center}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-bottom:16px;max-width:150px;opacity:.8;-webkit-filter:saturate(.8);filter:saturate(.8)}button.mega-add[_ngcontent-%COMP%], button.mega-add.gmat-button.mat-button[_ngcontent-%COMP%]:not([disabled]){background-color:#fff;background-color:var(--base-bg);min-height:40px;padding:0 16px;-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}[_nghost-%COMP%]     issue-as-project-card expandable-issues-table{max-height:60vh;overflow-y:auto}.card-container[_ngcontent-%COMP%]{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:24px;-moz-column-gap:24px;column-gap:24px;-webkit-column-fill:balance;-moz-column-fill:balance;column-fill:balance}.card-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{-webkit-column-break-inside:avoid;break-inside:avoid-column;margin-bottom:24px}[_nghost-%COMP%]{container-type:inline-size}@container (min-width: 1200px){.card-container[_ngcontent-%COMP%]{-webkit-column-count:2;-moz-column-count:2;column-count:2}}@container (min-width: 1800px){.card-container[_ngcontent-%COMP%]{-webkit-column-count:3;-moz-column-count:3;column-count:3}}@container (min-width: 2400px){.card-container[_ngcontent-%COMP%]{-webkit-column-count:4;-moz-column-count:4;column-count:4}}\n/*# sourceMappingURL=my_projects_as_cards.css.map */"]});var vKc=function(){return[]},wKc=io.EXPERIMENTAL_HOMEPAGE,QV=function(a,b,c,d,e,g,h,m){GE.call(this);var r=this;this.hackyPrefs=a;this.projectPicker=b;this.analytics=c;this.hotlistPicker=d;this.savedSearchPicker=e;this.issueFridge=g;this.hotlistFridge=h;this.savedSearchFridge=m;this.SECTION_SLUG="my-projects-as-tabs";this.IMMERSED=wjc[1];this.SPACE_EMPTY_STATE=Yoc;this.log=console.log.bind(console);this.extractHotlistId=Ul;this.inferEntityType=Xl;this.extractSavedSearchId=gwa;this.extractIssueId=
hwa;this.addProject=function(v){null!=v&&Rn(r.hackyPrefs,v)};a=Jp(this.hackyPrefs).length;this.analytics.trackEvent(wKc,"display","selected-projects-"+a,a)};U(QV,GE);QV.\u0275dir=GE.\u0275dir;
var OYa=function(a,b){function c(m,r){var v,y,A,G;return null==m?void 0:null==(v=m.memory)?void 0:null==(y=v.cache)?void 0:null==(A=y.get)?void 0:null==(G=A.call(y,r))?void 0:G.data}switch(Xl(b)){case "assigned-to-me":return"Assigned to me";case "recent-stuff-i-follow":return"Recent Issues";case "issue":b=hwa(b);var d,e;return null==(d=c(a.issueFridge,b))?void 0:null==(e=d.snapshot[0])?void 0:e.title;case "hotlist":b=Ul(b);var g;return null==(g=c(a.hotlistFridge,b))?void 0:g.name;case "savedsearch":b=
gwa(b);var h;return null==(h=c(a.savedSearchFridge,b))?void 0:h.name;default:console.warn("unknown reference type",b)}};f=QV.prototype;f.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["my-projects-as-tabs"]};f.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("my-projects-as-tabs")};f.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};
f.onClickAddHotlist=function(){var a=this,b,c,d,e,g,h,m;return ne(function(r){if(1==r.nextAddress)return r.yield($Gc(a.hotlistPicker,[]),2);b=r.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(Vl));for(h=g.next();!h.done;h=g.next())m=h.value,Rn(a.hackyPrefs,m);se(r)})};f.onClickAddSavedSearch=function(){var a=this;this.savedSearchPicker.open().then(function(b){if(b){b=k(b);for(var c=b.next();!c.done;c=b.next())Rn(a.hackyPrefs,Wl(c.value))}})};
wh.Object.defineProperties(QV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});QV.\u0275fac=function(a){return new (a||QV)(C(NI),C(gT),C(TH),C($T),C(IU),C(YH),C(FH),C(kI))};
QV.\u0275cmp=Mc({type:QV,selectors:[["my-projects-as-tabs"]],features:[lf],decls:19,vars:7,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button","","title","Add a project","aria-label","Add a project","data-project-add","true",
1,"gmat-button","margin-left",3,"click"],["svgIcon","add","color","primary"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["gmat-tabs","",1,"no-cards-inside","main-content","margin-top",3,"selectedIndex","selectedIndexChange"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngSwitch"],[3,"label"],[3,"assignedOnly",4,"ngSwitchCase"],[4,"ngSwitchCase"],
[4,"ngSwitchDefault"],[3,"assignedOnly"],[3,"hotlistId","neverCollapse",4,"ngIf"],[3,"hotlistId","neverCollapse"],[3,"issueId","neverCollapse",4,"ngIf"],[3,"issueId","neverCollapse"],[3,"savedSearchId","neverCollapse",4,"ngIf"],[3,"savedSearchId","neverCollapse"],["href","javascript:void(0);",1,"color-bad-text",3,"click"],["href","http://go/b-learn-project-add"],["class","flex-kids-x gap bottom-buttons",4,"ngIf"],[1,"flex-kids-x","gap","bottom-buttons"],["mat-button","","title","Add a parent/container/tracking issue",
"data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"],["svgIcon","add"],["mat-button","","data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," My projects "),H(5,"button",4),M("click",function(){return b.toggleCollapsed()}),J(6,"mat-icon",5),I()()(),H(7,"div",6)(8,"button",7),M("click",function(){return b.onClickAdd()}),J(9,"mat-icon",8),I(),H(10,"button",9),J(11,"mat-icon",
10),I(),H(12,"mat-menu",null,11)(14,"p",12),R(15,"WIP"),I()()()(),H(16,"mat-tab-group",13),M("selectedIndexChange",function(d){return Op(b.hackyPrefs,{chosenTabForWork:d})}),P(17,PYa,9,7,"ng-container",14),I()(),P(18,RYa,2,1,"ng-container",15));if(a&2){var c=Lf(13);yf("collapsed",b.isCollapsed());B(10);F("matMenuTriggerFor",c);B(6);F("selectedIndex",b.prefs.chosenTabForWork);B(1);F("ngForOf",b.prefs.pinned||Rf(6,vKc));B(1);F("ngIf",b.prefs.pinned)}},dependencies:[Nw,Ow,Pw,Qw,Rw,bB,qA,tN,sN,dT,yM,
GT,FT,yN,lC,kC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .no-cards-inside .carded{border:none;padding-left:0}.bottom-buttons[_ngcontent-%COMP%]{margin-top:16px}.bottom-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default)}.card-controls[_ngcontent-%COMP%]{margin-top:-8px;margin-bottom:-8px}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}\n/*# sourceMappingURL=my_projects_as_tabs.css.map */"]});var RV=function(a,b){this.hackyPrefs=a;this.queryIssues=b;this.DEFAULT_COLUMNS=Ajc;this.assignedIssues$=rjc(this.queryIssues);this.assignedIds$=this.assignedIssues$.pipe(D(function(c){return c.map(function(d){return d.issueId})}))};RV.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed.MY_TASKS_AREA};RV.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("MY_TASKS_AREA")};wh.Object.defineProperties(RV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
RV.\u0275fac=function(a){return new (a||RV)(C(NI),C(FI))};
RV.\u0275cmp=Mc({type:RV,selectors:[["my-tasks-area"]],decls:28,vars:11,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],
["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["gmat-tabs","",1,"main-content","margin-top"],["label","Things I own"],[4,"ngIf","ngIfElse"],["loading",""],["label","Collaborating on"],["label","Vested in"],[1,"margin-top"],["href","/issues?q=assignee:me status:open modified:30d",1,"subtle-link"],[1,"margin-top",3,"issueIds","displayedColumns","assigneeMode"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),R(4," My tasks "),H(5,"button",
4),M("click",function(){return b.toggleCollapsed()}),J(6,"mat-icon",5),I()()(),H(7,"div",6)(8,"button",7),J(9,"mat-icon",8),I(),H(10,"mat-menu",null,9)(12,"p",10),R(13,"WIP"),I()()()(),H(14,"mat-tab-group",11)(15,"mat-tab",12),P(16,SYa,2,3,"ng-container",13),S(17,"slice"),S(18,"async"),P(19,TYa,1,0,"ng-template",null,14,hg),I(),H(21,"mat-tab",15),R(22,"WIP. bar"),I(),H(23,"mat-tab",16),R(24,"WIP. baz"),I()(),H(25,"footer",17)(26,"a",18),R(27,"View all"),I()()());if(a&2){var c=Lf(11),d=Lf(20);yf("collapsed",
b.isCollapsed());B(8);F("matMenuTriggerFor",c);B(8);F("ngIf",Wf(17,5,T(18,9,b.assignedIds$),0,15))("ngIfElse",d)}},dependencies:[Ow,bB,kM,qA,tN,sN,wM,lC,kC,yN,Uw,ax],styles:["[_nghost-%COMP%]{display:block}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.card-controls[_ngcontent-%COMP%]{margin-top:-8px;margin-bottom:-8px}\n/*# sourceMappingURL=my_tasks_area.css.map */"]});var xKc="NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" "),SV=function(a,b,c,d,e){GE.call(this);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.cdr=e;this.SECTION_SLUG="needs-attention";this.needsAttentionIssues=[];this.issueToSignalsMap=new Map;this.dismissInProgress={};a={};this.SIGNAL_MAPPING=(a.NEAR_SLO={color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"},a.MENTIONED={color:"pink",
text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"},a.UNBLOCKED={color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"},a.NEEDS_REPORTER_INPUT={color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"},a.ASSIGNED={color:"",className:"",text:"",icon:""},a.REPLIED_TO_MENTION={color:"",className:"",text:"",icon:""},a.NEWLY_BLOCKING={color:"",className:"",text:"",icon:""},a.SIGNAL_TYPE_UNKNOWN={color:"",text:"",
icon:"",className:""},a);this.ALL_SIGNAL_TYPES=Object.values(Cac).filter(function(g){return"SIGNAL_TYPE_UNKNOWN"!==g&&"ASSIGNED"!==g&&"REPLIED_TO_MENTION"!==g&&"NEWLY_BLOCKING"!==g});this.selectedSignals=[].concat(ad(this.ALL_SIGNAL_TYPES));a={};this.signalCounts=(a.NEAR_SLO=0,a.MENTIONED=0,a.UNBLOCKED=0,a.NEEDS_REPORTER_INPUT=0,a.ASSIGNED=0,a.REPLIED_TO_MENTION=0,a.NEWLY_BLOCKING=0,a.SIGNAL_TYPE_UNKNOWN=0,a)};U(SV,GE);SV.\u0275dir=GE.\u0275dir;
SV.prototype.ngOnInit=function(){var a=this;yKc(this);this.destroyed$.pipe(Oe()).subscribe(function(){var b;null==(b=a.snackbarRef)||b.dismiss()})};
var yKc=function(a){var b={};a.signalCounts=(b.NEAR_SLO=0,b.MENTIONED=0,b.UNBLOCKED=0,b.NEEDS_REPORTER_INPUT=0,b.ASSIGNED=0,b.REPLIED_TO_MENTION=0,b.NEWLY_BLOCKING=0,b.SIGNAL_TYPE_UNKNOWN=0,b);a.needsAttentionApi.listIssues(void 0,void 0,xKc).then(function(c){c=k(c.issuesWithSignals);for(var d=c.next();!d.done;d=c.next())d=d.value,a.needsAttentionIssues.push(d.issue),a.issueToSignalsMap.set(d.issue.issueId,d.signals),d.signals.forEach(function(e){a.signalCounts[e.signalType]++});a.cdr.detectChanges()})},
zKc=function(a){return a.needsAttentionIssues.filter(function(b){var c,d=(null!=(c=a.issueToSignalsMap.get(b.issueId))?c:[]).some(function(g){return a.selectedSignals.includes(g.signalType)}),e;return(null==(e=a.lastDismissedIssue)?void 0:e.issueId)!==b.issueId&&d})};
SV.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a]=!0;qV(this.needsAttentionApi,[a],!0).then(function(){for(var c=0;c<b.needsAttentionIssues.length;c++)if(b.needsAttentionIssues[c].issueId===a){b.lastDismissedIssue=b.needsAttentionIssues[c];b.lastDismissedIssueIndex=c;b.needsAttentionIssues.splice(c,1);break}b.cdr.detectChanges();b.dismissInProgress[a]=!1;b.snackbarRef=b.snackbar.open({message:"Issue dismissed",actionLabel:"Undo"});b.snackbarRef._afterDismissed.pipe(Oe()).subscribe(function(d){d.dismissedByAction&&
AKc(b,a)})})};var AKc=function(a,b){qV(a.needsAttentionApi,[b],!1).then(function(){a.needsAttentionIssues.splice(a.lastDismissedIssueIndex,0,a.lastDismissedIssue);a.cdr.detectChanges();a.snackbar.open({message:"Issue un-dismissed"})})};SV.prototype.selectAllSignals=function(){this.selectedSignals=[].concat(ad(this.ALL_SIGNAL_TYPES))};SV.prototype.toggleSignal=function(a){var b=this.selectedSignals.indexOf(a);-1===b?this.selectedSignals.push(a):this.selectedSignals.splice(b,1)};
var YYa=function(a,b){return(a.issueToSignalsMap.get(b)||[]).find(function(c){return a.selectedSignals.includes(c.signalType)})||null};
SV.prototype.getSignalTypeTooltip=function(a){a=YYa(this,a);if(!a)return"";var b,c=(null==(b=a.timestamp)?0:b.seconds)?this.dateFormatter.format("MMM dd",void 0,new Date(1E3*a.timestamp.seconds)):null;switch(a.signalType){case "NEAR_SLO":return c?"SLO violation occurs on "+c:"This issue is near or past an SLO deadline";case "MENTIONED":return c?"You were mentioned on "+c:"You were mentioned on this issue recently";case "UNBLOCKED":return c?"The last blocking issue was closed on "+c:"The last blocking issue was closed recently";
case "NEEDS_REPORTER_INPUT":return c?"Issue was assigned back to reporter (you) on "+c:"Issue was assigned back to reporter (you) recently";default:return"This issue requires your attention"}};
var UYa=function(a){switch(a){case "NEAR_SLO":return"Issues which have less than 20% of SLO time remaining";case "MENTIONED":return"Someone mentioned you in a comment";case "NEEDS_REPORTER_INPUT":return"Issue is assigned back to reporter (you) for more context";case "UNBLOCKED":return"All blocking issues are closed";default:return""}};SV.\u0275fac=function(a){return new (a||SV)(C(pV),C(kG),C(NI),C(UK),C(PH,2))};
SV.\u0275cmp=Mc({type:SV,selectors:[["needs-attention-widget"]],features:[Pf([PH]),lf],decls:10,vars:11,consts:[[1,"muted"],[1,"padded-left","signal-chips","hidden"],[1,"chippy","rounded","margin-s-right","select-all-signals",3,"click"],[4,"ngFor","ngForOf"],[1,"issues","padded-s-bottom"],["matTooltipShowDelay","750",3,"matTooltip","selected","class","click",4,"ngIf"],["matTooltipShowDelay","750",3,"matTooltip","click"],[3,"svgIcon"],[4,"ngIf"],["dismissIcon","close","dismissTooltip","Dismiss issue",
3,"issue","moreInfoIconSvg","moreInfoMessage","moreInfoAccentColor","disableDismiss","onDismiss"]],template:function(a,b){a&1&&(H(0,"h2"),R(1," Needs attention "),H(2,"span",0),R(3),I()(),H(4,"section",1)(5,"span",2),M("click",function(){return b.selectAllSignals()}),R(6," All "),I(),P(7,WYa,2,1,"ng-container",3),I(),H(8,"section",4),P(9,ZYa,2,1,"ng-container",3),I());a&2&&(yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),B(3),Mf("(",b.needsAttentionIssues.length,")"),B(1),yf("collapsed",
b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),B(1),yf("selected",b.selectedSignals.length===b.ALL_SIGNAL_TYPES.length),B(2),F("ngForOf",b.ALL_SIGNAL_TYPES),B(1),yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),B(1),F("ngForOf",zKc(b)))},dependencies:[QK,Nw,Ow,bB,tC],styles:['[_nghost-%COMP%]{display:block}.signal-chips[_ngcontent-%COMP%]   .chippy[_ngcontent-%COMP%]{cursor:pointer;padding:0 12px 0 4px}.signal-chips[_ngcontent-%COMP%]   .chippy.needs-reporter-input[_ngcontent-%COMP%]{padding-left:8px}.signal-chips[_ngcontent-%COMP%]   .chippy.select-all-signals[_ngcontent-%COMP%]{padding:0 10px 0 8px}.select-all-signals.selected[_ngcontent-%COMP%]{color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}.empty-state-img[_ngcontent-%COMP%]{max-width:320px}.chippy.selected[_ngcontent-%COMP%]{font-weight:500}.chippy.selected.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.selected.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.selected.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.selected.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;max-height:450px;overflow-y:scroll}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=needs_attention.css.map */'],
changeDetection:0});var TV=function(a){this.dateFormatter=a;this.SIGNAL_MAPPING=new Map([["NEAR_SLO",{color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"}],["MENTIONED",{color:"pink",text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"}],["UNBLOCKED",{color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"}],["NEEDS_REPORTER_INPUT",{color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"}],["ASSIGNED",{color:"",
text:"",icon:"",className:""}],["REPLIED_TO_MENTION",{color:"",text:"",icon:"",className:""}],["NEWLY_BLOCKING",{color:"",text:"",icon:"",className:""}],["SIGNAL_TYPE_UNKNOWN",{color:"",text:"",icon:"",className:""}]])};
TV.prototype.getSignalTypeTooltip=function(){var a,b=(null==(a=this.signal.timestamp)?0:a.seconds)?this.dateFormatter.format("MMM dd",void 0,new Date(1E3*this.signal.timestamp.seconds)):null;switch(this.signal.signalType){case "NEAR_SLO":return b?"SLO violation occurs on "+b:"This issue is near or past an SLO deadline";case "MENTIONED":return b?"You were mentioned on "+b:"You were mentioned on this issue recently";case "UNBLOCKED":return b?"The last blocking issue was closed on "+b:"The last blocking issue was closed recently";
case "NEEDS_REPORTER_INPUT":return b?"Issue was assigned back to reporter (you) on "+b:"Issue was assigned back to reporter (you) recently";default:return"This issue requires your attention"}};TV.\u0275fac=function(a){return new (a||TV)(C(UK))};
TV.\u0275cmp=Mc({type:TV,selectors:[["b-signal-chip"]],inputs:{signal:"signal"},decls:1,vars:1,consts:[[3,"matTooltip","class",4,"ngIf"],[3,"matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&P(0,$Ya,2,5,"span",0);a&2&&F("ngIf",b.SIGNAL_MAPPING.get(b.signal.signalType))},dependencies:[Ow,bB,tC],styles:[".chippy.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}\n/*# sourceMappingURL=signal_chip.css.map */"]});var UV=function(a,b,c,d,e,g,h){SV.call(this,a,b,c,d,h);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.domSafe=e;this.router=g;this.cdr=h;this.SECTION_SLUG="needs-attention-table";this.columnsToDisplay=["alert","title","priority","action"];this.customColumns=["alert","action"]};U(UV,SV);UV.\u0275dir=SV.\u0275dir;UV.prototype.getIssueIdsToDisplay=function(){return zKc(this).map(function(a){return a.issueId})};
UV.prototype.navigateToIssue=function(a,b,c){"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=jm(c.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?go(this.domSafe,b):Ks(this.router,b))};UV.\u0275fac=function(a){return new (a||UV)(C(pV),C(kG),C(NI),C(UK),C(LK),C(WG),C(PH,2))};
UV.\u0275cmp=Mc({type:UV,selectors:[["needs-attention-table"]],features:[Pf([PH]),lf],decls:9,vars:5,consts:[[1,"flex-kids-x","justify-space-between"],[1,"muted","type-s"],[1,"carded","bg-main"],[3,"collapsed","issueIds","displayedColumns","customColumns",4,"ngIf","ngIfElse"],["emptyState",""],[3,"issueIds","displayedColumns","customColumns"],[4,"forViewCell"],[4,"ngIf"],[3,"signal"],["mat-button","","color","primary",1,"small",3,"click"],[1,"muted"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"h2"),
R(2," Needs attention "),H(3,"span",1),R(4),I()()(),H(5,"div",2),P(6,eZa,3,7,"flat-issues-table",3),P(7,fZa,2,0,"ng-template",null,4,hg),I());if(a&2){var c=Lf(8);B(1);yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);B(3);Mf("(",b.needsAttentionIssues.length,")");B(2);F("ngIf",0<b.getIssueIdsToDisplay().length)("ngIfElse",c)}},dependencies:[Ow,qA,kM,lM,TV],styles:["h2[_ngcontent-%COMP%] {\n      min-height: 40px; \n\n      line-height: 40px;\n    }"],changeDetection:0});var BKc=function(){return[]},CKc=function(a,b,c){this.hackyPrefs=a;this.issueFridge=b;this.refreshMonitor=c;this.SECTION_SLUG="pinned-issues";this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(D(function(d){var e;return null!=(e=null==d?void 0:d.pinned)?e:[]}),af(this.issueFridge.watchSet))};CKc.\u0275fac=function(a){return new (a||CKc)(C(NI),C(YH),C(WH))};
CKc.\u0275cmp=Mc({type:CKc,selectors:[["pinned-issues"]],decls:10,vars:14,consts:[[1,"muted"],[1,"issues"],[4,"ngFor","ngForOf"],[4,"ngIf"],["dismissIcon","keep_off","dismissTooltip","Un-pin issue",3,"issue","onDismiss"]],template:function(a,b){a&1&&(H(0,"h4"),R(1," Pinned "),H(2,"span",0),R(3),S(4,"async"),I()(),H(5,"section",1),P(6,gZa,2,1,"ng-container",2),S(7,"async"),P(8,hZa,2,0,"ng-container",3),S(9,"async"),I());if(a&2){var c,d;yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);B(3);
Mf(" (",(null!==(c=T(4,7,b.pinnedIssues$))&&void 0!==c?c:Rf(13,BKc)).length,")");B(2);yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);B(1);F("ngForOf",T(7,9,b.pinnedIssues$));B(2);F("ngIf",0===(null==(d=T(9,11,b.pinnedIssues$))?null:d.length))}},dependencies:[QK,Nw,Ow,Uw],styles:['[_nghost-%COMP%]{display:block}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:225px;gap:8px}h4[_ngcontent-%COMP%]{margin-top:0}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     .cdk-drag-placeholder{display:none}\n/*# sourceMappingURL=pinned_issues.css.map */']});var DKc=Qhc("edited-ids"),EKc=Ohc("edited-ids"),FKc=Qhc("viewed-ids"),GKc=Ohc("viewed-ids"),VV=function(a){var b=this;this.appEvents=a;this.stop$=new E.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){iZa(b.viewed,c);FKc(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){iZa(b.edited,c);DKc(Array.from(b.edited.keys()).join(","))}};VV.\u0275fac=function(a){return new (a||VV)(u(sG))};VV.\u0275prov=wc({token:VV,factory:VV.\u0275fac,providedIn:"root"});var mZa=function(){return[]},WV=function(a,b,c,d,e,g){GE.call(this);this.activeSession=a;this.issueFridge=b;this.issueLru=c;this.hackyPrefs=d;this.matDialogService=e;this.refreshMonitor=g;this.SECTION_SLUG="recently-viewed-i-own";this.recentIds=[];this.columnsToDisplay="pin id title priority type status menu".split(" ");this.customColumns=["pin"];this.isRecentIssues=!0;this.currentUserEmailAddress=this.activeSession.getUserEmail();this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(D(function(h){var m;
return null!=(m=null==h?void 0:h.pinned)?m:[]}),af(this.issueFridge.watchSet))};U(WV,GE);WV.\u0275dir=GE.\u0275dir;
WV.prototype.getIssueIdsToDisplay=function(){var a=this,b=0,c=Jp(this.hackyPrefs).length;b=0===c?20:3>c?10:5;this.recentIds=Array.from(this.issueLru.viewed.keys());c=Yl();5>this.recentIds.length||c&&c!==Zl?(c||(c=Zl),this.isRecentIssues=!1,this.issueIdsToDisplay$=this.issueFridge.watchMany({filter:"(assignee:"+c+" OR reporter:"+c+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:90d",pageSize:20,sort:"modified_time:desc"}).pipe(bf(this.destroyed$),
D(function(d){return d.results}),D(function(d){return d.filter(function(e){return HKc(a,e)}).map(function(e){return e.issueId})}))):this.issueIdsToDisplay$=this.issueFridge.watchSet(this.recentIds).pipe(Oe(),bf(this.destroyed$),D(function(d){return d.filter(function(e){return HKc(a,e)}).map(function(e){return e.issueId}).reverse().slice(0,b)}))};WV.prototype.ngOnInit=function(){var a=this;this.getIssueIdsToDisplay();this.refreshMonitor.getObservable().pipe(bf(this.destroyed$)).subscribe(function(){a.getIssueIdsToDisplay()})};
var HKc=function(a,b){var c=b.snapshot[0],d,e=null!=(d=a.hackyPrefs.prefs.id)?d:"";if(Jp(a.hackyPrefs).includes(b.issueId))return!1;if(Wva(b.ancestors).includes(e))return!0;if(!Nl(b))return!1;var g,h;return a.isRecentIssues&&(null==(g=c.assigneeUser)?void 0:g.emailAddress)!==a.currentUserEmailAddress&&(null==(h=c.reporterUser)?void 0:h.emailAddress)!==a.currentUserEmailAddress?!1:!0},IKc=function(a){yA(a.matDialogService.open(zGc,{data:{currentColumns:a.columnsToDisplay},width:"500px"})).subscribe(function(b){a.columnsToDisplay=
[].concat(ad(b))})};wh.Object.defineProperties(WV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});WV.\u0275fac=function(a){return new (a||WV)(C(bt),C(YH),C(VV),C(NI),C(DA),C(WH))};
WV.\u0275cmp=Mc({type:WV,selectors:[["recently-viewed-i-own"]],features:[lf],decls:11,vars:11,consts:[[1,"carded","bg-main"],[4,"ngIf"],[1,"flex-kids-x","justify-space-between","align-items-center"],[1,"table-heading"],["mat-icon-button","","matTooltip","Customize columns","aria-label","Customize columns","aria-haspopup","true",1,"gmat-button","medium",3,"click"],[1,"google-material-icons"],[3,"issueIds","displayedColumns","customColumns"],[4,"forViewCell"],["class","margin-bottom",4,"ngIf"],[1,"issues",
"margin-bottom"],[4,"ngFor","ngForOf"],[1,"margin-bottom"],["dismissIcon","keep_off","dismissTooltip","Un-pin issue",3,"issue","onDismiss"],["mat-icon-button","","matTooltip","Unpin issue","aria-label","Unpin issue",1,"gmat-button","medium","pin-button",3,"click"],["inline","true",1,"google-material-icons"],["mat-icon-button","","matTooltip","Pin issue","aria-label","Pin issue",1,"gmat-button","medium","pin-button",3,"click"]],template:function(a,b){a&1&&(H(0,"section",0),P(1,nZa,6,7,"ng-container",
1),H(2,"div",2)(3,"h4",3),R(4," Recent issues "),I(),H(5,"button",4),M("click",function(){return IKc(b)}),H(6,"mat-icon",5),R(7,"view_column"),I()()(),H(8,"flat-issues-table",6),S(9,"async"),P(10,qZa,3,2,"span",7),I()());a&2&&(B(1),F("ngIf",!(null==b.prefs.sectionW?0:b.prefs.sectionW.includes("pinned-issues"))&&!(null==b.prefs.sectionA?0:b.prefs.sectionA.includes("pinned-issues"))),B(2),yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),B(5),yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),
F("issueIds",T(9,9,b.issueIdsToDisplay$))("displayedColumns",b.columnsToDisplay)("customColumns",b.customColumns),B(2),F("forViewCell","pin"))},dependencies:[Nw,Ow,bB,kM,lM,qA,QK,Uw],styles:['[_nghost-%COMP%]{display:block}.table-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.table-heading[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-heading.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:0}.table-heading.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}flat-issues-table[_ngcontent-%COMP%]{display:block;overflow-x:auto}flat-issues-table.collapsed[_ngcontent-%COMP%]{display:none}.pin-button[_ngcontent-%COMP%]{margin-left:4px}.pin-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-bottom:3px;color:#80868b;color:var(--gfx-muted);opacity:.5}.pin-button[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);opacity:1}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:350px;gap:8px}[_nghost-%COMP%]     .issues{max-height:none}\n/*# sourceMappingURL=recently_viewed_owned.css.map */']});var XV=function(a,b){this.issueSuggestService=a;this.hackyPrefs=b;this.SECTION_SLUG="suggested-issues";this.columnsToDisplay="id title priority type status menu".split(" ");this.issueIdsToDisplay$=this.issueSuggestService.suggestedIssues$};XV.prototype.ngOnInit=function(){};XV.\u0275fac=function(a){return new (a||XV)(C(PI),C(NI))};
XV.\u0275cmp=Mc({type:XV,selectors:[["suggested-issues"]],decls:8,vars:6,consts:[[1,"flex-kids-x","justify-space-between","align-items-center"],[1,"table-heading",3,"click"],[2,"overflow","auto"],[4,"ngIf","ngIfElse"],["loading",""],[3,"issueIds","displayedColumns"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"h2",1),M("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),R(2," Suggested Issues "),I()(),H(3,"div",2),P(4,rZa,2,4,"ng-container",3),S(5,"async"),I(),P(6,sZa,1,0,"ng-template",
null,4,hg));if(a&2){var c=Lf(7);B(1);yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);B(3);F("ngIf",T(5,4,b.issueIdsToDisplay$))("ngIfElse",c)}},dependencies:[Ow,kM,wM,Uw],styles:['.table-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.table-heading[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-heading.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:0}.table-heading.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}flat-issues-table.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=suggested_issues.css.map */']});var YV=function(a){this.teamsService=a;this.onTeamLoaded=new E.ReplaySubject(1);this.teamName$=new E.BehaviorSubject("");this.isTeamLoaded=!1};YV.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):wI(this.teamsService,String(this.teamId)).pipe(Oe(),D(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
YV.\u0275fac=function(a){return new (a||YV)(C(vI))};
YV.\u0275cmp=Mc({type:YV,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[ed],decls:7,vars:6,consts:[[3,"isReady"],["class","b-chip squared s",3,"onedevHovercardTrigger",4,"ngIf"],["card","onedevHovercard"],[3,"componentId","teamId"],[1,"b-chip","squared","s",3,"onedevHovercardTrigger"],["svgIcon","supervisor_account_24px",1,"icon-xs"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),P(1,tZa,4,4,"div",1),
S(2,"async"),I(),H(3,"onedev-hovercard",null,2),K(5),J(6,"b-team-card",3),L(),I());if(a&2){var c;F("isReady",b.isTeamLoaded);B(1);F("ngIf",T(2,4,b.teamName$));B(5);F("componentId",null==b.componentId?null:b.componentId.toString())("teamId",null!==(c=null==b.teamId?null:b.teamId.toString())&&void 0!==c?c:"0")}},dependencies:[Ow,bB,WK,jK,oK,aL,Uw],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var ZV=function(a,b){GE.call(this);this.teamActivity=a;this.hackyPrefs=b;this.toIssuePriority=zl;this.teamInfoHidden=!0};U(ZV,GE);ZV.\u0275dir=GE.\u0275dir;f=ZV.prototype;f.ngOnInit=function(){var a=this;this.teamActivity.interestingEventsForTeamActivity$.pipe(bf(this.destroyed$)).subscribe(function(b){a.teamActivityEvents=b.slice(0,10)})};f.getClNumber=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)};
f.getUserEmailIfAvailable=function(a){return ti(a.userPerformingActionUser)};f.clAuthorToUser=function(a){return{emailAddress:Tl(a)+"@google.com"}};f.clAuthorToEmailAddress=function(a){return Tl(a)+"@google.com"};f.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};f.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(ad(a.preDiffs),ad(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(ad(a.preDiffs),ad(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};f.getIssueDetailsUrl=function(a){return"http://b/issues/"+a};wh.Object.defineProperties(ZV.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});ZV.\u0275fac=function(a){return new (a||ZV)(C(OI),C(NI))};
ZV.\u0275cmp=Mc({type:ZV,selectors:[["team-activity-stream"]],features:[lf],decls:17,vars:5,consts:[["mat-icon-button","","title","Show info about your calculated team membership","aria-label","Show info about your calculated team membership",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"muted"],["href","https://g3doc.corp.google.com/google/corp/teams/graph/api/g3doc/gen_teamsgraph_docs.md#suggestteamsrequestcs","target","_blank"],[3,"teamId",4,"ngFor","ngForOf"],["target","_blank",1,"type-m",
3,"href"],["class","events carded bg-main",4,"ngIf"],[3,"teamId"],[1,"events","carded","bg-main"],["class","type-m",3,"margin-bottom",4,"ngFor","ngForOf"],[1,"type-m"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"bv2-profile-avatar",3,"email"],[3,"model"],[3,"changelistId"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[1,"line-clamp-2","type-s"],[1,"type-s"],[3,"issuePriority"]],template:function(a,b){a&1&&(H(0,"h2"),R(1," Team activity "),H(2,"button",0),M("click",function(){return b.teamInfoHidden=
!b.teamInfoHidden}),J(3,"mat-icon",1),I(),H(4,"aside")(5,"p",2),R(6,"Our use of the Teams API returns a "),H(7,"a",3),R(8,"large set"),I(),R(9," of suggested teams via "),H(10,"code"),R(11,"collapsed_parent_chain"),I(),R(12,"."),I(),P(13,uZa,1,1,"b-team-chip",4),H(14,"a",5),R(15,"edit"),I()()(),P(16,BZa,2,1,"div",6));a&2&&(yf("teamInfoHidden",b.teamInfoHidden),B(13),F("ngForOf",b.prefs.teamIds),B(1),If("href","/issues/",b.prefs.id,"",Sd),B(2),F("ngIf",b.teamActivityEvents))},dependencies:[Nw,Ow,Pw,
Qw,Rw,bB,PK,rM,qM,oM,VK,SI,qA,YV],styles:["[_nghost-%COMP%]{display:block}.teamInfoHidden[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     b-user-display-name{font-weight:500;color:#202124;color:var(--text)}[_nghost-%COMP%]     .bv2-profile-avatar{margin-top:-8px;margin-bottom:-26px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;margin-right:4px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:24px;width:24px}.events[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding-left:29px}"]});var FZa=function(a){return{$implicit:a}},$V=function(a,b){this.issueFridge=a;this.hackyPrefs=b;this.STATUS_JS_TERSE=pF;this.encodeURIComponent=encodeURIComponent;this.teamInfoHidden=!0;this.highPriorityFilter="("+RZa(this.prefs.teamIds)+") priority:(p0 | p1) type:(bug | customer_issue) status:open";this.highPriority$=this.issueFridge.watchMany({filter:this.highPriorityFilter,sort:"priority:desc modified_time:desc",pageSize:15});this.feedbackFilter="("+RZa(this.prefs.teamIds)+") -priority:(p0 | p1) modified:7d status:open";
this.feedback$=this.issueFridge.watchMany({filter:this.feedbackFilter,sort:"created_time:desc",pageSize:10})};$V.prototype.getStatus=function(a){var b;return null!=(b=a.snapshot[0].status)?b:void 0};wh.Object.defineProperties($V.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});$V.\u0275fac=function(a){return new (a||$V)(C(YH),C(NI))};
$V.\u0275cmp=Mc({type:$V,selectors:[["team-inbox"]],decls:39,vars:26,consts:[["mat-icon-button","","title","Show info about your calculated team membership","aria-label","Show info about your calculated team membership",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"muted"],["href","https://g3doc.corp.google.com/google/corp/teams/graph/api/g3doc/gen_teamsgraph_docs.md#suggestteamsrequestcs","target","_blank"],[3,"teamId",4,"ngFor","ngForOf"],["target","_blank",1,"type-m",3,"href"],[1,"carded",
"bg-main"],["tabindex","0",1,"margin-s-bottom",3,"click"],["target","_blank",1,"subtle-link",3,"href"],[4,"ngIf"],["tabindex","0",1,"margin-top",3,"click"],["issueRow",""],[3,"teamId"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[1,"padded-s-bottom","display-block","flex-kids-x","align-items-start"],[1,"nowrap"],[1,"margin-right","issue-id"],[1,"type-m","issue-title",
"margin-s-right","break-word","subtle-link",3,"href","onedevHovercardTrigger"],["class","type-s margin-right muted",4,"ngIf"],[1,"margin-left-auto"],[3,"class",4,"ngIf"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""],[1,"type-s","margin-right","muted"]],template:function(a,b){a&1&&(H(0,"h2"),R(1," My team "),H(2,"button",0),M("click",function(){return b.teamInfoHidden=!b.teamInfoHidden}),J(3,"mat-icon",1),I(),H(4,"aside")(5,"p",2),R(6,"Our use of the Teams API returns a "),H(7,"a",3),R(8,
"large set"),I(),R(9," of suggested teams via "),H(10,"code"),R(11,"collapsed_parent_chain"),I(),R(12,"."),I(),P(13,CZa,1,1,"b-team-chip",4),H(14,"a",5),R(15,"edit"),I()()(),H(16,"section",6)(17,"div")(18,"header")(19,"h4",7),M("click",function(){b.hackyPrefs.toggleCollapsed("team-high-priority")}),R(20," High Priority "),I(),H(21,"a",8),R(22),S(23,"number"),S(24,"async"),I()(),P(25,HZa,3,1,"div",9),S(26,"async"),I(),H(27,"div")(28,"header")(29,"h4",10),M("click",function(){b.hackyPrefs.toggleCollapsed("team-recent")}),
R(30," Recent Feedback "),I(),H(31,"a",8),R(32),S(33,"number"),S(34,"async"),I()(),P(35,LZa,3,1,"div",9),S(36,"async"),I()(),P(37,QZa,16,11,"ng-template",null,11,hg));if(a&2){var c,d;yf("teamInfoHidden",b.teamInfoHidden);B(13);F("ngForOf",b.prefs.teamIds);B(1);If("href","/issues/",b.prefs.id,"",Sd);B(3);yf("collapsed",b.prefs.collapsed["team-high-priority"]);B(4);If("href","/issues?q=",b.encodeURIComponent(b.highPriorityFilter),"",Sd);B(1);Mf("(",T(23,14,null==(c=T(24,16,b.highPriority$))?null:c.totalSize),
")");B(3);F("ngIf",T(26,18,b.highPriority$));B(2);yf("collapsed",b.prefs.collapsed["team-recent"]);B(4);If("href","/issues?q=",b.encodeURIComponent(b.feedbackFilter),"",Sd);B(1);Mf("(",T(33,20,null==(d=T(34,22,b.feedback$))?null:d.totalSize),")");B(3);F("ngIf",T(36,24,b.feedback$))}},dependencies:[Nw,Ow,Tw,bB,jK,kK,oK,lK,vP,qA,YV,Uw,$w],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    h4[_ngcontent-%COMP%] {\n      display: inline-block;\n      margin-bottom: 4px;\n      margin-right: 4px;\n    }\n    ol[_ngcontent-%COMP%] {\n      list-style: none;\n      margin: 0;\n      padding: 0;\n    }\n    .collapsed[_ngcontent-%COMP%]    > div[_ngcontent-%COMP%] {\n      display: none;\n    }\n    .teamInfoHidden[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%] {\n      display: none;\n    }"]});var JKc=function(){return[]},aW=function(a,b){GE.call(this);this.hackyPrefs=a;this.issueFridge=b;this.SECTION_SLUG="working-on-this-week";this.weekIssues$=(0,E.of)([]);Rjc(a);this.weekIssues$=this.hackyPrefs.prefs$.pipe(bf(this.destroyed$),D(function(c){var d,e;return null!=(e=null==c?void 0:null==(d=c.issuesThisWeek)?void 0:d.issues)?e:[]}),af(this.issueFridge.watchSet))};U(aW,GE);aW.\u0275dir=GE.\u0275dir;aW.\u0275fac=function(a){return new (a||aW)(C(NI),C(YH))};
aW.\u0275cmp=Mc({type:aW,selectors:[["working-on-this-week"]],features:[lf],decls:9,vars:11,consts:[[1,"margined"],[3,"click"],[1,"muted"],[1,"issues"],[4,"ngFor","ngForOf"],["dismissIcon","close","dismissTooltip","Remove issue",3,"issue","onlyTitle","onDismiss"]],template:function(a,b){a&1&&(H(0,"h4",0)(1,"span",1),M("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),R(2,"Working on this week "),H(3,"span",2),R(4),S(5,"async"),I()()(),H(6,"section",3),P(7,SZa,2,2,"ng-container",
4),S(8,"async"),I());if(a&2){var c;yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);B(4);Mf(" (",(null!==(c=T(5,6,b.weekIssues$))&&void 0!==c?c:Rf(10,JKc)).length,")");B(2);yf("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);B(1);F("ngForOf",T(8,8,b.weekIssues$))}},dependencies:[QK,Nw,Uw],styles:['.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:225px;gap:8px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=working_on_this_week.css.map */']});var bW=function(a,b,c){GE.call(this);var d=this;this.$window=a;this.activeSession=b;this.currentTracker=c;var e,g;this.trackerName=null!=(g=null==(e=this.activeSession.getTracker())?void 0:e.name)?g:"";this.subscriptions.add(this.currentTracker.tracker$.pipe(bf(this.destroyed$)).subscribe(function(h){var m;d.trackerName=null!=(m=null==h?void 0:h.name)?m:""}))};U(bW,GE);bW.\u0275dir=GE.\u0275dir;
bW.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};bW.\u0275fac=function(a){return new (a||bW)(u(FE),u(bt),u(eL))};bW.\u0275prov=wc({token:bW,factory:bW.\u0275fac,providedIn:"root"});var Kp=["Buganizer","Critique","Drive"],cW=function(){this.sources=Kp;this.selectedSources=[];this.change=new pw};cW.\u0275fac=function(a){return new (a||cW)};
cW.\u0275cmp=Mc({type:cW,selectors:[["source-filter-chips"]],inputs:{sources:"sources",selectedSources:"selectedSources"},outputs:{change:"change"},decls:2,vars:1,consts:[["multiple","","aria-label","Source selection",3,"change"],["appearance","hairline-filter",3,"selected",4,"ngFor","ngForOf"],["appearance","hairline-filter",3,"selected"]],template:function(a,b){a&1&&(H(0,"mat-chip-listbox",0),M("change",function(c){b.selectedSources=c.value;b.change.emit(c.value)}),P(1,TZa,2,2,"mat-chip-option",
1),I());a&2&&(B(1),F("ngForOf",b.sources))},dependencies:[Nw,ZU,eV,dV],encapsulation:2});var KKc=new Map([["ASSIGNED","Newly assigned"],["MENTIONED","Mentioned me"],["NEAR_SLO","Near SLO"],["NEEDS_ATTENTION","In attention set"],["NEEDS_REPORTER_INPUT","Needs reporter input"],["NEWLY_BLOCKING","Newly blocking"],["REPLIED_TO_MENTION","Replied to me"],["REQUIRES_APPROVAL","Added as approver"],["TAGGED_IN_COMMENT","Mentioned me"],["UNBLOCKED","Blockers closed"]]),LKc=new Map([["ASSIGNED","This issue was newly assigned to you recently"],["MENTIONED","You were mentioned on this issue recently"],
["NEAR_SLO","20% of SLO time is remaining for this issue"],["NEEDS_ATTENTION","This CL is in your \u201cNeeds attention\u201d list in Critique"],["NEEDS_REPORTER_INPUT","Issue was assigned back to reporter (you) recently"],["NEWLY_BLOCKING","This issue started blocking another issue recently"],["REPLIED_TO_MENTION","Someone replied to your mention recently"],["REQUIRES_APPROVAL","You were added as an approver"],["TAGGED_IN_COMMENT","Someone mentioned me in a comment"],["UNBLOCKED","The last blocking issue was closed recently"]]),
MKc=new Map([["NEEDS_ATTENTION","Review CL"],["TAGGED_IN_COMMENT","Reply comment"],["REQUIRES_APPROVAL","Review"],["NEAR_SLO","View issue"],["MENTIONED","Reply comment"],["REPLIED_TO_MENTION","Reply comment"],["NEWLY_BLOCKING","View blocker issue"],["UNBLOCKED","View issue"],["ASSIGNED","Start work"],["NEEDS_REPORTER_INPUT","Reply comment"]]);var NKc=yp("mc-prefs"),OKc=Np("mc-prefs"),dW=function(){this.prefs$=new E.BehaviorSubject(bfc);var a;this.prefs$.next(Object.assign({},this.prefs,null!=(a=OKc())?a:{}))};dW.prototype.save=function(a){this.prefs$.next(a);NKc(a)};dW.prototype.toggleCollapsed=function(a){var b;this.prefs.collapsed=null!=(b=this.prefs.collapsed)?b:{};this.prefs.collapsed[a]=!this.prefs.collapsed[a];this.save(this.prefs)};wh.Object.defineProperties(dW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefs$.value}}});
dW.\u0275fac=function(a){return new (a||dW)};dW.\u0275prov=wc({token:dW,factory:dW.\u0275fac,providedIn:"root"});var PKc=["menuTrigger"],QKc={label:"Last 7 days",numberOfDays:7},RKc={label:"Last 30 days",numberOfDays:30},SKc=[{label:"Last 1 day",numberOfDays:1},QKc,RKc],eW=function(){this.timeBoundaries=SKc;this.selectedTimeBoundary=QKc;this.change=new pw};eW.prototype.openMenu=function(){this.menuTrigger.openMenu()};eW.\u0275fac=function(a){return new (a||eW)};
eW.\u0275cmp=Mc({type:eW,selectors:[["time-boundary-filter"]],viewQuery:function(a,b){a&1&&cg(PKc,5);if(a&2){var c;bg(c=eg())&&(b.menuTrigger=c.first)}},inputs:{timeBoundaries:"timeBoundaries",selectedTimeBoundary:"selectedTimeBoundary"},outputs:{change:"change"},decls:8,vars:4,consts:[["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,"matMenuTriggerFor",
"keyup.enter","keyup.space"],["menuTrigger","matMenuTrigger"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["xPosition","before"],["timeBoundaryMenu","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"]],template:function(a,b){a&1&&(H(0,"mat-chip-listbox",0)(1,"mat-chip-option",1,2),M("keyup.enter",function(){return b.openMenu()})("keyup.space",function(){return b.openMenu()}),R(3),J(4,"mat-icon",3),I()(),H(5,"mat-menu",4,5),P(7,
h_a,2,2,"button",6),I());if(a&2){var c=Lf(6);F("selectable",!1);B(1);F("matMenuTriggerFor",c);B(2);Mf(" ",b.selectedTimeBoundary.label," ");B(4);F("ngForOf",b.timeBoundaries)}},dependencies:[Nw,bB,ZU,eV,dV,aV,lC,jC,kC],encapsulation:2});var fW=function(a,b,c,d,e,g,h,m){GE.call(this);var r=this;this.needsAttentionApi=a;this.taskFridge=b;this.errorHandler=c;this.tasksService=d;this.missionControlPrefs=e;this.domSafe=g;this.router=h;this.appEvents=m;this.SIGNAL_TO_DISPLAY_TEXT=KKc;this.SIGNAL_TO_TOOLTIP_TEXT=LKc;this.SIGNAL_TO_ACTION_TEXT=MKc;this.needsAttentionIssues$=(0,E.defer)(function(){return r.needsAttentionApi.listIssues(void 0,void 0,Ap())}).pipe(D(a_a));this.tasksWithSignals$=this.taskFridge.watchMany({}).pipe(D($Za));var v;
this.sources$=new E.BehaviorSubject(null!=(v=this.missionControlPrefs.prefs.naSources)?v:Kp);var y;this.timeBoundary$=new E.BehaviorSubject(null!=(y=this.missionControlPrefs.prefs.naTimeBoundary)?y:RKc);this.allNeedsAttention$=(0,E.combineLatest)([this.tasksWithSignals$,this.needsAttentionIssues$,this.sources$,this.timeBoundary$]).pipe(D(function(A){var G=k(A);A=G.next().value;var N=G.next().value,Q=G.next().value;G=G.next().value;A=ZZa(A,N,Q,G);r.appEvents.missionControlTaskCount.next(A.length);
return A}));this.displayedColumns="selection type description timestamp signal action dismiss".split(" ");this.selection=new tz(!0,[]);this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10};U(fW,GE);fW.\u0275dir=GE.\u0275dir;fW.prototype.isAllSelected=function(a){return this.selection.selected.length===a.length};fW.prototype.toggleAllRows=function(a){this.isAllSelected(a)?this.selection.clear():(a=a.map(function(b){return b.id}),this.selection.select.apply(this.selection,ad(a)))};
var I_a=function(a,b){"Buganizer"===b.type?(b=Lp(b.id))&&qV(a.needsAttentionApi,[b],!0).catch(function(c){return void a.errorHandler.errorHandler(null,c)}):a.tasksService.updateTaskStatus(b.id).subscribe(function(){a.taskFridge.pokeMany({})},function(c){return void a.errorHandler.errorHandler(null,c)})};
fW.prototype.getSignalUrgency=function(a){switch(a){case "MENTIONED":case "NEEDS_ATTENTION":case "TAGGED_IN_COMMENT":return 0;case "NEAR_SLO":case "REPLIED_TO_MENTION":case "ASSIGNED":case "REQUIRES_APPROVAL":return 1;default:return 2}};var C_a=function(a,b){var c=b[0],d=a.getSignalUrgency(c);b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,a.getSignalUrgency(e)<d&&(c=e,d=a.getSignalUrgency(c));return c},A_a=function(a,b){return a.filter(function(c){return c!==b}).map(function(c){return KKc.get(c)}).join("; ")};
fW.prototype.updateSourceFilter=function(a){var b=this.missionControlPrefs;b.prefs.naSources=a;b.save(b.prefs);this.sources$.next(a)};
fW.prototype.navigateToResource=function(a,b){a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"keydown"===a.type&&a instanceof KeyboardEvent&&"Enter"!==a.key||("Buganizer"===b.type?(b=Lp(b.id),b=jm(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?go(this.domSafe,b):Ks(this.router,b)):this.domSafe.openInNewTab(b.link))};
fW.prototype.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
var p_a=function(a){var b=a.selection.selected,c=b.filter(function(d){return d.startsWith("b/")}).map(function(d){return Lp(d)});b=b.filter(function(d){return!d.startsWith("b/")});0<c.length&&qV(a.needsAttentionApi,c,!0).catch(function(d){return void a.errorHandler.errorHandler(null,d)});0<b.length&&a.tasksService.updateTaskStatuses(b).subscribe(function(){a.taskFridge.pokeMany({})},function(d){return void a.errorHandler.errorHandler(null,d)});a.selection.clear()};
fW.\u0275fac=function(a){return new (a||fW)(C(pV),C(qI),C(oG),C(oI),C(dW),C(LK),C(WG),C(sG))};
fW.\u0275cmp=Mc({type:fW,selectors:[["b-needs-attention-table"]],features:[lf],decls:11,vars:10,consts:[[1,"flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"heading-s"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["loading",""],[1,"padded-s-x",3,"selectedSources","change"],[1,"border-left","padded-s-left",3,"selectedTimeBoundary","change"],["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","dismiss"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-button","","class","gmat-button margin-s-top",3,"click",4,"ngIf"],["mat-header-cell",
""],["aria-label","Select all alerts",3,"checked","indeterminate","change"],["mat-cell",""],["aria-label","Select alert",3,"checked","click","change"],["role","img",3,"matTooltip"],["mat-button","","class","gmat-button bulk-dismiss",3,"click",4,"ngIf"],["mat-button","",1,"gmat-button","bulk-dismiss",3,"click"],[1,"alert-description"],["tabindex","0","role","link",1,"subtle-link",3,"keydown","click"],["mode","relativepast",3,"timestamp",4,"ngIf"],["mode","relativepast",3,"timestamp"],["class","flex-kids-x gap-xs",
4,"ngIf","ngIfElse"],["signalsOverflow",""],[1,"flex-kids-x","gap-xs"],[4,"ngFor","ngForOf"],[3,"class","matTooltip",4,"ngIf"],[3,"matTooltip"],["class","flex-kids-x gap-xs align-items-center",4,"ngIf"],[1,"flex-kids-x","gap-xs","align-items-center"],[1,"type-m",3,"matTooltip"],["mat-button","",1,"gmat-button","primary","action-button"],["mat-header-cell","",1,"border-bottom"],["mat-icon-button","","aria-label","Dismiss a work item to hide it from the table","matTooltip","Dismiss a work item to hide it from the table",
1,"dismiss-btn","small",3,"click"],["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","padded"],
[3,"large","ariaLabel"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"span",1),R(2,"Sources"),I(),P(3,i_a,2,1,"ng-container",2),S(4,"async"),P(5,j_a,2,1,"ng-container",2),S(6,"async"),I(),P(7,Q_a,27,4,"div",3),S(8,"async"),P(9,R_a,2,2,"ng-template",null,4,hg));if(a&2){var c=Lf(10);B(3);F("ngIf",T(4,4,b.sources$));B(2);F("ngIf",T(6,6,b.timeBoundary$));B(2);F("ngIf",T(8,8,b.allNeedsAttention$))("ngIfElse",c)}},dependencies:[Nw,Ow,bB,VK,jM,XL,cM,ZL,WL,eM,$L,bM,fM,hM,iM,BO,tC,qA,rA,cW,eW,wM,Uw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-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-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-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}.product-icon[_ngcontent-%COMP%]{margin-top:4px;height:24px;width:24px}.product-icon.check_circle_filled[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive_document[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive_spreadsheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive_presentation[_ngcontent-%COMP%]{color:#f9ab00}.mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px}.dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]:focus   .dismiss-icon[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]:focus   .dismiss-icon[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]:hover   .dismiss-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary)}.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}.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)}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}"]});var gW=function(a,b){this.prefsService=a;this.appEvents=b;this.numNeedsAttentionTasks$=this.appEvents.missionControlTaskCount};gW.prototype.isCollapsed=function(){var a;return!(null==(a=this.prefsService.prefs.collapsed)||!a["needs-attention-wrapper"])};gW.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("needs-attention-wrapper")};gW.\u0275fac=function(a){return new (a||gW)(C(dW),C(sG))};
gW.\u0275cmp=Mc({type:gW,selectors:[["needs-attention-wrapper"]],decls:9,vars:6,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"heading-s"],["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"],[1,"margin-s-y"]],template:function(a,b){a&1&&
(H(0,"div",0)(1,"header",1)(2,"h3",2),R(3," Needs attention "),I(),H(4,"button",3),M("click",function(){return b.toggleCollapsed()}),J(5,"mat-icon",4),I(),P(6,S_a,3,1,"div",5),S(7,"async"),I(),P(8,T_a,7,0,"div",6),I());a&2&&(yf("collapsed",b.isCollapsed()),B(6),F("ngIf",T(7,4,b.numNeedsAttentionTasks$)),B(2),F("ngIf",!b.isCollapsed()))},dependencies:[Ow,bB,qA,fW,Uw],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)}.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}"]});var W_a={Owned:{Critique:"CL Author",Drive:"File Owner",Launch:"Launch Owner"},Collaborating:{Critique:"CL Reviewer",Drive:"Collaborator",Launch:"Approver"},Following:{Critique:"CC'd",Drive:"Commenter",Launch:"Subscriber"}};var Z_a={Owned:{SELECTED_SOURCES:"mc-my-tasks-owned-selected-sources",SELECTED_TIME_BOUNDARY:"mc-my-tasks-owned-selected-time-boundary"},Collaborating:{SELECTED_SOURCES:"mc-my-tasks-collaborating-selected-sources",SELECTED_TIME_BOUNDARY:"mc-my-tasks-collaborating-selected-time-boundary"},Following:{SELECTED_SOURCES:"mc-my-tasks-following-selected-sources",SELECTED_TIME_BOUNDARY:"mc-my-tasks-following-selected-time-boundary"}};var A0a=function(){return[]},B0a=function(){return["moreRows"]},hW=function(a,b,c,d,e,g){var h=this;this.prefsService=a;this.issueFridge=b;this.taskFridge=c;this.currentUser=d;this.router=e;this.domSafe=g;var m;this.collapsed=!(null==(m=this.prefsService.prefs.collapsed)||!m["mc-my-tasks"]);var r,v,y,A,G,N;this.tabData=[{label:"Owned",description:"Tasks that you own, are assigned to, or have authored.",tasks:(0,E.of)([]),filters:{sources$:new E.BehaviorSubject(null!=(r=$_a("Owned"))?r:[].concat(ad(Kp))),
timeBoundary$:new E.BehaviorSubject(null!=(v=a0a("Owned"))?v:QKc)}},{label:"Collaborating",description:"Tasks that you have contributed to.",tasks:(0,E.of)([]),filters:{sources$:new E.BehaviorSubject(null!=(y=$_a("Collaborating"))?y:[].concat(ad(Kp))),timeBoundary$:new E.BehaviorSubject(null!=(A=a0a("Collaborating"))?A:QKc)}},{label:"Following",description:"Tasks which you are following.",tasks:(0,E.of)([]),filters:{sources$:new E.BehaviorSubject(null!=(G=$_a("Following"))?G:[].concat(ad(Kp))),timeBoundary$:new E.BehaviorSubject(null!=
(N=a0a("Following"))?N:QKc)}}];this.ownedIssues$=this.tabData[0].filters.timeBoundary$.pipe(af(function(Q){return h.queryIssues("assignee:me modified:$$BOUNDARY$$ status:open",Q.numberOfDays)}));this.collaboratingIssues$=this.tabData[1].filters.timeBoundary$.pipe(af(function(Q){return h.queryIssues("(collaborator:me OR reporter:me) -assignee:me modified:$$BOUNDARY$$ status:open",Q.numberOfDays)}));this.followingIssues$=this.tabData[2].filters.timeBoundary$.pipe(af(function(Q){return h.queryIssues("(star:true OR (cc:me AND status:open) OR (commenter:me AND status:open)) AND modified:$$BOUNDARY$$",
Q.numberOfDays)}));this.ownedTasks$=this.tabData[0].filters.timeBoundary$.pipe(af(function(Q){return h.taskFridge.watchMany({maxTaskAgeDays:Q.numberOfDays}).pipe(D(function(Z){return Z.results}),D(function(Z){var Y=h.currentUser.email,ea=[];Z=k(Z);for(var ja=Z.next();!ja.done;ja=Z.next()){ja=ja.value;var va=void 0;switch(null==(va=ja.resource)?void 0:va.source){case "Critique":var za=va=void 0;(null==(va=ja.resource)?void 0:null==(za=va.critiqueResource)?void 0:za.authorEmail)===Y&&ea.push(ja);break;
case "Drive":za=va=void 0;(null==(va=ja.resource)?0:null==(za=va.driveResource)?0:za.ownedByMe)&&ea.push(ja);break;case "Launch":za=va=void 0,(null==(va=ja.resource)?0:null==(za=va.launchResource)?0:za.ownedByMe)&&ea.push(ja)}}return ea}))}));this.collaboratingTasks$=this.tabData[1].filters.timeBoundary$.pipe(af(function(Q){return h.taskFridge.watchMany({maxTaskAgeDays:Q.numberOfDays}).pipe(D(function(Z){return Z.results}),D(function(Z){var Y=h.currentUser.email,ea=[];Z=k(Z);for(var ja=Z.next();!ja.done;ja=
Z.next()){ja=ja.value;var va=void 0;switch(null==(va=ja.resource)?void 0:va.source){case "Critique":var za=va=void 0;(null==(va=ja.resource)?0:null==(za=va.critiqueResource)?0:za.reviewerEmails.includes(Y))&&ea.push(ja);break;case "Drive":za=va=void 0;(null==(va=ja.resource)?0:null==(za=va.driveResource)?0:za.sharedWithMe)&&ea.push(ja);break;case "Launch":za=va=void 0,(null==(va=ja.resource)?0:null==(za=va.launchResource)?0:za.needApprovalFromMe)&&ea.push(ja)}}return ea}))}));this.followingTasks$=
this.tabData[2].filters.timeBoundary$.pipe(af(function(Q){return h.taskFridge.watchMany({maxTaskAgeDays:Q.numberOfDays}).pipe(D(function(Z){return Z.results}),D(function(Z){return Cva(Z,h.currentUser.email)}))}));this.displayColumns=["type","title","modified","role","created"];this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.tabData[0].tasks=TKc(this,this.ownedIssues$,this.ownedTasks$,this.tabData[0]);this.tabData[1].tasks=TKc(this,this.collaboratingIssues$,this.collaboratingTasks$,this.tabData[1]);
this.tabData[2].tasks=TKc(this,this.followingIssues$,this.followingTasks$,this.tabData[2])},TKc=function(a,b,c,d){var e=a.currentUser.email;return(0,E.combineLatest)([b.pipe(D(function(g){return V_a(g,e,d.label)})),c.pipe(D(function(g){return Y_a(g,d.label)})),d.filters.sources$]).pipe(D(function(g){var h=k(g);g=h.next().value;var m=h.next().value;h=h.next().value;return UKc(g,m,h)}))},UKc=function(a,b,c){var d=[];c.includes("Buganizer")&&d.push.apply(d,ad(a));d.push.apply(d,ad(b.filter(function(e){return Kp.includes(e.source)&&
c.includes(e.source)})));return d.sort(H0a)};f=hW.prototype;f.queryIssues=function(a,b){return this.issueFridge.watchMany({filter:a.replace("$$BOUNDARY$$",b+"d"),pageSize:50,sort:"modified_time:desc"}).pipe(D(function(c){return c.results}))};f.updateSourceFilter=function(a,b){yp(Z_a[this.tabData[b].label].SELECTED_SOURCES)(a);this.tabData[b].filters.sources$.next(a)};f.toggleCollapsed=function(){this.collapsed=!this.collapsed;this.prefsService.toggleCollapsed("mc-my-tasks")};f.isCollapsed=function(){return this.collapsed};
f.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};f.navigateToResource=function(a,b){a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"!==a.target.tagName&&("Buganizer"===b.source?a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b.link):a&&a.shiftKey?go(this.domSafe,b.link):Ks(this.router,b.link):this.domSafe.openInNewTab(b.link))};
hW.\u0275fac=function(a){return new (a||hW)(C(dW),C(YH),C(qI),C(MI),C(WG),C(LK))};
hW.\u0275cmp=Mc({type:hW,selectors:[["my-tasks"]],decls:11,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"heading-s"],["mat-icon-button","","aria-label","Toggle collapsed state for this card",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["class","main-content margin-top",4,"ngIf"],["loading",""],["dashDash",""],[1,"main-content","margin-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedTabChange"],
[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"tab-filters","flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[4,"ngIf"],["mat-table","",3,"dataSource","class",4,"ngIf","ngIfElse"],[1,"padded-s-x",3,"selectedSources","change"],[1,"border-left","padded-s-left",3,"selectedTimeBoundary","change"],["mat-table","",3,"dataSource"],["matColumnDef","type"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","modified"],["matColumnDef",
"role"],["matColumnDef","created"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["matColumnDef","moreRows"],["mat-footer-cell","","colspan","1",4,"matFooterCellDef"],["mat-footer-row","",4,"matFooterRowDef"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-header-cell",""],["mat-cell",""],["matTooltipPosition","left","matTooltipShowDelay","250",3,"matTooltip"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],[1,"subtle-link",
3,"href"],[1,"margin-xs-right",3,"issuePriority"],["mode","relativepast",3,"timestamp",4,"ngIf"],["mode","relativepast",3,"timestamp"],[4,"ngIf","ngIfElse"],["mat-header-row",""],["mat-row","",1,"clickable",3,"click"],["mat-footer-cell","","colspan","1"],["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",""],[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","padded"],[3,"large","ariaLabel"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"h3",2),R(3," My tasks "),H(4,"button",3),M("click",function(){return b.toggleCollapsed()}),J(5,"mat-icon",4),I()()(),P(6,E0a,3,1,"div",5),I(),P(7,F0a,2,2,"ng-template",
null,6,hg),P(9,G0a,1,0,"ng-template",null,7,hg));a&2&&(yf("collapsed",b.isCollapsed()),B(6),F("ngIf",!b.isCollapsed()))},dependencies:[Nw,Ow,bB,SI,wM,cW,eW,VK,qA,tN,sN,yN,jM,XL,cM,ZL,WL,eM,YL,dM,$L,bM,aM,fM,hM,gM,iM,tC,Uw],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-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-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-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)}.main-content[_ngcontent-%COMP%]     .mat-tab-body{min-height:200px}.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:3%;min-width:45px;text-align:center}.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%}.mat-column-moreRows[_ngcontent-%COMP%]{border:none}.product-icon.check_circle_filled[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive_document[_ngcontent-%COMP%]{color:var(--blue-700)}.product-icon.drive_spreadsheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive_presentation[_ngcontent-%COMP%]{color:var(--yellow-600)}\n/*# sourceMappingURL=my_tasks.css.map */"]});var iW=function(a,b){GE.call(this);this.dialogRef=a;this.savedSearchFridge=b;this.selectedIds=new Set;this.savedSearches$=this.savedSearchFridge.watchMany({parent:"me"}).pipe(D(function(c){return c.results}))};U(iW,GE);iW.\u0275dir=GE.\u0275dir;iW.prototype.trackBySearchId=function(a,b){return b.searchId};iW.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedIds.add(c.value):b.selectedIds.delete(c.value)})};
iW.prototype.onSave=function(){var a=[].concat(ad(this.selectedIds)).map(String);this.dialogRef.close(a)};iW.prototype.onCancel=function(){this.dialogRef.close()};iW.\u0275fac=function(a){return new (a||iW)(C(AA),C(kI))};
iW.\u0275cmp=Mc({type:iW,selectors:[["saved-search-picker-dialog"]],features:[lf],decls:10,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary","data-test","save",1,"gmat-button","medium",3,"disabled","click"],["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&&(H(0,"header",0),R(1," Add a Saved Search\n"),I(),H(2,"div",1),P(3,K0a,3,2,"ng-container",2),S(4,"async"),I(),H(5,"div",3)(6,"button",4),M("click",function(){return b.onCancel()}),R(7," Cancel "),I(),H(8,"button",5),M("click",function(){return b.onSave()}),
R(9),I()());a&2&&(B(3),F("ngIf",T(4,3,b.savedSearches$)),B(5),F("disabled",0===b.selectedIds.size),B(1),Mf(" Save ",1<b.selectedIds.size?"("+b.selectedIds.size+")":""," "))},dependencies:[Nw,Ow,qA,FA,GA,HA,KT,LT,Uw],styles:["[_nghost-%COMP%]     .mat-dialog-title{margin-bottom:8px}[_nghost-%COMP%]     .mat-list-item-content.mat-list-item-content.mat-list-item-content{padding:4px;padding-left:24px}.mat-dialog-content[_ngcontent-%COMP%]{width:500px;padding:0}\n/*# sourceMappingURL=saved_search_picker_dialog.css.map */"]});var jW=function(a){this.dialog=a};jW.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){yA(b.dialog.open(iW,c)).subscribe(function(e){e=void 0===e?[]:e;null==a||a(e);d(e)})})};jW.\u0275fac=function(a){return new (a||jW)(u(DA))};jW.\u0275prov=wc({token:jW,factory:jW.\u0275fac,providedIn:"root"});var kW=function(){this.emails=[]};kW.\u0275fac=function(a){return new (a||kW)};kW.\u0275cmp=Mc({type:kW,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},decls:2,vars:5,consts:[["class","margin-s-right medium",3,"email",4,"ngFor","ngForOf"],[1,"margin-s-right","medium",3,"email"]],template:function(a,b){a&1&&(P(0,L0a,1,1,"b-user-image",0),S(1,"slice"));a&2&&F("ngForOf",Wf(1,1,b.emails,0,8))},dependencies:[Nw,PK,ax],encapsulation:2});var M0a=function(){return[]},lW=function(){this.makeCritiqueUrl=b_a;this.submitted=[];this.pending=[]};lW.\u0275fac=function(a){return new (a||lW)};
lW.\u0275cmp=Mc({type:lW,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&&P(0,O0a,7,3,"div",0);a&2&&F("ngIf",b.submitted.length+b.pending.length)},dependencies:[Ow],styles:[".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 VKc=function(){return[]},mW=function(a,b){GE.call(this);var c=this;this.issueFridge=a;this.changelistFridge=b;this.query$=new E.ReplaySubject(1);this.issues$=this.query$.pipe(af(function(d){return c.issueFridge.watchMany(d)}),D(function(d){return d.results}));this.emails$=this.issues$.pipe(D(function(d){return d.map(Ml).filter(Ei)}),D(Dl));this.submittedClLinks$=this.issues$.pipe(D(function(d){return d.flatMap(function(e){var g,h,m;return null!=(m=null==(g=e.snapshot)?void 0:null==(h=g[0])?void 0:
h.changelist)?m:[]})}));this.pendingCls$=this.issues$.pipe(D(function(d){return d.map(function(e){return e.issueId})}),af(function(d){return c.changelistFridge.watchMany({pendingForIssues:d})}),D(function(d){return d.results}))};U(mW,GE);mW.\u0275dir=GE.\u0275dir;wh.Object.defineProperties(mW.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});mW.\u0275fac=function(a){return new (a||mW)(C(YH),C(JF))};
mW.\u0275cmp=Mc({type:mW,selectors:[["rollups-list"]],inputs:{ref:"ref",query:"query"},features:[lf],decls:6,vars:11,consts:[[1,"flex-kids-x","align-items-center","dividers-between"],[3,"submitted","pending"],[3,"emails",4,"ngIf"],[3,"emails"]],template:function(a,b){a&1&&(H(0,"section",0),J(1,"cl-counts",1),S(2,"async"),S(3,"async"),P(4,P0a,1,1,"avatar-bunch",2),S(5,"async"),I());if(a&2){var c,d;B(1);F("submitted",null!==(c=T(2,3,b.submittedClLinks$))&&void 0!==c?c:Rf(9,VKc))("pending",null!==(d=
T(3,5,b.pendingCls$))&&void 0!==d?d:Rf(10,VKc));B(3);F("ngIf",T(5,7,b.emails$))}},dependencies:[Ow,kW,lW,Uw],styles:["[_nghost-%COMP%]{display:block}.dividers-between[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:16px;margin-right:16px;border-right:1px solid;border-right-color:#dadce0;border-right-color:var(--divider)}.dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:empty, .dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{border-right:none;padding-right:0;margin-right:0}\n/*# sourceMappingURL=rollups_list.css.map */"],
changeDetection:0});var nW=function(){this.joinerStr=""};wh.Object.defineProperties(nW.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(null!=a){var b=xva(1049928)(a);this.startDate=bva(null==b?void 0:b.dateValue);a=xva(1049953)(a);this.endDate=bva(null==a?void 0:a.dateValue);this.startDateShortStr=cva(this.startDate);this.endDateShortStr=cva(this.endDate);this.joinerStr=this.endDate?"\u2192":""}}}});nW.\u0275fac=function(a){return new (a||nW)};
nW.\u0275cmp=Mc({type:nW,selectors:[["issue-timeframe"]],inputs:{issue:"issue"},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"],["class","date",3,"title",4,"ngIf"],[1,"margin-xs-right","date",3,"title"],[1,"date",3,"title"]],template:function(a,b){a&1&&P(0,S0a,4,2,"div",
0);a&2&&F("ngIf",b.startDate||b.endDate)},dependencies:[Ow,bB,Xw],styles:[".date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],changeDetection:0});var WKc=function(){this.makePie=c_a;this.useXofYLabel=!1};WKc.\u0275fac=function(a){return new (a||WKc)};WKc.\u0275cmp=Mc({type:WKc,selectors:[["progress-pie"]],inputs:{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,"title","click"],[1,"pie","margin-s-right"]],template:function(a,b){a&1&&P(0,T0a,7,13,"div",0);a&2&&F("ngIf",0<b.total)},dependencies:[Ow,$w],encapsulation:2,changeDetection:0});var V0a=function(){return[]},oW=function(a,b,c,d){GE.call(this);var e=this;this.issueRelationshipsFridge=a;this.metadataFridge=b;this.issueFridge=c;this.changelistFridge=d;this.id$=new E.ReplaySubject(1);this.issue$=this.id$.pipe(af(this.issueFridge.watchOne));this.metadata$=this.id$.pipe(af(this.metadataFridge.watchOne));this.closedAndTotal$=this.metadata$.pipe(D(Lua));this.metadata$.pipe(D(Nua));this.emails$=this.metadata$.pipe(D(Oua));this.pendingCls$=this.metadata$.pipe(af(function(g){var h;return e.changelistFridge.watchMany({pendingForIssues:null!=
(h=null==g?void 0:g.issueIds)?h:[]})}),D(function(g){return g.results}));this.subscriptions.add((0,E.merge)(this.issueRelationshipsFridge.memoryWasSet$,this.issueRelationshipsFridge.collectiveMemoryWasSet$,this.issueFridge.memoryWasSet$,this.issueFridge.collectiveMemoryWasSet$).pipe(Je(this.id$),Ke(2E3)).subscribe(function(g){return void e.metadataFridge.poke(g[1])}))};U(oW,GE);oW.\u0275dir=GE.\u0275dir;wh.Object.defineProperties(oW.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
oW.\u0275fac=function(a){return new (a||oW)(C(eI),C(IF),C(YH),C(JF))};
oW.\u0275cmp=Mc({type:oW,selectors:[["rollups-project"]],inputs:{id:"id"},features:[lf],decls:9,vars:12,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,"emails"]],template:function(a,b){a&1&&(H(0,"section",0),P(1,U0a,1,2,"progress-pie",1),S(2,"async"),J(3,"issue-timeframe",2),S(4,"async"),P(5,W0a,2,5,"cl-counts",3),S(6,"async"),P(7,
X0a,1,1,"avatar-bunch",4),S(8,"async"),I());a&2&&(B(1),F("ngIf",T(2,4,b.closedAndTotal$)),B(2),F("issue",T(4,6,b.issue$)),B(2),F("ngIf",T(6,8,b.metadata$)),B(2),F("ngIf",T(8,10,b.emails$)))},dependencies:[Ow,kW,lW,WKc,nW,Uw],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 pW=function(a){var b=this;this.prefsService=a;this.isNumeric=Wp;this.isActive=function(){return XKc(b,b.prefsService.prefs,b.filter.key)};this.active$=this.prefsService.prefs$.pipe(D(function(c){var d;return XKc(b,c,null==(d=b.filter)?void 0:d.key)}))};pW.prototype.onClick=function(){var a=!this.isActive(),b=this.prefsService,c=this.ref;a=a?[this.filter.key]:[];var d;b.prefs.quickFilters=null!=(d=b.prefs.quickFilters)?d:{};b.prefs.quickFilters[c]=a;b.save(b.prefs)};
var XKc=function(a,b,c){if(null==b)return!1;var d,e;return(null!=(e=null==(d=b.quickFilters)?void 0:d[a.ref])?e:[]).includes(c)};
wh.Object.defineProperties(pW.prototype,{metadata:{configurable:!0,enumerable:!0,set:function(a){this.metadataInternal=a;if(null!=a)if("OPEN"===this.filter.key){if(null==a)var b=0;else{b=0;a=k(a.aggregatedStatus);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0===c.issueIds?[]:c.issueIds,e=void 0;if(null==(e=El[c.status])?0:e.open)b+=d.length}}this.countDisplay=b}else if("BROAD_IN_PROGRESS"===this.filter.key)b=Mua(a,"ASSIGNED"),a=Mua(a,"ACCEPTED"),this.countDisplay=b+a;else throw Error("Wd`"+
this.filter.key);},get:function(){return this.metadataInternal}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=jo[a]}},computeCountFor:{configurable:!0,enumerable:!0,set:function(a){if(null==a)this.countDisplay="-";else{var b,c,d=null==(c=jo[null==(b=this.filter)?void 0:b.key])?void 0:c.check;this.countDisplay=a.filter(d).length}}}});pW.\u0275fac=function(a){return new (a||pW)(C(dW))};
pW.\u0275cmp=Mc({type:pW,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{metadata:"metadata",key:"key",ref:"ref",countDisplay:"countDisplay",computeCountFor:"computeCountFor"},decls:5,vars:6,consts:[[1,"unstyled-button","stat-card",3,"title"],[4,"ngIf"],[1,"big-number"]],template:function(a,b){a&1&&(H(0,"button",0),S(1,"async"),H(2,"label"),R(3),I(),P(4,Y0a,3,3,"ng-container",1),I());if(a&2){var c;F("title",null!==(c=b.filter.tooltip)&&void 0!==
c?c:"");pf("aria-pressed",T(1,4,b.active$));B(3);Nf(b.filter.displayAs);B(1);F("ngIf",b.metadata||void 0!==b.countDisplay)}},dependencies:[Ow,Uw],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, 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)}\n/*# sourceMappingURL=qif_stat.css.map */"],
changeDetection:0});var qW=function(a){var b=this;this.issueFridge=a;this.curUser=xl().user.email;this.query$=new E.ReplaySubject(1);this.issues$=this.query$.pipe(af(function(c){return b.issueFridge.watchMany(c)}),D(function(c){return c.results}));this.openCount$=this.issues$.pipe(D(function(c){return c.filter(Nl).length}));this.assignedToMeCount$=this.issues$.pipe(D(function(c){return c.map(Ml).filter(function(d){return d===b.curUser}).length}));this.ownedCount$=this.issues$.pipe(D(function(c){return c.map(function(d){return d.snapshot[0].status}).filter(function(d){return"ASSIGNED"===
d||"ACCEPTED"===d}).length}))};wh.Object.defineProperties(qW.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});qW.\u0275fac=function(a){return new (a||qW)(C(YH))};
qW.\u0275cmp=Mc({type:qW,selectors:[["stat-cards-list"]],inputs:{ref:"ref",query:"query"},decls:11,vars:20,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"ref","countDisplay"],["key","BROAD_IN_PROGRESS",3,"ref","countDisplay"],["key","ASSIGNED_TO_ME",3,"ref","countDisplay"],["key","NEWLY_FILED",3,"ref","computeCountFor"],["key","RECENTLY_ACTIVE",3,"ref","computeCountFor"]],template:function(a,b){a&1&&(H(0,"div",0),J(1,"qif-stat",1),S(2,"async"),J(3,"qif-stat",2),S(4,"async"),J(5,"qif-stat",3),S(6,
"async"),J(7,"qif-stat",4),S(8,"async"),J(9,"qif-stat",5),S(10,"async"),I());a&2&&(B(1),F("ref",b.ref)("countDisplay",T(2,10,b.openCount$)),B(2),F("ref",b.ref)("countDisplay",T(4,12,b.ownedCount$)),B(2),F("ref",b.ref)("countDisplay",T(6,14,b.assignedToMeCount$)),B(2),F("ref",b.ref)("computeCountFor",T(8,16,b.issues$)),B(2),F("ref",b.ref)("computeCountFor",T(10,18,b.issues$)))},dependencies:[pW,Uw],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_list.css.map */"],
changeDetection:0});var rW=function(a){this.metadataFridge=a;this.id$=new E.ReplaySubject(1);this.metadata$=this.id$.pipe(af(this.metadataFridge.watchOne))};wh.Object.defineProperties(rW.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a);this.idInternal=a},get:function(){return this.idInternal}}});rW.\u0275fac=function(a){return new (a||rW)(C(IF))};
rW.\u0275cmp=Mc({type:rW,selectors:[["stat-cards-project"]],inputs:{id:"id"},decls:5,vars:8,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"ref","metadata"],["key","BROAD_IN_PROGRESS",3,"ref","metadata"]],template:function(a,b){a&1&&(H(0,"div",0),J(1,"qif-stat",1),S(2,"async"),J(3,"qif-stat",2),S(4,"async"),I());a&2&&(B(1),F("ref",b.id)("metadata",T(2,4,b.metadata$)),B(2),F("ref",b.id)("metadata",T(4,6,b.metadata$)))},dependencies:[pW,Uw],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],
changeDetection:0});var Z0a=function(){return{assigneeMode:"avatar-if-open"}},b1a=function(){return{hideHeader:!0,assigneeMode:"avatar",showPendingFixCls:!1}},YKc="focus-indicator drag-handle title assignee status id menu".split(" "),ZKc="priority title assignee status id modifiedTime".split(" "),sW=function(a,b,c){var d=this;this.prefsService=a;this.issueFridge=b;this.savedSearchFridge=c;this.TREE_COLUMNS=[].concat(ad(YKc));this.FLAT_LIST_COLUMNS=[].concat(ad(ZKc));this.inferEntityType=Mp;this.tableLimit=10;this.typeAndId$=
new E.BehaviorSubject([void 0,void 0]);this.typeAndId$.pipe(af(function(e){var g=k(e);e=g.next().value;g=g.next().value;return"savedsearch"===e?d.savedSearchFridge.watchOne(g):(0,E.of)(void 0)}));this.issueFilter$=this.typeAndId$.pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;if("issue"!==e){if("savedsearch"===e)return"savedsearchid:"+g;if("hotlist"===e)return"hotlistid:"+g;throw Error("Xd`"+e);}}));this.issueQuery$=this.issueFilter$.pipe(D(function(e){return{filter:e,pageSize:50,
sort:"modified_time:desc"}}));this.issueIds$=this.issueQuery$.pipe(af(function(e){return d.issueFridge.watchMany(e)}),D(function(e){return e.results.map(function(g){return g.issueId})}))};wh.Object.defineProperties(sW.prototype,{reference:{configurable:!0,enumerable:!0,set:function(a){this.entityReference=a;this.referencedId=Lp(a);this.entityType=Mp(a);this.typeAndId$.next([this.entityType,this.referencedId])}}});sW.\u0275fac=function(a){return new (a||sW)(C(dW),C(YH),C(kI))};
sW.\u0275cmp=Mc({type:sW,selectors:[["one-work-area"]],inputs:{reference:"reference"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","muted",4,"ngSwitchDefault"],[1,"margin-bottom",3,"ref","query"],[3,"issueIds","options","filters","tableColumns"],[1,"subtle-link","margin-top","inline-block",3,"href"],[1,"margin-bottom",3,"id"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options"],[1,"muted"]],template:function(a,b){a&1&&P(0,e1a,6,4,"ng-container",
0);a&2&&F("ngIf",b.referencedId)},dependencies:[Ow,Pw,Qw,Rw,oW,mW,rW,qW,eQ,lT,Uw,ax],styles:["[_nghost-%COMP%] { display: block; }"]});var tW=function(a,b,c,d,e,g,h){GE.call(this);this.prefsService=a;this.issueFridge=b;this.hotlistFridge=c;this.savedSearchFridge=d;this.hotlistPicker=e;this.issuePicker=g;this.savedSearchPicker=h;this.SECTION_SLUG="work-areas-wrapper-card";this.ROBOT_SLEEPING=Voc;this.inferEntityType=Mp;this.makeBuganizerUrl=g_a;this.getEntityTypeName=f_a;this.titles={};this.workAreaReferences$=this.prefsService.prefs$.pipe(D(function(m){var r;return null!=(r=null==m?void 0:m.pinned)?r:[]}));this.issues$=this.workAreaReferences$.pipe(D(function(m){return m.filter(function(r){return"issue"===
Mp(r)})}),D(function(m){return m.map(Lp)}),Ne(Yh),D(function(m){return m.filter(Ei)}),af(this.issueFridge.watchSet));this.hotlists$=this.workAreaReferences$.pipe(D(function(m){return m.filter(function(r){return"hotlist"===Mp(r)})}),D(function(m){return m.map(Lp)}),Ne(Yh),D(function(m){return m.filter(Ei)}),af(this.hotlistFridge.watchSet));this.savedSearches$=this.workAreaReferences$.pipe(D(function(m){return m.filter(function(r){return"savedsearch"===Mp(r)})}),D(function(m){return m.map(Lp)}),Ne(Yh),
D(function(m){return m.filter(Ei)}),af(this.savedSearchFridge.watchSet));this.issues$.pipe(bf(this.destroyed$)).subscribe(this.updateTitlesForIssues.bind(this));this.hotlists$.pipe(bf(this.destroyed$)).subscribe(this.updateTitlesForHotlists.bind(this));this.savedSearches$.pipe(bf(this.destroyed$)).subscribe(this.updateTitlesForSavedSearches.bind(this))};U(tW,GE);tW.\u0275dir=GE.\u0275dir;f=tW.prototype;f.isCollapsed=function(){var a;return!(null==(a=this.prefsService.prefs.collapsed)||!a["work-areas-wrapper-card"])};
f.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};f.updateTitlesForIssues=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;this.titles[b.issueId]=null==(c=b.snapshot[0])?void 0:c.title}};f.updateTitlesForHotlists=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[d_a(b.hotlistId)]=b.name};
f.updateTitlesForSavedSearches=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[e_a(b.searchId)]=b.name};f.onClickAddHotlist=function(){var a=this,b,c,d,e,g;return ne(function(h){if(1==h.nextAddress)return h.yield($Gc(a.hotlistPicker,[]),2);b=h.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=e.map(d_a);Rn(a.prefsService,g);se(h)})};
var $Kc=function(a){var b,c,d;return ne(function(e){if(1==e.nextAddress)return e.yield(a.issuePicker.open({title:"Choose a parent issue"}),2);b=e.yieldResult;d=null==(c=b)?void 0:c[0];Rn(a.prefsService,d);se(e)})};tW.prototype.onClickAddSavedSearch=function(){var a=this,b,c,d,e;return ne(function(g){if(1==g.nextAddress)return g.yield(a.savedSearchPicker.open(),2);b=g.yieldResult;d=null!=(c=b)?c:[];if(0===d.length)return g.return();e=d.map(e_a);Rn(a.prefsService,e);se(g)})};
wh.Object.defineProperties(tW.prototype,{workAreaReferences:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefsService.prefs.pinned)?a:[]}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsService.prefs}}});tW.\u0275fac=function(a){return new (a||tW)(C(NI),C(YH),C(FH),C(kI),C($T),C(MP),C(jW))};
tW.\u0275cmp=Mc({type:tW,selectors:[["work-areas-wrapper-card"]],features:[lf],decls:21,vars:5,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"heading-s"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",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"],["addMenu","matMenu"],["mat-menu-item","",
3,"click"],["mat-menu-item","","disabled",""],["emptyState",""],["gmat-tabs","","class","main-content margin-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,"center-text","empty-state","main-content"],["aria-hidden","true","alt","",2,"max-width","130px",3,"src"],[1,"type-l","muted","margin-y"],["mat-flat-button","","color",
"primary","title","Add a work area",3,"matMenuTriggerFor"],["svgIcon","add"],["gmat-tabs","",1,"main-content","margin-top",3,"selectedIndex","selectedIndexChange"],[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,"matMenuTriggerFor","click"],["svgIcon","more-settings-vertical",1,"icon-xs"],["data-test","edit-menu",1,"foo"],["editMenu","matMenu"],["mat-menu-item",
"","title","View the work area full screen",3,"routerLink"],["svgIcon","link",1,"icon-s"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-backward",1,"icon-s"],["svgIcon","arrow-forward",1,"icon-s"],["mat-menu-item","",3,"title","click"],["svgIcon","close",1,"icon-s"],[1,"margin-top",3,"reference"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"div",2)(3,"h3",3),R(4," Work areas "),H(5,"button",4),M("click",function(){return b.toggleCollapsed()}),J(6,"mat-icon",5),I(),P(7,
f1a,3,1,"button",6),H(8,"mat-menu",null,7)(10,"button",8),M("click",function(){return $Kc(b)}),R(11,"Issue (parent/child tree)"),I(),H(12,"button",8),M("click",function(){return b.onClickAddHotlist()}),R(13,"Hotlist"),I(),H(14,"button",8),M("click",function(){return b.onClickAddSavedSearch()}),R(15,"Saved Search"),I(),H(16,"button",9),R(17,"Component"),I()()()()(),P(18,g1a,7,2,"ng-template",null,10,hg),P(20,k1a,2,2,"mat-tab-group",11),I());if(a&2){var c=Lf(19);yf("collapsed",b.isCollapsed());B(7);
F("ngIf",0<b.workAreaReferences.length);B(13);F("ngIf",0<b.workAreaReferences.length)("ngIfElse",c)}},dependencies:[Nw,Ow,bB,YG,tN,uN,sN,pN,lC,jC,kC,qA,xM,yN,sW],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}.empty-state[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:32px}[_nghost-%COMP%]     .mat-tab-label .mat-tab-label-content{padding-left:4px;margin-right:-4px}[_nghost-%COMP%]     .mat-tab-label .menu-trigger{visibility:hidden}[_nghost-%COMP%]     .mat-tab-label.mat-tab-label-active .menu-trigger, [_nghost-%COMP%]     .mat-tab-label:hover .menu-trigger{visibility:visible}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%], .collapsed[_ngcontent-%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[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}"]});var aLc=new Zc("Analytics");var uW=function(a){this.clientStreamzService=a;this.analytics=Hc(aLc,{optional:!0})};uW.prototype.logTaskOpenedMetric=function(a){bLc(this,"task_opened",a);var b;null==(b=this.analytics)||b.logTaskOpened()};uW.prototype.logUsageMetric=function(a,b){this.clientStreamzService.logUsageMetric("task_prioritization."+a,b)};
var bLc=function(a,b,c){var d=V(c.resource,1).toLowerCase();a.logUsageMetric(b,!0);a.logUsageMetric(b+"_"+d,!0);c=k(c.signals);for(var e=c.next();!e.done;e=c.next()){e=e.value.type;var g={};e=(g["Future Availability"]="future_availability",g["Current Availability"]="current_availability",g["Submission Deadline"]="submission_deadline",g.Blocking="blocking",g["Current Iteration"]="current_iteration",g["Slow CL"]="slow_cl",g["Near SLO"]="near_slo",g["Out of SLO"]="out_of_slo",g.Accepted="accepted",g.P0=
"p0",g.Rollback="rollback",g.LGTM="lgtm",g.Unresolved="unresolved",g["Docwrap Outgoing"]="docwrap_outgoing",g["Docwrap Incoming"]="docwrap_incoming",g)[e];a.logUsageMetric(b+"_"+d+"_"+e,!0)}};uW.\u0275fac=function(a){return new (a||uW)(u(aC))};uW.\u0275prov=wc({token:uW,factory:uW.\u0275fac,providedIn:"root"});var cLc=new Zc("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var vW=function(a,b){this.elementRef=a;this.options=b};vW.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};vW.\u0275fac=function(a){return new (a||vW)(C(Bd),C(cLc))};
vW.\u0275dir=Qc({type:vW,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&&yf("gmat-mdc-button",!b.options.disableGmatStyle)}});var wW=function(){};wW.\u0275fac=function(a){return new (a||wW)};wW.\u0275mod=Oc({type:wW});wW.\u0275inj=xc({providers:[{provide:X$b,useValue:{color:"primary"}}],imports:[sD]});var dLc=new Zc("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var eLc=function(a,b){a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-tooltip")};eLc.\u0275fac=function(a){return new (a||eLc)(C(dLc),C(Hz))};eLc.\u0275dir=Qc({type:eLc,selectors:[["","matTooltip",""]],features:[Pf([{provide:Hz,useClass:fV}])]});var xW=function(){};xW.\u0275fac=function(a){return new (a||xW)};xW.\u0275mod=Oc({type:xW});xW.\u0275inj=xc({imports:[rC]});var q1a=function(){return[]},r1a=function(){return["zero-state"]},yW=function(a,b){this.hiddenTasks=a;this.metrics=b;this.tasks=[];this.areTasksHidden=this.showZeroState=!1;this.showHiddenTasks=new pw;this.displayedColumns=["title","signals","actions"]};yW.prototype.hideTask=function(a){this.hiddenTasks.hideTask(a);this.metrics.logUsageMetric("task_hidden",!0)};yW.prototype.unhideTask=function(a){this.hiddenTasks.unhideTask(a);this.metrics.logUsageMetric("task_hidden",!1)};
yW.prototype.logTaskOpenedMetric=function(a){this.metrics.logTaskOpenedMetric(a)};yW.\u0275fac=function(a){return new (a||yW)(C(KV),C(uW))};
yW.\u0275cmp=Mc({type:yW,selectors:[["tp-task-table"]],inputs:{tasks:"tasks",showZeroState:"showZeroState",areTasksHidden:"areTasksHidden"},outputs:{showHiddenTasks:"showHiddenTasks"},decls:3,vars:2,consts:[[3,"dataSource",4,"ngIf","ngIfElse"],["taskTable",""],[3,"dataSource"],["matColumnDef","zero-state"],["class","zero-state-cell",4,"matHeaderCellDef"],[4,"matCellDef"],["class","zero-state-row",4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"zero-state-cell"],["src","https://www.gstatic.com/devnotify/tp-empty.svg",
"alt",""],[4,"ngIf"],[3,"click"],[1,"zero-state-row"],["matColumnDef","title"],[4,"matHeaderCellDef"],["matColumnDef","signals"],["matColumnDef","actions"],[4,"matHeaderRowDef"],[3,"hidden-task",4,"matRowDef","matRowDefColumns"],[1,"tp-title-cell"],[3,"svgIcon"],[1,"tp-task-name"],["target","_blank",1,"task-link",3,"href","click"],["class","tp-signal","matTooltipClass","tp-tooltip",3,"matTooltip","matTooltipDisabled",4,"ngFor","ngForOf"],["matTooltipClass","tp-tooltip",1,"tp-signal",3,"matTooltip",
"matTooltipDisabled"],["mat-icon-button","","class","hide-button","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",3,"click",4,"ngIf","ngIfElse"],["hide",""],["mat-icon-button","","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",1,"hide-button",3,"click"],["mat-icon-button","","matTooltip","Hide this task","matTooltipClass","tp-tooltip","aria-label","hide task",1,"hide-button",3,"click"]],template:function(a,b){a&1&&
(P(0,s1a,6,6,"mat-table",0),P(1,E1a,12,3,"ng-template",null,1,hg));if(a&2){var c=Lf(2);F("ngIf",b.showZeroState)("ngIfElse",c)}},dependencies:function(){return[Nw,Ow,vW,bA,hV,qO,iO,mO,jO,hO,nO,kO,lO,oO,pO,eLc,pC,bB,Uw,zW]},styles:['html[_ngcontent-%COMP%]{--mat-table-background-color:#fff;--mat-table-header-headline-color:rgba(0,0,0,.87);--mat-table-row-item-label-text-color:rgba(0,0,0,.87);--mat-table-row-item-outline-color:rgba(0,0,0,.12)}html[_ngcontent-%COMP%]{--mat-table-header-container-height:56px;--mat-table-footer-container-height:52px;--mat-table-row-item-container-height:52px}html[_ngcontent-%COMP%]{--mat-table-header-headline-font:Roboto,"Helvetica Neue",sans-serif;--mat-table-header-headline-line-height:24px;--mat-table-header-headline-size:14px;--mat-table-header-headline-weight:500;--mat-table-header-headline-tracking:normal;--mat-table-row-item-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mat-table-row-item-label-text-line-height:20px;--mat-table-row-item-label-text-size:14px;--mat-table-row-item-label-text-weight:400;--mat-table-row-item-label-text-tracking:normal;--mat-table-footer-supporting-text-font:Roboto,"Helvetica Neue",sans-serif;--mat-table-footer-supporting-text-line-height:20px;--mat-table-footer-supporting-text-size:14px;--mat-table-footer-supporting-text-weight:400;--mat-table-footer-supporting-text-tracking:normal}.gmat-mdc-table[_ngcontent-%COMP%]{background-color:#fff;border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:#fff}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:#3c4043}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:#e3f2fd}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__leading[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__notch[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination[_ngcontent-%COMP%]{border-top-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:rgba(32,33,36,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#5f6368}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#5f6368)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#202124)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:inherit}.gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(60,64,67,.04);--odw-mdc-row-selected:var(--blue-50);--odw-mdc-row-selected-hover:rgba(232,240,254,.5)}.dark-mode[_ngcontent-%COMP%]   .gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(232,234,237,.04);--odw-mdc-row-selected:rgba(138,180,248,.24);--odw-mdc-row-selected-hover:rgba(138,180,248,.12)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%], .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:var(--text-default)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:var(--hairline)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:hover, .gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:var(--odw-mdc-row-hover)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:var(--odw-mdc-row-selected)}.gmat-mdc-table.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]:hover{background-color:var(--odw-mdc-row-selected-hover)}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color:#616161;--mdc-plain-tooltip-supporting-text-color:#fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-plain-tooltip-supporting-text-size:12px;--mdc-plain-tooltip-supporting-text-weight:400;--mdc-plain-tooltip-supporting-text-tracking:normal}.gmat-mdc-tooltip[_ngcontent-%COMP%]   .mat-mdc-tooltip[_ngcontent-%COMP%]:not(boost-specificity){--mdc-plain-tooltip-container-color:var(--tooltip-bg);--mdc-plain-tooltip-supporting-text-color:var(\n    --tooltip-text,var(--text-inverse)\n  )}  .tp-tooltip :not(.boost-specificity){--mdc-plain-tooltip-container-color:var(--tooltip-bg);--mdc-plain-tooltip-supporting-text-color:var(--text-inverse)}  .dark-mode .tp-tooltip :not(.boost-specificity){--mdc-plain-tooltip-container-color:hsla(0,0%,100%,.9);--mdc-plain-tooltip-supporting-text-color:var(--text-inverse)}[_nghost-%COMP%]   mat-table.gmat-mdc-table[_ngcontent-%COMP%]{background:var(--surface-default);border-radius:.25rem;margin:0 0 .75rem;overflow:hidden;box-shadow:0 1px 2px 0 rgba(0,0,0,.16),0 2px 6px 2px rgba(0,0,0,.08);border:none}[_nghost-%COMP%]   mat-header-row.mat-mdc-header-row.mat-mdc-header-row[_ngcontent-%COMP%]:not(.zero-state-row), [_nghost-%COMP%]   mat-row.mat-mdc-row.mat-mdc-row[_ngcontent-%COMP%]:not(.zero-state-row){height:unset;min-height:2rem}[_nghost-%COMP%]   mat-header-row.mat-mdc-header-row.mat-mdc-header-row.zero-state-row[_ngcontent-%COMP%], [_nghost-%COMP%]   mat-row.mat-mdc-row.mat-mdc-row.zero-state-row[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]{width:45%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{width:1.125rem;min-width:1.125rem;margin-right:.5rem;-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]   .tp-task-name[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}[_nghost-%COMP%]   .mat-column-signal[_ngcontent-%COMP%]{width:45%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;-ms-flex:0 0 100px;flex:0 0 100px;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:end}[_nghost-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]   .hide-button[_ngcontent-%COMP%]{height:2rem;padding:.25rem}.tp-signal[_ngcontent-%COMP%]{border-radius:.25rem;padding:.125rem .5rem;margin:0 .25rem;background:var(--tonal-fill-grey);border:1px solid var(--tonal-grey);font-size:.8125rem;white-space:nowrap;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}.tp-signal[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin:0}.task-link[_ngcontent-%COMP%]{color:unset;text-decoration:none}.zero-state-cell[_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;font-weight:400;gap:8px;padding:8px}.zero-state-cell[_ngcontent-%COMP%]:not(.boost-specificy){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.zero-state-cell[_ngcontent-%COMP%]   div[_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;height:70px;text-align:center}.zero-state-cell[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:contents}.hidden-task[_ngcontent-%COMP%]{-webkit-filter:grayscale(80%);filter:grayscale(80%);background:var(--tonal-fill-grey)}']});
var zW=function(){};zW.prototype.transform=function(a){var b={};return(b.Ariane="launch",b.Buganizer="buganizer",b.Critique="critique",b.Drive="docs",b)[a.source]};zW.\u0275fac=function(a){return new (a||zW)};zW.\u0275pipe=Rc({name:"taskIcon",type:zW,pure:!0});var AW=function(){};AW.\u0275fac=function(a){return new (a||AW)};AW.\u0275mod=Oc({type:AW});AW.\u0275inj=xc({imports:[bx,wW,iV,xW,uC]});var fLc=new SK(3);var gLc=new Zc("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var BW=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new E.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");F1a(b._elementRef.nativeElement).pipe(bf(this.destroyed)).subscribe(function(d){hLc(c,d[0],d[1])})};
BW.prototype.ngOnInit=function(){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label");hLc(this,null!=a?a:"","indeterminate"===this.progressSpinner.mode?"indeterminate":this.progressSpinner.value.toString())};BW.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};
var hLc=function(a,b,c){b="indeterminate"===c?b:b+" "+fLc.format(Number(c)/100);a.labelElement.textContent=b};BW.\u0275fac=function(a){return new (a||BW)(C(gLc),C(tM,10))};BW.\u0275dir=Qc({type:BW,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(pf("tabindex",null),yf("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var CW=function(){};CW.\u0275fac=function(a){return new (a||CW)};CW.\u0275mod=Oc({type:CW});CW.\u0275inj=xc({imports:[uM]});var iLc=et(["https://fonts.gstatic.com/s/i/productlogos/buganizer/v1/192px.svg"]),jLc=et(["https://fonts.gstatic.com/s/i/productlogos/critique/v1/192px.svg"]),kLc=et(["https://fonts.gstatic.com/s/i/productlogos/docs_2020q4/v12/192px.svg"]),lLc=et(["https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg"]),mLc=et(["https://fonts.gstatic.com/s/i/productlogos/taskflow/v1/192px.svg"]),nLc=et(["//googledata/icons/vf/material_next/svg/block/googlesymbols:default_48px.svg"]),oLc=et(["//googledata/icons/vf/material_next/svg/alternate_email/googlesymbols:default_48px.svg"]),
pLc=et(["//googledata/icons/vf/material_next/svg/schedule/googlesymbols:default_48px.svg"]),qLc=et(["//googledata/icons/vf/material_next/svg/unblock_flipped/googlesymbols:default_48px.svg"]),rLc=et(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility/v16/24px.svg"]),sLc=et(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility_off/v12/24px.svg"]),Q1a=function(a,b){return{showHidden:a,viewAll:b}},tLc=function(a,b){return{areAllTasksLoaded:a,tasks:b}},DW=function(a,b,c,d){this.tasksService=
b;this.hiddenTasks=c;this.metrics=d;this.tasks$=nKc(this.tasksService).pipe(uLc(this));this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.areTasksFiltered$=vLc(this);this.areTasksHidden$=this.areTasksHidden();this.destroyed$=new E.Subject;a.setDefaultFontSetClass("google-material-icons","mat-ligature-font");aB(a,"buganizer",Sg(iLc));aB(a,"critique",Sg(jLc));aB(a,"docs",Sg(kLc));aB(a,"launch",Sg(lLc));aB(a,"taskflow",Sg(mLc));aB(a,"blocking",Sg(nLc));aB(a,"mention",Sg(oLc));aB(a,"time",
Sg(pLc));aB(a,"unblocked",Sg(qLc));aB(a,"hide_task",Sg(rLc));aB(a,"show_task",Sg(sLc))};DW.prototype.ngOnInit=function(){this.viewAll$=this.isMyWork?this.tasksService.showAllMyWorkTasks$:this.tasksService.showAllNeedsMyInputTasks$;this.showHidden$=this.isMyWork?this.hiddenTasks.showHiddenMyWorkTasks$:this.hiddenTasks.showHiddenNeedsMyInputTasks$;this.metrics.logUsageMetric(this.isMyWork?"my_work_loaded":"needs_my_attention_loaded",!0);wLc(this)};
DW.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};DW.prototype.setShowHidden=function(a){this.showHidden$.next(a);this.metrics.logUsageMetric("toggle_show_hidden",a)};
var wLc=function(a){a.areAllTasksLoaded$.pipe(df(a.tasks$),bf(a.destroyed$)).subscribe(function(b){b=k(b);b.next();var c=b.next().value;a.metrics.logUsageMetric(a.isMyWork?"my_work_all_tasks_loaded":"needs_my_attention_all_tasks_loaded",!0);b=a.metrics;c=k(c);for(var d=c.next();!d.done;d=c.next())bLc(b,"task_shown",d.value)})};
DW.prototype.areTasksHidden=function(){var a=this.tasksService.readdedTasks$.pipe(uLc(this)),b=this.tasks$.pipe(af(function(c){return(0,E.combineLatest)(c.map(function(d){return d.isHidden$}))}),D(function(c){return c.filter(function(d){return!d})}),$e([]));return(0,E.combineLatest)([a,b]).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))};
var vLc=function(a){var b=a.tasksService.allTasks$.pipe(uLc(a));a=a.tasksService.filteredTasks$.pipe(uLc(a));return(0,E.zip)(b,a).pipe(D(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))},uLc=function(a){return(0,E.pipe)(D(function(b){return b.filter(function(c){return a.isMyWork===c.isMyWork})}))};wh.Object.defineProperties(DW.prototype,{reccTasks:{configurable:!0,enumerable:!0,get:function(){return this.isMyWork}},needsInput:{configurable:!0,enumerable:!0,get:function(){return!this.isMyWork}}});
DW.\u0275fac=function(a){return new (a||DW)(C($A),C(MV),C(KV),C(uW))};
DW.\u0275cmp=Mc({type:DW,selectors:[["tp-task-section"]],hostVars:2,hostBindings:function(a,b){a&2&&pf("data-recc-tasks",b.reccTasks)("data-needs-input",b.needsInput)},inputs:{isMyWork:"isMyWork"},standalone:!0,features:[Pf([$A]),Eka],ngContentSelectors:["*"],decls:11,vars:14,consts:[[1,"tp-table-title"],[1,"gmat-subhead-1"],[4,"ngIf"],["mode","indeterminate",3,"diameter",4,"ngIf","ngIfElse"],["controls",""],["mode","indeterminate",3,"diameter"],["mat-button","","color","primary",3,"click",4,"ngIf"],
["mat-button","","color","primary","class","show-hidden",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary",1,"show-hidden",3,"click"],[3,"tasks","showZeroState","areTasksHidden","showHiddenTasks"]],template:function(a,b){a&1&&(Gf(),H(0,"div",0)(1,"h2",1),P(2,G1a,2,0,"ng-container",2),P(3,H1a,2,0,"ng-container",2),I(),P(4,I1a,1,1,"mat-progress-spinner",3),S(5,"async"),P(6,R1a,4,8,"ng-template",null,4,hg),I(),P(8,T1a,2,1,"ng-container",2),S(9,"async"),
S(10,"async"));if(a&2){var c=Lf(7);B(2);F("ngIf",b.isMyWork);B(1);F("ngIf",!b.isMyWork);B(1);F("ngIf",!T(5,5,b.areAllTasksLoaded$))("ngIfElse",c);B(4);F("ngIf",Tf(11,tLc,T(9,7,b.areAllTasksLoaded$),T(10,9,b.tasks$)))}},dependencies:[bx,Ow,Uw,wW,vW,$z,CW,BW,tM,uC,AW,yW],styles:['.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#2196f3}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#ff9800}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#f44336}.gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#2196f3}.gmat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#ff9800}.gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#f44336}.gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]   .mdc-circular-progress__determinate-circle[_ngcontent-%COMP%], .gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]   .mdc-circular-progress__indeterminate-circle-graphic[_ngcontent-%COMP%]{stroke:var(--primary-default)}.gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]   .mdc-circular-progress__determinate-circle[_ngcontent-%COMP%], .gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]   .mdc-circular-progress__indeterminate-circle-graphic[_ngcontent-%COMP%]{stroke:var(--warn-default)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#2196f3}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#ff9800}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-text-button-label-text-color:rgba(0,0,0,.38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#2196f3;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#ff9800;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color:rgba(0,0,0,.12);--mdc-filled-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-filled-button-container-color:rgba(0,0,0,.12);--mdc-filled-button-label-text-color:rgba(0,0,0,.38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#2196f3;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#ff9800;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color:rgba(0,0,0,.12);--mdc-protected-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-color:rgba(0,0,0,.12);--mdc-protected-button-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-elevation:0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color:rgba(0,0,0,.12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#2196f3}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#ff9800}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-outline-color:rgba(0,0,0,.12);--mdc-outlined-button-disabled-outline-color:rgba(0,0,0,.12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:inherit;--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#6200ee;--mat-mdc-button-ripple-color:rgba(98,0,238,.1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#018786;--mat-mdc-button-ripple-color:rgba(1,135,134,.1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#b00020;--mat-mdc-button-ripple-color:rgba(176,0,32,.1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#2196f3;--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#ff9800;--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#f44336;--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(0,0,0,.38);--mdc-icon-button-disabled-icon-color:rgba(0,0,0,.38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size:40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color:rgba(0,0,0,.12);--mdc-fab-icon-color:rgba(0,0,0,.38);--mat-mdc-fab-color:rgba(0,0,0,.38)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color:#2196f3;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color:#ff9800;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.mat-mdc-extended-fab[_ngcontent-%COMP%]{--mdc-extended-fab-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-extended-fab-label-text-size:14px;--mdc-extended-fab-label-text-tracking:normal;--mdc-extended-fab-label-text-weight:500}.gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;text-transform:none}.gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__ripple[_ngcontent-%COMP%]{height:100%;position:absolute;overflow:hidden;width:100%;z-index:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.16}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.24}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.2}.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-text-button-hover-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-text-button-focus-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-text-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-text-button-label-text-color:#1e88e5;--mdc-text-button-focus-label-text-color:#0d47a1;--mdc-text-button-hover-label-text-color:#0d47a1}.gmat-mdc-button.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-text-button-label-text-color:#fb8c00;--mdc-text-button-focus-label-text-color:#e65100;--mdc-text-button-hover-label-text-color:#e65100}.gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-text-button-label-text-color:#e53935;--mdc-text-button-focus-label-text-color:#b71c1c;--mdc-text-button-hover-label-text-color:#b71c1c}.gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-text-button-label-text-color:rgba(60,64,67,.38)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#1e88e5;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#fb8c00;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#e53935;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-disabled-container-color:rgba(60,64,67,.12);--mdc-filled-button-container-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#1e88e5;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#fb8c00;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#e53935;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-disabled-container-color:rgba(60,64,67,.12);--mdc-protected-button-container-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-outlined-button-outline-color:#dadce0;--mdc-outlined-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-outlined-button-hover-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-outlined-button-focus-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:var(--mdc-outlined-button-focus-outline-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 23px 0 23px;border-width:1px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-trailing{padding:0 11px 0 23px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-leading{padding:0 23px 0 11px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__ripple[_ngcontent-%COMP%]{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__touch[_ngcontent-%COMP%]{left:-1px;width:calc(100% + 2px)}.gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-outlined-button-label-text-color:#1e88e5;--mdc-outlined-button-focus-label-text-color:#0d47a1;--mdc-outlined-button-hover-label-text-color:#0d47a1;--mdc-outlined-button-focus-outline-color:#0d47a1}.gmat-mdc-button.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-outlined-button-label-text-color:#fb8c00;--mdc-outlined-button-focus-label-text-color:#e65100;--mdc-outlined-button-hover-label-text-color:#e65100;--mdc-outlined-button-focus-outline-color:#e65100}.gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-outlined-button-label-text-color:#e53935;--mdc-outlined-button-focus-label-text-color:#b71c1c;--mdc-outlined-button-hover-label-text-color:#b71c1c;--mdc-outlined-button-focus-outline-color:#b71c1c}.gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-outline-color:rgba(60,64,67,.12);--mdc-outlined-button-disabled-outline-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#3c4043;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1)}.gmat-mdc-button.mat-mdc-icon-button[disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(60,64,67,.38);--mdc-icon-button-disabled-icon-color:rgba(60,64,67,.38)}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 2px 3px 0 rgba(60,64,67,.3),0 6px 10px 4px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active{box-shadow:0 4px 4px 0 rgba(60,64,67,.3),0 8px 12px 6px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill{--mdc-fab-container-color:#1e88e5;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mat-mdc-fab-color:#1e88e5}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill{--mdc-fab-container-color:#fb8c00;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mat-mdc-fab-color:#fb8c00}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill{--mdc-fab-container-color:#e53935;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mat-mdc-fab-color:#e53935}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#424242;--mat-mdc-button-persistent-ripple-color:#1a73e8;--mat-mdc-button-ripple-color:rgba(26,115,232,.1);--mat-mdc-fab-color:#424242;padding-top:2px;padding-right:24px;padding-bottom:2px;padding-left:24px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-style:solid;border-width:2px;padding-top:2px;padding-right:22px;padding-bottom:2px;padding-left:22px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:#4285f4}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover{--mat-mdc-fab-color:#174ea6}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--text-default);--mdc-text-button-label-text-color:var(--text-default);--mdc-text-button-focus-label-text-color:var(--text-default);--mdc-text-button-hover-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-text-button-label-text-color:var(--primary-default);--mdc-text-button-focus-label-text-color:var(--primary-default);--mdc-text-button-hover-label-text-color:var(--primary-default)}.gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-text-button-label-text-color:var(--warn-default);--mdc-text-button-focus-label-text-color:var(--warn-default);--mdc-text-button-hover-label-text-color:var(--warn-default)}.gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-text-button-label-text-color:var(--button-disabled-text)}.gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--text-default);--mdc-outlined-button-focus-label-text-color:var(--text-default);--mdc-outlined-button-hover-label-text-color:var(--text-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--text-default)}.gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-outlined-button-label-text-color:var(--primary-default);--mdc-outlined-button-focus-label-text-color:var(--primary-default);--mdc-outlined-button-hover-label-text-color:var(--primary-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--primary-default)}.gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-outlined-button-label-text-color:var(--warn-default);--mdc-outlined-button-focus-label-text-color:var(--warn-default);--mdc-outlined-button-hover-label-text-color:var(--warn-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--warn-default)}.gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--button-disabled-text);--mdc-outlined-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-outlined-button-outline-color:var(--button-disabled-text);--mdc-outlined-button-disabled-outline-color:var(\n    --button-disabled-text\n  )}.gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--button-raised-bg);--mdc-filled-button-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--primary-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--warn-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-filled-button-label-text-color:var(--button-disabled-text);--mdc-filled-button-disabled-container-color:var(--button-disabled-bg);--mdc-filled-button-container-color:var(--button-disabled-bg)}.gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--button-raised-bg);--mdc-protected-button-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--primary-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--warn-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-protected-button-label-text-color:var(--button-disabled-text);--mdc-protected-button-disabled-container-color:var(\n    --button-disabled-bg\n  );--mdc-protected-button-container-color:var(--button-disabled-bg)}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--text-default)}.gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--primary-default)}.gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--warn-default)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]:disabled   .mat-icon[_ngcontent-%COMP%]{color:var(--button-disabled-text)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{color:var(--primary-default);background-color:var(--button-raised-bg);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:hover, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab{color:var(--text-inverse);background-color:var(--primary-default);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:hover, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:var(--primary-high-contrast);--mdc-text-button-hover-label-text-color:var(--primary-high-contrast);--mat-mdc-button-ripple-color:var(--primary-high-contrast);--mat-mdc-button-persistent-ripple-color:var(--primary-high-contrast)}.mat-mdc-button-persistent-ripple.mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.5}.tp-table-title[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:12px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin:.83rem 0;height:2.5rem}.tp-table-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .tp-table-title[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0}.show-hidden[_ngcontent-%COMP%]{margin-left:auto}']});var xLc=[[["","needsInputBadge",""]]],EW=function(a){this.route=a};EW.prototype.ngOnInit=function(){};EW.\u0275fac=function(a){return new (a||EW)(C(Cm))};
EW.\u0275cmp=Mc({type:EW,selectors:[["tp-needs-attention"]],ngContentSelectors:["[needsInputBadge]"],decls:6,vars:2,consts:[[1,"tp-needs-attention"],[1,"tp-scrolling-pane"],[1,"tp-content"],[3,"isMyWork"]],template:function(a){a&1&&(Gf(xLc),H(0,"div",0)(1,"div",1)(2,"div",2),J(3,"tp-task-section",3),H(4,"tp-task-section",3),Hf(5),I()()()());a&2&&(B(3),F("isMyWork",!0),B(1),F("isMyWork",!1))},dependencies:[DW],styles:[".tp-toolbar[_ngcontent-%COMP%]{padding:.5rem .75rem;border-bottom:1px solid var(--hairline);height:1.8125rem;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}.tp-content[_ngcontent-%COMP%]{padding:0 .75rem .75rem}.tp-scrolling-pane[_ngcontent-%COMP%]{background:var(--surface-secondary)}"]});var yLc=["button"],zLc=new Zc("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),ALc=new Zc("MatButtonToggleGroup"),BLc={provide:dx,useExisting:Cc(function(){return FW}),multi:!0},CLc=0,DLc=function(a,b){this.source=a;this.value=b},FW=function(a,b){this._changeDetector=a;this._disabled=this._multiple=this._vertical=!1;this._controlValueAccessorChangeFn=function(){};this._onTouched=function(){};this._name="mat-button-toggle-group-"+CLc++;this.valueChange=new pw;this.change=new pw;this.appearance=b&&b.appearance?
b.appearance:"legacy"};f=FW.prototype;f.ngOnInit=function(){this._selectionModel=new tz(this.multiple,void 0,!1)};f.ngAfterContentInit=function(){this._selectionModel.select.apply(this._selectionModel,ad(this._buttonToggles.filter(function(a){return a.checked})))};f.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};f.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};f.registerOnTouched=function(a){this._onTouched=a};
f.setDisabledState=function(a){this.disabled=a};f._emitChangeEvent=function(a){a=new DLc(a,this.value);this._rawValue=a.value;this._controlValueAccessorChangeFn(a.value);this.change.emit(a)};
f._syncButtonToggle=function(a,b,c,d){var e=this;c=void 0===c?!1:c;d=void 0===d?!1:d;this.multiple||!this.selected||a.checked||(this.selected.checked=!1);this._selectionModel?b?this._selectionModel.select(a):this._selectionModel.deselect(a):d=!0;d?Promise.resolve().then(function(){return e._updateModelValue(a,c)}):this._updateModelValue(a,c)};f._isSelected=function(a){return this._selectionModel&&this._selectionModel.isSelected(a)};
f._isPrechecked=function(a){return"undefined"===typeof this._rawValue?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(function(b){return null!=a.value&&b===a.value}):a.value===this._rawValue};f._setSelectionByValue=function(a){var b=this;this._rawValue=a;this._buttonToggles&&(this.multiple&&a?(Array.isArray(a),this._clearSelection(),a.forEach(function(c){return b._selectValue(c)})):(this._clearSelection(),this._selectValue(a)))};
f._clearSelection=function(){this._selectionModel.clear();this._buttonToggles.forEach(function(a){return a.checked=!1})};f._selectValue=function(a){var b=this._buttonToggles.find(function(c){return null!=c.value&&c.value===a});b&&(b.checked=!0,this._selectionModel.select(b))};f._updateModelValue=function(a,b){b&&this._emitChangeEvent(a);this.valueChange.emit(this.value)};f._markButtonsForCheck=function(){var a;null==(a=this._buttonToggles)||a.forEach(function(b){return b._markForCheck()})};
wh.Object.defineProperties(FW.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._name=a;this._markButtonsForCheck()}},vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Gg(a)}},value:{configurable:!0,enumerable:!0,get:function(){var a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a.map(function(b){return b.value}):a[0]?a[0].value:void 0},set:function(a){this._setSelectionByValue(a);
this.valueChange.emit(this.value)}},selected:{configurable:!0,enumerable:!0,get:function(){var a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a:a[0]||null}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Gg(a);this._markButtonsForCheck()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Gg(a);this._markButtonsForCheck()}}});
FW.\u0275fac=function(a){return new (a||FW)(C(Hw),C(zLc,8))};
FW.\u0275dir=Qc({type:FW,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,b,c){a&1&&dg(c,GW,5);if(a&2){var d;bg(d=eg())&&(b._buttonToggles=d)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(a,b){a&2&&(pf("aria-disabled",b.disabled),yf("mat-button-toggle-vertical",b.vertical)("mat-button-toggle-group-appearance-standard","standard"===b.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",
disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Pf([BLc,{provide:ALc,useExisting:FW}])]});var ELc=yh(function(){}),GW=function(a,b,c,d,e,g){var h=ELc.call(this)||this;h._changeDetectorRef=b;h._elementRef=c;h._focusMonitor=d;h._checked=!1;h.ariaLabelledby=null;h._disabled=!1;h.change=new pw;e=Number(e);h.tabIndex=e||0===e?e:null;h.buttonToggleGroup=a;h.appearance=g&&g.appearance?g.appearance:"legacy";return h};U(GW,ELc);f=GW.prototype;
f.ngOnInit=function(){var a=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+CLc++;a&&(a._isPrechecked(this)?this.checked=!0:a._isSelected(this)!==this._checked&&a._syncButtonToggle(this,this._checked))};f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){var a=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef);a&&a._isSelected(this)&&a._syncButtonToggle(this,!1,!1,!0)};f.focus=function(a){this._buttonElement.nativeElement.focus(a)};
f._onButtonClick=function(){var a=this._isSingleSelector()?!0:!this._checked;a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched()));this.change.emit(new DLc(this,this.value))};f._markForCheck=function(){this._changeDetectorRef.markForCheck()};f._getButtonName=function(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null};
f._isSingleSelector=function(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple};
wh.Object.defineProperties(GW.prototype,{buttonId:{configurable:!0,enumerable:!0,get:function(){return this.id+"-button"}},appearance:{configurable:!0,enumerable:!0,get:function(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance},set:function(a){this._appearance=a}},checked:{configurable:!0,enumerable:!0,get:function(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked},set:function(a){a=Gg(a);a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&
this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled},set:function(a){this._disabled=Gg(a)}}});GW.\u0275fac=function(a){return new (a||GW)(C(ALc,8),C(Hw),C(Bd),C(Sx),ud("tabindex"),C(zLc,8))};
GW.\u0275cmp=Mc({type:GW,selectors:[["mat-button-toggle"]],viewQuery:function(a,b){a&1&&cg(yLc,5);if(a&2){var c;bg(c=eg())&&(b._buttonElement=c.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(a,b){a&1&&M("focus",function(){return b.focus()});a&2&&(pf("aria-label",null)("aria-labelledby",null)("id",b.id)("name",null),yf("mat-button-toggle-standalone",!b.buttonToggleGroup)("mat-button-toggle-checked",b.checked)("mat-button-toggle-disabled",b.disabled)("mat-button-toggle-appearance-standard",
"standard"===b.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[lf],ngContentSelectors:["*"],decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,
"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(Gf(),H(0,"button",0,1),M("click",function(){return b._onButtonClick()}),H(2,"span",2),Hf(3),I()(),J(4,"span",3)(5,"span",4));if(a&2){var c=Lf(1);F("id",b.buttonId)("disabled",b.disabled||null);pf("tabindex",b.disabled?-1:b.tabIndex)("aria-pressed",b.checked)("name",b._getButtonName())("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby);B(5);F("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)}},dependencies:[Sz],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],
encapsulation:2,changeDetection:0});var G2a=function(){return{standalone:!0}},FLc=Ohc("bhome-layout"),GLc=io.EXPERIMENTAL_HOMEPAGE,HW=function(a,b,c,d,e,g,h){var m=this;this.hackyPrefs=a;this.refreshMonitor=b;this.pageTitle=c;this.analytics=d;this.hostElement=e;this.userFeedback=g;this.tasks=h;this.isCurrentUserHomepage=!0;FLc();this.announcement=xl().preload.announcement;this.VALID_WIDGETS_A=tjc;this.VALID_WIDGETS_W=vjc;this.VALID_WIDGETS_T=ujc;this.log=console.log.bind(console);this.showSettings=!1;this.ldapOverride=Yl();this.taskPrioritizationTasksCount$=
(0,E.defer)(function(){return oKc(m.tasks)});this.onAnyClick=function(r){r=jwa(r);for(var v=k(Object.entries(HLc)),y=v.next();!y.done;y=v.next()){var A=k(y.value);y=A.next().value;A=A.next().value;if(r.includes(y)){m.analytics.trackEvent(GLc,"click",A);break}}}};
HW.prototype.ngOnInit=function(){this.pageTitle.setTitle("Home");var a;var b=null!=(a=(new URLSearchParams(document.location.search)).get("cfg"))?a:void 0;this.hackyPrefs.init(this.ldapOverride,b);this.isCurrentUserHomepage=null==this.ldapOverride?!0:Yl()===Zl;this.hostElement.nativeElement.addEventListener("click",this.onAnyClick,!0)};HW.prototype.ngOnDestroy=function(){this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var F2a=function(a){return ne(function(b){if(1==b.nextAddress)return b.yield(Mjc(a.hackyPrefs),2);window.location.reload();se(b)})};wh.Object.defineProperties(HW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});HW.\u0275fac=function(a){return new (a||HW)(C(NI),C(WH),C(bW),C(TH),C(Bd),C(zQ),C(MV))};
HW.\u0275cmp=Mc({type:HW,selectors:[["homepage-wrapper"]],decls:3,vars:3,consts:[["href","https://fonts.googleapis.com/css2?family=Google+Material+Icons:wght@400;500;700","rel","stylesheet"],["class","flex-kids-y pos-fill bg-off-main overflow overflow-on-print-media",3,"settings-open","show-hidden-settings",4,"ngIf"],[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"grid-header","padded-left","padded-s-right","flex-kids-x","align-items-center","justify-flex-end"],
["class","announcement-banner carded",4,"ngIf","ngIfElse"],["noFeedbackMsg",""],[1,"hidden-settings",3,"submit"],["type","text","placeholder","Show Dashboard for user",2,"width","180px",3,"ngModel","ngModelOptions","ngModelChange"],["type","submit",1,"display-none"],["mat-icon-button","","matTooltip","Configure home page","aria-label","Configure home page",1,"gmat-button","large",3,"click"],["svgIcon","settings","size","large"],[1,"settings","bg-muted","border-bottom"],[1,"padded","margin-top"],[1,
"hidden-settings"],[1,"mat-elevation-z0",3,"change"],["aria-label","Alerts Above","matTooltip","Alerts Above","value","layout-a",3,"checked"],[1,"google-material-icons","rotate-icon"],["aria-label","Side-by-side","matTooltip","Side-by-side","value","layout-b",3,"checked"],["aria-label","Tab Layout","matTooltip","Tab Layout","value","layout-c",3,"checked"],["svgIcon","child-components-24px",1,"small"],[1,"mat-elevation-z0","bordered",3,"change"],["aria-label","true",1,"padded-s-x",3,"value","checked"],
["aria-label","false",1,"padded-s-x",3,"value","checked"],[3,"submit"],[1,"flex-kids-x","gap","margin-bottom"],[1,"flex-1"],[1,"row"],["type","text",3,"ngModel","ngModelOptions","ngModelChange"],[1,"muted","type-xs"],["type","button","mat-button","","color","primary","class","xs display-block",3,"click",4,"ngFor","ngForOf"],["type","submit","mat-flat-button","",1,"gmat-button"],[1,"subtle-link","muted","margin-x",3,"href"],["type","button","mat-button","","color","warn","title","This will reset all your dashboard settings to the default",
1,"gmat-button","margin-left",3,"click"],["mat-icon-button","","color","primary","title","Refresh","aria-label","Refresh","type","button",1,"gmat-button","large",3,"click"],["svgIcon","refresh","size","large"],["cdkDropListGroup",""],["class","a",4,"ngIf"],[1,"w"],["class","carded bg-main margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","margin-top",4,"ngIf"],["class","carded bg-main","style","margin-bottom: 24px;","cdkDropList","",3,"cdkDropListDropped",4,"ngIf"],["class","margin-top",3,"assignedOnly",
4,"ngIf"],["class","t",4,"ngIf"],[1,"announcement-banner","carded"],[3,"innerHtml"],["mat-flat-button","","matTooltip","Every voice counts; only ~1000 people can see the homepage.",1,"gmat-button","small","margin-s-left",3,"click"],["mat-stroked-button","","matTooltip","Every voice counts; only ~1000 people can see the homepage.",1,"gmat-button","medium","plain-announcement-btn","margin-s-right",3,"click"],["type","button","mat-button","","color","primary",1,"xs","display-block",3,"click"],[1,"a"],
[1,"margin-top"],[1,"carded","bg-main","margin-s-bottom"],["cdkDropList","",1,"carded","bg-main",2,"margin-bottom","24px",3,"cdkDropListDropped"],["pinnedIssues","cdkDropList"],[1,"margin-top",3,"assignedOnly"],[1,"t"],["class","margin-bottom",4,"ngIf"],[1,"margin-bottom"],["class","needs-input-badge","needsInputBadge","",4,"ngIf"],["needsInputBadge","",1,"needs-input-badge"]],template:function(a,b){a&1&&(J(0,"link",0),P(1,H2a,83,51,"article",1),S(2,"async"));a&2&&(B(1),F("ngIf",T(2,1,b.hackyPrefs.prefs$)))},
dependencies:[UU,Nw,Ow,bB,uL,tL,vx,xg,ox,px,ux,sx,FW,GW,qA,tC,jV,lV,PV,QV,OV,SV,UV,CKc,WV,XV,EW,ZV,$V,FT,aW,RV,NV,tW,gW,hW,Uw],styles:['[_nghost-%COMP%]{display:block}.grid[_ngcontent-%COMP%]{display:grid;-webkit-column-gap:24px;-moz-column-gap:24px;column-gap:24px;grid-template:-webkit-min-content 1fr/1fr 1fr;grid-template:min-content 1fr/1fr 1fr;grid-template-areas:"a a" "w t"}.grid[_ngcontent-%COMP%] > section[_ngcontent-%COMP%]{min-width:0}button.mat-icon-button.active[_ngcontent-%COMP%], button.mat-icon-button.active[_ngcontent-%COMP%]:not(.mat-primary):not([disabled]){color:#1a73e8;color:var(--primary)}.grid-header[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:100%;-moz-box-sizing:border-box;box-sizing:border-box;z-index:1}.settings[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:8px}.settings[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline-block;min-width:16rem}.settings[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .settings[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px;width:300px}.a[_ngcontent-%COMP%]{grid-area:a}.w[_ngcontent-%COMP%]{grid-area:w}.t[_ngcontent-%COMP%]{grid-area:t}.layout-a[_ngcontent-%COMP%]{grid-template-areas:"a a" "w t"}.layout-b[_ngcontent-%COMP%]{grid-template-areas:"w a" "w t"}.layout-c[_ngcontent-%COMP%]{grid-template-areas:"a a" "t t" "w w"}@media (max-width:1400px){.grid[_ngcontent-%COMP%], .layout-a[_ngcontent-%COMP%], .layout-b[_ngcontent-%COMP%]{grid-template-areas:"a a" "w w" "t t"}.layout-c[_ngcontent-%COMP%]{grid-template-areas:"a a" "t t" "w w"}}mat-button-toggle-group[_ngcontent-%COMP%]{box-shadow:none}mat-button-toggle-group[_ngcontent-%COMP%]   .mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#d2e3fc;background-color:var(--selected-bg)}[_nghost-%COMP%]     .mat-button-toggle-label-content{padding:0}.rotate-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.plain-announcement-btn[_ngcontent-%COMP%]{top:1px}.announcement-banner[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50);position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:2px;padding:4px;padding-left:8px}[mat-button].xs[_ngcontent-%COMP%]{height:16px;line-height:16px;padding:0 2px;font-weight:400;font-size:.6875rem;font-family:Roboto,Arial,sans-serif}[_nghost-%COMP%]     .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%]     .carded{box-shadow:0 2px 3px 0 rgba(0,0,0,.3),0 6px 10px 4px rgba(0,0,0,.15)}[_nghost-%COMP%]     .carded .carded{border:1px solid;border-color:#dadce0;border-color:var(--divider);box-shadow:none}.hidden-settings[_ngcontent-%COMP%]{display:none}.show-hidden-settings[_ngcontent-%COMP%]   .hidden-settings[_ngcontent-%COMP%]{display:revert}[_nghost-%COMP%]     h2{font-weight:500}[_nghost-%COMP%]     .tp-needs-attention .bv2-view{position:relative;top:auto}[_nghost-%COMP%]     .tp-needs-attention .tp-content{padding:0}[_nghost-%COMP%]     .tp-needs-attention .tp-toolbar{display:none}[_nghost-%COMP%]     .tp-needs-attention .tp-table-title{padding-left:0}[_nghost-%COMP%]     .tp-needs-attention .tp-scrolling-pane{background:transparent}.needs-input-badge[_ngcontent-%COMP%]{background:#d93025;border-radius:50%;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-size:.625rem;font-weight:600;height:20px;line-height:20px;margin-left:-4px;overflow:hidden;text-align:center;width:20px}[_nghost-%COMP%]     .cdk-drop-list-dragging:not(table[cdkdroplistsortingdisabled]), [_nghost-%COMP%]     .cdk-drop-list-receiving:not(table[cdkdroplistsortingdisabled]){box-shadow:0 1px 3px 0 rgba(0,0,0,.3),0 4px 8px 3px rgba(0,0,0,.15);border:2px dashed;border-color:#1a73e8;border-color:var(--primary)}.settings[_ngcontent-%COMP%]{overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;max-height:100%;-webkit-transition:max-height .4s ease-in-out;transition:max-height .4s ease-in-out}.settings.collapsed[_ngcontent-%COMP%]{max-height:0;border-bottom-color:transparent}article.bg-off-main[_ngcontent-%COMP%]{-webkit-transition:background-color .2s ease-out;transition:background-color .2s ease-out}article.settings-open.bg-off-main[_ngcontent-%COMP%]{background-color:#e8eaed;background-color:var(--c200)}[_nghost-%COMP%]     my-projects-as-cards .edit-controls{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out;-webkit-transition-delay:.2s;transition-delay:.2s}[_nghost-%COMP%]     .settings-open my-projects-as-cards button.remove{display:inline-block}[_nghost-%COMP%]     .settings-open my-projects-as-cards .edit-controls{max-width:100%}[_nghost-%COMP%]     .needs-input-badge{background-color:#5f6368;background-color:var(--icon);color:#fff;color:var(--text-inverse)}\n/*# sourceMappingURL=homepage_wrapper.css.map */']});
var HLc={"BUTTON[projectAdd]":"project-add-btn","HOTLIST-AS-PROJECT-CARD":"project-hotlist","ISSUE-AS-PROJECT-CARD":"project-issue","SAVED-SEARCH-AS-PROJECT-CARD":"project-savedsearch","MY-WORK-CARD":"project-mywork","TP-TASK-SECTION[reccTasks]":"tasks-recommended","TP-TASK-SECTION[needsInput]":"tasks-needs-input"};var IW=function(){};IW.\u0275fac=function(a){return new (a||IW)};IW.\u0275mod=Oc({type:IW});IW.\u0275inj=xc({imports:[bx,Lz,Lz]});var JW=function(){};JW.\u0275fac=function(a){return new (a||JW)};JW.\u0275mod=Oc({type:JW});JW.\u0275inj=xc({imports:[cG,Jx,QC,JT,uD,IW,Kz,cy,YN,Zy,aK,sP]});var KW=function(){};KW.\u0275fac=function(a){return new (a||KW)};KW.\u0275mod=Oc({type:KW});KW.\u0275inj=xc({imports:[cG,aO,JN,WN]});var LW=function(){};LW.\u0275fac=function(a){return new (a||LW)};LW.\u0275mod=Oc({type:LW});LW.\u0275inj=xc({imports:[cG,xN,uC,QC,zP]});var MW=function(){};MW.\u0275fac=function(a){return new (a||MW)};MW.\u0275mod=Oc({type:MW});MW.\u0275inj=xc({imports:[cG,xN,uC,QC]});var NW=function(){};NW.\u0275fac=function(a){return new (a||NW)};NW.\u0275mod=Oc({type:NW});NW.\u0275inj=xc({imports:[cG,xN,uC,QC,LW,MW]});var OW=function(){this.roundCorners=this.showDividers=!1};OW.\u0275fac=function(a){return new (a||OW)};
OW.\u0275cmp=Mc({type:OW,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&yf("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Gf(),Hf(0))},styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap}.show-dividers[_nghost-%COMP%]     button.gmat-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-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-button:not(:last-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:last-child) button.gmat-button{margin-right:-1px;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:not(:first-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:first-child) button.gmat-button{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:hover{z-index:2}[_nghost-%COMP%]:not(.round-corners)     button.gmat-button:focus{z-index:3}/*# sourceMappingURL=button-group.css.map */"],changeDetection:0});var PW=function(a,b){this.constants=a;this.activeSession=b;this.STATUS_JS_FULL_TEXT=Al;this.ISSUE_TYPES=qlc;this.STATUSES=plc;this.SEVERITIES_VALUES=rlc;this.PRIORITIES_VALUES=olc;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new pw;this.onQuickBulkEdit=new pw;this.onBulkEditIssueRelation=new pw;this.onBulkMarkIssueRead=new pw;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=EE(this.activeSession,"enableBulkEditUi")};PW.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
PW.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};PW.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};PW.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};PW.\u0275fac=function(a){return new (a||PW)(C(tJ),C(bt))};
PW.\u0275cmp=Mc({type:PW,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:[["mat-button","","class","gmat-button medium",3,"disabled","matMenuTriggerFor",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"disabled",
"click"],["editMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],["prioritySubmenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["severitySubmenu","matMenu"],["statusSubmenu","matMenu"],["typeSubmenu","matMenu"],["mat-menu-item","",3,"matTooltip","click",4,"ngFor","ngForOf"],["ArchiveSubmenu","matMenu"],["inProdSubmenu","matMenu"],["linkMenu","matMenu"],["ccMenu","matMenu"],["mat-button","",1,"gmat-button",
"medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"matTooltip","click"]],template:function(a,b){a&1&&(H(0,"b-button-group"),P(1,I2a,4,2,"button",0),H(2,"button",1),M("click",function(){return b.bulkMarkIssueRead()}),R(3),I(),P(4,J2a,4,2,"button",0),P(5,K2a,4,2,"button",0),I(),H(6,"mat-menu",null,2)(8,"button",3),M("click",function(){return b.bulkEdit("ASSIGNEE")}),R(9,"Assignee"),I(),H(10,"button",3),M("click",function(){return b.bulkEdit("COMPONENT")}),
R(11,"Component"),I(),H(12,"button",4),R(13,"Priority"),I(),H(14,"button",4),R(15,"Severity"),I(),H(16,"button",4),R(17,"Status"),I(),H(18,"button",4),R(19,"Type"),I(),H(20,"button",3),M("click",function(){return b.bulkEdit("VERIFIER")}),R(21,"Verifier"),I(),H(22,"button",3),M("click",function(){return b.bulkEdit("REPORTER")}),R(23,"Reporter"),I(),H(24,"button",3),M("click",function(){return b.bulkEdit("CHANGELIST")}),R(25,"Changelist"),I(),H(26,"button",3),M("click",function(){return b.bulkEdit("CUSTOM_FIELDS")}),
R(27,"Custom Fields"),I(),H(28,"button",4),R(29," Archival state "),I(),H(30,"button",3),M("click",function(){return b.bulkEdit("FOUND_IN")}),R(31,"Found In"),I(),H(32,"button",3),M("click",function(){return b.bulkEdit("SLO_START_TIME")}),R(33,"SLO Start Time"),I(),P(34,L2a,2,0,"button",5),H(35,"button",3),M("click",function(){return b.bulkEdit("VERIFIED_IN")}),R(36,"Verified In"),I(),H(37,"button",3),M("click",function(){return b.bulkEdit("TARGETED_TO")}),R(38,"Targeted To"),I(),H(39,"button",4),
R(40,"In Prod"),I(),J(41,"mat-divider"),H(42,"button",3),M("click",function(){return b.bulkEdit("COMMENT")}),R(43,"Add Comment"),I()(),H(44,"mat-menu",null,6),P(46,M2a,2,1,"button",7),I(),H(47,"mat-menu",null,8),P(49,N2a,2,1,"button",7),I(),H(50,"mat-menu",null,9),P(52,O2a,2,1,"button",7),I(),H(53,"mat-menu",null,10),P(55,P2a,2,2,"button",11),I(),H(56,"mat-menu",null,12)(58,"button",3),M("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!0)}),R(59,"Archive"),I(),H(60,"button",3),M("click",function(){return b.quickBulkEdit("IS_ARCHIVED",
!1)}),R(61,"Unarchive"),I()(),H(62,"mat-menu",null,13)(64,"button",3),M("click",function(){return b.quickBulkEdit("IN_PROD",!0)}),R(65,"In Prod"),I(),H(66,"button",3),M("click",function(){return b.quickBulkEdit("IN_PROD",!1)}),R(67,"Not in Prod"),I()(),H(68,"mat-menu",null,14)(70,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!0)}),R(71,"Mark as Blocked By"),I(),H(72,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKING",!0)}),R(73,"Mark as Blocking"),
I(),H(74,"button",3),M("click",function(){return b.bulkEditIssueRelation("PARENT",!0)}),R(75,"Add Parent"),I(),H(76,"button",3),M("click",function(){return b.bulkEditIssueRelation("DUPLICATE")}),R(77,"Duplicate"),I(),H(78,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!1)}),R(79,"Unmark as Blocked By"),I(),H(80,"button",3),M("click",function(){return b.bulkEditIssueRelation("BLOCKING",!1)}),R(81,"Unmark as Blocking"),I(),H(82,"button",3),M("click",function(){return b.bulkEditIssueRelation("PARENT",
!1)}),R(83,"Remove Parent"),I()(),H(84,"mat-menu",null,15)(86,"button",3),M("click",function(){return b.quickBulkEdit("CC",!0)}),R(87,"CC me"),I(),H(88,"button",3),M("click",function(){return b.quickBulkEdit("CC",!1)}),R(89,"Un-CC me"),I(),H(90,"button",3),M("click",function(){return b.bulkEdit("CC")}),R(91,"Edit CC"),I()());if(a&2){var c=Lf(45),d=Lf(48),e=Lf(51),g=Lf(54),h=Lf(57),m=Lf(63);B(1);F("ngIf",b.enableBulkEditUi);B(1);F("disabled",b.isAnonymous);B(1);Mf(" ",b.readStatePrompt," ");B(1);F("ngIf",
b.enableBulkEditUi);B(1);F("ngIf",b.enableBulkEditUi);B(7);F("matMenuTriggerFor",c);B(2);F("matMenuTriggerFor",d);B(2);F("matMenuTriggerFor",e);B(2);F("matMenuTriggerFor",g);B(10);F("matMenuTriggerFor",h);B(6);F("ngIf",b.enableBulkEstimatedEffortOption);B(5);F("matMenuTriggerFor",m);B(7);F("ngForOf",b.PRIORITIES_VALUES);B(3);F("ngForOf",b.SEVERITIES_VALUES);B(3);F("ngForOf",b.STATUSES);B(3);F("ngForOf",b.ISSUE_TYPES)}},dependencies:[lC,jC,kC,Nw,Ow,GN,OW,qA,xM,tC],encapsulation:2,changeDetection:0});var QW=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new pw;this.flagAsSpamClicked=new pw;this.isAnonymous=this.activeSession.isAnonymous()};QW.\u0275fac=function(a){return new (a||QW)(C(bt))};
QW.\u0275cmp=Mc({type:QW,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},decls:1,vars:1,consts:[[4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["moreMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&
P(0,S2a,9,4,"ng-container",0);a&2&&F("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[lC,jC,kC,Ow,GN,qA],encapsulation:2,changeDetection:0});var RW=function(){};RW.\u0275fac=function(a){return new (a||RW)};RW.\u0275mod=Oc({type:RW});RW.\u0275inj=xc({imports:[cG]});var SW=function(){};SW.\u0275fac=function(a){return new (a||SW)};SW.\u0275mod=Oc({type:SW});SW.\u0275inj=xc({imports:[mC,cG,bO,RW,QC,JT,uD]});var TW=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new E.Observable(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var g=d.watchForRestoredConnection$.subscribe(e);d.watchForRestoredConnection$.subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){g.unsubscribe()}});this.watchForRestoredConnection$=(0,E.fromEvent)(window,"focus").pipe(af(function(){return d.connectionChecker.ok$}),
De(function(e){return e}),Oe(),D(function(){}),Xe())};TW.prototype.intercept=function(a,b){return EE(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?ILc(this,b,a):b.handle(a)};
var ILc=function(a,b,c){return new E.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){JLc(a,b,c,h).pipe(bf(g)).subscribe(d)}}),g=new E.ReplaySubject(1);return function(){g.next();e.unsubscribe()}})},JLc=function(a,b,c,d){return 403===d.status||404===d.status||429===d.status?(0,E.throwError)(d):a.connectionChecker.ok$.pipe(af(function(e){return e?(0,E.throwError)(d):a.notifyUserAndWaitForGoodConnection$.pipe(af(function(){return b.handle(c)}))}))};
TW.\u0275fac=function(a){return new (a||TW)(u(bt),u(UW),u(VW))};TW.\u0275prov=wc({token:TW,factory:TW.\u0275fac,providedIn:"root"});var VW=function(){this.showRefreshSso$=new E.BehaviorSubject(!1)};VW.\u0275fac=function(a){return new (a||VW)};VW.\u0275prov=wc({token:VW,factory:VW.\u0275fac,providedIn:"root"});
var UW=function(a){var b=this;this.ngZone=a;this.ok$=new E.Observable(function(c){var d=oo("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};UW.\u0275fac=function(a){return new (a||UW)(u(ef))};UW.\u0275prov=wc({token:UW,factory:UW.\u0275fac,providedIn:"root"});var KLc={provide:JYb,useClass:TW,multi:!0};var LLc=function(a,b){return[a,b]},MLc=[[["b-callout-body"]],[["b-callout-actions"]]],WW=function(){this.messageType="info";this.format="default"};WW.prototype.getIconName=function(){if(null!=this.iconOverride)return this.iconOverride;switch(this.messageType){case "caution":return"warning";case "success":return"success";case "error":return"alert";default:return"info"}};WW.\u0275fac=function(a){return new (a||WW)};
WW.\u0275cmp=Mc({type:WW,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&zf(Tf(2,LLc,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"],[3,"svgIcon"],["role","alert",1,"content"],[1,"actions"]],template:function(a,b){a&1&&(Gf(MLc),H(0,"div",0),J(1,"mat-icon",1),H(2,"div",2),Hf(3),I(),H(4,"div",3),Hf(5,1),I()());a&2&&(B(1),
F("svgIcon",b.getIconName()))},dependencies:[bB],styles:["[_nghost-%COMP%]{display:block;border-radius:8px;color:#3c4043;color:var(--c800);padding: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%]{flex-grow:1}mat-icon[_ngcontent-%COMP%]{margin-left:8px;margin-right:4px}.callout[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:36px}.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%]    .mat-stroked-button, .info[_nghost-%COMP%]    .mat-icon-button{color:#1a73e8;color:var(--link)}.info[_nghost-%COMP%]    .mat-flat-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%]    .mat-stroked-button, .archived[_nghost-%COMP%]    .mat-icon-button, .caution[_nghost-%COMP%]    .mat-button, .caution[_nghost-%COMP%]    .mat-stroked-button, .caution[_nghost-%COMP%]    .mat-icon-button{color:rgba(0,0,0,.7);color:var(--text-warn)}.archived[_nghost-%COMP%]    .mat-flat-button, .archived[_nghost-%COMP%]    .mat-raised-button, .caution[_nghost-%COMP%]    .mat-flat-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%]    .mat-stroked-button, .error[_nghost-%COMP%]    .mat-icon-button{color:#c5221f;color:var(--bad-link)}.error[_nghost-%COMP%]    .mat-flat-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%]    .mat-stroked-button, .success[_nghost-%COMP%]    .mat-icon-button{color:#1e8e3e;color:var(--good-link)}.success[_nghost-%COMP%]    .mat-flat-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 XW=function(){};XW.\u0275fac=function(a){return new (a||XW)};XW.\u0275dir=Qc({type:XW,selectors:[["b-callout-body"],["b-callout-actions"]]});var NLc=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};NLc.\u0275fac=function(a){return new (a||NLc)(C(bt),C(VW))};
NLc.\u0275cmp=Mc({type:NLc,selectors:[["b-sso-expired-callout-outlet"]],decls:2,vars:3,consts:[["format","app",3,"messageType",4,"ngIf"],["format","app",3,"messageType"],[4,"ngIf","ngIfElse"],["signedInMessage",""],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(P(0,Y2a,7,4,"b-callout",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.showRefreshSsoMessage$))},dependencies:[Ow,WW,XW,qA,Uw],encapsulation:2,changeDetection:0});var OLc=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;EE(this.session,"weAreHiring")&&DJ(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};OLc.\u0275fac=function(a){return new (a||OLc)(C(bt),C(CJ),C(PH,2))};
OLc.\u0275cmp=Mc({type:OLc,selectors:[["b-hiring-banner"]],features:[Pf([PH])],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&&P(0,Z2a,2,0,"a",0);a&2&&F("ngIf",b.showHiringBanner)},dependencies:[Ow],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 YW=function(){};YW.\u0275fac=function(a){return new (a||YW)};YW.\u0275mod=Oc({type:YW});YW.\u0275inj=xc({imports:[cG]});var ZW=function(a){this.hotkeys=a};ZW.prototype.ngOnInit=function(){this.hotkeys.pause()};ZW.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};ZW.\u0275fac=function(a){return new (a||ZW)(C(GM))};
ZW.\u0275cmp=Mc({type:ZW,selectors:[["b-hotkeys-dialog"]],decls:8,vars:1,consts:[["mat-dialog-title",""],[4,"ngFor","ngForOf"],["mat-button","","mat-dialog-close","","type","button",1,"gmat-button","medium","primary"],["colspan","2"],[1,"bv2-hotkeys-header"],[1,"bv2-hotkeys-key"],[1,"bv2-hotkeys-value"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Keyboard shortcuts"),I(),H(2,"mat-dialog-content")(3,"table"),P(4,a3a,6,2,"thead",1),I()(),H(5,"mat-dialog-actions")(6,"button",2),R(7,"Close"),I()());
a&2&&(B(4),F("ngForOf",yqc(b.hotkeys)))},dependencies:[Nw,qA,EA,FA,GA,HA],encapsulation:2});var $W=function(){};$W.\u0275fac=function(a){return new (a||$W)};$W.\u0275mod=Oc({type:$W});$W.\u0275inj=xc({imports:[cG,QC,IA]});var c3a=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.sloEndTime=this.sloStartTime=this.sloStatus=this.position=this.effort=null;this.signals=[]};var aX=function(a,b,c){this.internalIssues=a;this.params=b;this.numTotalResults=c;this.numPages=Math.ceil(c/b.resultsPerPage);this.startIndex=(b.page-1)*b.resultsPerPage+1;this.endIndex=Math.min(this.startIndex+b.resultsPerPage-1,c);a=b.sortColumns;var d;!(d=0===a.length)&&(d=1===a.length)&&(a=a[0],d="ISSUE_ID"===a.fieldId.type&&"DESCENDING"===a.direction?!0:"CREATED_TIME"===a.fieldId.type?!0:"MODIFIED_TIME"===a.fieldId.type?!0:"POSITION"===a.fieldId.type?!0:!1);this.isPreSort=d;this.totalText=this.getTotalText(c,
b.page,b.resultsPerPage,this.isPreSort);this.numResults=c;this.changed$=new E.BehaviorSubject(this)},PLc=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var g=e3a(e,b.componentMap[na(e.snapshot).componentId||0]);c&&c[e.issueId]&&(g.position=c[e.issueId]);return g});return new aX(d,a,b.numTotalResults)},QLc=function(a,b){var c=b.issuesWithSignals.map(function(d){var e,g=e3a(d.issue,null!=(e=b.components[na(d.issue.snapshot).componentId||0])?e:null);g.signals=d.signals;return g});return new aX(c,
a,b.numTotalResults)};aX.prototype.hasPreviousPage=function(){return 1<this.params.page};aX.prototype.hasNextPage=function(){return this.params.page<this.numPages};var bX=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1};aX.prototype.getIssueIdFromIndex=function(a){if(a>=this.startIndex&&a<=this.endIndex&&(a-=this.startIndex,a<this.issues.length))return this.issues[a].issueId};
var RLc=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=bX(a,c.issueId);-1!==e&&(e-=a.startIndex,d3a(a.issues[e],c,d),a.issues[e].selected=!1)}a.changed$.next(a)},SLc=function(a,b,c,d){b=bX(a,b);-1!==b&&(b-=a.startIndex,void 0!==d&&(a.issues[b].lastViewedTime=null!=d?d:null),void 0!==c&&(a.issues[b].isRead=c),void 0===c&&void 0===d&&(a.issues[b].isRead=!!a.issues[b].lastViewedTime&&a.issues[b].lastViewedTime>=a.issues[b].majorModifiedTime));
a.changed$.next(a)};aX.prototype.clone=function(){var a=new aX(this.internalIssues,this.params,this.numTotalResults);a.changed$.next(a);return a};aX.prototype.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};wh.Object.defineProperties(aX.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var TLc=function(a,b,c,d,e){this.issueApi=a;this.hotlistApi=b;this.needsAttentionApi=c;this.paths=d;this.params=e;this.resultPromise=this.searchResultsPage=null};
TLc.prototype.fetchIssues=function(){var a=this;if(1>this.params.page)return Promise.reject("Invalid page requested.");if(!this.resultPromise)if(this.params.fromNeedsAttention)this.resultPromise=this.needsAttentionApi.listIssues(this.params.sortColumns[0],this.params.trackerIds,this.params.selectedSignals);else if(this.params.hotlistId)this.resultPromise=this.hotlistApi.getPagedHotlistContent(this.params.hotlistId,this.params.page,this.params.resultsPerPage,this.params.sortColumns,this.params.trackerIds);
else{var b={p:this.params.page,count:this.params.resultsPerPage,trackerIds:this.params.trackerIds},c=this.paths.toApiSortParamValue(this.params.sortColumns);c&&(b.s=c);var d;this.resultPromise=this.issueApi.listIssues(null!=(d=this.params.query)?d:"",b)}return this.resultPromise.then(function(e){a.searchResultsPage||(a.searchResultsPage=a.params.fromNeedsAttention?QLc(a.params,e):PLc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})};
var ULc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var cX=function(a,b,c,d,e){this.$window=a;this.issueApi=b;this.hotlistApi=c;this.needsAttentionApi=d;this.paths=e;this.previousResultsFetcher=this.nextResultsFetcher=this.currentResultsFetcher=null;this.focusedIssueIndex=-1},XLc=function(a,b){var c=cm();VLc(b.page)?(WLc(a,b),a.currentResultsFetcher.fetchIssues().then(function(d){d.getIssueIdFromIndex&&(d.numPages&&b.page>d.numPages?c.reject(d.numPages):c.resolve(d))},function(d){c.reject(d)})):c.reject(1);return c.promise},ZLc=function(a){var b=cm(),
c=null;a.currentResultsFetcher?c=a.currentResultsFetcher.params:c=YLc(a);c?(WLc(a,c),a.currentResultsFetcher.fetchIssues().then(function(d){d.getIssueIdFromIndex?b.resolve(d):b.reject(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},dX=function(a){a.currentResultsFetcher=null;a.nextResultsFetcher=null;a.previousResultsFetcher=null;a.focusedIssueIndex=-1},$Lc=function(a,b){var c=cm();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(1<Math.abs(d-a.currentResultsFetcher.params.page))return c.reject("Requested index is out of range."),c.promise;var e=Zh(a.currentResultsFetcher.params);e.page=d;WLc(a,e);a.currentResultsFetcher.fetchIssues().then(function(g){g.getIssueIdFromIndex&&((g=g.getIssueIdFromIndex(b))?(a.focusedIssueIndex=b,c.resolve(g)):c.reject("No issue available at index "+b))},function(g){c.reject(g)});return c.promise};
cX.prototype.getFocusedIssue=function(){return this.focusedIssueIndex};
var aMc=function(a){a.currentResultsFetcher?a.currentResultsFetcher.fetchIssues().then(function(b){b.getIssueIdFromIndex&&(a.focusedIssueIndex=b.endIndex>=b.startIndex?b.startIndex:-1)}).catch(function(b){Oh("unexpected error fetching:",b)}):a.focusedIssueIndex=-1},YLc=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 Pk(new Lk(b.fieldId),
b.direction)}));return a}return null},bMc=function(a,b,c){b=Zh(b);b.page=c;return new TLc(a.issueApi,a.hotlistApi,a.needsAttentionApi,a.paths,b)},cMc=function(a,b){a.currentResultsFetcher||(a.currentResultsFetcher=bMc(a,b,b.page),a.currentResultsFetcher.fetchIssues().catch(function(c){Oh("unexpected error fetching:",c)}));!a.previousResultsFetcher&&1<b.page&&(a.previousResultsFetcher=bMc(a,b,b.page-1),a.previousResultsFetcher.fetchIssues().catch(function(c){Oh("unexpected error fetching:",c)}));!a.nextResultsFetcher&&
ULc(a.currentResultsFetcher)&&(a.nextResultsFetcher=bMc(a,b,b.page+1),a.nextResultsFetcher.fetchIssues().catch(function(c){Oh("unexpected error fetching:",c)}))},WLc=function(a,b){b.page=di(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("Zd");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&&Yh(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&Yh(b.trackerIds,c.trackerIds)?a.currentResultsFetcher.params.returnUrl=b.returnUrl:dX(a)}cMc(a,b);b=JSON.stringify(a.currentResultsFetcher.params);a.$window.sessionStorage.setItem("buganizer.searchParams",b)},
VLc=function(a){var b=di(""+a);return isNaN(b)||b!=Number(a)||1>b||2147483647<b?!1:!0};cX.\u0275fac=function(a){return new (a||cX)(u(FE),u(WE),u(sH),u(pV),u(dH))};cX.\u0275prov=wc({token:cX,factory:cX.\u0275fac,providedIn:"root"});var eX=function(a,b,c,d){GE.call(this);var e=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.pageTitle=c;this.issuePermissionService=d;this.handlers$=this.paramsService.routeParams$.pipe(Ne(Yh),af(function(g){return e.onRouteParamsChanged(g)}));this.init=function(){e.subscriptions.add(e.handlers$.subscribe(function(){}))};this.initOnce=Oza(this.init)};U(eX,GE);eX.\u0275dir=GE.\u0275dir;eX.prototype.onRouteParamsChanged=function(a){return a.issueId?dMc(this,a.issueId):(0,E.of)()};
var dMc=function(a,b){return(0,E.combineLatest)([bI(a.issueFetchResponseFridge,b),a.issuePermissionService.accessLevel$]).pipe($e([]),D(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e;if(d=null==(e=null==d?void 0:d.issue)?void 0:e.snapshot[0].title){e=d+" ["+b+"]";if(c){a:switch(c){case "EXTERNAL_PARTNER":c="Visible to Partners";break a;case "EXTERNAL_PUBLIC":c="Visible to Public";break a;default:c=""}c&&(e=e+" - "+c)}a.pageTitle.setTitle(e)}else a.pageTitle.setTitle("View issue")}))};
eX.\u0275fac=function(a){return new (a||eX)(u(IJ),u(aI),u(bW),u(TJ))};eX.\u0275prov=wc({token:eX,factory:eX.\u0275fac,providedIn:"root"});var hMc=function(a){var b=this;this.parentElement=a;this.lastTimestamp=this.state=this.y=this.x=0;this.animate=function(c){3!==b.state&&requestAnimationFrame(b.animate);if(!(30>c-b.lastTimestamp)){b.lastTimestamp=c;if(2===b.state){if(eMc(b),-50>b.x||b.x>document.documentElement.clientWidth+50||-50>b.y||b.y>document.documentElement.clientHeight+50)b.element.remove(),b.state=3}else{b.moveFlipCounter--;0>=b.moveFlipCounter&&(0===b.state?b.state=1:1===b.state&&(b.state=0),b.moveFlipCounter=50+100*Math.random(),
fMc(b));if(1===b.state)return;b.turnCounter--;0>=b.turnCounter&&(b.direction=360*Math.random(),b.turnCounter=40*Math.random());0>b.x&&90<b.direction&&270>b.direction&&(b.direction=(180-b.direction)%360);b.x>document.documentElement.clientWidth&&(90>b.direction||270<b.direction)&&(b.direction=(180-b.direction)%360);0>b.y&&180<b.direction&&(b.direction=360-b.direction);b.y>document.documentElement.clientHeight&&180>b.direction&&(b.direction=360-b.direction);eMc(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();fMc(this);gMc(this)};hMc.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
hMc.prototype.stop=function(){this.state=2;fMc(this);this.direction=180*Math.atan2(this.y-document.documentElement.clientHeight/2,this.x-document.documentElement.clientWidth/2)/Math.PI+90*(Math.random()-.5);this.speed=15+10*Math.random()};
var gMc=function(a){var b=Math.floor(4*Math.random());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)}};
hMc.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 fMc=function(a){a.element.src=1===a.state?"https://www.gstatic.com/buganizer/img/v0/logo.svg":"https://www.gstatic.com/buganizer/img/v0/bug-move.svg"},eMc=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};hMc.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var iMc=function(a){this.element=a;this.bugs=[]};iMc.prototype.start=function(){for(var a=this,b=0;3>b;b++)jMc(this);this.intervalSubscription=(0,E.interval)(1E4).subscribe(function(){jMc(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};iMc.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=k(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};
var jMc=function(a){var b=new hMc(a.element);b.start();a.bugs.push(b)};var fX=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new E.ReplaySubject(1);this.active$=new E.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new iMc(d.nativeElement);this.active$.pipe(bf(this.destroyed$),Ne()).subscribe(function(g){g?kMc(e):lMc(e)})};fX.prototype.ngOnInit=function(){"visible"===document.visibilityState&&mMc(this)};fX.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var mMc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};fX.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),mMc(this))};fX.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var lMc=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()})},kMc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
fX.\u0275fac=function(a){return new (a||fX)(C(ef),C(qJ),C(jG),C(Bd))};
fX.\u0275cmp=Mc({type:fX,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onUserEvent()},!1,Ed)("keydown",function(){return b.onUserEvent()},!1,Ed)("mousemove",function(){return b.onUserEvent()},!1,Ed)("wheel",function(){return b.onUserEvent()},!1,Ed)("touchstart",function(){return b.onUserEvent()},!1,Ed)("focus",function(){return b.onUserEvent()},!1,Ed)("visibilitychange",function(){return b.onVisibilityChange()},!1,Mfa)},decls:0,vars:0,template:function(){},
encapsulation:2});var nMc=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(D(function(d){return(d.enableBugScreensaver||!1)&&c}))};nMc.\u0275fac=function(a){return new (a||nMc)(C(qJ),C(bt))};nMc.\u0275cmp=Mc({type:nMc,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(P(0,f3a,1,0,"bug-screensaver",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.isEnabled$))},dependencies:[Ow,fX,Uw],encapsulation:2});var gX=function(){};gX.\u0275fac=function(a){return new (a||gX)};gX.\u0275mod=Oc({type:gX});gX.\u0275inj=xc({imports:[cG]});var hX=function(){};hX.\u0275fac=function(a){return new (a||hX)};hX.\u0275mod=Oc({type:hX});hX.\u0275inj=xc({imports:[cG,iG,hT,gX]});var oMc=function(a){this.currentTracker=a;this.trackerName$=this.currentTracker.tracker$.pipe(D(function(b){var c;return null!=(c=null==b?void 0:b.name)?c:""}));this.trackerLogo$=this.currentTracker.tracker$.pipe(D(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.logoUrl)?d:""}));this.trackerCoc$=this.currentTracker.tracker$.pipe(D(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.cocUrl)?d:""}))};
oMc.\u0275fac=function(a){return new (a||oMc)(C(eL))};
oMc.\u0275cmp=Mc({type:oMc,selectors:[["b-footer"]],decls:2,vars:3,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&&(P(0,h3a,17,9,"footer",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.currentTracker.inTracker$))},dependencies:[Ow,Uw],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 iX=function(){};iX.\u0275fac=function(a){return new (a||iX)};iX.\u0275mod=Oc({type:iX});iX.\u0275inj=xc({imports:[cG]});var pMc=function(){};pMc.\u0275fac=function(a){return new (a||pMc)};pMc.\u0275cmp=Mc({type:pMc,selectors:[["b-ng2-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&J(0,"router-outlet")},dependencies:[NG],encapsulation:2});var qMc=function(){};qMc.\u0275fac=function(a){return new (a||qMc)};qMc.\u0275cmp=Mc({type:qMc,selectors:[["b-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&J(0,"b-ng2-router-outlet")},dependencies:[pMc],encapsulation:2});var jX=function(){};jX.\u0275fac=function(a){return new (a||jX)};jX.\u0275mod=Oc({type:jX});jX.\u0275inj=xc({imports:[cG,bH]});var kX=function(a,b,c,d){var e=this;this.paths=a;this.context=b;this.currentTracker=c;this.componentFridge=d;this.createIssuePath=this.paths.createIssue();this.component$=this.context.getComponentId().pipe(af(function(g){return g?e.componentFridge.watch(g):(0,E.of)(void 0)}),D(function(g){return g&&!g.archived?g:void 0}));this.visibleOptions$=(0,E.combineLatest)([this.currentTracker.tracker$,this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Me(0),D(function(g){var h=k(g);
g=h.next().value;var m=h.next().value,r=h.next().value;h=h.next().value;return rMc(e,null!=g?g:void 0,m,r,h)}));this.buttonLabel$=this.visibleOptions$.pipe(D(function(g){return g.length?"Create":"Create Issue"}));this.buttonIcon$=this.currentTracker.tracker$.pipe(D(function(g){var h;return"OPEN_SOURCE"===(null==g?void 0:null==(h=g.branding)?void 0:h.theme)?"create-open-source-36px":"create-color-36px"}))};kX.prototype.ngOnInit=function(){};kX.prototype.trackClick=function(a){en("create","click",a)};
var rMc=function(a,b,c,d,e){var g=new Map;b=b&&c&&!bm(b.trackerId)&&b.trackerId!==c.trackerId;c=(null==c?0:c.componentId)?String(c.componentId):void 0;if(null!==e){var h={};g.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||void 0===c||(e={},g.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||null===d||(e={},g.set("similar_to_current_issue",a.paths.createIssue((e.template_issue=d,e))),e={},g.set("blocked_by_current_issue",a.paths.createIssue((e.blockedByIssueIds=
d,e.component=c,e))),e={},g.set("blocking_current_issue",a.paths.createIssue((e.blockingIssueIds=d,e.component=c,e))),e={},g.set("parent_of_current_issue",a.paths.createIssue((e.childrenIssueIds=d,e.component=c,e))),e={},g.set("child_of_current_issue",a.paths.createIssue((e.parentIssueId=d,e.component=c,e))));return[].concat(ad(g.entries())).map(function(m){var r=k(m);m=r.next().value;r=r.next().value;return{name:FBa(m),path:r}})};kX.\u0275fac=function(a){return new (a||kX)(C(dH),C(QJ),C(eL),C(PF))};
kX.\u0275cmp=Mc({type:kX,selectors:[["b-create-issue-button"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"label","icon","href","segments","clickMain","clickSegment"]],template:function(a,b){a&1&&(P(0,k3a,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.visibleOptions$))},dependencies:[Ow,$O,Uw],encapsulation:2,changeDetection:0});var Sp=function(a){this.internalArray_=l(a)};U(Sp,q);f=Sp.prototype;f.getHotlistId=function(){return uj(this,1)};f.setHotlistId=function(a){return Nb(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return zj(this,2,a)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return zj(this,3,a)};f.getArchived=function(){return Vj(this,4)};f.setArchived=function(a){return Ib(this,4,a)};f.getDefaultOrderBy=function(){return V(this,5)};
f.setDefaultOrderBy=function(a){return zj(this,5,a)};f.getDisplayPreferences=function(){return W(this,Tm,6)};f.setDisplayPreferences=function(a){return lj(this,Tm,6,a)};f.getCreatedTime=function(){return W(this,Rh,7)};f.getModifiedTime=function(){return W(this,Rh,8)};f.getOwnersList=function(){return oj(this,fj,9)};f.setOwnersList=function(a){return rj(this,9,a)};f.getEtag=function(){return Sj(this,10)};f.setEtag=function(a){Dt(this,10,a)};Sp.repeatedFields_=[9];Sp.prototype.toObject=function(){return sMc(this)};
var sMc=function(a){if(null!=a)return t(a),{hotlistId:uj(a,1),name:V(a,2),description:V(a,3),archived:Vj(a,4),defaultOrderBy:V(a,5),displayPreferences:Lhc(a.getDisplayPreferences()),createdTime:mu(a.getCreatedTime()),modifiedTime:mu(a.getModifiedTime()),ownersList:Ub(a.getOwnersList(),TD),etag:Xb(a.getEtag())}};var m3a=function(a){this.internalArray_=l(a)};U(m3a,q);f=m3a.prototype;f.getHotlistId=function(){return uj(this,1)};f.setHotlistId=function(a){return Nb(this,1,a)};f.getHotlist=function(){return W(this,Sp,2)};f.setHotlist=function(a){return lj(this,Sp,2,a)};f.toObject=function(){return tMc(this)};var tMc=function(a){if(null!=a)return t(a),{hotlistId:uj(a,1),hotlist:sMc(a.getHotlist())}};var n3a=function(a){this.internalArray_=l(a)};U(n3a,q);f=n3a.prototype;f.getSavedSearchId=function(){return uj(this,1)};f.setSavedSearchId=function(a){return Nb(this,1,a)};f.getSavedSearch=function(){return W(this,Tp,2)};f.setSavedSearch=function(a){return lj(this,Tp,2,a)};f.toObject=function(){return uMc(this)};var uMc=function(a){if(null!=a)return t(a),{savedSearchId:uj(a,1),savedSearch:aic(a.getSavedSearch())}};var lX=function(a){this.internalArray_=l(a)};U(lX,q);lX.prototype.getBookmarkGroupId=function(){return uj(this,1)};lX.prototype.setBookmarkGroupId=function(a){return Nb(this,1,a)};lX.prototype.getBookmarkGroup=function(){return W(this,Vp,2)};var Rp=function(a){this.internalArray_=l(a)};U(Rp,q);f=Rp.prototype;f.getEntityReferenceCase=function(){return Oi(this,mX)};f.getHotlist=function(){return fk(this,m3a,1,mX)};f.setHotlist=function(a){return Ko(this,1,mX,a)};
f.getSavedSearch=function(){return fk(this,n3a,2,mX)};f.setSavedSearch=function(a){return Ko(this,2,mX,a)};f.getBookmarkGroup=function(){return fk(this,lX,3,mX)};var Vp=function(a){this.internalArray_=l(a)};U(Vp,q);f=Vp.prototype;f.getBookmarkGroupId=function(){return uj(this,1)};f.setBookmarkGroupId=function(a){return Nb(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return zj(this,2,a)};f.getDescription=function(){return V(this,3)};
f.setDescription=function(a){return zj(this,3,a)};f.getArchived=function(){return Vj(this,4)};f.setArchived=function(a){return Ib(this,4,a)};f.addItems=function(a,b){return Mo(this,5,Rp,a,b)};f.getOwnersList=function(){return oj(this,fj,6)};f.setOwnersList=function(a){return rj(this,6,a)};lX.prototype.toObject=function(){return vMc(this)};var vMc=function(a){if(null!=a)return t(a),{bookmarkGroupId:uj(a,1),bookmarkGroup:wMc(a.getBookmarkGroup())}},mX=[1,2,3];Rp.prototype.toObject=function(){return xMc(this)};
var xMc=function(a){if(null!=a)return t(a),{hotlist:tMc(a.getHotlist()),savedSearch:uMc(a.getSavedSearch()),bookmarkGroup:vMc(a.getBookmarkGroup())}};Vp.repeatedFields_=[5,6];Vp.prototype.toObject=function(){return wMc(this)};var wMc=function(a){if(null!=a)return t(a),{bookmarkGroupId:uj(a,1),name:V(a,2),description:V(a,3),archived:Vj(a,4),itemsList:Ub(oj(a,Rp,5),xMc),ownersList:Ub(a.getOwnersList(),TD)}};var Up=function(a){this.internalArray_=l(a)};U(Up,q);f=Up.prototype;f.getEntityReferenceCase=function(){return Oi(this,nX)};f.getHotlistId=function(){return Ki(this,yn(this,nX,1))};f.setHotlistId=function(a){return Co(this,1,nX,a)};f.getSavedSearchId=function(){return Ki(this,yn(this,nX,4))};f.setSavedSearchId=function(a){return Co(this,4,nX,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return uk(this,2,a)};f.hasName=function(){return Jk(this,2)};
f.getNameOrUndefined=function(){return Tt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return uk(this,3,a)};f.hasDescription=function(){return Jk(this,3)};var nX=[1,4];Up.prototype.toObject=function(){return yMc(this)};var yMc=function(a){if(null!=a)return t(a),{hotlistId:n(Po(a,yn(a,nX,1))),savedSearchId:n(Po(a,yn(a,nX,4))),name:n(X(a,2)),description:n(X(a,3))}};var oX=function(a){this.internalArray_=l(a,0,oX.messageId)};U(oX,q);f=oX.prototype;f.getBookmarkGroupId=function(){return Ki(this,1)};f.setBookmarkGroupId=function(a){return cj(this,1,a)};f.getName=function(){return V(this,2)};f.setName=function(a){return uk(this,2,a)};f.hasName=function(){return Jk(this,2)};f.getNameOrUndefined=function(){return Tt(this,2)};f.getDescription=function(){return V(this,3)};f.setDescription=function(a){return uk(this,3,a)};f.hasDescription=function(){return Jk(this,3)};
f.getArchived=function(){return Vj(this,5)};f.setArchived=function(a){return Xj(this,5,a)};f.getItemList=function(){return oj(this,Up,6)};f.setItemList=function(a){rj(this,6,a)};f.addItem=function(a,b){return Mo(this,6,Up,a,b)};f.setItem=function(a,b){return zt(this,6,Up,a,b)};f.getItemCount=function(){return yt(this,Up,6)};f.getAdminUsersList=function(){return oj(this,vi,9)};f.setAdminUsersList=function(a){rj(this,9,a)};f.getIt=function(){return W(this,Vp,10)};f.setIt=function(a){lj(this,Vp,10,a)};
f.hasIt=function(){return Pj(this,Vp,10)};oX.repeatedFields_=[6,9];oX.prototype.toObject=function(){return zMc(this)};var zMc=function(a){if(null!=a)return t(a),{bookmarkGroupId:n(p(a,1)),name:n(X(a,2)),description:n(X(a,3)),archived:n(Ur(a,5)),itemList:Ub(a.getItemList(),yMc),adminUsersList:Ub(a.getAdminUsersList(),ED),it:wMc(a.getIt())}};oX.messageId="b.BookmarkGroup";var r3a=Wm("enableLeanFeA");var pX=function(a){this.internalArray_=l(a,0,pX.messageId)};U(pX,q);pX.prototype.getBookmarkGroupsList=function(){return oj(this,oX,1)};pX.repeatedFields_=[1,2];pX.prototype.toObject=function(){if(null!=this){t(this);var a={bookmarkGroupsList:Ub(this.getBookmarkGroupsList(),zMc),bookmarkGroupsItList:Ub(oj(this,Vp,2),wMc)}}else a=void 0;return a};pX.messageId="b.BookmarkGroupListResponse";var qX=function(a){this.executor=a};qX.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:oX}).then(s3a)};qX.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:pX}).then(u3a)};
qX.prototype.create=function(a){var b=new oX;b.setName(a.name);a.description&&b.setDescription(a.description);r3a&&b.setIt((new Vp).setName(a.name).setDescription(a.description));return this.executor.post({url:"action/bookmark_groups",body:b,responseConstructor:oX}).then(s3a)};
qX.prototype.update=function(a){var b=new oX;if(r3a){var c=b.setIt,d,e,g=(new Vp).setBookmarkGroupId(a.bookmarkGroupId).setName(a.name).setDescription(a.description).setArchived(a.archived),h=null!=(e=null==(d=a.item)?void 0:d.map(o3a))?e:[];d=rj(g,5,h).setOwnersList(a.adminUsers.map(Ara));c.call(b,d)}b.setBookmarkGroupId(String(a.bookmarkGroupId));b.setName(a.name);a.description&&b.setDescription(a.description);b.setArchived(a.archived);var m;b.setItemList((null!=(m=a.item)?m:[]).map(t3a));var r;
b.setAdminUsersList((null!=(r=a.adminUsers)?r:[]).map(wi));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:oX}).then(s3a)};qX.\u0275fac=function(a){return new (a||qX)(u(xD))};qX.\u0275prov=wc({token:qX,factory:qX.\u0275fac,providedIn:"root"});var rX=function(a,b){this.router=a;this.location=b},Bxb=function(a){var b=a.location.url();Ks(a.router,"/",{skipLocationChange:!0}).then(function(){return Ks(a.router,b,{skipLocationChange:!0})})};rX.\u0275fac=function(a){return new (a||rX)(u(WG),u(cH))};rX.\u0275prov=wc({token:rX,factory:rX.\u0275fac,providedIn:"root"});var sX=function(a,b,c,d,e,g,h,m,r,v){GE.call(this);var y=this;this.reloadService=a;this.activeSession=b;this.userApi=c;this.errorHandler=d;this.bLocation=e;this.paths=g;this.issuePagination=h;this.sidebarItemFactory=m;this.appEvents=r;this.analytics=v;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];AMc(this);BMc(this);this.fetchUserHotlists();a=function(){AMc(y)};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(){BMc(y)}));a=function(){y.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};U(sX,GE);sX.\u0275dir=GE.\u0275dir;
var AMc=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=CMc(a,b.hotlists);a.sidebarData.bookmarkGroups=DMc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=CMc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=DMc(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},BMc=function(a){a.userApi.getUserSavedSearches().then(function(b){b=EMc(a,b);a.sidebarData.userSearches=b;raa(a.userSavedSearches);
taa(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};sX.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){FMc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var CMc=function(a,b){return(b||[]).map(function(c){return GMc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},DMc=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new HMc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},EMc=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 IMc(a.sidebarItemFactory,c)})},FMc=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 GMc(a.sidebarItemFactory,c)});raa(a.userHotlists);taa(a.userHotlists,b)};
sX.prototype.onAnchorClick=function(a,b){var c,d=null==(c=b.target)?void 0:c.innerText;d=(void 0===d?"":d).replace(/\b(\d+)\b/g,"");this.analytics.trackEvent("nav","click",d.trim());b.metaKey||b.ctrlKey||b.shiftKey||0!==b.button||(dX(this.issuePagination),whc(this.paths,a)&&Bxb(this.reloadService),this.bLocation.url(a),b.preventDefault(),b.stopPropagation())};sX.\u0275fac=function(a){return new (a||sX)(u(rX),u(bt),u(BH),u(oG),u(cH),u(dH),u(cX),u(tX),u(sG),u(TH))};
sX.\u0275prov=wc({token:sX,factory:sX.\u0275fac,providedIn:"root"});var uX=function(a,b,c,d,e,g,h,m){this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=g;this.paths=h;this.userPreferencesManager=m;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};uX.prototype.isEditable=function(){return JMc(this)};uX.prototype.isSelected=function(){return vhc(this.paths,this.href)};
uX.prototype.isUnstarable=function(){return!JMc(this)&&this.starred};
var JMc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},KMc=function(a,b){var c=rJ(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},LMc=function(a,b){mG(a.butterBar,"Updating homepage...",0);glc(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Oe()).subscribe(function(){mG(a.butterBar,"Homepage updated")})},MMc=function(a,b,c,d,e,g,h,m,r,v,y,A){uX.call(this,a,b,c,d,e,h,m,r);this.hotlistApi=
g;this.errorHandler=v;this.confirmationDialogService=y;this.appEvents=A;this.href=m.viewHotlist(a.id);this.type="HOTLIST"};U(MMc,uX);f=MMc.prototype;f.isPreferredHomepage=function(){return KMc(this,"HOTLIST")};f.setAsPreferredHomepage=function(){LMc(this,"HOTLIST")};
f.archive=function(){var a=this;mG(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});mG(a.butterBar,'Archived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unarchive=function(){var a=this;mG(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});mG(a.butterBar,'Unarchived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar hotlist: "+this.name,content:kp("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()}})};
f.doUnstar=function(){var a=this;mG(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){mG(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var vX=function(a,b,c,d,e,g,h,m){uX.call(this,a,b,c,d,e,g,h,m);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};U(vX,uX);vX.prototype.isUnstarable=function(){return!1};
vX.prototype.unstar=function(){};vX.prototype.isPreferredHomepage=function(){return KMc(this,"SAVED_SEARCH")};vX.prototype.setAsPreferredHomepage=function(){LMc(this,"SAVED_SEARCH")};
var HMc=function(a,b,c,d,e,g,h,m,r,v,y,A){uX.call(this,a,b,c,d,e,g,h,m);this.errorHandler=r;this.sidebarItemFactory=v;this.confirmationDialogService=y;this.appEvents=A;this.items=[];a=k(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(GMc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(IMc(this.sidebarItemFactory,b))}this.items.sort(function(G,N){return G.name.localeCompare(N.name)})};U(HMc,uX);f=HMc.prototype;
f.isPreferredHomepage=function(){return KMc(this,"BOOKMARK_GROUP")};f.setAsPreferredHomepage=function(){LMc(this,"BOOKMARK_GROUP")};
f.archive=function(){var a=this;mG(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});mG(a.butterBar,'Archived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unarchive=function(){var a=this;mG(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});mG(a.butterBar,'Unarchived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar bookmark group: "+this.name,content:kp("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()}})};
f.doUnstar=function(){var a=this;mG(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){mG(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var tX=function(a,b,c,d,e,g,h,m,r,v,y){this.activeSession=a;this.userApi=b;this.bookmarkGroupsApi=c;this.hotlistApi=d;this.errorHandler=e;this.paths=g;this.analytics=h;this.butterBar=m;this.userPreferencesManager=r;this.confirmationDialogService=v;this.appEvents=y},GMc=function(a,b){return new MMc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},IMc=function(a,b){return new vX(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};tX.\u0275fac=function(a){return new (a||tX)(u(bt),u(BH),u(qX),u(sH),u(oG),u(dH),u(TH),u(lG),u(qJ),u(kJ),u(sG))};tX.\u0275prov=wc({token:tX,factory:tX.\u0275fac,providedIn:"root"});var wX=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};wX.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!ilc(this.prefs,this.prefKey))};wX.prototype.onClick=function(){var a=this,b,c;return ne(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return d.yield((0,E.firstValueFrom)(hlc(a.prefs,(c[a.prefKey]=!b,c))),0)})};wX.\u0275fac=function(a){return new (a||wX)(C(qJ))};
wX.\u0275cmp=Mc({type:wX,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&&(H(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()}),
P(1,v3a,1,0,"ng-container",1),I(),P(2,x3a,2,1,"ng-container",2));a&2&&(yf("opened",b.expanded)("closed",!b.expanded),pf("aria-expanded",b.expanded),B(1),F("ngTemplateOutlet",b.header),B(1),F("ngIf",b.expanded))},dependencies:[Ow,Tw],encapsulation:2});var xX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};f=xX.prototype;f.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarArchived","open");this.location.url(this.paths.viewBookmarkGroup(a))};f.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarArchived","dashboard");this.location.url(this.paths.dashboard(a))};f.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};
f.openEditBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};f.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};xX.\u0275fac=function(a){return new (a||xX)(C(cH),C(TH),C(dH),C(sX))};
xX.\u0275cmp=Mc({type:xX,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},decls:1,vars:1,consts:[[4,"ngIf"],["prefKey","nav-archived",3,"header","content"],["zippyHeader",""],["zippyContent",""],[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"],["bgZippyHeader",""],["bgZippyContent",""],[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"],["groupMenu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor","click"],["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,"href","click"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"href","click"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",
"class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor",4,"ngIf"],["hotlistMenu",""],["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&&P(0,N3a,7,2,"div",0);a&2&&F("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[Nw,Ow,bB,qA,lC,jC,kC,iC,wX],encapsulation:2,changeDetection:0});var yX=function(){this.admins=[]};yX.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=qi(this.bookmarkGroup.adminUsers)};yX.\u0275fac=function(a){return new (a||yX)};
yX.\u0275cmp=Mc({type:yX,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&&(H(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),R(5),I()(),H(6,"ul")(7,"li"),R(8),I(),H(9,"li"),R(10),I()(),H(11,"div")(12,"p"),R(13),I()()()()());a&2&&(B(4),F("href",b.url,
Sd),B(1),Nf(b.bookmarkGroup.name),B(3),Mf("ID: ",b.bookmarkGroup.bookmarkGroupId,""),B(2),Of("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),B(3),Nf(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 NMc=["searchBox"],zX=function(a,b,c,d,e,g,h,m,r){this.cdr=a;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=g;this.analytics=h;this.errorHandler=m;this.appEvents=r;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new pw;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
zX.prototype.ngOnInit=function(){this.allowStarring&&OMc(this)};
var OMc=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();a.userApi.getUserSidebar().then(function(b){if(a.showGroups){var c,d=k(null!=(c=b.bookmarkGroups)?c:[]);for(c=d.next();!c.done;c=d.next()){c=c.value;c.starred&&a.favoriteBookmarkGroups.add(c.id);var e=void 0;c=k(null!=(e=c.sublinks)?e:[]);for(e=c.next();!e.done;e=c.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}}if(a.showHotlists){var g;b=k(null!=(g=b.hotlists)?g:[]);for(e=b.next();!e.done;e=b.next())g=e.value,
g.starred&&a.favoriteHotlists.add(g.id)}a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};f=zX.prototype;f.reset=function(){this.query="";this.matches=[]};f.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};f.onQueryChange=function(){this.matches=[];this.query&&"string"!==typeof this.query&&(this.query="");this.search()};
f.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 g=k(e);e=g.next().value;g=g.next().value;if(b===a.nextRequestIndex-1){for(var h=k(e),m=h.next();!m.done;m=h.next()){m=m.value;var r=m.bookmarkGroupId;m.href=a.paths.viewBookmarkGroup(r);m.isGroup=!0;m.isStarred=a.favoriteBookmarkGroups.has(r)}h=
k(g);for(m=h.next();!m.done;m=h.next())m=m.value,r=m.hotlistId,m.href=a.paths.viewHotlist(r),m.isGroup=!1,m.isStarred=a.favoriteHotlists.has(r);a.matches=[].concat(ad(e),ad(g));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};f.shouldShowStar=function(a){return this.allowStarring&&!qi(a.adminUsers).includes(this.currentUserEmail)};
f.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();OMc(b);b.cdr.detectChanges()};c={resourceId:c,resourceType:d};a.isStarred?(this.analytics.trackEvent("hotlistSearch","starItem"),this.userApi.saveFavorite(c).then(e)):(this.analytics.trackEvent("hotlistSearch","unstarItem"),this.userApi.deleteFavorite(c).then(e))};
zX.\u0275fac=function(a){return new (a||zX)(C(PH,2),C(bt),C(BH),C(qX),C(sH),C(dH),C(TH),C(oG),C(sG))};
zX.\u0275cmp=Mc({type:zX,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(cg(NMc,5),cg(FP,5));if(a&2){var c;bg(c=eg())&&(b.searchBoxEl=c.first);bg(c=eg())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[Pf([PH])],decls:13,vars:6,consts:[[1,"bv2-hotlist-search"],["id","hotlist-search-input-box","type","text",
"placeholder","Enter query","role","combobox",3,"ngModel","matAutocomplete","ngModelChange","keydown.space"],["searchBox",""],[4,"ngIf"],[1,"bv2-hotlist-search-dropdown",3,"optionSelected"],["auto","matAutocomplete"],["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"],["itemHovercard",
"onedevHovercard"],[3,"hotlist",4,"ngIf"],[3,"bookmarkGroup",4,"ngIf"],[1,"bv2-hotlist-name",3,"onedevHovercardTrigger"],[3,"starMessage","unStarMessage","starred","starClicked"],[3,"hotlist"],[3,"bookmarkGroup"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"input",1,2),M("ngModelChange",function(d){return b.query=d})("ngModelChange",function(){return b.onQueryChange()})("keydown.space",function(d){var e;if(null==(e=b.autocomplete)?0:e.activeOption)b.toggleStar(b.autocomplete.activeOption.value),
d.preventDefault(),d.stopPropagation()}),I(),P(3,O3a,1,0,"b-spinner",3),H(4,"mat-autocomplete",4,5),M("optionSelected",function(d){b.itemSelect.emit(d.option.value)}),P(6,S3a,9,8,"mat-option",6),I(),H(7,"div",7),R(8,' e.g., "foo bar admin:user@google.com" '),J(9,"br"),R(10,' or "foo bar admin:group@google.com" '),J(11,"br"),R(12," Only identities directly listed as Admins can be searched. "),I()());if(a&2){var c=Lf(5);B(1);F("ngModel",b.query)("matAutocomplete",c);pf("autofocus",b.focusOnInit)("aria-label",
"Add query for searching "+(b.showGroups?"bookmark groups":"hotlists"));B(2);F("ngIf",b.isLoading());B(3);F("ngForOf",b.matches)}},dependencies:[Nw,Ow,yX,QT,jK,oK,wM,WT,xg,ox,ux,GP,FP,sA],encapsulation:2});var PMc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],QMc=function(){};QMc.\u0275fac=function(a){return new (a||QMc)};QMc.\u0275dir=Qc({type:QMc,selectors:[["xap-dialog-layout-subtitle"]]});var AX=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new E.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
AX.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){RMc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});SMc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};AX.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var RMc=function(a){if(!window.ResizeObserver)return(0,E.of)(TMc(a.el.nativeElement));var b;return(0,E.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(TMc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Ne(),bf(a.destroyed))},SMc=function(a){return(0,E.fromEvent)(a.el.nativeElement,"scroll").pipe(T3a(),D(function(){return a.getScrollPosition(a.el.nativeElement)}),Ne(),bf(a.destroyed))},TMc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
AX.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};wh.Object.defineProperties(AX.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});AX.\u0275fac=function(a){return new (a||AX)(C(Bd),C(Hw),C(ef))};
AX.\u0275dir=Qc({type:AX,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&yf("xap-dialog-layout-content-scrollable",b.scrollable)("xap-dialog-layout-bottom-scroll-stroke","bottom"!==b.scrollPosition)("xap-dialog-layout-top-scroll-stroke","top"!==b.scrollPosition)}});var BX=function(){};BX.\u0275fac=function(a){return new (a||BX)};
BX.\u0275cmp=Mc({type:BX,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&dg(c,QMc,4);if(a&2){var d;bg(d=eg())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&yf("xap-dialog-layout-bordered-header",b.subtitle)},ngContentSelectors:["xap-dialog-layout-title","xap-dialog-layout-subtitle","xap-dialog-layout-content","xap-dialog-layout-actions"],decls:5,vars:0,consts:[[1,"xap-dialog-header-container"]],template:function(a){a&1&&(Gf(PMc),
H(0,"header",0),Hf(1),Hf(2,1),I(),Hf(3,2),Hf(4,3))},styles:[".xap-dialog-layout{display:block;padding:24px 24px 8px;overflow-x:hidden}xap-dialog-layout-title{display:block;padding:0}xap-dialog-layout-subtitle{display:block;padding:0 0 16px}xap-dialog-layout-content{display:block;padding:0 0 16px}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 UMc=Zg({opacity:0}),VMc=Zg({opacity:1}),WMc=Wg("dialogContainer",[$g("void, hidden",UMc),$g("visible",VMc),ah("void => *, * => visible",Yg("200ms cubic-bezier(0.0,0.0,0.2,1)",VMc)),ah("* => void, * => hidden",Yg("200ms cubic-bezier(0.4,0.0,0.2,1)",UMc))]);var XMc=new Zc("XAP_IDCO"),CX=function(a){this._isDisposed=!1;this.options=a;this.animationState="hidden"};U(CX,Yx);CX.prototype.ngAfterViewInit=function(){};CX.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};CX.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};CX.\u0275fac=function(a){return new (a||CX)(C(XMc))};
CX.\u0275cmp=Mc({type:CX,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&cg(by,7);if(a&2){var c;bg(c=eg())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(pf("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex),Ff("@dialogContainer",b.animationState))},features:[lf],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(H(0,"div"),P(1,U3a,1,0,"ng-template",0),I())},dependencies:[by],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:[WMc]},changeDetection:0});var YMc=[{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}],ZMc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},DX=function(a,b,c,d,e,g,h,m){var r=this;this.ngZone=a;this.overlay=b;this.elementRef=c;this.viewContainerRef=d;this.document=e;this.focusTrapFactory=
g;this.ariaDescriber=h;this.injector=m;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=ZMc;this.triggerDescription="Press space for more information.";this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new pw;this.opened=new pw;this.closed=new pw;this.destroyed=new E.ReplaySubject;this.openStatusChange=new E.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(De(function(v){return v&&!r.disabled}));
this.elementFocusedBeforeDialogWasOpened=void 0;$Mc(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);aNc(this,c.nativeElement)};DX.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||this.ariaDescriber.describe(a,this.triggerDescription)};
DX.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var $Mc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(b,"keydown").pipe(bf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});(0,E.fromEvent)(b,"keyup").pipe(bf(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},aNc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(b,"focus").pipe(De(function(){return 0<a.beforeOpened.observers.length}),bf(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
f=DX.prototype;
f.openDialog=function(){var a=this;if(!this.disabled){var b;if(null==(b=this.overlayRef)||!b.hasAttached()){var c=this.portal;null!=c&&(this.stackManager&&(this.stackLocation=this.stackManager.register()),this.ngZone.run(function(){a.dialogContainerRef=bNc(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);a.dialogContainerRef.instance.animationState="visible";a.opened.observers.length&&
setTimeout(function(){a.opened.emit()},200)}))}}};
f.closeDialog=function(){var a=this,b;null==(b=this.overlayRef)||!b.hasAttached()||this.stackManager&&!this.stackManager.tryUnregister(this.stackLocation)||(this.dialogContainerRef.instance.animationState="hidden",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))};
f.trapFocus=function(a){var b=this.document.activeElement,c=this.elementRef.nativeElement;b&&b===c&&(this.document&&(this.elementFocusedBeforeDialogWasOpened=this.document.activeElement),this.focusTrap=this.focusTrapFactory.create(a),PXb(this.focusTrap),this.disableAutoFocus||this.focusInitialElement())};f.focusInitialElement=function(){this.focusTrap&&QXb(this.focusTrap)};
f.restoreFocus=function(){var a=this.elementFocusedBeforeDialogWasOpened;if(a&&"function"===typeof a.focus){var b,c=null==(b=this.dialogContainerRef)?void 0:b.location.nativeElement;(b=this.document.activeElement)&&null!=c&&c.contains(b)&&(a.focus(),this.elementFocusedBeforeDialogWasOpened=void 0)}};f.createPositionStrategy=function(a){var b,c;return Cz(Gz(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var cNc=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()}},bNc=function(a){var b=hf({parent:a.injector,providers:[{provide:XMc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new Wx(CX,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(YMc)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);if(a.overlayPositions&&
0<a.overlayPositions.length){var c=a.overlayRef,d=a.createPositionStrategy(a.overlayPositions);d!==c._positionStrategy&&(c._positionStrategy&&c._positionStrategy.dispose(),c._positionStrategy=d,c.hasAttached()&&(d.attach(c),c.updatePosition()))}return a.overlayRef.attach(b)};
wh.Object.defineProperties(DX.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof Zf?new Xx(a,this.viewContainerRef):new Wx(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=Gg(a)},get:function(){return this.disableAutoFocusInternal}},panelClass:{configurable:!0,
enumerable:!0,set:function(a){if(this.panelClassInternal!==a){if(this.panelClassInternal){var b;null==(b=this.overlayRef)||b.removePanelClass(this.panelClassInternal)}if(a){var c;null==(c=this.overlayRef)||c.addPanelClass(a)}this.panelClassInternal=a}}}});DX.\u0275fac=function(a){return new (a||DX)(C(ef),C(Hz),C(Bd),C($f),C(Document),C(cz),C($y),C(Lv))};
DX.\u0275dir=Qc({type:DX,hostVars:1,hostBindings:function(a,b){a&2&&pf("data-disabled",b.disabled)},inputs:{attachedTo:"attachedTo",dialogLabel:"dialogLabel",dialogTabIndex:"dialogTabIndex",overlaySize:"overlaySize",overlayPositions:"overlayPositions",overlayDimensions:"overlayDimensions",triggerDescription:"triggerDescription",disableAutoFocus:"disableAutoFocus",panelClass:"panelClass",scrollStrategy:"scrollStrategy",stackManager:"stackManager"},outputs:{beforeOpened:"beforeOpened",opened:"opened",
closed:"closed"}});var EX=function(a,b,c,d,e,g,h,m){DX.call(this,a,b,c,d,e,g,h,m);this.attachMouseEventListeners(c.nativeElement)};U(EX,DX);f=EX.prototype;f.ngOnInit=function(){DX.prototype.ngOnInit.call(this);this.listenForOpenEvents()};f.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(bf(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(De(function(b){return b&&0<a.beforeOpened.observers.length}),oja(function(){return a.openStatusChange.pipe(De(function(b){return!b}))}))};
f.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"mouseenter").pipe(bf(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,E.fromEvent)(a,"click").pipe(bf(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;null==(c=b.overlayRef)||c.backdropClick().pipe(bf(b.destroyed)).subscribe(function(){b.closingDialog()})})};
f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"keyup").pipe(bf(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,E.fromEvent)(a,"keydown").pipe(bf(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 13:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}})})};
f.openingDialog=function(){this.disabled||this.openStatusChange.next(!0)};f.closingDialog=function(){this.openStatusChange.next(!1)};f.createOverlayConfig=function(a){return new zz(Object.assign({},this.overlayDimensions,{positionStrategy:DX.prototype.createPositionStrategy.call(this,a),scrollStrategy:cNc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
EX.\u0275fac=function(a){return new (a||EX)(C(ef),C(Hz),C(Bd),C($f),C(uh),C(cz),C($y),C(Lv))};EX.\u0275dir=Qc({type:EX,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:["xapInlineDialogClick","dialog"],disabled:["xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[lf]});var dNc=["*"],eNc=function(){return".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration:underline dashed #80868b;-moz-text-decoration:underline dashed #80868b;text-decoration:underline dashed #80868b;text-underline-position:under;text-underline-offset:1px;text-underline-thickness:1px}"},fNc=function(){this.disabled=!1};fNc.\u0275fac=function(a){return new (a||fNc)};
fNc.\u0275cmp=Mc({type:fNc,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(pf("tabindex",b.disabled?-1:0),yf("xap-text-trigger",!b.disabled))},inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:dNc,decls:1,vars:0,template:function(a){a&1&&(Gf(),Hf(0))},styles:[eNc()],encapsulation:2});var FX=function(){this.disabled=!1};FX.\u0275fac=function(a){return new (a||FX)};
FX.\u0275cmp=Mc({type:FX,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:dNc,decls:1,vars:0,template:function(a){a&1&&(Gf(),Hf(0))},styles:[eNc()],encapsulation:2});var GX=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new pw};GX.\u0275fac=function(a){return new (a||GX)};
GX.\u0275cmp=Mc({type:GX,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&cg(EX,5);if(a&2){var c;bg(c=eg())&&(b.dialog=c.first)}},inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",ariaLabel:["aria-label","ariaLabel"]},outputs:{itemSelect:"itemSelect"},decls:4,vars:2,consts:[["matTooltip","Search",3,"xapInlineDialogClick"],["svgIcon","search"],["popup",""],[3,"showGroups","showHotlists","allowStarring","focusOnInit","itemSelect"]],template:function(a,
b){a&1&&(H(0,"xap-icon-trigger",0),J(1,"mat-icon",1),I(),P(2,V3a,3,4,"ng-template",null,2,hg));if(a&2){var c=Lf(3);F("xapInlineDialogClick",c);pf("aria-label",b.ariaLabel)}},dependencies:[bB,BX,AX,tC,EX,FX,zX],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var HX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};HX.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.url(this.paths.viewBookmarkGroup(a))};HX.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.url(this.paths.dashboard(a))};HX.prototype.editBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};
HX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};HX.\u0275fac=function(a){return new (a||HX)(C(cH),C(TH),C(dH),C(sX))};
HX.\u0275cmp=Mc({type:HX,selectors:[["sidebar-bookmark-groups"]],inputs:{bookmarkGroups:"bookmarkGroups"},decls:7,vars:2,consts:[[1,"bv2-nav-section"],["prefKey","nav-bkg",3,"header","content"],["zippyHeader",""],["zippyContent",""],["aria-label","Search for bookmark groups",3,"showHotlists","itemSelect","click"],["class","bookmark-group-list",4,"ngIf"],[1,"bookmark-group-list"],[3,"title",4,"ngFor","ngForOf"],[3,"title"],[3,"header","content","expanded"],["bgZippyHeader",""],["bgZippyContent",""],
[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"],["topMenu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor","click"],["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,"href","click"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",
4,"ngIf"],["innerMenu",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"]],template:function(a){a&1&&(H(0,"div",0),J(1,"hr"),H(2,"sidebar-zippy",1),P(3,W3a,3,1,"ng-template",null,2,hg),P(5,k4a,1,1,"ng-template",null,3,hg),I()());if(a&2){var b=Lf(4),c=Lf(6);B(2);F("header",b)("content",c)}},dependencies:[Nw,Ow,bB,GX,qA,lC,jC,kC,iC,wX],encapsulation:2,changeDetection:0});var IX=function(a,b,c,d,e){this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.userEmail=b.getUserEmail()};IX.prototype.getUserEmail=function(){return this.userEmail};IX.prototype.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};IX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};IX.\u0275fac=function(a){return new (a||IX)(C(cH),C(bt),C(TH),C(sX),C(dH))};
IX.\u0275cmp=Mc({type:IX,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},decls:7,vars:2,consts:[[1,"bv2-nav-section"],["prefKey","nav-hotlists",3,"header","content"],["zippyHeader",""],["zippyContent",""],["aria-label","Search for hotlists",3,"showGroups","itemSelect","click"],["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,"href","click"],[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"],["menu",""],["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","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item",
"","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"]],template:function(a){a&1&&(H(0,"div",0),J(1,"hr"),H(2,"sidebar-zippy",1),P(3,l4a,3,1,"ng-template",null,2,hg),P(5,s4a,1,1,"ng-template",null,3,hg),I()());if(a&2){var b=Lf(4),c=Lf(6);B(2);F("header",b)("content",c)}},dependencies:[Nw,Ow,bB,GX,qA,lC,jC,kC,iC,wX],encapsulation:2,changeDetection:0});var JX=function(a,b,c,d,e,g,h,m,r,v){this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=g;this.sidebar=h;this.errorHandler=m;this.confirmationDialogService=r;this.appEvents=v;this.searches=[]};JX.prototype.isSelected=function(a){return vhc(this.paths,a.href)};JX.prototype.openEditSavedSearch=function(a){this.location.url(this.paths.editSavedSearch(a))};
var v4a=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:kp("Are you sure you want to delete this search?"),onConfirm:function(){gNc(a,b)}})},gNc=function(a,b){var c=b.id;mG(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});mG(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};JX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};JX.\u0275fac=function(a){return new (a||JX)(C(PH,2),C(cH),C(jI),C(dH),C(lG),C(TH),C(sX),C(oG),C(kJ),C(sG))};
JX.\u0275cmp=Mc({type:JX,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[Pf([PH])],decls:7,vars:2,consts:[[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],["zippyHeader",""],["zippyContent",""],["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,"href","click"],[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"],["menu",""],["matMenuContent",""],["mat-menu-item","",1,"bv2-user-saved-searches-edit-menuitem",3,"click"],["mat-menu-item","","class","bv2-user-saved-searches-edit-menuitem",3,"click",4,"ngIf"]],template:function(a){a&1&&(H(0,"div",0),J(1,"hr"),H(2,"sidebar-zippy",1),P(3,t4a,2,0,"ng-template",null,2,hg),P(5,z4a,1,1,"ng-template",null,3,hg),I()());if(a&
2){var b=Lf(4),c=Lf(6);B(2);F("header",b)("content",c)}},dependencies:[Nw,Ow,bB,qA,lC,jC,kC,iC,wX],encapsulation:2,changeDetection:0});var hNc=/^\s*hotlistid:(\d+)\s*$/i,iNc=/(?:\s|^)componentid:(\d+)\s*/i,jNc=/^\s*savedsearchid:(\d+)\s*$/i,KX=function(a,b,c,d){GE.call(this);var e=this;this.$log=a;this.currentTracker=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new E.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=this.currentTracker.trackerId$.pipe(D(function(g){return g?[g]:[]}));this.selectedTrackerIds$=new E.Subject;
this.trackerScope$=(0,E.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new E.Subject;this.subscriptions.add(this.queryState$.pipe(bf(this.destroyed$)).subscribe(function(g){e.currentQuery=g.query;(g=e.currentQuery.match(iNc))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(g[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(g=e.currentQuery.match(hNc))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(g[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(bf(this.destroyed$)).subscribe(function(g){e.currentTrackerScope=g}))};U(KX,GE);KX.\u0275dir=GE.\u0275dir;KX.prototype.clear=function(){LX(this,"")};var LX=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},kNc=function(a){return"assignee:"+a+" status:open"};KX.prototype.getStarred=function(){return"star:true"};
KX.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};KX.prototype.getVoted=function(){return"vote:true"};var R4a=function(a){return a.currentQuery===a.getVoted()},lNc=function(a){return"verifier:"+a+" status:open | status:fixed"},mNc=function(a){return(a=a.currentQuery.match(hNc))?Number(a[1]):0},nNc=function(a){return(a=a.currentQuery.match(jNc))?Number(a[1]):0};KX.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var oNc=function(a,b){a.searchHandlerStack.push(b);return function(){qa(a.searchHandlerStack,b)}};KX.\u0275fac=function(a){return new (a||KX)(u(nG),u(eL),u(QJ),u(TH))};KX.\u0275prov=wc({token:KX,factory:KX.\u0275fac,providedIn:"root"});var pNc=0,qNc=zh(function(){}),MX=function(a,b,c,d,e){var g=qNc.call(this)||this;g._ngZone=a;g._elementRef=b;g._ariaDescriber=c;g._renderer=d;g._animationMode=e;g._color="primary";g._overlap=!0;g.position="above after";g.size="medium";g._id=pNc++;g._isInitialized=!1;g._interactivityChecker=Hc(Mx);g._document=Hc(uh);return g};U(MX,qNc);f=MX.prototype;
f.ngOnInit=function(){this._clearExistingBadges();this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content));this._isInitialized=!0};f.ngOnDestroy=function(){if(this._renderer.destroyNode){this._renderer.destroyNode(this._badgeElement);var a;null==(a=this._inlineBadgeDescription)||a.remove()}d_b(this._ariaDescriber,this._elementRef.nativeElement,this.description)};
f._isHostInteractive=function(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})};
f._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");"NoopAnimations"===this._animationMode&&a.classList.add("_mat-animation-noopable");this._elementRef.nativeElement.appendChild(a);"function"===typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a.classList.add("mat-badge-active")})}):
a.classList.add("mat-badge-active");return a};f._updateRenderedContent=function(a){a=(""+(null!=a?a:"")).trim();this._isInitialized&&a&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement());this._badgeElement&&(this._badgeElement.textContent=a);this._content=a};
f._updateDescription=function(a){d_b(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,a):this._updateInlineDescription()};
f._updateInlineDescription=function(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden"));this._inlineBadgeDescription.textContent=this.description;var a;null==(a=this._badgeElement)||a.appendChild(this._inlineBadgeDescription)};f._removeInlineDescription=function(){var a;null==(a=this._inlineBadgeDescription)||a.remove();this._inlineBadgeDescription=void 0};
f._setColor=function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-badge-"+this._color);a&&b.add("mat-badge-"+a)};f._clearExistingBadges=function(){for(var a=k(Array.from(this._elementRef.nativeElement.querySelectorAll(":scope > .mat-badge-content"))),b=a.next();!b.done;b=a.next())b=b.value,b!==this._badgeElement&&b.remove()};
wh.Object.defineProperties(MX.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(a){this._setColor(a);this._color=a}},overlap:{configurable:!0,enumerable:!0,get:function(){return this._overlap},set:function(a){this._overlap=Gg(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)}},
hidden:{configurable:!0,enumerable:!0,get:function(){return this._hidden},set:function(a){this._hidden=Gg(a)}}});MX.\u0275fac=function(a){return new (a||MX)(C(ef),C(Bd),C($y),C(Pv),C(Ov,8))};
MX.\u0275dir=Qc({type:MX,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&yf("mat-badge-overlap",b.overlap)("mat-badge-above",-1===b.position.indexOf("below"))("mat-badge-below",-1!==b.position.indexOf("below"))("mat-badge-before",-1!==b.position.indexOf("before"))("mat-badge-after",-1===b.position.indexOf("before"))("mat-badge-small","small"===b.size)("mat-badge-medium","medium"===b.size)("mat-badge-large","large"===b.size)("mat-badge-hidden",b.hidden||
!b.content)("mat-badge-disabled",b.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[lf]});var NX=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N){var Q=this;this.cdr=a;this.activeSession=b;this.butterBar=c;this.appSearchState=d;this.paths=e;this.userPreferencesManager=g;this.sidebar=h;this.location=m;this.issueLru=r;this.appEvents=v;this.needsAttentionApi=y;this.currentTracker=A;this.taskFridge=G;this.missionControlPrefs=N;this.EXPERIMENTAL_HOMEPAGE="EXPERIMENTAL_HOMEPAGE";this.needsAttentionIssueCount$=new E.Subject;this.missionControlTaskCount$=new E.Subject;this.experimentalHomepagePath=lm("dash",
{params:void 0});this.enableHomepageVariantA=EE(this.activeSession,"enableHomepageVariantA");this.enabledVotedNav=EE(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:this.appSearchState.getVoted()});this.recentlyViewedPath=rNc(this)?"recent":void 0;this.showNeedsAttentionUI=EE(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&!this.currentTracker.inTracker;this.destroyed$=new pw;this.hasPreferredHomepage$=
this.userPreferencesManager.preferences$.pipe(D(function(ea){ea=(ea||DE).homepagePreferences;return!(!ea||!ea.resourceType)}),Ne());this.isHomepageNeedsAttention$=this.userPreferencesManager.preferences$.pipe(D(function(ea){ea=(ea||DE).homepagePreferences;return!(!ea||"NEEDS_ATTENTION"!==ea.resourceType)}),Ne());this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();this.needsAttentionPath=e.needsAttention();this.assignedPath=e.listIssues({q:kNc(this.userEmail)});
this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+this.userEmail});this.verifiedPath=e.listIssues({q:lNc(this.userEmail)});this.reportedPath=e.listIssues({q:"reporter:"+this.userEmail});this.componentsPath=e.listComponents();this.createHotlistPath=e.createHotlist();this.createBookmarkGroupPath=e.createBookmarkGroup();this.sidebarData=this.sidebar.sidebarData;this.needsAttentionIssueCount$=this.appEvents.needsAttentionIssueCount;this.missionControlTaskCount$=this.appEvents.missionControlTaskCount;
var Z,Y=!!this.location.path().match(/^\/dash\b/)&&!(null==(Z=this.missionControlPrefs.prefs.collapsed)?0:Z["needs-attention-wrapper"]);EE(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){if(Q.enableHomepageVariantA&&!Y){var ea,ja;(0,E.combineLatest)([Q.taskFridge.watchMany({}).pipe(D($Za)),(0,E.defer)(function(){return Q.needsAttentionApi.listIssues(void 0,void 0,Ap())}).pipe(D(a_a)),new E.BehaviorSubject(null!=(ea=Q.missionControlPrefs.prefs.naSources)?ea:Kp),new E.BehaviorSubject(null!=
(ja=Q.missionControlPrefs.prefs.naTimeBoundary)?ja:RKc)]).pipe(bf(Q.destroyed$),D(function(va){var za=k(va);va=za.next().value;var Pa=za.next().value,Sa=za.next().value;za=za.next().value;return ZZa(va,Pa,Sa,za)}),D(function(va){return va.length})).subscribe(function(va){Q.appEvents.missionControlTaskCount.next(va)})}else Q.userPreferencesManager.needsAttentionPreferences$.pipe(bf(Q.destroyed$)).subscribe(function(va){var za=Zoc(Q.currentTracker),Pa;Q.needsAttentionApi.listIssues(null,za,null!=(Pa=
va.selectedSignals)?Pa:[])})},1E3)};NX.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(bf(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};NX.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var P4a=function(a){mG(a.butterBar,"Updating homepage...",0);a.userPreferencesManager.clearHomepagePreferences().pipe(bf(a.destroyed$)).subscribe(function(){mG(a.butterBar,"Homepage updated")})},G4a=function(a,b){mG(a.butterBar,"Updating homepage...",0);glc(a.userPreferencesManager,{resourceType:b}).subscribe(function(){mG(a.butterBar,"Homepage updated")})};NX.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};
var rNc=function(a){var b=EE(a.activeSession,"enableRecentlyViewedInNav");a=0<Array.from(a.issueLru.viewed.keys()).length;return b&&a};NX.\u0275fac=function(a){return new (a||NX)(C(PH,2),C(bt),C(lG),C(KX),C(dH),C(qJ),C(sX),C(jx),C(VV),C(sG),C(pV),C(eL),C(qI),C(dW))};
NX.\u0275cmp=Mc({type:NX,selectors:[["b-sidebar"]],features:[Pf([PH])],decls:48,vars:30,consts:[[1,"bv2-nav-header"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],[4,"ngIf"],["class","bv2-nav-item","id","needs-attention-sidebar-link",3,"selected",4,"ngIf"],["id","canned-searches-assign",1,"bv2-nav-item"],[3,"href","click"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["menu",""],["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"],[1,"bv2-nav-item"],["class","canned-search-icon","svgIcon","home","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden","matBadgeDescription",4,"ngIf",
"ngIfElse"],["noBadge",""],["mat-icon-button","","disableRipple","true","aria-label","More settings",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["homepageMenu",""],["svgIcon","home","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","home",1,"canned-search-icon"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item","","title","Experimental feature. See go/task-mission-control for more.",
1,"informational-only","border-top","flush-bottom"],["href","http://go/task-mission-control"],["id","needs-attention-sidebar-link",1,"bv2-nav-item"],["class","canned-search-icon","svgIcon","crisis_alert_24px","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden","matBadgeDescription",4,"ngIf","ngIfElse"],["needsAttentionMenu",""],["svgIcon","crisis_alert_24px","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],
["svgIcon","crisis_alert_24px",1,"canned-search-icon"],["mat-icon-button","","disableRipple","true","aria-label","Needs attention actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["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"],["svgIcon","time-24px",1,"canned-search-icon"]],template:function(a,b){a&1&&(H(0,"div",0),J(1,"b-create-issue-button"),
I(),H(2,"div",1)(3,"div",2)(4,"ul",3),P(5,I4a,13,8,"ng-container",4),P(6,N4a,12,10,"li",5),H(7,"li",6)(8,"a",7),M("click",function(c){return b.onAnchorClick(b.assignedPath,c)}),J(9,"mat-icon",8),R(10," Assigned to me "),I(),P(11,O4a,3,1,"ng-container",4),S(12,"async"),H(13,"mat-menu",null,9),P(15,Q4a,2,0,"ng-template",10),I()(),H(16,"li")(17,"a",7),M("click",function(c){return b.onAnchorClick(b.starredPath,c)}),J(18,"mat-icon",11),R(19," Starred by me "),I()(),H(20,"li")(21,"a",7),M("click",function(c){return b.onAnchorClick(b.ccdPath,
c)}),J(22,"mat-icon",12),R(23," CC'd to me "),I()(),H(24,"li")(25,"a",7),M("click",function(c){return b.onAnchorClick(b.reportedPath,c)}),J(26,"mat-icon",13),R(27," Reported by me "),I()(),P(28,S4a,4,3,"li",14),H(29,"li")(30,"a",7),M("click",function(c){return b.onAnchorClick(b.verifiedPath,c)}),J(31,"mat-icon",15),R(32," To be verified "),I()(),P(33,T4a,4,3,"li",14),I(),J(34,"sidebar-bookmark-groups",16)(35,"sidebar-saved-searches",17)(36,"sidebar-hotlists",18)(37,"sidebar-archived",19)(38,"hr"),
H(39,"div",20)(40,"a",21),R(41," Create hotlist "),I()(),H(42,"div",20)(43,"a",21),R(44," Create bookmark group "),I()(),H(45,"div",20)(46,"a",21),R(47," Browse components "),I()()()());a&2&&(B(5),F("ngIf",b.enableHomepageVariantA),B(1),F("ngIf",b.showNeedsAttentionUI&&!b.enableHomepageVariantA),B(1),yf("selected",b.appSearchState.currentQuery===kNc(b.userEmail)),B(1),F("href",b.assignedPath,Sd),B(3),F("ngIf",T(12,28,b.hasPreferredHomepage$)),B(5),yf("selected",b.appSearchState.isStarred()),B(1),
F("href",b.starredPath,Sd),B(3),yf("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),B(1),F("href",b.ccdPath,Sd),B(3),yf("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),B(1),F("href",b.reportedPath,Sd),B(3),F("ngIf",b.enabledVotedNav),B(1),yf("selected",b.appSearchState.currentQuery===lNc(b.userEmail)),B(1),F("href",b.verifiedPath,Sd),B(3),F("ngIf",b.recentlyViewedPath),B(1),F("bookmarkGroups",b.sidebarData.bookmarkGroups),B(1),F("searches",b.sidebarData.userSearches),
B(1),F("hotlists",b.sidebarData.hotlists),B(1),F("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),B(3),F("href",b.createHotlistPath,Sd),B(3),F("href",b.createBookmarkGroupPath,Sd),B(3),F("href",b.componentsPath,Sd))},dependencies:[kX,Ow,bB,qA,lC,jC,kC,iC,MX,xX,HX,IX,JX,Uw],encapsulation:2});var OX=function(){};OX.\u0275fac=function(a){return new (a||OX)};OX.\u0275mod=Oc({type:OX});OX.\u0275inj=xc({imports:[cG]});var PX=function(){};PX.\u0275fac=function(a){return new (a||PX)};PX.\u0275mod=Oc({type:PX});PX.\u0275inj=xc({imports:[bx]});var QX=function(a,b,c,d,e,g,h,m){DX.call(this,a,b,c,d,e,g,h,m);this.hoverDelayMs=500;this.activity=new E.Subject;this.attachMouseEventListeners(c.nativeElement)};U(QX,DX);f=QX.prototype;f.ngOnInit=function(){DX.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
f.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(zia(function(){return b.activity.pipe(Ke(a))}));c.pipe(bf(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(De(function(d){return d&&0<b.beforeOpened.observers.length}),oja(function(){return c.pipe(De(function(d){return!d}))}),bf(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
f.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(Ke(this.hoverDelayMs),bf(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"mouseenter").pipe(bf(b.destroyed)).subscribe(function(){b.openingDialog()});(0,E.fromEvent)(a,"click").pipe(bf(b.destroyed)).subscribe(function(c){c.target.closest("[xapInlineDialogClose]")?
b.closingDialog():(b.openingDialog(),b.openDialog())});(0,E.fromEvent)(a,"mouseleave").pipe(bf(b.destroyed)).subscribe(function(){b.closingDialog()});(0,E.fromEvent)(a,"mousemove").pipe(bf(b.destroyed)).subscribe(function(){b.activity.next()})})};
f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a,"keydown").pipe(bf(b.destroyed)).subscribe(function(c){switch(c.keyCode){case 27:var d;(null==(d=b.overlayRef)?0:d.hasAttached())&&c.stopPropagation();b.closeDialog()}})})};f.openingDialog=function(){this.disabled||(this.openStatusChange.next(!0),this.activity.next())};f.closingDialog=function(){this.openStatusChange.next(!1);this.activity.next()};
f.createOverlayConfig=function(a){return new zz(Object.assign({},this.overlayDimensions,{positionStrategy:DX.prototype.createPositionStrategy.call(this,a),scrollStrategy:cNc(this),panelClass:this.panelClassInternal}))};QX.\u0275fac=function(a){return new (a||QX)(C(ef),C(Hz),C(Bd),C($f),C(uh),C(cz),C($y),C(Lv))};
QX.\u0275dir=Qc({type:QX,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:["xapInlineDialog","dialog"],disabled:["xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[lf]});[].concat(ad([QX,EX,FX,fNc]),[CX]);var RX=function(){};RX.\u0275fac=function(a){return new (a||RX)};RX.\u0275mod=Oc({type:RX});RX.\u0275inj=xc({imports:[Zy,bx,Kz,cy]});var SX=function(){};SX.\u0275fac=function(a){return new (a||SX)};SX.\u0275mod=Oc({type:SX});SX.\u0275inj=xc({imports:[cG,OX,bU,JN,eO,eU,PX,uD,Jx,RX,HP]});var TX=function(){};TX.\u0275fac=function(a){return new (a||TX)};TX.\u0275mod=Oc({type:TX});TX.\u0275inj=xc({imports:[cG,aP]});var UX=function(){};UX.\u0275fac=function(a){return new (a||UX)};UX.\u0275mod=Oc({type:UX});UX.\u0275inj=xc({imports:[Zy,Lz,Lz]});var VX=function(){};VX.\u0275fac=function(a){return new (a||VX)};VX.\u0275mod=Oc({type:VX});VX.\u0275inj=xc({imports:[TX,cG,SX,QC,mC,UX,RC]});var WX=function(){};WX.\u0275fac=function(a){return new (a||WX)};WX.\u0275prov=wc({token:WX,factory:WX.\u0275fac,providedIn:"root"});var XX=function(a){this.executor=a};U(XX,WX);XX.\u0275fac=function(a){return new (a||XX)(u(wD))};XX.\u0275prov=wc({token:XX,factory:XX.\u0275fac,providedIn:"root"});var YX=function(a,b){GE.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};U(YX,GE);YX.\u0275dir=GE.\u0275dir;YX.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(bf(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};YX.\u0275fac=function(a){return new (a||YX)(C(AA),C(WX))};
YX.\u0275cmp=Mc({type:YX,selectors:[["b-terms-of-service-dialog"]],features:[lf],decls:16,vars:2,consts:[["mat-dialog-title",""],[1,"b-tos-content"],["gmat-checkbox","",3,"ngModel","ngModelChange"],["href","https://www.google.com/policies/terms/","target","_blank"],["href","/terms","target","_blank"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Google IssueTracker Terms of Service"),I(),H(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),M("ngModelChange",function(c){return b.ackChecked=c}),I(),H(5,"span"),R(6," I acknowledge and agree to the "),H(7,"a",3),R(8,"Google Terms of Service"),I(),R(9," and the "),H(10,"a",4),R(11,"Google IssueTracker Conduct Policy"),I(),R(12,". "),I()()(),H(13,"mat-dialog-actions")(14,"button",5),M("click",function(){return b.accept()}),R(15," OK "),I()());a&2&&(B(4),F("ngModel",b.ackChecked),B(10),F("disabled",!b.ackChecked))},dependencies:[ox,ux,qA,BO,FA,GA,HA],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var ZX=function(a,b){GE.call(this);this.activeSession=a;this.matDialogService=b};U(ZX,GE);ZX.\u0275dir=GE.\u0275dir;ZX.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&yA(this.matDialogService.open(YX,{width:"400px",disableClose:!0})).pipe(bf(this.destroyed$))};ZX.\u0275fac=function(a){return new (a||ZX)(C(bt),C(DA))};ZX.\u0275cmp=Mc({type:ZX,selectors:[["b-terms-of-service"]],features:[lf],decls:0,vars:0,template:function(){},encapsulation:2});var $X=function(){};$X.\u0275fac=function(a){return new (a||$X)};$X.\u0275mod=Oc({type:$X});$X.\u0275inj=xc({imports:[Jx,cG,QC,fP,IA]});var aY=function(){};aY.\u0275fac=function(a){return new (a||aY)};aY.\u0275mod=Oc({type:aY});aY.\u0275inj=xc({imports:[cG,$X]});var W4a=0;var sNc=Qya("blinkers-activated"),tNc=Vm("blinkers-activated"),uNc=X4a("debug-dom-mutation","var(--c400)"),vNc=X4a("debug-ng-zone","var(--red-400)"),wNc=X4a("debug-xhr","var(--green-500)",1200),xNc=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;W4a++;var d=156;d+=12*(W4a-1);return function(e,g){g=void 0===g?b:g;var h,m=null!=(h=document.getElementById(a))?h:U4a(a,d);m.style.transition="opacity "+c+"ms";m.style.backgroundColor=g;m.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),
yNc={clear:function(){},getItem:function(){return""},removeItem:function(){},setItem:function(){}},zNc=window.localStorage||yNc,bY=function(a,b){var c=this;this.activityMonitor=a;this.userActivity=b;this.destroyed$=new E.Subject;this.xhrLog=[];this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.onAnyClick=function(d){"debug-xhr"===d.target.id&&(d=!zNc.getItem("log-xhrs-to-console"),zNc.setItem("log-xhrs-to-console",d?"on":""),d?ANc(c):
clearInterval(c.loggingInterval))};this.printXhrLog=function(){var d=c.xhrLog.length;if(0<d){var e=Array(d).fill("\u2588").join("");console.log(window.location.pathname.padEnd(20)+" XHRs: "+e+" "+(0<d?"("+d+")":""))}c.xhrLog=[]};this.isEnabled()&&BNc(this)};bY.prototype.ngOnDestroy=function(){CNc(this)};bY.prototype.isEnabled=function(){return tNc()};bY.prototype.enable=function(){this.isEnabled()||(sNc(!0),BNc(this))};bY.prototype.disable=function(){sNc(!1);CNc(this)};
var BNc=function(a){a.activityMonitor.dom$.pipe(bf(a.destroyed$)).subscribe(function(){return void uNc()});uic(a.activityMonitor);a.activityMonitor.cdr$.pipe(bf(a.destroyed$)).subscribe(function(){return void vNc()});a.activityMonitor.xhr$.pipe(bf(a.destroyed$)).subscribe(function(){wNc();var b=a.xhrLog,c=Date.now();b.push(c);c=void 0===c?Date.now():c;var d=void 0===d?5E3:d;for(var e=0;e<b.length&&!(c-b[e]<=d);e++);b.splice(0,e)});a.userActivity.active$.pipe(bf(a.destroyed$)).subscribe(function(b){return void xNc(b)});
document.addEventListener("click",a.onAnyClick);zNc.getItem("log-xhrs-to-console")&&ANc(a)},CNc=function(a){a.destroyed$.next();a.activityMonitor.domObserver.disconnect();document.removeEventListener("click",a.onAnyClick)},ANc=function(a){clearInterval(a.loggingInterval);a.loggingInterval=setInterval(a.printXhrLog,1E3)};bY.\u0275fac=function(a){return new (a||bY)(u(OH),u(QH))};bY.\u0275prov=wc({token:bY,factory:bY.\u0275fac,providedIn:"root"});var cY=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q){var Z=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=g;this.routeParamsService=h;this.issueFridge=m;this.eventsForIssueFridge=r;this.customFieldFridge=v;this.changelistFridge=y;this.aggregatedIssueMetadataFridge=A;this.taskFridge=G;this.userPreferencesManager=N;this.savedSearchFridge=Q;this.getCurrentIssueId=function(){var Y;return null==(Y=Z.routeParamsService.routeParams$.value)?void 0:
Y.issueId};this.getCurrentIssue=function(){var Y=Z.getCurrentIssueId();if(null!=Y)return Z.issueFridge.memory.getData(Y)};this.getCurrentIssueEvents=function(){var Y=Z.getCurrentIssueId();if(null!=Y)return Z.eventsForIssueFridge.memory.getData(Y)}};
cY.prototype.install=function(){if(this.activeSession.isInternalSession()){var a=this;this.window.bedbug={ngZone:this.ngZone,appEvents:this.appEvents,requestKeeper:sic,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:Rhc("debug-logging"),toggleLeanFeMigrationDebugLogging:Rhc("lean-fe-debug-logging"),toggleOptOutExperiments:Rhc("opt-out-experiments"),currentUser:this.currentUser,userPreferencesManager:this.userPreferencesManager,fridges:{issueFridge:this.issueFridge,
eventsForIssueFridge:this.eventsForIssueFridge,customFieldFridge:this.customFieldFridge,changelistFridge:this.changelistFridge,aggregatedIssueMetadataFridge:this.aggregatedIssueMetadataFridge,taskFridge:this.taskFridge,savedSearchFridge:this.savedSearchFridge},get initialSession(){return xl()},get initialPrefs(){return xl().userPreferences},get currentPrefs(){return rJ(a.userPreferencesManager)},get currentIssue(){return a.getCurrentIssue()},get currentIssueEvents(){return a.getCurrentIssueEvents()},
get flags(){return xl().config.enabledFlags}}}};cY.\u0275fac=function(a){return new (a||cY)(u(bt),u(sG),u(ef),u(FE),u(bY),u(MI),u(IJ),u(YH),u(CF),u(xG),u(JF),u(IF),u(qI),u(qJ),u(kI))};cY.\u0275prov=wc({token:cY,factory:cY.\u0275fac,providedIn:"root"});var DNc=function(a){this.delegate_=a};DNc.prototype.getDelegate=function(){return this.delegate_};var ENc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};U(ENc,DNc);ENc.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_;0<a.length;)b=FNc(b,a.pop());return this.target_=b};ENc.prototype.getType=function(){return this.getDelegate().xa};var GNc=function(a){this.delegate_=a};U(GNc,DNc);f=GNc.prototype;f.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(g){return b.call(d||ba,new ENc(g,e))},c)};f.listenOnce=function(){throw Error("be");};f.unlisten=function(){throw Error("be");};f.unlistenByKey=function(){throw Error("be");};f.dispatchEvent=function(){throw Error("be");};f.removeAllListeners=function(){throw Error("be");};f.getParentEventTarget=function(){throw Error("be");};
f.fireListeners=function(){throw Error("be");};f.getListener=function(){throw Error("be");};f.hasListener=function(){throw Error("be");};GNc.prototype[g2b]=!0;var dY=function(a){this.delegate_=a};U(dY,GNc);dY.prototype.getHeight=function(){return this.getDelegate().pa()};dY.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};dY.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};dY.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var HNc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};U(HNc,DNc);HNc.prototype.then=function(a,b,c){var d;a&&(d=INc(this,a));this.getDelegate().aa(d,b,c)};var INc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var eY=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};U(eY,DNc);eY.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new HNc(this.getDelegate().bh()));return this.gapiPromise_};eY.getInstance=function(){if(eY.instance_&&eY.hasOwnProperty("instance_"))var a=eY.instance_;else a=new eY,eY.instance_=a;return a};var fY=function(a,b){GE.call(this);this.router=a;this.window=b};U(fY,GE);fY.\u0275dir=GE.\u0275dir;fY.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=eY.getInstance();d.barPromise_||(d.barPromise_=new HNc(d.getDelegate().bf(),dY));d.barPromise_.then(b,c)})).then(function(b){JNc(a,b)})};var JNc=function(a,b){a.router.events.pipe(De(Hza),bf(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};
fY.\u0275fac=function(a){return new (a||fY)(u(WG),u(FE))};fY.\u0275prov=wc({token:fY,factory:fY.\u0275fac,providedIn:"root"});var gY=function(a,b,c){GE.call(this);var d=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(Ne(Yh),af(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=Oza(this.init)};U(gY,GE);gY.\u0275dir=GE.\u0275dir;
gY.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return ne(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return e.yield(Promise.all([cI(b.issueFetchResponseFridge,d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};gY.\u0275fac=function(a){return new (a||gY)(u(IJ),u(aI),u(CF))};gY.\u0275prov=wc({token:gY,factory:gY.\u0275fac,providedIn:"root"});var hY=function(a){GE.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(bf(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};U(hY,GE);hY.\u0275dir=GE.\u0275dir;hY.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)};hY.\u0275fac=function(a){return new (a||hY)(u(SH))};
hY.\u0275prov=wc({token:hY,factory:hY.\u0275fac,providedIn:"root"});var iY=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa){GE.call(this);var Wa=this;this.bLocation=a;this.reloadService=b;this.timeout=c;this.activeSession=d;this.hotkeys=e;this.paths=g;this.userPrefs=h;this.issuePagination=m;this.userFeedback=A;this.ngZone=G;this.matDialogService=N;this.renderer=Y;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;Pa.install();Sa.install();
ric(y);this.subscriptions.add(v.onClickAppMenuIcon.subscribe(function(){Wa.matSidebarWidth=185>Wa.matSidebarWidth?"open":0}));h.homepagePreferences$.pipe(bf(this.destroyed$)).subscribe(function(Za){Q.homepagePreferences=Za});this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(bf(this.destroyed$)).subscribe(function(Za){Za=c5a(Za.density);Za!==Wa.densityClass&&(Wa.renderer.addClass(document.body,Za),Wa.renderer.removeClass(document.body,
Wa.densityClass),Wa.densityClass=Za)});this.subscriptions.add(oNc(r,function(Za){Wa.doSearch(Za)}));var Qb=g.createIssue(),Gb=g.listIssues({q:kNc(d.getUserEmail())}),cb=g.listIssues({q:"cc:"+d.getUserEmail()}),sa=g.listIssues({q:lNc(d.getUserEmail())}),Ja=g.listIssues({q:"reporter:"+d.getUserEmail()}),Qa=g.listIssues({q:r.getStarred()}),fb=g.listIssues({q:r.getVoted()});this.subscriptions.add(HM(this.hotkeys,{title:"General",hotkeys:[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var Za=
document.querySelector(".search-box-container .search-box");null==Za||Za.focus();null==Za||Za.select()}},{keys:[Un("2"),$Fa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){Wa.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.url(Qb)}},{keys:[Vn("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.url(g.needsAttention())}},{keys:[Vn("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',
onPress:function(){a.url(Gb)}},{keys:[Vn("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.url(cb)}},{keys:[Vn("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.url(Ja)}},{keys:[Vn("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.url(Qa)}},{keys:[Vn("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.url(fb)}},{keys:[Vn("g","v")],displayAs:"g then v",
description:'Go to "To be verified"',onPress:function(){a.url(sa)}},{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(Za){if(0===Za&&20<Wa.sidebarDragPosition||1===Za&&!(20<Wa.sidebarDragPosition))20<Wa.sidebarDragPosition?KNc(Wa,20,1):KNc(Wa,Wa.lastOpenPosition,
1);Wa.matSidebarWidth=0===Za?0:"open"}},{keys:["?",ZFa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){Wa.matDialogService.open(ZW,{minWidth:512})}}]}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(Oe(),bf(this.destroyed$)).subscribe(function(Za){Wa.dismissedMessageId=Za.bannerMessageId||"";Za=(Za.layoutPreferences||{}).leftSidebarWidth;Wa.matSidebarWidth=
Za||220;if(void 0===Za)Wa.sidebarDragPosition=220;else if(90>Za)Wa.sidebarDragPosition=20;else{if(220<Za){var Yc=LNc();Za>Yc&&(Za=Yc)}185>Za&&(Za=185);Wa.sidebarDragPosition=Za}});(0,E.fromEvent)(document,"mouseup",{capture:!0}).pipe(bf(this.destroyed$)).subscribe(function(){Wa.sidebarDragOffset&&(Wa.sidebarDragOffset=null,KNc(Wa,Wa.sidebarDragPosition,1))});(0,E.fromEvent)(Q,"resize").pipe(bf(this.destroyed$)).subscribe(function(){if(220<Wa.sidebarDragPosition){var Za=LNc();Wa.sidebarDragPosition>
Za&&KNc(Wa,Za,3E3)}});this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(document,"mousemove").pipe(bf(Wa.destroyed$)).subscribe(function(Za){if(Wa.sidebarDragOffset){Za=Za.pageX-Wa.sidebarDragOffset;if(90>Za)Za=20;else if(185>Za)Za=185;else{var Yc=LNc();Za>Yc&&(Za=Yc)}KNc(Wa,Za,0)}})});ea.start();cn()&&(null!=jic&&jic.disconnect(),jic=new hn.PerformanceObserver(rza),jic.observe({entryTypes:["measure"]}));setTimeout(b3a,6E4);ja.start();va.initOnce();za.initOnce();Q.emergencyBugjugglerWorkaround=
{session:d,issueComments:Z}};U(iY,GE);iY.\u0275dir=GE.\u0275dir;iY.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};iY.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var LNc=function(){var a=window.innerWidth;return 1075<=a?a-855:220},a5a=function(a,b){a.userPrefs.layoutPreferences$.pipe(af(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(Oe(),bf(a.destroyed$)).subscribe()},KNc=function(a,b,c){if(b!==a.sidebarDragPosition||c)185<=b&&(a.lastOpenPosition=b),a.sidebarDragPosition=b,c&&(a.sidebarDragSaver&&a.timeout.cancel(a.sidebarDragSaver),a.sidebarDragSaver=a.timeout.schedule(function(){a5a(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};iY.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=whc(this.paths,a);dX(this.issuePagination);b&&Bxb(this.reloadService);this.bLocation.url(a)};var Y4a=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Oe(),bf(a.destroyed$)).subscribe())};iY.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
iY.\u0275fac=function(a){return new (a||iY)(C(cH),C(rX),C(WF),C(bt),C(GM),C(dH),C(qJ),C(cX),C(KX),C(sG),C(NH),C(zQ),C(ef),C(DA),C(FE),C(JI),C(Pv),C(fY),C(hY),C(eX),C(gY),C(cY),C(QH))};
iY.\u0275cmp=Mc({type:iY,selectors:[["app-root"]],features:[lf],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","tabindex","0",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,"size","disableToggleBtn","widthChanged"]],template:function(a,b){a&1&&(J(0,"b-hiring-banner")(1,"b-terms-of-service"),P(2,$4a,4,2,"div",0),J(3,"b-sso-expired-callout-outlet"),H(4,"div",1),P(5,b5a,2,2,"b-resizable-sidebar",2),H(6,"div",3),J(7,"b-router-outlet"),I()(),J(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){B(2);var c;a=b.announcement;
a=void 0===a?b.announcement:a;if(null!=(c=a)&&c.message){var d;c=0<(null==(d=a.tags)?void 0:d.length)?!1:a.dismissible?null==b.dismissedMessageId?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;F("ngIf",c);B(3);F("ngIf",!b.isAnonymous)}},dependencies:function(){return[Ow,qMc,cP,NX,ZX,OLc,nMc,oMc,NLc]},encapsulation:2});var jY=function(){};jY.\u0275fac=function(a){return new (a||jY)};jY.\u0275mod=Oc({type:jY});jY.\u0275inj=xc({imports:[cG,jX,eP,VX,aY,YW,hX,iX,gX,QC,$W]});var kY=function(){};kY.\u0275fac=function(a){return new (a||kY)};kY.\u0275mod=Oc({type:kY});kY.\u0275inj=xc({imports:[cG]});var MNc=Object.assign({},new X0b,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),lY=function(){};lY.\u0275fac=function(a){return new (a||lY)};lY.\u0275mod=Oc({type:lY});lY.\u0275inj=xc({providers:[{provide:Y0b,useValue:MNc}],imports:[IA,IA]});var mY=function(){};mY.\u0275fac=function(a){return new (a||mY)};mY.\u0275mod=Oc({type:mY});mY.\u0275inj=xc({imports:[cG,lY,QC,IA,dO,hT,RW,kY]});var NNc=function(a,b,c,d){Nx.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new E.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};PXb(this)};U(NNc,Nx);var nY=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};nY.prototype.create=function(a){return new NNc(a,this.checker,this.ngZone,this.document)};nY.\u0275fac=function(a){return new (a||nY)(u(Mx),u(ef),u(uh))};
nY.\u0275prov=wc({token:nY,factory:nY.\u0275fac,providedIn:"root"});var ONc=["content"],oY=function(a){GE.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new pw;this.cancelClicked=new pw;this.saveClicked=new pw;this.dateSelectionChange=new pw;this.focusEscaped=new pw};U(oY,GE);oY.\u0275dir=GE.\u0275dir;
oY.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){d5a(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(bf(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(0===b){var c;null==(c=a.focusEscapeNotifier)||NXb(c)}else{var d;null==(d=a.focusEscapeNotifier)||OXb(d)}else a.focusEscaped.emit(b)})};
var d5a=function(a,b){if(b=b instanceof Hl?b:ava(b))a.calendar.activeDate=b};oY.\u0275fac=function(a){return new (a||oY)(C(nY))};
oY.\u0275cmp=Mc({type:oY,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(cg(pA,7),cg(ONc,7));if(a&2){var c;bg(c=eg())&&(b.calendar=c.first);bg(c=eg())&&(b.content=c.first)}},inputs:{required:"required",date:"date",trapFocus:"trapFocus",todayButtonEnabled:"todayButtonEnabled",noneButtonEnabled:"noneButtonEnabled",renderPanel:"renderPanel"},outputs:{dateChange:"dateChange",cancelClicked:"cancelClicked",saveClicked:"saveClicked",dateSelectionChange:"dateSelectionChange",focusEscaped:"focusEscaped"},
features:[lf],ngContentSelectors:["*"],decls:14,vars:9,consts:[["content",""],[1,"b-optional-calendar-button-row"],[3,"selected","startAt","selectedChange"],[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){a&1&&(Gf(),H(0,"div",null,0)(2,"div",1),Hf(3),I(),H(4,"mat-calendar",2),M("selectedChange",function(c){b.date=c;b.dateSelectionChange.emit(c)}),S(5,"toDateTime"),S(6,"toDateTime"),I(),H(7,"div",3),P(8,g5a,4,2,"div",4),H(9,"div",5)(10,"button",6),M("click",function(){return b.cancelClicked.emit()}),R(11,"Cancel"),I(),H(12,"button",7),M("click",function(){b.dateChange.emit(b.date);return b.saveClicked.emit()}),R(13,"Save"),I()()()());a&2&&(yf("container",b.renderPanel),B(4),F("selected",
T(5,5,b.date))("startAt",T(6,7,b.date)),B(4),F("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[Ow,qA,pA,xM,pY]},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 pY=function(){};pY.prototype.transform=function(a){var b;return null!=(b=ava(a))?b:void 0};pY.\u0275fac=function(a){return new (a||pY)};pY.\u0275pipe=Rc({name:"toDateTime",type:pY,pure:!0});var PNc=[{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"}],qY=function(a,b,c){GE.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 pw;this.dateSelectionChange=new pw;this.onClose=
new pw;this.opened=!1;this.destroyed$.subscribe(function(){var e;null==(e=d.overlayRef)||e.dispose()})};U(qY,GE);f=qY.prototype;f.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};f.close=function(a){a=void 0===a?!1:a;if(this.opened){var b;null==(b=this.overlayRef)||b.dispose();this.overlayRef=void 0;this.opened=!1;a||this.hostEl.nativeElement.focus();this.onClose.emit()}};
f.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};f.attach=function(){var a=this,b=new Wx(oY),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){QNc(a)})};
f.getPositionStrategy=function(){return Cz(Dz(Ez(Gz(this.overlay.position(),this.element)),8),PNc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var QNc=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,E.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(bf(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(bf(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(bf(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,E.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(De(function(c){return"Escape"===c.code}))).pipe(bf(b)).subscribe(function(){a.close()})}};qY.\u0275fac=function(a){return new (a||qY)(C(Hz),C(Bd),C(Bd))};
qY.\u0275dir=Qc({type:qY,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&&(OXb(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(NXb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&pf("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter",focusTrapHost:["bDateTimePickerToggleFocusTrapHost","focusTrapHost"],required:["bDateTimePickerToggleRequired","required"],selected:["bDateTimePickerToggleSelected","selected"]},outputs:{selectedChange:"bDateTimePickerToggleSelectedChange",dateSelectionChange:"bDateTimePickerToggleDateSelectionChange",
onClose:"bDateTimePickerToggleOnClose"},exportAs:["bDateTimePickerToggle"],features:[lf]});var RNc=["pickerToggle"],rY=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new pw};rY.\u0275fac=function(a){return new (a||rY)};
rY.\u0275cmp=Mc({type:rY,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&cg(RNc,7);if(a&2){var c;bg(c=eg())&&(b.pickerToggle=c.first)}},inputs:{customFormId:"customFormId",customAriaLabelledBy:"customAriaLabelledBy",value:"value",required:"required"},outputs:{valueChange:"valueChange"},exportAs:["bDateTimeInput"],decls:4,vars:7,consts:[["mat-stroked-button","","type","button","bDateTimePickerToggle","",1,"gmat-button",3,"id","bDateTimePickerToggleRequired","bDateTimePickerToggleSelected",
"bDateTimePickerToggleFocusTrapHost","bDateTimePickerToggleSelectedChange"],["pickerToggle","bDateTimePickerToggle"],["mode","date",3,"date",4,"ngIf"],[4,"ngIf"],["mode","date",3,"date"]],template:function(a,b){a&1&&(H(0,"button",0,1),M("bDateTimePickerToggleSelectedChange",function(c){b.value=c;b.valueChange.emit(c)}),P(2,h5a,1,1,"b-formatted-date-time",2),P(3,i5a,2,0,"ng-container",3),I());a&2&&(F("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),pf("aria-labelledby",b.customAriaLabelledBy),B(2),F("ngIf",b.value),B(1),F("ngIf",!b.value))},dependencies:[qY,VK,qA,Ow],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var SNc=["filterInput"],sY=function(a){GE.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new pw;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};U(sY,GE);sY.\u0275dir=GE.\u0275dir;f=sY.prototype;f.ngOnInit=function(){this.initValues()};f.ngOnChanges=function(a){a.originalValueMap&&this.initValues()};f.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(af(function(){return(0,E.timer)(0)}),bf(this.destroyed$)).subscribe(function(){a.focusFilterBox()})};
f.showMenu=function(){this.trigger.openMenu()};f.closeMenu=function(){this.trigger.closeMenu()};f.focusFilterBox=function(){var a;null==(a=this.filterElement)||a.nativeElement.focus()};var TNc=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
sY.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),UNc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};sY.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||void 0!==b?c!==b:!1})};
sY.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=k(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);UNc(this)};
var UNc=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:!1===c?-1:0)-(b?1:!1===b?-1:0)})},k5a=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};sY.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar(ei(a)):a};sY.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
sY.\u0275fac=function(a){return new (a||sY)(C(uJ))};
sY.\u0275cmp=Mc({type:sY,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(cg(kC,5),cg(SNc,5));if(a&2){var c;bg(c=eg())&&(b.trigger=c.first);bg(c=eg())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[lf,ed],decls:13,vars:7,consts:[["mat-button","","type","button",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["customFieldMenu",
"matMenu"],["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,"checked","indeterminate","change","click"],["mat-input","","step","any",3,"type","ngModel","placeholder","keydown","click","ngModelChange"],["filterInput",""],["mat-menu-item","",3,"click"],
[3,"value","valueChange"],["mat-menu-item","","aria-label","Add a date value","tabindex","0","aria-haspopup","true",3,"click"]],template:function(a,b){a&1&&(H(0,"button",0)(1,"span"),R(2),I(),J(3,"b-icon",1),I(),H(4,"mat-menu",null,2),P(6,j5a,3,4,"div",3),J(7,"mat-divider"),H(8,"div",4),P(9,l5a,2,3,"input",5),I(),P(10,m5a,1,0,"mat-divider",6),P(11,n5a,2,0,"div",7),P(12,o5a,4,1,"div",6),I());if(a&2){var c=Lf(5);F("matMenuTriggerFor",c);B(2);Nf(b.getLabel());B(4);F("ngForOf",TNc(b));B(3);F("ngIf","REPEATED_DATE"!==
b.type);B(1);F("ngIf",k5a(b));B(1);F("ngIf",k5a(b));B(1);F("ngIf","REPEATED_DATE"===b.type)}},dependencies:[Nw,Ow,lC,jC,kC,xM,GN,qA,BO,xg,ox,ux,rY],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var VNc=0,tY=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+VNc;VNc+=1};tY.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};tY.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};tY.\u0275fac=function(a){return new (a||tY)(C(Hw))};
tY.\u0275dir=Qc({type:tY,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Ef("id",b.id),yf("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var uY=function(){};uY.\u0275fac=function(a){return new (a||uY)};uY.\u0275mod=Oc({type:uY});uY.\u0275inj=xc({});var q5a=function(){return{$implicit:void 0}},t5a=function(a){return{$implicit:a}},vY=function(a){this.includeEmptyOption=this.disabled=!1;this.valueChange=new pw;this.selected=new pw;this.destroyed$=new E.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};f=vY.prototype;f.ngOnInit=function(){};f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};f.ngAfterViewInit=function(){this.keyManager=fz(ez(new jz(this.viewOptions)))};f.ngOnChanges=function(a){a.value&&WNc(this)};
f.isSelected=function(a){return this.value===a};f.select=function(a){this.disabled||(this.isSelected(a)||this.valueChange.emit(a),this.selected.emit())};var WNc=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)});-1!==b&&(a.keyManager.setActiveItem(a.includeEmptyOption?b+1:b),XNc(a))}};vY.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
vY.prototype.handleKeydown=function(a){var b=this;a.pipe(bf(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;"ArrowUp"===d||"ArrowDown"===d?(c.preventDefault(),b.keyManager.onKeydown(c),XNc(b)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?b.keyManager._setActiveItemByIndex(0,1):l_b(b.keyManager),XNc(b)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var XNc=function(a){var b,c;if(a=null==(b=a.keyManager)?void 0:null==(c=b.activeItem)?void 0:c.id){var d;null==(d=document.getElementById(a))||d.scrollIntoView({block:"nearest"})}};vY.\u0275fac=function(a){return new (a||vY)(C(LM,8))};
vY.\u0275cmp=Mc({type:vY,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&cg(tY,5);if(a&2){var c;bg(c=eg())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&M("focus",function(){return WNc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,pf("aria-activedescendant",a)("aria-disabled",b.disabled)("aria-label",b.label))},inputs:{value:"value",options:"options",
optionTemplate:"optionTemplate",disabled:"disabled",includeEmptyOption:"includeEmptyOption",label:"label"},outputs:{valueChange:"valueChange",selected:"selected"},features:[ed],decls:4,vars:2,consts:[["role","option","onedevListOption","",3,"option","click",4,"ngIf"],[4,"ngFor","ngForOf"],["optionDisplay",""],["role","option","onedevListOption","",3,"option","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["customOptionDisplay",""],["emptyOption",""],["aria-label",
"empty"]],template:function(a,b){a&1&&(P(0,r5a,2,5,"div",0),P(1,v5a,2,1,"ng-container",1),P(2,B5a,3,2,"ng-template",null,2,hg));a&2&&(F("ngIf",b.includeEmptyOption),B(1),F("ngForOf",b.options))},dependencies:[Nw,Ow,Tw,tY],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)}"],
changeDetection:0});var wY=function(){};var YNc=["trigger"],D5a=function(a){return{$implicit:a}},ZNc=0,xY=function(a){this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new pw;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+ZNc;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;ZNc++};U(xY,wY);f=xY.prototype;f.ngOnInit=function(){};
f.ngAfterViewInit=function(){this.openPopupOnInit&&(this.popupTrigger.open(),this.focused=!0)};f.writeValue=function(a){this.val=a};f.onSelectionChange=function(a){a!==this.val&&(this.onChange(a),this.value=a,this.valueChange.emit(a))};f.isActive=function(){return this.popupTrigger.isOpen||this.focused};f.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};f.registerOnChange=function(a){this.onChange=a};
f.registerOnTouched=function(a){this.onTouched=a};var $Nc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};xY.prototype.setDisabledState=function(a){this.disabled=a};wh.Object.defineProperties(xY.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});xY.\u0275fac=function(a){return new (a||xY)(ud("required"))};
xY.\u0275cmp=Mc({type:xY,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&cg(YNc,7);if(a&2){var c;bg(c=eg())&&(b.popupTrigger=c.first)}},inputs:{value:"value",options:"options",disabled:"disabled",includeEmptyOption:"includeEmptyOption",label:"label",labelledById:"labelledById",valueTemplate:"valueTemplate",optionTemplate:"optionTemplate",displayArrowIcon:"displayArrowIcon",openPopupOnInit:"openPopupOnInit"},outputs:{valueChange:"valueChange"},features:[Pf([{provide:dx,useExisting:Cc(function(){return xY}),
multi:!0},{provide:wY,useExisting:Cc(function(){return xY}),multi:!0}]),lf],decls:13,vars:17,consts:[["onedevPopupPanelTrigger","",3,"onedevPopupPanelTriggerDisabled","disabled","onedevPopupPanelTriggerFor","focus","blur","click","closed"],["trigger","onedevPopupPanelTrigger"],[1,"cdk-visually-hidden"],[4,"ngIf","ngIfElse"],["optionTemplateOrTextLabel",""],["textLabel",""],["class","arrow-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],["onedevKeyEventReceiver","",3,"relayOnly"],
["panel","onedevPopupPanel"],["tabindex","0",1,"single-select-panel",3,"value","includeEmptyOption","options","optionTemplate","label","valueChange","selected"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["emptyValue",""],["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=w();H(0,"button",0,1);M("focus",function(){return b.focused=!0})("blur",function(){return b.focused=!1})("click",
function(){x(c);var g=Lf(1);return z(g.open())})("closed",function(){b.onTouched()});H(2,"span",2);R(3);I();P(4,E5a,2,4,"ng-container",3);P(5,H5a,1,2,"ng-template",null,4,hg);P(7,K5a,3,2,"ng-template",null,5,hg);P(9,L5a,2,0,"svg",6);I();H(10,"onedev-popup-panel",7,8)(12,"onedev-selectable-list",9);M("valueChange",function(g){return b.onSelectionChange(g)})("selected",function(){x(c);var g=Lf(1);return z(g.close())});I()()}if(a&2){var d=Lf(6),e=Lf(11);yf("active",b.isActive());F("onedevPopupPanelTriggerDisabled",
b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",e);pf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());B(3);Nf($Nc(b));B(1);F("ngIf",b.valueTemplate)("ngIfElse",d);B(5);F("ngIf",b.displayArrowIcon);B(1);F("relayOnly",!0);B(2);F("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)}},dependencies:[Ow,Tw,LM,vY,MM,NM],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 S5a=function(){return[]},yY=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};f=yY.prototype;
f.ngOnInit=function(){for(var a=new Map,b=null,c=k(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var g=k(Object.keys(d)),h=g.next();!h.done;h=g.next())h=h.value,b.set(di(h),e[h]||void 0)}g=k(b);for(h=g.next();!h.done;h=g.next()){var m=k(h.value);h=m.next().value;m=m.next().value;var r=d[h],v=e[h],y=void 0,A=null==(y=r)?void 0:y.type;if(r)if("REPEATED_DATE"===A||"REPEATED_ENUM"===A||"REPEATED_NUMERIC"===A||"REPEATED_TEXT"===
A){m=this.repeatedCustomFieldsMap.get(h)||new Map;r=0===m.size;v=aOc(v);y=Array.from(m.keys()).concat(v);y=k(y);for(A=y.next();!A.done;A=y.next())A=A.value,v.includes(A)?m.has(A)||m.set(A,r||null):m.set(A,null);this.repeatedCustomFieldsMap.set(h,m)}else(!v&&void 0!==m||v&&!Yh(v,m))&&b.set(h,null);else b.delete(h)}d=k(Object.entries(d));for(e=d.next();!e.done;e=d.next())g=k(e.value),e=g.next().value,g=g.next().value,a.set(Number(e),Zh(g))}this.customFields=Array.from(b.keys()).map(function(G){return a.get(G)}).filter(function(G){return G});
this.customFields=this.customFields.map(function(G){var N=b.get(G.customFieldId);G.hasMultipleValues=null===N;N?G=Object.assign(N,G):G.hasMultipleValues||"ENUM"!==G.type||(G.enumValue="");return G});c=k(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,Zh(d))};
f.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}};f.getCustomFieldName=function(a){return a.name};f.isCustomFieldRequired=function(a){return a.required};f.getCustomFieldAllowedValues=function(a){return a.allowedValue};f.getCustomFieldType=function(a){return a.type};
var Xp=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},aOc=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()}):[]},Q5a=function(a){return a?ji(a):null},U5a=function(a,b,c){for(var d=k(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(y){return y.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(y){return y.actions.length});if(c.valueChanged){d=k(a.issues);var g=d.next();for(e={};!g.done;e={$jscomp$loop$prop$issueValues$m1272427798$5:e.$jscomp$loop$prop$issueValues$m1272427798$5,$jscomp$loop$prop$action$m1272427798$6:e.$jscomp$loop$prop$action$m1272427798$6},g=d.next()){g=g.value;var h=Nca(g.customFieldValueMap,function(y){return y.customFieldId===b});e.$jscomp$loop$prop$issueValues$m1272427798$5=aOc(h);c.valueMap.forEach(function(y){return function(A,
G){A&&!y.$jscomp$loop$prop$issueValues$m1272427798$5.includes(G)?y.$jscomp$loop$prop$issueValues$m1272427798$5.push(G):!1===A&&(y.$jscomp$loop$prop$issueValues$m1272427798$5=y.$jscomp$loop$prop$issueValues$m1272427798$5.filter(function(N){return N!==G}))}}(e));h=a.originalCustomFields.get(b).type;var m=[],r=[];"REPEATED_DATE"==h?m=e.$jscomp$loop$prop$issueValues$m1272427798$5.map(function(y){return ki(ei(y))}):"REPEATED_NUMERIC"==h&&(r=e.$jscomp$loop$prop$issueValues$m1272427798$5.map(function(y){return Number(y)}));
var v=new ni({customFieldId:b});switch(h){case "REPEATED_TEXT":v.repeatedTextValue={values:e.$jscomp$loop$prop$issueValues$m1272427798$5};break;case "REPEATED_DATE":v.repeatedDateValue={values:m};break;case "REPEATED_ENUM":v.repeatedEnumValue={values:e.$jscomp$loop$prop$issueValues$m1272427798$5};break;case "REPEATED_NUMERIC":v.repeatedNumericValue={values:r}}e.$jscomp$loop$prop$action$m1272427798$6={fieldName:"customField",customFieldValue:v,actionType:v.isEmpty()?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(y){return function(A){return A.actions.some(function(G){return Yh(y.$jscomp$loop$prop$action$m1272427798$6,
G)})}}(e));-1!==h?a.bulkEditOps[h].issueIds.push(g.issueId):a.bulkEditOps.push({actions:[e.$jscomp$loop$prop$action$m1272427798$6],issueIds:[g.issueId]})}}},bOc=function(a){var b=a.customFields.filter(function(m){return!m.type.includes("REPEATED")&&!Yh(m,a.originalCustomFields.get(m.customFieldId))}),c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=new ni({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 g=void 0;d.numericValue=null!=(g=e.numericValue)?g:void 0}if(e=d.isEmpty())d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(m){return m.issueId});b=a.bulkEditOps.findIndex(function(m){a:if(m=m.issueIds,ua(h)&&ua(m)&&h.length==m.length){for(var r=h.length,v=0;v<r;v++)if(h[v]!==m[v]){m=!1;break a}m=!0}else m=!1;return m});-1!==b?a.bulkEditOps[b].actions=
a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,issueIds:h})}};yY.\u0275fac=function(a){return new (a||yY)(C(CA),C(AA))};
yY.\u0275cmp=Mc({type:yY,selectors:[["b-bulk-custom-field-dialog"]],decls:10,vars:2,consts:[["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,"gmat-button","medium","dialog-primary-action","save",3,"click"],[1,"bv2-create-adv-field"],[1,"bv2-top-field-label"],["matTooltipPosition","right",3,"matTooltip"],[3,"ngIf","ngIfElse"],["multipleValues",
""],[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,"ngModel","ngModelChange"],["step","any","name","customInput","type","number",
3,"ngModel","ngModelChange"],[3,"value","required","customAriaLabelledBy","customFormId","valueChange"],[3,"value","options","valueChange"],[3,"type","originalValueMap","enumChoices","onSave"],["title","Clear values",3,"click"]],template:function(a,b){a&1&&(H(0,"h2",0),R(1,"Update custom fields"),I(),H(2,"mat-dialog-content"),P(3,M5a,2,0,"div",1),P(4,Y5a,8,6,"div",2),I(),H(5,"mat-dialog-actions")(6,"button",3),M("class",function(){return b.dialogRef.close()}),R(7,"Cancel"),I(),H(8,"button",4),M("click",
function(){bOc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),R(9," Save "),I()());a&2&&(B(3),F("ngIf",0===b.customFields.length),B(1),F("ngForOf",b.customFields))},dependencies:[Nw,Ow,Pw,Qw,Rw,EA,FA,GA,HA,xY,sY,xg,wx,ox,ux,rY,qA,tC],encapsulation:2});var cOc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,dOc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,eOc=function(a){this.patternParts_=[];this.dateTimeSymbols_=VA;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
eOc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(cOc.test(e))for(0<c.length&&(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(0<="GyMdkHmsSEDabBhKzZvQL".indexOf(e)){0<c.length&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),
c="");for(var g=a.charAt(d),h=d+1;h<a.length&&a.charAt(h)==g;)h++;g=h-d;0>=g?h=!1:(h="MydhHmsSDkK".indexOf(e),h=0<h||0==h&&3>g);this.patternParts_.push({text:e,count:g,abutStart:!1,numeric:h});d+=g-1}else"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!0:c+=e}0<c.length&&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};eOc.prototype.applyStandardPattern_=function(a){11<a&&(a=10);if(4>a)var b=this.dateTimeSymbols_.DATEFORMATS[a];else 8>a?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)};
eOc.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 g=this.patternParts_[c];if(0<g.count&&(0>"abBhHkKm".indexOf(g.text.charAt(0))||2<g.count||g.abutStart))throw Error("ce`"+g.text.charAt(0));}g=new fOc;c=[0];g.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(0==this.patternParts_[h].count){a:{var m=a;var r=this.patternParts_[h],v=d;if(null!=r.text.match(cOc)){if(r=c[0],gOc(m,
c),c[0]>r){m=!0;break a}}else{if(m.indexOf(r.text,c[0])==c[0]){c[0]+=r.text.length;m=!0;break a}if(v&&0==r.text.indexOf(m.substring(c[0]))){c[0]+=m.length-c[0];m=!0;break a}}m=!1}if(m)continue;return 0}if(this.patternParts_[h].abutStart){a:{r=a;v=h;var y=c[0],A=0;for(m=v;m<this.patternParts_.length;m++){var G=this.patternParts_[m],N=G.count;if(0===N)break;if(m==v&&(N-=A,A++,0==N)){m=0;break a}var Q=m>v&&G.numeric,Z=c[0];if(!hOc(this,r,c,G,N,g,!1)||Q&&c[0]-Z<N)m=v-1,c[0]=y}m-=v}if(0>=m)return 0;h+=
m-1}else if(!hOc(this,a,c,this.patternParts_[h],0,g,d))return 0}a:{a=e;if(null==b)throw Error("de");void 0!=g.era&&void 0!=g.year&&0==g.era&&0<g.year&&(g.year=-(g.year-1));void 0!=g.year&&b.setFullYear(g.year);d=b.getDate();b.setDate(1);void 0!=g.month&&b.setMonth(g.month);void 0!=g.day?b.setDate(g.day):(e=B1b(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));"function"===typeof b.setHours&&(void 0==g.hours&&(g.hours=b.getHours()),12>g.hours&&(void 0!=g.ampm&&0<g.ampm?g.hours+=12:void 0!==g.dayPeriodName&&
("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(g.dayPeriodName)||["night1","night2"].includes(g.dayPeriodName)&&6<=g.hours)&&(g.hours+=12)),b.setHours(g.hours));"function"===typeof b.setMinutes&&void 0!=g.minutes&&b.setMinutes(g.minutes);"function"===typeof b.setSeconds&&void 0!=g.seconds&&b.setSeconds(g.seconds);"function"===typeof b.setMilliseconds&&void 0!=g.milliseconds&&b.setMilliseconds(g.milliseconds);if(a&&(g.year&&g.year!=b.getFullYear()||g.month&&g.month!=b.getMonth()||
g.day&&g.day!=b.getDate()||g.hours&&24<=g.hours||g.minutes&&60<=g.minutes||g.seconds&&60<=g.seconds||g.milliseconds&&1E3<=g.milliseconds))b=!1;else{void 0!=g.tzOffset&&b.setTime(b.getTime()+6E4*(g.tzOffset-b.getTimezoneOffset()));g.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(void 0!=g.dayOfWeek)if(void 0==g.day)g=(7+g.dayOfWeek-b.getDay())%7,3<g&&(g-=7),a=b.getMonth(),b.setDate(b.getDate()+g),b.getMonth()!=a&&b.setDate(b.getDate()+
(0<g?-7:7));else if(g.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var hOc=function(a,b,c,d,e,g,h){gOc(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return zY(b,c,[a.dateTimeSymbols_.ERAS],function(m){return g.era=m}),!0;case "M":case "L":return iOc(a,b,c,e,d,g);case "E":return zY(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(m){return g.dayOfWeek=m});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=zY(b,c,a,function(m){return g.dayPeriodIndex=
m},h),g.dayPeriodName=e[g.dayPeriodIndex],h?b:!0;case "a":return b=zY(b,c,[a.dateTimeSymbols_.AMPMS],function(m){return g.ampm=m},h),h?b:!0;case "y":return jOc(a,b,c,d,e,g);case "Q":return zY(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(m){g.month=3*m;g.day=1});case "d":return kOc(a,b,c,d,e,function(m){g.day=m}),!0;case "S":return lOc(a,b,c,e,g);case "h":case "K":case "H":case "k":return b=kOc(a,b,c,d,e,function(m){g.hours="h"===d.text.charAt(0)&&12===m?0:m},h),h?b:
!0;case "m":return b=kOc(a,b,c,d,e,function(m){g.minutes=m},h),h?b:!0;case "s":return kOc(a,b,c,d,e,function(m){g.seconds=m}),!0;case "z":case "Z":case "v":return mOc(a,b,c,g);default:return!1}},jOc=function(a,b,c,d,e,g){var h=c[0];e=AY(a,b,c,e);null===e&&(e=AY(a,b,c,0,!0));if(null===e)return!1;0<=e&&2==c[0]-h&&2==d.count?(a=e,b=(new Date).getFullYear()-80,c=b%100,g.ambiguousYear=a==c,a+=100*Math.floor(b/100)+(a<c?100:0),g.year=a):g.year=e;return!0},iOc=function(a,b,c,d,e,g){return e.numeric&&kOc(a,
b,c,e,d,function(h){g.month=h-1})?!0:zY(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){g.month=h})},lOc=function(a,b,c,d,e){var g=c[0];a=AY(a,b,c,d);if(null===a)return!1;c=c[0]-g;e.milliseconds=3>c?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},mOc=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],g=AY(a,b,c,0,!0);if(null===
g)return!1;if(c[0]<b.length&&":"==b.charAt(c[0])){var h=60*g;c[0]++;g=AY(a,b,c,0);if(null===g)return!1;h+=g}else h=g,h=24>h&&3>=c[0]-e?60*h:h%100+h/100*60;d.tzOffset=-h;return!0},kOc=function(a,b,c,d,e,g,h){h=h||!1;var m=c[0];a=AY(a,b,c,e);if(null===a)return!1;if(h&&c[0]-m<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-m))}g(a);return!0},zY=function(a,b,c,d,e){e=e||!1;for(var g,h=0;h<c.length;h++){g=b;for(var m=c[h],r=e,v=0,y=null,A=a.substring(g[0]).toLowerCase(),G=0;G<m.length;G++){var N=
m[G].toLowerCase();if(r&&0==N.indexOf(A)){v=A.length;y=G;break}m[G].length>v&&0==A.indexOf(N)&&(v=m[G].length,y=G)}null!==y&&(g[0]+=v);g=y;if(null!==g)return d(g),!0}return!1},gOc=function(a,b){(a=a.substring(b[0]).match(dOc))&&(b[0]+=a[0].length)},AY=function(a,b,c,d,e){b=0<d?b.substring(0,c[0]+d):b;e=e||!1;if(a.dateTimeSymbols_.ZERODIGIT){d=[];for(var g=c[0];g<b.length;g++){var h=b.charCodeAt(g)-a.dateTimeSymbols_.ZERODIGIT;d.push(0<=h&&9>=h?String.fromCharCode(h+48):b.charAt(g))}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)},fOc=function(){};fOc.prototype.ambiguousYear=!1;var E0b=Array(31).fill(0).map(function(a,b){return""+(b+1)}),BY=function(){var a=Mz.apply(this,arguments)||this;a.locale=VA;return a};U(BY,Mz);f=BY.prototype;f.setLocale=function(){throw Error("ee");};f.getYear=function(a){return a.getYear()};f.getMonth=function(a){return a.getMonth()};f.getDate=function(a){return a.getDate()};f.getDayOfWeek=function(a){return a.getDay()};var D0b=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
BY.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};BY.prototype.clone=function(a){return a.clone()};var lA=function(a,b,c){return new Hl(a,b,c)};BY.prototype.parse=function(a,b){if(""===a)return null;b=new eOc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Hl(new Date(a));b.parse(a,c);return c};BY.prototype.format=function(a,b){if(!this.isValid(a))throw Error("fe");return(new XA(b)).format(a)};
var jA=function(a,b){a=a.clone();a.add(new WA(b));return a},kA=function(a,b){a=a.clone();a.add(new WA(0,b));return a},iA=function(a,b){a=a.clone();a.add(new WA(0,0,b));return a},P_b=function(a){return a instanceof Hl};BY.prototype.isValid=function(a){return!isNaN(a.getTime())};BY.prototype.invalid=function(){return new Hl(NaN)};BY.prototype.sameDate=function(a,b){return a&&b?(new ci(a)).equals(b):!1};BY.\u0275fac=function(){var a;return function(b){return(a||(a=zd(BY)))(b||BY)}}();
BY.\u0275prov=wc({token:BY,factory:BY.\u0275fac});var nOc={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"},CY=nOc;CY=nOc;var DY=VA.DATEFORMATS[3];DY=DY.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===DY&&(DY="MM/dd/yyyy");var oOc={parse:{dateInput:DY},display:{dateInput:DY,monthYearLabel:CY.YEAR_MONTH_ABBR,dateA11yLabel:CY.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:CY.YEAR_MONTH_FULL}};var EY=function(){};EY.\u0275fac=function(a){return new (a||EY)};EY.\u0275mod=Oc({type:EY});EY.\u0275inj=xc({providers:[{provide:Mz,useClass:BY},{provide:Pz,useValue:oOc}],imports:[cG,QC,tD,JT,Zy]});var FY=function(){};FY.\u0275fac=function(a){return new (a||FY)};FY.\u0275mod=Oc({type:FY});FY.\u0275inj=xc({imports:[EY,IN,QC,cG]});var GY=function(){};GY.\u0275fac=function(a){return new (a||GY)};GY.\u0275mod=Oc({type:GY});GY.\u0275inj=xc({imports:[cG,mC,JT,MT,bO,QC,UA,fP,Jx,FY]});var HY=function(){};HY.\u0275fac=function(a){return new (a||HY)};HY.\u0275mod=Oc({type:HY});HY.\u0275inj=xc({imports:[bx]});var IY=function(){};IY.\u0275fac=function(a){return new (a||IY)};IY.\u0275mod=Oc({type:IY});IY.\u0275inj=xc({imports:[bx,QC,uY]});var JY=function(){};JY.\u0275fac=function(a){return new (a||JY)};JY.\u0275mod=Oc({type:JY});JY.\u0275inj=xc({imports:[bx,uC,QC,Jx,HY,IY,OM]});var KY=function(){};KY.\u0275fac=function(a){return new (a||KY)};KY.\u0275mod=Oc({type:KY});KY.\u0275inj=xc({imports:[cG,IA,JY,GY,Jx,FY,QC,uD]});var LY=function(){};LY.\u0275fac=function(a){return new (a||LY)};LY.\u0275mod=Oc({type:LY});LY.\u0275inj=xc({imports:[cG,IN,fP,QC,IA,SN,qP,eO,zP]});var pOc=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"]]),qOc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),a6a=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),b6a=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),MY=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};MY.\u0275fac=function(a){return new (a||MY)(u(nG),u(bt))};MY.\u0275prov=wc({token:MY,factory:MY.\u0275fac,providedIn:"root"});var d6a=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var NY=function(a,b){GE.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new E.ReplaySubject(1);this.component$=this.providedComponentId$.pipe(af(this.componentFridge.watch),Ye({refCount:!0,bufferSize:1}));this.init=new E.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};U(NY,GE);NY.\u0275dir=GE.\u0275dir;
NY.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=mm({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=lm("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=Dwa(this.componentId,"basic");this.component$.pipe(Oe(),bf(this.destroyed$)).subscribe(function(){a.init.next()})};NY.\u0275fac=function(a){return new (a||NY)(C(PF),C(bt))};
NY.\u0275cmp=Mc({type:NY,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[lf],decls:4,vars:3,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[3,"accessLevel","labelOnlyMode"],["tabindex","0",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),P(2,h6a,16,8,"ng-container",2),S(3,"async"),I()());a&2&&(B(2),F("ngIf",T(3,1,b.component$)))},
dependencies:[Ow,nP,Uw],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var OY=function(){this.changes=new E.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(0==c||0==b)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}};OY.\u0275fac=function(a){return new (a||OY)};OY.\u0275prov=wc({token:OY,factory:OY.\u0275fac,providedIn:"root"});
var rOc={provide:OY,deps:[[new Jv,new Kv,OY]],useFactory:function(a){return a||new OY}};new Zc("MAT_PAGINATOR_DEFAULT_OPTIONS");
var sOc=zh(Joa(function(){})),PY=function(a,b,c){var d=sOc.call(this)||this;d._intl=a;d._changeDetectorRef=b;d._pageIndex=0;d._length=0;d._pageSizeOptions=[];d._hidePageSize=!1;d._showFirstLastButtons=!1;d.selectConfig={};d.page=new pw;d._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});if(c){var e=c.pageSize,g=c.pageSizeOptions,h=c.hidePageSize;c=c.showFirstLastButtons;null!=e&&(d._pageSize=e);null!=g&&(d._pageSizeOptions=g);null!=h&&(d._hidePageSize=h);null!=
c&&(d._showFirstLastButtons=c)}return d};U(PY,sOc);f=PY.prototype;f.ngOnInit=function(){this._initialized=!0;this._updateDisplayedPageSizeOptions();this._markInitialized()};f.ngOnDestroy=function(){this._intlChanges.unsubscribe()};f.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};f.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize};
f.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&0!=this.pageSize};f._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};f._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};f._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
f._updateDisplayedPageSizeOptions=function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(a,b){return a-b}),this._changeDetectorRef.markForCheck())};
f._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
wh.Object.defineProperties(PY.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(Jg(a),0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=Jg(a);this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(Jg(a),0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return Jg(b)});this._updateDisplayedPageSizeOptions()}},hidePageSize:{configurable:!0,enumerable:!0,get:function(){return this._hidePageSize},set:function(a){this._hidePageSize=Gg(a)}},showFirstLastButtons:{configurable:!0,enumerable:!0,get:function(){return this._showFirstLastButtons},set:function(a){this._showFirstLastButtons=Gg(a)}}});
PY.\u0275fac=function(){Fd()};PY.\u0275dir=Qc({type:PY,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[lf]});var tOc=new Zc("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS"),QY=function(a,b,c){a=PY.call(this,a,b,c)||this;c&&null!=c.formFieldAppearance&&(a._formFieldAppearance=c.formFieldAppearance);return a};U(QY,PY);QY.\u0275dir=PY.\u0275dir;QY.\u0275fac=function(a){return new (a||QY)(C(OY),C(Hw),C(tOc,8))};
QY.\u0275cmp=Mc({type:QY,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[lf],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition",
"disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-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-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],
["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],
[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],
template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),P(2,l6a,5,3,"div",2),H(3,"div",3)(4,"div",4),R(5),I(),P(6,m6a,3,5,"button",5),H(7,"button",6),M("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),pd(),H(8,"svg",7),J(9,"path",8),I()(),qd(),H(10,"button",9),M("click",function(){return b.nextPage()}),pd(),H(11,"svg",7),J(12,"path",10),I()(),P(13,n6a,3,5,"button",11),I()()());a&2&&(B(2),F("ngIf",!b.hidePageSize),B(3),Mf(" ",b._intl.getRangeLabel(b.pageIndex,
b.pageSize,b.length)," "),B(1),F("ngIf",b.showFirstLastButtons),B(1),F("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),pf("aria-label",b._intl.previousPageLabel),B(3),F("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),pf("aria-label",b._intl.nextPageLabel),B(3),F("ngIf",b.showFirstLastButtons))},
dependencies:[Nw,Ow,qA,QA,iP,sA,tC],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],
encapsulation:2,changeDetection:0});var RY=function(a){this.paths=a;this.children=[];this.onVisit=new pw;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};RY.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};RY.\u0275fac=function(a){return new (a||RY)(C(dH))};
RY.\u0275cmp=Mc({type:RY,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},decls:3,vars:2,consts:[[3,"length","pageSize","pageSizeOptions","page",4,"ngIf"],[1,"component-children"],[4,"ngFor","ngForOf"],[3,"length","pageSize","pageSizeOptions","page"],[1,"keep-underline","keep-focus-ring",3,"onedevHovercardTrigger","href","click"],["card","onedevHovercard"],[3,"componentId"]],template:function(a,b){a&1&&(P(0,o6a,1,3,"mat-paginator",0),H(1,"ul",1),P(2,
p6a,6,4,"li",2),I());a&2&&(F("ngIf",b.children.length>b.pageSize),B(2),F("ngForOf",b.childrenOnPage))},dependencies:[Nw,Ow,jK,oK,NY,QY],encapsulation:2});var SY=function(){};SY.\u0275fac=function(a){return new (a||SY)};SY.\u0275mod=Oc({type:SY});SY.\u0275inj=xc({imports:[cG,sP]});var TY=function(){};TY.\u0275fac=function(a){return new (a||TY)};TY.\u0275mod=Oc({type:TY});TY.\u0275inj=xc({providers:[rOc],imports:[bx,QC,jP,uD,Lz]});var UY=function(){};UY.\u0275fac=function(a){return new (a||UY)};UY.\u0275mod=Oc({type:UY});UY.\u0275inj=xc({imports:[cG,JN,SY,TY]});var VY=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new pw;this.onClickCopyIssueShortLinks=new pw;this.onClickCopyAsIssueSearch=new pw};VY.\u0275fac=function(a){return new (a||VY)};
VY.\u0275cmp=Mc({type:VY,selectors:[["b-copy-issue-id-button"]],inputs:{shouldShowCopyIssueShortLinks:"shouldShowCopyIssueShortLinks",shortLinkPrefix:"shortLinkPrefix"},outputs:{onClickCopyIssueIds:"onClickCopyIssueIds",onClickCopyIssueShortLinks:"onClickCopyIssueShortLinks",onClickCopyAsIssueSearch:"onClickCopyAsIssueSearch"},decls:10,vars:2,consts:[["mat-button","","aria-label","Copy selected issue IDs",1,"gmat-button","medium","icon-only",3,"click"],["name","copy","size","small"],["mat-button",
"","aria-label","More copy issue ID options",1,"gmat-button","medium","compact",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["splitMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&(H(0,"b-button-group")(1,"button",0),M("click",function(){return b.onClickCopyIssueIds.emit()}),J(2,"b-icon",1),I(),H(3,"button",2),J(4,"b-icon",3),I(),H(5,"mat-menu",null,4),P(7,q6a,2,1,"button",5),H(8,"button",6),M("click",function(){return b.onClickCopyAsIssueSearch.emit()}),
R(9," Copy as issue search "),I()()());if(a&2){var c=Lf(6);B(3);F("matMenuTriggerFor",c);B(4);F("ngIf",b.shouldShowCopyIssueShortLinks)}},dependencies:[Ow,lC,jC,kC,qA,OW,GN],encapsulation:2,changeDetection:0});new Zc("xap-clipboard-snackbar-options");var WY=function(){};WY.\u0275fac=function(a){return new (a||WY)};WY.\u0275mod=Oc({type:WY});WY.\u0275inj=xc({imports:[bx,QC,uC,iG]});var XY=function(){};XY.\u0275fac=function(a){return new (a||XY)};XY.\u0275mod=Oc({type:XY});XY.\u0275inj=xc({imports:[cG,mC,QC,RW,bO,WY]});var YY=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=lGa(b)?"b/":"b-qa/"},q$a=function(a,b){a.clipboard.copy(b.join(", "));mG(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent(io.LIST_ISSUES,"copyIssueId","IDs")},r$a=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));mG(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent(io.LIST_ISSUES,"copyIssueId","b/ links")},
s$a=function(a,b){b=mm({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);mG(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent(io.LIST_ISSUES,"copyIssueId","Issue search link")};YY.\u0275fac=function(a){return new (a||YY)(u(PM),u(bt),u(TH),u(lG),u(FE))};YY.\u0275prov=wc({token:YY,factory:YY.\u0275fac,providedIn:"root"});var ZY=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)};ZY.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
ZY.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};ZY.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"};ZY.\u0275fac=function(a){return new (a||ZY)(C(Bd))};
ZY.\u0275dir=Qc({type:ZY,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var $Y=function(){};$Y.\u0275fac=function(a){return new (a||$Y)};$Y.\u0275mod=Oc({type:$Y});$Y.\u0275inj=xc({});var aZ=function(a){this.currentTracker=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};wh.Object.defineProperties(aZ.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=Ds(this.currentTracker,a);this.componentPath="settings"===this.componentPathsLinkTo?$p(a,Iwa):$p(a)}}});aZ.\u0275fac=function(a){return new (a||aZ)(C(eL))};
aZ.\u0275cmp=Mc({type:aZ,selectors:[["b-component-breadcrumb"]],inputs:{componentPathsLinkTo:"componentPathsLinkTo",componentPathInfo:"componentPathInfo",isArchived:"isArchived",label:"label",openTab:"openTab"},decls:6,vars:3,consts:[["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"],["card","onedevHovercard"],[3,"componentId"],[1,"breadcrumb-archived-indicator"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"p",1),R(2),I(),H(3,"span",2),P(4,r6a,6,4,"span",3),P(5,s6a,2,0,"span",4),I()());a&2&&(B(2),Mf("",b.label,":"),B(2),F("ngForOf",b.componentPath),B(1),F("ngIf",b.isArchived))},dependencies:[Nw,Ow,jK,oK,NY,ZN],encapsulation:2});var bZ=function(){};bZ.\u0275fac=function(a){return new (a||bZ)};bZ.\u0275mod=Oc({type:bZ});bZ.\u0275inj=xc({imports:[cG,JN,SY,$N]});var cZ=function(){};cZ.\u0275fac=function(a){return new (a||cZ)};cZ.\u0275mod=Oc({type:cZ});cZ.\u0275inj=xc({imports:[cG,Jx,QC,fP,IA,sP]});var uOc=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};uOc.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;0===c.length&&(a.noChildren=!0);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var dZ=function(a,b){a.selectedId&&vOc(a,a.selectedId);a.selectedId=b;if(a=wOc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},eZ=function(a){if(!a.selectedId||1>a.selectedId)return null;var b;return null!=(b=a.components.find(function(c){return c.componentId==a.selectedId}))?b:null},xOc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},vOc=function(a,b){b&&(a=wOc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},wOc=function(a){return a?document.getElementById("component-"+a):null},yOc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var v6a=function(a){return{q:a}},fZ=function(a,b,c,d){uOc.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new pw;this.selectedId=null};U(fZ,uOc);fZ.prototype.ngOnInit=function(){};fZ.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};fZ.prototype.ngOnChanges=function(a){a.components&&zOc(this)};fZ.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;dZ(this,a);this.rootController.selectionChanged(this,a)};
var zOc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){a.selectNext()})};f=fZ.prototype;
f.selectNext=function(){if(this.components)if(this.selectedId){var a=xOc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(vOc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(dZ(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else dZ(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
f.selectPrevious=function(){var a=xOc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(dZ(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};f.closeSubtree=function(){if(this.selectedId){var a=eZ(this);a.showChildren?a.showChildren=!1:(this.selectedId=null,this.parentComponent.showChildren=!1,this.childClosed.emit(this.parentComponent.componentId));this.cdr.detectChanges()}};
f.showChildrenForSelectedId=function(){var a=eZ(this);a&&this.showChildren(a)};f.setSelected=function(a,b){yOc(b)||(dZ(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};f.toggleChildrenForSelectedId=function(){var a=eZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};fZ.\u0275fac=function(a){return new (a||fZ)(C(MU),C(dH),C(oG),C(PH,2))};
fZ.\u0275cmp=Mc({type:fZ,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[Pf([PH]),lf,ed],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,"id","click"],[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"],["class","gmat-button","mat-raised-button","",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","",1,"gmat-button",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,"components",
"parentComponent","rootController","includeArchived","childClosed"]],template:function(a,b){a&1&&(H(0,"ol",0),P(1,D6a,19,12,"li",1),I());a&2&&(B(1),F("ngForOf",b.components))},dependencies:[Nw,Ow,bB,tC,rA,wM,nP,hL,fZ],encapsulation:2});var G6a=function(a){return{q:a}},gZ=function(a,b,c,d,e,g){uOc.call(this,a,d,g);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new pw;this.subscriptions=new E.Subscription;this.destroyed$=new E.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};U(gZ,uOc);f=gZ.prototype;
f.ngOnInit=function(){var a=this;this.rootController=this;(0,E.timer)(0).pipe(bf(this.destroyed$)).subscribe(function(){AOc(a)&&!a.selectedId&&dZ(a,a.components[0].componentId)});this.init.emit(this)};f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};f.ngOnChanges=function(a){a.components&&BOc(this)};f.onSubtreeChildClosed=function(a){var b=this;dZ(this,a);this.focusedController=void 0;(0,E.timer)(0).pipe(bf(this.destroyed$)).subscribe(function(){hZ(b)})};
f.fireSelectionEvent=function(a){var b=wOc(a);b&&b.click();hZ(this,a)};var BOc=function(a){(0,E.timer)(0).pipe(bf(a.destroyed$)).subscribe(function(){AOc(a)&&!a.selectedId&&dZ(a,a.components[0].componentId)})};f=gZ.prototype;f.selectionChanged=function(a,b){b&&hZ(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&vOc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
f.setSelected=function(a,b){yOc(b)||(dZ(this,a),this.selectionChanged(null),hZ(this),b.preventDefault(),b.stopPropagation())};
f.registerKeys=function(a){var b=this;this.subscriptions.add(HM(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()}}]}))};f.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=eZ(this);a&&this.showChildren(a)}};
f.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=eZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};f.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(eZ(this).showChildren=!1,this.cdr.detectChanges())};
f.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=xOc(this);AOc(this)&&1<=a&&(dZ(this,this.components[a-1].componentId),hZ(this))}};
f.selectNext=function(){if(AOc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=xOc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(vOc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(dZ(this,this.components[a+1].componentId),hZ(this))}else dZ(this,this.components[0].componentId),hZ(this)};
var hZ=function(a,b){var c=COc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=wOc(b||a.selectedId)){b=COc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},COc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},AOc=function(a){return!!(a.components&&0<a.components.length)};gZ.\u0275fac=function(a){return new (a||gZ)(C(MU),C(dH),C(GM),C(oG),C(Bd),C(PH,2))};
gZ.\u0275cmp=Mc({type:gZ,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[Pf([PH]),lf,ed],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,"id","click"],[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"],["class","gmat-button","mat-raised-button","",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","",1,"gmat-button",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,"components","parentComponent","rootController","includeArchived","childClosed"]],template:function(a,
b){a&1&&(H(0,"ol",0),P(1,O6a,19,12,"li",1),I());a&2&&(B(1),F("ngForOf",b.components))},dependencies:[Nw,Ow,bB,tC,rA,wM,nP,hL,fZ],encapsulation:2});var iZ=function(){};iZ.\u0275fac=function(a){return new (a||iZ)};iZ.\u0275mod=Oc({type:iZ});iZ.\u0275inj=xc({imports:[cG,uD,QC,eO,sP,YN]});var DOc=0,jZ=function(){this.id="b-slide-toggle-"+ ++DOc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new pw};jZ.\u0275fac=function(a){return new (a||jZ)};
jZ.\u0275cmp=Mc({type:jZ,selectors:[["b-slide-toggle"]],hostAttrs:[1,"vertical-centered"],inputs:{id:"id",label:"label",ariaLabel:["aria-label","ariaLabel"],labelPosition:"labelPosition",model:"model",tooltip:"tooltip",disabled:"disabled"},outputs:{modelChange:"modelChange"},decls:2,vars:7,consts:[[3,"id","disabled","checked","aria-label","matTooltip","labelPosition","change"]],template:function(a,b){a&1&&(H(0,"mat-slide-toggle",0),M("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
R(1),I());if(a&2){var c;F("id",b.id)("disabled",b.disabled)("checked",b.model)("aria-label",b.ariaLabel||b.label)("matTooltip",null!==(c=b.tooltip)&&void 0!==c?c:"")("labelPosition",b.label?b.labelPosition:"after");B(1);Nf(b.label)}},dependencies:[ET,tC],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var kZ=function(){};kZ.\u0275fac=function(a){return new (a||kZ)};kZ.\u0275mod=Oc({type:kZ});kZ.\u0275inj=xc({imports:[kU,uD]});var EOc=["spanElement"],lZ=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};lZ.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};lZ.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)+"...")};
lZ.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};lZ.\u0275fac=function(a){return new (a||lZ)};
lZ.\u0275cmp=Mc({type:lZ,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&cg(EOc,5);if(a&2){var c;bg(c=eg())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[ed],decls:2,vars:2,consts:[[3,"matTooltip","innerHtml"],["spanElement",""]],template:function(a,b){a&1&&J(0,"span",0,1);a&2&&F("matTooltip",b.getTooltip())("innerHtml",b.displayString,Qd)},dependencies:[tC],encapsulation:2});var mZ=function(){};mZ.\u0275fac=function(a){return new (a||mZ)};mZ.\u0275mod=Oc({type:mZ});mZ.\u0275inj=xc({imports:[cG,uD]});var FOc=["popupField"],GOc=["fieldContent"],HOc=["popupOverlay"],IOc=["overlayContent"],k7a=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},JOc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],nZ=function(a,b,c,d,e,g,h,m){GE.call(this);this.cdr=a;this.element=b;this.overlay=c;this.viewContainerRef=d;this.dateFormatter=e;this.activeSession=g;this.constants=h;this.appEvents=m;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.showEnumTitle=!1;this.valueChange=new pw;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.truncate=!1;this.enableTeamAnnotations=g.isInternalSession()};U(nZ,GE);nZ.\u0275dir=GE.\u0275dir;f=nZ.prototype;
f.ngOnInit=function(){var a=this;this.enableWaldoAvailability=EE(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,KOc(a),a.cdr.detectChanges())}));this.subscriptions.add(wlc(this.dateFormatter,function(){LOc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){KOc(a)})};
f.ngOnDestroy=function(){GE.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};f.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&LOc(this)};f.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
f.getPositionStrategy=function(){return Cz(Dz(Ez(Gz(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),JOc)};
var KOc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},w7a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();C7a(a);break;case 27:b.stopPropagation(),aq(a,b,!1,!0)}},u7a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),C7a(a);break;case 27:b.stopPropagation(),aq(a,b,!1,!0)}},g7a=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();aq(a,
b,!0,!1);break;case 27:b.stopPropagation(),aq(a,b,!1,!0)}},aq=function(a,b,c,d){if((null==b?0:b.target)&&"nodeName"in b.target&&"A"===b.target.nodeName||"ENUM"===a.type&&0===a.choices.length)null==b||b.stopPropagation();else{if(!c||a.disabled||a.readonly){if(a.isActive=!1,KOc(a),d){var e;null==(e=a.popupField)||e.nativeElement.focus()}}else if(a.appEvents.openEditField.next(a),a.isActive=!0,a.textBuffer=null!=a.value?String(a.value):"","DATE"==a.type&&(c=a.value,a.googDateValue=c?ji(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){MOc(a);var g=a.element.nativeElement;(0,E.fromEvent)(document,"click").pipe(De(function(h){return!g.contains(h.target)}),Oe(),bf(a.overlayRef._detachments),bf(a.destroyed$)).subscribe(function(){aq(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};nZ.prototype.schedule=function(a){var b=E.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
nZ.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var LOc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&ulc.has(b)){a.displayValue=Bua(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(ji(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};nZ.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=ki(a)),"NUMERIC"===this.type&&""===a&&(a=null),Yh(this.value,a)?"ENUM"===this.type&&aq(this,null,!1,!0):(aq(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var C7a=function(a){if(void 0===a.type)throw Error("ge");a.isUser&&(a.textBuffer=a.textBuffer.replace(/^[\s,]+|[\s,]+$/g,""));"NUMERIC"===a.type&&(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("he");default:Fh(a.type,"FieldType")}};
nZ.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);aq(this,null,!1,!0)};var MOc=function(a){KOc(a);var b=a.overlayRef.attach(new Xx(a.popupOverlay,a.viewContainerRef)).rootNodes[0];a.schedule(function(){if("TEXT"===a.type||"NUMERIC"===a.type){var c=b.querySelector("textarea, input");c.focus();c.select()}else"DATE"===a.type&&b.querySelector(".goog-date-picker").focus()})};
nZ.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};nZ.prototype.isBoolean=function(){return"BOOL"===this.type};nZ.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};nZ.\u0275fac=function(a){return new (a||nZ)(C(PH,2),C(Bd),C(Hz),C($f),C(uJ),C(bt),C(tJ),C(sG))};
nZ.\u0275cmp=Mc({type:nZ,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(cg(kC,5),cg(FOc,5),cg(GOc,5),cg(HOc,5),cg(IOc,5));if(a&2){var c;bg(c=eg())&&(b.enumMenuTrigger=c.first);bg(c=eg())&&(b.popupField=c.first);bg(c=eg())&&(b.fieldContent=c.first);bg(c=eg())&&(b.popupOverlay=c.first);bg(c=eg())&&(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",showEnumTitle:"showEnumTitle",readonly:"readonly",disabled:"disabled",tooltip:"tooltip",truncate:"truncate",showAvailability:"showAvailability"},outputs:{valueChange:"valueChange"},features:[Pf([PH]),lf,ed],decls:11,vars:5,consts:[[1,"bv2-issue-metadata-field"],["class","keep-focus-ring","role","button","tabindex","0","aria-haspopup","true",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"],["enumMenu","matMenu"],["matMenuContent",""],["popupOverlay",""],["role","button","tabindex","0","aria-haspopup","true",1,"keep-focus-ring",3,"matTooltip","click","keydown","keydown.escape"],["popupField","","tooltip","matTooltip"],[3,"class",4,"ngIf"],["class","bv2-editable-value",3,"matMenuTriggerFor","menuClosed",4,"ngIf"],["class","bv2-editable-value",4,"ngIf"],["field",""],[1,"bv2-editable-value",3,"matMenuTriggerFor","menuClosed"],
[4,"ngTemplateOutlet"],[1,"bv2-editable-value"],[1,"bv2-editable-value",3,"keydown","click"],["fieldContent",""],["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,"disabled","aria-label","model","modelChange"],[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","click",4,"ngFor","ngForOf"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","matTooltip","click"],["role","dialog",3,"ngSwitch"],["overlayContent",""],[4,"ngSwitchCase"],[3,"click",4,"ngSwitchCase"],["class","bv2-text-field-edit",3,"click",4,"ngSwitchDefault"],[3,"required","date","dateSelectionChange","saveClicked","cancelClicked"],
[1,"bv2-text-field-edit",3,"click"],[1,"bv2-text-edit-dialog-buttons"],["mat-flat-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"disabled","matTooltip","click"],["svgIcon","done"],["mat-stroked-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"matTooltip","click"],["svgIcon","close"],["spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["spellcheck",
"false",3,"ngModel","ngModelChange","keydown"],["step","any","spellcheck","false",3,"ngModel","ngModelChange","keydown"],["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,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive"],["step","any","spellcheck","false",
3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive"]],template:function(a,b){a&1&&(H(0,"div")(1,"div",0),P(2,i7a,8,14,"div",1),P(3,l7a,3,13,"div",2),P(4,n7a,2,1,"ng-container",3),J(5,"div",4),I(),H(6,"mat-menu",null,5),P(8,q7a,2,2,"ng-template",6),I(),P(9,E7a,6,7,"ng-template",null,7,hg),I());a&2&&(B(1),yf("active",b.isActive&&!b.readonly&&!b.disabled),B(1),F("ngIf","BOOL"!==b.type),B(1),F("ngIf",b.isBoolean(b.value)),B(1),F("ngIf",b.isUser))},dependencies:[fJ,Mw,Nw,
Ow,Tw,Pw,Qw,Rw,bB,wS,oY,xg,ox,ux,qA,lC,jC,kC,iC,tC,jZ,KK,lZ,PK,yP,Vw],styles:[".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var NOc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},oZ=function(){};oZ.\u0275fac=function(a){return new (a||oZ)};oZ.\u0275mod=Oc({type:oZ});oZ.\u0275inj=xc({imports:[wP,hT,cG,xS,EY,Jx,QC,mC,uD,kZ,SN,aK,mZ,zP]});var OOc=0,pZ=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+OOc;this.id="b-collapsible-panel-"+OOc;OOc++};pZ.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
wh.Object.defineProperties(pZ.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"}}});pZ.\u0275fac=function(a){return new (a||pZ)(C(Bd))};
pZ.\u0275cmp=Mc({type:pZ,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&&(Gf(),H(0,"div",0)(1,"button",1),M("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),P(2,G7a,1,1,"b-icon",2),P(3,H7a,2,1,"span",3),P(4,I7a,2,0,"div",4),J(5,"mat-icon",5),I(),H(6,"div",6),Hf(7),I()());a&2&&(B(1),yf("compact",
b.hasCompactTitleBar),pf("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),B(1),F("ngIf",b.iconName),B(1),F("ngIf",!b.hasCompactTitleBar||!b.isExpanded),B(1),F("ngIf",b.hasCompactTitleBar),B(1),F("@expandCollapseIcon",b.expandedState),B(1),F("@expandCollapseContent",b.expandedState),pf("id",b.id)("aria-labelledby",b.headerId))},dependencies:[Ow,bB,GN],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:[Wg("expandCollapseContent",[$g("expanded",Zg({height:"*",visibility:"visible"})),$g("collapsed",Zg({height:"0",visibility:"hidden"})),ah("expanded <=> collapsed",[Yg("200ms")])]),Wg("expandCollapseIcon",[$g("expanded",Zg({transform:"rotate(-180deg)"})),$g("collapsed",Zg({transform:"*"})),ah("expanded <=> collapsed",[Yg("200ms")])])]}});var qZ=function(){};qZ.\u0275fac=function(a){return new (a||qZ)};qZ.\u0275mod=Oc({type:qZ});qZ.\u0275inj=xc({imports:[cG,bO]});var POc=["addLink"],QOc=["showFewer"],ROc=["showMore"],SOc=["removeButton"],TOc=["userChip"],K7a=function(a,b){return{item:a,$index:b}},c8a=function(a){return{q:a}},UOc=[[["",8,"title-action"]],[["",8,"value-action"]]],VOc=[Object.assign({},cq("start","bottom"),dq("start","top"),{offsetY:8}),Object.assign({},cq("center","bottom"),dq("center","top"),{offsetY:8}),Object.assign({},cq("end","bottom"),dq("end","top"),{offsetY:8}),Object.assign({},cq("start","top"),dq("start","bottom"),{offsetY:-8}),Object.assign({},
cq("end","top"),dq("end","bottom"),{offsetY:-8})],rZ=function(a,b,c,d){GE.call(this);this.cdr=a;this.dateFormatter=b;this.analytics=c;this.OVERLAY_POSITION_LIST=VOc;this.defaultLineCount=Number.POSITIVE_INFINITY;this.isDefaultOrAllowedValues=this.preventDuplicates=this.readonly=!1;this.values=null;this.userMap=new Map;this.enumChoices=null;this.sortedEnumChoices=[];this.enumPendingValues=new Set;this.isUser=this.isActive=!1;this.valuesChange=new pw;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 pw;this.teamId=this.invalidMessage="";this.isString=$h;this.enableTeamAnnotations=d.isInternalSession();this.environmentType=d.getEnvironmentType()};U(rZ,GE);rZ.\u0275dir=GE.\u0275dir;
rZ.prototype.ngOnChanges=function(a){var b;if(null==(b=a.users)?0:b.currentValue)for(a=k(a.users.currentValue),b=a.next();!b.done;b=a.next()){b=b.value;var c=ti(b);c&&this.userMap.set(c,Zh(b))}};rZ.prototype.ngOnInit=function(){Q7a(this)};rZ.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.userChips)||b.changes.subscribe(function(){a.cdr.detectChanges()})};
var Q7a=function(a){a.sortedEnumChoices=[].concat(ad(a.enumChoices||[])).sort(function(b){b=b.value;var c,d=(null==(c=a.values)?0:c.includes(b))?1:0,e;return((null==(e=a.values)?0:e.includes(b))?1:0)-d})},R7a=function(a){var b=a.values||[],c=[].concat(ad(a.enumPendingValues)),d=c.filter(function(g){return!b.includes(g)}),e=b.filter(function(g){return!c.includes(g)});if(d.length||e.length)a.values=c,a.valuesChange.emit({values:a.values,added:d,removed:e})};
rZ.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
rZ.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(null==(d=b.values)?0:d.length){d=Math.min(a,b.values.length-1);var e,g,h;null==(e=b.removeButtons)||null==(g=e.get(d))||null==(h=g.nativeElement)||h.focus()}else{var m,r;null==(m=b.addLinkEl)||null==(r=m.nativeElement)||r.focus()}})};
rZ.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=ki(a);this.preventDuplicates&&this.values.find(function(g){return Yh(g,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&lqa(this.values)&&lqa(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(ai(this.values)&&ai(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=k(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;"CHANGELISTS"===this.type&&(e=C8a(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||y8a(this,!0);0!==b.length&&(this.values=[].concat(ad(this.values),ad(b)),this.valuesChange.emit({values:this.values,added:b}))};rZ.prototype.onDrop=function(a){Pn(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var y8a=function(a,b){var c,d=k(null!=(c=a.menuTriggers)?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=k(null!=(e=a.popupTriggers)?e:[]);for(c=d.next();!c.done;c=d.next())e=c.value,e.disabled||(e.disabled=!0,e.disabled=!1);b&&a.addLinkEl&&a.addLinkEl.nativeElement.focus()},bq=function(a,b,c){null==c||c.stopPropagation();null==c||c.preventDefault();a.showingAll=b;a.cdr.detectChanges();a.schedule(function(){var d,e,g;null==(d=null!=(g=a.showFewer)?g:a.showMore)||null==(e=d.nativeElement)||
e.focus()})};rZ.prototype.getDisplayValues=function(){var a=this;return this.values&&"REPEATED_DATE"===this.type?this.values.map(function(b){return a.dateFormatter.formatUserCalendar(ji(b))}):this.values&&"TEAM"===this.type?this.values:this.values&&"WORKSPACES"===this.type?this.values:this.values&&"REPEATED_ENUM"===this.type?this.values:this.displayValuesOverride||(this.values||[]).map(function(b){return $h(b)?b:kqa(b)?""+b:a.dateFormatter.formatUserCalendar(ji(b))})};
var x8a=function(a,b,c){var d,e,g;return ne(function(h){if(1==h.nextAddress)return a.inputValidator?h.yield(a.inputValidator(b.value.input),3):h.jumpTo(2);2!=h.nextAddress&&(a.invalidMessage=h.yieldResult,a.cdr.detectChanges());if(!b.valid||a.invalidMessage)return h.return();d=b.value.input;null==(e=b)||e.reset();null==(g=c.querySelector("input"))||g.focus();a.addItems(d);se(h)})};f=rZ.prototype;f.trackClick=function(a){this.analytics.trackEvent(io.LINK_FIELD,"click",a)};f.getUser=function(a){return this.userMap.get(a)};
f.schedule=function(a){this.subscriptions.add(E.asyncScheduler.schedule(a))};f.trackByIndex=function(a){return a};f.getTaskFlowLink=function(a){switch(this.environmentType){case "NIGHTLY":case "PROD":var b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}return b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId};f.asNumber=function(a){return Number(a)};
f.getAriaLabel=function(){if(!this.values||0===this.values.length)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"}1<this.values.length&&(a+="s");return a};rZ.\u0275fac=function(a){return new (a||rZ)(C(PH,2),C(uJ),C(TH),C(bt))};
rZ.\u0275cmp=Mc({type:rZ,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(cg(POc,5),cg(QOc,5),cg(ROc,5),cg(SOc,5),cg(TOc,5),cg(kC,5),cg(EX,5));if(a&2){var c;bg(c=eg())&&(b.addLinkEl=c.first);bg(c=eg())&&(b.showFewer=c.first);bg(c=eg())&&(b.showMore=c.first);bg(c=eg())&&(b.removeButtons=c);bg(c=eg())&&(b.userChips=c);bg(c=eg())&&(b.menuTriggers=c);bg(c=eg())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",isDefaultOrAllowedValues:"isDefaultOrAllowedValues",
values:"values",users:"users",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:[Pf([PH]),lf,ed],ngContentSelectors:[".title-action",".value-action"],decls:23,vars:18,consts:[[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition"],[1,"bv2-editable-title"],[4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDisabled","cdkDropListDropped"],[3,"isExpanded","iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],
["addLink",""],[3,"ngSwitch",4,"ngIf"],["itemRenderer",""],["metadataTools",""],["enumPopup","matMenu"],["matMenuContent",""],["textPopup",""],["datePopup",""],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],["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,"ngSwitchCase"],["mat-button","","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","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],
["mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"matMenuTriggerFor","menuOpened","menuClosed"],["mat-button","","matTooltip","Add a new item to the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link",
"tiny",3,"xapInlineDialogClick","overlayPositions","matTooltip","beforeOpened"],["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"],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["checkIfRepeatedEnum",""],["default",""],["tabindex","0","aria-label","Open issue access dialog.","class","issue-metadata-field-edit-icon","size","small","name",
"edit_24px",3,"click",4,"ngIf","ngIfElse"],["removeIcon",""],[1,"float-clear"],[3,"changelistId"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId","componentId"],["target","_blank",1,"bv2-metadata-link",3,"href","click"],["routerLink","/issues",1,"bv2-metadata-link",3,"queryParams","click"],["class","list-field-user-container",4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon",4,"ngIf"],[3,"email",
4,"ngIf"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon"],["userChip",""],[3,"email"],["tabindex","0","aria-label","Open issue access dialog.","size","small","name","edit_24px",1,"issue-metadata-field-edit-icon",3,"click"],["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,"disabled","matTooltip","click"],["removeButton",""],["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,"matTooltip","click","keydown.enter","keydown.space"],["showFewer",""],[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showMore",""],["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,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["textPopupForm","ngForm","formEl",""],["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,"gmat-button","medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"gmat-button","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,"required","renderPanel","dateChange",
"cancelClicked"]],template:function(a,b){a&1&&(Gf(UOc),H(0,"div",0)(1,"div",1)(2,"div",2),P(3,J7a,2,1,"label",3),Hf(4),I(),H(5,"div",4),M("cdkDropListDropped",function(c){return b.onDrop(c)}),P(6,M7a,3,7,"collapsible-panel",5),P(7,P7a,4,4,"ng-container",3),H(8,"div",6,7),P(10,V7a,4,3,"ng-container",8),Hf(11,1),I()()(),P(12,o8a,1,1,"ng-template",null,9,hg),P(14,r8a,2,2,"ng-template",null,10,hg),H(16,"mat-menu",null,11),P(18,t8a,1,2,"ng-template",12),I(),P(19,z8a,13,6,"ng-template",null,13,hg),P(21,
A8a,1,2,"ng-template",null,14,hg),I());a&2&&(yf("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&!b.readonly),B(1),yf("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),F("matTooltip",b.tooltip)("matTooltipPosition","left"),pf("aria-label",b.getAriaLabel()),B(2),F("ngIf",b.title),B(2),yf("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),F("cdkDropListDisabled",!b.isDefaultOrAllowedValues),B(1),F("ngIf",
b.isCollapsible),B(1),F("ngIf",!b.isCollapsible),B(3),F("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[Nw,Ow,Tw,Pw,Qw,Rw,bB,GN,NA,qM,oY,vx,xg,ox,px,Fx,ux,sx,qA,tC,KK,lZ,yP,uL,sL,BX,AX,EX,lC,jC,kC,iC,wS,pZ,bL,YG],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}[_nghost-%COMP%]     .bv2-field-user-action-footer span{width:max-content;display:flex}"]});
var WOc={USERCHIP:"USERCHIP",CHANGELISTS:"CHANGELISTS",POSTMORTEMS:"POSTMORTEMS",REPEATED_TEXT:"REPEATED_TEXT",REPEATED_DATE:"REPEATED_DATE",REPEATED_ENUM:"REPEATED_ENUM",REPEATED_NUMERIC:"REPEATED_NUMERIC",TEAM:"TEAM",WORKSPACES:"WORKSPACES"},sZ=function(){};sZ.\u0275fac=function(a){return new (a||sZ)};sZ.\u0275mod=Oc({type:sZ});sZ.\u0275inj=xc({imports:[cG,bO,UA,HT,EY,Jx,QC,uD,SN,WN,mZ,zP,vL,PX,RX,mC,xS,qZ,RX,XN,bH]});var E8a=function(){return[]},tZ=function(){this.disabled=this.readonly=!1;this.save=new pw},XOc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};tZ.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=XOc(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};tZ.prototype.getTooltip=function(){var a=this.field.customFieldId;a=this.field.shared?"(Global Field "+a+". see go/b-gcf)":"[ID: "+a+"]";var b;return(null!=(b=this.field.description)?b:"")+" "+a};
var D8a=function(a){return(a=XOc(a).getValue())&&void 0===a.values?a:null},G8a=function(a){return(a=XOc(a).getValue())&&void 0!==a.values?a.values:null};wh.Object.defineProperties(tZ.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});tZ.\u0275fac=function(a){return new (a||tZ)};
tZ.\u0275cmp=Mc({type:tZ,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&cg(nZ,5);if(a&2){var c;bg(c=eg())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&yf("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","valueChange",
4,"ngIf"],[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange",4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","valueChange"],[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange"]],template:function(a,b){a&1&&
P(0,I8a,3,2,"ng-container",0);a&2&&F("ngIf",XOc(b))},dependencies:[Ow,rZ,nZ],encapsulation:2});var uZ=function(){};uZ.\u0275fac=function(a){return new (a||uZ)};uZ.\u0275mod=Oc({type:uZ});uZ.\u0275inj=xc({imports:[cG,sZ,oZ]});var vZ=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new pw;this.filter=function(){return!0}};vZ.prototype.onComponentSelect=function(a){var b=this;if(this.selectedComponent=a){var c;this.customFields=((null==(c=a.componentPathInfo)?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};vZ.\u0275fac=function(a){return new (a||vZ)};
vZ.\u0275cmp=Mc({type:vZ,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,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["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&&(H(0,"div",0)(1,"div",1),R(2," First, select a component that contains the custom field. "),I(),H(3,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),I(),P(4,N8a,4,3,"div",3),I());a&2&&(B(3),F("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),B(1),F("ngIf",b.selectedComponent))},dependencies:[Nw,Ow,QA,PA,iP,sA,
SU],encapsulation:2});var wZ=function(){};wZ.\u0275fac=function(a){return new (a||wZ)};wZ.\u0275mod=Oc({type:wZ});wZ.\u0275inj=xc({imports:[cG,jP,JW]});var YOc=function(a){return{value:a}},xZ=function(){this.isNonemptyJsonDateValue=wqa};xZ.prototype.toDate=function(a){return ji(a)};xZ.\u0275fac=function(a){return new (a||xZ)};
xZ.\u0275cmp=Mc({type:xZ,selectors:[["b-custom-field-value-display"]],inputs:{customFieldValue:"customFieldValue"},decls:6,vars:4,consts:[[1,"bv2-custom-field-value-display"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["null",""],["nonNull",""],[4,"ngIf"],["mode","date",3,"date"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(H(0,"span",0),P(1,O8a,1,0,"ng-container",1),I(),P(2,P8a,0,0,"ng-template",null,2,hg),P(4,b9a,8,8,"ng-template",null,3,hg));if(a&2){var c=Lf(5);B(1);F("ngTemplateOutlet",
null==b.customFieldValue?null:c)("ngTemplateOutletContext",Sf(2,YOc,b.customFieldValue))}},dependencies:[Nw,Ow,Tw,VK],encapsulation:2});var yZ=function(){};yZ.\u0275fac=function(a){return new (a||yZ)};yZ.\u0275mod=Oc({type:yZ});yZ.\u0275inj=xc({imports:[cG,IN]});var aPc=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";ZOc(this,b);$Oc(this,b)},ZOc=function(a,b){var c=b[0],d=El[c.status],
e=c.duplicateOfIssueId;if(d)for(b.every(function(g){return"DUPLICATE"===g.status&&e===g.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},bPc=function(a){if(1===a.length)return"IDENTICAL_EMAILS";var b=!a.every(function(c){return c===a[0]});return a.every(function(c){return void 0===c||Fl(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},$Oc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=bPc(c);a.selectedVerifiersStatus=bPc(b);"IDENTICAL_EMAILS"===a.selectedAssigneesStatus&&(a.commonAssignee=c[0],a.origCommonAssignee=c[0]);"IDENTICAL_EMAILS"===a.selectedVerifiersStatus&&(a.commonVerifier=b[0],a.origCommonVerifier=b[0])};
aPc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;K9a(this)};aPc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var iq=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},G9a=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?cPc(a.selectedAssigneesStatus)?a.clearAssignee():a.commonAssignee&&(a.lastCommonAssignee=a.commonAssignee,a.commonAssignee=""):"DUPLICATE"===b.status?(a.commonAssignee=a.origCommonAssignee,a.commonVerifier=a.origCommonVerifier):("REQUIRED"!==b.assigneeRequirement||a.commonAssignee||cPc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),cPc(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},cPc=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},K9a=function(a){var b=El.NEW,c=El.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!zec.has(a.issueState)||(a.issueState=b)},dPc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},V9a=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);dPc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var ePc=function(a){this.uploadUrl_=a};ePc.prototype.getUploadUrl=function(){return this.uploadUrl_};var fPc=function(){fp.call(this)};nt(fPc,fp);var zZ=function(a){kB.call(this,a)};nt(zZ,kB);var AZ=function(a){kB.call(this,a)};nt(AZ,kB);var gPc=function(a,b){this.name_=a;this.inputElement_=b};gPc.prototype.getName=function(){return this.name_};var hPc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!1};var BZ=function(){fp.call(this);this.name_="closure_frame"+iPc++;this.iframesForDisposal_=[];jPc[this.name_]=this},CZ;nt(BZ,fp);var jPc={},iPc=0,kPc=function(a,b){var c=ip(a);l$b(b,function(d,e){Array.isArray(d)||(d=[d]);oa(d,function(g){g=c.createDom("INPUT",{type:"hidden",name:e,value:g});a.appendChild(g)})})};f=BZ.prototype;f.form_=null;f.iframe_=null;f.iframeName_=null;f.nextIframeId_=0;f.active_=!1;f.complete_=!1;f.success_=!1;f.lastUri_=null;f.lastContent_=null;f.lastErrorCode_=0;
f.iframeDisposalTimer_=null;f.send=function(a,b,c,d){if(this.active_)throw Error("ie");this.lastUri_=a=new lp(a);b=b?b.toUpperCase():"GET";c&&v$b(a);CZ||(CZ=F2b("FORM"),CZ.acceptCharset="utf-8",c=CZ.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(CZ));this.form_=CZ;"GET"==b&&kPc(this.form_,a.queryData_);d&&kPc(this.form_,d);MTb(this.form_,Ug(a.toString()));this.form_.method=b;lPc(this);mPc(this)};
f.abort=function(a){if(this.active_){var b=nPc(this);if(b)if(mB(b))b.removeAllListeners(void 0);else if(b=r2b(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),g=0;g<e.length;++g)qB(e[g])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");oPc(this)}};
f.disposeInternal=function(){this.active_&&this.abort();BZ.superClass_.disposeInternal.call(this);this.iframe_&&pPc(this);mPc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete jPc[this.name_]};f.isComplete=function(){return this.complete_};f.isSuccess=function(){return this.success_};f.isActive=function(){return this.active_};f.getResponseText=function(){return this.lastContent_};f.getResponseJson=function(){return u4b(this.lastContent_)};
f.getLastUri=function(){return this.lastUri_};f.getLastErrorCode=function(){return this.lastErrorCode_};f.getLastError=function(){return B4b(this.lastErrorCode_)};
var lPc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=ip(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});Gq&&7>Number(ENb)&&MTb(a.iframe_,Ug(hc(fo('javascript:""'))));var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";rt?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");ip(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";
var c=J2b(a.iframe_);if(document.baseURI){var d=Qp(b);d=Mg('<head><base href="'+Qp(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=Qp(b),d=Mg('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(Og(d));gp(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=uB("TEXTAREA",a.form_);for(var e=0,g=d.length;e<g;e++){var h=d[e].value,m=[];O2b(d[e],m,!1);m.join("")!=h&&(K2b(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=uB("SELECT",a.form_);g=uB("SELECT",d);h=0;for(m=e.length;h<m;h++)for(var r=uB("OPTION",e[h]),v=uB("OPTION",g[h]),y=0,A=r.length;y<A;y++)v[y].selected=r[y].selected;e=uB("INPUT",a.form_);g=uB("INPUT",d);h=0;for(m=e.length;h<m;h++)if("file"==e[h].type&&e[h].value!=g[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),qt&&yo(a.testForFirefoxSilentError_,250,a)}catch(G){pB(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
BZ.prototype.onIframeLoaded_=function(){pB(nPc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?J2b(nPc(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||"function"!=typeof this.errorChecker_||(d=this.errorChecker_(a))&&(c=4);c?this.handleError_(c):(this.success_=!0,this.lastErrorCode_=0,this.dispatchEvent("complete"),this.dispatchEvent("success"),oPc(this))}catch(e){this.handleError_(1)}};
BZ.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),oPc(this),this.errorHandled_=!0)};
var oPc=function(a){pPc(a);mPc(a);a.form_=null;a.dispatchEvent("ready")},pPc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(zo(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);qt?a.iframeDisposalTimer_=yo(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
BZ.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(zo(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();yB(a)}};var mPc=function(a){a.form_&&a.form_==CZ&&I2b(a.form_)},nPc=function(a){return a.iframe_?J2b(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
BZ.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?J2b(nPc(this)):null;a&&!oNb(a,"documentUri")?(pB(nPc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):yo(this.testForFirefoxSilentError_,250,this)}};var qPc=function(a,b,c,d,e){fp.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 lp(a);gD(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new BZ;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new Mq(this);jB(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};U(qPc,fPc);f=qPc.prototype;f.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("ie");var c=new lp(this.url_||b.action);a.lastUri_=c;a.form_=b;MTb(a.form_,c.toString());lPc(a)};f.getBytesTransferred=function(){return null};
f.getResponseCode=function(){return null};f.getResponseHeaders=function(){return null};f.getResponseText=function(){return this.request_&&this.request_.getResponseText()||null};f.getErrorDescription=function(){return this.errorDescription_};f.cancel=function(){this.request_&&this.request_.abort();this.state_="Cancelled";this.dispatchEvent(new zZ("q"))};f.pause=function(){};f.unpause=function(){};f.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new zZ("n"))};
f.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new zZ("p"))};var tPc=function(a,b){void 0!==a.name?(this.name=a.name,this.code=rPc[a.name]):(this.code=a=a.code,this.name=sPc(a));aa.call(this,QTb("%s %s",this.name,b))};nt(tPc,aa);
var sPc=function(a){var b=Mca(rPc,function(c){return a==c});if(void 0===b)throw Error("je`"+a);return b},DZ={},rPc=(DZ.AbortError=3,DZ.EncodingError=5,DZ.InvalidModificationError=9,DZ.InvalidStateError=7,DZ.NotFoundError=1,DZ.NotReadableError=4,DZ.NoModificationAllowedError=6,DZ.PathExistsError=12,DZ.QuotaExceededError=10,DZ.SecurityError=2,DZ.SyntaxError=8,DZ.TypeMismatchError=11,DZ);var uPc=function(a,b){kB.call(this,a.type,b);this.event_=a};nt(uPc,kB);var vPc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};var d9a=new WeakMap,c9a=function(a,b){a=[a];for(var c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\v")};eq(function(){if(!ba.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});var wPc=eq(function(){if(!ba.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===vPc(b,0,1)?!1:!0});var xPc=function(){fp.call(this);this.reader_=new FileReader;this.reader_.onloadstart=lt(this.dispatchProgressEvent_,this);this.reader_.onprogress=lt(this.dispatchProgressEvent_,this);this.reader_.onload=lt(this.dispatchProgressEvent_,this);this.reader_.onabort=lt(this.dispatchProgressEvent_,this);this.reader_.onerror=lt(this.dispatchProgressEvent_,this);this.reader_.onloadend=lt(this.dispatchProgressEvent_,this)};nt(xPc,fp);f=xPc.prototype;
f.abort=function(){try{this.reader_.abort()}catch(a){throw new tPc(a,"aborting read");}};f.getReadyState=function(){return this.reader_.readyState};f.getError=function(){return this.reader_.error&&new tPc(this.reader_.error,"reading file")};f.dispatchProgressEvent_=function(a){this.dispatchEvent(new uPc(a,this))};f.disposeInternal=function(){xPc.superClass_.disposeInternal.call(this);delete this.reader_};f.readAsBinaryString=function(a){this.reader_.readAsBinaryString(a)};f.readAsArrayBuffer=function(a){this.reader_.readAsArrayBuffer(a)};
f.readAsText=function(a,b){this.reader_.readAsText(a,b)};var yPc=function(a){var b=new ON;a.listen("loadend",mt(function(c,d){var e=d.reader_.result,g=d.getError();null==e||g?c.errback(g):c.callback(e);d.dispose()},b,a));return b};var EZ=function(){NB.call(this)};U(EZ,NB);EZ.prototype.createXhr=function(){var a=NB.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=lt(this.onProgress_,this));return a};EZ.prototype.onProgress_=function(a){this.dispatchEvent(a)};var zPc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},BPc=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=yo(function(){a.delayCallId_=null;b()},APc(a),a);a.attempt_=c;return!0};zPc.prototype.reset=function(){this.delayCallId_&&zo(this.delayCallId_);this.attempt_=-1};var APc=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var f9a=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var CPc=function(a){fp.call(this);a=a||new hPc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new zPc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorDescription_=null;this.eventHandler_=new Mq(this);jB(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};nt(CPc,fPc);f=CPc.prototype;f.run=function(){FZ(this)};f.getBytesTransferred=function(){return this.bytesTransferred_};f.getResponseCode=function(){return this.responseCode_};f.getResponseHeaders=function(){return this.responseHeaders_};
f.getResponseText=function(){return this.responseText_};f.getErrorDescription=function(){return this.errorDescription_};
f.cancel=function(){if("Response received"!=this.state_&&"Error"!=this.state_){this.eventHandler_.removeAll();this.request_&&this.request_.abort();this.retryIterator_.reset();var a="Paused"===this.state_?this.stateAfterUnpausing_:this.state_;if("Upload"===a||"Query"===a)a=new EZ,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.getUploadUrl(),"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new zZ("q"))}};
f.pause=function(){this.pauseRequested_=!0};f.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,DPc(this))};
var FZ=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):BPc(a.retryIterator_,function(){return DPc(a)})||GZ(a,"Transfer encountered too many consecutive failures.")},DPc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.getUploadUrl(),c=a.blob_.size;if(wPc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=vPc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new EZ;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=lt(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new AZ("s"));e=Object.assign({},a.headers_||{},{"X-Goog-Upload-Command":"upload"+(e?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.request_.send(b,"POST",c,e);break;case "Query":a.query_();break;default:throw Error("ke");}},GZ=function(a,
b){a.state_="Error";a.errorDescription_=b;a.dispatchEvent(new zZ("p"))};f=CPc.prototype;
f.start_=function(){this.request_=new EZ;var a=cc(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=g9a(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 AZ("s"))};
f.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new AZ("t"));if(EPc(b))FPc(this,b);else if(GPc(b)){a=fq(a.target.getAllResponseHeaders());for(var c in a)fi(c.toLowerCase(),"x-goog-upload-header-");this.dispatchEvent(new zZ("o"));c=gq(a,"X-Goog-Upload-URL");a=(a=gq(a,"X-Goog-Upload-Chunk-Granularity"))?parseInt(a,10):1;void 0===c||isNaN(a)||0>=a?GZ(this,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/a)*
a,this.transferHandle_=new ePc(c),this.dispatchEvent(new zZ("r")),this.state_="Upload",this.retryIterator_.reset(),FZ(this))}else FZ(this)};f.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new zZ("m"))};
f.onUploadComplete_=function(a,b,c){var d=this,e,g;return ne(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new AZ("t"));if(d.retryOnHttpClientErrorEnabled_?HPc(e)||404==e.getStatus():EPc(e))return d.bytesTransferred_=a,FPc(d,e),h.return();if(GPc(e)){h.jumpTo(2);break}if(!(g=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return h.yield(IPc(d),4);case 4:g=h.yieldResult;case 3:if(g)return GZ(d,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=400==e.getStatus();d.state_="Query";FZ(d);return h.return();case 2:if(b)return GZ(d,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();FZ(d);return h.return()}})};
f.query_=function(){this.request_=new EZ;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_.getUploadUrl(),"POST","",a);this.lastCommandResponseCode_=null;this.dispatchEvent(new AZ("s"))};
f.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new AZ("t"));EPc(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),FPc(this,b)):GPc(b)?(a=fq(a.target.getAllResponseHeaders()),a=parseInt(gq(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?GZ(this,"Server did not respond with current offset."):a<this.offset_?GZ(this,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?GZ(this,"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",FZ(this))):FZ(this)};
var FPc=function(a,b){a.responseCode_=b.getStatus();var c=fq(b.getAllResponseHeaders());a.responseHeaders_=h9a(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new zZ("n"))},GPc=function(a){var b=a.getStatus();a=fq(a.getAllResponseHeaders());a=gq(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},HPc=function(a){a=fq(a.getAllResponseHeaders());return"final"===gq(a,"X-Goog-Upload-Status")},EPc=function(a){if(HPc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},IPc=function(a){var b;return ne(function(c){if(1==c.nextAddress){if(!a.blob_||0>=a.originalBlobSize_)return c.return(!1);if(a.blob_.size!==a.originalBlobSize_)return c.return(!0);oe(c,2);if(b=vPc(a.blob_,0,1)){var d=c.yield,e=new xPc,g=yPc(e);e.readAsBinaryString(b);c=d.call(c,g,4)}else c=c.return(!0);return c}if(2!=c.nextAddress)return c.return(a.blob_.size!==a.originalBlobSize_);re(c);return c.return(!0)})};var JPc=function(a,b,c,d,e,g){fp.call(this);this.payload_=d;this.url_=a;this.method_=b;this.headers_=c;this.metadata_=e;this.metadataOverhead_=0;this.encoding_=g||"binary";a=new ci;this.boundary_="uploader-"+UTb()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new Mq(this);jB(this,this.eventHandler_)};U(JPc,fPc);f=JPc.prototype;
f.run=function(){var a=cc(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=g9a(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new EZ;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_,g="--"+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_=g.length-this.payload_.length;c.call(b,d,e,g,a)};f.getBytesTransferred=function(){return this.bytesTransferred_};f.getResponseCode=function(){return this.responseCode_};
f.getResponseHeaders=function(){return this.responseHeaders_};f.getResponseText=function(){return this.responseText_};f.getErrorDescription=function(){return this.errorDescription_};f.cancel=function(){"Complete"!=this.state_&&"Error"!=this.state_&&(this.eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new zZ("q")))};f.pause=function(){};f.unpause=function(){};
f.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new zZ("m"))};f.onTransferComplete_=function(a){var b=a.target.getStatus();void 0===b||-1===b?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new zZ("p"))):(this.responseCode_=b,a=a.target,b=fq(a.getAllResponseHeaders()),this.responseHeaders_=h9a(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new zZ("n")))};var KPc=function(){},LPc=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof gPc)return new qPc(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new JPc(a,"POST",b,c,d);var g=new CPc(void 0);g.url_=a;g.method_="POST";g.headers_=b;g.blob_=c;g.originalBlobSize_=c.size;g.metadata_=d;e&&(g.withCredentials_=e);g.state_="Start";return g};var MPc=new Zc("ScottyUploaderConfigFactory"),NPc=new Zc("ScottyUploader",{factory:function(){return new KPc}}),HZ=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new E.Subject;this.transferStatus=dVb(this.internalTransferStatus)};
HZ.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=LPc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,E.merge)((0,E.fromEvent)(a,"o"),(0,E.fromEvent)(a,"m"),(0,E.fromEvent)(a,"r"),(0,E.fromEvent)(a,"p"),(0,E.fromEvent)(a,"n"),(0,E.fromEvent)(a,"q")).pipe(bf((0,E.fromEvent)(a,"n").pipe(Me(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};HZ.\u0275fac=function(a){return new (a||HZ)(u(NPc),u(MPc))};HZ.\u0275prov=wc({token:HZ,factory:HZ.\u0275fac});var OPc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};OPc.prototype.getDirectory=function(a){return this.directoryMap_[a]};OPc.prototype.getName=function(){return this.name_};var QPc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;fp.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:no(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=PPc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};U(QPc,fp);
var PPc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");gp(e,"change",a.onFilesSelected_,!1,a);"multiple_file"===c&&(e.multiple="true");"single_directory"===c&&(e.webkitdirectory="true");0<d.length&&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(null!=a.overlayTarget_)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),Tq(e,new Qq(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};QPc.prototype.click=function(){this.overlay_.click()};
QPc.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(v){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(rt||pt)){b=new OPc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(var c=0;c<a.length;c++)for(var d=a[c],e=d.webkitRelativePath.split("/"),g=b,h=0;h<e.length;h++){var m=e[h];if(h==e.length-1){"."!=m&&g.files_.push(d);break}var r=g.getDirectory(m);void 0==r&&(m=r=new OPc(m),g.directoryMap_[m.getName()]=
m,g.directories_.push(m));g=r}b=b.directories_}this.dispatchEvent(new RPc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new RPc([],[],new gPc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=PPc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var SPc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},RPc=function(a,b){kB.call(this,"y");this.files=a;this.directories=b};U(RPc,kB);var IZ=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new E.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new pw;this.maxFileSize=null;this.fileSizeRejected=new pw;this.fileSelected=new pw;this.fileNameLengthRejected=new pw};
IZ.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(af(function(b){return(0,E.merge)((0,E.fromEvent)(b,"u"),(0,E.fromEvent)(b,"y"))}),bf(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=k(b.files);for(var d=c.next();!d.done;d=c.next()){var e=a.supportedFileExtensions,g=e.includes;d=d.value.name;var h=d.lastIndexOf(".");if(!g.call(e,-1!==h?d.substr(h+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=
k(b.files),e=c.next();!e.done;e=c.next())if(e.value.size>a.maxFileSize){c=!1;break a}c=!0}if(c){a:{if(a.maxFileNameLength)for(c=k(b.files),e=c.next();!e.done;e=c.next())if(e.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,E.fromEvent)(b,"w").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,E.fromEvent)(b,
"x").subscribe(function(){a.ngZone.run(function(){})})})};IZ.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};IZ.\u0275fac=function(a){return new (a||IZ)(C(Bd),C(ef))};IZ.\u0275dir=Qc({type:IZ,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var JZ=function(a,b){IZ.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};U(JZ,IZ);
JZ.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,E.merge)((0,E.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,E.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(Re(),bf(a.destroyed),D(function(){a.fileSelectorOverlay=new QPc(a.elementRef.nativeElement,a.selectorType,TPc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),Ye(1))}));return this.overlay};
JZ.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var TPc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};JZ.\u0275fac=function(a){return new (a||JZ)(C(Bd),C(ef))};JZ.\u0275dir=Qc({type:JZ,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[lf]});var KZ=function(a,b,c){JZ.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};U(KZ,JZ);
KZ.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(bf(this.destroyed),De(function(){return!a.disableAutoUpload})).subscribe(function(b){b=k(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a.uploader)||d.upload(c)}})};wh.Object.defineProperties(KZ.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=Gg(a)}}});
KZ.\u0275fac=function(a){return new (a||KZ)(C(Bd),C(ef),C(HZ,8))};KZ.\u0275dir=Qc({type:KZ,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[lf]});var LZ=function(){this.SelectorType=SPc;this.includeTextLabel=this.disabled=!1;this.onSelect=new pw},i9a=function(a,b){if(b=b.files){b=k(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};LZ.\u0275fac=function(a){return new (a||LZ)};
LZ.\u0275cmp=Mc({type:LZ,selectors:[["b-attachment-selector"]],inputs:{disabled:"disabled",includeTextLabel:"includeTextLabel"},outputs:{onSelect:"onSelect"},decls:4,vars:2,consts:[[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"],["fullButton",""],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments",
"aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled","fileSelected"],["svgIcon","attachment"],["mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled","fileSelected"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,j9a,2,3,"button",1),I(),P(2,k9a,3,3,"ng-template",null,2,hg));if(a&2){var c=Lf(3);B(1);F("ngIf",!b.includeTextLabel)("ngIfElse",c)}},dependencies:[Ow,bB,qA,tC,
KZ],encapsulation:2});var UPc=function(a,b){Ilc.call(this,a.size,a.name);var c=this;this.destroyed$=new E.Subject;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "m":case "o":case "r":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "p":c.handleError(e);break;case "n":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&200!=d?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();
break;case "q":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(bf(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};U(UPc,Ilc);UPc.prototype.handleError=function(a){this.transferredBytes=a.getBytesTransferred()||0;this.state=3;if(a=a.getErrorDescription())this.errorMessage=a;this.errorMessage||(this.errorMessage="Error while uploading.")};
UPc.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};UPc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var MZ=function(a){this.activeSession=a};
MZ.prototype.create=function(a){for(var b=a.name,c=[],d=0,e=0;e<b.length;e++){var g=b.charCodeAt(e);128>g?c[d++]=g:(2048>g?c[d++]=g>>6|192:(55296==(g&64512)&&e+1<b.length&&56320==(b.charCodeAt(e+1)&64512)?(g=65536+((g&1023)<<10)+(b.charCodeAt(++e)&1023),c[d++]=g>>18|240,c[d++]=g>>12&63|128):c[d++]=g>>12|224,c[d++]=g>>6&63|128),c[d++]=g&63|128)}b=Daa(c);a=PBa(a.name)?a.name:b;return{url:gD(w$b().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};MZ.\u0275fac=function(a){return new (a||MZ)(u(bt))};MZ.\u0275prov=wc({token:MZ,factory:MZ.\u0275fac,providedIn:"root"});var NZ=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};NZ.prototype.create=function(){return new HZ(this.uploader,this.uploaderConfigFactory)};NZ.\u0275fac=function(a){return new (a||NZ)(u(NPc),u(MZ))};NZ.\u0275prov=wc({token:NZ,factory:NZ.\u0275fac,providedIn:"root"});var o9a=function(a){return{"attachment-error":a}},OZ=function(a){GE.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new pw;this.onUploadComplete=new pw;this.uploadStates=Jlc};U(OZ,GE);OZ.\u0275dir=GE.\u0275dir;OZ.prototype.ngOnDestroy=function(){GE.prototype.ngOnDestroy.call(this);for(var a=k(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
OZ.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new UPc(a,c.transferStatus);c.transferStatus.pipe(bf(this.destroyed$)).subscribe(function(d){"n"===d.type&&b.onUploadComplete.emit()});return a};OZ.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};OZ.\u0275fac=function(a){return new (a||OZ)(C(NZ))};
OZ.\u0275cmp=Mc({type:OZ,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[lf],decls:1,vars:1,consts:[["class","attachments",4,"ngIf"],[1,"attachments"],["class","attachment",3,"ngClass",4,"ngFor","ngForOf"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],[4,"ngIf"],["role","alert","aria-live",
"assertive",4,"ngIf"],[1,"bv2-remove-icon","keep-focus-ring","attachment-cancel-button",3,"matTooltip","click"],["role","alert","aria-live","assertive"]],template:function(a,b){a&1&&P(0,q9a,2,1,"div",0);a&2&&F("ngIf",0<b.uploads.length)},dependencies:[Mw,Nw,Ow,bB,tC,nmc],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 VPc=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 WPc=function(a){Ilc.call(this,a.size,a.name);this.attachment=a};U(WPc,Ilc);
var XPc=function(a,b){a.attachment.encryptedBlobId?(a.state=1,Blc(b,{filename:a.attachment.name,mimeType:a.attachment.mimeType,encryptedBlobId:a.attachment.encryptedBlobId,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=em(c)?fm(c):"Error while uploading."})):(a.state=3,a.errorMessage="Error while uploading.")};var PZ=function(a){this.id_=a;this.opts={}};f=PZ.prototype;f.setLabel=function(a){this.label_=a||void 0;return this};f.setOptions=function(a){this.opts=a};f.setQuery=function(a){this.opts.query=a;return this};f.setParent=function(a){this.opts.parent=a;return this};f.toArray=function(){var a=$b(this.opts,function(c){return null!==c});a=ac(a)?null:a;a=[this.id_,this.label_,a];var b=paa(a,mTb);return a=a.slice(0,b+1)};
f.toString=function(){var a=this.toArray();return"("+lNb(a,function(b){return JSON.stringify(b)}).join(",")+")"};f.getId=function(){return this.id_};f.getLabel=function(){return this.label_};f.getOptions=function(){return cc(this.opts)};f.getQuery=function(){return this.opts.query};var QZ=function(a){PZ.call(this,a||"all")};nt(QZ,PZ);var YPc=function(){var a=(new QZ("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};f=QZ.prototype;f.setMode=function(a){this.opts.mode=a;return this};f.setOwnedByMe=function(a){void 0!==a?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};f.setStarred=function(a){this.opts.starred=a};f.setLabel=function(a){QZ.superClass_.setLabel.call(this,a);return this};
f.setQuery=function(a){QZ.superClass_.setQuery.call(this,a);return this};f.setParent=function(a){QZ.superClass_.setParent.call(this,a);return this};var ZPc=function(){PZ.call(this,"image-search")};U(ZPc,PZ);f=ZPc.prototype;f.setType=function(a){this.opts.type=a;return this};f.setSize=function(a){this.opts.imgsz=a;return this};f.setColor=function(a){this.opts.imgcolor=a;return this};f.setLabel=function(a){PZ.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){PZ.prototype.setQuery.call(this,a);return this};f.setParent=function(a){PZ.prototype.setParent.call(this,a);return this};var RZ=function(){PZ.call(this,"maps")};U(RZ,PZ);RZ.prototype.setMode=function(a){this.opts.mode=a;return this};RZ.prototype.setLabel=function(a){PZ.prototype.setLabel.call(this,a);return this};RZ.prototype.setQuery=function(a){PZ.prototype.setQuery.call(this,a);return this};RZ.prototype.setParent=function(a){PZ.prototype.setParent.call(this,a);return this};var $Pc=function(){PZ.call(this,"photos")};U($Pc,PZ);f=$Pc.prototype;f.setMode=function(a){this.opts.mode=a;return this};f.setType=function(a){this.opts.type=a;return this};f.setLabel=function(a){PZ.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){PZ.prototype.setQuery.call(this,a);return this};f.setParent=function(a){PZ.prototype.setParent.call(this,a);return this};f.removeDuplicates=function(){this.opts.rdv=!0;return this};var SZ=function(){PZ.call(this,"url")};U(SZ,PZ);SZ.prototype.setType=function(a){this.opts.type=a;return this};SZ.prototype.setLabel=function(a){PZ.prototype.setLabel.call(this,a);return this};SZ.prototype.setQuery=function(a){PZ.prototype.setQuery.call(this,a);return this};SZ.prototype.setParent=function(a){PZ.prototype.setParent.call(this,a);return this};var aQc=function(){PZ.call(this,"video-search")};U(aQc,PZ);aQc.prototype.setLabel=function(a){PZ.prototype.setLabel.call(this,a);return this};aQc.prototype.setQuery=function(a){PZ.prototype.setQuery.call(this,a);return this};aQc.prototype.setParent=function(a){PZ.prototype.setParent.call(this,a);return this};var bQc=function(){PZ.call(this,"web")};U(bQc,PZ);bQc.prototype.setLabel=function(a){PZ.prototype.setLabel.call(this,a);return this};bQc.prototype.setQuery=function(a){PZ.prototype.setQuery.call(this,a);return this};bQc.prototype.setParent=function(a){PZ.prototype.setParent.call(this,a);return this};var TZ=function(){this.root_=void 0;this.items_=[];this.opts={}},cQc=function(a){switch(a){case "image-search":return new ZPc;case "maps":return new RZ;case "photos":return new $Pc;case "url":return new SZ;case "video-search":return new aQc;case "web":return new bQc}return new PZ(a)};TZ.prototype.addView=function(a){this.items_.push("string"===typeof a?cQc(a):a);return this};
var dQc=function(a){return"("+lNb(a.items_,function(b){return b.toString()}).join(",")+")"},eQc=function(a){a=$b(a.opts,function(b){return null!==b});return(a=ac(a)?null:a)?JSON.stringify(Ica(a,function(b){return b.toString()})):""};TZ.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",dQc(this)],b=eQc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return dQc(this)};
TZ.prototype.toObject=function(){var a=lNb(this.items_,function(b){return b instanceof TZ?b.toObject():b.toArray()});return this.root_?{root:this.root_.toArray(),items:a,options:this.getOptions()}:a};TZ.prototype.getOptions=function(){return cc(this.opts)};var fQc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new TZ};f=fQc.prototype;f.nav_=null;f.domHelper_=null;f.addView=function(a){this.nav_.addView(a);return this};f.getAppId=function(){return this.appId_};f.getBaseUrl=function(){return this.basePickerUrl_};f.getDomHelper=function(){return this.domHelper_};f.setAppId=function(a){this.appId_=a};f.setCallback=function(a){this.callback_=a;return this};var gQc=function(a){fQc.call(this,a)};nt(gQc,fQc);var UZ=function(a){fp.call(this);this.dom_=a||ip();this.rightToLeft_=hQc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null};nt(UZ,fp);UZ.prototype.idGenerator_=Jq.getInstance();var hQc=!1;f=UZ.prototype;f.getId=function(){return this.id_||(this.id_=Fq(this.idGenerator_))};
f.setId=function(a){if(this.parent_&&this.parent_.childIndex_){bc(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(null!==b&&a in b)throw Error("Z`"+a);b[a]=this}this.id_=a};f.getElement=function(){return this.element_};f.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new Mq(this));return this.googUiComponentHandler_};
f.setParent=function(a){if(this==a)throw Error("le");if(a&&this.parent_&&this.id_&&FNc(this.parent_,this.id_)&&this.parent_!=a)throw Error("le");this.parent_=a;UZ.superClass_.setParentEventTarget.call(this,a)};f.getParent=function(){return this.parent_};f.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("me");UZ.superClass_.setParentEventTarget.call(this,a)};f.getDomHelper=function(){return this.dom_};f.createDom=function(){this.element_=this.dom_.createElement("DIV")};
f.render=function(a){if(this.inDocument_)throw Error("ne");this.element_||this.createDom();a?a.insertBefore(this.element_,null):this.dom_.document_.body.appendChild(this.element_);this.parent_&&!this.parent_.inDocument_||this.enterDocument()};f.enterDocument=function(){this.inDocument_=!0;iQc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
f.exitDocument=function(){iQc(this,function(a){a.inDocument_&&a.exitDocument()});this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};f.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);iQc(this,function(a){a.dispose()});this.element_&&yB(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;UZ.superClass_.disposeInternal.call(this)};
f.setModel=function(){};
f.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("ne");if(0>a||a>(this.children_?this.children_.length:0))throw Error("oe");this.childIndex_&&this.children_||(this.childIndex_={},this.children_=[]);if((void 0).getParent()==this){var b=this.childIndex_,c=(void 0).getId();b[c]=void 0;qa(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(null!==b&&c in b)throw Error("Z`"+c);b[c]=void 0}(void 0).setParent(this);vaa(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&&1==(void 0).element_.parentNode.nodeType&&(void 0).enterDocument()};f.getContentElement=function(){return this.element_};
f.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=pS(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};f.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var FNc=function(a,b){return a.childIndex_&&b?Pca(a.childIndex_,b)||null:null},iQc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
UZ.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=FNc(this,c);c&&a&&(bc(this.childIndex_,c),qa(this.children_,a),b&&(a.exitDocument(),a.element_&&yB(a.element_)),a.setParent(null))}if(!a)throw Error("pe");return a};UZ.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};nt(s9a,r9a);var jQc=function(a){r9a.call(this,"visibility");this.visible=a};nt(jQc,r9a);var kQc=eo(fo("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),lQc=eo(fo("//apis.google.com/js/rpc.js")),u9a=null;var mQc=function(a){fp.call(this);this.element_=a;a=Gq?"focusout":"blur";this.listenKeyIn_=gp(this.element_,Gq?"focusin":"focus",this,!Gq);this.listenKeyOut_=gp(this.element_,a,this,!Gq)};nt(mQc,fp);mQc.prototype.handleEvent=function(a){var b=new lB(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};mQc.prototype.disposeInternal=function(){mQc.superClass_.disposeInternal.call(this);qB(this.listenKeyIn_);qB(this.listenKeyOut_);delete this.element_};var nQc=new Map;nQc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");nQc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");nQc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var oQc=new Set;oQc.add("application/vnd.google-apps.kix");oQc.add("application/vnd.google-apps.ritz");oQc.add("application/vnd.google-apps.punch");var yQc=function(a,b,c){var d=c&&V(c,1);if(c){var e=V(c,3);e=e&&JSON.parse(e)||{};c={0:V(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return pQc(a,b,d,c);case 3:return qQc(a,b,d,c);case 10:return rQc(a,b,d,c);case 12:return sQc(a,b);case 2:return tQc(a,b,d,c);case 5:return uQc(a,b,d,c);case 9:return vQc(a,b,d,c);case 6:return wQc(a,b,d,c);case 1:return Pj(a[0],QRb,26)?xQc(a,b,d,c):rQc(a,b,d,c);default:return{}}},wQc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:VZ(e),lastEditedUtc:W(e,Rh,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:V(e,13),thumbnails:WZ(pv(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},tQc=function(a,b,c,d){var e=a.map(function(g){var h={id:g.getId().getId(),serviceId:"docs",mimeType:g.getMimeType(),name:g.getName(),type:VZ(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:It(g,23),description:g.getDescription(),iconUrl:g.getIconUrl(),thumbnails:WZ(pv(g)),isShared:qv(g).getShared(),downloadUrl:qv(g).getDownloadUrl(),embedUrl:V(g,13),copyable:Vj(qv(g),9),resourceKey:qv(g).getResourceKey()};Vj(qv(g),12)&&(h.uploadState="success");if(qv(g).hasVideoMetadata()){g=qv(g).getVideoMetadata();if(g.hasDuration()){var m=g.getDuration().getSeconds()+g.getDuration().getNanos()/1E9;h.duration=m}h.aspectRatio=vj(g,1)}return h});return{action:b,docs:e,viewToken:d,
view:c||"all",extraUserInputs:zQc(a),v2Translated:!0}},uQc=function(a,b,c,d){a=a.map(function(e){var g=W(W(e,rSb,15),bv,1);Mo(e,10,bv,g);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:VZ(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:WZ(pv(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},vQc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",
name:pv(e)[0].getUrl().split("/").pop(),type:VZ(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:WZ(pv(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},xQc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),type:VZ(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",
thumbnails:WZ(pv(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},rQc=function(a,b,c,d){return{action:b,docs:a.map(AQc),viewToken:d,view:BQc(c||"upload",a),extraUserInputs:zQc(a),v2Translated:!0}},BQc=function(a,b){return b.some(function(c){var d;return 9===(null==(d=W(c,lv,30))?void 0:d.getAgentId())})?a+"/gmailphotos":a},qQc=function(a,b,c,d){var e=a.map(function(g){var h={id:g.getId().getId(),serviceId:"picasa",mimeType:g.getMimeType(),name:g.getName(),type:VZ(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:It(g,23),description:g.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:WZ(pv(g)),mediaKey:g.getId().getId(),parentId:g.getParentId()},m;if(g=null==(m=W(g,jv,18))?void 0:W(m,iv,3))h.latitude=g.getLatitude(),h.longitude=g.getLongitude();return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:zQc(a),v2Translated:!0}},pQc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",
name:pv(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:WZ(pv(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},sQc=function(a,b){a=a.map(function(c){var d=W(c,gv,27).getEmailList()[0];return{id:c.getId().getId(),serviceId:"contacts",mimeType:c.getMimeType(),name:c.getName(),description:c.getDescription(),url:"mailto:"+d,thumbnail:[{url:c.getIconUrl()}],
email:d}});return{action:b,docs:a,view:"contacts",v2Translated:!0}},WZ=function(a,b){b=void 0===b?"":b;if(!a.length)return null;"etjpg"==b&&(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}})},zQc=function(a){return{isAttachment:a.some(function(b){return Vj(b,31)})}},AQc=function(a){var b={id:a.getId().getId(),serviceId:CQc(a),mimeType:a.getMimeType(),name:a.getName(),type:VZ(a),sizeBytes:It(a,
23),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:WZ(pv(a)),isNew:!0},c=W(a,lv,30);if(c){b.dataUrl=V(c,1)||null;a:{var d=W(a,lv,30);switch(d.getAgentId()){case 9:d=fk(d,gSb,2,mv);d={remoteRefs:d&&V(d,1)};break a;case 10:case 15:d=fk(d,kv,4,mv);var e=pv(a);d={photo_id:d&&d.getPhotoId(),media_key:a.getId().getId(),media_type:1===a.getType()?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&&fk(c,kv,4,mv))&&(b.id=d.getPhotoId());(d=c&&fk(c,iSb,5,mv))&&(b.contentId=V(d,1));(d=c&&fk(c,dSb,6,mv))&&(b.contentId=V(d,1));1===(null==c?void 0:c.getAgentId())&&(b.mediaKey=a.getId().getId());return b},CQc=function(a){var b;switch((null==(b=W(a,lv,30))?void 0:b.getAgentId())||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},
VZ=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 DQc=function(a){this.obj_=a};f=DQc.prototype;f.value=function(){return this.obj_};f.setWidth=function(a){this.obj_.width=a;return this};f.getWidth=function(){return this.obj_.width};f.setHeight=function(a){this.obj_.height=a;return this};f.getHeight=function(){return this.obj_.height};f.setStyle=function(a){this.obj_.style=a;return this};f.getStyle=function(){return this.obj_.style};var EQc=function(a){this.obj_=a||{}};f=EQc.prototype;f.value=function(){return this.obj_};f.setUrl=function(a){this.obj_.url=a;return this};f.getUrl=function(){return this.obj_.url};f.setStyle=function(a){this.obj_.style=a;return this};f.getStyle=function(){return this.obj_.style};f.setId=function(a){this.obj_.id=a;return this};f.getId=function(){return this.obj_.id};f.getContext=function(){return this.obj_.context};
var FQc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new DQc(a.obj_.attributes)},uDc=function(a){return(a=a.obj_.timeout)?a:null};var GQc=function(){EQc.apply(this,arguments)};U(GQc,EQc);var HQc=eo(fo("https://apis.google.com/js/api.js")),LQc=function(a,b){var c=!1,d=IQc(a,b).then(function(g){c=!0;return g}),e=y3b(5E3).then(function(){return c?IQc(a,b):JQc(b).then(function(g){return KQc(g,a)})});return k3b([d,e])},IQc=function(a,b){return MQc(b).then(function(c){return KQc(c,a)})},KQc=function(a,b){var c=fi(b,"gapi.")?b.slice(5):b;return a[c]?e3b(a[c]):new CB(function(d,e){var g=yo(function(){e(Error("qe"))},3E4);a.load(b,{callback:function(){zo(g);d(a[c])},onerror:function(h){zo(g);
e(h)}})})},MQc=function(a){return a.gapi&&a.gapi.load?e3b(a.gapi):JQc(a)},JQc=function(a){return IHa(HQc,{document:a.document}).then(function(){return a.gapi})},NQc=function(){};NQc.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return LQc(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 OQc=function(){iB.call(this);this.gapiLoader_=new NQc;this.origin_=null;this.gapiPickerIframeResolver_=m3b();this.gapiIframesResolver_=m3b();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};U(OQc,iB);
var PQc=function(a,b){var c=bp("gapi.iframes",b);return c?(a=Date.now(),e3b({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},QQc=function(a,b,c,d,e,g){var h=!0;h=void 0===h?!1:h;PQc(a,xB(b.ownerDocument)).then(function(m){var r=m.library;a.gapiIframesResolver_.resolve(r);m=a.gapiPickerIframeResolver_;var v=m.resolve,y=h;y=void 0===y?!1:y;var A={};A["host-message-handler"]=c;a.hostMessageHandlerInternal_=A;var G=iD(d);G=iD(G);G=dD(cD(new lp,G.scheme_).setDomain(G.getDomain()),
G.port_).toString();a.origin_=G;G=(new GQc).setUrl(d);G.obj_.where=b;G.obj_.allowPost=y;G.obj_.messageHandlers=A;y=bp("makeWhiteListIframesFilter",r)([a.origin_]);G.obj_.messageHandlersFilter=y;null!=e&&G.setId(e);null!=g&&(G.obj_.rpctoken=g);FQc(G).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");FQc(G).value().allow="camera 'src' "+a.origin_;r=r.getContext().openChild(G.value());v.call(m,r)},function(m){a.gapiIframesResolver_.reject(m);a.gapiPickerIframeResolver_.reject(m)});
return a.gapiPickerIframeResolver_.promise},RQc=function(a,b){return j3b([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=k(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,bp("makeWhiteListIframesFilter",c)([a.origin_])):f3b(Error("re"))})};OQc.prototype.disposeInternal=function(){SQc(this);iB.prototype.disposeInternal.call(this)};
var SQc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var TQc=function(){this.nextId_=0};TQc.prototype.getUniqueId=function(){return":"+(this.nextId_++).toString(36)};var VQc=function(a,b){switch(a.action){case "select-contacts":a=UQc(a.contacts);break;case "visibility":a=a.visible;a=(new Cv).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?RQc(b,a):e3b()},UQc=function(a){if(!a||0==a.length)return null;var b=new Cv;b.setCommand(11);var c=new TQc;a.forEach(function(d){if(d.email){var e=(new ov).setName(d.name?d.name:d.email);d=(new gv).addEmail(d.email);e=lj(e,gv,27,d).setId((new Zu).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var XZ=function(a,b,c){fp.call(this);this.target=a;this.handle=b||a;this.limits=c||new kS(NaN,NaN,NaN,NaN);this.document_=tB(a);this.eventHandler_=new Mq(this);jB(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;gp(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=WQc};nt(XZ,fp);
var WQc=ba.document&&ba.document.documentElement&&!!ba.document.documentElement.setCapture&&!!ba.document.releaseCapture;f=XZ.prototype;f.getHandler=function(){return this.eventHandler_};f.disposeInternal=function(){XZ.superClass_.disposeInternal.call(this);pB(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.handle=this.target=null};
f.startDrag=function(a){var b="mousedown"==a.type;if(this.dragging_||b&&(0!=a.event_.button||Iq&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new YZ("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(xB(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=wB(ip(this.document_).document_)}};
f.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new YZ("end",this,a.clientX,a.clientY,a,XQc(this,this.deltaX),YQc(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
f.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(0<d*d+e*e)if(this.dispatchEvent(new YZ("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=ZQc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new YZ("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&($Qc(this,a,b,c),a.preventDefault())};var ZQc=function(a,b,c){var d=wB(ip(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 Qq(XQc(a,a.deltaX),YQc(a,a.deltaY))};XZ.prototype.onScroll_=function(a){var b=ZQc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;$Qc(this,a,b.x,b.y)};
var $Qc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new YZ("drag",a,b.clientX,b.clientY,b,c,d))},XQc=function(a,b){var c=a.limits;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))},YQc=function(a,b){var c=a.limits;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))};XZ.prototype.isDragging=function(){return this.dragging_};
var YZ=function(a,b,c,d,e,g,h){kB.call(this,a);this.clientX=c;this.clientY=d;this.left=void 0!==g?g:b.deltaX;this.top=void 0!==h?h:b.deltaY};nt(YZ,kB);var ZZ=function(a){this.map_=new Map;var b=arguments.length;if(1<b){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)};f=ZZ.prototype;f.getCount=function(){return this.map_.size};f.getValues=function(){return Array.from(this.map_.values())};f.getKeys=function(){return Array.from(this.map_.keys())};f.containsKey=function(a){return this.map_.has(a)};f.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
f.equals=function(a,b){var c=this;b=void 0===b?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))})};f.isEmpty=function(){return 0==this.map_.size};f.clear=function(){this.map_.clear()};f.remove=function(a){return this.map_.delete(a)};f.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};f.set=function(a,b){this.map_.set(a,b);return this};
f.addAll=function(a){if(a instanceof ZZ){a=k(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=k(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=k(Object.entries(a)),b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};f.forEach=function(a,b){var c=this;b=void 0===b?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};f.clone=function(){return new ZZ(this)};
f.toObject=function(){for(var a={},b=k(this.map_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a[c]=d}return a};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!ba.requestAnimationFrame;++c)ba.requestAnimationFrame=ba[b+"RequestAnimationFrame"],ba.cancelAnimationFrame=ba[b+"CancelAnimationFrame"]||ba[b+"CancelRequestAnimationFrame"];if(!ba.requestAnimationFrame){var d=0;ba.requestAnimationFrame=function(e){var g=(new Date).getTime(),h=Math.max(0,16-(g-d));d=g+h;return ba.setTimeout(function(){e(g+h)},h)};ba.cancelAnimationFrame||(ba.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var aRc=[[],[]],bRc=0,cRc=!1,dRc=0,fRc=function(a,b){var c=dRc++,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(){0<arguments.length?(d.args||(d.args=[]),d.args.length=0,d.args.push.apply(d.args,arguments),d.args.push(d.state)):d.args&&0!=d.args.length?(d.args[0]=d.state,d.args.length=1):d.args=[d.state];d.isScheduled||(d.isScheduled=!0,aRc[bRc].push(d));cRc||(cRc=!0,window.requestAnimationFrame(eRc))}},eRc=
function(){cRc=!1;var a=aRc[bRc],b=a.length;bRc=(bRc+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 gRc=Gq?eo(fo('javascript:""')):eo(fo("about:blank"));Jh(gRc);var hRc=Gq?eo(fo('javascript:""')):eo(fo("javascript:undefined"));Jh(hRc);var iRc=function(a,b){this.element_=a;this.dom_=b};var $Z=function(a,b){UZ.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=fRc({mutate:this.resizeBackground_},this);fRc({mutate:this.updateModalAndBackground_},this)};nt($Z,UZ);f=$Z.prototype;f.focusHandler_=null;f.visible_=!1;f.bgEl_=null;f.bgIframeEl_=null;f.tabCatcherElement_=null;f.backwardTabWrapInProgress_=!1;f.getCssClass=function(){return"goog-modalpopup"};f.getBackgroundElement=function(){return this.bgEl_};
f.createDom=function(){$Z.superClass_.createDom.call(this);var a=this.getElement();BEc(a,hi(this.getCssClass()).split(" "));a.tabIndex=0;oS(a,!1);this.useIframeMask_&&!this.bgIframeEl_&&(a=this.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}),a.src=Jh(gRc).toString(),this.bgIframeEl_=a,this.bgIframeEl_.className=this.getCssClass()+"-bg",oS(this.bgIframeEl_,!1),KEc(this.bgIframeEl_,0));this.bgEl_||(this.bgEl_=this.getDomHelper().createDom("DIV",this.getCssClass()+
"-bg"),oS(this.bgEl_,!1));this.tabCatcherElement_||(this.tabCatcherElement_=this.getDomHelper().createElement("SPAN"),oS(this.tabCatcherElement_,!1),this.tabCatcherElement_.tabIndex=0,this.tabCatcherElement_.style.position="absolute")};f.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};
f.enterDocument=function(){if(this.bgIframeEl_){var a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgIframeEl_,a)}a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgEl_,a);$Z.superClass_.enterDocument.call(this);a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.tabCatcherElement_,a.nextSibling);this.focusHandler_=new mQc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);jRc(this,!1)};
f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Eh(this.focusHandler_);$Z.superClass_.exitDocument.call(this);yB(this.bgIframeEl_);yB(this.bgEl_);yB(this.tabCatcherElement_)};
f.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_&&jRc(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_);kRc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)oB(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_)oB(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 jRc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new iRc(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_||rqc(d,"hidden")||(EM(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}};
$Z.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var kRc=function(a,b){a.bgIframeEl_&&oS(a.bgIframeEl_,b);a.bgEl_&&oS(a.bgEl_,b);oS(a.getElement(),b);oS(a.tabCatcherElement_,b)};f=$Z.prototype;f.onShow=function(){this.dispatchEvent("show")};f.onHide=function(){kRc(this,!1);this.dispatchEvent("hide")};f.isVisible=function(){return this.visible_};f.focus=function(){this.focusElement_()};
f.resizeBackground_=function(){this.bgIframeEl_&&oS(this.bgIframeEl_,!1);this.bgEl_&&oS(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=lRc(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_&&(oS(this.bgIframeEl_,!0),JEc(this.bgIframeEl_,c,a));this.bgEl_&&(oS(this.bgEl_,!0),JEc(this.bgEl_,c,a))};
f.reposition=function(){if("fixed"==hq(this.getElement(),"position"))var a=0,b=0;else b=wB(this.getDomHelper().document_),a=b.x,b=b.y;var c=Sq(this.getElement());var d=lRc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);Tq(this.getElement(),a,b);Tq(this.tabCatcherElement_,a,b)};f.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&yo(this.focusElement_,0,this)};
f.focusElement_=function(){try{Gq&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};var lRc=function(a){a=a.getDomHelper().document_;return vB(xB(a)||window)};$Z.prototype.disposeInternal=function(){Eh(this.popupShowTransition_);this.popupShowTransition_=null;Eh(this.popupHideTransition_);this.popupHideTransition_=null;Eh(this.bgShowTransition_);this.bgShowTransition_=null;Eh(this.bgHideTransition_);this.bgHideTransition_=null;$Z.superClass_.disposeInternal.call(this)};var c_=function(a,b,c){$Z.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=a_(a_(new b_,mRc,!0),nRc,!1,!0)};nt(c_,$Z);f=c_.prototype;f.escapeToCancel_=!0;f.hasTitleCloseButton_=!0;f.modal_=!0;f.backgroundElementOpacity_=.5;f.title_="";f.dragger_=null;f.disposeOnHide_=!1;f.titleEl_=null;f.titleTextEl_=null;f.titleTextId_=null;f.titleCloseEl_=null;f.contentEl_=null;f.buttonEl_=null;f.getCssClass=function(){return this.class_};
f.setTitle=function(a){this.title_=a;this.titleTextEl_&&K2b(this.titleTextEl_,a)};f.getTitle=function(){return this.title_};f.getContent=function(){return""};f.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var oRc=function(a){a.getElement()||a.render();return a.getElement()};c_.prototype.getBackgroundElement=function(){this.getElement()||this.render();return c_.superClass_.getBackgroundElement.call(this)};c_.prototype.handleDrag=function(){};
var pRc=function(a,b){var c=hi(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?BEc(a.titleEl_,c):DEc(a.titleEl_,c));b&&!a.dragger_?(b=new XZ(a.getElement(),a.titleEl_),a.dragger_=b,BEc(a.titleEl_,c),gp(a.dragger_,"start",a.setDraggerLimits_,!1,a),gp(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};f=c_.prototype;
f.createDom=function(){c_.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"));H2b(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));DM(this.titleTextEl_,"heading");DM(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;sqc(this.titleCloseEl_,"Close");DM(a,"dialog");EM(a,"labelledby",this.titleTextId_||"");oS(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());oS(this.buttonEl_,!!this.buttons_);this.backgroundElementOpacity_=this.backgroundElementOpacity_;this.getElement()&&(a=this.getBackgroundElement())&&KEc(a,this.backgroundElementOpacity_)};
f.enterDocument=function(){c_.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_);pRc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();DM(a,"dialog");""!==this.titleTextEl_.id&&EM(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()&&jRc(this,!1)}};f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);pRc(this,!1);c_.superClass_.exitDocument.call(this)};f.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),c_.superClass_.setVisible.call(this,a))};f.onShow=function(){c_.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
f.onHide=function(){c_.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};f.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=vB(xB(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=Sq(this.getElement());"fixed"==hq(this.getElement(),"position")?this.dragger_.limits=new kS(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new kS(0,0,c-d.width,a-d.height)};
f.onTitleCloseClick_=function(){qRc(this)};var qRc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new rRc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},sRc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&oS(a.titleCloseEl_,a.hasTitleCloseButton_)};c_.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};c_.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;c_.superClass_.disposeInternal.call(this)};
c_.prototype.onButtonClick_=function(a){a:{for(a=a.target;null!=a&&a!=this.buttonEl_;){if("BUTTON"==a.tagName)break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.buttons_.get(a);this.dispatchEvent(new rRc(a,b))&&this.setVisible(!1)}};
c_.prototype.onKey_=function(a){var b=!1,c=!1,d=this.buttons_,e=a.target;if("keydown"==a.type)if(this.escapeToCancel_&&27==a.keyCode){var g=d&&d.cancelButton_;e="SELECT"==e.tagName&&!e.disabled;g&&!e?(c=!0,b=d.get(g),b=this.dispatchEvent(new rRc(g,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(y){}yo(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)g=e.name;
else if(e==this.titleCloseEl_)qRc(this);else if(d){var h=d.getDefault(),m;if(m=h)a:{m=uB("BUTTON",d.element_);for(var r=0,v;v=m[r];r++)if(v.name==h||v.id==h){m=v;break a}m=null}e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!m||m.disabled||e||(g=h)}g&&d&&(c=!0,b=this.dispatchEvent(new rRc(g,String(d.get(g)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||qRc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var rRc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};nt(rRc,kB);var b_=function(a){ZZ.call(this);this.dom_=a||ip();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};nt(b_,ZZ);b_.prototype.clear=function(){ZZ.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};b_.prototype.set=function(a,b,c,d){ZZ.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var a_=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};f=b_.prototype;f.render=function(){if(this.element_){bNa(this.element_,Us);var a=ip(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)}};f.getElement=function(){return this.element_};f.getDomHelper=function(){return this.dom_};f.setDefault=function(a){this.defaultButton_=a};f.getDefault=function(){return this.defaultButton_};
var mRc={key:"ok",caption:"OK"},nRc={key:"cancel",caption:"Cancel"},tRc={key:"yes",caption:"Yes"},uRc={key:"no",caption:"No"},vRc={key:"save",caption:"Save"},wRc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(a_(new b_,mRc,!0,!0),a_(a_(new b_,mRc,!0),nRc,!1,!0),a_(a_(new b_,tRc,!0),uRc,!1,!0),a_(a_(a_(new b_,tRc),uRc,!0),nRc,!1,!0),a_(a_(a_(new b_,wRc),vRc),nRc,!0,!0));var xRc=function(a,b,c){c_.call(this,a,b,c)};nt(xRc,c_);var yRc=function(a,b){fp.call(this);this.element_=a;a=zB(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&pS(a);this.listenKey_=gp(this.element_,qt?"DOMMouseScroll":"mousewheel",this,b)};nt(yRc,fp);
yRc.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=zRc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=zRc(-d.wheelDeltaX),c=zRc(-d.wheelDeltaY)):c=a):(a=d.detail,100<a?a=3:-100>a&&(a=-3),void 0!==d.axis&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);"number"===typeof this.maxDeltaX_&&(b=Math.min(Math.max(b,-this.maxDeltaX_),this.maxDeltaX_));"number"===typeof this.maxDeltaY_&&(c=Math.min(Math.max(c,-this.maxDeltaY_),this.maxDeltaY_));this.isRtl_&&(b=-b);b=new ARc(a,d,b,c);this.dispatchEvent(b)};
var zRc=function(a){return rt&&(Iq||sNb)&&0!=a%40?a:a/40};yRc.prototype.disposeInternal=function(){yRc.superClass_.disposeInternal.call(this);qB(this.listenKey_);this.listenKey_=null};var ARc=function(a,b,c,d){lB.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};nt(ARc,lB);var BRc;var d_=function(a,b,c,d,e,g,h,m,r){m=void 0===m?!1:m;r=void 0===r?!1:r;c_.call(this,g?g+" picker modal-dialog":"picker modal-dialog",!0,c);P4b(a,"protocol");this.iframeManager_=new OQc;this.targetId_=UTb();this.rpcToken_=UTb();this.useGapi_=!r&&!0;a=iD(a);hD(a,"hostId");m||gD(a,"v2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?d=!0:(d=hD(iD(a.toString()),"hostId"),BRc||(BRc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),
d=!BRc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(b="true"==hD(iD(this.url_),"grugl")?lQc:kQc,h=this.gadgetsDomHelper_,t9a(h)||(h=h||ip(document),d=h.createElement("SCRIPT"),Kh(d,b),d.type="text/javascript",h.document_.body.appendChild(d)));b=a.toString();h=null;a=b.indexOf("/picker?");-1<a?h=b.substring(0,a+8-1):ot(b,"/picker")&&(h=b);h&&this.setRelayUrl(h+"/resources/rpc_relay.html");this.escapeToCancel_=!1;this.buttons_=null;this.buttonEl_&&(this.buttons_?
(b=this.buttons_,b.element_=this.buttonEl_,b.render()):bNa(this.buttonEl_,Us),oS(this.buttonEl_,!!this.buttons_))};nt(d_,xRc);f=d_.prototype;f.url_="";f.iframe_=null;f.iframeLoaded_=!1;f.loadedFired_=!1;f.callback_=function(){};f.enterDocument=function(){d_.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=this.getHandler(),c=new yRc(a);jB(b,c);b.listen(c,"mousewheel",lt(x9a,void 0,a)).listen(a,"scroll",lt(x9a,void 0,a))};
f.render=function(a){var b=this;d_.superClass_.render.call(this,a);this.useGapi_?PQc(this.iframeManager_,window).then(function(){return CRc(b)}).then(null,function(c){return void b.handleError_(c)}):DRc(this)};
var CRc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);oS(b,!1);a.getContentElement().appendChild(b);return QQc(a.iframeManager_,b,function(c){var d=gTb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=W(d,tv,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var g=d.getItemList();d=0===g.length?{action:e}:yQc(g,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:sRc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();ERc(a);oS(a.iframe_.parentElement,!0);AEc(a.getElement(),"picker-dialog");FRc(a);return c})},DRc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Opa(a.iframe_,GRc(a));AEc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void ERc(a)});
a.iframe_.src=a.url_;FRc(a)},IRc=function(a){HRc(a,lt(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},FRc=function(a){var b=hD(iD(a.url_),"title");b&&a.setTitle(b)},GRc=function(a){return 7<=kaa()&&fi(a.url_,"https")?eo(fo("https://about:blank")):Gq?eo(fo('javascript:""')):eo(fo("about:blank"))},ERc=function(a){IRc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};
d_.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var HRc=function(a,b){var c=a.gadgetsDomHelper_;v9a(function(){b(c.getWindow().gadgets.rpc)},c)};d_.prototype.setUrl=function(a){a=gD(new lp(a),"rpcService",this.targetId_);gD(a,"rpctoken",this.rpcToken_);o$b(a,"rpctoken="+this.rpcToken_);cD(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};
d_.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&JRc(this)};d_.prototype.setCallback=function(a){this.callback_=a;HRc(this,lt(function(b){b.register(this.targetId_,lt(this.handlePickerAction_,this))},this))};
d_.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new jQc(this.isVisible())),JRc(this),sRc(this),this.getHandler().unlisten(this.getDomHelper().getWindow(),"keydown",this.handleKeydown_),this.iframe_.tabIndex=0);"picked"!=b&&"cancel"!=b||this.setVisible(!1);this.callback_(a)};var JRc=function(a){a.appId_&&a.sendCommand(new s9a(a.appId_,window.location.protocol+"//"+window.location.host))};f=d_.prototype;
f.setRelayUrl=function(a){HRc(this,lt(function(b){b.setRelayUrl(this.targetId_,a)},this))};f.sendCommand=function(a){var b=this;this.useGapi_&&VQc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});HRc(this,lt(function(c){c.call(this.targetId_,"picker",null,a)},this))};
f.resizePicker_=function(){var a=this.getDomHelper().document_;a=xB(a)||window;if("true"==hD(iD(this.url_),"ignoreLimits"))a=new rB(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==hD(iD(this.url_),"shadeDialog")){var b=PEc(oRc(this)),c=vB(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 rB(0<a?a:0,0<c?c:0)}else{b=this.preferredDialogWidth_;if(b){b=Math.max(320,Math.min(1051,b));c=this.preferredDialogHeight_;
c||(c=vB(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=vB(a),b=.618*c.width,d=b<c.height?Math.round(Math.max(480,Math.min(650,.85*b))):Math.round(Math.max(480,Math.min(650,.85*c.height))),b=Math.round(d/.618);c=vB(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new rB(b,d)}JEc(this.getContentElement(),a);this.reposition()};
f.reposition=function(){if("true"==hD(iD(this.url_),"shadeDialog")){var a=Sq(this.getElement()),b=vB(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=PEc(oRc(this))){var c=b.left?b.left:0;c+=b.right?b.right:0;a=Math.floor(a-c/2)}a=0<a?a:0;b=wB(this.getDomHelper().document_).y;Tq(this.getElement(),a,b)}else d_.superClass_.reposition.call(this)};
f.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_))}d_.superClass_.setVisible.call(this,a);this.sendCommand(new jQc(a))};
f.focus=function(){d_.superClass_.focus.call(this);if(this.iframe_&&this.iframeLoaded_&&this.loadedFired_)try{this.iframe_.focus()}catch(a){}};f.handleError_=function(){this.callback_({action:"error"})};var e_=function(a){fQc.call(this,a);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};nt(e_,gQc);e_.prototype.disposeOnHide_=!1;
e_.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(o$b(n$b(iD(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("se");var a=new d_(KRc(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!1,!1);a.setDisposeOnHide(this.disposeOnHide_);a.setAppId(this.getAppId());a.setCallback(this.callback_);return a};
var LRc=function(a,b){a.urlParamMap_.set(b,"true");return a};f=e_.prototype;f.getHeight=function(){return this.dialogHeight_};f.getLocale=function(){return this.urlParamMap_.get("hl")};f.getProtocol=function(){return this.urlParamMap_.get("protocol")};f.getTitle=function(){return this.urlParamMap_.get("title")};f.getWidth=function(){return this.dialogWidth_};f.setDisposeOnHide=function(a){this.disposeOnHide_=a};f.setGroupId=function(a){this.urlParamMap_.set("groupId",a)};
var MRc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};f=e_.prototype;f.setOrigin=function(a){a&&this.urlParamMap_.set("origin",a);return this};f.setLocale=function(a){this.urlParamMap_.set("hl",a);return this};f.setRelayUrl=function(a){this.urlParamMap_.set("parent",a)};f.setSize=function(a,b){this.dialogWidth_=a;this.dialogHeight_=b;return this};f.setTitle=function(a){this.urlParamMap_.set("title",a);return this};
var KRc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",dQc(a.nav_));var b=new lp(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){gD(b,d,c)});return b};var f_=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new pw;this.onCloneBlob=new pw;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
f_.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=MRc(LRc(LRc(LRc(LRc((new e_(this.onePickUrl)).addView(YPc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&"picked"===c.action)for(var d=k(c.docs),e=d.next();!e.done;e=d.next())e=new VPc(e.value),c.extraUserInputs.isAttachment?(e=new WPc(e),XPc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};f_.\u0275fac=function(a){return new (a||f_)(C(bt),C(Alc))};
f_.\u0275cmp=Mc({type:f_,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,"disabled","click"],["svgIcon","google-drive"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"button",1),M("click",function(){return b.showDialog()}),J(2,"mat-icon",2),I()());a&2&&(B(1),F("disabled",
b.disabled))},dependencies:[bB,qA,tC],encapsulation:2});var g_=function(a,b,c){GE.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new pw};U(g_,GE);g_.\u0275dir=GE.\u0275dir;g_.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent(io.EDIT_ISSUE,"view","commentAndVoteBanner")};
g_.prototype.onClick=function(){var a=An(this.issueDetailsBrain.id$);this.onSubmitComment.emit();null!=a&&(eic(this.userResources,a,{voted:!0,starred:null,notificationSubscription:null}).pipe(bf(this.destroyed$)).subscribe(),this.analytics.trackEvent(io.EDIT_ISSUE,"click","commentAndVote"))};g_.\u0275fac=function(a){return new (a||g_)(C(RJ),C(CH),C(TH))};
g_.\u0275cmp=Mc({type:g_,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[lf,ed],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&&P(0,y9a,7,1,"div",0);a&2&&F("ngIf",b.isPlusOneText)},dependencies:[Ow,bB,qA,tC],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 NRc=["commentBoxContainer"],ORc=[[["","warning",""]],[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],PRc=function(a){return{focused:a}},QRc=function(a,b){return[a,b]},h_=function(a,b,c,d,e){this.analytics=a;this.hotkeys=b;this.activeSession=c;this.appEvents=d;this.currentTracker=e;this.MARKDOWN="MARKDOWN";this.commentChange=new pw;this.warn=this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=
!1;this.onPlusOneTextEntered=new pw;this.onChange=new pw;this.onFocusEvent=new pw;this.onSubmit=new pw;this.onRestrict=new pw;this.focused=!1;this.commentRebound$=new E.ReplaySubject(1);this.destroyed$=new E.ReplaySubject(1);this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist()};f=h_.prototype;f.ngOnDestroy=function(){var a;null==(a=this.comment)||Klc(a);this.destroyed$.next()};
f.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(bf(this.destroyed$)).subscribe(function(b){VEb(a,b)});this.appEvents.scrollToCommentBox.pipe(bf(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};f.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};f.getRestrictedLabel=function(){var a,b,c=null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED";return Rqa(c)};
f.isRestricted=function(){var a,b;return"NONE_DETECTED"!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED")};var VEb=function(a,b){(b=void 0===b?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();var c;null==(c=a.commentDraftComponent)||wFc(c)};f=h_.prototype;f.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};f.addUpload=function(a){this.comment&&this.comment.uploads.push(a)};
f.removeUpload=function(a){this.comment&&qa(this.comment.uploads,a)};f.scrollIntoView=function(){var a;null==(a=this.commentBoxContainer)||a.nativeElement.scrollIntoView({behavior:"smooth"})};f.onFocus=function(){this.focused=!0;this.onFocusEvent.emit()};f.onBlur=function(){this.focused=!1};f.onKeydown=function(a){this.hotkeys.isEnabled()&&("Enter"!==a.key||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a))};h_.\u0275fac=function(a){return new (a||h_)(C(TH),C(GM),C(bt),C(sG),C(eL))};
h_.\u0275cmp=Mc({type:h_,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(cg(AS,5),cg(NRc,5),cg(OZ,5));if(a&2){var c;bg(c=eg())&&(b.commentDraftComponent=c.first);bg(c=eg())&&(b.commentBoxContainer=c.first);bg(c=eg())&&(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:[ed],ngContentSelectors:["[warning]","[recaptchaContainer]","[additionalToolbarItems]"],decls:10,vars:16,consts:[[1,"bv2-comment-box-container",
3,"ngClass"],["commentBoxContainer",""],[1,"bv2-comment-textarea-wrapper"],[3,"content","placeholder","disabled","textareaClass","audience","idForAriaLabel","contentChange","focus","blur","keydown","paste"],[4,"ngIf"],[3,"uploads","onUploadCancel","onUploadComplete"],["class","bv2-comment-toolbar",4,"ngIf"],[3,"isPlusOneText","onSubmitComment"],[1,"bv2-comment-toolbar"],[3,"disabled","onSelect"],[3,"disabled","onPickDoc","onCloneBlob",4,"ngIf"],["class","goog-inline-block vertical-centered restriction-button",
4,"ngIf"],[3,"disabled","onPickDoc","onCloneBlob"],[1,"goog-inline-block","vertical-centered","restriction-button"],[4,"ngIf","ngIfElse"],["restrictedFlatButton",""],["mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"disabled","click"],["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){a&1&&(Gf(ORc),H(0,"div",0,1)(2,"div",2)(3,"b-comment-draft",3),M("contentChange",function(c){if(b.comment){var d=b.comment.value;b.comment.value=c;c!==d&&(b.onChange&&(b.commentChange.emit(b.comment),b.onChange.emit()),b.onPlusOneTextEntered&&b.onPlusOneTextEntered.emit("+1"===c.trim()))}})("focus",function(){return b.onFocus()})("blur",function(){return b.onBlur()})("keydown",function(c){return b.onKeydown(c)})("paste",function(c){if(c&&null!=c.clipboardData){var d=
c.clipboardData;for(var e=!1,g=!1,h=0,m=0;m<d.items.length;m++)"string"===d.items[m].kind&&"text/plain"===d.items[m].type?e=!0:"file"===d.items[m].kind&&(g=!0,h=m);g&&d.items&&d.files?(g=d.files[0],h=d.items[h].type.replace(/^.*[/]/,""),e?(d=d.getData("text/plain"),d=d.replace(/^.*[\\\/]/,"")):d=(new Date).toString()+"."+h,d={file:g,filename:d}):d=void 0;d&&(c.preventDefault(),c=new File([d.file],d.filename,{type:d.file.type}),b.uploadFile(c))}}),I(),P(4,z9a,2,1,"ng-container",4),I(),Hf(5),H(6,"b-attachment-uploader",
5),M("onUploadCancel",function(c){b.removeUpload(c);return b.onChange.emit()})("onUploadComplete",function(){return b.onChange.emit()}),I(),Hf(7,1),P(8,E9a,6,5,"div",6),I(),P(9,F9a,2,4,"div",4));a&2&&(F("ngClass",Sf(11,PRc,b.focused)),B(3),F("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",Tf(13,QRc,b.disabled?"bv2-disabled":"",b.warn?"banned-words-warning":""))("audience",b.audience)("idForAriaLabel",b.idForAriaLabel),B(1),F("ngIf",b.isPlusOneCalloutEnabled),
B(2),F("uploads",b.comment.uploads),B(2),F("ngIf",b.showToolbar),B(1),F("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[Mw,Ow,bB,AS,tC,WO,f_,LZ,OZ,qA,g_,Uw],encapsulation:2});var RRc=["dialog"],i_=function(a,b,c,d){GE.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new pw;this.close=new pw;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=SRc;this.enableRecaptcha=EE(this.activeSession,"enableRecaptcha")&&EE(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new HJ;var e;this.comment.formattingMode=Kk(null==(e=rJ(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=xec};U(i_,GE);i_.\u0275dir=GE.\u0275dir;
i_.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new aPc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&G9a(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});yA(this.matDialogRef).pipe(bf(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};i_.\u0275fac=function(a){return new (a||i_)(C(DA),C(bt),C(GM),C(qJ))};
i_.\u0275cmp=Mc({type:i_,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&cg(RRc,5);if(a&2){var c;bg(c=eg())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[lf],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["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"],["statusMenu",""],["mat-menu-item","","type","button",3,"disabled","click"],["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,"comment","showToolbar","onSubmit"],[1,"float-clear"],["class","bv2-external-component-modal-warning",4,"ngIf"],[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,"ngModel","bContactAutocomplete","ngModelChange"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModel","required","bContactAutocomplete","ngModelChange"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModel","ngModelChange"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x",
"justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&P(0,W9a,14,5,"ng-template",null,0,hg)},dependencies:[Nw,Ow,Pw,Qw,Rw,EA,FA,GA,HA,nP,vx,xg,ox,px,Fx,ux,sx,qA,GN,lC,jC,kC,wS,h_,BS],encapsulation:2});var SRc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var j_=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};j_.prototype.ngOnInit=function(){TRc(this,this.issuesToFlag)};
var TRc=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:aG(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);TRc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};j_.\u0275fac=function(a){return new (a||j_)(C(jJ),C($F),C(oG),C(CA))};
j_.\u0275cmp=Mc({type:j_,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,"gmat-button","medium"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",3,"disabled","mat-dialog-close"],[4,"ngFor","ngForOf"]],
template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Flag Issues as Spam"),I(),H(2,"div",1)(3,"div",2)(4,"p"),R(5),H(6,"a",3),R(7,"see here"),I(),R(8,". "),I(),H(9,"p"),R(10," This operation cannot be undone in bulk. "),I()(),H(11,"div",4),P(12,$9a,3,2,"div",5),P(13,b$a,5,2,"div",5),I()(),H(14,"div",6)(15,"button",7),R(16," Close "),I(),H(17,"button",8),R(18," Flag as Spam "),I()());a&2&&(B(5),Mf(" Flagging these ",b.issuesToFlag.length," issues as spam will cause them to drop out of regular search results, and they will be deleted after 30 days. For more information on remediating spam at scale, "),
B(1),F("href",Ykc(b.documentationLinks),Sd),B(6),F("ngIf",!b.permissionsCheckComplete),B(1),F("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),B(4),F("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[Nw,Ow,qA,EA,FA,GA,HA],encapsulation:2});var k_=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};k_.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};k_.prototype.save=function(){this.dialogRef.close(this.component)};k_.prototype.cancel=function(){this.dialogRef.close()};k_.\u0275fac=function(a){return new (a||k_)(C(PH,2),C(AA))};
k_.\u0275cmp=Mc({type:k_,selectors:[["b-bulk-move-dialog"]],features:[Pf([PH])],decls:13,vars:4,consts:[["mat-dialog-title",""],[1,"bv2-bulk-move-warning"],[3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Change Component"),I(),H(2,"mat-dialog-content")(3,"p"),R(4,"Choose new component for these issues."),I(),H(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. "),I(),H(7,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),I()(),H(8,"mat-dialog-actions")(9,"button",3),M("click",function(){return b.cancel()}),R(10," Cancel "),I(),H(11,"button",4),M("click",function(){return b.save()}),R(12," Save "),I()());a&2&&(B(7),F("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),B(4),F("disabled",null==b.component))},dependencies:[qA,FA,GA,HA,SU],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var l_=function(){this.renderPanel=!0;this.sloEditCommit=new pw;this.closePicker=new pw};l_.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;this.currentPickerDate=null!=(b=LBa(this.sloEditTime))?b:void 0}};l_.prototype.setDate=function(a){this.currentPickerDate=a};l_.\u0275fac=function(a){return new (a||l_)};
l_.\u0275cmp=Mc({type:l_,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[Pf([PH]),ed],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"renderPanel","date","dateSelectionChange","saveClicked","cancelClicked"]],template:function(a,b){a&1&&(H(0,"div",0),M("clickOutside",function(){b.closePicker.emit()}),H(1,"b-date-time-picker-content",1),M("dateSelectionChange",
function(c){return b.setDate(c)})("saveClicked",function(){var c=(c=b.currentPickerDate)?{seconds:c.getTime()/1E3,nanos:0}:null;b.sloEditCommit.emit({date:null!=c?c:null});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),I()());a&2&&(B(1),F("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[uO,oY],styles:["b-date-time-picker-content[_ngcontent-%COMP%]{right:10px;z-index:100}[_nghost-%COMP%]     .mat-form-field{width:9rem;margin-left:1rem}[_nghost-%COMP%]     .mat-form-field .mat-form-field-underline{bottom:0}/*# sourceMappingURL=slo_edit_date_time_picker.css.map */"],
changeDetection:0});var m_=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};m_.prototype.close=function(){this.dialogRef.close(this.commitEvent)};m_.\u0275fac=function(a){return new (a||m_)(C(CA),C(AA))};
m_.\u0275cmp=Mc({type:m_,selectors:[["b-edit-calendar-modal"]],decls:3,vars:2,consts:[["mat-dialog-title",""],[3,"renderPanel","sloEditCommit","closePicker"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),H(2,"slo-edit-date-time-picker",1),M("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),I());a&2&&(B(1),Mf("Edit ",b.fieldDisplayName,""),B(1),F("renderPanel",!1))},dependencies:[l_],encapsulation:2});var n_=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=null!=(d=null==(c=this.enumSpec)?void 0:c.options)?d:[];this.isEnumSpec=!!this.enumSpec;var e;this.allowedLabels=(null!=(e=this.enumOptions)?e:[]).map(function(g){return g.label})};
n_.prototype.enableSubmit=function(){return this.isEnumSpec&&""!==this.currentEnumLabel||!this.isEnumSpec};n_.prototype.cancel=function(){this.dialogRef.close(void 0)};n_.prototype.save=function(){if(this.enumSpec)var a={estimate:this.currentEnumLabel};else a=this.numericEstimatedEffort,a={estimate:0===a.length||isNaN(Number(a))?"":String(Number(a))};this.dialogRef.close(a)};n_.\u0275fac=function(a){return new (a||n_)(C(CA),C(AA))};
n_.\u0275cmp=Mc({type:n_,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","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"],["matInput","",3,"ngModel","ngModelChange","keypress"],[1,"bv2-top-field-label"],[3,"value","includeEmptyOption","options","valueChange"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),P(2,c$a,5,2,"mat-dialog-content",1),P(3,
d$a,4,4,"div",2),H(4,"mat-dialog-actions")(5,"button",3),M("click",function(){return b.cancel()}),R(6," Cancel "),I(),H(7,"button",4),M("click",function(){return b.save()}),R(8," Save "),I()());a&2&&(B(1),Mf("Edit ",b.fieldDisplayName,""),B(1),F("ngIf",!b.isEnumSpec),B(1),F("ngIf",b.isEnumSpec),B(4),F("disabled",!b.enableSubmit()))},dependencies:[Ow,xg,ox,ux,qA,FA,GA,HA,QA,PA,TA,xY],encapsulation:2});var o_=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};o_.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};o_.prototype.close=function(){this.dialogRef.close()};o_.\u0275fac=function(a){return new (a||o_)(C(CA),C(AA))};
o_.\u0275cmp=Mc({type:o_,selectors:[["b-edit-item-modal"]],decls:20,vars:6,consts:[["mat-dialog-title",""],[1,"bv2-modal-form"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),H(2,"mat-dialog-content")(3,"p"),R(4),I(),H(5,"div",1)(6,"mat-form-field")(7,"mat-label"),R(8),I(),H(9,"input",2),M("ngModelChange",function(c){return b.addItems=c}),I()(),
J(10,"br"),H(11,"mat-form-field")(12,"mat-label"),R(13),I(),H(14,"input",2),M("ngModelChange",function(c){return b.removeItems=c}),I()()()(),H(15,"mat-dialog-actions")(16,"button",3),M("click",function(){return b.close()}),R(17," Cancel "),I(),H(18,"button",4),M("click",function(){return b.save()}),R(19," Save "),I()());a&2&&(B(1),Mf("Edit ",b.fieldDisplayName,""),B(3),Mf("Enter ",b.fieldDisplayName," to add or remove"),B(4),Mf(" ",b.fieldDisplayName," to Add "),B(1),F("ngModel",b.addItems),B(4),
Mf(" ",b.fieldDisplayName," to Remove "),B(1),F("ngModel",b.removeItems))},dependencies:[xg,ox,ux,qA,QA,PA,TA,FA,GA,HA],encapsulation:2});var URc=["hotlistFilterInput"],VRc=["hotlistCreate"],WRc=["hotlistApply"],XRc=["hotlistLoad"],YRc=["menuitem"],p_=function(a,b,c,d,e,g){GE.call(this);this.liveAnnouncer=a;this.butterBar=b;this.userAccess=c;this.analytics=d;this.activeSession=e;this.cdr=g;this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new pw;this.onApply=new pw;this.onLoad=new pw;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()};U(p_,GE);p_.\u0275dir=GE.\u0275dir;p_.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(bf(this.destroyed$)).subscribe(function(){(0,E.timer)(0).pipe(bf(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;null==(c=this.trigger)||c.menuClosed.pipe(bf(this.destroyed$)).subscribe(function(){ZRc(a)})};
p_.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};p_.prototype.ngOnChanges=function(){$Rc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;aSc(this)};
var $Rc=function(a){var b={};Oca(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=k(a.choices),d=c.next();!d.done;d=c.next())d=d.value,b[d.hotlistId]=0,a.validHotlistIds.add(d.hotlistId);if(a.selectedHotlistIds){c=a.selectedHotlistIds.length;d=k(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=k(e);for(var g=e.next();!g.done;g=e.next())b[g.value]++}d=k(Object.entries(b));for(e=d.next();!e.done;e=d.next())g=k(e.value),e=g.next().value,g=g.next().value,
a.selectedHotlistMap[Number(e)]=g?g===c?!0:null:!1;yaa(a.choices,function(h,m){var r=b[h.hotlistId],v=b[m.hotlistId];return r>v?-1:r<v?1:Dq(h.name,m.name)})}}};p_.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};p_.prototype.close=function(){this.trigger.closeMenu()};
p_.prototype.hasAclToEdit=function(a){var b=this;if(Lca(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];aG(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var e$a=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},lq=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;l$a(a);a.close()},l$a=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},aSc=function(a){for(var b=a.filterText,c=!1,d=k(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=ha(e.name.toLowerCase(),b.toLowerCase()),
e.name===b&&(c=!0);a.canCreate=!(!b||c);a.canLoad=Wp(hi(b))&&!!b&&!!a.onLoad},ZRc=function(a){a.trigger.menuOpen||($Rc(a),a.filterText="",aSc(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},bSc=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+oaa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
p_.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",aSc(this),this.onCreate.emit({name:b,successCallback:function(c){lq(a,c)},errorCallback:function(){a.butterBar.showWarning("Failed to create hotlist "+b)}}))};
p_.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");mG(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";aSc(this);for(var c=di(b),d=k(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){lq(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(g){lq(a,g)},errorCallback:function(){a.butterBar.showWarning("Failed to load hotlist "+b)}})}};
var f$a=function(a,b){e$a(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.focusFilterBox(),a.pendingChanges=!Yh(a.oldSelectedHotlistMap,a.selectedHotlistMap))},iSc=function(a,b){b=void 0===b?0:b;var c=cSc(a).filter(function(e,g){return g>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=qaa(cSc(a),b),dSc(a),eSc(a,b)):a.focusedRowIndex<d&&a.canCreate?fSc(a,d):a.focusedRowIndex<
d+1&&a.canLoad?gSc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&hSc(a,d)},cSc=function(a){return a.menuItems.map(function(b){return b.nativeElement})},jSc=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)fSc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)gSc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)fSc(a,a.choices.length);else{var c=cSc(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=qaa(cSc(a),b),dSc(a),eSc(a,b)):(a.focusedRowIndex=-1,eSc(a,null))}},eSc=function(a,b){a.filterElement&&FM(a.filterElement.nativeElement,b);a.focusFilterBox()},fSc=function(a,b){a.focusedRowIndex=b;FM(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},gSc=function(a,b){a.focusedRowIndex=b+1;FM(a.filterElement.nativeElement,null);
var c;null==(c=a.loadElement)||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},hSc=function(a,b){a.focusedRowIndex=b+2;FM(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},dSc=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=cSc(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},g$a=function(a){return null==
a?"mixed":a.toString()},h$a=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};p_.\u0275fac=function(a){return new (a||p_)(C(Yy),C(lG),C($F),C(TH),C(bt),C(PH,2))};
p_.\u0275cmp=Mc({type:p_,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(cg(kC,5),cg(URc,5),cg(VRc,5),cg(WRc,5),cg(XRc,5),cg(YRc,5));if(a&2){var c;bg(c=eg())&&(b.trigger=c.first);bg(c=eg())&&(b.filterElement=c.first);bg(c=eg())&&(b.createElement=c.first);bg(c=eg())&&(b.applyElement=c.first);bg(c=eg())&&(b.loadElement=c.first);bg(c=eg())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[Pf([PH]),lf,ed],decls:13,vars:4,consts:[["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"],["hotlistMenu","matMenu"],[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 your starred hotlists","autocomplete","off",3,"ngModel","ngModelChange","mousedown","blur","click","keydown"],["hotlistFilterInput",""],["matMenuContent",""],["role","listbox",1,"multi-edit-scrollarea"],["hotlistChoices",""],["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,"disabled","click","keydown.enter"],["hotlistCreate",""],[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,"title","click"],["menuitem",""],["role","checkbox",3,"state","disabled","click"],
["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"click","keydown.enter"],["hotlistLoad",""],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"click","keydown.enter"],["hotlistApply",""]],template:function(a,b){a&1&&(H(0,"button",0)(1,"span",1),R(2),I(),J(3,"b-icon",2),I(),H(4,"mat-menu",null,3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7,8),M("ngModelChange",function(d){return b.filterText=d})("ngModelChange",
function(){return aSc(b)})("mousedown",function(d){return d.stopPropagation()})("blur",function(){return ZRc(b)})("click",function(d){return d.stopPropagation()})("keydown",function(d){d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?(iSc(b),d.preventDefault()):"ArrowUp"===d.key?(jSc(b),d.preventDefault()):"PageUp"===d.key?jSc(b,11):"PageDown"===d.key?iSc(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(f$a(b,b.choices[b.focusedRowIndex]),
d.preventDefault()):"Enter"===d.key&&(b.focusedRowIndex===b.choices.length?b.createHotlist():b.focusedRowIndex===b.choices.length+1?b.loadHotlist():b.pendingChanges?(b.close(),l$a(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&lq(b,b.choices[b.focusedRowIndex]))}),I()()(),J(11,"mat-divider"),P(12,n$a,11,8,"ng-template",9),I()());if(a&2){var c=Lf(5);F("matMenuTriggerFor",c)("disabled",b.isAnonymous);B(2);Nf(bSc(b));B(7);F("ngModel",b.filterText)}},
dependencies:[Nw,Ow,lC,jC,kC,iC,qA,xg,ox,Gx,ux,Tz,tC,xM,GN],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-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 q_=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};q_.prototype.enableSubmit=function(){return""!==this.reporter};q_.prototype.cancel=function(){this.dialogRef.close()};q_.prototype.save=function(){this.dialogRef.close(this.reporter)};q_.\u0275fac=function(a){return new (a||q_)(C(AA))};
q_.\u0275cmp=Mc({type:q_,selectors:[["b-reporter-picker-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["matInput","",3,"bContactAutocomplete","ngModel","ngModelChange","autocompleteActive","keydown"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","",1,"gmat-button",3,"disabled","click"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Change Reporter"),I(),H(2,"mat-dialog-content")(3,"mat-form-field")(4,"mat-label"),R(5," Reporter "),I(),H(6,"input",1),M("ngModelChange",
function(c){return b.reporter=c})("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){"Enter"===c.key&&!b.autocompleteActive&&b.enableSubmit()&&b.save()}),I()()(),H(7,"mat-dialog-actions")(8,"button",2),M("click",function(){return b.cancel()}),R(9," Cancel "),I(),H(10,"button",3),M("click",function(){return b.save()}),R(11," Save "),I()());a&2&&(B(6),F("bContactAutocomplete","SINGLE")("ngModel",b.reporter),B(4),F("disabled",!b.enableSubmit()))},dependencies:[xg,
ox,ux,qA,FA,GA,HA,QA,PA,TA,wS],encapsulation:2});var kSc=["addCommentDialog"],r_=function(a,b,c,d,e,g,h,m,r,v,y,A){GE.call(this);var G=this;this.componentFridge=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.hotkeys=e;this.componentActions=g;this.issueTypeDialog=h;this.copyIssueIdService=m;this.matDialog=r;this.$log=v;this.issuePicker=y;this.userPreferencesManager=A;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new E.Subject;this.effortSpec$=this.uniqueComponentIds$.pipe(af(function(N){return G.componentFridge.watchSet(N)}),
D(function(N){return G.getCommonEffortSpec(N)}),Ye({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(D(function(N){return void 0!==N}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new pw;this.onCreateHotlist=new pw;this.onLoadHotlist=new pw;this.externalWarnings=[];this.enableRecaptcha=EE(this.activeSession,"enableRecaptcha")&&EE(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};U(r_,GE);
var lSc=function(a){var b=new HJ,c;b.formattingMode=Kk(null==(c=rJ(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};r_.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};var mSc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},o$a=function(a){return mSc(a)?"Mark as read":"Mark as unread"},mq=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
r_.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=k(a),c=b.next();!c.done;c=b.next()){var d=void 0;null!=(d=c.value).hotlistId||(d.hotlistId=[])}this.hotlistIdMatrix=a.map(function(e){return e.hotlistId});this.cdr.detectChanges();a=nSc(a);this.uniqueComponentIds$.next(a)};
var nSc=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},oSc=function(a){if(!tdc(a.activeSession)){a.externalWarnings=[];var b=new Set(a.getSelectedIssues().map(function(e){return e.componentId}));b=k(b);for(var c=b.next(),d={};!c.done;d={$jscomp$loop$prop$id$861340799$8:d.$jscomp$loop$prop$id$861340799$8},c=b.next())d.$jscomp$loop$prop$id$861340799$8=c.value,a.componentActions.get(d.$jscomp$loop$prop$id$861340799$8).then(function(e){if(a.activeSession.isInternalSession()&&
jq(e)||sdc(a.activeSession)&&kq(e)){var g,h=Y9a(null==(g=e.componentPathInfo)?void 0:g.componentPathName,e.componentId);a.externalWarnings.push({path:h,accessLevel:e.accessLimit.accessLevel});a.cdr.detectChanges()}}).catch(function(e){return function(){a.$log.warn("Could not retrieve component "+e.$jscomp$loop$prop$id$861340799$8+".")}}(d))}};f=r_.prototype;
f.getCommonEffortSpec=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(!b.effortSpec)return;b=b.effortSpec;var c=b.id;if(!d){var d=c;var e=b}else if(d!==c)return}return e};
f.bulkEdit=function(a){switch(a){case "ASSIGNEE":s_(this,null,0);break;case "COMPONENT":pSc(this);break;case "VERIFIER":s_(this,null,1);break;case "REPORTER":qSc(this);break;case "CHANGELIST":rSc(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":sSc(this);break;case "FOUND_IN":rSc(this,"foundInVersion","Found In");break;case "VERIFIED_IN":rSc(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":rSc(this,"targetedToVersion","Targeted To");break;case "COMMENT":tSc(this);break;
case "SLO_START_TIME":uSc(this);break;case "ESTIMATED_EFFORT":vSc(this);break;case "CC":rSc(this,"ccs","CCs");break;default:this.$log.error("unsupported bulk edit field: "+a)}};
f.quickBulkEdit=function(a){switch(a.field){case "PRIORITY":(a=a.newValue)&&t_(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&t_(this,"severity",a);break;case "STATUS":(a=a.newValue)&&s_(this,El[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=a.newValue)&&t_(this,"type",a);break;case "IS_ARCHIVED":t_(this,"isArchived",""+a.newValue);break;case "IN_PROD":t_(this,"inProd",""+a.newValue);break;case "CC":t_(this,"ccs",this.currentUserEmail,a.newValue?"ADD":"REMOVE");break;default:this.$log.error("unsupported bulk edit field: "+
a.field)}};
f.bulkEditIssueRelation=function(a){switch(a.issueRelation){case "BLOCKED_BY":a.isMarking?u_(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):u_(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?u_(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):u_(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?u_(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):u_(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":s_(this,El.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};f.bulkMarkIssueRead=function(){var a=mSc(this);t_(this,"readState",a?"true":"")};
var t_=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var g=mq(a),h=[e];"deletionReason"===b&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var m={bulkEditOps:[{issueIds:g,actions:h}]};a.enableRecaptcha&&""!==a.recaptchaResponse&&(m.recaptchaToken=a.recaptchaResponse);a.onSave.emit(m)};"type"!==b||"VULNERABILITY"!==c&&"PRIVACY_ISSUE"!==c?d():("VULNERABILITY"===c&&blc(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&blc(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},s_=function(a,b,c){a.hasSelectedIssues()&&(oSc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},wSc=function(a){var b=a.onSave,c=b.emit,d=mq(a),e=a.stateModal.issueEditBuilder,g=[];e.issueState||G9a(e);e=k(V9a(e));for(var h=e.next();!h.done;h=e.next()){var m=k(h.value);h=m.next().value;m=m.next().value;void 0!==m&&g.push({fieldName:h,value:m})}c.call(b,{bulkEditOps:[{issueIds:d,actions:g}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},qSc=
function(a){a.hasSelectedIssues()&&(oSc(a),yA(a.matDialog.open(q_,{width:"400px"})).pipe(bf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&t_(a,"reporter",b)}),a.hotkeys.pause())},rSc=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&(yA(a.matDialog.open(o_,{width:"400px",data:{fieldDisplayName:c}})).pipe(bf(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&xSc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},uSc=function(a){a.hasSelectedIssues()&&(yA(a.matDialog.open(m_,
{width:"330px",data:{fieldDisplayName:"SLO Start Time"}})).pipe(bf(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())},vSc=function(a){var b=An(a.effortSpec$);a.hasSelectedIssues()&&void 0!==b&&(yA(a.matDialog.open(n_,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}})).pipe(bf(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())},xSc=function(a,b,c,d,e){e=void 0===e?!1:e;c=Nk(c);d=Nk(d);var g=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),m=function(r){return sqa(r,h).map(function(v){return v.trim()})};Ok(c)||(c=m(c),e&&(c=c.filter(function(r){return!isNaN(r)})),g.push.apply(g,ad(c.map(function(r){return{fieldName:b,value:r,actionType:"ADD"}}))));
Ok(d)||(d=m(d),g.push.apply(g,ad(d.map(function(r){return{fieldName:b,value:r,actionType:"REMOVE"}}))));g.length&&a.onSave.emit({bulkEditOps:[{issueIds:mq(a),actions:g}]})},pSc=function(a){a.hasSelectedIssues()&&(yA(a.matDialog.open(k_,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(bf(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())},ySc=function(a){a.hasSelectedIssues()&&(yA(a.matDialog.open(j_,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(bf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),t_(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},tSc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=lSc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,
{panelClass:"no-jitter",minWidth:512,maxWidth:512}),yA(a.addCommentDialogRef).pipe(bf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&Mlc(a.comment)&&t_(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),oSc(a))},v$a=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},sSc=function(a){a.hasSelectedIssues()&&yA(a.matDialog.open(yY,{data:a.getSelectedIssues(),width:"500px"})).pipe(bf(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),
a.analytics.trackEvent(a.controllerName,"bulkCustomField"))})};
r_.prototype.handleHotlistPickerSave=function(a){var b=a.oldSelectionMap,c=[],d=[],e=0;Object.entries(a.newSelectionMap).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;h!==b[g]&&(h?c.push(g):d.push(g),e++)});a=[];c.length&&a.push({fieldName:"hotlists",actionType:"ADD",value:c.join(",")});d.length&&a.push({fieldName:"hotlists",actionType:"REMOVE",value:d.join(",")});a.length&&(this.onSave.emit({bulkEditOps:[{issueIds:mq(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,
"applyHotlists","numHotlists",e))};var u_=function(a,b){var c=b.actionType,d=b.fieldName;a.issuePicker.open({title:b.title,edgeType:b.edgeType,originIsBulk:!0},function(e){a.hotkeys.unpause();0!==e.length&&(e=e[0],a.onSave.emit({bulkEditOps:[{issueIds:mq(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};r_.\u0275fac=function(a){return new (a||r_)(C(PF),C(PH),C(bt),C(TH),C(GM),C(MU),C(mJ),C(YY),C(DA),C(nG),C(MP),C(qJ))};
r_.\u0275dir=Qc({type:r_,viewQuery:function(a,b){a&1&&(cg(kSc,5),cg(p_,5),cg(i_,5));if(a&2){var c;bg(c=eg())&&(b.addCommentDialog=c.first);bg(c=eg())&&(b.hotlistPicker=c.first);bg(c=eg())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[lf]});var v_=function(){};v_.\u0275fac=function(a){return new (a||v_)};v_.\u0275mod=Oc({type:v_});v_.\u0275inj=xc({providers:[{provide:NPc,useFactory:function(){return new KPc}}]});var w_=function(){};w_.\u0275fac=function(a){return new (a||w_)};w_.\u0275mod=Oc({type:w_});w_.\u0275inj=xc({imports:[bx,v_]});var x_=function(){};x_.\u0275fac=function(a){return new (a||x_)};x_.\u0275mod=Oc({type:x_});x_.\u0275inj=xc({providers:[{provide:MPc,useFactory:MZ}],imports:[cG,QC,uD,w_,aK]});var y_=function(){};y_.\u0275fac=function(a){return new (a||y_)};y_.\u0275mod=Oc({type:y_});y_.\u0275inj=xc({imports:[cG,QC,uD]});var z_=function(){};z_.\u0275fac=function(a){return new (a||z_)};z_.\u0275mod=Oc({type:z_});z_.\u0275inj=xc({imports:[cG,uU,bO,uD,hT,kP,x_,QC,y_]});var A_=function(){};A_.\u0275fac=function(a){return new (a||A_)};A_.\u0275mod=Oc({type:A_});A_.\u0275inj=xc({});var B_=function(){};B_.\u0275fac=function(a){return new (a||B_)};B_.\u0275mod=Oc({type:B_});B_.\u0275inj=xc({imports:[cG,IA,sP,Jx,QC,bO,mC,xS,z_,A_]});var C_=function(){};C_.\u0275fac=function(a){return new (a||C_)};C_.\u0275mod=Oc({type:C_});C_.\u0275inj=xc({imports:[cG,mC,QC,UA,Jx,Wz,uD,JT,MT,bO]});var D_=function(a,b,c,d,e,g,h,m,r,v,y,A){r_.call(this,a,b,c,d,e,g,h,m,r,v,y,A);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=EE(this.activeSession,"enableBulkEditUi");this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};U(D_,r_);D_.\u0275dir=r_.\u0275dir;D_.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
D_.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});waa(a,null,function(b){return b.issueId.toString()});return a};D_.\u0275fac=function(a){return new (a||D_)(C(PF),C(PH,2),C(bt),C(TH),C(GM),C(MU),C(mJ),C(YY),C(DA),C(nG),C(MP),C(qJ))};
D_.\u0275cmp=Mc({type:D_,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[Pf([PH]),lf,ed],decls:7,vars:5,consts:[[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,"showFlagIssuesAsSpam",
"flagAsSpamClicked"],[3,"externalWarnings","save","close"],["addCommentDialog",""],[3,"readStatePrompt","enableBulkEstimatedEffortOption","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch"],[1,"bv2-grid-hotlist-picker"],[3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange",
"onSubmit",4,"ngIf"],["class","bv2-external-component-modal-warning",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],[3,"comment","showToolbar","commentChange","onSubmit"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,
b){a&1&&(P(0,p$a,2,4,"b-app-bar-bulk-edit-menus",0),P(1,t$a,1,2,"b-copy-issue-id-button",1),P(2,u$a,2,2,"div",2),H(3,"b-app-bar-more-menu",3),M("flagAsSpamClicked",function(){return ySc(b)}),I(),H(4,"b-state-modal",4),M("save",function(){return wSc(b)})("close",function(){return b.hotkeys.unpause()}),I(),P(5,A$a,11,6,"ng-template",null,5,hg));a&2&&(F("ngIf",b.hasSelectedIssues()),B(1),F("ngIf",b.hasSelectedIssues()),B(1),F("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),B(1),F("showFlagIssuesAsSpam",
b.isNonPublicSession&&b.hasSelectedIssues()),B(1),F("externalWarnings",b.externalWarnings))},dependencies:[QW,PW,h_,Nw,Ow,nP,VY,p_,qA,EA,FA,GA,HA,i_,BS,Uw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var E_=function(){};E_.\u0275fac=function(a){return new (a||E_)};E_.\u0275mod=Oc({type:E_});E_.\u0275inj=xc({imports:[SW,hT,z_,cG,sP,XY,C_,bO,QC,IA,B_,A_]});var zSc=function(a,b){this.index=a;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)},ASc=function(a,b){this.cellType=b;this.enumFields=null;this.id=a.customFieldId;this.name=a.name;this.type=a.type;if("ENUM"===this.type||"REPEATED_ENUM"===this.type)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)},F_=function(a,b){this.dirty=!1;this.collaboratorGroups=new Set;var c=b.snapshot||{};this.customFields=a;this.new=null==b.templateId;this.componentId=b.componentId;this.name=b.name||"";this.description=b.description||"";this.type=c.type||"--";this.priority=c.priority||"--";this.severity=c.severity||"--";this.assignee=ti(c.assigneeUser)||"";this.verifier=ti(c.verifierUser)||"";this.collaborators=ri(c.collaboratorsUsers)||[];this.cc=
ri(c.ccUsers)||[];this.title=c.title||"";this.comment=c.comment||"";this.formattingMode=c.formattingMode?c.formattingMode:"PLAIN";this.hotlistId=c.hotlistId||[];this.inProd=c.inProd||!1;this.issueAccessLimitLevel=c.issueAccessLimitLevel||"LIMIT_NONE";this.customFieldValues=Object.create(null);a=k(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=new ni(b);a=k(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=k(b.value),
b=c.next().value,c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=null!=c.typedDefaultValue?new ni(c.typedDefaultValue):new ni({customFieldId:b}))},CSc=function(a,b){b.name=a.name;b.description=a.description;var c=b.snapshot||{};c.componentId=a.componentId;BSc(a.type)?delete c.type:c.type=a.type;BSc(a.priority)?delete c.priority:c.priority=a.priority;BSc(a.severity)?delete c.severity:c.severity=a.severity;c.assigneeUser=xi(a.assignee);c.verifierUser=xi(a.verifier);
c.collaboratorsUsers=a.collaborators.map(function(g){return xi(g)});0<a.collaboratorGroups.size&&(c.collaboratorsUsers=Jqa([].concat(ad(a.collaboratorGroups))).concat(c.collaboratorsUsers||[]));c.ccUsers=a.cc.map(function(g){return xi(g)});c.comment=a.comment;c.formattingMode=a.formattingMode;c.title=a.title;c.hotlistId=a.hotlistId;c.inProd=a.inProd;c.customField=[];c.issueAccessLimitLevel=a.issueAccessLimitLevel;for(var d=k(Object.keys(a.customFields)),e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&
!e.isEmpty()&&c.customField.push(e);b.snapshot=c};
F_.prototype.setCustomField=function(a,b){a=String(a);if(this.customFieldValues[a]){var c=this.customFields[a].type;if(!c)return;switch(c){case "UNKNOWN":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:Fh(c,"Unexpected custom field type: "+c)}}this.dirty=!0};F_.prototype.isDirty=function(){return this.dirty};F_.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};F_.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var BSc=function(a){return Ok(a)||"--"===a};F_.prototype.getCollaboratorGroupsString=function(){return 0===this.collaboratorGroups.size?"":1<this.collaboratorGroups.size?this.collaboratorGroups.size+" groups selected":this.collaboratorGroups.keys().next().value};F_.prototype.separateCollaboratorGroups=function(a){a=new Set(a);for(var b=[],c=k(this.collaborators),d=c.next();!d.done;d=c.next())d=d.value,a.has(d)?this.collaboratorGroups.add(d):b.push(d);this.collaborators=b};
var eab=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},fab=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},DSc={value:"--",displayText:"--"};var ESc=new XA("M/d/yyyy"),G_=function(a){this.dateFormatter=a;this.boundValueChange=new pw;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};G_.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=ei(this.boundValue);else{var b;a=null!=(b=ji(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
G_.prototype.change=function(a,b){b=void 0===b?!1:b;var c=this.googDate;if((c&&a?!c.equals(a):c||a)&&!b){this.googDate=a;if(a)if("string"===typeof this.boundValue)a=ESc.format(a);else{var d;a=null!=(d=xqa(ESc.format(a)))?d:void 0}else a="string"===typeof this.boundValue?"":void 0;this.boundValue=a;this.boundValueChange.emit(this.boundValue);this.textValue=this.googDate?this.dateFormatter.formatUserCalendar(this.googDate):""}};G_.\u0275fac=function(a){return new (a||G_)(C(uJ))};
G_.\u0275cmp=Mc({type:G_,selectors:[["bv2-input-date-picker"]],inputs:{boundValue:"boundValue",inputId:["bv2Id","inputId"],ariaLabelledBy:["bv2AriaLabelledby","ariaLabelledBy"],isRequired:"isRequired"},outputs:{boundValueChange:"boundValueChange"},decls:1,vars:4,consts:[[3,"required","value","customFormId","customAriaLabelledBy","valueChange"]],template:function(a,b){a&1&&(H(0,"b-date-time-input",0),M("valueChange",function(c){return b.change(c)}),I());a&2&&F("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[rY],encapsulation:2});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"},FSc={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"},B$a=[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"},FSc];var H_=function(){GE.apply(this,arguments);var a=this;this.defaultAccessLimitLevel$=new E.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new pw;this.selectedDisplay$=new E.BehaviorSubject(null);this.displays=B$a;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=(0,E.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(D(function(b){b=k(b);
var c=b.next().value;b=b.next().value;if(c)return c;c=k(a.displays);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.accessLevel===b)return d;return nq}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(D(function(b){return b.title}))};U(H_,GE);H_.\u0275dir=GE.\u0275dir;wh.Object.defineProperties(H_.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
H_.\u0275fac=function(){var a;return function(b){return(a||(a=zd(H_)))(b||H_)}}();
H_.\u0275cmp=Mc({type:H_,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[lf],decls:13,vars:10,consts:[[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"],["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"],["accessLimitsMenu","matMenu"],["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&&(H(0,"div",0)(1,"button",1),S(2,"async"),H(3,"span",2),J(4,"mat-icon",3),H(5,"span",4),R(6),S(7,"async"),I()(),J(8,"mat-icon",5),I(),P(9,D$a,1,1,"mat-icon",6),H(10,"mat-menu",7,8),P(12,E$a,7,3,"button",9),I()());if(a&2){var c=Lf(11),d;B(1);F("matMenuTriggerFor",
c)("disabled",b.disabled);pf("aria-label","Issue Access level, "+(null!==(d=null==(d=T(2,6,b.selectedDisplay$))?null:d.title)&&void 0!==d?d:"Default access"));B(5);Mf(" ",T(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");B(3);F("ngIf",b.disabled);B(3);F("ngForOf",b.displays)}},dependencies:[Nw,Ow,bB,qA,lC,jC,kC,tC,Uw],styles:[".bv2-material.d-compact .mat-menu-item.access-limit-level-option{height:fit-content;line-height:12px}.bv2-material.d-cozy .mat-menu-item.access-limit-level-option{height:fit-content;line-height:16px}.mat-menu-panel.access-limit-level-options{min-width:320px}.mat-menu-item.access-limit-level-option{height:fit-content;line-height:20px}.mat-menu-item.access-limit-level-option:focus,.mat-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-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:text-bottom;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{display:inline-flex;align-items:center;color:#202124;color:var(--text-default);font-size:small;padding-bottom:2px}.selected-access-limit-level-title-text{padding:0px 6px}\n"],
encapsulation:2});var GSc=["saveBeforeClosingDialog"],HSc=["deleteDialog"],Z$a=function(){return[]},I_=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y){GE.call(this);var ea=this;this.matDialogService=a;this.cdr=b;this.userApi=c;this.templatesApi=d;this.hotlistApi=e;this.constants=g;this.paths=h;this.butterBar=m;this.analytics=r;this.issueTypeDialog=v;this.componentActions=y;this.documentationLinks=A;this.appEvents=G;this.accessPolicyApi=N;this.activeSession=Q;this.trackerFridge=Z;this.componentFridge=Y;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.hotlistPickerIndex=0;this.implicitAccessEnabled=!1;this.enableQuickAddCollaborators=EE(this.activeSession,"enableQuickAddCollaborators");this.FieldType=NOc;this.componentId$=
new E.ReplaySubject(0);this.component$=this.componentId$.pipe(af(function(ja){return ea.componentFridge.watch(ja)}));this.trackerId$=this.component$.pipe(D(function(ja){return null==ja?void 0:ja.trackerId}));this.tracker$=this.trackerId$.pipe(af(function(ja){return!ja||bm(ja)?(0,E.of)(void 0):ea.trackerFridge.watch(ja)}));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=ISc(this);this.priorityChoices=JSc(this);this.severityChoices=KSc(this);this.subscriptions.add(this.tracker$.subscribe(function(ja){ja&&(ea.trackerCollaboratorGroups=qi(ja.collaboratorGroups));ea.currentTemplate&&ea.currentTemplate.separateCollaboratorGroups(ea.trackerCollaboratorGroups)}))};U(I_,GE);I_.\u0275dir=GE.\u0275dir;f=I_.prototype;
f.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(){LSc(a);
a.cdr.detectChanges()})};f.ngAfterViewInit=function(){this.componentId$.next(this.componentId)};f.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)});yaa(this.selectedHotlists,function(c,d){return Dq(c.name,d.name)})};
f.removeHotlist=function(a){qa(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;this.updateSelectedHotlists()};f.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent("editTemplate","createHotlist");mG(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){mG(b.butterBar,"Hotlist "+c+" created successfully.");b.addHotlist(e);b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
f.handleHotlistPickerSave=function(a){var b=this,c=a.oldSelectionMap;Zb(a.newSelectionMap,function(d,e){e=di(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var g=b.selectedHotlistIds[0].includes(e);d&&!g?(d=b.templateHotlistIds[b.hotlistPickerIndex],pa(d,e)||d.push(e)):!d&&g&&qa(b.templateHotlistIds[b.hotlistPickerIndex],e)}},this);this.updateSelectedHotlists()};
f.loadHotlist=function(a){var b=this,c=a.successCallback,d=a.errorCallback;this.hotlistApi.get(a.hotlistId).then(function(e){b.addHotlist(e);c(e);b.cdr.detectChanges()}).catch(d)};f.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};f.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&qa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var ISc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:Bua(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[DSc].concat(b)};I_.prototype.getDateValue=function(a){return a};I_.prototype.getListFieldType=function(a){return a};
var bab=function(a){var b,c,d,e;return(null==(b=a.repeatedTextValue)?void 0:b.values)||(null==(c=a.repeatedDateValue)?void 0:c.values)||(null==(d=a.repeatedEnumValue)?void 0:d.values)||(null==(e=a.repeatedNumericValue)?void 0:e.values)||null},R$a=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?blc(a.issueTypeDialog,"VULNERABILITY"===a.currentTemplateRow.issueType?"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)},JSc=function(a){return[DSc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},KSc=function(a){return[DSc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};I_.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var hab=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;MSc(a)},I$a=function(a,b){var c=a.currentIndex;NSc(a,function(){b.index===c?hab(a):a.openEditor(b.index)})},OSc=function(a){a.templateHotlistIds.push([]);NSc(a,function(){a.openEditor()})},K$a=function(a,b){return 0<=b.index&&b.index===a.currentIndex},gab=function(a){if(!a.currentTemplate)return Promise.resolve();if(0>a.currentIndex){var b="creating";var c={componentId:a.componentId,default:!1};var d=function(m){mG(a.butterBar,
m.name?'Template "'+m.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");PSc(a,"create",m.snapshot);QSc(a,"create",m.templateId);a.templates.push(m);a.openEditor(a.templates.length-1)}}else{b="updating";var e=a.currentIndex;c=a.templates[e];d=function(m){mG(a.butterBar,m.name?'Template "'+m.name+'" updated.':"Template updated.");a.analytics.trackEvent("template","update");PSc(a,"update",m.snapshot);QSc(a,"update",m.templateId);a.templates[e]=m;hab(a)}}a.currentTemplate.hotlistId=
a.templateHotlistIds[a.hotlistPickerIndex];CSc(a.currentTemplate,c);mG(a.butterBar,"Saving template...");var g=c.componentId,h=c.templateId;return(h&&"0"!==String(h)?a.templatesApi.update(g,h,c):a.templatesApi.create(g,c)).then(function(m){a.appEvents.templateModified.next(String(a.componentId));d(m);a.cdr.detectChanges()}).catch(function(m){m=fm(m);a.butterBar.showWarning(m?"Error "+b+" template: "+m:"There was an error "+b+" the template.",0)})},J$a=function(a,b){yA(a.matDialogService.open(a.deleteDialog,
{data:b})).pipe(bf(a.destroyed$)).subscribe(function(c){c&&RSc(a,b)})},RSc=function(a,b){var c=b.index;saa(a.templateHotlistIds,c);b=a.templates[c];0>c||b.default?Promise.resolve():(mG(a.butterBar,"Deleting..."),a.templatesApi.delete(b.componentId,b.templateId).then(function(){a.appEvents.templateModified.next(String(a.componentId));mG(a.butterBar,"Deleted template");a.analytics.trackEvent("template","delete");a.templates.splice(c,1);a.currentIndex===c?hab(a):MSc(a);a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Error while deleting template")}))},
TSc=function(a,b){b?gab(a).then(function(){SSc(a);a.cdr.detectChanges()}):SSc(a)},L$a=function(a,b){var c;b=(null==(c=b.template)?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};
I_.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=USc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();MSc(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else VSc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=USc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
MSc(b);b.currentTemplate.separateCollaboratorGroups(b.trackerCollaboratorGroups);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var VSc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},NSc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,WSc(a)):b()},PSc=function(a,b,c){c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&a.analytics.trackEvent(io.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},QSc=function(a,b,c){a.currentTemplate&&0<a.currentTemplate.collaboratorGroups.size&&a.analytics.trackEvent(io.QUICK_ADD_COLLABORATORS,b,"template:"+
c)},WSc=function(a){yA(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(bf(a.destroyed$)).subscribe(function(b){void 0!==b&&TSc(a,b)})},SSc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},USc=function(a,b){return new F_(a.customFieldIds,b)};
I_.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){b=k(b.componentPathInfo.allCustomField||[]);for(var 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 ASc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load custom fields")}):
Promise.resolve()};I_.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=k(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load templates")})};
var LSc=function(a){MSc(a);a.defaultIndex=a.templates.findIndex(function(b){return b.default})},MSc=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,g){return new zSc(g,e)}),a.currentTemplate&&(a.currentTemplateRow=new zSc(-1,a.currentTemplate),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,g){return new zSc(g,e)}));a.currentTemplate&&(a.currentTemplateRow=
new zSc(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,g){return new zSc(b+g+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},XSc=function(a,b,c){return VSc(a,b).then(function(d){c(d);return a.templatesApi.update(d.componentId,d.templateId,d)}).then(function(d){a.appEvents.templateModified.next(String(a.componentId));return d})},H$a=function(a,b){if(a.defaultIndex!==b){a.defaultIndex=b;var c="(no template)";0<=b&&(b=a.templates[b],
c=b.name,Ok(Nk(c))&&(c="(unnamed template)"),b.default||(b=XSc(a,b,function(d){d.default=!0}),mG(a.butterBar,"Changing default template..."),b.then(function(){mG(a.butterBar,"Changed default template to "+c)},function(d){a.butterBar.showWarning("Error while changing default message"+(em(d)?": "+fm(d):"."))}),a.analytics.trackEvent("template","changeDefault")))}};
I_.\u0275fac=function(a){return new (a||I_)(C(DA),C(PH,2),C(BH),C(nfc),C(sH),C(tJ),C(dH),C(lG),C(TH),C(mJ),C(MU),C(jJ),C(sG),C(DG),C(bt),C(EI),C(PF))};
I_.\u0275cmp=Mc({type:I_,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(cg(GSc,5),cg(HSc,5));if(a&2){var c;bg(c=eg())&&(b.saveBeforeClosingDialog=c.first);bg(c=eg())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[Pf([PH]),lf],decls:21,vars:2,consts:[[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"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],["deleteDialog",""],["saveBeforeClosingDialog",""],[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,"id","checked","aria-label","value","change"],["format","hairline",3,"bAriaLabel","onAction"],["format","hairline",3,"bAriaLabel","disabled","onAction"],["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,"ngModel","ngModelChange"],["for","template-description"],["id","template-description","type","text",1,"template-field",3,"ngModel","ngModelChange"],"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,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],["class","collaborator-group-field",4,"ngIf"],["for","template-title"],["id","template-title","type","text",1,"template-field",3,"ngModel","ngModelChange"],[1,"cell-3"],["for","template-default-type"],["id","template-default-type","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,
"overlapTrigger"],["typeMenu",""],["mat-menu-item","",3,"disabled","matTooltip","click",4,"ngFor","ngForOf"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],["priorityMenu",""],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["for","template-default-severity"],["id","template-default-severity","type","button","mat-button","",1,"gmat-button","medium","primary",3,"matMenuTriggerFor"],
["severityMenu",""],[1,"cell-1","bv2-edit-template-hotlists"],["for","template-default-hotlist"],["id","template-default-hotlist",1,"hotlist-picker",3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],["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,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-verifier"],["id","template-verifier","type","text",
1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["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,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-cc"],["id","template-cc","type","text",
1,"template-field",3,"bContactAutocomplete","ngModel","ngModelChange"],["for","template-comment"],["id","template-comment",1,"template-field",3,"ngModel","ngModelChange"],[3,"initialValue","change"],["for","template-in-prod"],["id","template-in-prod","aria-label","issue in prod",3,"model","modelChange"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class",4,"ngFor","ngForOf"],[1,"buttons-row"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"onAction"],[1,
"form-header"],[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"],["mat-stroked-button","","dropdown-menu-button","","type","button",1,"gmat-button","small","collaborator-groups-button",3,"matMenuTriggerFor"],[1,"collaborator-groups-text"],["svgIcon","arrow-dropdown",1,"icon-s"],[1,"multiple-check-box-menu"],["collaboratorsGroupsMenu","matMenu"],["gmat-checkbox",
"",3,"checked","change","click",4,"ngFor","ngForOf"],["gmat-checkbox","",3,"checked","change","click"],["menuItems",""],["mat-menu-item","",3,"disabled","matTooltip","click"],["mat-menu-item","",3,"disabled","click"],[1,"bv2-hotlist-chips"],[3,"hotlist","removeHotlist"],[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,"ngModel","ngModelChange"],["type","number","step","any",1,"template-field",3,"ngModel","ngModelChange"],[3,"type","name","clearable","value","choices","valueChange"],[3,"boundValue","boundValueChange"],[3,"defaultLineCount","type","values","enumChoices","truncate",
"valuesChange"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"mat-dialog-close"],["color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["cdkFocusInitial","","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close"]],template:function(a,b){a&1&&(H(0,"div")(1,"div",0),R(2," A template is a set of default values for new issues created in this component. "),
H(3,"a",1),R(4,"Learn more"),I()(),H(5,"table",2)(6,"tr")(7,"th"),R(8,"TEMPLATE"),I(),H(9,"th",3),R(10,"DEFAULT"),I(),J(11,"th",3)(12,"th",3),I(),P(13,jab,3,2,"tr",4),I(),H(14,"div",5)(15,"b-button",6),M("onAction",function(){return OSc(b)}),R(16," Create New Template "),I()(),P(17,kab,7,3,"ng-template",null,7,hg),P(19,lab,9,4,"ng-template",null,8,hg),I());a&2&&(B(3),F("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Sd),B(10),F("ngForOf",b.templateRows))},
dependencies:[XP,Nw,Ow,Pw,Qw,Rw,bB,XO,nZ,xg,wx,ox,ux,ST,p_,G_,rZ,qA,BO,EA,GA,HA,EN,jZ,wS,tC,GN,lC,jC,kC,H_],styles:["button.gmat-button.small.collaborator-groups-button[_ngcontent-%COMP%]{color:#202124;color:var(--text-default);min-width:160px;max-width:270px;margin-top:5px}button.gmat-button.small.collaborator-groups-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{float:right;padding-top:5px}button.gmat-button.small.collaborator-groups-button[_ngcontent-%COMP%]   .collaborator-groups-text[_ngcontent-%COMP%]{width:130px;overflow:hidden;float:left}.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}"]});var J_=function(){};J_.\u0275fac=function(a){return new (a||J_)};J_.\u0275mod=Oc({type:J_});J_.\u0275inj=xc({imports:[cG,FY]});var K_=function(){};K_.\u0275fac=function(a){return new (a||K_)};K_.\u0275mod=Oc({type:K_});K_.\u0275inj=xc({imports:[cG,QC,mC,uD,bO]});var L_=function(){};L_.\u0275fac=function(a){return new (a||L_)};L_.\u0275mod=Oc({type:L_});L_.\u0275inj=xc({imports:[hT,cG,kP,oZ,Jx,cU,C_,J_,sZ,QC,fP,IA,gO,kZ,aK,xS,jP,tA,uD,bO,mC,K_]});var M_=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=EE(a,"enableEstado")};M_.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};M_.\u0275fac=function(a){return new (a||M_)(u(bt),u(KX),u(TH),u(LK),u(eL))};
M_.\u0275prov=wc({token:M_,factory:M_.\u0275fac,providedIn:"root"});var YSc=function(a){var b=this;this.selectedCustomField=null;this.isLegalColumn=function(c){return void 0===b.columns.find(function(d){return d.name===String(c.customFieldId)})};this.column=a.column;this.columns=a.columns};YSc.\u0275fac=function(a){return new (a||YSc)(C(CA))};
YSc.\u0275cmp=Mc({type:YSc,selectors:[["b-column-picker-custom-dialog"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[3,"filter","fieldSelected"],["mat-button","",1,"gmat-button","medium","cancel",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button","medium","dialog-primary-action","confirm",3,"disabled","mat-dialog-close"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),H(2,"mat-dialog-content")(3,"b-custom-field-picker",1),M("fieldSelected",function(c){return b.selectedCustomField=
c}),I()(),H(4,"mat-dialog-actions")(5,"button",2),R(6," Cancel "),I(),H(7,"button",3),R(8," Add "),I()());a&2&&(B(1),Mf("Insert custom field column next to ",b.column.fullLabel,""),B(2),F("filter",b.isLegalColumn),B(4),F("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[qA,EA,FA,GA,HA,vZ],encapsulation:2});var mab="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".split(" ");var oq=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)};oq.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var rab={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"},magic:{label:"MAGIC NUMBER"},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"}};var ZSc=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};ZSc.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var $Sc=function(){this.bindings=[]};$Sc.prototype.off=function(){for(var a=k(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var aTc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new $Sc;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"),null!=b.dragIndex&&(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(null!=b.dragIndex)b.params.onDragDropColumn(b.dragIndex,d)})}c.stopPropagation();c.preventDefault()}};
aTc.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(){bTc(a,"dragstart",a.onDragTargetDragstart);bTc(a,"dragenter",a.onDragTargetDragenter);bTc(a,"dragend",a.onDragTargetDragend);bTc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new ZSc(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new ZSc(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new ZSc(a.mask,"drop",a.onMaskDrop))})};var bTc=function(a,b,c){a.eventBindings.bindings.push(new ZSc(a.element,b,qq("th.drag-target",c)))};aTc.prototype.tearDown=function(){this.eventBindings.off()};var cTc=["table"],dTc=["defaultHeaderCellTemplate"],eTc=["defaultViewCellTemplate"],fTc=["dataRows"],wab=function(a){return{column:a}},zab=function(a,b,c){return{row:a,column:b,index:c}},N_=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new pw;this.rowClick=new pw;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new pw;this.focusedRowIndexChange=new pw;this.afterViewInit=
new pw;this.enableDragDropHeader=!0;this.readUnreadOptOut=EE(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var g=[].concat(ad(c.columns));d=g.splice(d,1)[0];g.splice(e,0,d);c.columns=g;c.columnsChange.emit([].concat(ad(c.columns)))};this.onTdClickableClick=qq("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!bpc(e)&&(e=e.closest("tr"))){var g,h=null!=(g=e.dataset.rowId)?g:"";c.rowClick.emit({id:h,isRead:!!e.dataset.isRead,event:d})}})};
N_.prototype.ngOnInit=function(){this.enableDragDropHeader&&gTc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var gTc=function(a){a.dragDropHeaderLogic=new aTc({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()};
N_.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(sIa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};N_.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
N_.prototype.ngOnDestroy=function(){var a;null==(a=this.dragDropHeaderLogic)||a.tearDown();this.tableElement.nativeElement.removeEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.removeEventListener("mouseup",this.onTdClickableClick)};N_.prototype.getViewCellTemplate=function(a){return null!=a?this.viewCellTemplates[a]||this.defaultViewCellTemplate:this.defaultViewCellTemplate};var hTc=function(a){return a.columns.map(function(b){return a.getViewCellTemplate(b.name)})};
N_.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};N_.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};N_.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};N_.\u0275fac=function(a){return new (a||N_)(C(bt),C(ef))};
N_.\u0275cmp=Mc({type:N_,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(cg(cTc,7),cg(dTc,7),cg(eTc,7),cg(fTc,5,Bd));if(a&2){var c;bg(c=eg())&&(b.tableElement=c.first);bg(c=eg())&&(b.defaultHeaderCellTemplate=c.first);bg(c=eg())&&(b.defaultViewCellTemplate=c.first);bg(c=eg())&&(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:[ed],decls:13,vars:3,consts:[[1,"pop-grid",3,"mousedown"],["table",""],[3,"class",4,"ngFor","ngForOf"],[1,"header-row"],[4,"ngFor","ngForOf"],[4,"ngIf"],["defaultHeaderCellTemplate",""],["defaultViewCellTemplate",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"selected","unread","closed","grid-focus","click",
"focus",4,"ngFor","ngForOf"],["tabindex","0",3,"click","focus"],["dataRows",""],[3,"column"],[3,"row","column"]],template:function(a,b){a&1&&(H(0,"table",0,1),M("mousedown",function(c){c.shiftKey&&window.getSelection().removeAllRanges()}),H(2,"colgroup"),P(3,uab,1,3,"col",2),I(),H(4,"thead")(5,"tr",3),P(6,xab,2,4,"ng-container",4),I()(),H(7,"tbody"),P(8,Cab,2,1,"ng-container",5),I()(),P(9,Dab,2,1,"ng-template",null,6,hg),P(11,Eab,2,2,"ng-template",null,7,hg));a&2&&(B(3),F("ngForOf",b.columns),B(3),
F("ngForOf",b.columns),B(2),F("ngIf",hTc(b)))},encapsulation:2});var O_=function(a,b){this.templateRef=a;this.popGrid=b};O_.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};O_.\u0275fac=function(a){return new (a||O_)(C(Zf),C(N_))};O_.\u0275dir=Qc({type:O_,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var P_=function(a,b){this.templateRef=a;this.popGrid=b};
P_.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};P_.\u0275fac=function(a){return new (a||P_)(C(Zf),C(N_))};P_.\u0275dir=Qc({type:P_,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var Q_=function(a,b){this.templateRef=a;this.popGrid=b};Q_.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};Q_.\u0275fac=function(a){return new (a||Q_)(C(Zf),C(N_))};
Q_.\u0275dir=Qc({type:Q_,selectors:[["","forHeaderCellDefault",""]]});var R_=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new pw};R_.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};R_.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
R_.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};R_.\u0275fac=function(a){return new (a||R_)};
R_.\u0275cmp=Mc({type:R_,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&&(H(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()}),J(1,"span",1),R(2),I());a&2&&(yf("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),pf("aria-label",b.ariaLabel()),B(2),Mf(" ",b.columnLabel," "))},encapsulation:2});var S_=function(a,b){this.elementRef=a;this.grid=b};S_.prototype.ngAfterViewInit=function(){if(this.column){var a=this.column;if(a.draggable){var b;a:{for(b=this.elementRef.nativeElement;b.parentElement;){if("TH"===b.parentElement.tagName){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}}};S_.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
S_.\u0275fac=function(a){return new (a||S_)(C(Bd),C(N_,8))};
S_.\u0275cmp=Mc({type:S_,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,"columnLabel","columnName","defaultSortDirection","sort","matTooltip","sortChanged"],["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&&(H(0,"div",0),P(1,Fab,1,5,"b-sortable-header",1),P(2,Hab,3,3,"div",2),I());a&2&&(B(1),F("ngIf",b.column.sortable),B(1),F("ngIf",!b.column.sortable))},dependencies:[Ow,tC,R_],encapsulation:2});var Oab=function(a,b){return{columns:a,before:b}},iTc=function(){return{before:!1}},jTc=function(){return{before:!0}},T_=function(a,b,c,d,e,g){GE.call(this);var h=this;this.matDialog=a;this.userPreferencesManager=b;this.butterBar=c;this.analytics=d;this.hotkeys=e;this.activeSession=g;this.selectedColumnsChange=new pw;this.onAddTeamColumn=new pw;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=DE.listViewPreferences;b.preferences$.pipe(bf(this.destroyed$)).subscribe(function(m){h.listViewPrefs=
m.listViewPreferences||DE.listViewPreferences})};U(T_,GE);T_.\u0275dir=GE.\u0275dir;T_.prototype.ngOnChanges=function(a){a.selectedColumns&&kTc(this)};
var lTc=function(a){a.selectedColumnsChange.emit([].concat(ad(a.selectedColumns)));kTc(a)},Jab=function(a,b){var c=Object.assign({},a.listViewPrefs),d=Kab(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||mG(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Oe(),bf(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||mG(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||a.butterBar.showWarning("Display preference could not be saved.")})},Rab=function(a,b){a.hotkeys.pause();yA(a.matDialog.open(YSc,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(bf(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},kTc=function(a){for(var b={},
c=k(a.selectedColumns),d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(g){return!Lca(b,g.name)});c=[].concat(ad(new Set(e.filter(function(g){return g.parentLabel}).map(function(g){return g.parentLabel})))).map(function(g){return{label:g,columns:e.filter(function(h){return h.parentLabel===g})}});d=e.filter(function(g){return!g.parentLabel});a.currentAvailableItems=[].concat(ad(d),ad(c));a.currentAvailableItems.sort(function(g,h){return Dq(g instanceof oq?g.fullLabel:
g.label,h instanceof oq?h.fullLabel:h.label)});a.isRemovable=mTc(a)};T_.prototype.isIssueGridColumn=function(a){return a instanceof oq};T_.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,lTc(this),!0}return!1};
T_.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new oq({name:a.customFieldId.toString(),label:a.name,fullLabel:a.name,sortable:!0,draggable:!0,isCustomField:!0}):a;"TEAM"===a.label&&this.onAddTeamColumn.emit();var d=this.selectedColumns.findIndex(function(e){return e.name===c.column.name});if(-1===d)return!1;b=b?d:d+1;this.selectedColumns=[].concat(ad(this.selectedColumns));this.selectedColumns.splice(b,0,a);lTc(this);return!0};
var mTc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};T_.\u0275fac=function(a){return new (a||T_)(C(DA),C(qJ),C(lG),C(TH),C(GM),C(bt))};
T_.\u0275cmp=Mc({type:T_,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&cg(kC,5);if(a&2){var c;bg(c=eg())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[lf,ed],decls:20,vars:11,consts:[[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"],["pickerMenu","matMenu"],["mat-menu-item","","class","checkbox-item",3,"b-menu-item-checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["addColumnMenu","matMenu"],["matMenuContent",""],["columnGroupMenu","matMenu"],["mat-button","",
"tabindex","0","role","button",1,"columnpicker-button",3,"matMenuTriggerFor","menuOpened","menuClosed","keydown.enter","keydown.space"],["menuTrigger","matMenuTrigger"],["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,"matTooltip","click","keydown.enter"],["mat-menu-item","",3,"click","keydown.enter",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","keydown.enter"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),J(2,"pop-grid-default-th",2),I(),P(3,Iab,2,4,"div",3),H(4,"mat-menu",4,5),P(6,Lab,4,3,"button",6),P(7,Mab,1,0,"mat-divider",7),H(8,"button",8),M("click",function(){return b.remove()}),R(9," Remove column "),I(),H(10,"button",9),R(11," Add column right "),I(),H(12,
"button",9),R(13," Add column left "),I()(),H(14,"mat-menu",null,10),P(16,Sab,4,1,"ng-template",11),I(),H(17,"mat-menu",null,12),P(19,Vab,1,1,"ng-template",11),I()());if(a&2){var c=Lf(15);B(2);F("column",b.column);B(1);F("ngIf",!0);B(3);F("ngForOf",b.column.moreOptions);B(1);F("ngIf",b.column.moreOptions.length);B(1);F("disabled",!b.isRemovable);B(2);F("matMenuTriggerFor",c)("matMenuTriggerData",Rf(9,iTc));B(2);F("matMenuTriggerFor",c)("matMenuTriggerData",Rf(10,jTc))}},dependencies:[Nw,Ow,lC,jC,
kC,iC,xM,tC,GN,S_],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-menu-content button.mat-menu-item{line-height:0px;padding:5px 32px 5px 16px;white-space:normal;font-family:Roboto,Arial,sans-serif}  .columnpicker-menu .mat-menu-content button.mat-menu-item.checkbox-item{padding-left:24px}  .columnpicker-menu .mat-menu-content button.mat-menu-item .b-menu-item-check-mark{top:50%;transform:translate(0, -50%)}/*# sourceMappingURL=column_picker.css.map */']});var pTc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=qq("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=qq("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){nTc(b.dragTargetRow);b.dragTargetRow=d;var e;b.draggedIssueIndex=b.params.rowFinder(null!=(e=b.draggedRow.dataset.rowId)?e:void 0);var g;b.dragTargetIndex=b.params.rowFinder(null!=(g=b.dragTargetRow.dataset.rowId)?g: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("static"!==window.getComputedStyle(c).position)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=qq("tr",function(){b.draggedRow&&(nTc(b.draggedRow),nTc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=qq("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=qq(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=qq(".row-dropzone",function(c){nTc(b.dragTargetRow);oTc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=qq(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=qq(".row-dropzone",function(c){oTc(b);
b.draggedIssueIndex!==b.dragTargetIndex&&b.params.ngZone.run(function(){if(null!=b.draggedIssueIndex&&null!=b.dragTargetIndex)b.params.onRowDragDrop({srcIndex:b.draggedIssueIndex,destIndex:b.dragTargetIndex})});c.stopPropagation();c.preventDefault()})};
pTc.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");oTc(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)})};
pTc.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 nTc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},oTc=function(a){a.dropzone.style.display="none"};var U_=function(){};U_.\u0275fac=function(a){return new (a||U_)};U_.\u0275cmp=Mc({type:U_,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(H(0,"span"),J(1,"mat-icon",0),R(2,"Archived "),I())},dependencies:[bB],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 V_=function(){};V_.\u0275fac=function(a){return new (a||V_)};V_.\u0275mod=Oc({type:V_});V_.\u0275inj=xc({imports:[cG]});var qTc=[[["",8,"value-action"]]],W_=function(a){GE.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 pw;this.toggleAccessLimits=new pw;this.additionAllowed=!0;this.ListFieldType=WOc;this.userPrincipalValidator=function(c){var d,e,g;return ne(function(h){if(1==h.nextAddress){if(!c)return h.return("This field is required");d=c.split(",").map(function(m){return m.trim()}).filter(Boolean);
return h.yield(Flc(b.jspbPrincipalTypes,d,!1),2)}e=h.yieldResult;g=d.find(function(m){var r;return"USER"!==(null==(r=e[m])?void 0:r.principalType)});return h.return(g?"You can only add users to collaborators.":"")})}};U(W_,GE);W_.\u0275dir=GE.\u0275dir;W_.\u0275fac=function(a){return new (a||W_)(C(EJ))};
W_.\u0275cmp=Mc({type:W_,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:[Pf([PH]),lf],ngContentSelectors:[".value-action"],decls:3,vars:16,consts:[["aria-label","Collaborators are people directly working on this issue.",
1,"full-width",3,"defaultLineCount","readonly","additionAllowed","title","type","isUser","values","users","inputValidator","listFieldDisabled","teamId","isExpanded","collapsiblePanelTitle","isCollapsible","iconName","valuesChange","toggleAccessLimits"],[1,"value-action"]],template:function(a,b){a&1&&(Gf(qTc),H(0,"b-list-field",0),M("valuesChange",function(c){return b.valuesChange.emit(c)})("toggleAccessLimits",function(){return b.toggleAccessLimits.emit()}),H(1,"div",1),Hf(2),I()());a&2&&(Kf("collapsiblePanelTitle",
"",b.collaborators.length," ",1===b.collaborators.length?"user":"users",""),F("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:[rZ],
encapsulation:2});var X_=function(){};X_.\u0275fac=function(a){return new (a||X_)};X_.\u0275mod=Oc({type:X_});X_.\u0275inj=xc({imports:[sZ,cG,uD]});var rTc=function(){var a=this;this.pressed=new pw;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"}};rTc.\u0275fac=function(a){return new (a||rTc)};
rTc.\u0275cmp=Mc({type:rTc,selectors:[["insights-graph-btn"]],inputs:{disabled:"disabled"},outputs:{pressed:"pressed"},decls:14,vars:3,consts:[["mat-stroked-button","","color","primary",1,"gmat-button",3,"title","disabled","click"],["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&&(H(0,"button",0),M("click",function(){return b.pressed.emit()}),R(1,"Insights "),pd(),H(2,"svg",1)(3,"g",2),J(4,"path",3)(5,"path",4)(6,"path",5)(7,"circle",6)(8,"circle",7)(9,"circle",8)(10,"circle",9)(11,"circle",10)(12,"circle",11)(13,"circle",12),I()()());a&2&&(F("title",b.getTooltip())("disabled",b.disabled),pf("aria-label",b.getTooltip()))},dependencies:[qA],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 Y_=function(a,b){GE.call(this);var c=this;this.componentFridge=a;this.currentTracker=b;this.componentId$=new E.ReplaySubject(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(De(function(d){return String(d.idOrKey)===c.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(De(Ei),af(this.componentFridge.watch),De(Ei));this.component$=(0,E.merge)(this.error$,this.rawComponent$).pipe(D(function(d){return d.componentId&&d.name?d:{componentId:Number(d.idOrKey),name:"(unknown)"}}));
this.isArchived$=this.component$.pipe(D(function(d){return d.archived}));this.componentPath$=this.component$.pipe(D(function(d){d=Ds(c.currentTracker,d.componentPathInfo);return $p(d)}));this.init=new E.ReplaySubject(1);this.routes$=this.componentId$.pipe(D(function(d){return{createIssue:Hwa(d),componentSettings:Iwa(d),recentIssues:nm(d)}}))};U(Y_,GE);Y_.\u0275dir=GE.\u0275dir;Y_.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Oe(),bf(this.destroyed$)).subscribe(function(){a.init.next()})};
wh.Object.defineProperties(Y_.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});Y_.\u0275fac=function(a){return new (a||Y_)(C(PF),C(eL))};
Y_.\u0275cmp=Mc({type:Y_,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[lf],decls:7,vars:7,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["class","component-path squared b-chip s margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","flex-kids-y padded-s-top actions",4,"ngIf"],[1,"component-path","squared","b-chip","s","margin-s-bottom"],[4,"ngFor","ngForOf"],
[3,"routerLinkObj"],[1,"flex-kids-x"],["svgIcon","folder",1,"icon-xs"],[1,"type-s"],[1,"type-s","id-text"],[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&&(H(0,"div",0)(1,
"div",1),P(2,Zab,5,6,"div",2),P(3,$ab,9,3,"ng-container",3),S(4,"async"),P(5,abb,7,3,"div",4),S(6,"async"),I()());a&2&&(B(2),F("ngIf",!b.hidePath),B(1),F("ngIf",T(4,3,b.component$)),B(2),F("ngIf",T(6,5,b.routes$)))},dependencies:[Nw,Ow,bB,rA,ZN,Uw],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 Z_=function(a,b,c){var d=this;this.componentFridge=a;this.issueEditComponentService=b;this.currentTracker=c;this.componentId$=new E.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new E.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe(af(function(e){return d.componentFridge.watch(e).pipe($e(void 0))}));this.isArchived$=this.component$.pipe(D(function(e){return null==e?void 0:e.archived}));this.componentPath$=(0,E.combineLatest)([this.componentId$,this.component$,
this.compactMode$]).pipe(D(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;if(null==h)return $p({componentPathId:[Number(e)]});e=Ds(d.currentTracker,h.componentPathInfo);e=$p(e);if(g){g=[];h=0;for(var m=e.length-1;0<=m;m--){var r=e[m],v=m===e.length-1?48:32;if(h>=v)break;var y=String(r.name),A=void 0;if(h+[].concat(ad(y)).length>v){var G=v-h;v="";y=void 0===y?"":y;G=void 0===G?48:G;v=void 0===v?"...":v;A=[].concat(ad(y));A.length<=G||(y=G-[].concat(ad(v)).length,y=A.slice(-y).join(""),
null!=String.prototype.trimStart&&(y=y.trimStart()),y=v+y);A=!0}h+=[].concat(ad(y)).length;g.unshift(Object.assign({},r,{name:y,isTruncated:A}));if(A)break}e.length>g.length&&(g[0].isSpliced=!0);e=g}return e}));this.isEmpty$=this.component$.pipe(D(function(e){return!e}));this.isThinkingAndEmpty$=(0,E.combineLatest)([this.componentFridge.thinking$,this.isEmpty$]).pipe(D(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e&&g}));this.isReady$=this.isThinkingAndEmpty$.pipe(D(function(e){return!e}))};
Z_.prototype.ngOnInit=function(){};wh.Object.defineProperties(Z_.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.componentId$.next(a)}},compactMode:{configurable:!0,enumerable:!0,set:function(a){this.compactMode$.next(a)}}});Z_.\u0275fac=function(a){return new (a||Z_)(C(PF),C(MQ),C(eL))};
Z_.\u0275cmp=Mc({type:Z_,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",compactMode:"compactMode"},decls:3,vars:2,consts:[[3,"isReady",4,"ngIf","ngIfElse"],["componentPicker",""],[3,"isReady"],[1,"b-chip","squared","s"],["title","Component folder path",1,"icon-xs",3,"svgIcon"],["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","gmat-button small pop-out-btn","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",3,"routerLinkObj",4,"ngIf"],[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"],["viewOnlyComponent",
""],["card",""],[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"],["cardBody",""],["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,"gmat-button","small","pop-out-btn",3,"routerLinkObj"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponent","isRequired","shouldFocus","selectedComponentChange","dropdownClosed"]],template:function(a,b){a&1&&(P(0,nbb,10,12,"b-async-data-placeholder",0),P(1,pbb,2,5,"ng-template",null,1,hg));if(a&2){var c=Lf(2);F("ngIf",!b.editing)("ngIfElse",c)}},dependencies:[WK,Nw,Ow,bB,qA,rA,SU,jK,kK,oK,lK,tC,Y_,ZN,Uw],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%]: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}.issue-editor-false   [_nghost-%COMP%]     .edit-btn{display:none}"],
changeDetection:0});var sTc=["multiUserInput"],a0=function(a,b,c,d,e,g){GE.call(this);var h=this;this.element=a;this.principalTypes=b;this.activeSession=c;this.documentationLinks=d;this.appEvents=e;this.usersChange=new pw(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new pw;this.typedText="";this.items=[];this.chipifyFn=function(){tTc(h)};this.additionalContactsFn=function(){return uTc(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(HM(g,{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}))};U(a0,GE);a0.\u0275dir=GE.\u0275dir;
a0.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return vTc(c)},validateInternalAccessLevel:function(b,c){return wTc(a,c)},validateExternalAccessLevel:function(b,c){return xTc(a,c)}},this.customValidators)};a0.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=yTc(this,this.users),b0(this)};
var b0=function(a){var b=[].concat(ad(a.items)),c=zTc(b),d=ATc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&Yh(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
a0.prototype.validate=function(a,b,c){for(var d=new Set,e=k(Object.entries(this.validators)),g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;h(a,c)||d.add(g)}a=k(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=k(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return 0===this.violations.size};
var sbb=function(a){!a.isWidgetDisabled()&&BTc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},qbb=function(a){rq(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};a0.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var BTc=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
a0.prototype.removeItem=function(a){this.isWidgetDisabled()||!rq(this,a)||this.items[a].isReadonly||(qbb(this),this.items.splice(a,1),b0(this))};a0.prototype.setAccessLevel=function(a){this.accessLevel=a};
var uTc=function(a){return CTc(a).map(function(b){return{text:vqa(b),id:To({alias:b})}})},CTc=function(a){if(!a.includeAliases||tdc(a.activeSession))return[];var b=["googlers_unrestricted"];if(void 0===a.accessLevel||"EXTERNAL_PUBLIC"===a.accessLevel)b.push("public_non_google"),a.includeViewAliases&&b.push("public");return b},tTc=function(a){setTimeout(function(){a.typedText&&ha(a.typedText,",")&&tbb(a,a.typedText.split(",")[0].trim())})},tbb=function(a,b){b&&(b=Bzc.test(b)?DTc(a,b):ETc(a,b),a.items.push(b));
a.typedText="";b0(a)},rq=function(a,b){return 0<=b&&b<a.items.length},DTc=function(a,b){var c=void 0===c?!1:c;var d=Vo(b);if(void 0===d.alias)throw Error("Fd`"+b);b=d.alias;d=vqa(b);return new c0("ALIAS",b,d,null,c,a)},FTc=function(a,b){b=Ln(b);var c=new c0("GROUP",b,b,null,!1,a);DJ(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;b0(a)});return c},GTc=function(a,b){var c=void 0===c?!1:c;b=Ln(b);var d=new c0("USER",b,b,null,c,a);DJ(a.principalTypes,b,!0).then(function(e){d.detailedUserType=
e.detailedUserType;b0(a)});return d},ETc=function(a,b){var c=void 0===c?!1:c;b=Ln(b);var d=new c0("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);DJ(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;b0(a)});return d},HTc=function(a,b,c){return new c0("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};a0.prototype.getAccessLevel=function(){return this.accessLevel};a0.prototype.getAppName=function(){return this.activeSession.getAppName()};
a0.prototype.onKeyDown=function(a){8===a.keyCode?rq(this,this.selectedChipIndex)?(rq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex),a.stopPropagation(),a.preventDefault()):""===this.typedText&&0<this.items.length&&this.removeItem(this.items.length-1):46===a.keyCode?rq(this,this.selectedChipIndex)&&rq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):39===a.keyCode&&sbb(this)};
var yTc=function(a,b){b=(b||[]).map(function(d){return ITc(a,d)});if(a.containerChips){var c=a.containerChips.filter(function(d){return void 0!==d.values&&Array.isArray(d.values)&&0<d.values.length}).map(function(d){return HTc(a,d.displayText,d.values.map(function(e){return ITc(a,e)}))});return[].concat(ad(c),ad(b))}return b},ITc=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("ue`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("ue`"+b);return"ALIAS"===d?DTc(a,b):
"USER"===d?GTc(a,c[1]):FTc(a,c[1])},zTc=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},ATc=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},vTc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},wTc=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
xTc=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};a0.\u0275fac=function(a){return new (a||a0)(C(Bd),C(CJ),C(bt),C(jJ),C(sG),C(GM))};
a0.\u0275cmp=Mc({type:a0,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&cg(sTc,5);if(a&2){var c;bg(c=eg())&&(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:[lf,ed],decls:13,vars:12,consts:[["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,"isReadonly","isSelected","isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel","chipSelection","chipClear","chipRemove"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled",
"autocompleteActive","ngModelChange","focus","blur"],["multiUserInput",""],["target","_blank"]],template:function(a,b){a&1&&(H(0,"div",0),M("click",function(){return sbb(b)}),H(1,"div",1),R(2," Press tab to navigate through users and right arrow to go to input section "),I(),H(3,"div"),P(4,rbb,2,9,"div",2),P(5,ubb,2,4,"input",3),I()(),H(6,"div",4),P(7,vbb,4,1,"span",5),P(8,wbb,2,0,"span",5),P(9,xbb,2,0,"span",5),P(10,ybb,2,0,"span",5),P(11,zbb,2,0,"span",5),P(12,Abb,2,0,"span",5),I());a&2&&(yf("focused",
b.isFocused),pf("aria-label",b.idForInputBox),B(4),F("ngForOf",b.items),B(1),F("ngIf",BTc(b)),B(1),pf("aria-hidden",0===b.violations.size),B(1),F("ngIf",b.violations.has("noRestrictedPlusGroups")),B(1),F("ngIf",b.violations.has("validateGaia")),B(1),F("ngIf",b.violations.has("validateInternalAccessLevel")),B(1),F("ngIf",b.violations.has("validateExternalAccessLevel")),B(1),F("ngIf",b.violations.has("sloLeadNotUser")),B(1),F("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 c0=function(a,b,c,d,e,g){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=g};f=c0.prototype;
f.getTooltip=function(){if("ALIAS"!==this.principalType)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 logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("ve`"+this.value);}};
f.isGroupChip=function(){return"GROUP"===this.principalType};f.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};f.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};f.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};f.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};
f.isContainerChip=function(){return null!==this.nestedChips};f.isInternalAccessViolated=function(){return"INTERNAL"===this.parentController.getAccessLevel()&&(this.isExternalChip()||this.isPublicChip())};f.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.parentController.getAccessLevel()&&this.isPublicChip()};f.isUserChip=function(){return"USER"===this.principalType};var d0=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N){GE.call(this);var Q=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.componentFridge=d;this.trackerFridge=e;this.eventsForIssueFridge=g;this.issuePermissionService=h;this.snackBar=m;this.dialogRef=r;this.data=v;this.analytics=y;this.confirmationDialogService=G;this.jspbPrincipalTypes=N;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(D(function(Z){var Y;return null!=(Y=null==Z?void 0:Z.snapshot[0].issueAccessLimitLevel)?Y:Q.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new E.BehaviorSubject(this.defaultAccessLimitLevel);
this.hasAccessLimitLevelSelectionChanged$=(0,E.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(D(function(Z){var Y=k(Z);Z=Y.next().value;Y=Y.next().value;return Z!==Y}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(D(function(Z){return null==Z?void 0:Z.trackerId}));this.tracker$=this.trackerId$.pipe(af(function(Z){return bm(Z)?(0,E.of)(void 0):Q.trackerFridge.watch(Z)}));
this.collaboratorGroupsEmailToDetailsMap=new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(D(function(Z){return Z?"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.didSave=function(){Q.snackBar.open("Successfully saved access configuration",
void 0,{duration:2500});Q.issueFridge.poke(Q.issueId);Q.eventsForIssueFridge.poke(Q.issueId)};this.currentUserEmail=A.getUserEmail();this.enableQuickAddCollaborators=EE(A,"enableQuickAddCollaborators")};U(d0,GE);d0.\u0275dir=GE.\u0275dir;
d0.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);Bbb(a,b)}));this.subscriptions.add((0,E.combineLatest)([this.tracker$,this.issue$]).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.updateCollaboratorGroups(b,c)}));this.analytics.trackEvent(io.ISSUE_ACCESS_LIMITS,"view","issue_access_limits_dialog:"+this.issueId)};
d0.prototype.updateCollaboratorGroups=function(a,b){var c=this,d,e,g,h;ne(function(m){if(1==m.nextAddress){c.collaboratorGroupsEmailToDetailsMap.clear();c.addedCollaboratorGroups.clear();c.removedCollaboratorGroups.clear();if(a&&a.collaboratorGroups)for(d=k(a.collaboratorGroups),e=d.next();!e.done;e=d.next())g=e.value,g.emailAddress&&c.collaboratorGroupsEmailToDetailsMap.set(g.emailAddress,{user:g,specifiedOnIssue:!1});return b&&b.snapshot&&b.snapshot[0].collaboratorsUsers?m.yield(JTc(c,b.snapshot[0].collaboratorsUsers),
3):m.jumpTo(0)}h=m.yieldResult;h.forEach(function(r){c.collaboratorGroupsEmailToDetailsMap.set(r.emailAddress,{user:r,specifiedOnIssue:!0})});se(m)})};
var JTc=function(a,b){var c,d;return ne(function(e){if(1==e.nextAddress)return c=b.map(function(g){return g.emailAddress}).filter(Ei),e.yield(Flc(a.jspbPrincipalTypes,c,!1),2);d=e.yieldResult;return e.return(b.filter(function(g){if(!g.emailAddress)return!1;var h;return"GROUP"===(null==(h=d[g.emailAddress])?void 0:h.principalType)}))})},KTc=function(a){return a?"Expanded access on":"Expanded access off"},Ebb=function(a,b){return 0<a.addedCollaboratorGroups.size||0<a.removedCollaboratorGroups.size||
!0===b},Bbb=function(a,b){0<a.addedCollaboratorGroups.size&&a.analytics.trackEvent(io.QUICK_ADD_COLLABORATORS,"update","idp_added_dryrun:"+a.issueId);0<a.removedCollaboratorGroups.size&&a.analytics.trackEvent(io.QUICK_ADD_COLLABORATORS,"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=Xo(c.writers);a.appenders=Xo(c.appenders);a.readers=Xo(c.readers)},
function(c){qG(a.errorHandler,c)})};f=d0.prototype;f.manageComponentAccessRouterLink=function(a){return{path:"/components/"+a+"/manage",fragment:"access"}};f.closeDialog=function(){this.dialogRef.close()};f.onEnter=function(){this.onPressSave()};f.onEscape=function(){this.dialogRef.close()};
f.onPressSave=function(){var a=this,b=To({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?";0===this.writers.length&&0===this.appenders.length&&0===this.readers.length&&(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:Ng(c),onConfirm:function(){a.save()}})}};
f.save=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,Bi(this.updatedAccessLimitLevel$.value),Array.from(this.addedCollaboratorGroups),Array.from(this.removedCollaboratorGroups)).then(function(b){a.didSave(b);a.analytics.trackEvent(io.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value);0<a.addedCollaboratorGroups.size&&a.analytics.trackEvent(io.QUICK_ADD_COLLABORATORS,"update","idp_added:"+a.issueId);0<a.removedCollaboratorGroups.size&&
a.analytics.trackEvent(io.QUICK_ADD_COLLABORATORS,"update","idp_removed:"+a.issueId)},function(b){qG(a.errorHandler,b)})};f.onPressCancel=function(){this.dialogRef.close()};d0.\u0275fac=function(a){return new (a||d0)(C(oG),C(WE),C(YH),C(PF),C(EI),C(CF),C(TJ),C(jG),C(AA),C(CA),C(TH),C(bt),C(kJ),C(EJ))};
d0.\u0275cmp=Mc({type:d0,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},features:[lf],decls:37,vars:43,consts:[[1,"bv2-issue-limits-title"],[1,"lock-circle"],["svgIcon","lock","color","text-primary"],[1,"issue-limits-dialog-title-txt"],[3,"issueId","componentId","compactMode","popoutLink","viewOnly"],[1,"expanded-access"],[1,"expanded-access-txt"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","aria-label",
"Help","role","button",1,"icon-s","valign-middle",3,"matTooltip"],[3,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],[4,"ngIf"],[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"],["closeButton",""],[1,"trusted-groups-title"],[1,"trusted-groups-checkboxes"],[4,"ngFor","ngForOf"],[1,"trusted-group-checkbox",3,"id","name","checked","click","change"],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],["mat-button","",1,"gmat-button","medium","close",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"span",1),J(2,"mat-icon",2),I(),H(3,"h1",
3),R(4,"Issue access level"),I()(),H(5,"div"),J(6,"b-component-breadcrumb-chip",4),H(7,"span",5),S(8,"async"),H(9,"span",6),R(10),S(11,"async"),I(),J(12,"mat-icon",7),S(13,"async"),I()(),H(14,"b-issue-access-limits-dropdown",8),M("updatedAccessLimitLevel",function(m){b.updatedAccessLimitLevel$.next(m);Bbb(b,m)}),S(15,"async"),S(16,"async"),S(17,"async"),I(),P(18,Dbb,8,4,"ng-container",9),S(19,"async"),H(20,"div")(21,"div",10),R(22,"Users who can edit, comment, and view"),I(),J(23,"b-multi-user-input",
11),I(),H(24,"div")(25,"div",10),R(26,"Users who can comment and view"),I(),J(27,"b-multi-user-input",12),I(),H(28,"div")(29,"div",10),R(30,"Users who can only view"),I(),J(31,"b-multi-user-input",13),I(),H(32,"div",14),P(33,Fbb,6,3,"ng-container",15),S(34,"async"),P(35,Gbb,2,0,"ng-template",null,16,hg),I());if(a&2){var c=Lf(36),d,e,g,h;B(6);F("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);B(1);yf("expanded-access-on",
T(8,27,b.isImplicitAccessEnabled$));B(3);Nf(KTc(null!==(d=T(11,29,b.isImplicitAccessEnabled$))&&void 0!==d?d:!1));B(2);F("matTooltip",null!==(e=T(13,31,b.expandedAccessTooltip$))&&void 0!==e?e:"");B(2);F("disabled",!T(15,33,b.hasAclToAdmin$))("defaultAccessLimitLevel",null!==(g=T(16,35,b.currentAccessLimitLevel$))&&void 0!==g?g:b.defaultAccessLimitLevel)("implicitAccessEnabled",null!==(h=T(17,37,b.isImplicitAccessEnabled$))&&void 0!==h?h:!1);B(4);F("ngIf",b.enableQuickAddCollaborators&&0<b.collaboratorGroupsEmailToDetailsMap.size&&
T(19,39,b.hasAclToAdmin$));B(5);F("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);pf("disabled",!0);B(4);F("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);pf("disabled",!0);B(4);F("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);pf("disabled",!0);B(2);F("ngIf",T(34,41,b.hasAclToAdmin$))("ngIfElse",c)}},dependencies:[H_,Nw,Ow,bB,Z_,qA,HA,tC,a0,BO,Uw,Zw],styles:[".issue-limits-dialog-title-txt[_ngcontent-%COMP%]{padding:0 20px;font-size:1.4rem;line-height:2rem}.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 0 28px}.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-checkbox[_ngcontent-%COMP%]{padding-right:5px}.trusted-groups-title[_ngcontent-%COMP%]{padding:0 5px 5px 0;font-size:1rem}.trusted-groups-checkboxes[_ngcontent-%COMP%]{padding:5px 10px 20px 0}div.disabled[_ngcontent-%COMP%]{color:var(--text-disabled)}.trusted-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 e0=function(a){this.dialog=a;this.dialogRef=null};e0.prototype.open=function(a){this.dialogRef=this.dialog.open(d0,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};e0.prototype.isOpen=function(){return this.dialogRef?0===this.dialogRef.getState():!1};e0.\u0275fac=function(a){return new (a||e0)(u(DA))};e0.\u0275prov=wc({token:e0,factory:e0.\u0275fac,providedIn:"root"});var f0=function(){this.isReady=!1};f0.\u0275fac=function(a){return new (a||f0)};f0.\u0275cmp=Mc({type:f0,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&&(Gf(),P(0,Hbb,1,0,"div",0),P(1,Ibb,2,0,"ng-container",1));a&2&&(F("ngIf",!b.isReady),B(1),F("ngIf",b.isReady))},dependencies:[Ow],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 LTc=function(){this.warning=""};LTc.\u0275fac=function(a){return new (a||LTc)};
LTc.\u0275cmp=Mc({type:LTc,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("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&&P(0,Jbb,2,1,"svg",0);a&
2&&F("ngIf",b.warning)},dependencies:[Ow,tC],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 MTc=["*",[["","actions",""]]],NTc=[[["onedev-field-label"]],[["onedev-field-value"]]],OTc=0,g0=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+OTc;OTc++};g0.\u0275fac=function(a){return new (a||g0)};
g0.\u0275cmp=Mc({type:g0,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&pf("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&&(Gf(),H(0,"onedev-async-data-placeholder",0)(1,"span",1),Hf(2),I(),J(3,"onedev-warning-icon",2),I());a&2&&(F("isReady",!b.thinking),B(1),F("matTooltip",b.labelTooltip),B(2),F("warning",
b.warning))},dependencies:[f0,tC,LTc],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var h0=function(){this.thinking=!1};h0.\u0275fac=function(a){return new (a||h0)};
h0.\u0275cmp=Mc({type:h0,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Gf(MTc),H(0,"onedev-async-data-placeholder",0),Hf(1),Hf(2,1),I());a&2&&F("isReady",!b.thinking)},dependencies:[f0],encapsulation:2});var i0=function(){this.labelPosition="left"};i0.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
i0.\u0275fac=function(a){return new (a||i0)};
i0.\u0275cmp=Mc({type:i0,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(dg(c,wY,5),dg(c,g0,7));if(a&2){var d;bg(d=eg())&&(b.field=d.first);bg(d=eg())&&(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&&(Gf(NTc),H(0,"div",0),Hf(1),Hf(2,1),I());a&2&&yf("active",null==b.field?null:b.field.isActive())("top-label","top"===b.labelPosition)},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 PTc=["popOverContent"],j0=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.minWidth=null;this.closedWithAction=new pw;this.isOpen=!1;this.destroyed$=new E.ReplaySubject(1);this.backdropClickSubscription=E.Subscription.EMPTY};j0.prototype.ngOnInit=function(){};j0.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
j0.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(bf(this.destroyed$)).subscribe(function(){Mbb(a)}))};j0.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var Lbb=function(a){a.closedWithAction.emit(0);a.close()},Mbb=function(a){a.closedWithAction.emit(1);a.close()};f=j0.prototype;f.processKeydown=function(a){switch(a.key){case "Escape":Mbb(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)Lbb(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(Lbb(this),a.stopPropagation(),a.preventDefault())}};
f.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(null!=(c=this.minWidth)?c:0,this.anchor.offsetWidth)});a.overlayElement.setAttribute("role","dialog");return a};
f.attach=function(){var a=new Xx(this.contentTemplateRef,this.viewContainerRef),b;null==(b=this.overlayRef)||b.attach(a);var c;null==(c=this.overlayRef)||c.updatePosition()};f.getPositionStrategy=function(){var a=E_b(Ez(Gz(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return Cz(a,QTc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
j0.\u0275fac=function(a){return new (a||j0)(C(Hz),C($f))};
j0.\u0275cmp=Mc({type:j0,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&cg(PTc,7);if(a&2){var c;bg(c=eg())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport",minWidth:"minWidth"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",""],["cdkTrapFocus",
"",1,"content","gmat-elevation-z2",3,"cdkTrapFocusAutoCapture","keydown"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&P(0,Nbb,8,2,"ng-template",null,0,hg)},dependencies:[Tw,Px,qA],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 QTc=[{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 RTc=["popOver"],Pbb=function(a){return{$implicit:a}},k0=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new pw;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};U(k0,wY);f=k0.prototype;f.ngOnInit=function(){};f.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
f.valueChanged=function(){return Ubb(this.editingValue)!==this.value};f.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue=null!=this.value?String(this.value):"",this.popOver.open())};f.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue),this.value=a=Ubb(this.editingValue),this.valueChange.emit(a))};f.writeValue=function(a){var b=Ubb(a);if(null!=a||this.val!==b)this.val=b,this.editingValue=null!=a?a:""};
f.isActive=function(){return this.headerFocused||this.editing};f.registerOnChange=function(a){this.onChange=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a};wh.Object.defineProperties(k0.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});k0.\u0275fac=function(a){return new (a||k0)(ud("required"))};
k0.\u0275cmp=Mc({type:k0,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&cg(RTc,7);if(a&2){var c;bg(c=eg())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[Pf([{provide:dx,useExisting:Cc(function(){return k0}),multi:!0},{provide:wY,useExisting:Cc(function(){return k0}),multi:!0}]),lf],decls:11,
vars:6,consts:[[3,"disabled","click","focus","blur"],["anchor",""],[4,"ngIf","ngIfElse"],["standardValueDisplay",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"anchor","editorTemplate","closedWithAction"],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],[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,"ngModel","ngModelChange"]],template:function(a,b){a&1&&(H(0,"button",0,1),M("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),H(2,"span"),P(3,Qbb,2,4,"ng-container",2),P(4,Rbb,1,1,"ng-template",null,3,hg),I(),P(6,Sbb,2,0,"svg",4),I(),H(7,"onedev-pop-over-edit-panel",5,6),M("closedWithAction",function(g){return b.stopEditing(g)}),I(),P(9,Tbb,1,1,"ng-template",null,7,hg));if(a&2){var c=Lf(1),
d=Lf(5),e=Lf(10);F("disabled",b.disabled);B(3);F("ngIf",b.valueTemplate)("ngIfElse",d);B(3);F("ngIf",!b.disabled&&b.displayEditIcon);B(1);F("anchor",c)("editorTemplate",e)}},dependencies:[Ow,Tw,xg,wx,ox,ux,j0],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 $bb=function(){return[]},l0=function(){this.disabled=this.thinking=!1;this.effortChange=new pw;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
l0.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=STc(this),a="incompatible"===a?{label:this.effort.estimate,value:0}:a):a=void 0;this.selectedOption=a}else if("NUMERIC"===this.getFieldType()){var b,c;this.selectedNumericEstimate=(null==(b=this.effort)?0:b.estimate)?Number(null==(c=this.effort)?void 0:c.estimate):void 0}this.fieldName=this.getFieldName();this.fieldType=
this.getFieldType();this.isCompatibleValue=TTc(this)};l0.prototype.selectOption=function(a){this.selectedOption=a;if(null==a)this.effort=void 0;else{var b,c;this.effort={specId:null!=(c=null==(b=this.effortSpec)?void 0:b.id)?c:0,estimate:a.label}}this.isCompatibleValue=TTc(this);this.effortChange.emit(this.effort)};l0.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
l0.prototype.getFieldType=function(){var a;if(null==(a=this.effortSpec)?0:a.numericSpec)return"NUMERIC";var b;return(null==(b=this.effortSpec)?0:b.enumSpec)?"DROPDOWN":"UNKNOWN"};
var TTc=function(a){var b;if(!a.effort||null==(b=a.effort)||!b.estimate)return!0;var c,d;if((null==(c=a.effortSpec)?void 0:c.id)!==(null==(d=a.effort)?void 0:d.specId)||"DROPDOWN"===a.fieldType&&"incompatible"===STc(a))return!1;var e,g;return"NUMERIC"===a.getFieldType()&&isNaN(Number(null!=(g=null==(e=a.effort)?void 0:e.estimate)?g:""))?!1:!0},STc=function(a){var b;if(null==(b=a.effort)?0:b.estimate){var c,d,e,g;return null!=(g=null==(c=a.effortSpec)?void 0:null==(d=c.enumSpec)?void 0:null==(e=d.options)?
void 0:e.find(function(h){var m;return h.label===(null==(m=a.effort)?void 0:m.estimate)}))?g:"incompatible"}};l0.\u0275fac=function(a){return new (a||l0)};
l0.\u0275cmp=Mc({type:l0,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[ed],decls:3,vars:1,consts:[[4,"ngIf"],["rawNumericValueTemplate",""],["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"],["warningHovercard","onedevHovercard"],["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,"value","valueTemplate","disabled","displayEditIcon","valueChange"],[3,"value","options","includeEmptyOption","optionTemplate","disabled","displayArrowIcon","valueChange"],["optionTemplate",""],[4,"ngIf","ngIfElse"],["emptyOption",""],["regularNumeric",""]],template:function(a,b){a&1&&(P(0,ccb,16,7,"onedev-edit-field",0),P(1,fcb,3,2,"ng-template",null,1,hg));a&2&&F("ngIf",b.effortSpec)},dependencies:[Ow,Pw,Qw,Rw,
bB,g0,h0,i0,xY,k0,jK,oK],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 Vr=function(a){this.internalArray_=l(a,1)};U(Vr,q);var UTc={};Vr.prototype.toObject=function(){if(null!=this){t(this);var a={};Vb(this,a,UTc)}else a=void 0;return a};var Ar=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.searchFormat_=this.suggestFormat_=this.queryScope_=0;this.slots_=[];this.entryPoint_=0};f=Ar.prototype;f.getFilter=function(){return this.filter_};f.setFilter=function(a){this.filter_=a;return this};f.setQueryScope=function(a){this.queryScope_=a;return this};f.getQueryScope=function(){return this.queryScope_};f.getEntryPoint=function(){return this.entryPoint_};f.setEntryPoint=function(a){this.entryPoint_=a;return this};
f.getSuggestFormat=function(){return this.suggestFormat_};f.getSearchFormat=function(){return this.searchFormat_};f.clone=function(){var a=new Ar;a.filter_=this.filter_;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_;return a};var ns=function(a){this.internalArray_=l(a)};U(ns,q);ns.prototype.getEntryPoint=function(){return aj(this,5,0)};ns.prototype.setEntryPoint=function(a){return cj(this,5,a)};ns.prototype.toObject=function(){return m0(this)};var m0=function(a){if(null!=a)return t(a),{autocompleteField:n(p(a,1)),autocompletePerson:n(p(a,2)),suggestionField:n(p(a,3)),suggestionPerson:n(p(a,4)),entryPoint:aj(a,5,0)}};var qs=function(a){this.internalArray_=l(a)};U(qs,q);qs.prototype.getEntryPoint=function(){return aj(this,1,0)};qs.prototype.setEntryPoint=function(a){return cj(this,1,a)};qs.prototype.toObject=function(){return VTc(this)};var VTc=function(a){if(null!=a)return t(a),{entryPoint:aj(a,1,0),additionEventSources:m0(W(a,ns,2)),replacementEventSources:m0(W(a,ns,3))}};var n0=function(a){this.internalArray_=l(a)};U(n0,q);n0.prototype.getQuery=function(){return V(this,1,"")};n0.prototype.setQuery=function(a){return uk(this,1,a)};n0.prototype.clearQuery=function(){Ct(this,1)};n0.prototype.hasQuery=function(){return Jk(this,1)};var WTc=function(a,b){cj(a,3,b)};n0.prototype.getAffinityVersion=function(){return Vh(this,7)};n0.prototype.setAffinityVersion=function(a){dj(this,7,a)};n0.prototype.getAffinityVersionOrUndefined=function(){return Rt(this,7)};
var XTc=function(a){var b=xAc();cj(a,8,Va(b))};f=n0.prototype;f.getSources=function(){return W(this,ns,10)};f.getInstanceId=function(){return V(this,11,"")};f.setInstanceId=function(a){return uk(this,11,a)};f.clearInstanceId=function(){Ct(this,11)};f.hasInstanceId=function(){return Jk(this,11)};f.getInstanceIdOrUndefined=function(){return Tt(this,11)};f.toObject=function(){return YTc(this)};
var YTc=function(a){if(null!=a)return t(a),{query:V(a,1,""),querySessionId:uj(a,3,0),selectSessionId:uj(a,4,0),submitSessionId:uj(a,5,0),cacheUpdatedTimestamp:uj(a,6,0),affinityVersion:n(Ft(a,7)),callTimestampMs:vj(a,8,0),resultTimestampMs:vj(a,9,0),sources:m0(a.getSources()),instanceId:V(a,11,""),contextualSources:VTc(W(a,qs,12))}};var hs=function(a){this.internalArray_=l(a)};U(hs,q);f=hs.prototype;f.getPersonLoggingId=function(){return V(this,1)};f.setPersonLoggingId=function(a){uk(this,1,a)};f.getFieldLoggingId=function(){return V(this,2)};f.setFieldLoggingId=function(a){uk(this,2,a)};f.setFieldValue=function(a){return uk(this,3,a)};f.clearFieldValue=function(){return Ct(this,3)};f.getName=function(){return V(this,4)};f.setName=function(a){return uk(this,4,a)};f.hasName=function(){return Jk(this,4)};
f.getNameOrUndefined=function(){return Tt(this,4)};f.getContactId=function(){return V(this,5)};f.setContactId=function(a){uk(this,5,a)};f.getProfileId=function(){return V(this,6)};f.getProfileId_legacyNullable=function(){return X(this,6)};f.setProfileId=function(a){return uk(this,6,a)};f.hasProfileId=function(){return Jk(this,6)};f.getFieldType=function(){return aj(this,7,0)};f.getFieldType_legacyNullable=function(){return p(this,7)};f.setFieldType=function(a){cj(this,7,a)};
f.getFieldTypeOrUndefined=function(){return ps(this,7)};f.getIsPlaceholder=function(){return Vj(this,10,!1)};f.setIsPlaceholder=function(a){Xj(this,10,a)};f.getGroupId=function(){return V(this,11)};f.setGroupId=function(a){uk(this,11,a)};f.hasGroupId=function(){return Jk(this,11)};f.toObject=function(){return ZTc(this)};
var ZTc=function(a){if(null!=a)return t(a),{personLoggingId:n(X(a,1)),fieldLoggingId:n(X(a,2)),fieldValue:n(X(a,3)),name:n(X(a,4)),contactId:n(X(a,5)),profileId:n(X(a,6)),fieldType:n(p(a,7)),personType:n(p(a,8)),isFlattened:Vj(a,9,!0),isPlaceholder:Vj(a,10,!1),groupId:n(X(a,11))}};var gs=function(a){this.internalArray_=l(a)};U(gs,q);f=gs.prototype;f.getProvenance=function(){return aj(this,3,0)};f.setProvenance=function(a){return cj(this,3,a)};f.getContext=function(){return aj(this,5,0)};f.getExistingSelectionsCount=function(){return Vh(this,6,0)};f.setExistingSelectionsCount=function(a){dj(this,6,a)};f.toObject=function(){return $Tc(this)};
var $Tc=function(a){if(null!=a)return t(a),{fieldPosition:Vh(a,1,0),personPosition:Vh(a,2,0),provenance:aj(a,3,0),valueOriginator:aj(a,4,0),context:aj(a,5,0),existingSelectionsCount:Vh(a,6,0)}};var es=function(a){this.internalArray_=l(a)};U(es,q);var mr=function(a){return W(a,gs,2)};es.prototype.getSessionState=function(){return W(this,n0,3)};es.prototype.setSessionState=function(a){lj(this,n0,3,a)};es.prototype.hasSessionState=function(){return Pj(this,n0,3)};es.prototype.toObject=function(){return aUc(this)};var aUc=function(a){if(null!=a)return t(a),{info:ZTc(W(a,hs,1)),targetState:$Tc(mr(a)),sessionState:YTc(a.getSessionState()),isClosed:Vj(a,4,!1)}};var cs=function(a){this.internalArray_=l(a)};U(cs,q);f=cs.prototype;f.getType=function(){return aj(this,1,0)};f.setType=function(a){return cj(this,1,a)};f.hasType=function(){return tj(this,1)};f.getValue=function(){return V(this,2,"")};f.setValue=function(a){return uk(this,2,a)};f.hasValue=function(){return Jk(this,2)};f.toObject=function(){if(null!=this){t(this);var a={type:aj(this,1,0),value:V(this,2,"")}}else a=void 0;return a};var bUc=function(a){this.delegate_=a};f=bUc.prototype;f.getDelegate=function(){return this.delegate_};f.getId=function(){return this.delegate_.getId()};f.getTargetType=function(){return this.delegate_.getTargetType()};f.getValue=function(){return this.delegate_.getValue()};f.getDisplayValue=function(){return this.delegate_.getDisplayValue()};f.getDescription=function(){return this.delegate_.getDescription()};f.getName=function(){return this.delegate_.getName()};f.getPhoto=function(){return this.delegate_.getPhoto()};
f.getTagList=function(){return this.delegate_.getTagList()};f.getSourceIdList=function(){return this.delegate_.getSourceIdList()};f.getProfileId=function(){return this.delegate_.getProfileId()};f.getContactId=function(){return this.delegate_.getContactId()};f.getLoggingToken=function(){return this.delegate_.getLoggingToken()};f.getIsMe=function(){return this.delegate_.getIsMe()};f.getIsPersonalResult=function(){return this.delegate_.getIsPersonalResult()};f.getOrgState=function(){return this.delegate_.getOrgState()};
f.getDataSource=function(){return this.delegate_.getDataSource()};f.getOriginatingField=function(){return this.delegate_.getOriginatingField()};f.getExtendedData=function(){return this.delegate_.getExtendedData()};var tob=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};f=tob.prototype;f.getDisplayName=function(){return this.displayName_};f.setDisplayName=function(a){this.displayName_=a||"";return this};f.getGivenName=function(){return this.givenName_};f.setGivenName=function(a){this.givenName_=a||"";return this};f.getFamilyName=function(){return this.familyName_};f.setFamilyName=function(a){this.familyName_=a||"";return this};f.getSourceType=function(){return this.sourceType_};
f.setSourceType=function(a){this.sourceType_=a||0;return this};var cUc=function(a,b){this.delegate_=a;this.name_=b};U(cUc,bUc);cUc.prototype.getName=function(){return this.name_};var o0=function(a){this.delegate_=a};f=o0.prototype;f.getDelegate=function(){return this.delegate_};f.getResultType=function(){return this.delegate_.getResultType()};f.getTargetList=function(){return this.delegate_.getTargetList()};f.getMemberList=function(){return this.delegate_.getMemberList()};f.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};f.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};f.getDisplayName=function(){return this.delegate_.getDisplayName()};
f.getDisplayValue=function(){return this.delegate_.getDisplayValue()};f.getDescription=function(){return this.delegate_.getDescription()};f.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};f.getMatchInfo=function(){return this.delegate_.getMatchInfo()};f.getExtendedData=function(){return this.delegate_.getExtendedData()};var sq=function(a){this.delegate_=a};U(sq,o0);f=sq.prototype;f.getPrimaryTarget=function(){return this.getTargetList()[0]};f.getDisplayName=function(){var a=this.getPrimaryTarget();return a?(a=a.getName())?a.getDisplayName():"":""};f.getPhotoUrl=function(){var a=this.getPrimaryTarget();return a?(a=a.getPhoto())?a.getUrl():"":""};f.getDisplayValue=function(){var a=this.getPrimaryTarget();return a?a.getDisplayValue():""};
f.getDescription=function(){var a=this.getPrimaryTarget();return a?a.getDescription():""};var gcb=function(a,b){this.delegate_=a;this.targets_=b};U(gcb,o0);gcb.prototype.getTargetList=function(){return this.targets_};var dUc=function(){};dUc.prototype.filterResult=function(a){var b=this,c=a.getTargetList().filter(function(d){return!b.shouldRemove(d)});return 0===c.length?null:c.length===a.getTargetList().length?a:new sq(new gcb(a,c))};dUc.prototype.reset=function(){};var icb=function(a){this.types_=a};U(icb,dUc);icb.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};icb.prototype.reset=function(){};var kcb=function(a){this.sourceIds_=a.filter(function(b){return pob.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return vBc.includes(b.getType())}).map(String)};U(kcb,dUc);kcb.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 mcb=function(a){this.filters_=a};mcb.prototype.filterResult=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};mcb.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var eUc=ncb();var fUc=new Zc("PeoplekitClientConfig"),gUc=function(a){this.matcher=a};gUc.prototype.filterResult=function(a){for(var b=a.getTargetList(),c=b.length-1;0<=c;c--)1===b[c].getTargetType()&&this.matcher(b[c].getValue())&&b.splice(c,1);return b.length?a:null};gUc.prototype.reset=function(){};var hUc=function(a){this.internalArray_=l(a)};U(hUc,q);f=hUc.prototype;f.setMaxResults=function(a){return dj(this,1,a)};f.getQuery=function(){return V(this,2,"")};f.setQuery=function(a){return uk(this,2,a)};f.clearQuery=function(){Ct(this,2)};f.hasQuery=function(){return Jk(this,2)};f.toObject=function(){if(null!=this){t(this);var a={maxResults:Vh(this,1,0),query:V(this,2,"")}}else a=void 0;return a};var iUc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var jUc=function(a){this.internalArray_=l(a,1)};U(jUc,q);var kUc={};jUc.prototype.toObject=function(){if(null!=this){t(this);var a={};Vb(this,a,kUc)}else a=void 0;return a};var lUc=function(a){this.internalArray_=l(a)};U(lUc,q);f=lUc.prototype;f.getExperimentIdsList=function(){return Uh(this,1)};f.setExperimentIdsList=function(a){return Cb(this,1,a,bb)};f.getExperimentIds=function(){return Jt(this,1)};f.setExperimentIds=function(a){Fb(this,1,a,bb(void 0),Uh)};f.getProfileId=function(){return V(this,2)};f.getProfileId_legacyNullable=function(){return X(this,2)};f.setProfileId=function(a){return uk(this,2,a)};f.hasProfileId=function(){return Jk(this,2)};
lUc.repeatedFields_=[1];lUc.prototype.toObject=function(){if(null!=this){t(this);var a={experimentIdsList:n(Uh(this,1)),profileId:n(X(this,2))}}else a=void 0;return a};var mUc=function(){},nUc=function(){return!1},oUc=function(){this.experiments_=(new lUc).setProfileId(CBc.userProfileId);this.peopleApiEnv_=CBc.apiEnv;this.userEmail_=CBc.userEmail;this.delegatorId_="";this.onAuthError_=mUc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=nUc;this.customDataConfig_=null;this.isOrgStateEnabled_=!1};f=oUc.prototype;f.getUserEmail=function(){return this.userEmail_};f.getDelegatorId=function(){return this.delegatorId_};f.getPeopleApiEnv=function(){return this.peopleApiEnv_};
f.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};f.getExperiments=function(){return this.experiments_};f.getAuthErrorHandler=function(){return this.onAuthError_};f.setClearcutUrl=function(a){this.clearcutUrl_=a};f.getClearcutUrl=function(){return this.clearcutUrl_};f.setAuthErrorHandler=function(a){this.onAuthError_=a||mUc};f.getApiKey=function(){return this.apiKey_};f.setApiKey=function(a){this.apiKey_=a;return this};var p0=function(a,b){null!=b||(b=Hc(ef));var c=new oUc;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 iUc;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 ABc(c.getPeopleApiEnv(),new BBc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};p0.\u0275fac=function(a){return new (a||p0)(u(fUc),u(ef))};p0.\u0275prov=wc({token:p0,factory:p0.\u0275fac});var q0=function(a,b,c,d,e,g){this.clientConfig=a;this.document=b;this.peopleKitService=c;this.inputEl=d;this.zone=e;this.renderer=g;this.selectionChange=new pw;this.sessionOptions=(new Ar).setFilter(pUc);this.inputSearchDelay=200;this.destroyed$=new E.ReplaySubject(1);this.inputChanged$=new E.ReplaySubject(1)};q0.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
q0.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);ocb(b,this.config);this.zone.runOutsideAngular(function(){var c;if(null==(c=a.clientConfig.autocompleteFactory))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 g;(null!=(g=VBa(a.inputEl.nativeElement))?
g:a.document.body).append(e)}c=d.call(c,a.peopleKitService.autocompleteAnchor,a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)}a.autocomplete=c});qUc(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(Ke(this.inputSearchDelay)).subscribe(function(){a.search()})};q0.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
q0.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};q0.\u0275fac=function(a){return new (a||q0)(C(fUc),C(uh),C(p0),C(Bd),C(ef),C(Pv))};
q0.\u0275dir=Qc({type:q0,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:["peoplekitAutocompleteConfig","config"],sessionOptions:["peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:["peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"]});var pUc=jcb(1);var rUc=["popOver"],sUc=["inputBox"],r0=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},tUc,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new pw;this.inputValue="";this.sessionOptions=uUc};r0.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
r0.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},tUc,this.defaultAutocompleteConfig,this.autocompleteConfig))};r0.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;null==(c=b.inputBox)||c.nativeElement.select()})};r0.prototype.onPopOverClose=function(a){this.closed.emit(0===a?this.inputValue:void 0);this.inputValue=""};r0.\u0275fac=function(a){return new (a||r0)(C(vUc,8))};
r0.\u0275cmp=Mc({type:r0,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(cg(rUc,7),cg(sUc,5));if(a&2){var c;bg(c=eg())&&(b.popOver=c.first);bg(c=eg())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[ed],attrs:["anchor",""],decls:4,vars:3,consts:[[3,"anchor","displayUnder","editorTemplate",
"closedWithAction"],["popOver","onedevPopOverEditPanel"],["autocompleteTemplate",""],["peoplekitAutocomplete","",3,"peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel","peoplekitAutocompleteSelectionChange","ngModelChange"],["inputBox",""]],template:function(a,b){a&1&&(H(0,"onedev-pop-over-edit-panel",0,1),M("closedWithAction",function(d){return b.onPopOverClose(d)}),I(),P(2,pcb,2,3,"ng-template",null,2,hg));if(a&2){var c=Lf(3);F("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
c)}},dependencies:[xg,ox,ux,j0,q0],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 vUc=new Zc("user-picker-autocomplete-config"),tUc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},uUc=(new Ar).setFilter(ncb(jcb(1),new gUc(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var rcb=function(a){return{$implicit:a}},wUc=0,s0=function(){this.val="";this.disabled=!1;this.emailChange=new pw;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+wUc;this.onChange=function(){};this.onTouched=function(){};wUc++};U(s0,wY);f=s0.prototype;f.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
f.onPopOverClose=function(a){null!=a&&a!==this.email&&(this.onChange(a),this.emailChange.emit(a),this.email=a);this.popOverOpen=!1};f.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};f.writeValue=function(a){null!=a&&(this.val=a)};f.isActive=function(){return this.active||this.popOverOpen};f.registerOnChange=function(a){this.onChange=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a};
wh.Object.defineProperties(s0.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});s0.\u0275fac=function(a){return new (a||s0)};
s0.\u0275cmp=Mc({type:s0,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&cg(r0,7);if(a&2){var c;bg(c=eg())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[Pf([{provide:wY,useExisting:Cc(function(){return s0}),multi:!0},{provide:dx,useExisting:Cc(function(){return s0}),multi:!0}]),
lf],decls:7,vars:9,consts:[[1,"unstyled-button",3,"focus","blur","click"],["anchor",""],[4,"ngIf","ngIfElse"],["plainText",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"anchor","autocompleteConfig","closed"],[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){a&1&&(H(0,"button",0,1),M("focus",function(){return b.active=!0})("blur",function(){return b.active=!1})("click",function(){return b.openPopOver()}),P(2,scb,2,4,"ng-container",2),P(3,tcb,1,1,"ng-template",null,3,hg),P(5,ucb,2,0,"svg",4),I(),H(6,"onedev-user-picker-panel",5),M("closed",function(e){return b.onPopOverClose(e)}),I());if(a&2){var c=Lf(1),d=Lf(4);yf("active",b.isActive());pf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());B(2);F("ngIf",b.selectedUserTemplate)("ngIfElse",
d);B(3);F("ngIf",!b.disabled);B(1);F("anchor",c)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[Ow,Tw,r0],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 xUc=["picker"],t0=function(){this.disabled=!1;this.emailChange=new pw;this.userEmail=""};U(t0,wY);t0.prototype.openPopOver=function(){this.picker.openPopOver()};t0.prototype.isActive=function(){return this.picker.isActive()};wh.Object.defineProperties(t0.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=ti(a)||""}}});t0.\u0275fac=function(){var a;return function(b){return(a||(a=zd(t0)))(b||t0)}}();
t0.\u0275cmp=Mc({type:t0,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&cg(xUc,7);if(a&2){var c;bg(c=eg())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[Pf([{provide:wY,useExisting:Cc(function(){return t0}),multi:!0}]),lf],decls:4,vars:4,consts:[[3,"email","disabled","labelledById","selectedUserTemplate","emailChange"],["picker","onedevUserPicker"],["userChip",
""],[3,"email","teamId","enableSmallChip",4,"ngIf"],[3,"email","teamId","enableSmallChip"]],template:function(a,b){a&1&&(H(0,"onedev-user-picker",0,1),M("emailChange",function(d){return b.emailChange.emit(d)}),I(),P(2,wcb,1,1,"ng-template",null,2,hg));if(a&2){var c=Lf(3);F("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",c)}},dependencies:[Ow,yP,s0],styles:["b-user-membership-chip[_ngcontent-%COMP%]     .user-chip-small, b-user-membership-chip[_ngcontent-%COMP%]     .internal-non-team-member-chip{width:100%}  .peoplekit-autocomplete-anchor{z-index:1001}/*# sourceMappingURL=user_picker.css.map */"]});var u0=function(a){BF.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};U(u0,BF);f=u0.prototype;f.fetchOne=function(a){return this.observableSlosService.get(a)};f.getOwnedSlos=function(){return this.observableSlosService.getOwnedSlos()};f.search=function(a){return this.observableSlosService.search(a)};f.create=function(a){return this.observableSlosService.create(a)};f.update=function(a){return this.observableSlosService.update(a)};
u0.\u0275fac=function(a){return new (a||u0)(u(rT))};u0.\u0275prov=wc({token:u0,factory:u0.\u0275fac,providedIn:"root"});var v0=function(a,b,c,d,e){GE.call(this);var g=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSloStartTimeChange=new pw;this.onSloEndTimeChange=new pw;this.providedSloId$=new E.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(af(function(h){return g.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=this.enableSloEndTime=this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=
!1};U(v0,GE);v0.\u0275dir=GE.\u0275dir;v0.prototype.ngOnInit=function(){var a=this;yUc(this);this.userPreferencesManager.layoutPreferences$.pipe(bf(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};v0.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);yUc(this)};
var yUc=function(a){a.hasSlo=!!a.sloStatus&&Vlc(a.sloStatus);a.hasClosureSlo=a.hasSlo&&Wlc(a.sloStatus,"CLOSURE");a.enableSloEndTime=EE(a.session,"enableSloEndTime");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=NJ(Bi(c))?c.targetTime:void 0):c=void 0;a.closureSloTarget=null!=(b=null==c?void 0:c.seconds)?b:0;b=a.sloStartTime;a.hasSloStartTime=!!b&&0!==b.seconds;b=a.sloEndTime;a.hasSloEndTime=!!b&&0!==b.seconds;a.sloId&&"0"!==a.sloId?a.editSloLink=a.paths.editSlo(a.sloId):a.editSloLink=void 0;a.componentId?
a.componentSloLink=a.paths.manageComponent(a.componentId):a.componentSloLink=void 0},zUc=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;flc(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(bf(a.destroyed$)).subscribe();en(io.ISSUE_SLO,"toggle",a.isAccordionExpanded?"open":"close")};v0.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};v0.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};
v0.prototype.trackOpenSlo=function(){en(io.EDIT_SLO,"open","fromIssueSloBox")};v0.\u0275fac=function(a){return new (a||v0)(C(bt),C(qJ),C(MJ),C(dH),C(u0))};
v0.\u0275cmp=Mc({type:v0,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp"},outputs:{onSloStartTimeChange:"onSloStartTimeChange",onSloEndTimeChange:"onSloEndTimeChange"},features:[lf,ed],decls:17,vars:19,consts:[[1,"issue-slo-box-title",3,"click"],[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","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"],["trigger","cdkOverlayOrigin"],[4,"ngIf"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["mode","date",3,"timestamp"],[3,"sloStatus","sloEditTime","closePicker","sloEditCommit"],["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&&(H(0,
"span",0),M("click",function(){return zUc(b)}),H(1,"label"),R(2,"SLO Status"),I()(),H(3,"div",1)(4,"div",2)(5,"div",3),J(6,"b-aggregated-slo-status-indicator",4),I(),H(7,"div",3),J(8,"b-slo-status-summary",5),I(),H(9,"button",6),M("click",function(){return zUc(b)}),P(10,xcb,1,0,"mat-icon",7),P(11,ycb,1,0,"mat-icon",8),I()(),H(12,"div",9),P(13,Ccb,9,4,"div",10),P(14,Hcb,10,5,"div",11),P(15,Jcb,4,3,"div",12),P(16,Kcb,3,1,"div",12),I()());a&2&&(B(5),F("hidden",b.isAccordionExpanded),B(1),F("sloStatus",
b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),B(1),F("hidden",!b.isAccordionExpanded),B(1),F("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),B(1),pf("aria-expanded",b.isAccordionExpanded),B(1),F("ngIf",!b.isAccordionExpanded),B(1),F("ngIf",b.isAccordionExpanded),B(1),F("hidden",!b.isAccordionExpanded),B(1),F("ngIf",b.isEditable),B(1),F("ngIf",b.enableSloEndTime&&b.isEditable),
B(1),F("ngIf",b.editSloLink),B(1),F("ngIf",!b.editSloLink&&b.componentSloLink))},dependencies:[Ow,bB,tC,qA,wT,VK,uT,l_,Jz,Iz,Uw],styles:["[_nghost-%COMP%]{align-items:baseline;margin:8px 19px 8px 19px}[_nghost-%COMP%]:focus{outline:0}[_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}[_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)}.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;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 AUc={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var w0=function(a,b,c,d,e,g,h,m,r,v){GE.call(this);var y=this;this.data=a;this.dialogRef=b;this.pathBuilder=c;this.teamsService=d;this.componentActions=e;this.userPreferencesManager=g;this.snackBar=h;this.analytics=m;this.errorHandler=r;this.componentFridge=v;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=AUc;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new BUc(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=mjc(this.teamsService,this.teamSuggestionIds).pipe(D(function(A){for(var G=[],N=k(y.teamSuggestionIds),Q=N.next();!Q.done;Q=N.next()){Q=Q.value;var Z=A.get(Q);Z&&G.push(new BUc(Q,Z.collapsedPathNames))}return G}),$e([]));this.myTeams$=xI(this.teamsService,"").pipe(D(function(A){return A.map(function(G){return new BUc(G.teamId,G.pathNames)})}));
(0,E.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(D(function(A){var G=k(A);A=G.next().value;G=G.next().value;return[].concat(ad(A),ad(G))}),D(Eua(function(A){return A.teamId})),bf(this.destroyed$)).subscribe(function(A){y.teamOptions=A;y.selectedTeam=A[0]})};U(w0,GE);w0.\u0275dir=GE.\u0275dir;w0.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
w0.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;CUc(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):CUc(this,"0",this.selectedTeam.teamId);else{var b=Zh(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});klc(this.userPreferencesManager,b).pipe(bf(this.destroyed$)).subscribe(function(){a.analytics.trackEvent(io.TEAM_WARNING,
"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var CUc=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);a.analytics.trackEvent(io.TEAM_WARNING,"updateTeam");a.snackBar.open("Team mapping changed","",{duration:4E3});var e;null==(e=a.dialogRef)||e.close(a.selectedTeam.teamId)}).catch(function(d){a.errorHandler.errorHandler(null,d)})};
w0.prototype.selectOption=function(a){this.selectedTeam=a};w0.prototype.trackClick=function(a){this.analytics.trackEvent(io.TEAM_WARNING,"click",a)};w0.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};w0.\u0275fac=function(a){return new (a||w0)(C(CA),C(AA),C(RT),C(vI),C(MU),C(qJ),C(jG),C(TH),C(oG),C(PF))};
w0.\u0275cmp=Mc({type:w0,selectors:[["b-team-warning-dialog"]],features:[lf],decls:11,vars:5,consts:[["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,"href","click"],["target","_blank",3,"href"],["aria-label",
"Quick team actions",3,"ngModel","ngModelChange"],["value","NONE"],["value","CHANGE"],[1,"suggested-teams"],[3,"disabled","value","options","includeEmptyOption","optionTemplate","valueChange"],["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"],["emptyOption",""],[1,"suggested-team-option"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),P(2,Mcb,5,1,"div",1),
P(3,Ncb,5,1,"div",1),P(4,Ocb,7,1,"mat-radio-group",2),P(5,Scb,6,6,"div",3),H(6,"mat-dialog-actions")(7,"button",4),R(8," Cancel "),I(),H(9,"button",5),M("click",function(){return b.confirm()}),R(10," Confirm "),I()());a&2&&(B(1),Nf(b.header),B(1),F("ngIf",b.warningType===b.WarningType.MISSING),B(1),F("ngIf",b.warningType===b.WarningType.DELETED),B(1),F("ngIf",b.warningType===b.WarningType.MISSING),B(1),F("ngIf",0<b.teamOptions.length))},dependencies:[Ow,bB,ox,ux,qA,rA,EA,FA,GA,HA,DN,EN,tC,xY],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 BUc=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var x0=function(a,b){GE.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new pw};U(x0,GE);x0.\u0275dir=GE.\u0275dir;x0.prototype.ngOnInit=function(){};x0.prototype.ngOnChanges=function(){"MISSING"===this.warningType?(this.warningMessage="Team mapping is missing",this.buttonName="Add"):"DELETED"===this.warningType&&(this.warningMessage="This team no longer exists",this.buttonName="Change")};
x0.prototype.openDialog=function(){var a=this;this.analytics.trackEvent(io.TEAM_WARNING,"open");yA(this.matDialogService.open(w0,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(bf(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};x0.\u0275fac=function(a){return new (a||x0)(C(DA),C(TH))};
x0.\u0275cmp=Mc({type:x0,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[lf,ed],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(H(0,"b-callout",0)(1,"b-callout-body"),R(2),I(),P(3,Tcb,3,1,"b-callout-actions",1),I());
a&2&&(B(2),Mf(" ",b.warningMessage," "),B(1),F("ngIf",!b.messageOnly))},dependencies:[XP,WW,XW,Ow],encapsulation:2});var DUc=new Zc("DevopsGraphLogger",{providedIn:"root",factory:function(){return Oh}}),EUc=new Zc("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return ne(function(b){switch(b.nextAddress){case 1:return oe(b,2),b.yield(Ucb(),4);case 4:a=b.yieldResult;ht(b,3);break;case 2:return re(b),b.return();case 3:return oe(b,5),b.yield(a.loadGraph(),7);case 7:ht(b,6);break;case 5:return re(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var y0=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new E.Subject;this.close$=new E.Subject;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var g=e.getContainer();null!=g&&(g.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var g=e.getContainer();null!=g&&(g.classList.add("open"),e.open$.next())};this.init()};
y0.prototype.init=function(){var a=this,b,c,d,e,g;return ne(function(h){if(1==h.nextAddress)return b=a.getContainer(),!b||a.graphService&&a.graphController?h.return():h.yield(a.graphBuilder,2);c=h.yieldResult;d=["PROD","NIGHTLY"].includes(a.session.getEnvironmentType())?"production":"autopush";if(e=c.createService({environment:d}))g=a.theme.clientDarkmodeSubject.getValue(),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:g?"dark":void 0}),
a.theme.clientDarkmode$.subscribe(function(m){var r;null==(r=a.graphController)||r.setTheme(m?"dark":"light")});se(h)})};var FUc=function(a,b){var c;return ne(function(d){switch(d.nextAddress){case 1:return oe(d,2),d.yield(a.init(),4);case 4:return null==a.graphService?d.return(new Set):d.yield(a.graphService.getAvailableIssueContexts(Number(b)),6);case 6:return d.return(d.yieldResult);case 5:ht(d,0);break;case 2:return c=re(d),a.logger(c),d.return(new Set)}})};
y0.prototype.openSidebar=function(a,b){var c=this,d;return ne(function(e){switch(e.nextAddress){case 1:return e.yield(c.init(),2);case 2:if(!c.graphController)return e.return();oe(e,3);return e.yield(c.graphController.openIssueContext(Number(a),b),5);case 5:ht(e,0);break;case 3:d=re(e),c.logger(d),se(e)}})};
y0.prototype.close=function(){var a=this,b;return ne(function(c){switch(c.nextAddress){case 1:return c.yield(a.init(),2);case 2:if(!a.graphController)return c.return();oe(c,3);return c.yield(a.graphController.close(),5);case 5:ht(c,0);break;case 3:b=re(c),a.logger(b),se(c)}})};y0.\u0275fac=function(a){return new (a||y0)(u(bt),u(yQ),u(DUc),u(EUc))};y0.\u0275prov=wc({token:y0,factory:y0.\u0275fac,providedIn:"root"});var z0=function(a,b,c,d,e,g,h,m){GE.call(this);var r=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=g;this.activeSession=h;this.contextSensitiveRegistry=m;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(D(function(v){return v||void 0}));this.contexts$=this.id$.pipe(af(function(v){return ne(function(y){return null!=r.devopsGraph.getContainer()&&v?y.return(FUc(r.devopsGraph,v).then(function(A){return{issueId:v,availablePanels:A}})):y.return(void 0)})}),
Ye({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(D(function(v){return v?v.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(D(function(v){return!!v&&0<v.availablePanels.size&&r.activeSession.isInternalSession()&&null!=r.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(D(function(v){return!!v&&0<v.availablePanels.size&&r.activeSession.isInternalSession()&&null!=r.devopsGraph.getContainer()&&v.availablePanels.has("deployments")}));
this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(v){if(v){v=v.availablePanels;r.track("ingress-view-"+(0<v.size?"enabled":"disabled"));v.has("deployments")&&r.track("ingress-view-deployments-enabled");var y=r.paramsService.params.showInsights;y&&("default"===y?0<v.size?r.openSidebar():r.butterBar.showWarning("Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):v.has(y)?r.openSidebar(y):r.butterBar.showWarning("Could not open "+
y+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else r.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){GUc(r,null)}))};U(z0,GE);z0.\u0275dir=GE.\u0275dir;z0.prototype.openSidebar=function(a){var b=this,c,d,e,g;return ne(function(h){c=An(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;GUc(b,null!=(g=a)?g:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};
z0.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};var GUc=function(a,b){a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};z0.\u0275fac=function(a){return new (a||z0)(u(y0),u(IJ),u(TH),u(lG),u(WG),u(Cm),u(bt),u(QJ))};z0.\u0275prov=wc({token:z0,factory:z0.\u0275fac,providedIn:"root"});var Xcb=function(a){return[a]},$cb=function(){return[]},Qdb=function(a){return{$implicit:a}},A0=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q){var Z=this;this.activeSession=a;this.editIssueService=b;this.issueFridge=c;this.issuePermissionService=d;this.issueDetailsBrain=e;this.constants=g;this.refreshMonitor=h;this.userPreferencesManager=m;this.documentationLinks=r;this.workspaceService=v;this.changelistApi=y;this.issueMarkAsDuplicateDialogService=A;this.analytics=G;this.issueInsightsSidebarService=N;this.issueLimits=
Q;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Ne());this.issue$=this.distinctIssueId$.pipe(af(function(Y){return Z.editIssueService.editableIssue$(Y)}));this.enablePeoplekitAc=EE(this.activeSession,"enablePeoplekitUserAc");this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=this.activeSession.isExternalSession();this.showSloStatus=this.sessionIsInternal;this.showChangelists=!this.sessionIsExternal;this.defaultAssigneeQuickActionEnabled=
this.sessionIsInternal;this.HOTKEYS=JM;this.trackCustomField=function(Y,ea){return"{"+ea.componentId+", "+ea.customFieldId+"}"};this.FieldType=NOc;this.ListFieldType=WOc;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(D(function(Y){return!Z.activeSession.isExternalSession()&&!Y}));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(D(Lcb));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(D(function(Y){return Z.editIssueService.issueFields(Y)}),
Ye({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(af(function(Y){return Y.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(af(function(Y){return Y.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(af(function(Y){return Y.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(af(function(Y){return Y.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(af(function(Y){return Y.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(af(function(Y){return Y.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(af(function(Y){return Y.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(af(function(Y){return Y.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(D(function(Y){return Z.editIssueService.issueQuickActions(Y)}),Ye({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(af(function(Y){return Y.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(af(function(Y){return Y.issueStatusQuickAction$}));this.priorityChoices=this.constants.priorities.map(function(Y){return{value:Y,displayText:Y}});this.severityChoices=this.constants.severities.map(function(Y){return{value:Y,displayText:Y}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,E.combineLatest)([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(D(function(Y){var ea=k(Y);Y=ea.next().value;ea=
ea.next().value;return{teamId:ea?String(ea):"0",componentId:Y?String(Y):"0"}}));this.isTeamWarningDismissed$=(0,E.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(D(function(Y){Y=k(Y);var ea=Y.next().value,ja,va;return null==(ja=Y.next().value.teamWarningPreferences)?void 0:null==(va=ja.componentTeamWarnings)?void 0:va.some(function(za){return za.componentId===ea.componentId})}));this.shouldDisplayTeamSuggestions$=(0,E.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,
this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(D(function(Y){var ea=k(Y);Y=ea.next().value;var ja=ea.next().value;ea=ea.next().value;return EE(Z.activeSession,"enableTeamSuggestions")&&Y&&!ja&&("MISSING"===ea||"DELETED"===ea)}));this.statusChoices$=this.canonicalIssueId$.pipe(D(function(Y){return[].concat(ad(yec.filter(function(ea){return"DUPLICATE"!==ea.value})),[{value:"DUPLICATE",displayText:Y?"Duplicate of "+Y:"Duplicate"}])}));this.workspaces$=this.distinctIssueId$.pipe(af(function(Y){return Xvc(Z.workspaceService,
Y)}),Ye({refCount:!0,bufferSize:1}));this.pendingChangelists$=Gic(this.refreshMonitor,this.distinctIssueId$).pipe(af(function(Y){return Z.changelistApi.getPendingChangelistsForIssue(Y)}),D(function(Y){return Y.changelistNumbers}),D(function(Y){return{cls:Y,hasError:!1}}),Ie(function(){return(0,E.of)({cls:[],hasError:!0})}),Ye({refCount:!0,bufferSize:1}));this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new mK,{position:[Vmc]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new mK,{position:[{originX:"start",
originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.reconcileView={assignee:function(Y){var ea,ja;Y.value=null!=(ja=null==(ea=An(Z.issue$))?void 0:ea.assignee)?ja:""},reporter:function(Y){var ea,ja;Y.value=null!=(ja=null==(ea=An(Z.issue$))?void 0:ea.reporter)?ja:""},verifier:function(Y){var ea,ja;Y.value=null!=(ja=null==(ea=An(Z.issue$))?void 0:ea.verifier)?ja:""},ccs:function(Y){var ea,ja;Y.values=null!=(ja=null==(ea=An(Z.issue$))?void 0:ea.cc)?ja:[]},collaborators:function(Y){var ea,
ja;Y.collaborators=null!=(ja=null==(ea=An(Z.issue$))?void 0:ea.collaborators)?ja:[]}}};A0.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var Jdb=function(a){var b=a.issuePermissionService.isCurrentUserCCd();a.analytics.trackEvent(io.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!SJ(a.issuePermissionService,e)}):[].concat(ad(c.cc),[a.activeSession.getUserEmail()]);return Bmc(a.editIssueService,a.issueId,d)},Fdb=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();a.analytics.trackEvent(io.EDIT_ISSUE,"toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!SJ(a.issuePermissionService,e)}):[].concat(ad(c.collaborators),[a.activeSession.getUserEmail()]);return Cmc(a.editIssueService,a.issueId,d)};A0.prototype.toggleAccessLimits=function(){var a=this;return ne(function(b){if(a.issueLimits.isOpen())return b.return();a.issueLimits.open({componentId:Number(An(a.issueDetailsBrain.componentId$)),issueId:a.issueId});se(b)})};
A0.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var sdb=function(a,b,c){return udb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},cdb=function(a,b,c){return edb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)})},zdb=function(a,b,c){return Bdb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)})},Eeb=function(a,b,c){return Bmc(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.ccs(b)})},Deb=function(a,b,c){return Cmc(a.editIssueService,
a.issueId,c).finally(function(){a.reconcileView.collaborators(b)})},tq=function(a,b){a.analytics.trackEvent(io.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return zmc(a.editIssueService,a.issueId,b)},Ceb=function(a,b){var c;return ne(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}return(c=e)?"DUPLICATE"===
c?d.return(NFc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return(ymc(a.editIssueService,a.issueId,c)):d.return()})};A0.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(D(function(c){return b.editIssueService.savingState(c)}),af(function(c){return bo(c.propertiesBeingSaved,Kn(String(a)))}))};A0.prototype.getAccessLimitLevelDisplay=function(a){return C$a(a)};
A0.\u0275fac=function(a){return new (a||A0)(C(bt),C(fK),C(YH),C(TJ),C(RJ),C(tJ),C(WH),C(qJ),C(jJ),C(wQ),C(DD),C(JS),C(TH),C(z0),C(e0))};
A0.\u0275cmp=Mc({type:A0,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[ed],decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["peoplekitReporter",""],[3,"name","title","type","value","choices","readonly","disabled","valueChange"],[1,"flex-wrappable","flex-kids-y"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","hotkey","readonly","disabled","onHotkey","valueChange"],[1,"status-field-row"],[3,"name","title","type","value","choices","readonly","disabled",
"onedevHovercardActive","onedevHovercardTrigger","valueChange"],["canonicalHovercard","onedevHovercard"],[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,"matTooltip","click","keydown.enter","keydown.space"],["ialCard","onedevHovercard"],[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"],["peoplekitAssignee",""],["peoplekitVerifier",""],[3,"readonly","collaborators","collaboratorsUsers","listFieldDisabled","teamId","isCollapsible","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig","toggleAccessLimits","valuesChange"],["collaboratorsField",""],[1,"value-action"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"disabled","matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["collaboratorsCard","onedevHovercard"],
["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,"defaultLineCount","readonly","type","isUser","values","users","listFieldDisabled","isCollapsible","isExpanded","onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig","collapsiblePanelTitle","teamId","valuesChange"],["ccsField",""],["ccCard","onedevHovercard"],[3,"readonly","defaultLineCount",
"title","type","values","tooltip",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","hidden-fields-separator",4,"ngIf"],[3,"titleWhenCollapsed","titleWhenExpanded",4,"ngIf"],["sloField",""],["severityField",""],["changelistsFields",""],["foundInField",""],["targetedToField",""],["verifiedInField",""],["inProdField",""],["forgottenFourFields",""],["customFieldTemplate",""],[4,"ngTemplateOutlet"],["class","issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values",4,"ngIf"],
[1,"issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values"],["class","issue-metadata-field-short",4,"ngIf"],[1,"issue-metadata-field-short"],[3,"warningType","componentId","parentComponentId","teamSuggestions","updateTeam"],[3,"name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId","valueChange"],["reporterField",""],[3,"thinking"],[3,"user","teamId","disabled","emailChange"],["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,"matTooltip","click","keydown.enter","keydown.space"],[3,"onedevIsHovercardReady","issueId"],["canonicalCardBody",""],[3,"effort","effortSpec","disabled","effortChange"],[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"],["implicitAccessHelpBubble",""],["target","_blank",3,"href"],
[3,"hotkey","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId","onHotkey","valueChange"],["assigneeField",""],["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,"hotkey","matTooltip","onHotkey","click","keydown.enter","keydown.space"],["class","bv2-metadata-link",3,"disabled",4,"ngIf"],[1,
"bv2-metadata-link"],[3,"hotkey","user","teamId","disabled","onHotkey","emailChange"],["userPicker","bUserPicker"],["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,"hotkey","matTooltip",
"onHotkey","click","keydown.enter","keydown.space"],[1,"flex-1",3,"name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId","valueChange"],["verifierField",""],[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,"sloStatus","sloStartTime","sloEndTime","sloId",
"componentId","isEditable","issueCreationTimestamp","onSloStartTimeChange","onSloEndTimeChange"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","readonly","disabled","valueChange"],[3,"readonly","defaultLineCount","title","type","values","listFieldDisabled","valuesChange"],[1,"title-action"],[3,"pressed",4,"ngIf"],[3,"pressed"],[1,"issue-metadata-field-short","issue-metadata-field-short-left",3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],
[3,"name","title","type","multiline","tooltip","value","readonly","disabled","valueChange"],[3,"name","title","type","value","tooltip","readonly","disabled","valueChange"],[3,"issue","field","readonly","disabled","save"]],template:function(a,b){a&1&&(P(0,Feb,134,159,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[pZ,Nw,Ow,Tw,bB,tZ,nZ,l0,g0,h0,i0,IM,jK,kK,oK,lK,rTc,vP,v0,rZ,W_,tC,XI,x0,t0,mP,FX,pmc,Uw],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 B0=function(a,b,c,d,e,g,h){GE.call(this);var m=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.editStatusUpdateDialogService=c;this.statusUpdateService=d;this.issueCommentDialogsService=e;this.contextSensitiveRegistry=g;this.issuePermissionService=h;this.closeSidebar=new pw;this.navigateToNextIssue=new pw;this.navigateToPreviousIssue=new pw;this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(bf(this.destroyed$),af(this.issueFridge.watch));this.componentId$=this.issue$.pipe(D(function(r){return null==
r?void 0:r.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(D(function(r){var v;return null==r?void 0:null==(v=r.accessLimit)?void 0:v.accessLevel}));this.events$=this.issueId$.pipe(bf(this.destroyed$),af(this.eventsForIssueFridge.watch),D(function(r){return(null==r?void 0:r.events)||[]}));this.firstEvent$=this.events$.pipe(D(function(r){return 0<r.length?r[0]:void 0}));this.statusUpdate$=this.issue$.pipe(D(function(r){return null==r?void 0:r.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(De(Ei),
D(function(r){return{unlinkifiedComment:r.updateText,formattedComment:r.formattedText}}));this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.firstNote$=this.events$.pipe(bf(this.destroyed$),D(function(r){if(r&&0<r.length&&r[0].commentNumber&&-1<r[0].commentNumber)return{commentNumber:r[0].commentNumber,unlinkifiedComment:r[0].unlinkifiedComment||"",formattedComment:r[0].formattedComment}}));this.userCanEditDescription$=this.firstEvent$.pipe(af(function(r){return r?m.issuePermissionService.canEditComment$(r):
(0,E.of)(!1)}));this.isDescriptionEmpty$=this.events$.pipe(bf(this.destroyed$),D(function(r){return r&&0<r.length&&""===r[0].unlinkifiedComment}));this.isFieldsExpanded=this.isDescriptionExpanded=this.isStatusUpdateExpanded=!0;this.editTitleMode=!1;this.draftTitle="";this.isSavingTitle=!1;this.FormattingMode=sac;this.destroyed$.subscribe(function(){uq(m)});this.issueId$.pipe(bf(this.destroyed$)).subscribe(function(){uq(m)})};U(B0,GE);B0.\u0275dir=GE.\u0275dir;
B0.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,g,h;return ne(function(m){switch(m.nextAddress){case 1:return m.yield((0,E.firstValueFrom)(a.issueId$),2);case 2:return b=m.yieldResult,m.yield((0,E.firstValueFrom)(a.componentId$),3);case 3:return c=m.yieldResult,(d=An(a.statusUpdate$))?m.yield((0,E.firstValueFrom)(a.accessLevel$),4):m.return();case 4:return g=(e=m.yieldResult)&&"INTERNAL"===e?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",m.yield(a.editStatusUpdateDialogService.show(d,g,c),5);
case 5:h=m.yieldResult;if(!h)return m.return();a.statusUpdateService.update(h).subscribe(function(r){AF(a.issueFridge,b,function(v){v.statusUpdate=r});a.issueFridge.poke(b)});se(m)}})};
var Seb=function(a){var b,c;return ne(function(d){return 1==d.nextAddress?d.yield((0,E.firstValueFrom)(a.issueId$),2):3!=d.nextAddress?(b=d.yieldResult,(c=An(a.firstEvent$))?d.yield(Os(a.issueCommentDialogsService,b,c),3):d.return()):d.yield(a.eventsForIssueFridge.poke(b),0)})},Geb=function(a){var b;return ne(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.issue$),2);b=c.yieldResult;if(!b)return c.return();a.draftTitle=b.snapshot[0].title;a.editTitleMode=!0;se(c)})},uq=function(a){a.isSavingTitle||
(a.draftTitle="",a.editTitleMode=!1)};B0.prototype.saveTitle=function(){var a=this,b;return ne(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.issue$),2);b=c.yieldResult;if(!b||b.snapshot[0].title===a.draftTitle)return uq(a),c.return();a.isSavingTitle=!0;Iic(a.issueFridge,b.issueId,a.draftTitle).subscribe(function(){a.isSavingTitle=!1;uq(a)});se(c)})};
wh.Object.defineProperties(B0.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a?(this.issueId$.next(String(a)),this.contextSensitiveRegistry.issueIdOverride$.next(String(a))):this.contextSensitiveRegistry.issueIdOverride$.next(null)}}});B0.\u0275fac=function(a){return new (a||B0)(C(YH),C(CF),C(vU),C(DU),C(IS),C(QJ),C(TJ))};
B0.\u0275cmp=Mc({type:B0,selectors:[["issue-sidebar"]],inputs:{issueId:"issueId"},outputs:{closeSidebar:"closeSidebar",navigateToNextIssue:"navigateToNextIssue",navigateToPreviousIssue:"navigateToPreviousIssue"},features:[lf],decls:14,vars:4,consts:[[1,"container","flex-kids-x"],[1,"details","flex-kids-y","padded-s-sides"],[1,"top-actions","flex-kids-x","space-between","border-bottom"],[1,"gap"],["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"],[4,"ngIf","ngIfElse"],["spinner",""],[1,"title","heading-m","padded-s-y","padded-s-left","flex-kids-x","align-items-center"],[1,"flex"],[4,"ngIf"],["mat-icon-button","","color","primary",
"class","gmat-button align-self-center","matTooltip","View full issue details","matTooltipPosition","below",3,"routerLink",4,"ngIf"],[1,"bv2-issue-metadata","padded-x","rounded","bordered","padded-s-y"],[1,"type-xs","muted","flex-kids-x","space-between","margin-x","padded-xs-y"],[1,"flex-kids-x","space-between","align-items-center","gap-s"],["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",
1,"gmat-button","small",3,"matTooltipShowDelay","click"],["svgIcon","arrow-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],["class","fields-area flex-kids-y",4,"ngIf"],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"edit-icon","gmat-button","small",3,"matTooltipShowDelay","click"],["svgIcon","edit-outline",1,"icon-s"],[1,"full-width"],["matInput","","type","text","aria-label","Edit issue title",1,"padded-s",3,"cdkTextareaAutosize",
"cdkAutosizeMinRows","ngModel","bFocus","ngModelChange"],[1,"flex-kids-x","gap","margin-s-top","justify-flex-end"],["mat-stroked-button","",3,"click",4,"ngIf"],["mat-flat-button","","color","primary",3,"disabled","click"],["mat-stroked-button","",3,"click"],["mat-icon-button","","color","primary","matTooltip","View full issue details","matTooltipPosition","below",1,"gmat-button","align-self-center",3,"routerLink"],["svgIcon","arrow-forward"],[1,"status-update","padded-x","rounded","bordered","margin-s-bottom"],
[1,"type-xs","muted","flex-kids-x","space-between","padded-xs-y"],["svgIcon","group","color","primary",1,"icon-s"],["mat-icon-button","","class","gmat-button small edit-status-update","aria-label","Edit the status update","matTooltip","Edit the status update",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue",1,"gmat-button","small",3,"matTooltipShowDelay","click"],
["mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update",1,"gmat-button","small","edit-status-update",3,"matTooltipShowDelay","click"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"status-update-area"],[3,"issueId","note","issueAccessLevel","formattingMode",4,"ngIf"],[3,"issueId","note","issueAccessLevel","formattingMode"],[1,"description","padded-x","rounded","bordered","margin-s-bottom"],["svgIcon","description_24px","color","primary",
1,"icon-s"],["mat-icon-button","","class","gmat-button small edit-description","aria-label","Edit the description","matTooltip","Edit the description",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue",1,"gmat-button","small",3,"matTooltipShowDelay","click"],["mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description",1,"gmat-button","small",
"edit-description",3,"matTooltipShowDelay","click"],[1,"description-area"],["emptyDescription",""],[1,"bv2-event-note","margin-s-bottom","italic"],[1,"fields-area","flex-kids-y"],[3,"issueId"],[1,"text-center"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"button",4),M("click",function(){return b.navigateToPreviousIssue.emit()}),J(5,"mat-icon",5),I(),H(6,"button",6),M("click",function(){return b.navigateToNextIssue.emit()}),J(7,"mat-icon",7),I()(),H(8,"button",8),
M("click",function(){return b.closeSidebar.emit()}),J(9,"mat-icon",9),I()(),P(10,dfb,20,19,"ng-container",10),S(11,"async"),I()(),P(12,efb,2,0,"ng-template",null,11,hg));if(a&2){var c=Lf(13);B(10);F("ngIf",T(11,2,b.issue$))("ngIfElse",c)}},dependencies:[qA,tC,xg,ox,ux,QA,KA,TA,YG,Ow,bB,wM,A0,YO,JU,Uw],styles:[".container[_ngcontent-%COMP%]{width:400px;height:100%;min-height:700px}.title[_ngcontent-%COMP%]{overflow-wrap:anywhere}.title[_ngcontent-%COMP%]   .edit-icon[_ngcontent-%COMP%]{vertical-align:bottom;opacity:0}.title[_ngcontent-%COMP%]   .edit-icon[_ngcontent-%COMP%]:focus{opacity:1}.title[_ngcontent-%COMP%]:hover   .edit-icon[_ngcontent-%COMP%]{opacity:1}.title[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;padding:8px}.details[_ngcontent-%COMP%]{width:-webkit-fill-available;width:-moz-fill-available;width:-moz-available;width:fill-available}.description[_ngcontent-%COMP%], .status-update[_ngcontent-%COMP%]{max-height:25%;overflow-wrap:anywhere}.description.area-expanded[_ngcontent-%COMP%], .status-update.area-expanded[_ngcontent-%COMP%]{padding-bottom:32px}.bv2-issue-metadata[_ngcontent-%COMP%]{padding:0;overflow-y:hidden}.bv2-issue-metadata.area-expanded[_ngcontent-%COMP%]{height:100%}.description-area[_ngcontent-%COMP%], .fields-area[_ngcontent-%COMP%], .status-update-area[_ngcontent-%COMP%]{overflow-y:scroll;overflow-x:hidden;height:90%;min-height:80px}.card-expanded[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);margin-bottom:8px}.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 HUc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],C0=function(){this.compactMode=this.labelOnlyMode=!1};C0.prototype.ngOnInit=function(){};C0.\u0275fac=function(a){return new (a||C0)};
C0.\u0275cmp=Mc({type:C0,selectors:[["b-base-chip"]],inputs:{labelOnlyMode:"labelOnlyMode",compactMode:"compactMode",labelClass:"labelClass",hovercardAriaLabel:"hovercardAriaLabel"},ngContentSelectors:[".tooltip-content",".chip-content"],decls:9,vars:6,consts:[[1,"bv2-chip"],["chipHovercard","onedevHovercard"],["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&&(Gf(HUc),H(0,"span",0)(1,"onedev-hovercard",null,1)(3,"div",2)(4,"div",3),Hf(5),I()()(),H(6,"div",4)(7,"span",5),Hf(8,1),I()()());if(a&2){var c=Lf(2),d;B(3);pf("aria-label",b.hovercardAriaLabel);B(3);F("onedevHovercardTrigger",c)("onedevHovercardActive",!b.labelOnlyMode);B(1);yf("compact-chip",b.compactMode);F("ngClass",null!==(d=b.labelClass)&&void 0!==d?d:"")}},dependencies:[Mw,jK,oK],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 D0=function(a){this.documentationLinks=a;this.documentationLink=Xs()};D0.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Gl(Dn(this.retentionState.scheduledDeletionTime)):this.retentionExpireTime=void 0};D0.\u0275fac=function(a){return new (a||D0)(C(jJ))};
D0.\u0275cmp=Mc({type:D0,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[ed],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["indefinite",""],["target","_blank",3,"href"],[3,"mode","timestamp"]],template:function(a,b){a&1&&P(0,hfb,6,3,"ng-container",0);a&2&&F("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[Ow,VK],encapsulation:2});var E0=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};E0.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?(a=Gl(Dn(this.retentionState.scheduledDeletionTime)),this.text=KLa(a,!this.compactMode)):this.text="Indefinite"};E0.\u0275fac=function(a){return new (a||E0)(C(UK))};
E0.\u0275cmp=Mc({type:E0,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[ed],decls:1,vars:1,template:function(a,b){a&1&&R(0);a&2&&Nf(b.text)},encapsulation:2});var F0=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};F0.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=jfb(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};F0.\u0275fac=function(a){return new (a||F0)(C(jJ))};
F0.\u0275cmp=Mc({type:F0,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[ed],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&&P(0,ifb,5,7,"b-base-chip",0);a&2&&F("ngIf",b.showRetentionInfo)},dependencies:[Ow,C0,E0,D0],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 IUc=Wg("transform",[$g("open, open-instant",Zg({transform:"none",visibility:"visible"})),$g("void",Zg({"box-shadow":"none",visibility:"hidden"})),ah("void => open-instant",Yg("0ms")),ah("void <=> open, open-instant => void",Yg("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))]);var JUc=["*"],KUc=["content"],LUc=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],MUc=new Zc("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:mfb}),NUc=new Zc("MAT_DRAWER_CONTAINER"),G0=function(a,b,c,d,e){sz.call(this,c,d,e);this._changeDetectorRef=a;this._container=b};U(G0,sz);G0.\u0275dir=sz.\u0275dir;G0.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
G0.\u0275fac=function(a){return new (a||G0)(C(Hw),C(Cc(function(){return H0})),C(Bd),C(rz),C(ef))};
G0.\u0275cmp=Mc({type:G0,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(a,b){a&2&&xf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},features:[Pf([{provide:sz,useExisting:G0}]),lf],ngContentSelectors:JUc,decls:1,vars:0,template:function(a){a&1&&(Gf(),Hf(0))},encapsulation:2,changeDetection:0});
var I0=function(a,b,c,d,e,g,h,m){var r=this;this._elementRef=a;this._focusTrapFactory=b;this._focusMonitor=c;this._platform=d;this._ngZone=e;this._interactivityChecker=g;this._doc=h;this._container=m;this._elementFocusedBeforeDrawerWasOpened=null;this._enableAnimations=!1;this._position="start";this._mode="over";this._opened=this._disableClose=!1;this._animationStarted=new E.Subject;this._animationEnd=new E.Subject;this._animationState="void";this.openedChange=new pw(!0);this._openedStream=this.openedChange.pipe(De(function(v){return v}),
D(function(){}));this.openedStart=this._animationStarted.pipe(De(function(v){return v.fromState!==v.toState&&0===v.toState.indexOf("open")}),Te());this._closedStream=this.openedChange.pipe(De(function(v){return!v}),D(function(){}));this.closedStart=this._animationStarted.pipe(De(function(v){return v.fromState!==v.toState&&"void"===v.toState}),Te());this._destroyed=new E.Subject;this.onPositionChanged=new pw;this._modeChanged=new E.Subject;this.openedChange.subscribe(function(v){v?(r._doc&&(r._elementFocusedBeforeDrawerWasOpened=
r._doc.activeElement),r._takeFocus()):r._isFocusWithinDrawer()&&r._restoreFocus(r._openedVia||"program")});this._ngZone.runOutsideAngular(function(){(0,E.fromEvent)(r._elementRef.nativeElement,"keydown").pipe(De(function(v){return 27===v.keyCode&&!r.disableClose&&!Kg(v)}),bf(r._destroyed)).subscribe(function(v){return r._ngZone.run(function(){r.close();v.stopPropagation();v.preventDefault()})})});this._animationEnd.pipe(Ne(function(v,y){return v.fromState===y.fromState&&v.toState===y.toState})).subscribe(function(v){var y=
v.fromState;v=v.toState;(0===v.indexOf("open")&&"void"===y||"void"===v&&0===y.indexOf("open"))&&r.openedChange.emit(r._opened)})};f=I0.prototype;f._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)};
f._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};f._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":QXb(this._focusTrap).then(function(c){c||"function"!==typeof a._elementRef.nativeElement.focus||b.focus()});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}};
f._restoreFocus=function(a){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?Tx(this._focusMonitor,this._elementFocusedBeforeDrawerWasOpened,a):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)};f._isFocusWithinDrawer=function(){var a=this._doc.activeElement;return!!a&&this._elementRef.nativeElement.contains(a)};
f.ngAfterViewInit=function(){this._isAttached=!0;this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._updateFocusTrapState();"end"===this._position&&this._updatePositionInParent("end")};f.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)};
f.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy();var a;null==(a=this._anchor)||a.remove();this._anchor=null;this._animationStarted.complete();this._animationEnd.complete();this._modeChanged.complete();this._destroyed.next();this._destroyed.complete()};f.open=function(a){return this.toggle(!0,a)};f.close=function(){return this.toggle(!1)};f._closeViaBackdropClick=function(){return this._setOpen(!1,!0,"mouse")};
f.toggle=function(a,b){(a=void 0===a?!this.opened:a)&&b&&(this._openedVia=b);b=this._setOpen(a,!a&&this._isFocusWithinDrawer(),this._openedVia||"program");a||(this._openedVia=null);return b};f._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(Oe()).subscribe(function(g){return e(g?"open":"close")})})};
f._getWidth=function(){return this._elementRef.nativeElement?this._elementRef.nativeElement.offsetWidth||0:0};f._updateFocusTrapState=function(){if(this._focusTrap){var a;this._focusTrap.enabled=!(null==(a=this._container)||!a.hasBackdrop)}};
f._updatePositionInParent=function(a){var b=this._elementRef.nativeElement,c=b.parentNode;"end"===a?(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)};
wh.Object.defineProperties(I0.prototype,{position:{configurable:!0,enumerable:!0,get:function(){return this._position},set:function(a){a="end"===a?"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=Gg(a)}},autoFocus:{configurable:!0,enumerable:!0,get:function(){var a=this._autoFocus;return null==a?"side"===this.mode?"dialog":"first-tabbable":a},set:function(a){if("true"===a||"false"===a||null==a)a=Gg(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened},set:function(a){this.toggle(Gg(a))}}});I0.\u0275fac=function(a){return new (a||I0)(C(Bd),C(Ox),C(Sx),C(Lx),C(ef),C(Mx),C(uh,8),C(NUc,8))};
I0.\u0275cmp=Mc({type:I0,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&cg(KUc,5);if(a&2){var c;bg(c=eg())&&(b._content=c.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(a,b){a&1&&rka("@transform.start",function(c){return b._animationStarted.next(c)})("@transform.done",function(c){return b._animationEnd.next(c)});a&2&&(pf("align",null),Ff("@transform",b._animationState),yf("mat-drawer-end","end"===b.position)("mat-drawer-over","over"===
b.mode)("mat-drawer-push","push"===b.mode)("mat-drawer-side","side"===b.mode)("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"],ngContentSelectors:JUc,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],
["content",""]],template:function(a){a&1&&(Gf(),H(0,"div",0,1),Hf(2),I())},dependencies:[sz],encapsulation:2,data:{animation:[IUc]},changeDetection:0});
var H0=function(a,b,c,d,e,g,h){var m=this;g=void 0===g?!1:g;this._dir=a;this._element=b;this._ngZone=c;this._changeDetectorRef=d;this._animationMode=h;this._drawers=new fg;this.backdropClick=new pw;this._destroyed=new E.Subject;this._doCheckSubject=new E.Subject;this._contentMargins={left:null,right:null};this._contentMarginChanges=new E.Subject;a&&a.change.pipe(bf(this._destroyed)).subscribe(function(){m._validateDrawers();J0(m)});e.change().pipe(bf(this._destroyed)).subscribe(function(){return J0(m)});
this._autosize=g};
H0.prototype.ngAfterContentInit=function(){var a=this;this._allDrawers.changes.pipe($e(this._allDrawers),bf(this._destroyed)).subscribe(function(b){a._drawers.reset(b.filter(function(c){return!c._container||c._container===a}));ag(a._drawers)});this._drawers.changes.pipe($e(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))&&J0(a);
a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(Ke(10),bf(a._destroyed)).subscribe(function(){return J0(a)})})};H0.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};H0.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};H0.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var J0=function(a){var b=0,c=0;if(a._left&&a._left.opened)if("side"==a._left.mode)b+=a._left._getWidth();else if("push"==a._left.mode){var d=a._left._getWidth();b+=d;c-=d}a._right&&a._right.opened&&("side"==a._right.mode?c+=a._right._getWidth():"push"==a._right.mode&&(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)})};
f=H0.prototype;f.ngDoCheck=function(){var a=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return a._doCheckSubject.next()})};
f._watchDrawerToggle=function(a){var b=this;a._animationStarted.pipe(De(function(c){return c.fromState!==c.toState}),bf(this._drawers.changes)).subscribe(function(c){"open-instant"!==c.toState&&"NoopAnimations"!==b._animationMode&&b._element.nativeElement.classList.add("mat-drawer-transition");J0(b);b._changeDetectorRef.markForCheck()});"side"!==a.mode&&a.openedChange.pipe(bf(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
f._watchDrawerPosition=function(a){var b=this;a&&a.onPositionChanged.pipe(bf(this._drawers.changes)).subscribe(function(){b._ngZone.onMicrotaskEmpty.pipe(Oe()).subscribe(function(){b._validateDrawers()})})};f._watchDrawerMode=function(a){var b=this;a&&a._modeChanged.pipe(bf((0,E.merge)(this._drawers.changes,this._destroyed))).subscribe(function(){J0(b);b._changeDetectorRef.markForCheck()})};
f._setContainerClass=function(a){var b=this._element.nativeElement.classList;a?b.add("mat-drawer-container-has-open"):b.remove("mat-drawer-container-has-open")};f._validateDrawers=function(){var a=this;this._start=this._end=null;this._drawers.forEach(function(b){"end"==b.position?a._end=b:a._start=b});this._right=this._left=null;this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)};
f._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode};f._onBackdropClicked=function(){this.backdropClick.emit();this._closeModalDrawersViaBackdrop()};f._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()})};
f._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)};f._isDrawerOpen=function(a){return null!=a&&a.opened};f._drawerHasBackdrop=function(a){return null==this._backdropOverride?!!a&&"side"!==a.mode:this._backdropOverride};
wh.Object.defineProperties(H0.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=Gg(a)}},hasBackdrop:{configurable:!0,enumerable:!0,get:function(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)},set:function(a){this._backdropOverride=null==a?null:Gg(a)}},scrollable:{configurable:!0,
enumerable:!0,get:function(){return this._userContent||this._content}}});H0.\u0275fac=function(a){return new (a||H0)(C(lz,8),C(Bd),C(ef),C(Hw),C(vz),C(MUc),C(Ov,8))};
H0.\u0275cmp=Mc({type:H0,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(dg(c,G0,5),dg(c,I0,5));if(a&2){var d;bg(d=eg())&&(b._content=d.first);bg(d=eg())&&(b._allDrawers=d)}},viewQuery:function(a,b){a&1&&cg(G0,5);if(a&2){var c;bg(c=eg())&&(b._userContent=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},
outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Pf([{provide:NUc,useExisting:H0}])],ngContentSelectors:["mat-drawer","mat-drawer-content","*"],decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Gf(LUc),P(0,kfb,1,2,"div",0),Hf(1),Hf(2,1),P(3,lfb,2,0,"mat-drawer-content",1));a&2&&(F("ngIf",b.hasBackdrop),B(3),F("ngIf",!b._content))},dependencies:[Ow,
G0],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{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);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);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 OUc=["*"],PUc=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],K0=function(a,b,c,d,e){G0.call(this,a,b,c,d,e)};U(K0,G0);K0.\u0275dir=G0.\u0275dir;K0.\u0275fac=function(a){return new (a||K0)(C(Hw),C(Cc(function(){return L0})),C(Bd),C(rz),C(ef))};
K0.\u0275cmp=Mc({type:K0,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(a,b){a&2&&xf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},features:[Pf([{provide:sz,useExisting:K0}]),lf],ngContentSelectors:OUc,decls:1,vars:0,template:function(a){a&1&&(Gf(),Hf(0))},encapsulation:2,changeDetection:0});
var M0=function(){I0.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};U(M0,I0);
wh.Object.defineProperties(M0.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=Gg(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=Jg(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=Jg(a)}}});
M0.\u0275fac=function(){var a;return function(b){return(a||(a=zd(M0)))(b||M0)}}();
M0.\u0275cmp=Mc({type:M0,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(a,b){a&2&&(pf("align",null),xf("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),yf("mat-drawer-end","end"===b.position)("mat-drawer-over","over"===b.mode)("mat-drawer-push","push"===b.mode)("mat-drawer-side","side"===b.mode)("mat-drawer-opened",b.opened)("mat-sidenav-fixed",b.fixedInViewport))},
inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[lf],ngContentSelectors:OUc,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(a){a&1&&(Gf(),H(0,"div",0,1),Hf(2),I())},dependencies:[sz],encapsulation:2,data:{animation:[IUc]},changeDetection:0});var L0=function(){H0.apply(this,arguments);this._content=this._allDrawers=void 0};U(L0,H0);
L0.\u0275fac=function(){var a;return function(b){return(a||(a=zd(L0)))(b||L0)}}();
L0.\u0275cmp=Mc({type:L0,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(dg(c,K0,5),dg(c,M0,5));if(a&2){var d;bg(d=eg())&&(b._content=d.first);bg(d=eg())&&(b._allDrawers=d)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,b){a&2&&yf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],features:[Pf([{provide:NUc,useExisting:L0}]),lf],ngContentSelectors:["mat-sidenav",
"mat-sidenav-content","*"],decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Gf(PUc),P(0,nfb,1,2,"div",0),Hf(1),Hf(2,1),P(3,ofb,2,0,"mat-sidenav-content",1));a&2&&(F("ngIf",b.hasBackdrop),B(3),F("ngIf",!b._content))},dependencies:[Ow,K0],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{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);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);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 N0=function(){};N0.\u0275fac=function(a){return new (a||N0)};N0.\u0275mod=Oc({type:N0});N0.\u0275inj=xc({imports:[bx,Lz,wz,wz,Lz]});var QUc=["issueSidenavContainer"],agb=function(a,b,c){return{low:a,high:b,p0:c}},Igb=function(a){return{id:a}},nhb=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},Ohb=function(){return[]},O0=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q){var Z=this;this.activeSession=a;this.cdr=b;this.elementRef=c;this.teamsService=d;this.ngZone=e;this.userPreferencesManager=g;this.hotlistFridge=h;this.issueFridge=m;this.bLocation=r;this.issuePagination=v;this.paths=y;this.errorHandler=A;
this.$log=G;this.domSafe=N;this.currentTracker=Q;this.ISSUE_STATUS_JS_ICON_NAME=wec;this.STATUS_JS_FULL_TEXT=Al;this.STATUS_JS_TERSE=pF;this.lastCheckedIndex=null;this.focusedRowIndexChange=new pw;this.columns=[];this.columnsChange=new pw;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new pw;this.rowClick=new pw;this.init=new pw;this.onRowDragDrop=new pw;this.onNextPage=new pw;this.onPrevPage=new pw;this.selectionCallbacks=[];this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=
EE(this.activeSession,"enableAggregationRules");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.destroyed$=new E.ReplaySubject(1);this.starInProgress={};this.readUnreadOptOut=EE(this.activeSession,"readUnreadOptOut");b=ta(mab);a.isInternalSession()||(qa(b,"minSlo"),qa(b,"responseSlo"),qa(b,"assignmentSlo"),qa(b,"closureSlo"),qa(b,"deletionTime"),qa(b,"team"),qa(b,"estimate"),qa(b,"estimateTotalOpen"),qa(b,"estimateTotalComplete"));this.availableColumns=b.map(pq);this.dragDropLogic=new pTc({ngZone:this.ngZone,
nativeElement:this.elementRef.nativeElement,rowFinder:function(Y){return RUc(Z,Y)},onRowDragDrop:function(Y){Z.onRowDragDrop.emit(Y)}})};f=O0.prototype;f.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(bf(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.isIssueSidebarEnabled=this.enableSidebar&&EE(this.activeSession,"enableIssueSidebar")||!1;this.init.emit(this)};
f.ngOnChanges=function(a){if(a.searchResults){var b,c=aqa((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(ad(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(ad(c)))}if(a.searchResults||a.columns)for(b=k(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&SUc(this);if(a.searchResults){b=a.searchResults.currentValue;var d;a=new Set((null==(d=a.searchResults.previousValue)?void 0:d.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||
[]);d=new Set((null==b?void 0:b.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||[]);rqa(a,d)||P0(this)}};f.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};f.focus=function(){this.grid.focus()};f.selectAll=function(){if(this.searchResults){for(var a=k(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}P0(this)};
var TUc=function(a){if(a.searchResults){for(var b=k(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}P0(a)};O0.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};var xfb=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1};
O0.prototype.someIssuesSelected=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};O0.prototype.getHeaderCheckboxState=function(){if(!this.searchResults)return"unchecked";for(var a=!0,b=!1,c=k(this.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};
O0.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};var VUc=function(a){if(UUc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),P0(a))}};
O0.prototype.toggleAllIssueSelection=function(){if(this.searchResults){for(var a=!this.someIssuesSelected(),b=k(this.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges();P0(this)}};
var qfb=function(a){null!=a.focusedRowIndex&&a.searchResults&&a.focusedRowIndex<a.searchResults.issues.length-1?(a.focusedRowIndex++,a.focusedRowIndexChange.emit(a.focusedRowIndex),a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasNextPage()&&$Lc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},rfb=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&$Lc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},WUc=function(a,b){b=void 0===b?{}:b;var c=a.getFocusedIssue();c&&(b.openInNewTab?a.domSafe.openInNewTab(a.paths.editIssue(c.issueId)):a.bLocation.url(a.paths.editIssue(c.issueId)))};
O0.prototype.getFocusedIssue=function(){return UUc(this)&&null!=this.focusedRowIndex&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};var XUc=function(a,b){a.selectionCallbacks.push(b);b()};
O0.prototype.onCheckboxClicked=function(a,b,c){if(a.shiftKey&&(a=c.selected,null!==this.lastCheckedIndex&&this.searchResults)){if(b<this.lastCheckedIndex){var d=b+1;var e=this.lastCheckedIndex+1}else d=this.lastCheckedIndex,e=b;d=this.searchResults.issues.slice(d,e);d=k(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a;P0(this)}c.selected=!c.selected;this.lastCheckedIndex=b;P0(this)};
var P0=function(a){a=k(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},YUc=function(a){UUc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},ZUc=function(a,b){b=void 0===b?!0:b;var c=a.getSelectedIssues();if(0!==c.length){for(var d=k(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();$H(a.issueFridge,c.map(function(g){return g.issueId}),{markRead:b}).then(function(g){for(var h=k(c),m=h.next();!m.done;m=
h.next()){var r=void 0;m.value.lastViewedTime=null!=(r=g)?r:null}}).catch(function(){for(var g=k(c),h=g.next();!h.done;h=g.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
O0.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,Hic(this.issueFridge,String(a.issueId),a.starred).pipe(Oe(),bf(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()}))};
O0.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var UUc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},RUc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},SUc=function(a){if(a.searchResults){for(var b=new Set,c=k(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),"0"!==d&&b.add(d);0<b.size?(a.isLoadingTeams=!0,mjc(a.teamsService,[].concat(ad(b))).pipe(bf(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var g=
k(a.searchResults.issues),h=g.next();!h.done;h=g.next()){h=h.value;var m=String(h.teamId);"0"!==m&&(m=e.get(m))&&(h.team=m.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};f=O0.prototype;f.isIssueGridColumn=function(){return!0};f.isLowPriority=function(a){return 2<=Number(a.priority)};f.isHighPriority=function(a){return 2>Number(a.priority)};f.isP0Priority=function(a){return 0===Number(a.priority)};
f.getComponentPath=function(a){return ai(a)?a.join(" > "):(a=Ds(this.currentTracker,a))&&a.componentPathName?a.componentPathName.join(" > "):""};O0.\u0275fac=function(a){return new (a||O0)(C(bt),C(PH,2),C(Bd),C(vI),C(ef),C(qJ),C(FH),C(YH),C(cH),C(cX),C(dH),C(oG),C(nG),C(LK),C(eL))};
O0.\u0275cmp=Mc({type:O0,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(cg(N_,7),cg(QUc,5));if(a&2){var c;bg(c=eg())&&(b.grid=c.first);bg(c=eg())&&(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:[Pf([PH]),ed],decls:6,vars:2,consts:[["hasBackdrop","false",3,"sidebar-enabled",4,"ngIf","ngIfElse"],["issuesGrid",""],["issueWithHovercard",""],["hasBackdrop","false"],["issueSidenavContainer",""],["mode","side","position","end",3,"opened"],[3,"issueId","closeSidebar","navigateToNextIssue","navigateToPreviousIssue"],[4,"ngTemplateOutlet"],[1,"keep-focus-ring",3,"list","columns","focusedRowIndex","scrollContainer",
"sort","rowLabelRenderer","columnsChange","focusedRowIndexChange","sortChange","rowClick"],["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",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,"state","click","keydown.enter","keydown.space"],[3,"column"],[3,"column","availableColumns","selectedColumns","selectedColumnsChange",4,"ngIf"],[3,"column",4,"ngIf"],[3,"column","availableColumns","selectedColumns","selectedColumnsChange"],["draggable","true",
1,"drag-handle"],["tabindex","-1","role","checkbox",3,"state","click"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage","starClicked"],["data-template","issueId",1,"clickable"],[3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"row-issue-id",3,"issueId","showCopyOptions","click"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState",
"showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["class","bv2-hotlist-chips",4,"ngIf"],[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"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""]],template:function(a,b){a&
1&&(H(0,"div"),P(1,sfb,6,5,"mat-sidenav-container",0),I(),P(2,Phb,46,51,"ng-template",null,1,hg),P(4,Rhb,5,2,"ng-template",null,2,hg));if(a&2){var c=Lf(3);B(1);F("ngIf",b.isIssueSidebarEnabled)("ngIfElse",c)}},dependencies:[U_,Mw,Nw,Ow,Tw,Pw,Qw,Rw,bB,Tz,M0,L0,K0,N_,S_,O_,P_,Q_,tT,vT,VK,wT,KK,TT,F0,hL,nP,WT,jK,kK,oK,lK,vP,B0,bL,QM,T_,WJ,VJ,ZJ,YJ],styles:["mat-sidenav-container.sidebar-enabled[_ngcontent-%COMP%]{height:calc(100vh - 100px)}/*# sourceMappingURL=issues_grid.css.map */"],changeDetection:0});
var Q0=new oq({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),$Uc=new oq({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),R0=new oq({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),S0=new oq({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),aVc=new oq({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var T0=function(a,b,c){GE.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new pw;this.onCloseIssuePicker=function(e){e=void 0===e?[]:e;if(0!==e.length&&null!=d.id){var g=e.join(", ");d.snackBar.open(1===e.length?"Adding issue "+g+" to this hotlist":"Adding multiple issues to this hotlist: "+g,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 g,h,m,r,v=null!=(r=null!=(m=null==e?void 0:null==(g=e.error)?void 0:g.message)?m:null==e?void 0:null==(h=e.data)?void 0:h.message)?r:"Error adding issues to the hotlist";d.snackBar.open(v,"close",{panelClass:"error"})}};U(T0,GE);T0.\u0275dir=GE.\u0275dir;T0.\u0275fac=function(a){return new (a||T0)(C(jG),C(MP),C(WE))};
T0.\u0275cmp=Mc({type:T0,selectors:[["hotlist-add-issue-btn"]],inputs:{id:["hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[lf],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&&(H(0,"button",0),M("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),R(1," Add Issue(s) "),I())},dependencies:[qA,tC],encapsulation:2});var U0=function(a,b,c,d){GE.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(af(function(g){return e.fridge.watchOne(g)}),Ye({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(D(function(g){return!(null==g||!g.archived)}),Ne());this.archiveActionLabel$=this.archived$.pipe(D(function(g){return g?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(D(function(g){return g?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(g){return function(){e.snackBar.open(g?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(g){return function(h){var m=g?"archiving":"unarchiving";e.snackBar.open(fm(h)||"Error "+m+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(bf(this.destroyed$)).subscribe(function(g){e.latestHotlist=g})};U(U0,GE);U0.\u0275dir=GE.\u0275dir;
U0.prototype.isThinking=function(a){return this.fridge.isThinking(a)};U0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var cVc=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:kp("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){bVc(a,b)}}):bVc(a,b)}},bVc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
U0.\u0275fac=function(a){return new (a||U0)(C(FH),C(jG),C(kJ),C(sG))};
U0.\u0275cmp=Mc({type:U0,selectors:[["hotlist-archive-btn"]],inputs:{id:["hotlistId","id"]},features:[lf,ed],decls:4,vars:7,consts:[["mat-button","",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(H(0,"button",0),M("click",function(){return cVc(b)}),S(1,"async"),R(2),S(3,"async"),I());if(a&2){var c;F("disabled",b.isThinking(b.id))("matTooltip",null!==(c=T(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");B(2);Mf(" ",T(3,5,b.archiveActionLabel$)," ")}},dependencies:[qA,
tC,Uw],encapsulation:2});var V0=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N){r_.call(this,a,b,c,d,e,g,h,m,r,v,G,N);this.estadoService=y;this.refreshMonitor=A;this.init=new pw;this.onRefresh=new pw;this.isHotlistAdmin=!1;this.onExportCsv=new pw;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!a.currentTracker.inTracker;this.enableBulkEditUi=EE(this.activeSession,"enableBulkEditUi");this.controllerName="gridControls"};U(V0,r_);
V0.\u0275dir=r_.\u0275dir;f=V0.prototype;f.ngOnInit=function(){this.init.emit(this)};f.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&XUc(this.grid,function(){b.onSelectionChange()})};f.getSelectedIssues=function(){var a,b;return null!=(b=null==(a=this.grid)?void 0:a.getSelectedIssues())?b:[]};f.refresh=function(){this.refreshMonitor.refreshRequest.next();this.onRefresh.emit()};f.openInEstado=function(){this.estadoService.openInEstado()};var dVc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};
V0.\u0275fac=function(a){return new (a||V0)(C(PF),C(PH,2),C(bt),C(TH),C(GM),C(MU),C(mJ),C(YY),C(DA),C(nG),C(M_),C(WH),C(MP),C(qJ))};
V0.\u0275cmp=Mc({type:V0,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[Pf([PH]),lf,ed],decls:11,vars:8,consts:[["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,"showExportCsv","showFlagIssuesAsSpam","exportCsvClicked","flagAsSpamClicked"],[3,"externalWarnings",
"save","close"],["addCommentDialog",""],[3,"enableBulkEstimatedEffortOption","readStatePrompt","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch"],[1,"bv2-grid-hotlist-picker"],[3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],[3,"hotlistId","issueAddedToHotlist",4,"ngIf"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId","issueAddedToHotlist"],
[3,"hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"size","format","onAction"],["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"],["class","bv2-external-component-modal-warning",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial",
"",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],[3,"comment","showToolbar","commentChange","onSubmit"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(H(0,"b-button",0),M("onAction",function(){return b.refresh()}),J(1,"b-icon",1),I(),P(2,Shb,2,4,"b-app-bar-bulk-edit-menus",2),P(3,Thb,1,2,"b-copy-issue-id-button",3),P(4,Uhb,2,2,"div",4),P(5,Xhb,3,2,"ng-container",
5),P(6,Zhb,3,3,"b-button",6),H(7,"b-app-bar-more-menu",7),M("exportCsvClicked",function(){return b.onExportCsv.emit()})("flagAsSpamClicked",function(){return ySc(b)}),I(),H(8,"b-state-modal",8),M("save",function(){return wSc(b)})("close",function(){return b.hotkeys.unpause()}),I(),P(9,dib,11,6,"ng-template",null,9,hg));a&2&&(B(2),F("ngIf",b.hasSelectedIssues()),B(1),F("ngIf",b.hasSelectedIssues()),B(1),F("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),B(1),F("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),
B(1),F("ngIf",b.enableEstadoInAppBar),B(1),F("showExportCsv",b.isNonPublicSession)("showFlagIssuesAsSpam",dVc(b)),B(1),F("externalWarnings",b.externalWarnings))},dependencies:[QW,PW,XP,h_,Nw,Ow,nP,VY,U0,T0,p_,GN,qA,EA,FA,GA,HA,i_,BS,Uw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var eVc=function(a){return{displayText:"Admins",values:a}},fVc=function(a){return[a]},gVc=function(a){return{displayText:"Appenders",values:a}},hVc=kp("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?"),W0=function(a,b,c,d,e,g,h,m,r){GE.call(this);var v=this;this.hotlistAccessPolicyFridge=a;this.links=b;this.snackBar=
c;this.events=d;this.dialog=g;this.permissions=h;this.userApi=m;this.activeSession=r;this.id$=new E.ReplaySubject(1);this.idSubject$=zn(this.id$.pipe(bf(this.destroyed$)));this.acl$=this.id$.pipe(af(function(y){return v.hotlistAccessPolicyFridge.watchOne(y)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=Vkc(this.links);this.validity={};this.isValid=function(){return Object.values(v.validity).every(Boolean)};this.isInvalid=function(){return!v.isValid()};
this.allAppenders=[];this.onPressSave=function(){v.isRevokingAdmin()?v.dialog.open({title:"Change Hotlist Admins",content:hVc,isDestructive:!0,onConfirm:v.doSave}):v.doSave()};this.doSave=function(){var y=v.idSubject$.value;if(null!=y){var A=v.isRevokingAdmin();y={id:y,admins:BMa(v.admins),appenders:BMa(v.appenders),editors:null,readers:BMa(v.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
v.hotlistAccessPolicyFridge.save(y).subscribe({next:v.didSave(A,y.id),error:v.gotErr})}};this.didSave=function(y,A){return function(){v.snackBar.open("Access control saved",void 0,{duration:2500});v.events.hotlistChanged.next();v.permissions.poke(A);y&&v.doStar()}};this.gotErr=function(y){v.snackBar.open(fm(y)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var y=v.idSubject$.value;y&&v.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:y,userLogin:v.activeSession.getUserEmail()}).then(function(){v.events.hotlistChanged.next()})};
this.onPressRevert=function(){v.resetEdits()};this.gotAcl=function(y){v.latestPolicy=y;var A,G,N;v.latestCompactPolicy={admins:Xo(null==(A=v.latestPolicy)?void 0:A.admins),appenders:Xo(null==(G=v.latestPolicy)?void 0:G.appenders),readers:Xo(null==(N=v.latestPolicy)?void 0:N.readers)};v.resetEdits()};this.isChanged=function(){var y=v.latestCompactPolicy,A;if(!Yh(null!=(A=y.admins)?A:[],v.admins))return!0;var G;if(!Yh(null!=(G=y.appenders)?G:[],v.appenders))return!0;var N;return Yh(null!=(N=y.readers)?
N:[],v.readers)?!1:!0};this.hasNoChanges=function(){return!v.isChanged()};this.acl$.pipe(bf(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add($P(e,this.isChanged,!1))};U(W0,GE);W0.\u0275dir=GE.\u0275dir;var iVc=function(a){return[].concat(ad(new Set([].concat(ad(a.admins),ad(a.appenders)))))};W0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
W0.prototype.resetEdits=function(){var a;this.admins=[].concat(ad(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(ad(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(ad(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=iVc(this)};W0.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=null!=(b=this.latestCompactPolicy.admins)?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
W0.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(Hua(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};W0.\u0275fac=function(a){return new (a||W0)(C(GG),C(jJ),C(jG),C(sG),C(ZP),C(kJ),C(fI),C(BH),C(bt))};
W0.\u0275cmp=Mc({type:W0,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[lf,ed],decls:22,vars:24,consts:[[1,"flex-kids-y"],[1,"muted","type-s","margin-s-bottom"],[3,"users","usersChange","isValid"],[3,"users","includeAliases","containerChips","usersChange","isValid"],[3,"users","includeAliases","includeViewAliases","containerChips","usersChange","isValid"],["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,"disabled","matTooltip","click"],["mat-button","","type","button",1,"gmat-button","medium",3,"disabled","matTooltip","click"]],template:function(a,b){a&1&&(H(0,"form",0)(1,"label"),R(2,"Admins"),I(),H(3,"p",1),R(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),I(),H(5,"b-multi-user-input",2),M("usersChange",function(c){b.admins=c;b.allAppenders=iVc(b)})("isValid",
function(c){return b.validity.admins=c}),I(),H(6,"label"),R(7,"View and append"),I(),H(8,"p",1),R(9,"Reorder hotlist, add/remove issues"),I(),H(10,"b-multi-user-input",3),M("usersChange",function(c){b.appenders=c;b.allAppenders=iVc(b)})("isValid",function(c){return b.validity.appenders=c}),I(),H(11,"label"),R(12,"View only"),I(),H(13,"p",1),R(14,"View the hotlist"),I(),H(15,"b-multi-user-input",4),M("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),I()(),
H(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 "),H(18,"a",5),R(19,"access control documentation"),I(),R(20," for an explanation of the settings.\n"),I(),P(21,eib,5,4,"div",6));a&2&&(B(5),yf("disabled",b.isReadOnly),F("users",b.admins),B(5),yf("disabled",b.isReadOnly),F("users",b.appenders)("includeAliases",!0)("containerChips",Sf(18,fVc,Sf(16,eVc,b.admins))),B(5),yf("disabled",b.isReadOnly),F("users",b.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",Sf(22,fVc,Sf(20,gVc,b.allAppenders))),B(3),F("href",b.accessControlLink,Sd),B(3),F("ngIf",!b.isReadOnly))},dependencies:[Ow,vx,px,sx,qA,tC,a0],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 jVc=["hotlistName"],X0=function(a,b,c,d){GE.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(af(function(g){return e.fridge.watchOne(g)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(g){e.latestHotlist=g;var h;e.isArchived=null!=(h=null==g?void 0:g.archived)?h:!1;e.resetEdits(g)};this.gotErr=function(g){e.snackBar.open(fm(g)||"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 g,h=null!=(g=e.latestHotlist)?g:{};return!Yh(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(bf(this.destroyed$)).subscribe(function(g){e.gotHotlist(g)});this.subscriptions.add($P(d,
this.isChanged,!1))};U(X0,GE);X0.\u0275dir=GE.\u0275dir;X0.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};X0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};X0.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=Zh(a))?b:{}};X0.\u0275fac=function(a){return new (a||X0)(C(FH),C(jG),C(sG),C(ZP))};
X0.\u0275cmp=Mc({type:X0,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&cg(jVc,5);if(a&2){var c;bg(c=eg())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[lf,ed],decls:10,vars:5,consts:[["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,"disabled","ngModel","ngModelChange"],["hotlistName",""],["for","hotlist-description",
1,"margin-top"],["id","hotlist-description","name","description",3,"disabled","ngModel","ngModelChange"],["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,"disabled","matTooltip","click"],["mat-button","","type","button",1,"gmat-button","medium",3,"disabled","matTooltip","click"],[3,"hotlistId"]],template:function(a,b){a&1&&(H(0,"form",0)(1,"label",1),R(2,"Name"),I(),H(3,"input",
2,3),M("ngModelChange",function(c){return b.localEdits.name=c}),I(),H(5,"label",4),R(6,"Description"),I(),H(7,"textarea",5),M("ngModelChange",function(c){return b.localEdits.description=c}),R(8,"  "),I(),P(9,fib,7,7,"div",6),I());a&2&&(B(3),F("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.name),B(4),F("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.description),B(2),F("ngIf",!b.isReadOnly))},dependencies:[Ow,vx,xg,ox,px,Fx,ux,sx,qA,tC,U0,Uw],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-input-element){border:1px solid;border-color:#ea4335;border-color:var(--bad)}/*# sourceMappingURL=edit_hotlist_basic.css.map */"]});var Y0=function(a,b){GE.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(af(function(d){return c.hotlists.watchOne(d)}))};U(Y0,GE);Y0.\u0275dir=GE.\u0275dir;Y0.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};Y0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};Y0.\u0275fac=function(a){return new (a||Y0)(C(FH),C(GG))};
Y0.\u0275cmp=Mc({type:Y0,selectors:[["b-edit-hotlist-header"]],inputs:{id:["hotlistId","id"]},features:[lf,ed],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&&(H(0,"header",0)(1,"h2")(2,"span",1),R(3),I(),P(4,gib,2,1,"ng-container",2),S(5,"async"),I(),P(6,hib,2,0,"strong",3),S(7,"async"),P(8,iib,1,0,"b-spinner",2),I());if(a&2){var c;B(3);Mf(" Hotlist ",b.id,
": ");B(1);F("ngIf",T(5,4,b.hotlist$));B(2);F("ngIf",null==(c=T(7,6,b.hotlist$))?null:c.archived);B(2);F("ngIf",b.isThinking(b.id))}},dependencies:[Ow,wM,Uw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var Z0=function(a){GE.call(this);this.activeSession=a;this.URLS=Ls;this.id$=new E.ReplaySubject(1);this.enableBulkEditUi=EE(this.activeSession,"enableBulkEditUi")};U(Z0,GE);Z0.\u0275dir=GE.\u0275dir;Z0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};Z0.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};Z0.\u0275fac=function(a){return new (a||Z0)(C(bt))};
Z0.\u0275cmp=Mc({type:Z0,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:["hotlistId","id"]},features:[lf,ed],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&&(H(0,"section",0)(1,"b-button",1),M("onAction",function(){return b.onPressBack()}),J(2,"b-icon",2),I(),H(3,"a",3),R(4," View Issues "),I(),P(5,jib,2,3,"hotlist-add-issue-btn",4),I());a&2&&(B(3),F("href",b.URLS.HOTLIST_VIEW(b.id),Sd),B(2),F("ngIf",b.enableBulkEditUi))},dependencies:[Ow,rA,tC,XP,GN,T0,Uw],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var kVc=new Map([[403,"You do not have permission to view this Hotlist."],[404,"This Hotlist does not exist."]]),a1=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(D(function(e){return null==e?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(D(function(e){var g;return null!=(g=e.status)?g:-1}),D(function(e){var g;
return null!=(g=kVc.get(e))?g:"unknown error"}),$e(void 0));this.tabIndex=0};a1.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};a1.\u0275fac=function(a){return new (a||a1)(C(JJ),C(bW),C(fI),C(FH))};
a1.\u0275cmp=Mc({type:a1,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&&(P(0,lib,13,14,"ng-container",0),S(1,"async"),P(2,mib,7,1,"ng-container",0),S(3,"async"));a&2&&(F("ngIf",void 0===T(1,2,b.hotlistErrorMsg$)),B(2),F("ngIf",T(3,
4,b.hotlistErrorMsg$)))},dependencies:[Ow,tN,sN,yN,bP,W0,X0,Y0,Z0,Uw],encapsulation:2});var b1=function(){};b1.\u0275fac=function(a){return new (a||b1)};b1.\u0275cmp=Mc({type:b1,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&P(0,nib,3,1,"b-callout",0);a&2&&F("ngIf",b.error)},dependencies:[Ow,WW,XW],encapsulation:2});var c1=function(){};c1.\u0275fac=function(a){return new (a||c1)};c1.\u0275mod=Oc({type:c1});c1.\u0275inj=xc({imports:[cG,gX]});var d1=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};d1.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!Fl(this.email)};d1.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};d1.\u0275fac=function(a){return new (a||d1)(C(bt))};
d1.\u0275cmp=Mc({type:d1,selectors:[["b-group-email-card"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],["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&&(Gf(),P(0,tib,17,5,"ng-container",0),P(1,uib,1,0,"ng-template",null,1,hg));if(a&2){var c=Lf(2);F("ngIf",!!Fl(b.email))("ngIfElse",c)}},dependencies:[Ow,Tw,bB,jK,oK],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 e1=function(){};e1.\u0275fac=function(a){return new (a||e1)};e1.\u0275mod=Oc({type:e1});e1.\u0275inj=xc({imports:[cG,JN]});var Ika=function(a,b,c,d,e,g){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:g}},f1=function(a){GE.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 pw;this.chipClear=new pw;this.chipRemove=new pw};U(f1,GE);
f1.\u0275dir=GE.\u0275dir;f=f1.prototype;f.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};f.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};f.isContainerChip=function(){return null!==this.nestedChips};f.isUserChip=function(){return"USER"===this.principalType};f.isGroupChip=function(){return"GROUP"===this.principalType};f.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};
f.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};f.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.accessLevel&&this.isPublicChip()};f.isInternalAccessViolated=function(){return"INTERNAL"===this.accessLevel&&(this.isExternalChip()||this.isPublicChip())};
f.getTooltip=function(){if("ALIAS"!==this.principalType)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 logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("ve`"+this.value);}};
var lVc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};f1.\u0275fac=function(a){return new (a||f1)(C(bt))};
f1.\u0275cmp=Mc({type:f1,selectors:[["b-contact-chip"]],inputs:{isReadonly:"isReadonly",isSelected:"isSelected",isWidgetDisabled:"isWidgetDisabled",principalType:"principalType",detailedUserType:"detailedUserType",nestedChips:"nestedChips",value:"value",displayText:"displayText",accessLevel:"accessLevel"},outputs:{chipSelection:"chipSelection",chipClear:"chipClear",chipRemove:"chipRemove"},features:[lf],decls:9,vars:15,consts:[[1,"bv2-user-chip-item",3,"ngClass","matTooltip","focus","blur"],[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,"matTooltip","click","keydown.enter"],["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&&(H(0,"span",0),M("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),H(1,"span",1),P(2,vib,1,1,"mat-icon",2),I(),H(3,"div",3),P(4,wib,2,2,"b-person-hovercard",4),P(5,xib,2,2,"b-group-email-card",
4),P(6,yib,2,1,"div",5),I(),P(7,zib,2,2,"div",6),P(8,Bib,7,1,"div",7),I());a&2&&(F("ngClass",Jka(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),B(2),F("ngIf",lVc(b)),B(2),F("ngIf",b.isUserChip()),B(1),F("ngIf",b.isGroupChip()),B(1),F("ngIf",!b.isUserChip()&&!b.isGroupChip()),B(1),F("ngIf",!b.isReadonly&&!b.isWidgetDisabled),B(1),F("ngIf",b.isContainerChip()))},dependencies:[Mw,
Nw,Ow,bB,tC,KK,d1,f1],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 g1=function(){};g1.\u0275fac=function(a){return new (a||g1)};g1.\u0275mod=Oc({type:g1});g1.\u0275inj=xc({imports:[cG,Jx,uD,SN,e1,aK,xS,$Y]});pea(a0,[Nw,Ow,xg,ox,ux,wS,ZY,f1]);var h1=function(){};h1.\u0275fac=function(a){return new (a||h1)};h1.\u0275mod=Oc({type:h1});h1.\u0275inj=xc({providers:[{provide:Nqc,useValue:{enabled:!0}}],imports:[cG,Jx,QC,uD,xN,hT,iG,fO,bO,eO,c1,g1,eP]});var i1=function(){};i1.\u0275fac=function(a){return new (a||i1)};i1.\u0275mod=Oc({type:i1});i1.\u0275inj=xc({imports:[SW,hT,z_,cG,sP,XY,h1,C_,bO,QC,IA,uD,B_,A_]});var j1=function(a,b,c,d,e){GE.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=ti;this.hotlists=[];this.registerKeys()};U(j1,GE);j1.\u0275dir=GE.\u0275dir;f=j1.prototype;f.setFocusOnIndex=function(a){this.focusedIndex=a};f.isFocused=function(a){return this.focusedIndex===a};f.selectNext=function(){this.focusedIndex+1>=this.hotlists.length||(this.focusedIndex++,this.scrollToFocusedIndex())};
f.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
f.registerKeys=function(){var a=this,b=HM(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)};f.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?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)}}};f.renderRowLabel=function(a){return this.hotlists[a].name};f.editHotlist=function(a){this.bLocation.path(this.paths.editHotlist(a.hotlistId))};
j1.\u0275fac=function(a){return new (a||j1)(C(Bd),C(cH),C(dH),C(GM),C(PH,2))};
j1.\u0275cmp=Mc({type:j1,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[Pf([PH]),lf],decls:26,vars:1,consts:[[1,"pop-grid","bv2-resource-list"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","hotlist-name","clickable"],
["tabindex","-1",1,"grid-link",3,"href","click"],[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&&(H(0,"table",0)(1,"thead")(2,"tr",1),J(3,"th",2),H(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," Hotlist name "),I()()()(),H(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),I()()()(),H(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),R(18," Admins "),I()()()(),H(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),R(23," ID "),I()()()()()(),H(24,"tbody"),P(25,Eib,11,9,"tr",6),I()());a&2&&(B(25),F("ngForOf",b.hotlists))},dependencies:[Nw,Ow],encapsulation:2});var k1=function(){};k1.\u0275fac=function(a){return new (a||k1)};k1.\u0275mod=Oc({type:k1});k1.\u0275inj=xc({imports:[cG]});var l1=function(a,b){this.bLocation=a;this.butterBar=b},mVc=function(a,b){var c=a.bLocation.search()[b];return null!=c?Array.isArray(c)?(a.butterBar.showWarning("Given multiple values for parameter "+b+"; using the first."),c[0]):"boolean"===typeof c?"":c:null};l1.prototype.getCount=function(){var a=mVc(this,"c");return a?di(a):null};var nVc=function(a){return(a=mVc(a,"p"))?di(a):null};l1.prototype.getQuery=function(){return mVc(this,"q")};
l1.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(Mk).filter(Ei):null};l1.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Tta).filter(Ei):null};
var m1=function(a,b,c){c=void 0===c?!1:c;var d=function(e,g){c?a.bLocation.search(e,g,!0):a.bLocation.search(e,g)};void 0!==b.displayColumns&&d("d",null==b.displayColumns?null:(b.displayColumns||[]).map(function(e){return oVc(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var g="ASCENDING"==e.direction?"asc":"desc";return oVc(e.fieldId)+":"+g}));void 0!==b.page&&d("p",b.page);void 0!==b.resultsPerPage&&d("c",b.resultsPerPage);void 0!==b.query&&d("q",
b.query)},oVc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};l1.\u0275fac=function(a){return new (a||l1)(u(cH),u(lG))};l1.\u0275prov=wc({token:l1,factory:l1.\u0275fac,providedIn:"root"});var n1=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};n1.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:$n({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
n1.prototype.getParameters=function(a,b){var c=this,d=b?function(){return pVc(b)}:function(){return qVc(c)},e=b?function(){return rVc(b)}:function(){return sVc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(m){return o1(m)}).then(null,d).then(function(m){return o1(m)}).then(null,lTb(a.displayColumns)).then(function(m){return tVc(c,m)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(m){return o1(m)}).then(null,e).then(function(m){return o1(m)}).then(null,
lTb(a.sortColumns));var g=Promise.resolve(this.urlPreferences.getCount()).then(function(m){return o1(m)}).then(null,function(){return uVc(c)}).then(function(m){return o1(m)}).then(null,lTb(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(m){return o1(m)}).then(null,function(){return vVc(b,function(m){return m.query})}).then(null,lTb(a.query));a=nVc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:g,query:h,page:a}};
var o1=function(a){return null==a?Promise.reject(null):a},pVc=function(a){return vVc(a,function(b){return b.displayColumn}).then(function(b){return wVc(b)})},rVc=function(a){return vVc(a,function(b){return b.sortOrder}).then(function(b){return xVc(b)})},sVc=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return o1(b)}).then(function(b){return xVc(b)})},qVc=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return o1(b)}).then(function(b){return wVc(b)})},
uVc=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(D(function(b){var c;return null!=(c=b.resultsPerPage)?c:null}))).then(function(b){return o1(b)})},vVc=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},wVc=function(a){if(!a||!a.length)return null;a=Cl(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new Lk({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:"CANONICAL_ISSUE_ID"===b.type?"DUPLICATE_OF_ISSUE_ID":b.type})})},xVc=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new Pk(new Lk(b.column),b.order):new Pk(new Lk(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},tVc=function(a,b){function c(){for(var m=k(b),r=m.next();!r.done;r=m.next())if(r=r.value,r.isCustomField()&&!r.customFieldName){var v=d[r.customFieldId];r.customFieldName=v?v:"Custom field "+
r.customFieldId}return b}if(!b)return Promise.resolve([]);for(var d={},e=[],g=k(b),h=g.next();!h.done;h=g.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(m){d[m.customFieldId]=m.name})));return Promise.all(e).then(c,c)};n1.\u0275fac=function(a){return new (a||n1)(u(l1),u(qJ),u(vG))};n1.\u0275prov=wc({token:n1,factory:n1.\u0275fac,providedIn:"root"});var p1=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q){GE.call(this);var Z=this;this.cdr=a;this.bLocation=b;this.$log=c;this.butterBar=e;this.analytics=g;this.issuePagination=h;this.gridPreferencesFetcher=m;this.paths=r;this.errorHandler=v;this.domSafe=y;this.timeout=A;this.hotkeys=G;this.appSearchState=Q;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 pw;this.resultsLoaded=new pw;this.selectionChange=new pw;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 Y;null==(Y=Z.issuesGrid)||qfb(Y)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",
onPress:function(){var Y;null==(Y=Z.issuesGrid)||rfb(Y)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Y;null==(Y=Z.issuesGrid)||VUc(Y)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var Y;null==(Y=Z.issuesGrid)||YUc(Y)}},{keys:[Un("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Y;null==(Y=Z.issuesGrid)||ZUc(Y,!0)}},{keys:[Un("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var Y;null==(Y=Z.issuesGrid)||ZUc(Y,!1)}},{keys:[Vn("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var Y;null==(Y=Z.issuesGrid)||Y.selectAll()}},{keys:[Vn("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var Y;null==(Y=Z.issuesGrid)||TUc(Y)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(Y){var ea=N.document.activeElement;
if(1===Y&&"A"===(null==ea?void 0:ea.tagName))if(ea.href)Y=Z.paths.getBaseUrl(),fi(ea.href,Y)?b.url(ea.href.slice(Y.length)):Z.domSafe.openInNewTab(ea.href);else{var ja;null==(ja=Z.issuesGrid)||WUc(ja)}else{var va;null==(va=Z.issuesGrid)||WUc(va)}}}];this.destroyed$.subscribe(function(){var Y;null==(Y=Z.unregisterHotkeys)||Y.call(Z)})};U(p1,GE);p1.prototype.columnsChange=function(a){this.issueColumns=a};p1.prototype.ngOnInit=function(){this.getIssues();yVc(this)};
var yVc=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=HM(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},ajb=function(a,b){a.issuesGrid=b;XUc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};f=p1.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Mk(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new Pk(d,"ASC"==b?"ASCENDING":"DESCENDING");ra(this.sortPreferences,function(g){return Yh(g.fieldId,e.fieldId)});this.sortPreferences=c?[e].concat(this.sortPreferences.slice(0,2)):[e];this.page=1;this.refreshResults()}};
f.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"==a.fieldId.type?String(a.fieldId.customFieldId):bi(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};Yh(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(ad(b),ad(pab(a)));this.initialIssueColumns=Zh(this.issueColumns);this.isColumnSaveEnabled=!0};
f.goToIssue=function(a,b,c){c&&"A"===c.target.tagName||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):this.bLocation.url(a))};f.goToPage=function(a){this.page=a;this.getIssues()};f.refreshResults=function(){dX(this.issuePagination);this.getIssues()};f.exportCsv=function(){Snc(this.domSafe,this.getCsvUrl())};
f.getCsvUrl=function(){this.$log.warn("WARNING: Method getCsvUrl() not implemented.");return""};f.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()})};
f.doSearch=function(a){var b=this,c=this.getGridPreferencesDefaults(),d=this.gridPreferencesFetcher.fetch(c,a.then(function(){return{query:null!=b.resource.query?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 XLc(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return $n({searchResultsPage:a,displayColumns:d.displayColumns}).then(function(e){var g=e.searchResultsPage;b.searchResults=g;b.page=g.params.page;b.sortPreferences=g.params.sortColumns||[];b.initialSortPreferences||(b.initialSortPreferences=Zh(b.sortPreferences));d.displayColumns.then(function(h){b.initColumns(h,b.getMetaColumns(g))});b.resultsLoaded.emit(b.searchResults.issues);b.timeout.schedule(function(){var h=b.issuePagination.getFocusedIssue();
-1!=h&&(b.focusedRowIndex=h-g.startIndex)})})};f.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:zVc,sortColumns:[],query:"",resultsPerPage:25}};
f.save=function(){var a=this,b=this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):AVc).length);b=qab(b).map(function(c){return new Lk(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;mG(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=Zh(a.issueColumns);a.initialSortPreferences=Zh(a.sortPreferences);a.cdr.detectChanges()})};
f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(ad(this.initialIssueColumns||[]));if(this.initialSortPreferences&&!Yh(this.initialSortPreferences,this.sortPreferences)){raa(this.sortPreferences);var a=this.initialSortPreferences;mt(vaa,this.sortPreferences,void 0,0).apply(null,a);this.refreshResults()}};
f.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!Yh(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!Yh(this.initialSortPreferences,this.sortPreferences):!1};f.isEditable=function(){var a=this;return!!this.resource&&this.resource.adminUsers.some(function(b){return b.emailAddress===a.currentUserEmail})};f.getMetaColumns=function(){return AVc};
f.getSearchParams=function(a){a=Zh(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.url();return a};
wh.Object.defineProperties(p1.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Yh(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&&yVc(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var AVc=[Q0,R0,S0],zVc="priority type title assignee status issueId modifiedTime".split(" ").map(Mk);p1.\u0275fac=function(a){return new (a||p1)(C(PH),C(cH),C(nG),C(bt),C(lG),C(TH),C(cX),C(n1),C(dH),C(oG),C(LK),C(WF),C(GM),C(Window),C(KX))};
p1.\u0275dir=Qc({type:p1,viewQuery:function(a,b){a&1&&cg(O0,5);if(a&2){var c;bg(c=eg())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[lf]});var q1=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};q1.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:Ng("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)}})};q1.\u0275fac=function(a){return new (a||q1)(C(kJ),C(sG))};
q1.\u0275cmp=Mc({type:q1,selectors:[["b-panel-controls"]],inputs:{panelId:"panelId",first:"first",last:"last"},decls:6,vars:1,consts:[["mat-icon-button","","aria-label","Customize list view",1,"gmat-button","small","bv2-grid-settings-button",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],["menu",""],["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&&(H(0,
"div")(1,"button",0),J(2,"mat-icon",1),I(),H(3,"mat-menu",null,2),P(5,Jib,6,4,"ng-template",3),I()());if(a&2){var b=Lf(4);B(1);F("matMenuTriggerFor",b)}},dependencies:[Ow,bB,lC,jC,kC,iC,qA],encapsulation:2});var r1=function(){};r1.\u0275fac=function(a){return new (a||r1)};r1.\u0275mod=Oc({type:r1});r1.\u0275inj=xc({imports:[cG,mC,QC]});var BVc=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new pw};BVc.\u0275fac=function(a){return new (a||BVc)};
BVc.\u0275cmp=Mc({type:BVc,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,"ngClass","disabled","click"],["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&&(H(0,"button",0),M("click",function(){b.openSidebar.emit({panel:void 0})}),pd(),H(1,"svg",1)(2,"g",2),J(3,"path",3)(4,"path",4)(5,"path",5)(6,"circle",6)(7,"circle",7)(8,"circle",8)(9,"circle",9)(10,"circle",10)(11,"circle",11)(12,"circle",12),I()(),P(13,Kib,2,0,"ng-container",13),I());a&2&&(yf("icon-only-mode",b.iconOnly),
F("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),B(13),F("ngIf",!b.iconOnly))},dependencies:[Mw,Ow,qA,tC],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 s1=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};s1.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};s1.\u0275fac=function(a){return new (a||s1)(C(z0))};
s1.\u0275cmp=Mc({type:s1,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,"availablePanels","iconOnly","buttonClassname","openSidebar"]],template:function(a,b){a&1&&(P(0,Mib,3,3,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.availablePanels$))},dependencies:[Ow,BVc,Uw],encapsulation:2,changeDetection:0});var t1=function(){};t1.\u0275fac=function(a){return new (a||t1)};t1.\u0275mod=Oc({type:t1});t1.\u0275inj=xc({imports:[cG,QC,mC,bH,uD]});var u1=function(){};u1.\u0275fac=function(a){return new (a||u1)};u1.\u0275mod=Oc({type:u1});u1.\u0275inj=xc({imports:[bx]});var v1=function(){};v1.\u0275fac=function(a){return new (a||v1)};v1.\u0275mod=Oc({type:v1});v1.\u0275inj=xc({imports:[bx,uD]});var w1=function(){};w1.\u0275fac=function(a){return new (a||w1)};w1.\u0275mod=Oc({type:w1});w1.\u0275inj=xc({imports:[u1,bx,uD,v1]});var x1=function(){};x1.\u0275fac=function(a){return new (a||x1)};x1.\u0275mod=Oc({type:x1});x1.\u0275inj=xc({imports:[bx,Zy,Kz,cy,QC]});var y1=function(){};y1.\u0275fac=function(a){return new (a||y1)};y1.\u0275mod=Oc({type:y1});y1.\u0275inj=xc({imports:[bx,Jx,x1]});var z1=function(){};z1.\u0275fac=function(a){return new (a||z1)};z1.\u0275mod=Oc({type:z1});z1.\u0275inj=xc({imports:[cG,uD,w1,JY,y1,JN]});var A1=function(){};A1.\u0275fac=function(a){return new (a||A1)};A1.\u0275mod=Oc({type:A1});A1.\u0275inj=xc({imports:[bx]});var B1=function(){};B1.\u0275fac=function(a){return new (a||B1)};B1.\u0275mod=Oc({type:B1});B1.\u0275inj=xc({imports:[bx,Jx,x1,A1]});var C1=function(){};C1.\u0275fac=function(a){return new (a||C1)};C1.\u0275mod=Oc({type:C1});C1.\u0275inj=xc({imports:[cG,zP,B1]});var D1=function(){};D1.\u0275fac=function(a){return new (a||D1)};D1.\u0275mod=Oc({type:D1});D1.\u0275inj=xc({imports:[cG,vO,EY,Kx,jP]});var E1=function(){};E1.\u0275fac=function(a){return new (a||E1)};E1.\u0275mod=Oc({type:E1});E1.\u0275inj=xc({imports:[cG,uD,QC,AT,IN,yT,D1,Kz]});var F1=function(){};F1.\u0275fac=function(a){return new (a||F1)};F1.\u0275mod=Oc({type:F1});F1.\u0275inj=xc({imports:[hT,gX,cG,Jx,QC,IA,gO,iG,uD,JY]});var CVc={},DVc=(CVc.COMFORTABLE=330,CVc.COZY=300,CVc.COMPACT=270,CVc),G1=function(a){GE.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(D(function(c){var d;return null==(d=c.themePreferences)?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(D(function(c){var d;return null==(d=c.layoutPreferences)?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new E.Subject;this.currentSidebarWidth$=(0,E.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe($e(void 0))]).pipe(D(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return null!=d?d:null!=e?e:DVc[null!=c?c:"COMFORTABLE"]}));(0,E.combineLatest)([this.rightSidebarWidthChanged$.pipe(Ne()),this.sidebarWidthPreference$]).pipe(De(function(c){c=k(c);var d=c.next().value;return c.next().value!==d}),af(function(c){c=k(c);var d=c.next().value;
c.next();return flc(b.userPreferencesManager,{rightSidebarWidth:d})}),bf(this.destroyed$)).subscribe()};U(G1,GE);G1.\u0275dir=GE.\u0275dir;G1.prototype.ngOnInit=function(){};G1.\u0275fac=function(a){return new (a||G1)(C(qJ))};
G1.\u0275cmp=Mc({type:G1,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[lf],decls:7,vars:7,consts:[[1,"a11y-only"],["direction","rtl",3,"disableToggleBtn","hideToggleBtnOnOpen","minWidth","size","widthChanged"],[1,"bv2-issue-metadata"],[1,"flex-kids-y"],[3,"issueId",4,"ngIf"],[3,"issueId"]],template:function(a,b){a&1&&(H(0,"h3",0),R(1,"Issue metadata"),I(),H(2,"b-resizable-sidebar",1),M("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),S(3,"async"),
H(4,"div",2)(5,"div",3),P(6,Nib,1,1,"edit-issue-metadata",4),I()()());if(a&2){var c;B(2);F("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=T(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);B(4);F("ngIf",b.issueId)}},dependencies:[Ow,cP,A0,Uw],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var H1=function(){};H1.\u0275fac=function(a){return new (a||H1)};H1.\u0275mod=Oc({type:H1});H1.\u0275inj=xc({imports:[aK,qZ,cG,uZ,oZ,z1,w1,KM,JN,t1,BP,E1,sZ,X_,uD,eP,F1,C1,rP,RX,RC]});var I1=function(){};I1.\u0275fac=function(a){return new (a||I1)};I1.\u0275mod=Oc({type:I1});I1.\u0275inj=xc({imports:[QC,uD,Jx,RA,UA,bH,LA,cG,TN,zP,aK,eO,H1,kP,KU]});var J1=function(){};J1.prototype.getValue=function(){return this.row[this.column.name]||""};J1.prototype.isCustomField=function(){return this.column.isCustomField};
J1.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 null;a=new ni(a);Yh(this.customFieldValue,a)||(this.customFieldValue=a);return this.customFieldValue};J1.\u0275fac=function(a){return new (a||J1)};
J1.\u0275cmp=Mc({type:J1,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&&(P(0,Oib,2,2,"span",0),P(1,Pib,1,1,"b-custom-field-value-display",1));a&2&&(F("ngIf",!b.isCustomField()),B(1),F("ngIf",b.isCustomField()))},dependencies:[Ow,xZ],encapsulation:2,changeDetection:0});var K1=function(){};K1.\u0275fac=function(a){return new (a||K1)};K1.\u0275mod=Oc({type:K1});K1.\u0275inj=xc({imports:[cG,uD,yZ]});pea(N_,[Nw,Ow,Tw,S_,J1]);var L1=function(){};L1.\u0275fac=function(a){return new (a||L1)};L1.\u0275mod=Oc({type:L1});L1.\u0275inj=xc({imports:[cG,JN]});var M1=function(){};M1.\u0275fac=function(a){return new (a||M1)};M1.\u0275mod=Oc({type:M1});M1.\u0275inj=xc({imports:[cG,L1,IN]});var N1=function(){};N1.\u0275fac=function(a){return new (a||N1)};N1.\u0275mod=Oc({type:N1});N1.\u0275inj=xc({imports:[V_,cG,mC,JT,uD,QC,IA,Wz,N0,bO,K1,xT,zT,IN,AT,aK,SN,cU,M1,YN,sP,eU,wZ,JN,BP,I1,XN,UN]});var O1=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
O1.prototype.repositionIssue=function(a,b,c,d,e,g){var h=this,m=b[0].position,r=m>b[1].position,v=b[c],y=b[d].position;Baa(b,c,d);null==g||g();mG(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,v.issueId,y).then(function(){for(var A=m,G=k(b),N=G.next();!N.done;N=G.next())N.value.position=A,A+=r?-1:1;null==g||g();mG(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
O1.\u0275fac=function(a){return new (a||O1)(u(sH),u(lG),u(sG))};O1.\u0275prov=wc({token:O1,factory:O1.\u0275fac,providedIn:"root"});var P1=function(){this.pageChange=new pw;this.resultsPerPageChange=new pw;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};P1.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var EVc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
wh.Object.defineProperties(P1.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}})}}});P1.\u0275fac=function(a){return new (a||P1)};
P1.\u0275cmp=Mc({type:P1,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,"disabled","click","keydown.enter"],["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,"disabled","click","keydown.enter"],["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&&(H(0,"div",0),P(1,Qib,1,1,"b-actions-menu",1),P(2,Rib,6,3,"span",2),H(3,"button",3),M("click",function(){return EVc(b)})("keydown.enter",function(c){EVc(b);return c.stopPropagation()}),J(4,"mat-icon",4),I(),H(5,"button",5),M("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),J(6,"mat-icon",6),I()());a&2&&(B(1),F("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),B(1),F("ngIf",b.searchResults&&0<b.searchResults.issues.length),B(1),F("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),B(2),F("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[Ow,bB,qA,kL,VT],encapsulation:2});var Q1=function(){};Q1.\u0275fac=function(a){return new (a||Q1)};Q1.\u0275mod=Oc({type:Q1});Q1.\u0275inj=xc({imports:[cG,QC,NS,dU]});var R1=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea){p1.call(this,c,e,g,h,m,r,v,y,A,d,G,Q,Z,Y,ea);this.hotlists=a;this.hotlistApi=b;this.appEvents=N;this.resource=null};U(R1,p1);R1.\u0275dir=p1.\u0275dir;f=R1.prototype;f.ngOnInit=function(){p1.prototype.ngOnInit.call(this)};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?p1.prototype.setSort.call(this,a,b,!1):p1.prototype.setSort.call(this,a,b)};
f.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};
f.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"});mG(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()};f.getGridPreferencesDefaults=function(){return Object.assign({},p1.prototype.getGridPreferencesDefaults.call(this),{query:"hotlistId:"+this.hotlistId})};f.getMetaColumns=function(a){a=a.params.sortColumns||[];return 0==a.length||1==a.length&&"POSITION"==a[0].fieldId.type?FVc:GVc};f.getSearchParams=function(a){a=p1.prototype.getSearchParams.call(this,a);a.hotlistId=this.hotlistId;return a};
f.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")})};R1.\u0275fac=function(a){return new (a||R1)(C(O1),C(sH),C(PH,2),C(oG),C(cH),C(nG),C(bt),C(lG),C(TH),C(cX),C(n1),C(dH),C(LK),C(sG),C(WF),C(GM),C(FE),C(KX))};
R1.\u0275cmp=Mc({type:R1,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[Pf([PH]),lf],decls:9,vars:8,consts:[[1,"bv2-panel","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-hotlist-title-text"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"searchResults","resultsPerPageFixed","pageChange"],["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,"gmat-button","medium",3,"click"],["mat-stroked-button","","type","button","color","primary","matTooltip","Discard changes to display preferences",1,"gmat-button","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,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange","onRowDragDrop","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2),P(3,Sib,2,0,"div",3),P(4,Tib,2,0,"div",3),P(5,Wib,8,5,"div",3),I(),P(6,Xib,5,0,"div",4),H(7,"b-pagination",5),
M("pageChange",function(c){return b.goToPage(c.page)}),I()(),P(8,cjb,4,3,"div",3),I());a&2&&(pf("aria-busy",b.isLoading),B(3),F("ngIf",!b.resource&&!b.isLoading),B(1),F("ngIf",!b.resource&&b.isLoading),B(1),F("ngIf",b.resource),B(1),F("ngIf",b.hasParamChanges()),B(1),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),B(1),F("ngIf",b.resource))},dependencies:[Ow,O0,qA,tC,P1,q1,wM],encapsulation:2});var GVc=[Q0,R0,S0,aVc],FVc=[Q0,$Uc,R0,S0,aVc],S1=function(){};
S1.\u0275fac=function(a){return new (a||S1)};S1.\u0275mod=Oc({type:S1});S1.\u0275inj=xc({imports:[cG,N1,QC,uD,Q1,r1,eO]});var T1=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z){p1.call(this,b,d,e,g,h,m,r,v,y,c,A,G,N,Q,Z);this.savedSearchApi=a;this.resource=null};U(T1,p1);T1.\u0275dir=p1.\u0275dir;T1.prototype.ngOnInit=function(){p1.prototype.ngOnInit.call(this)};T1.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};T1.prototype.saveResource=function(){return Promise.resolve()};
T1.\u0275fac=function(a){return new (a||T1)(C(jI),C(PH,2),C(oG),C(cH),C(nG),C(bt),C(lG),C(TH),C(cX),C(n1),C(dH),C(LK),C(WF),C(GM),C(FE),C(KX))};
T1.\u0275cmp=Mc({type:T1,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[Pf([PH]),lf],decls:8,vars:7,consts:[[1,"bv2-panel","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],[4,"ngIf"],["tabindex","0",4,"ngIf"],[3,"searchResults","resultsPerPageFixed","pageChange"],["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,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange",
"rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2),P(3,djb,2,0,"div",3),P(4,ejb,2,0,"div",3),P(5,hjb,8,5,"div",4),I(),H(6,"b-pagination",5),M("pageChange",function(c){return b.goToPage(c.page)}),I()(),P(7,mjb,4,3,"div",3),I());a&2&&(pf("aria-busy",b.isLoading),B(3),F("ngIf",!b.resource&&!b.isLoading),B(1),F("ngIf",!b.resource&&b.isLoading),B(1),F("ngIf",b.resource),B(1),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),B(1),F("ngIf",b.resource))},
dependencies:[Ow,O0,tC,P1,q1,wM],encapsulation:2});var U1=function(){};U1.\u0275fac=function(a){return new (a||U1)};U1.\u0275mod=Oc({type:U1});U1.\u0275inj=xc({imports:[cG,N1,uD,Q1,r1,eO]});var V1=function(){this.label="Team"};V1.prototype.ngOnInit=function(){};V1.\u0275fac=function(a){return new (a||V1)};
V1.\u0275cmp=Mc({type:V1,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&&(H(0,"div",0)(1,"span",1),P(2,njb,3,3,"span",2),I()());a&2&&(pf("aria-label",b.label),B(2),F("ngForOf",b.teamPath))},dependencies:[Nw,YG],encapsulation:2});var W1=function(){};W1.\u0275fac=function(a){return new (a||W1)};W1.\u0275mod=Oc({type:W1});W1.\u0275inj=xc({imports:[cG,bH,WN]});var HVc=["form"],IVc=["numberInput"],JVc=/^\d+\.?\d*$/,KVc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},X1=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new pw;this.displayUnits=0;this.timeUnitEnum=KVc};
X1.prototype.ngOnInit=function(){var a=this;this.durationDays&&(this.displayUnits=0===this.durationDays%365?1:0,this.displayNumber=1===this.displayUnits?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()})};X1.prototype.ngAfterViewInit=function(){};
X1.prototype.onValueChange=function(){if(void 0!==this.displayNumber){switch(this.displayUnits){case 1:var a=365*this.displayNumber;break;default:a=this.displayNumber}a=Math.ceil(a)}else a=void 0;a!==this.durationDays&&(this.durationDays=a,this.durationDaysChange.emit(this.durationDays))};X1.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};X1.\u0275fac=function(a){return new (a||X1)};
X1.\u0275cmp=Mc({type:X1,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(cg(HVc,7),cg(IVc,7));if(a&2){var c;bg(c=eg())&&(b.form=c.first);bg(c=eg())&&(b.numberInput=c.first)}},inputs:{durationDays:"durationDays",disabled:"disabled",ariaLabel:"ariaLabel"},outputs:{durationDaysChange:"durationDaysChange"},decls:14,vars:7,consts:[["form","ngForm"],[1,"duration-picker-form"],["color","accent","appearance","outline"],["matInput","","type","number","step","1","min","0","name","numbers",3,
"ngModel","disabled","keydown","paste"],["numberInput",""],["name","unit",3,"ngModel","disabled"],["color","accent",3,"value"]],template:function(a,b){a&1&&(H(0,"form",null,0)(2,"div",1)(3,"mat-form-field",2)(4,"mat-label"),R(5," Custom Duration "),I(),H(6,"input",3,4),M("keydown",function(c){switch(c.key){case "-":case "e":case "E":c.preventDefault()}})("paste",function(c){var d=c.clipboardData.getData("Text");JVc.test(d)||c.preventDefault()}),I()(),H(8,"mat-form-field",2)(9,"mat-select",5)(10,"mat-option",
6),R(11,"days"),I(),H(12,"mat-option",6),R(13,"year(s)"),I()()()()());a&2&&(B(6),F("ngModel",b.displayNumber)("disabled",b.disabled),pf("aria-label",b.ariaLabel),B(3),F("ngModel",b.displayUnits)("disabled",b.disabled),B(1),F("value",b.timeUnitEnum.DAYS),B(2),F("value",b.timeUnitEnum.YEARS))},dependencies:[vx,xg,wx,ox,px,Ex,ux,sx,QA,PA,TA,iP,sA],styles:["[_nghost-%COMP%]     .duration-picker-form{display:flex;flex-direction:row;width:250px}[_nghost-%COMP%]     .duration-picker-form .mat-form-field{min-width:130px;padding-right:10px}[_nghost-%COMP%]     .duration-picker-form .mat-form-field .mat-form-field-flex{cursor:default}[_nghost-%COMP%]     .duration-picker-form .mat-form-field .mat-form-field-label{margin-top:-1.5em}[_nghost-%COMP%]     .duration-picker-form .mat-form-field.mat-focused .mat-form-field-label.mat-accent{margin-top:-0.7em}[_nghost-%COMP%]     .duration-picker-form .mat-form-field .mat-form-field-label:not(.mat-form-field-empty){margin-top:-0.7em}[_nghost-%COMP%]     .duration-picker-form .mat-form-field-wrapper{padding:0}[_nghost-%COMP%]     .duration-picker-form .mat-select-arrow-wrapper{transform:none}[_nghost-%COMP%]     .mat-form-field-infix{padding:1px 0 7px}"],
changeDetection:0});var Y1=function(){};Y1.\u0275fac=function(a){return new (a||Y1)};Y1.\u0275mod=Oc({type:Y1});Y1.\u0275inj=xc({imports:[cG,Jx,UA,RA,jP,KU]});var Z1=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};Z1.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};Z1.prototype.onNoClick=function(){this.dialogRef.close(!1)};Z1.\u0275fac=function(a){return new (a||Z1)(C(AA),C(CA),C(jJ))};
Z1.\u0275cmp=Mc({type:Z1,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,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"],[1,"notice"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1),I(),H(2,"div",1)(3,"p"),R(4,
" The "),H(5,"strong"),R(6),I(),R(7," field will change state from "),H(8,"strong"),R(9),I(),R(10," to "),H(11,"strong"),R(12),I(),R(13,". "),I(),P(14,ojb,6,2,"p",2),H(15,"p"),R(16,"Are you sure?"),I()(),H(17,"div",3)(18,"button",4),M("click",function(){return b.onNoClick()}),R(19," Cancel "),I(),H(20,"button",5),R(21," Confirm "),I()());a&2&&(B(1),Mf("Field State Change for ",b.data.fieldName,""),B(5),Nf(b.data.fieldName),B(3),Nf(b.data.oldFieldState),B(3),Nf(b.data.newFieldState),B(2),F("ngIf",
b.data.noteText),B(6),F("mat-dialog-close",!0))},dependencies:[Ow,qA,EA,FA,GA,HA],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var LVc=["fieldStateMenuButton"],MVc=function(a){return{"mat-stroked-button":a}},a2=function(a){this.dialog=a;this.fieldName="";this.fieldState="INHERIT";this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new pw;this.FieldState=qac;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."}};a2.prototype.ngOnInit=function(){this.updateMenuButton()};
a2.prototype.ngOnChanges=function(){this.updateMenuButton()};
var OVc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?NVc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},NVc=function(a,b){var c="DISABLED"===b||"INHERIT"===b&&!a.enabledOnParent,d="INHERIT"!==a.fieldState&&"INHERIT"===b,e=void 0;"DISABLED"!==a.fieldState&&("INHERIT"!==a.fieldState||a.enabledOnParent)&&c?e=a.msgs.becomesHiddenWarning:d&&(e=a.msgs.becomesInheritedWarning);yA(a.dialog.open(Z1,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:PVc(a,a.fieldState),
newFieldState:PVc(a,b),noteText:e}})).pipe(Oe()).subscribe(function(g){g?(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};a2.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=PVc(this,this.fieldState)};
var PVc=function(a,b){switch(b){case "INHERIT":return a.defaultLabel;case "DISABLED":return a.msgs.hiddenName;case "ENABLED":return a.msgs.visibleName;default:Fh(b,"Unknown FieldState.")}};a2.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};a2.\u0275fac=function(a){return new (a||a2)(C(DA))};
a2.\u0275cmp=Mc({type:a2,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&cg(LVc,5,Bd);if(a&2){var c;bg(c=eg())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[ed],decls:33,vars:18,consts:[["mat-button","",1,"field-state-menu-button","gmat-button","medium",3,"ngClass","disabled","matMenuTriggerFor"],
["fieldStateMenuButton",""],[1,"field-state-menu-button-inner"],[1,"field-state-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"field-state-dropdown-icon"],["fieldStateMenu","matMenu"],[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){a&1&&(H(0,"div")(1,"button",0,1)(3,"div",2),J(4,"span",3)(5,"b-icon",4),I()()(),H(6,"mat-menu",null,5)(8,"div",6)(9,"div",7)(10,"button",8),M("click",function(){return OVc(b,b.FieldState.INHERIT)}),J(11,"b-icon",9),H(12,"div",10),R(13),I(),H(14,"div",11),R(15),I()()(),J(16,"mat-divider"),H(17,"button",12),M("click",function(){return OVc(b,b.FieldState.DISABLED)}),H(18,"div",13)(19,"div",14),J(20,
"b-icon",9),H(21,"div",10),R(22),I(),H(23,"div",11),R(24),I()()()(),H(25,"button",12),M("click",function(){return OVc(b,b.FieldState.ENABLED)}),H(26,"div",13)(27,"div",14),J(28,"b-icon",9),H(29,"div",10),R(30),I(),H(31,"div",11),R(32),I()()()()()());if(a&2){var c=Lf(7);B(1);F("ngClass",Sf(16,MVc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",c);B(3);F("innerHTML",b.menuLabel,Qd);B(6);yf("b-menu-item-checked",b.fieldState===b.FieldState.INHERIT);B(3);Mf(" ",b.defaultLabel," ");B(2);Mf(" ",
b.msgs.inheritDescription," ");B(2);yf("b-menu-item-checked",b.fieldState===b.FieldState.DISABLED);B(5);Mf(" ",b.msgs.hiddenName," ");B(2);Mf(" ",b.msgs.hiddenDescription," ");B(1);yf("b-menu-item-checked",b.fieldState===b.FieldState.ENABLED);B(5);Mf(" ",b.msgs.visibleName," ");B(2);Mf(" ",b.msgs.visibleDescription," ")}},dependencies:[Mw,qA,xM,lC,jC,kC,GN],styles:[".field-state-menu[_ngcontent-%COMP%]{max-width:210px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.field-state-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-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 b2=function(){};b2.\u0275fac=function(a){return new (a||b2)};b2.\u0275mod=Oc({type:b2});b2.\u0275inj=xc({imports:[cG,QC,IA,JT,mC,bO,hT]});var c2=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};c2.prototype.close=function(){this.dialogRef.close(!1)};c2.\u0275fac=function(a){return new (a||c2)(C(CA),C(AA))};
c2.\u0275cmp=Mc({type:c2,selectors:[["b-unsubscribe-dialog"]],decls:21,vars:3,consts:[["mat-dialog-title",""],[1,"gmat-body-2"],[1,"gmat-body-1"],["target","_blank",3,"href"],["mat-button","",1,"gmat-button",3,"click"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","dialog-primary-action",3,"click"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Unsubscribe From Issue"),I(),H(2,"mat-dialog-content")(3,"div",1),R(4," Are you sure you would like to unsubscribe from the following issue? "),
I(),J(5,"br"),H(6,"div",2)(7,"a",3)(8,"span"),R(9),I()(),R(10," - "),H(11,"span"),R(12),I()(),J(13,"br"),H(14,"div",1),R(15," By unsubscribing, you will no longer receive email updates about this issue. "),I()(),H(16,"mat-dialog-actions")(17,"button",4),M("click",function(){return b.close()}),R(18," Cancel "),I(),H(19,"button",5),M("click",function(){b.dialogRef.close(!0)}),R(20," Unsubscribe "),I()());a&2&&(B(7),If("href","/issues/",b.issueId,"",Sd),B(2),Mf("b/",b.issueId,""),B(3),Nf(b.issueTitle))},
dependencies:[FA,GA,HA,qA],encapsulation:2});var QVc=function(a,b){return{small:a,medium:b}},RVc=function(a){return{black:a}},d2=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 pw;this.showNotificationSettings=new pw;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=uac;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"}]])};d2.prototype.ngOnInit=function(){SVc(this)};d2.prototype.ngOnChanges=function(){this.updateMenuButton()};d2.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};d2.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var SVc=function(a){var b,c;ne(function(d){if(1==d.nextAddress)return"true"!==a.routeParams.unsubscribe||a.subscription&&"UNSUBSCRIBED"===a.subscription?d.return():d.yield((0,E.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(3!=d.nextAddress){b=d.yieldResult;if(!b)return d.return();a.matDialogService.closeAll();return d.yield((0,E.firstValueFrom)(yA(a.matDialogService.open(c2,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),
a.analytics.trackEvent(io.EDIT_ISSUE,"unsubscribeUsingDialog");se(d)})};wh.Object.defineProperties(d2.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});d2.\u0275fac=function(a){return new (a||d2)(C(bt),C(DA),C(YH),C(TH),C(JJ))};
d2.\u0275cmp=Mc({type:d2,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[ed],decls:63,vars:31,consts:[["mat-button","","matTooltip","Notification menu",1,"notification-menu-button","gmat-button",3,"ngClass","matMenuTriggerFor","disabled"],[1,"notification-menu-button-inner"],["size","small",1,"icon",3,"name","ngClass"],[4,"ngIf"],
["notificationMenu","matMenu"],[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"],["allUpdates",""],["svgIcon","help-outline",1,"subscription-help","item-icon","small"],["all",""],["mat-menu-item","","aria-label","Major Updates. Receive emails for major updates only.","aria-describedby",
"major-updates-help",1,"notification-option",3,"click"],["majorUpdates",""],["major",""],["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=w();H(0,"div")(1,"button",0)(2,"div",1);J(3,"b-icon",2);P(4,pjb,
3,1,"ng-container",3);I()()();H(5,"mat-menu",null,4)(7,"div",5)(8,"div",6)(9,"button",7);M("click",function(){return b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION)});J(10,"b-icon",8);H(11,"div",9);R(12," Default ");I();H(13,"div",10);R(14," receive emails based on your default settings. ");I()();J(15,"mat-divider",11);H(16,"button",12);M("click",function(h){return b.showNotificationSettings.emit(h)});J(17,"b-icon",13);I()();J(18,"mat-divider");H(19,"div",14)(20,"button",15);
M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)});H(21,"div",16);J(22,"b-icon",8);H(23,"div",9);R(24," All Updates ");I();H(25,"div",10);R(26," receive emails for major and minor updates. ");I()()();H(27,"button",17);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)})("focus",function(){x(c);var h=Lf(29);return z(h.toggle(!0))})("blur",function(){x(c);var h=Lf(29);return z(h.toggle(!1))});H(28,"xap-bubble",
18,19);J(30,"mat-icon",20);P(31,qjb,13,0,"ng-template",null,21,hg);I()()();H(33,"div",14)(34,"button",22);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)});H(35,"div",16);J(36,"b-icon",8);H(37,"div",9);R(38," Major Updates ");I();H(39,"div",10);R(40," receive emails for major updates only. ");I()()();H(41,"button",17);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)})("focus",function(){x(c);
var h=Lf(43);return z(h.toggle(!0))})("blur",function(){x(c);var h=Lf(43);return z(h.toggle(!1))});H(42,"xap-bubble",18,23);J(44,"mat-icon",20);P(45,rjb,15,0,"ng-template",null,24,hg);I()()();H(47,"button",25);M("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY)});H(48,"div",14)(49,"div",16);J(50,"b-icon",8);H(51,"div",9);R(52," Closure Only ");I();H(53,"div",10);R(54," only receive emails when the issue is closed. ");I()()()();H(55,"button",25);M("click",
function(){return b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED)});H(56,"div",14)(57,"div",16);J(58,"b-icon",8);H(59,"div",9);R(60," None ");I();H(61,"div",10);R(62," unsubscribe from further email updates. ");I()()()()()()}if(a&2){var d=Lf(6),e=Lf(32),g=Lf(46);B(1);yf("icon-only",b.iconOnly);F("ngClass",Tf(26,QVc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",d)("disabled",b.isAnonymous);pf("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||
"UNKNOWN_SUBSCRIPTION").label);B(2);F("name",b.menuIcon)("ngClass",Sf(29,RVc,"notifications-off"===b.menuIcon));B(1);F("ngIf",!b.iconOnly);B(5);yf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);B(6);F("vertical",!0);B(5);yf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);B(7);pf("aria-label","This includes emails about major updates and All title, hotlist, and status changes, Blocking, Blocked By, or Duplicate changes, Changes to Reporter, Verifier, and CCs, changes to Type, Found In, Targeted To, Verified In, In Prod, and Changes to custom fields marked as minor.");
B(1);F("panelTemplate",e)("overlayPositions",b.bubblePosition);B(6);yf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);B(7);pf("aria-label","This includes emails about New comments, Priority or Severity changes, Assignee changes, Component changes, Issue closure or reopening, and Changes to custom fields marked as major.");B(1);F("panelTemplate",g)("overlayPositions",b.bubblePosition);B(5);yf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);
B(8);yf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[Mw,Ow,bB,qA,xM,lC,jC,kC,GN,mP,tC],styles:[".notification-menu[_ngcontent-%COMP%]{max-width:210px}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.notification-menu[_ngcontent-%COMP%]   button.mat-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px}.notification-menu[_ngcontent-%COMP%]   button.mat-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;height:100%;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}.notification-menu-button-inner[_ngcontent-%COMP%]{align-items:center;display:inline-flex}.notification-menu-button-inner[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin-right:3px}.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 e2=function(){};e2.\u0275fac=function(a){return new (a||e2)};e2.\u0275mod=Oc({type:e2});e2.\u0275inj=xc({imports:[cG,QC,JT,mC,bO,hT,rP,uD]});var f2=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new pw;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},TVc=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()};
f2.prototype.displayFn=function(a){return(null==a?void 0:a.name)||(null==a?void 0:a.sloId)||""};f2.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
wh.Object.defineProperties(f2.prototype,{boundId:{configurable:!0,enumerable:!0,get:function(){return this.internalBoundId},set:function(a){var b=this;(this.internalBoundId=a)&&"0"!==this.internalBoundId?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)}}});f2.\u0275fac=function(a){return new (a||f2)(C(sT),C(PH,2))};
f2.\u0275cmp=Mc({type:f2,selectors:[["slo-picker"]],inputs:{isDisabled:["bv2Disabled","isDisabled"],placeholder:["bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[Pf([PH])],decls:6,vars:6,consts:[[1,"bv2-slo-picker"],["matInput","","type","text","autocomplete","slo-name",1,"bv2-picker-input","form-control",3,"placeholder","ngModel","disabled","matAutocomplete","ngModelChange","click","input"],["searchInput",""],["panelWidth","574px",3,"displayWith","optionSelected"],
["auto","matAutocomplete"],["class","slo-search-result",3,"value",4,"ngFor","ngForOf"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=w();H(0,"div",0)(1,"input",1,2);M("ngModelChange",function(e){return b.selectedSlo=e})("click",function(){x(c);var e=Lf(2);return z(TVc(b,e.value))})("input",function(){x(c);var e=Lf(2);return z(TVc(b,e.value))});I();H(3,"mat-autocomplete",3,4);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});P(5,sjb,2,2,"mat-option",5);
I()()}if(a&2){var d=Lf(4);B(1);F("placeholder",b.placeholder)("ngModel",b.selectedSlo)("disabled",b.isDisabled)("matAutocomplete",d);B(2);F("displayWith",b.displayFn);B(2);F("ngForOf",b.dropdownChoices)}},dependencies:[Nw,GP,FP,sA,xg,ox,ux],encapsulation:2});var g2=function(){};g2.\u0275fac=function(a){return new (a||g2)};g2.\u0275mod=Oc({type:g2});g2.\u0275inj=xc({imports:[cG,HP,Jx]});var UVc=function(a){return{"empty-list-field-indication":a}},h2=function(a){this.documentationLinks=a;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new pw;this.validChange=new pw;this.RetentionSelection=Bac};
h2.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};vq(this)};h2.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);vq(this)};
var vq=function(a){var b=a.validChange,c=b.emit,d;if(d=wq(a))d=a.hasRetentionSelection(a.model.piiRetentionSelection)&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!VVc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||WVc(a));c.call(b,d)};h2.prototype.hasRetentionSelection=function(a){return a&&a!==this.RetentionSelection.UNSPECIFIED_RETENTION};
var wq=function(a){return a.hasRetentionSelection(a.model.retentionSelection)&&(a.model.retentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||!!a.model.retentionPeriodDays&&30<=a.model.retentionPeriodDays&&3650>=a.model.retentionPeriodDays)},ujb=function(a){return a?$ua(a):"[unset period]"},WVc=function(a){if(!a.model.piiRetentionPeriodDays||!a.model.spiiRetentionPeriodDays||30>a.model.piiRetentionPeriodDays||30>a.model.spiiRetentionPeriodDays)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&&3650<d||b===a.RetentionSelection.CUSTOM_PERIOD&&(null==c||d>c)?!1:!0},yjb=function(a){if(!wq(a)||WVc(a))return"";var b=a.model.retentionSelection,c=a.model.piiRetentionPeriodDays,d=a.model.spiiRetentionPeriodDays;if(!c||!d||30>c||30>d)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?30===e?"must be 30 days":"must be between 30 days and "+ujb(e):"Restricted+ retention must not exceed Restricted retention."},VVc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},Bjb=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&&120<e);return b===a.RetentionSelection.CUSTOM_PERIOD&&!!c&&120<c||d};h2.\u0275fac=function(a){return new (a||h2)(C(jJ))};
h2.\u0275cmp=Mc({type:h2,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled"},outputs:{modelChange:"modelChange",validChange:"validChange"},decls:30,vars:32,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngClass","disabled","name","ngModel","ngModelChange"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 10 years",3,"value"],["class","duration-error",
4,"ngIf"],["class","custom-duration",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,"ngClass","disabled","name","ngModel","ngModelChange"],["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,"disabled","durationDays","durationDaysChange"],[1,"duration-description"],["id","indefinite-retention-warning-box",1,"warning-box"],[1,"b-restricted-retention-duration-label"],["ariaLabel","Restricted retention duration",3,"disabled","durationDays","durationDaysChange"],[1,"warning-box"],["ariaLabel","Restricted+ retention duration",3,"disabled","durationDays","durationDaysChange"],["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&&(H(0,"mat-radio-group",0),M("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),H(1,"p")(2,"b"),R(3,"Issue Retention"),I()(),H(4,"mat-radio-button",1),R(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),I(),H(6,"mat-radio-button",2),R(7," Custom retention period "),P(8,tjb,2,0,"span",3),P(9,vjb,4,
3,"div",4),I(),H(10,"mat-radio-button",5),R(11),P(12,wjb,13,0,"div",6),I()(),H(13,"mat-radio-group",7),M("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);vq(b)}),H(14,"p"),J(15,"br"),H(16,"b"),R(17,"Restricted Comments/Attachments Retention "),I(),H(18,"a",8),R(19,"Learn more "),I()(),H(20,"mat-radio-button",1),R(21," Buganizer default retention period : 60 days "),P(22,xjb,2,0,"span",3),
I(),H(23,"mat-radio-button",9),R(24," Custom retention period "),P(25,zjb,2,1,"span",3),P(26,Cjb,16,7,"div",4),I(),H(27,"mat-radio-button",5),R(28," Match Issue Retention "),P(29,Djb,3,0,"div",10),I()());a&2&&(F("ngClass",Sf(28,UVc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),B(4),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),B(2),F("value",b.RetentionSelection.CUSTOM_PERIOD),
B(2),F("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&3650>=b.model.retentionPeriodDays)),B(1),F("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),B(1),F("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),B(1),Mf(" Indefinite retention period ",b.isExternal?"(Internal components only)":""," "),B(1),F("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),
B(1),F("ngClass",Sf(30,UVc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),B(5),F("rel",b.EXTERNAL_LINK_REL),pf("href",b.documentationLinks.getRestrictedAccessHelpLink(),Sd),B(2),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),B(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&VVc(b)),B(1),F("aria-label","Custom Retention Period,"+
yjb(b))("disabled",!wq(b))("value",b.RetentionSelection.CUSTOM_PERIOD),B(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!WVc(b)),B(1),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),B(1),F("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),B(2),F("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&Bjb(b)))},dependencies:[Mw,Ow,ox,ux,DN,EN,X1],styles:[".mat-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}"],
changeDetection:0});var i2=function(){};i2.\u0275fac=function(a){return new (a||i2)};i2.\u0275mod=Oc({type:i2});i2.\u0275inj=xc({imports:[cG,Jx,gO,Y1]});var XVc=function(){this.type="component";this.includeChildren=!1},YVc=function(){this.type="tracker"},ZVc=function(){this.type="team";this.includeChildren=!1},$Vc=function(){this.type="hotlist"},aWc=function(){this.type="savedsearch"},bWc=function(){this.type="customfield"};var cWc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},dWc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),eWc=dWc.concat("archived assignee attachment blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield deleted deletionreason deletiontime duplicatecount effortlabel foundin inprod is lastcommenter lastmodifier mention modified modifier mute p parentid postmortem priority reporter resolved s severity star status t targetedto title type verified verifiedin verifier votecount nearestslo".split(" ")),
fWc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),gWc="(?:\\s|^)(-?)(customfield\\d+|"+eWc.join("|")+")(:|>|<|>=|<=|=)";var j2=function(a,b,c,d,e,g,h,m,r){GE.call(this);var v=this;this.userApi=a;this.trackerFridge=b;this.currentTracker=c;this.customFieldsApi=d;this.hotlistApi=e;this.savedSearchApi=g;this.componentActions=h;this.teamsService=m;this.activeSession=r;this.query="";this.requestIndex=0;this.producers=[{match:function(y){return hWc(v,y)}},{updateHeader:function(y){return iWc(v,y)}},{updateHeader:function(y){return jWc(v,y)}},{updateHeader:function(y){return kWc(v,y)}},{updateHeader:function(y){return lWc(v,
y)}},{updateHeader:function(y){return mWc(v,y)}},{updateHeader:function(y){return nWc(v,y)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new E.Subject;this.refreshRequest$=new E.Subject;this.refreshRequest$.pipe(Ke(250),bf(this.destroyed$)).subscribe(function(y){oWc(v,y.currentRequestIndex,y.currentSearchContext)});this.sessionIsInternal=r.isInternalSession();a=new Set(eWc);this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(b=k(fWc),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"]))};U(j2,GE);j2.\u0275dir=GE.\u0275dir;j2.prototype.isTrackerSearchEnabled=function(){return!this.currentTracker.inTracker};
var oWc=function(a,b,c){for(var d=!1,e=!1,g=[],h=k(a.producers),m=h.next();!m.done;m=h.next())m=m.value,m.match&&g.push(m.match(c).then(function(r){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,ad(r))}).catch(function(r){return r})),m.updateHeader&&g.push(m.updateHeader(c).then(function(r){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=r)}).catch(function(r){return r}));Promise.all(g).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},hWc=
function(a,b){if(!b.value.val){var c=b.value.idx;if(c<b.query.length&&-1===b.query.charAt(c).search("\\s"))return Promise.reject(null)}if(b.label){if(b.label.customFieldId)return pWc(a,b);switch(b.label.val){case "archived":return Promise.resolve(zq(qWc,b.value,!0));case "componentid":case "c":return rWc(a,b);case "deleted":return sWc(b);case "deletionreason":return Promise.resolve(zq(tWc,b.value,!0));case "hotlistid":case "h":return uWc(a,b);case "savedsearchid":return vWc(a,b);case "status":case "is":return Promise.resolve(zq(wWc,
b.value,!0));case "trackerid":return xWc(a,b);case "teamid":return yWc(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(zq(zWc,b.value,!0));case "severity":case "s":return Promise.resolve(zq(AWc,b.value,!0));case "inprod":case "star":case "mute":return sWc(b);default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];for(var d=Fjb(b.value.val),e=k(a.atoms),g=e.next();!g.done;g=e.next())if(g=g.value,d.token!==g&&fi(g,d.token)){var h=
b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:g+(a.atomsWithoutOp.has(g)?"":":"),enableShadowPlaceholder:!0};h={trackId:"atom:"+g,name:g,completionCfg:h};"customfield"===g&&(h.name="customfield[id]:[value]");c.push(h)}c.sort(function(m,r){return Dq(m.name,r.name)});return Promise.resolve(c)},pWc=function(a,b){return b.label&&b.label.customFieldId?a.customFieldsApi.get(b.label.customFieldId).then(function(c){if("ENUM"!==c.type&&"REPEATED_ENUM"!==
c.type||!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 zq(d,b.value,!1,!1)}):Promise.reject(null)};j2.prototype.matchType=function(a){return Promise.resolve(zq(BWc,a.value,!0))};
var sWc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(zq([{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))},rWc=function(a,b){var c=b.value.val;return!c||yq(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
j2.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=k(b);for(var e=b.next(),g={};!e.done;g={$jscomp$loop$prop$paths$2006367807$1:g.$jscomp$loop$prop$paths$2006367807$1,$jscomp$loop$prop$startIdx$2006367807$2:g.$jscomp$loop$prop$startIdx$2006367807$2,$jscomp$loop$prop$endIdx$2006367807$3:g.$jscomp$loop$prop$endIdx$2006367807$3},e=b.next()){e=e.value;var h=e.componentId;g.$jscomp$loop$prop$startIdx$2006367807$2=a.value.idx;g.$jscomp$loop$prop$endIdx$2006367807$3=g.$jscomp$loop$prop$startIdx$2006367807$2+c.length;
g.$jscomp$loop$prop$paths$2006367807$1=Ds(this.currentTracker,e.componentPathInfo);e={componentId:h,name:e.name,description:e.description,trackId:"component:"+h,accessLimit:e.accessLimit,trackerId:e.trackerId,completionCfg:{type:"component",startIdx:g.$jscomp$loop$prop$startIdx$2006367807$2,endIdx:g.$jscomp$loop$prop$endIdx$2006367807$3,completionValue:""+h,matchingString:c},componentPath:g.$jscomp$loop$prop$paths$2006367807$1.componentPathId.map(function(m){return function(r,v){return{trackId:"subcomponent:"+
r,id:""+r,name:String(m.$jscomp$loop$prop$paths$2006367807$1.componentPathName[v]),completionCfg:{type:"component",completionValue:String(r),startIdx:m.$jscomp$loop$prop$startIdx$2006367807$2,endIdx:m.$jscomp$loop$prop$endIdx$2006367807$3}}}}(g))};d.push(e)}return d};
var yWc=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||yq(c,!0))return Promise.reject(null);var d=cm();xI(a.teamsService,c).pipe(bf(a.destroyed$)).subscribe(function(e){var g=b.value.idx,h=g+c.length,m=[];e=k(e);for(var r=e.next(),v={};!r.done;v={$jscomp$loop$prop$pathNames$2006367807$5:v.$jscomp$loop$prop$pathNames$2006367807$5},r=e.next())r=r.value,v.$jscomp$loop$prop$pathNames$2006367807$5=r.pathNames,r={trackId:"team:"+r.teamId,name:r.name,id:r.teamId,label:"Team "+r.teamId,pathIds:r.pathIds,
pathNames:r.pathNames,description:r.description,completionCfg:{type:"team",startIdx:g,endIdx:h,completionValue:String(r.teamId),matchingString:c},teamPath:r.pathIds.map(function(y){return function(A,G){return{trackId:"team:"+A,id:A,name:y.$jscomp$loop$prop$pathNames$2006367807$5[G],completionCfg:{type:"team",completionValue:String(A),startIdx:g,endIdx:h}}}}(v))},m.push(r);d.resolve(m)},function(){d.reject()});return d.promise},iWc=function(a,b){if(!b.label||"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);
var c=new XVc;b=b.value.val;return yq(b,!0)?(ot(b,"+")&&(b=b.slice(0,b.length-1),c.includeChildren=!0),a.componentActions.get(Number(b)).then(function(d){a.currentTracker.inTracker&&d.trackerId!==a.currentTracker.getTrackerId()||(c.component=d);return c})):Promise.resolve(c)},lWc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new YVc,d=cm();b=b.value.val;yq(b)?a.trackerFridge.watchOne(b).pipe(bf(a.destroyed$)).subscribe(function(e){c.tracker=
e;d.resolve(c)}):b&&d.resolve(c);return d.promise},nWc=function(a,b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new ZVc,d=cm(),e=b.value.val;yq(e,!0)?(ot(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),xI(a.teamsService,e).pipe(bf(a.destroyed$)).subscribe(function(g){0<g.length?(g=g[0],c.team={pathNames:g.pathNames,name:g.name,description:g.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},jWc=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new $Vc;b=b.value.val;return yq(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},kWc=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);var c=new aWc;b=b.value.val;return yq(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=
d;return c}):b?Promise.reject(null):Promise.resolve(c)},mWc=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(fi(b.value.val,"customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&(c=b[1]),en("search-usage","customfield");else return Promise.reject(null);var d=new bWc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},xWc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||yq(c,!0))return Promise.reject(null);
var d=cm();a.trackerFridge.watchMany({filter:c,pageSize:5}).pipe(bf(a.destroyed$)).subscribe(function(e){var g=b.value.idx,h=g+c.length,m=[];e=k(e.results);for(var r=e.next();!r.done;r=e.next())r=r.value,m.push({trackId:"trackerid:"+r.trackerId,name:r.name,trackerId:r.trackerId,label:"Tracker "+r.trackerId,completionCfg:{type:"tracker",startIdx:g,endIdx:h,completionValue:r.trackerId,matchingString:c}});d.resolve(m)});return d.promise},uWc=function(a,b){return yq(b.value.val)?Promise.reject(null):
a.userApi.getUserHotlists().then(function(c){c=c.map(function(d){var e=d.hotlistId;return{hotlistId:e,name:d.name,trackId:"hotlist:"+e,completionCfg:{type:"hotlist",completionValue:""+e}}});return zq(c,b.value,!1,!0)})},vWc=function(a,b){return yq(b.value.val)?Promise.reject(null):a.userApi.getUserSavedSearches().then(function(c){c=c.map(function(d){var e=d.searchId;return{searchId:e,name:d.name,query:d.query,trackId:"savedsearch:"+e,completionCfg:{type:"savedsearch",completionValue:""+e}}});return zq(c,
b.value,!1,!0)})};j2.\u0275fac=function(a){return new (a||j2)(u(BH),u(EI),u(eL),u(vG),u(sH),u(jI),u(MU),u(vI),u(bt))};j2.\u0275prov=wc({token:j2,factory:j2.\u0275fac,providedIn:"root"});
var wWc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return Aq(a,"status","Status","status")}),BWc="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue project feature milestone epic story task".split(" ").map(function(a){return Aq(a,"bugType","Type","type")}),zWc=["p0","p1","p2","p3","p4"].map(function(a){return Aq(a,"priority","Priority","priority")}),AWc=["s0","s1",
"s2","s3","s4"].map(function(a){return Aq(a,"severity","Severity","severity")}),qWc=["all","true","false"].map(function(a){return Aq(a,"archived","Archived","archived")}),tWc=["abuse","pii","user_request","retention"].map(function(a){return Aq(a,"deletionReason","Deletion Reason","deletionreason")});var k2=function(a){this.cdr=a;this.optionsChange=new pw};k2.prototype.ngOnInit=function(){Gjb(this)};
var Gjb=function(a){var b=null,c;for(c in a.options.propertyValues){var d=a.options.propertyValues[c].value;if(null===b)b=d;else if(b!=d){a.selectAllValue=null;return}}a.selectAllValue=b},Hjb=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},CWc=function(a,b){if(b=void 0===b?null:b)b.preventDefault(),b.stopPropagation();a.selectAllValue=null===a.selectAllValue?!0:!a.selectAllValue;a.options.setAll(a.selectAllValue);a.optionsChange.emit(a.options);Hjb(a)},DWc=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(", ")};k2.\u0275fac=function(a){return new (a||k2)(C(PH,2))};
k2.\u0275cmp=Mc({type:k2,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[Pf([PH])],decls:16,vars:12,consts:[["mat-stroked-button","",1,"gmat-button","bv2-appbar-menu",3,"matMenuTriggerFor"],[1,"flex-kids-x","flex-cross-axis-centered"],[1,"bv2-property-picker-summary-text"],["svgIcon","arrow-dropdown"],["menu","matMenu"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-selectall",
"bv2-property-picker-option-row",3,"click"],[3,"checked","indeterminate","change"],["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,"checked","change","click"],[1,"bv2-property-picker-error-message"]],template:function(a,b){a&1&&(H(0,"div")(1,"button",
0)(2,"div",1)(3,"span",2),R(4),R(5," \u00a0 "),I(),J(6,"mat-icon",3),I()(),H(7,"mat-menu",null,4)(9,"div",5),M("click",function(d){return CWc(b,d)}),H(10,"mat-checkbox",6),M("change",function(d){b.selectAllValue=d.checked;return CWc(b)}),R(11),I()(),J(12,"mat-divider"),P(13,Ijb,4,3,"div",7),S(14,"keyvalue"),I(),P(15,Jjb,2,1,"div",8),I());if(a&2){var c=Lf(8);B(1);yf("ng-invalid",!!b.errorString);F("matMenuTriggerFor",c);B(3);Mf(" ",DWc(b)," ");B(5);pf("aria-checked",b.selectAllValue);B(1);F("checked",
!!b.selectAllValue)("indeterminate",null===b.selectAllValue);B(1);Mf(" ",b.selectAllText," ");B(2);F("ngForOf",T(14,10,b.options.propertyValues));B(2);F("ngIf",!!b.errorString)}},dependencies:[Nw,Ow,bB,BO,lC,jC,kC,xM,qA,Zw],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var EWc=function(a,b){this.displayString=a;this.value=b},FWc=function(a){this.propertyValues=a},GWc=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},lkb=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};FWc.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var l2=function(){};l2.\u0275fac=function(a){return new (a||l2)};l2.\u0275mod=Oc({type:l2});l2.\u0275inj=xc({imports:[cG,fP,mC,JT,QC]});var HWc=function(a,b){this.name=a;this.secondsPerUnit=b},Bq=new HWc("minute",60),Cq=new HWc("hour",3600),Rjb=new HWc("day",86400),m2=function(){this.errorString=null;this.objectiveDurationChange=new pw;this.objectiveBusinessDaysChange=new pw;this.intervalUnit=Rjb};m2.prototype.ngOnInit=function(){IWc(this)};m2.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&IWc(this)};
var Mjb=function(a,b){b=b.name;1!==di(a.intervalString)&&(b+="s");return b},Qjb=function(a){return"BUSINESS"===a.dayType},IWc=function(a){!Qjb(a)&&JWc(a,Rjb)||JWc(a,Cq)||JWc(a,Bq);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},JWc=function(a,b){var c=a.objectiveDuration.seconds;return 0==c%b.secondsPerUnit?(c/=b.secondsPerUnit,0!=c||""!=a.intervalString?(a.intervalString=""+c,a.intervalUnit=b):(Qjb(a)?[Bq,Cq]:[Bq,Cq,Rjb]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},Kjb=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);Ojb(a);Pjb(a)},Ojb=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(di(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},Pjb=function(a){a.objectiveBusinessDays=di(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};m2.\u0275fac=function(a){return new (a||m2)};
m2.\u0275cmp=Mc({type:m2,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[ed],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,"ngModel","ngModelChange"],[1,"bv2-slo-objective-unit",3,"ngModel","ngModelChange","selectionChange"],[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&&(P(0,Sjb,6,6,"span",0),P(1,Wjb,3,2,"span",1));a&2&&(F("ngIf",!b.isDisabled),B(1),F("ngIf",b.isDisabled))},dependencies:[Nw,
Ow,xg,ox,ux,iP,sA],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-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 n2=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"],["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"],["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"]])},NWc=function(a,b){var c=new KWc,d=LWc(b,"type",function(g){var h=g.toUpperCase(),m=new MWc;a.typeStringToEnum.has(h)?m.value=h:m.error='The string "'+g+'" is not a valid type';return m});if(d.error)return c.error=d.error,c;var e=k(d.values);for(d=e.next();!d.done;d=e.next())c.types.push(a.typeStringToEnum.get(d.value));d=LWc(b,"priority",function(g){var h=g.toUpperCase(),
m=new MWc;a.priorityStringToEnum.has(h)?m.value=h:m.error='The string "'+g+'" is not a valid priority';return m});if(d.error)return c.error=d.error,c;e=k(d.values);for(d=e.next();!d.done;d=e.next())c.priorities.push(a.priorityStringToEnum.get(d.value));b=LWc(b,"postmortem",function(g){var h=g.toUpperCase(),m=new MWc;a.postmortemValuesToCanonical.has(h)?m.value=h:m.error='The string "'+g+'" is not a valid postmortem value';return m});if(b.error)c.error=b.error;else for(b=k(b.values),d=b.next();!d.done;d=
b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},LWc=function(a,b,c){var d=new OWc;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};n2.\u0275fac=function(a){return new (a||n2)(u(tJ),u(bt))};n2.\u0275prov=wc({token:n2,factory:n2.\u0275fac,providedIn:"root"});
var KWc=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},OWc=function(){this.values=[];this.error=""},MWc=function(){this.error=this.value=""};var o2=function(){};o2.prototype.validate=function(a){for(var b={},c=k(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};o2.\u0275fac=function(a){return new (a||o2)};o2.\u0275dir=Qc({type:o2,selectors:[["","customValidators",""]],inputs:{validators:["customValidators","validators"]},features:[Pf([{provide:kx,useExisting:o2,multi:!0}])]});var p2=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new pw;this.onValidation=new pw;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat(pGc);this.dayTypes=["CALENDAR","BUSINESS"];pGc.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},Hkb=function(a,b,c){mkb(a);a=k(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},Kkb=function(a,b,c){c=Nkb(a,b,c);var d=c.newOffset;
c.valid&&(mkb(a),qa(a.collection,b),qa(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),PWc(a))},Nkb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},mkb=function(a){a=k(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},QWc=function(a,b){var c=b.map(function(d){return new q2(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
ekb=function(a){return"METRIC_UNSPECIFIED"===a?" - ":qGc.get(a)},skb=function(a,b){return"TYPE_UNSPECIFIED"!==b&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},xkb=function(a,b){return"PRIORITY_UNSPECIFIED"!==b&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):" - "},nkb=function(a,b){mkb(a);qa(a.collection,b);qa(a.boundCollection,b.sloElement);PWc(a)},Zjb=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:Ng("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];PWc(a)},onDismiss:function(){}});b.stopPropagation()},Xjb=function(a,b){var c=new q2({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);Hkb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);PWc(a)};
p2.prototype.onDrop=function(a){Kkb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var PWc=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
wh.Object.defineProperties(p2.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){QWc(this,a)}},canPerformActions:{configurable:!0,enumerable:!0,set:function(a){this.canPerformActionsInternal=a;this.onValidation.emit(a)},get:function(){return this.canPerformActionsInternal}},isDisabled:{configurable:!0,enumerable:!0,set:function(a){this.isDisabledInternal=a;if(this.collection)for(var b=k(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});p2.\u0275fac=function(a){return new (a||p2)(C(tJ),C(n2),C(kJ))};
p2.\u0275cmp=Mc({type:p2,selectors:[["slo-elements-picker"]],inputs:{collectionInput:["collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},decls:29,vars:5,consts:[[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,"name","size","click"],["matTooltip","Add a new rule",1,"hoverable",3,"name","size","click"],["cdkDropList",
"",3,"cdkDropListData","cdkDropListDisabled","cdkDropListDropped"],["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,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-priority-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column",
"bv2-editable-slo-element","editable-row"],[1,"bv2-postmortem-property-picker",3,"selectAllText","validator","options","optionsChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],["appearance","outline"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModel","customValidators","ngModelChange"],[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,"dayType","objectiveDuration","objectiveBusinessDays","validator","isDisabled","objectiveDurationChange","objectiveBusinessDaysChange"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],["color","accent","appearance","outline"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModel","ngModelChange","selectionChange"],[1,"bv2-slo-element-action","editable-row"],["matTooltip","Finish editing",1,
"bv2-slo-element-action",3,"name","size","click"],["matTooltip","Remove row",1,"bv2-slo-element-action",3,"name","size","click"],[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,"dayType","objectiveDuration","objectiveBusinessDays","isDisabled","objectiveDurationChange","objectiveBusinessDaysChange"],[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"],["settingsMenu","matMenu"],["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,"name","size","click"],["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&&(H(0,"div",0)(1,"div")(2,"div")(3,"label",1),R(4,"Rules"),I(),H(5,"a",2),J(6,"b-icon",3),I(),P(7,$jb,6,3,"span",4),I(),H(8,"table",5)(9,"thead")(10,"tr",6)(11,"th",7),R(12,"Order"),I(),H(13,"th",8),R(14,"Type"),I(),H(15,"th",9),R(16,"Priority"),I(),H(17,"th",10),R(18,"Postmortem"),I(),H(19,"th",11),R(20,"Metric"),I(),H(21,"th",
12),R(22,"Objective"),I(),H(23,"th",13),R(24," Day Type "),I(),J(25,"th",14),I()(),P(26,Qkb,2,3,"tbody",15),I(),H(27,"div"),P(28,Rkb,2,0,"div",16),I()()());a&2&&(B(6),F("name","help-outline")("size","small"),B(1),F("ngIf",!b.isDisabled),B(19),F("ngIf",b.collection&&0!=b.collection.length),B(2),F("ngIf",!b.collection||0==b.collection.length))},dependencies:[Nw,Ow,o2,uL,sL,ox,Fx,ux,GN,QA,lC,jC,kC,iP,sA,tC,k2,m2],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-select-value-text, .cdk-drag-preview[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-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:128px}.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-top:3px;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%]   .bv2-enum-field.ng-invalid[_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.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.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-metric.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-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.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-top:3px;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 .bv2-enum-field.ng-invalid, .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.ng-invalid{padding-top:3px}.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-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-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-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{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-form-field-wrapper, .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-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .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-wrapper{padding:0}.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-select-arrow-wrapper, .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-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.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-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-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-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-form-field-infix{padding:1px 0 7px}.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:128px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field.ng-invalid[_ngcontent-%COMP%]{padding-top:3px}.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-metric.editable-row[_ngcontent-%COMP%]{padding-top:3px}.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-top:3px;padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field.ng-invalid{padding-top:3px}.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-form-field, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field{padding-right:10px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-wrapper{padding:0}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-select-arrow-wrapper, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-select-arrow-wrapper{transform:none}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-form-field-infix{padding:1px 0 7px}.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 q2=function(a,b,c){var d=this;this.sloElement=a;this.controllerReference=b;this.isNewElement=void 0===c?!1:c;this.metricSelectorValid=this.postmortemPickerValid=this.priorityPickerValid=this.typePickerValid=this.isEditingInternal=!1;this.objectiveValid=!0;this.validatePriorityPicker=function(){var e=GWc(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=GWc(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=GWc(d.postmortemPickerValues)?null:"Postmortem can't be empty";d.postmortemPickerValid=null===e;return e};this.validateObjective=function(e,g){if("BUSINESS"!==d.selectedDayType){if(!e.match(/^\d+$/)||"0"===e)return d.objectiveValid=!1,"Objective must be a positive integer"}else{if(!e.match(/^\d*$/)||!g.match(/^\d*$/))return d.objectiveValid=!1,"Objective must be a positive integer";if(!(""!==e&&"0"!==e||""!==g&&"0"!==g))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=RWc(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return SWc(d,e)}};TWc(this);this.typePickerValues=UWc(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return skb(d.controllerReference,e)});this.priorityPickerValues=UWc(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return xkb(d.controllerReference,e)});this.postmortemPickerValues=UWc(this.controllerReference.anyNoneDisplayValues.keys(),function(e){return 0===d.parseResult.postmortemValues.length||
d.parseResult.postmortemValues.includes(e)},function(e){return d.controllerReference.anyNoneDisplayValues.get(e)});this.validateTypePicker();this.validatePriorityPicker();this.validatePostmortemPicker();SWc(this,this.selectedMetric)},RWc=function(a){return a?a:{seconds:86400,nanos:0}};q2.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var SWc=function(a,b){b="METRIC_UNSPECIFIED"!==b;return a.metricSelectorValid=b};
q2.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;VWc(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;TWc(this)}};
var VWc=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=WWc(b,function(g){return a.controllerReference.sloParseService.enumTypeToString.get(g)});c=WWc(c,function(g){return a.controllerReference.sloParseService.enumPriorityToString.get(g)});d=WWc(d,function(g){return a.controllerReference.sloParseService.canonicalGroupQueryKeywordToQueryValue.get(g)});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};q2.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 WWc=function(a,b){if(0===a.length)return"";if(1===a.length)return b(a[0]);var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
q2.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;TWc(this)}};var TWc=function(a){a.parseResult=NWc(a.controllerReference.sloParseService,a.matcherText)},UWc=function(a,b,c){var d={};a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=b(e),h=c(e);d[""+e]=new EWc(h,g)}return new FWc(d)};var r2=function(){};r2.\u0275fac=function(a){return new (a||r2)};r2.\u0275mod=Oc({type:r2});r2.\u0275inj=xc({imports:[cG,Jx,jP]});var s2=function(){};s2.\u0275fac=function(a){return new (a||s2)};s2.\u0275mod=Oc({type:s2});s2.\u0275inj=xc({imports:[cG]});var t2=function(){};t2.\u0275fac=function(a){return new (a||t2)};t2.\u0275mod=Oc({type:t2});t2.\u0275inj=xc({imports:[cG,s2,vL,Jx,bO,RA,mC,jP,uD,l2,r2]});var u2=function(a,b,c,d,e){GE.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};U(u2,GE);u2.\u0275dir=GE.\u0275dir;f=u2.prototype;f.setFocusOnIndex=function(a){this.focusedIndex=a};f.isFocused=function(a){return this.focusedIndex===a};f.selectNext=function(){this.focusedIndex+1>=this.slos.length||(this.focusedIndex++,this.scrollToFocusedIndex())};f.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
f.ngOnInit=function(){var a=this,b=HM(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)};f.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?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)}}};f.renderRowLabel=function(a){return this.slos[a].name};f.editSlo=function(a){this.location.path(this.paths.editSlo(a.sloId))};
u2.\u0275fac=function(a){return new (a||u2)(C(Bd),C(PH,2),C(cH),C(dH),C(GM))};
u2.\u0275cmp=Mc({type:u2,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[Pf([PH]),lf],decls:16,vars:1,consts:[[1,"pop-grid","bv2-resource-list","bv2-slo-grid"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","slo-name","clickable"],
["tabindex","-1",1,"grid-link",3,"href","click"],[1,"bv2-resource-list-cell","slo-description","clickable"]],template:function(a,b){a&1&&(H(0,"table",0)(1,"thead")(2,"tr",1),J(3,"th",2),H(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),R(8," SLO name "),I()()()(),H(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),R(13," Description "),I()()()()()(),H(14,"tbody"),P(15,Skb,7,7,"tr",6),I()());a&2&&(B(15),F("ngForOf",b.slos))},dependencies:[Nw],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 v2=function(){};v2.\u0275fac=function(a){return new (a||v2)};v2.\u0275mod=Oc({type:v2});v2.\u0275inj=xc({imports:[cG]});var w2=function(a,b){this.log=a;this.dateFormatter=b},YWc=function(a,b){var c=Z5a(b.addMask.paths),d=Z5a(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},g=b.add;b=b.remove;for(var h=k(new Set([].concat(ad(c),ad(d)))),m=h.next();!m.done;m=h.next()){var r=m.value;m=rGc.get(r);if("name"===r){var v=Yp(d,r,b.name);r=Yp(c,r,g.name);e.diffs.push(Zp(m,v,r))}else if("description"===r)v=Yp(d,r,b.description),r=Yp(c,r,g.description),e.diffs.push(Zp(m,v,r));else if("parentId"===
r)v=Yp(d,r,String(b.parentId)),r=Yp(c,r,String(g.parentId)),e.diffs.push(Zp(m,v,r));else if("elements"===r){var y=g.elements;v=$5a(d,r,b.elements.map(function(A){return XWc(A)}));r=$5a(c,r,y.map(function(A){return XWc(A)}));e.diffs.push({fieldName:m,diffType:"COLLECTION",diff:{removed:v,added:r}})}else a.log.error("Unsupported diff field.")}return e},XWc=function(a){var b=a.matcher,c=qGc.get(a.metric),d=ikb.get(a.dayType),e=[];0<a.businessDays&&e.push(a.businessDays+" day"+(1<a.businessDays?"s":""));
0<a.objective.seconds&&e.push(Doc(1E3*a.objective.seconds));a=e.join(", ");return'("'+b+'", '+c+") - "+(d+" days - "+a)};w2.\u0275fac=function(a){return new (a||w2)(u(nG),u(UK))};w2.\u0275prov=wc({token:w2,factory:w2.\u0275fac,providedIn:"root"});var x2=function(){};x2.\u0275fac=function(a){return new (a||x2)};x2.\u0275mod=Oc({type:x2});x2.\u0275inj=xc({imports:[cG,lY,QC,IA]});var aXc=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=k(ZWc);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(g){return"string"===typeof g?hi(g):""}):e="string"===typeof d?hi(d):"";this.templateAttributes[c]=e}b=k($Wc);for(c=b.next();!c.done;c=b.next())c=c.value,a[c]&&(this.templateAttributes[c]=a[c]);if(a=a.customFields)for(a=Array.isArray(a)?a:[a],a=k(a),b=a.next();!b.done;b=a.next())c=b.value.split(":"),
b=c[0],c=c.slice(1).join(":"),Ok(c)||(this.templateCustomFields[b]=c)},cXc=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||bXc.some(function(b){return null!=a.templateAttributes[b]})},hXc=function(a,b,c){null!=c&&(dXc(a,c),eXc(a,b,c),fXc(b,c));c=k(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;gXc[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},eXc=function(a,b,c){null==b.customField&&
(b.customField=[]);for(var d={},e=k(b.customField),g=e.next();!g.done;g=e.next())g=g.value,d[g.customFieldId]=g;e=k(Object.entries(a.templateCustomFields));var h=e.next();for(g={};!h.done;g={$jscomp$loop$prop$customFieldId$m1081749379$4:g.$jscomp$loop$prop$customFieldId$m1081749379$4},h=e.next()){var m=k(h.value);h=m.next().value;m=m.next().value;g.$jscomp$loop$prop$customFieldId$m1081749379$4=di(h);m={customFieldId:g.$jscomp$loop$prop$customFieldId$m1081749379$4,value:m};h=a.getCustomFieldValue(m,
c);null!=d[g.$jscomp$loop$prop$customFieldId$m1081749379$4]?(m=b.customField.findIndex(function(r){return function(v){return v.customFieldId===r.$jscomp$loop$prop$customFieldId$m1081749379$4}}(g)),b.customField[m]=h):(b.customField.push(h),d[m.customFieldId]=h)}};
aXc.prototype.getCustomFieldValue=function(a,b){var c=new ni(a);if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=xqa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=yqa(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 xqa(e)}).filter(function(e){return null!==e});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 yqa(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};aXc.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var dXc=function(a,b){a.templateCustomFields=$b(a.templateCustomFields,function(c,d){return!!b[d]})},fXc=function(a,b){if(null!=a.customField){a=k(a.customField);for(var c=a.next(),d={};!c.done;d={$jscomp$loop$prop$allowedValues$m1081749379$6:d.$jscomp$loop$prop$allowedValues$m1081749379$6},c=a.next()){c=c.value;var e=b[c.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){d.$jscomp$loop$prop$allowedValues$m1081749379$6=e.allowedValue||[];var g=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?
(c.repeatedEnumValue=c.repeatedEnumValue||{values:[]},c.repeatedEnumValue.values=c.repeatedEnumValue.values.filter(function(h){return function(m){return h.$jscomp$loop$prop$allowedValues$m1081749379$6.includes(m)}}(d)),!c.repeatedEnumValue.values.length&&g&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.$jscomp$loop$prop$allowedValues$m1081749379$6.includes(c.enumValue)||(c.enumValue=g?e.typedDefaultValue.enumValue:"")}}}},ZWc="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),
$Wc=["inProd"],bXc="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),y2={},gXc=(y2.cc=function(a,b){a.ccUsers=Wkb(b,a.ccUsers||[])},y2.collaborators=function(a,b){a.collaboratorsUsers=Wkb(b,a.collaboratorsUsers||[])},y2.title=function(a,b){"string"===typeof b&&(a.title=b)},y2.assignee=function(a,b){Vkb(b,function(c){a.assigneeUser=c})},y2.reporter=function(a,b){Vkb(b,function(c){a.reporterUser=c})},y2.verifier=function(a,b){Vkb(b,function(c){a.verifierUser=
c})},y2.hotlistIds=function(a,b){if(b=Tkb(b)){a.hotlistId||(a.hotlistId=[]);b=k(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},y2.blockingIssueIds=function(a,b){if(b=Tkb(b))a.blockingIssueId=b.map(String)},y2.blockedByIssueIds=function(a,b){if(b=Tkb(b))a.blockedByIssueId=b.map(String)},y2.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},y2.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},y2.inProd=function(a,b){a.inProd=
"true"===b},y2.priority=function(a,b){if(b=Ukb(olc,b))a.priority=zl(b)},y2.severity=function(a,b){if(b=Ukb(rlc,b))a.severity=Aua(b)},y2.type=function(a,b){if(b=Ukb(qlc,b))a.type=zua(b)},y2);var z2=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
z2.prototype.bulkEdit=function(a){var b=this,c,d,e,g,h,m,r,v,y,A,G,N,Q;return ne(function(Z){switch(Z.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;g=c.actionType;if("ADD"!==g&&"REMOVE"!==g)throw Error("xe");h={};m=[];r=[];v=Kua(e);y=k(v.reverse());A=y.next();case 2:if(A.done){Z.jumpTo(4);break}G=A.value;oe(Z,5);return"ADD"===g?(N=G.map(function(Y){return $E(new ZE,Number(Y))}),Z.yield((0,E.firstValueFrom)(mec(b.issueRelationshipApi,d,N)),8)):Z.yield((0,E.firstValueFrom)(nec(b.issueRelationshipApi,
d,G)),8);case 8:return Z.yield(b.issueApi.batchGetIssues(G).then(function(Y){return Y.map(function(ea){return h[ea.issueId]=ea})}),11);case 11:ht(Z,3);break;case 5:Q=re(Z);if(!em(Q))throw Q;r.push(Q);m.push.apply(m,ad(G));case 3:A=y.next();Z.jumpTo(2);break;case 4:return Z.return({finishedIssues:h,notFinishedIssueIds:m,errors:r})}})};z2.\u0275fac=function(a){return new (a||z2)(u(lF),u(WE))};z2.\u0275prov=wc({token:z2,factory:z2.\u0275fac,providedIn:"root"});var A2=function(a,b){GE.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};U(A2,GE);A2.\u0275dir=GE.\u0275dir;A2.prototype.install=function(){var a=this;this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.history.push(a.bLocation.url());21<a.history.length&&a.history.shift()}))};A2.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};A2.prototype.hasPreviousPage=function(){return 1<this.history.length};
var B2=function(a){if(a.hasPreviousPage()){a.history.pop();var b=a.history.pop();b?a.bLocation.url(b):a.bLocation.url("/")}else a.bLocation.url("/")};A2.\u0275fac=function(a){return new (a||A2)(u(SH),u(cH))};A2.\u0275prov=wc({token:A2,factory:A2.\u0275fac,providedIn:"root"});var C2=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},iXc=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&ot(d,"id=")||ot(d,"bugId="))d+=c;Snc(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};C2.\u0275fac=function(a){return new (a||C2)(u(cH),u(JJ),u(LK))};C2.\u0275prov=wc({token:C2,factory:C2.\u0275fac,providedIn:"root"});var D2=function(a,b){GE.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||(iic("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};U(D2,GE);D2.\u0275dir=GE.\u0275dir;
D2.prototype.install=function(){var a=this;cn()&&(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(De(function(b){return"visible"!==b}),Oe()).subscribe(function(){a.tabWasHidden=!0})))};
var jXc=function(a,b){iic(b);if(b!==a.mostRecentlyMeasured){var c=1>=a.validNavigations?void 0:"appNavStart",d=c?"appNavStart-to-CF":"browserStart-to-CF",e=d+" -> "+b;a.mostRecentlyMeasured=b;if(("browserStart-to-CF"!==d||!a.tabWasHidden)&&cn())if(null===b)console.warn("window.performance does not support endMark `null`");else try{window.performance.measure(e,c,b)}catch(g){console.warn("route_performance",g)}}};D2.\u0275fac=function(a){return new (a||D2)(u(SH),u(E2))};
D2.\u0275prov=wc({token:D2,factory:D2.\u0275fac,providedIn:"root"});var E2=function(a){var b=this;this.window=a;this.visibilityState$=(0,E.fromEvent)(this.window.document,"visibilityChange").pipe($e(void 0),D(function(){return b.currentVisibility}))};wh.Object.defineProperties(E2.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});E2.\u0275fac=function(a){return new (a||E2)(u(FE))};
E2.\u0275prov=wc({token:E2,factory:E2.\u0275fac,providedIn:"root"});var kXc={provide:Uhc,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},lXc={provide:Uhc,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var F2=function(a){this.activeSession=a};F2.prototype.intercept=function(a,b){var c=a.method;return"POST"===c||"PUT"===c||"DELETE"===c?(a=a.clone({setHeaders:{"X-XSRF-TOKEN":this.activeSession.getXsrfToken()}}),b.handle(a)):b.handle(a)};F2.\u0275fac=function(a){return new (a||F2)(u(bt))};F2.\u0275prov=wc({token:F2,factory:F2.\u0275fac,providedIn:"root"});var mXc={provide:JYb,useClass:F2,multi:!0};var G2=function(a){this.http=a};U(G2,wD);f=G2.prototype;f.get=function(a){return this.request("get",a)};f.delete=function(a){return this.request("delete",a)};f.post=function(a){return this.request("post",a,a.body)};f.put=function(a){return this.request("put",a,a.body)};f.request=function(a,b,c){var d=b.options;d=void 0===d?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e;c=null!=(e=null==c?void 0:c.toJSON())?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(D(Xkb(b.responseConstructor)))};
G2.\u0275fac=function(a){return new (a||G2)(u(uy))};G2.\u0275prov=wc({token:G2,factory:G2.\u0275fac,providedIn:"root"});var H2=function(a){this.jspbExecutor=a};U(H2,xD);H2.prototype.get=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.get(a))};H2.prototype.delete=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.delete(a))};H2.prototype.post=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.post(a))};H2.prototype.put=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.put(a))};
H2.\u0275fac=function(a){return new (a||H2)(u(G2))};H2.\u0275prov=wc({token:H2,factory:H2.\u0275fac,providedIn:"root"});var I2=function(){};I2.\u0275fac=function(a){return new (a||I2)};I2.\u0275mod=Oc({type:I2});I2.\u0275inj=xc({providers:[{provide:DG,useClass:FG},{provide:Alc,useClass:zJ},{provide:AJ,useClass:BJ},{provide:lfc,useClass:OF},{provide:mfc,useClass:NF},{provide:nfc,useClass:VF},{provide:vG,useClass:wG},{provide:JI,useClass:LI},{provide:WE,useClass:YE},{provide:WX,useClass:XX},{provide:BH,useClass:EH},{provide:CH,useClass:DH},{provide:wD,useClass:G2},{provide:xD,useClass:H2}],imports:[cG]});var nXc=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};f=nXc.prototype;f.getId=function(){return this.lookupId_};f.setDisplayName=function(a){this.displayName_=a;return this};f.getDisplayName=function(){return this.displayName_};f.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
f.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var oXc=function(a){this.internalArray_=l(a)};U(oXc,q);oXc.prototype.setDisabled=function(a,b){Fb(this,2,a,b,fl)};oXc.repeatedFields_=[1,2];oXc.prototype.toObject=function(){return pXc(this)};var pXc=function(a){if(null!=a)return t(a),{enabledList:n(fl(a,1)),disabledList:n(fl(a,2))}};var J2=function(a){this.internalArray_=l(a)};U(J2,q);f=J2.prototype;f.getEnableClearcut=function(){return Vj(this,1,!1)};f.setEnableClearcut=function(a){return Xj(this,1,a)};f.getClientId=function(){return aj(this,2,0)};f.setClientId=function(a){return cj(this,2,a)};f.getSocialApplication=function(){return aj(this,3,0)};f.getSocialApplicationOrUndefined=function(){return ps(this,3)};f.getComponentFlow=function(){return aj(this,4,0)};f.setComponentFlow=function(a){return cj(this,4,a)};
f.getInterfaceType=function(){return aj(this,5,0)};f.setInterfaceType=function(a){return cj(this,5,a)};f.toObject=function(){return qXc(this)};var qXc=function(a){if(null!=a)return t(a),{enableClearcut:Vj(a,1,!1),clientId:aj(a,2,0),socialApplication:n(p(a,3)),componentFlow:aj(a,4,0),interfaceType:aj(a,5,0),enableVeTracking:Vj(a,6,!0)}};var K2=function(a){this.internalArray_=l(a)};U(K2,q);var nr=function(){var a=lr.getExperiments();return Vj(a,7,!1)};K2.prototype.toObject=function(){return rXc(this)};var rXc=function(a){if(null!=a)return t(a),{enableDisambigForAdditionSuggestions:Vj(a,1,!1),enableSyntheticVe:Vj(a,2,!1),enableOodTag:Vj(a,3,!1),enableLegacyReplacementStyling:Vj(a,4,!0),enableRafAutocomplete:Vj(a,5,!1),enableIsolatedVe:Vj(a,6,!1),enableHide:Vj(a,7,!1)}};var L2=function(a){this.internalArray_=l(a)};U(L2,q);f=L2.prototype;f.getApplication=function(){return aj(this,1,0)};f.setApplication=function(a){return cj(this,1,a)};f.getApplicationOrUndefined=function(){return ps(this,1)};f.getIsEnabled=function(){return Vj(this,2,!1)};f.toObject=function(){return sXc(this)};var sXc=function(a){if(null!=a)return t(a),{application:aj(a,1,0),isEnabled:Vj(a,2,!1),overriddenExperiments:rXc(W(a,K2,3))}};var tXc=function(a){this.internalArray_=l(a)};U(tXc,q);tXc.prototype.toObject=function(){return uXc(this)};var uXc=function(a){if(null!=a)return t(a),{refreshIntervalInMs:n(Ft(a,1))}};var vXc=function(a){this.internalArray_=l(a)};U(vXc,q);vXc.prototype.toObject=function(){return wXc(this)};var wXc=function(a){if(null!=a)return t(a),{refreshIntervalInMs:n(Ft(a,1))}};var xXc=function(a){this.internalArray_=l(a)};U(xXc,q);xXc.prototype.toObject=function(){return yXc(this)};var yXc=function(a){if(null!=a)return t(a),{waldo:wXc(W(a,vXc,1)),hubAvailabilityDot:uXc(W(a,tXc,2))}};var zXc=function(a){this.internalArray_=l(a)};U(zXc,q);f=zXc.prototype;f.getClearcut=function(){return W(this,J2,1)};f.setClearcut=function(a){lj(this,J2,1,a)};f.hasClearcut=function(){return Pj(this,J2,1)};f.getExperiments=function(){return W(this,L2,2)};f.setExperiments=function(a){lj(this,L2,2,a)};f.hasExperiments=function(){return Pj(this,L2,2)};
f.toObject=function(){if(null!=this){t(this);var a={clearcut:qXc(this.getClearcut()),experiments:sXc(this.getExperiments()),maxUndoStackSize:Ht(this,3,10),enableTargetedCopyOptions:Vj(this,4,!1),enableEmailEditing:Vj(this,5,!1),hideGroupResultMemberCount:Vj(this,6,!1),enableHideSuggestion:Vj(this,7,!1),intelligence:yXc(W(this,xXc,8)),enableResultListItemContextMenu:Vj(this,9,!1),featureSet:V(this,10,"all_features"),features:pXc(W(this,oXc,11)),featuresKey:V(this,12,"")}}else a=void 0;return a};var AXc=Gca(zXc);var BXc;var CXc=function(){this.actionListeners=new Map};CXc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};CXc.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)}};
CXc.prototype.notify=function(a){var b=Wc.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=k(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var DXc=function(){this.actionEventDispatcher=new CXc};var EXc=function(){var a=ob(BXc||(BXc=AXc("[[true,49,740,4],[7,true]]")));this.injectorService=new DXc;a.hasClearcut()||a.setClearcut(new J2);a.hasExperiments()||a.setExperiments(new L2);this.internal=a};var blb=function(a){this.root=a;this.length=0};f=blb.prototype;f.getItems=function(){return Array.from(this.root.childNodes)};f.append=function(a){this.root.appendChild(a);++this.length};f.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("ze");if(a===this.length)this.append(b);else{var c=this.getItems();this.root.insertBefore(b,c[a]);++this.length}};f.remove=function(a){if(0>a||a>=this.length)throw new RangeError("ze");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
f.clear=function(){I2b(this.root);this.length=0};f.getRoot=function(){return this.root};var $kb=function(a){return Xq('<ul id="'+$q(a.id)+'" peoplekit-id="'+$q("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+$q("peoplekitComponentsListImplList")+'"></ul>')};var alb=Jq.getInstance();var plb=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(ad(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};f=plb.prototype;
f.remove=function(a,b){var c=-1;a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());0<=c&&b&&(this.isActive=!1,this.goToIndex(c,0))};
f.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(ad(b)));c?(FXc(this),GXc(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):0<=a&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};f.size=function(){return this.list.length};f.prev=function(a){var b=0===this.spotlightIndex&&1===a;!this.list.length||b?a=!1:(this.isActive?(b=this.spotlightIndex-1,b=0<=b?b:this.list.length+b):b=this.list.length-1,a=this.goToIndex(b,a));return a};
f.next=function(a){var b=this.spotlightIndex===this.list.length-1&&1===a;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};f.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
f.goToIndex=function(a,b){this.hideContextMenu();if(!this.list.length||void 0===a||0>a)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:FXc(this);HXc(this);break;case 3:HXc(this);break;case 1:a=dlb(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=dlb(this.multiActivateAnchorIndex,c,this.spotlightIndex);
if(0<=c&&(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);GXc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};f.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};f.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
f.getItem=function(a){for(var b=k(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};f.getIndexOf=function(a){return this.list.indexOf(a)};f.clear=function(){this.reset();this.list.length=0};f.reset=function(){this.hideContextMenu();FXc(this);var a=this.getSpotlitItem();a&&a.unspotlight();this.spotlightIndex=-1;this.isActive=!1};f.setSecondaryEventTargets=function(a){this.secondaryEventTargets=a};
f.onKeyDown=function(a){var b=[this.getSpotlitItem()].concat(ad(this.secondaryEventTargets));b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;null==(d=c.value)||d.onKeyDown(a);if(a.hasStoppedPropagationInternal)break}};f.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 HXc=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},FXc=function(a){for(var b=k(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},GXc=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 IXc=function(a){this.delegate=a};f=IXc.prototype;f.prev=function(a){a=this.delegate.prev(a);JXc(this);return a};f.next=function(a){a=this.delegate.next(a);JXc(this);return a};f.size=function(){return this.delegate.size()};f.goToItem=function(a,b){a=this.delegate.goToItem(a,b);JXc(this);return a};f.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);JXc(this);return a};f.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};f.getActiveItems=function(){return this.delegate.getActiveItems()};
f.getItem=function(a){return this.delegate.getItem(a)};f.getIndexOf=function(a){return this.delegate.getIndexOf(a)};f.clear=function(){this.delegate.clear()};f.reset=function(){this.delegate.reset()};f.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){this.delegate.onContextMenu(a,b)};f.remove=function(a,b){this.delegate.remove(a,b)};f.insert=function(a,b,c){this.delegate.insert(a,b,c)};
var JXc=function(a){(a=a.delegate.getSpotlitItem())&&glb(a.getRoot())};var Glb=function(a){this.root=a;this.length=0;a=this.root;if(void 0!==a.firstElementChild)a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;this.marker=a};f=Glb.prototype;f.append=function(a){this.root.insertBefore(a,this.marker);++this.length};f.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("ze");a===this.length?this.append(b):(this.root.insertBefore(b,this.root.childNodes[a]),++this.length)};
f.remove=function(a){if(0>a||a>=this.length)throw new RangeError("ze");this.removeItem(this.root.childNodes[a])};f.removeItem=function(a){try{this.root.removeChild(a),--this.length}catch(b){}};f.clear=function(){for(;this.root.firstChild&&this.root.firstChild!==this.marker;)this.root.removeChild(this.root.firstChild);this.length=0};f.getRoot=function(){return this.root};f.getItems=function(){return Array.from(this.root.childNodes)};var KXc=function(a,b,c,d){this.loggingToken=d;(new nXc(a)).setDisplayName(b).forceDisplayNameOverride_=c};KXc.prototype.getLoggingToken=function(){return this.loggingToken};var LXc=function(){};LXc.prototype.getDisplayNameMatches=function(){return[]};LXc.prototype.getDisplayValueMatches=function(){return[]};LXc.prototype.getGivenNameMatches=function(){return[]};var MXc=new LXc;var hlb=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};f=hlb.prototype;f.getResultType=function(){return this.resultType_};f.getTargetList=function(){return this.targets_};f.getMemberList=function(){return[]};f.getTotalMemberCount=function(){return this.memberCount_};f.getPrimaryTarget=function(){throw Error("Be");};f.getDisplayName=function(){return""};f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};
f.getMatchInfo=function(){return MXc};f.getExtendedData=function(){return null};var NXc=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 Mr=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};f=Mr.prototype;f.getUrl=function(){return this.url_};f.setUrl=function(a){this.url_=a||"";return this};f.getType=function(){return this.type_};f.setType=function(a){this.type_=a;return this};f.getSourceType=function(){return this.sourceType_};f.setSourceType=function(a){this.sourceType_=a||0;return this};f.getGlyph=function(){return this.glyph_};f.setGlyph=function(a){this.glyph_=a||"";return this};
var OXc=(new Mr).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),PXc=new Mr;var M2=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_="";this.name_=null;this.photo_=sr(this.id_)?PXc:OXc;this.tags_=[];this.sourceIds_=pob.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push(mob(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=NXc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=this.originatingField_=
null};f=M2.prototype;f.getId=function(){return this.id_};f.getTargetType=function(){return this.id_.getType()};f.getValue=function(){return this.value_};f.setValue=function(a){this.value_=(a||"").trim();return this};f.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return a&&a.getValue()||"";case 1:case 2:case 6:case 7:return this.getValue();default:return""}};f.getName=function(){return this.name_};f.setName=function(a){this.name_=a;return this};
f.getDescription=function(){return this.description_};f.setDescription=function(a){this.description_=a||"";return this};f.getPhoto=function(){return this.photo_};f.setPhoto=function(a){a&&a.getUrl()&&1!==a.getType()?this.photo_=a:this.photo_=sr(this.id_)?PXc:OXc};f.getTagList=function(){return this.tags_};var uob=function(a,b){a.tags_=b||[]};f=M2.prototype;f.getSourceIdList=function(){return this.sourceIds_};
f.getProfileId=function(){return this.getSourceIdList().filter(function(a){return 3===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};f.getContactId=function(){return this.getSourceIdList().filter(function(a){return 4===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};f.getLoggingToken=function(){return new es};f.getIsMe=function(){return this.isMe_};var sob=function(a,b){a.isMe_=b;return a};f=M2.prototype;
f.getIsPersonalResult=function(){return 1===this.dataSource_};f.getDataSource=function(){return this.dataSource_};f.setDataSource=function(a){this.dataSource_=a;return this};f.getResultType=function(){return this.resultType_};f.getFieldLoggingId=function(){return this.fieldLoggingId_};f.setFieldLoggingId=function(a){this.fieldLoggingId_=a||""};f.getPersonLoggingId=function(){return this.personLoggingId_};f.setPersonLoggingId=function(a){this.personLoggingId_=a||""};f.getOrgState=function(){return this.orgState_};
f.getOriginatingField=function(){return this.originatingField_};f.setOriginatingField=function(a){this.originatingField_=a;return this};var Lr=function(a){return new M2(a)};M2.prototype.getExtendedData=function(){return this.extendedData_};M2.prototype.setExtendedData=function(a){this.extendedData_=a};var QXc=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=Lr(this.internalId).setDataSource(3);this.internalResult=new sq(ilb(0,[a]));this.internalSelectionToken=new KXc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};f=QXc.prototype;f.id=function(){return this.internalId};f.selectionToken=function(){return this.internalSelectionToken};f.targets=function(){return this.internalResult.getTargetList()};f.result=function(){return this.internalResult};
f.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};f.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};f.isPlaceholder=function(){return!0};var nlb=function(a,b){this.root=a;this.options=b};f=nlb.prototype;f.activate=function(){this.root.classList.add("isActive")};f.deactivate=function(){this.root.classList.remove("isActive")};f.spotlight=function(){};f.unspotlight=function(){};f.getRoot=function(){return this.root};f.getSelection=function(){return new QXc(oob(this.options.id))};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var mlb=function(a){var b=a.keyboardShortcut,c=a.densityClass,d=a.ariaLabel,e=a.id,g=a.iconUrl;a=a.label;Array.isArray(b);b='<div role="menuitem" id="'+$q(e)+'" peoplekit-id="'+$q("UhZROb")+'" class="'+$q("peoplekitComponentsContextmenuitemImplMenuItem")+" "+$q(c)+'"'+(d?' aria-label="'+$q(d)+'"':"")+'><div class="'+$q("peoplekitComponentsContextmenuitemImplRow")+'">'+(g?'<img class="'+$q("peoplekitComponentsContextmenuitemImplIcon")+" "+$q("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
$q(XDc(g))+'" draggable="false" alt=""/>':"")+'<div class="'+$q("peoplekitComponentsContextmenuitemImplLabel")+" "+$q("peoplekitComponentsContextmenuitemImplCenter")+'">'+ar(a)+"</div>"+(0<dS(b).length?'<div class="'+$q("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+$q("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">'+ar(dS(b).join("+"))+"</span></div>":"")+"</div></div>";return Xq(b)};var RXc=["pk-select","pk-deselect","pk-click","pk-input"],SXc=new Map([["pk-select",3],["pk-deselect",3],["pk-click",3],["pk-input",15]]);var jlb=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 Kq=function(a,b){this.ariaParent=a;this.delegate=b};f=Kq.prototype;f.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),FM(this.ariaParent,a)):FM(this.ariaParent,null)};f.prev=function(a){a=this.delegate.prev(a);this.update();return a};f.next=function(a){a=this.delegate.next(a);this.update();return a};f.size=function(){return this.delegate.size()};f.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
f.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};f.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};f.getActiveItems=function(){return this.delegate.getActiveItems()};f.getItem=function(a){return this.delegate.getItem(a)};f.getIndexOf=function(a){return this.delegate.getIndexOf(a)};f.clear=function(){this.delegate.clear();this.update()};f.reset=function(){this.delegate.reset();this.update()};f.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};
f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){var c=this;this.delegate.onContextMenu(a,function(){c.update();b()})};f.remove=function(a,b){this.delegate.remove(a,b);this.update()};f.insert=function(a,b,c){this.delegate.insert(a,b,c);this.update()};var N2=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};N2.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};N2.prototype.preventDefault=function(){this.event.preventDefault()};var tlb=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=Nq(this)};f=tlb.prototype;
f.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 N2(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new N2(d))});this.eventHandler.listen(this.input,"blur",function(){return c.onBlur()})};f.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
f.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())}};f.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};f.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};f.reset=function(){this.navigatable&&this.navigatable.reset()};f.onBlur=function(){this.reset()};var TXc=Object.freeze(new Qq(NaN,NaN)),UXc=Object.freeze(new kS(NaN,NaN,NaN,NaN)),Uq=function(a,b){this.root=a;this.options=b;this.lastPosition=TXc;this.lastBounds=UXc;this.anchorUpdateTimer=new EB(15);this.eventHandler=Nq(this);this.attach()};Uq.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return VXc(a)})};Uq.prototype.isShown=function(){return"none"!=this.root.style.display};Uq.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};
Uq.prototype.show=function(a){this.anchor=a;this.lastPosition=TXc;this.lastBounds=UXc;oS(this.root,!0);VXc(this);this.anchorUpdateTimer.start()};
var VXc=function(a){var b;if(b=a.anchor){if(!(b=!a.lastPosition.equals(nS(a.anchor)))){b=a.lastBounds;var c=Oq(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=Oq(c),b=(c=Pq(c))?b.intersection(wlb(c)):!1)}if(b){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,g=d.popupCorner||8;d=void 0===d.moveAboveAnchorIfOffscreen?!0:d.moveAboveAnchorIfOffscreen;Tq(b,"","");b.style.height=mS("",!0);var h=Alb(c,e,b,g,d);c=Alb(c,e^1,b,g^1,d);h.height>=
c.height||!d?Dlb(b,h):Dlb(b,c);a.lastPosition=nS(a.anchor);a.lastBounds=Oq(a.root)}};Uq.prototype.hide=function(){this.root.style.cssText="";oS(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=TXc;this.lastBounds=UXc};var WXc=new lB;WXc.altKey=!0;WXc.keyCode=39;(new lB).keyCode=13;var XXc=function(){iB.call(this)};U(XXc,iB);XXc.prototype.init=function(){};new XXc;var YXc=!Gq&&!haa(),ZXc=function(a,b){if(/-[a-z]/.test(b))return null;if(YXc&&a.dataset){if(iaa()&&!(b in a.dataset))return null;a=a.dataset[b];return void 0===a?null:a}return a.getAttribute("data-"+String(b).replace(/([A-Z])/g,"-$1").toLowerCase())};var Wq=function(a,b,c,d,e){this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=Elb(this.root,{});this.navigatable=qlb(c);this.navigationEventHandler=ulb({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=Nq(this);this.eventHandler.listen(this.root,"mouseover",function(g){g.stopPropagation()});
this.eventHandler.listen(this.root,"mouseout",function(g){g.stopPropagation()});this.eventHandler.listen(this.root,"mouseenter",function(g){g.stopPropagation()});this.hide()};
Wq.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=olb(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(Vq(e))}d.stopPropagation();$Xc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
Wq.prototype.show=function(){for(var a=k(this.beforeShowCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b();this.popup.show(this.anchor);this.navigationEventHandler.attach(this.root,this.navigatable);this.navigatable.next(0)};Wq.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=k(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
Wq.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(Vq(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);$Xc(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var aYc=function(a,b){a.itemSelectedCallbacks.add(b)},bYc=function(a,b){a.afterHideCallbacks.add(b)},$Xc=function(a,b){a=k(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};Wq.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 Flb=function(){return Xq('<div peoplekit-id="'+$q("xl07Ob")+'" class="'+$q("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var Jlb=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=Nq(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};f=Jlb.prototype;f.getRoot=function(){return this.root};f.enable=function(){this.root.classList.remove("isDisabled");this.root.setAttribute("aria-disabled","false");this.internalIsDisabled=!1};
f.disable=function(){this.root.classList.add("isDisabled");this.root.setAttribute("aria-disabled","true");this.internalIsDisabled=!0};f.isDisabled=function(){return this.internalIsDisabled};f.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0};var Ilb=function(a){a=a.label;return Xq('<button class="'+$q("peoplekitComponentsButtonLabelLabelButton")+'">'+ar(a)+"</button>")};var dmb=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=Nq(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=Lq(this.root,"Sx9Kwc");this.startFocusableElement=Lq(this.root,"tYwGbe");this.endFocusableElement=Lq(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()};f=dmb.prototype;f.subscribeToAction=function(a){this.actionListeners.push(a)};
f.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){for(var c=k(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(Vq(a))}};f.getRoot=function(){return this.root};f.onDialogClick=function(a){a.stopPropagation()};f.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(0),a.stopPropagation())};f.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};f.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};
f.focusFirstFocusableElement=function(){var a=rlb(this.dialog);a.length&&a[0].focus()};f.focusLastFocusableElement=function(){var a=rlb(this.dialog);a.length&&a[a.length-1].focus()};f.onScrimClick=function(){this.dispatchAction(0)};f.onButtonClick=function(a){this.dispatchAction(a)};
f.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=k(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var cmb=function(a){var b=a.content;a=a.header;return Xq('<div peoplekit-id="'+$q("GGAcbc")+'" class="'+$q("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+$q("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+$q("Sx9Kwc")+'" class="'+$q("peoplekitComponentsDialogImplDialog")+'" tabindex="-1">'+(a?'<div class="'+$q("peoplekitComponentsDialogImplHeader")+'">'+ar(a)+"</div>":"")+'<div class="'+$q("peoplekitComponentsDialogImplContent")+
'">'+ar(b)+'</div><div class="'+$q("peoplekitComponentsDialogImplActions")+'">'+Xq(cYc("IbE0S"))+Xq('<div class="'+$q("peoplekitComponentsDialogImplActionDivider")+'"></div>')+Xq(cYc("McfNlf"))+'</div></div><div peoplekit-id="'+$q("dYgZK")+'" tabindex="0" role="application"></div></div>')},cYc=function(a){return Xq('<div peoplekit-id="'+$q(a)+'"></div>')};var Olb=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=Nq(this);this.dialog=Lq(this.root,"Sx9Kwc");this.startFocusableElement=Lq(this.root,"tYwGbe");this.endFocusableElement=Lq(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()};f=Olb.prototype;f.subscribeToAction=function(a){this.actionListeners.push(a)};f.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&2===a)for(var b=k(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};f.getRoot=function(){return this.root};
f.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};f.onDialogClick=function(a){a.stopPropagation()};f.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(2),a.stopPropagation())};f.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};f.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};
f.focusFirstFocusableElement=function(){var a=rlb(this.dialog);a.length&&a[0].focus()};f.focusLastFocusableElement=function(){var a=rlb(this.dialog);a.length&&a[a.length-1].focus()};f.onScrimClick=function(){this.dispatchAction(2)};var Nlb=function(a){var b=a.content;a=a.header;return Xq('<div peoplekit-id="'+$q("GGAcbc")+'" class="'+$q("peoplekitComponentsDialogInfoScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+$q("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+$q("Sx9Kwc")+'" class="'+$q("peoplekitComponentsDialogInfoDialog")+'" tabindex="-1" role="dialog">'+(a?'<div class="'+$q("peoplekitComponentsDialogInfoHeader")+'">'+ar(a)+"</div>":"")+'<div class="'+$q("peoplekitComponentsDialogInfoContent")+
'"><div class="'+$q("peoplekitComponentsDialogInfoDescription")+'">'+ar(b)+'</div></div><div class="'+$q("peoplekitComponentsDialogInfoActions")+'">'+Xq('<div peoplekit-id="'+$q("TvD9Pc")+'"></div>')+'</div></div><div peoplekit-id="'+$q("dYgZK")+'" tabindex="0" role="application"></div></div>')},Qlb=function(a){a=a.header;return Xq('<div class="'+$q("peoplekitComponentsDialogInfoTextHeader")+'">'+ar(a)+"</div>")},dYc=function(a){var b=a.description,c=a.learnMoreLinkUrl;a=a.learnMoreLinkText;return Xq('<div class="'+
$q("peoplekitComponentsDialogInfoDescription")+'">'+ar(b)+'  <a href="'+$q(VDc(c))+'" target="_blank" class="'+$q("peoplekitComponentsDialogInfoLearnMoreLink")+'" peoplekit-id="'+$q("lh87ke")+'">'+ar(a)+"</a></div>")};var Llb=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var eYc=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us)\\.googleusercontent)|((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)|(dp[3-6]\\.googleusercontent\\.cn)|(lh[3-6]\\.(googleadsserving\\.cn|xn--9kr7l\\.com))|(photos\\-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)?))\\/",
"i"),fYc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,gYc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,hYc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var iYc=/\/\/lh[3-6]\./,jYc=function(a,b,c,d){var e;(e=!a)||(e=String(a),e=!(eYc.test(e)||fYc.test(e)||gYc.test(e)||hYc.test(e)));if(e)return String(a||"");a=String(a);void 0===d&&(d=1);b=Math.ceil((b||0)*d);c=Math.ceil((c||0)*d);d=b==c;a=a.replace(iYc,"//lh3.");return(new HK(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 Vlb=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,g=a.pixelRatio;Array.isArray(b);a=Xq;var h='<div class="'+$q("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+$q(gS(d))+"px; height: "+$q(gS(d))+'px"><div peoplekit-id="'+$q("YLEF4c")+'" class="'+$q("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+$q(gS(d))+"px; height: "+$q(gS(d))+'px">';Array.isArray(b);1==dS(b).length?(Array.isArray(b),b=Xq('<div class="'+$q("peoplekitComponentsAvatarImplContainer")+
'">'+O2(b[0],c,d,e,g)+"</div>")):2==dS(b).length?(Array.isArray(b),b=Xq('<div class="'+$q("peoplekitComponentsAvatarImplContainer")+'"><div class="'+$q("peoplekitComponentsAvatarImplColumn")+'">'+O2(b[0],c,d,e,g)+"</div>"+P2()+'<div class="'+$q("peoplekitComponentsAvatarImplColumn")+'">'+O2(b[1],c,d,e,g)+"</div></div>")):3==dS(b).length?(Array.isArray(b),b=Xq('<div class="'+$q("peoplekitComponentsAvatarImplContainer")+'"><div class="'+$q("peoplekitComponentsAvatarImplColumn")+'">'+O2(b[0],c,d,e,g)+
"</div>"+P2()+'<div class="'+$q("peoplekitComponentsAvatarImplColumn")+'"><div class="'+$q("peoplekitComponentsAvatarImplRow")+'">'+O2(b[1],c,Math.round(.5*d),e,g)+"</div>"+P2()+'<div class="'+$q("peoplekitComponentsAvatarImplRow")+'">'+O2(b[2],c,Math.round(.5*d),e,g)+"</div></div></div>")):(Array.isArray(b),b=Xq('<div class="'+$q("peoplekitComponentsAvatarImplContainer")+'"><div class="'+$q("peoplekitComponentsAvatarImplColumn")+'"><div class="'+$q("peoplekitComponentsAvatarImplRow")+'">'+O2(b[0],
c,Math.round(.5*d),e,g)+"</div>"+P2()+'<div class="'+$q("peoplekitComponentsAvatarImplRow")+'">'+O2(b[2],c,Math.round(.5*d),e,g)+"</div></div>"+P2()+'<div class="'+$q("peoplekitComponentsAvatarImplColumn")+'"><div class="'+$q("peoplekitComponentsAvatarImplRow")+'">'+O2(b[1],c,Math.round(.5*d),e,g)+"</div>"+P2()+'<div class="'+$q("peoplekitComponentsAvatarImplRow")+'">'+O2(b[3],c,Math.round(.5*d),e,g)+"</div></div></div>"));b=Xq(b);return a(h+b+'</div><div peoplekit-id="'+$q("Btuy5e")+'" class="'+
$q("peoplekitComponentsAvatarImplAvatarBadge")+'">'+Xq('<img class="'+$q("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+$q("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},O2=function(a,b,c,d,e){var g=VDc(jYc(a,c,c,e));g=IDc(g);a=VDc(jYc(a,d,d,e));a=IDc(a);b=VDc(jYc(b,c,c,e));b=IDc(b);g='<div peoplekit-id="'+$q("IHgMKc")+'" class="'+$q("peoplekitComponentsAvatarImplImageRoot")+'"><img peoplekit-id="'+$q("HiaYvf")+'" class="'+$q("peoplekitComponentsAvatarImplImage")+'" style="width: '+
$q(gS(c))+"px; height: "+$q(gS(c))+'px;" data-preload-src="'+$q(a)+'" data-src="'+$q(g)+'" data-backup-src="'+$q(b)+'" draggable="false" alt="">';c=Xq('<svg xmlns="http://www.w3.org/2000/svg" height="'+$q(c)+'px" viewBox="0 0 24 24" width="'+$q(c)+'px" class="'+$q("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 Xq(g+c+"</div>")},P2=function(){return Xq('<div class="'+$q("peoplekitComponentsAvatarImplDivider")+'"></div>')};var kYc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var lYc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),mYc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),Xlb=function(a,b){this.appearance=b;this.root=a;nYc(this)};f=Xlb.prototype;
f.setBadge=function(a){var b=Lq(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=lYc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(kYc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=mYc.get(a.badgeType)||"";d=Lq(b,"m6fZne");c&&(d.src=c);d.alt=a;b.classList.add("visible")}};f.getAllIds=function(){return[]};f.updateWaldo=function(){};f.updateHubAvailabilityDot=function(){};
f.getSupportedIntelligenceFeatures=function(){return[]};f.initializeIntelligence=function(){};
var nYc=function(a){a=k(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var b=a.next(),c={};!b.done;c={$jscomp$loop$prop$img$m1278558115$4:c.$jscomp$loop$prop$img$m1278558115$4,$jscomp$loop$prop$src$m1278558115$2:c.$jscomp$loop$prop$src$m1278558115$2,$jscomp$loop$prop$imageRoot$m1278558115$6:c.$jscomp$loop$prop$imageRoot$m1278558115$6,$jscomp$loop$prop$backupSrc$m1278558115$5:c.$jscomp$loop$prop$backupSrc$m1278558115$5},b=a.next())c.$jscomp$loop$prop$imageRoot$m1278558115$6=b.value,
c.$jscomp$loop$prop$img$m1278558115$4=Lq(c.$jscomp$loop$prop$imageRoot$m1278558115$6,"HiaYvf"),b=ZXc(c.$jscomp$loop$prop$img$m1278558115$4,"preloadSrc"),c.$jscomp$loop$prop$src$m1278558115$2=ZXc(c.$jscomp$loop$prop$img$m1278558115$4,"src"),c.$jscomp$loop$prop$backupSrc$m1278558115$5=ZXc(c.$jscomp$loop$prop$img$m1278558115$4,"backupSrc"),Ulb(c.$jscomp$loop$prop$src$m1278558115$2)?c.$jscomp$loop$prop$img$m1278558115$4.src=c.$jscomp$loop$prop$src$m1278558115$2:Ulb(b)?(c.$jscomp$loop$prop$img$m1278558115$4.src=
b,yo(function(d){return function(){d.$jscomp$loop$prop$img$m1278558115$4.src=d.$jscomp$loop$prop$src$m1278558115$2}}(c),0)):(c.$jscomp$loop$prop$imageRoot$m1278558115$6.classList.add("isLoading"),c.$jscomp$loop$prop$img$m1278558115$4.onload=function(d){return function(){d.$jscomp$loop$prop$imageRoot$m1278558115$6.classList.remove("isLoading")}}(c),c.$jscomp$loop$prop$img$m1278558115$4.onerror=function(d){return function(){d.$jscomp$loop$prop$img$m1278558115$4.getAttribute("src")===d.$jscomp$loop$prop$backupSrc$m1278558115$5?
(d.$jscomp$loop$prop$img$m1278558115$4.onerror=null,d.$jscomp$loop$prop$imageRoot$m1278558115$6.classList.remove("isLoading"),d.$jscomp$loop$prop$imageRoot$m1278558115$6.classList.add("isNotLoaded")):d.$jscomp$loop$prop$img$m1278558115$4.src=d.$jscomp$loop$prop$backupSrc$m1278558115$5}}(c),c.$jscomp$loop$prop$img$m1278558115$4.src=c.$jscomp$loop$prop$src$m1278558115$2)};var Yq=function(){this.theme=this.density=0};Yq.prototype.getDensity=function(){return this.density};Yq.prototype.setDensity=function(a){this.density=a};Yq.prototype.getTheme=function(){return this.theme};Yq.prototype.setTheme=function(a){this.theme=a};var cr=function(a){this.dialog=a};cr.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};cr.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};cr.prototype.getRoot=function(){return this.dialog.getRoot()};cr.prototype.dispose=function(){this.dialog.dispose()};var Q2=function(a){this.delegate=a};f=Q2.prototype;f.getAllIds=function(){return this.delegate.getAllIds()};f.toggleSelection=function(){this.delegate.toggleSelection()};f.activate=function(){this.delegate.activate()};f.deactivate=function(){this.delegate.deactivate()};f.spotlight=function(){this.delegate.spotlight()};f.unspotlight=function(){this.delegate.unspotlight()};f.getRoot=function(){return this.delegate.getRoot()};f.getSelection=function(){return this.delegate.getSelection()};
f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};f.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};f.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};f.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};f.initializeIntelligence=function(){this.delegate.initializeIntelligence()};f.addTag=function(a){this.delegate.addTag(a)};
f.setMetaIcon=function(a){this.delegate.setMetaIcon(a)};f.dispose=function(){this.delegate.dispose()};var or=function(a,b,c,d,e){this.delegate=a;var g=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=Lq(a.getRoot(),"QL45qe");this.eventHandler=Nq(this);this.eventHandler.listen(document,"click",function(h){g.contextMenuContainer.contains(h.target)||oYc(g)});this.eventHandler.listen(document,"keydown",function(h){if(g.contextMenu)g.contextMenu.onKeyDown(new N2(h))})};
U(or,Q2);or.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else Q2.prototype.onKeyDown.call(this,a)};
or.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&oYc(this);this.contextMenu=Hlb(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(klb(a));aYc(this.contextMenu,function(d){switch(d.id){case "ENOWEf":2>c.groupMembers.length?pYc(c):qYc(c);break;default:throw Error("De`"+d.id);}oYc(c)});bYc(this.contextMenu,function(){oYc(c);b()});this.contextMenu.show();
return function(){oYc(c)}};or.prototype.dispose=function(){this.eventHandler.removeAll();Q2.prototype.dispose.call(this)};
var pYc=function(a){rYc(a);a.dispatcher.notify(8);a.hideConfirmationDialog=emb(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig,0);a.hideConfirmationDialog.subscribeToAction(function(b){1===b&&(b=a.getAllIds(),1===a.groupMembers.length&&(b=[a.groupMembers[0].getPrimaryTarget().getId()]),a.dispatcher.notify(1,b));rYc(a)})},rYc=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},qYc=function(a){sYc(a);
a.dispatcher.notify(8);a.hideGroupErrorDialog=Slb(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){sYc(a)})},sYc=function(a){var b;null==(b=a.hideGroupErrorDialog)||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},oYc=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var vmb=function(a){a=a.memberCount;return(new ooc("{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)},umb=function(a){a=a.memberNames;Array.isArray(a);return dS(a).join(", ")};var tYc=function(a){this.internalArray_=l(a)};U(tYc,q);tYc.prototype.toObject=function(){return uYc(this)};var uYc=function(a){if(null!=a)return t(a),{}};var vYc=function(a){this.internalArray_=l(a)};U(vYc,q);vYc.prototype.toObject=function(){return wYc(this)};var wYc=function(a){if(null!=a)return t(a),{exampleBooleanFlag:Vj(a,1,!1),exampleIntegerFlag:Vh(a,2,42)}};var xYc=function(a){this.internalArray_=l(a)};U(xYc,q);xYc.prototype.toObject=function(){return yYc(this)};var yYc=function(a){if(null!=a)return t(a),{}};var zYc=function(a){this.internalArray_=l(a)};U(zYc,q);zYc.prototype.toObject=function(){return AYc(this)};var AYc=function(a){if(null!=a)return t(a),{enableProjectLean:Vj(a,1,!1),enableEmailAddressMatching:Vj(a,2,!1),enableFilterNonPrimarySignupEmail:Vj(a,3,!1),enableSmartaddressCounterfactualLogging:Vj(a,4,!1),enableExtensibleLookupcache:Vj(a,5,!1)}};var BYc=function(a){this.internalArray_=l(a)};U(BYc,q);BYc.prototype.toObject=function(){return CYc(this)};var CYc=function(a){if(null!=a)return t(a),{enableProjectLean:Vj(a,1,!1)}};var DYc=function(a){this.internalArray_=l(a)};U(DYc,q);DYc.prototype.toObject=function(){return EYc(this)};var EYc=function(a){if(null!=a)return t(a),{enablePopulousV2:Vj(a,1,!0)}};var FYc=function(a){this.internalArray_=l(a)};U(FYc,q);FYc.prototype.toObject=function(){return GYc(this)};var GYc=function(a){if(null!=a)return t(a),{}};var HYc=function(a){this.internalArray_=l(a)};U(HYc,q);HYc.prototype.getIsEnabled=function(){return Vj(this,1,!1)};HYc.prototype.toObject=function(){return IYc(this)};var IYc=function(a){if(null!=a)return t(a),{isEnabled:Vj(a,1,!1),answer:uj(a,2,42)}};var hr=function(a){this.internalArray_=l(a)};U(hr,q);hr.prototype.getRequestType=function(){return aj(this,1,0)};hr.prototype.setRequestType=function(a){return cj(this,1,a)};hr.prototype.toObject=function(){return JYc(this)};
var JYc=function(a){if(null!=a)return t(a),{requestType:n(p(a,1)),testExperimentFlags:IYc(W(a,HYc,101)),hovercardExperimentsRoot:uYc(W(a,tYc,102)),peopleIntelligenceExperimentsRoot:yYc(W(a,xYc,103)),populousExperimentsRoot:AYc(W(a,zYc,104)),sendkitExperimentsRoot:EYc(W(a,DYc,105)),integrationExampleFeature:wYc(W(a,vYc,106)),peoplekitExperimentsRoot:rXc(W(a,K2,107)),populousLeanExperimentFlags:CYc(W(a,BYc,108)),sharekitExperimentsRoot:GYc(W(a,FYc,109))}};var KYc=function(){var a=new hr,b=new K2;this.experimentFlags_=lj(a,K2,107,b)};KYc.prototype.getExperimentFlags=function(){return this.experimentFlags_};KYc.prototype.getExperimentIds=function(){return[]};var Enb=function(a,b){this.cache=b;this.overriddenExperiments=W(a,K2,3)||new K2};Enb.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:W(a,K2,107))||new K2;a=this.overriddenExperiments;Qk(a,3)&&Xj(b,3,Vj(a,3,!1));Qk(a,4)&&Xj(b,4,Vj(a,4,!0));return b};Enb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var LYc=function(a){this.internalArray_=l(a)};U(LYc,q);f=LYc.prototype;f.getCacheStaleSec=function(){return Vh(this,4,14400)};f.getCacheExpiredSec=function(){return Vh(this,5,1209600)};f.getRpcTimeoutSec=function(){return Vh(this,7,60)};f.getApiKey=function(){return V(this,8,"")};f.setApiKey=function(a){return uk(this,8,a)};f.getEnableClearcut=function(){return Vj(this,13,!0)};f.setEnableClearcut=function(a){return Xj(this,13,a)};
f.toObject=function(){if(null!=this){t(this);var a={minimumCacheRefreshSec:Vh(this,3,1800),cacheStaleSec:Vh(this,4,14400),cacheExpiredSec:Vh(this,5,1209600),rpcTimeoutSec:Vh(this,7,60),apiKey:V(this,8,""),apiRoot:n(X(this,10)),cacheRefreshRateSec:Vh(this,11,14400),maxRefreshCount:Vh(this,12,18),enableClearcut:Vj(this,13,!0)}}else a=void 0;return a};var Cnb=Gca(LYc);var Bnb;var MYc=function(){};MYc.prototype.getExperimentFlags=function(){return new hr};MYc.prototype.getExperimentIds=function(){return[]};var Br=function(){};Br.prototype.prefetch=function(){};Br.prototype.loadExperiments=function(){return new MYc};var R2=function(a){this.internalArray_=l(a)};U(R2,q);R2.prototype.getVersion=function(){return uj(this,1)};R2.prototype.setVersion=function(a){return cj(this,1,a)};R2.prototype.getVersionOrUndefined=function(){return St(this,1)};R2.prototype.toObject=function(){return NYc(this)};var NYc=function(a){if(null!=a)return t(a),{version:n(p(a,1))}};var S2=function(a){this.internalArray_=l(a)};U(S2,q);f=S2.prototype;f.getApplication=function(){return aj(this,1,0)};f.setApplication=function(a){return cj(this,1,a)};f.getApplicationOrUndefined=function(){return ps(this,1)};f.getVersion=function(){return uj(this,2)};f.setVersion=function(a){return cj(this,2,a)};f.getVersionOrUndefined=function(){return St(this,2)};f.toObject=function(){return OYc(this)};var OYc=function(a){if(null!=a)return t(a),{application:n(p(a,1)),version:n(p(a,2))}};var PYc=function(a){this.internalArray_=l(a)};U(PYc,q);f=PYc.prototype;f.getRequestType=function(){return aj(this,1,0)};f.setRequestType=function(a){return cj(this,1,a)};f.getProfileId=function(){return V(this,2)};f.getProfileId_legacyNullable=function(){return X(this,2)};f.setProfileId=function(a){return uk(this,2,a)};f.hasProfileId=function(){return Jk(this,2)};f.getCaller=function(){return W(this,R2,3)};f.setCaller=function(a){return lj(this,R2,3,a)};f.getInstanceId=function(){return V(this,4)};
f.setInstanceId=function(a){return uk(this,4,a)};f.clearInstanceId=function(){Ct(this,4)};f.hasInstanceId=function(){return Jk(this,4)};f.getInstanceIdOrUndefined=function(){return Tt(this,4)};f.getClient=function(){return W(this,S2,5)};f.setClient=function(a){return lj(this,S2,5,a)};f.hasClient=function(){return Pj(this,S2,5)};
f.toObject=function(){if(null!=this){t(this);var a={requestType:aj(this,1,0),profileId:n(X(this,2)),caller:NYc(this.getCaller()),instanceId:n(X(this,4)),client:OYc(this.getClient())}}else a=void 0;return a};var er=function(a){this.internalArray_=l(a)};U(er,q);f=er.prototype;f.getErrorType=function(){return aj(this,2,1)};f.setErrorType=function(a){return cj(this,2,a)};f.getErrorMessage=function(){return V(this,3)};f.setErrorMessage=function(a){uk(this,3,a)};f.toObject=function(){return QYc(this)};var QYc=function(a){if(null!=a)return t(a),{errorType:aj(a,2,1),errorMessage:n(X(a,3))}};var gr=function(a){this.internalArray_=l(a)};U(gr,q);f=gr.prototype;f.getExperimentFlags=function(){return W(this,hr,1)};f.setExperimentFlags=function(a){return lj(this,hr,1,a)};f.hasExperimentFlags=function(){return Pj(this,hr,1)};f.getError=function(){return W(this,er,2)};f.setError=function(a){lj(this,er,2,a)};f.hasError=function(){return Pj(this,er,2)};f.getSource=function(){return aj(this,3,0)};f.setSource=function(a){return cj(this,3,a)};f.hasSource=function(){return tj(this,3)};
f.getSourceOrUndefined=function(){return ps(this,3)};f.getInstanceId=function(){return V(this,4)};f.setInstanceId=function(a){return uk(this,4,a)};f.clearInstanceId=function(){Ct(this,4)};f.hasInstanceId=function(){return Jk(this,4)};f.getInstanceIdOrUndefined=function(){return Tt(this,4)};f.getExperimentIdsList=function(){return Uh(this,5)};f.setExperimentIdsList=function(a){return Cb(this,5,a,bb)};f.getExperimentIds=function(){return Jt(this,5)};
f.setExperimentIds=function(a){Fb(this,5,a,bb(void 0),Uh)};gr.repeatedFields_=[5];gr.prototype.toObject=function(){if(null!=this){t(this);var a={experimentFlags:JYc(this.getExperimentFlags()),error:QYc(this.getError()),source:n(p(this,3)),instanceId:n(X(this,4)),experimentIdsList:n(Uh(this,5))}}else a=void 0;return a};var RYc=function(a,b){this.client_=a;this.runtime_=b;gmb();this.apiKey_=a.getApiKey();this.apiRoot_=V(this.client_,10)||IMa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};RYc.prototype.getClient=function(){return this.client_};RYc.prototype.getApiKey=function(){return this.apiKey_};var T2=function(a){this.internalArray_=l(a)};U(T2,q);f=T2.prototype;f.getExperimentFlags=function(){return W(this,hr,1)};f.setExperimentFlags=function(a){return lj(this,hr,1,a)};f.hasExperimentFlags=function(){return Pj(this,hr,1)};f.getObfuscatedGaiaId=function(){return X(this,2)};f.getObfuscatedGaiaId_legacyNullable=function(){return X(this,2)};f.setObfuscatedGaiaId=function(a){uk(this,2,a)};f.getExperimentIdsList=function(){return Uh(this,3)};
f.setExperimentIdsList=function(a){return Cb(this,3,a,bb)};f.getExperimentIds=function(){return Jt(this,3)};f.setExperimentIds=function(a){Fb(this,3,a,bb(void 0),Uh)};var SYc=Yb(T2);T2.repeatedFields_=[3];T2.prototype.toObject=function(){if(null!=this){t(this);var a={experimentFlags:JYc(this.getExperimentFlags()),obfuscatedGaiaId:n(X(this,2)),experimentIdsList:n(Uh(this,3))}}else a=void 0;return a};var TYc=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},UYc=function(a,b,c){a=a.now_()-1E3*c;return b>a};TYc.prototype.getCacheState=function(a){var b=Vh(this.clientConfig_.getClient(),3,1800);if(UYc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(UYc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return UYc(this,a,b)?3:4};var fr=function(a,b){b=Error.call(this,void 0===b?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.type=a};U(fr,Error);var VYc=function(a,b){b=void 0===b?null:b;var c=hmb(a);a=a.getProfileId()||b;return c&&a?JSON.stringify([c,a]):null},WYc=new fr(6);var XYc=function(){};var U2=function(){};nt(U2,XYc);U2.prototype.getCount=function(){for(var a=0,b=k(this),c=b.next();!c.done;c=b.next())a++;return a};U2.prototype[Symbol.iterator]=function(){return Ahc(this.__iterator__(!0)).toEs6()};U2.prototype.clear=function(){var a=Array.from(this);a=k(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var YYc=function(a){this.storage_=a};nt(YYc,U2);f=YYc.prototype;f.set=function(a,b){try{this.storage_.setItem(a,b)}catch(c){if(0==this.storage_.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};f.get=function(a){a=this.storage_.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};f.remove=function(a){this.storage_.removeItem(a)};f.getCount=function(){return this.storage_.length};
f.__iterator__=function(a){var b=0,c=this.storage_,d=new eH;d.next=function(){if(b>=c.length)return zhc;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}};return d};f.clear=function(){this.storage_.clear()};f.key=function(a){return this.storage_.key(a)};var jmb=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};nt(jmb,YYc);var V2=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};nt(V2,U2);V2.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};V2.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};V2.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
V2.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new eH;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 jr=function(a,b){var c=void 0,d=void 0;b=void 0===b?new jmb:b;c=void 0===c?w4b:c;d=void 0===d?t4b:d;this.clientConfig_=a;this.transformer_=new TYc(this.clientConfig_);this.localStorage_=b;this.serializeJson_=c;this.isValidJson_=d;this.prefix_="PeopleStackExperiments";this.storage_=new V2(this.localStorage_,this.prefix_)};
jr.prototype.set=function(a,b){var c=VYc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw WYc;a={keyPath:c,experiments:b.serialize(),lastUpdated:Date.now(),instanceId:a.getInstanceId()};this.storage_.set(c,this.serializeJson_(a));return c};
jr.prototype.get=function(a){a=VYc(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;if((a=a&&this.isValidJson_(a)?JSON.parse(a):null)&&4!==this.transformer_.getCacheState(a.lastUpdated)){var b=this.transformer_;a={keyPath:a.keyPath,experiments:SYc(a.experiments),lastUpdated:new Date(a.lastUpdated),state:b.getCacheState(a.lastUpdated),instanceId:a.instanceId}}else a=null;return a};jr.prototype.delete=function(a){this.storage_.remove(a);return!0};
jr.prototype.clean=function(){for(var a=this.localStorage_.getCount(),b=0;b<a;b++){var c=this.localStorage_.key(b);if(c&&c.includes(this.prefix_)){var d=(d=this.localStorage_.get(c))&&this.isValidJson_(d)?JSON.parse(d):null;d=this.transformer_.getCacheState(d.lastUpdated)}else d=0;4===d&&this.localStorage_.remove(c)}};var kr=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new TYc(this.clientConfig_);this.cache_=b};kr.prototype.set=function(a,b){var c=VYc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw WYc;this.cache_.set(c,{keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()});return c};
kr.prototype.get=function(a){a=VYc(a);if(!a)return null;a=this.cache_.get(a);if(!a)return null;var b=this.transformer_.getCacheState(a.lastUpdated.getTime());if(4===b)return null;a.state=b;return a};kr.prototype.delete=function(a){this.cache_.delete(a);return!0};kr.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var ZYc=function(){};f=ZYc.prototype;f.start=function(){};f.stop=function(){};f.count=function(){};f.latency=function(){};f.error=function(){};f.status=function(){};f.logError=function(){};var $Yc=function(a){this.internalArray_=l(a)};U($Yc,q);f=$Yc.prototype;f.getCaller=function(){return W(this,R2,1)};f.setCaller=function(a){return lj(this,R2,1,a)};f.getClient=function(){return W(this,S2,2)};f.setClient=function(a){return lj(this,S2,2,a)};f.hasClient=function(){return Pj(this,S2,2)};f.toObject=function(){return aZc(this)};var aZc=function(a){if(null!=a)return t(a),{caller:NYc(a.getCaller()),client:OYc(a.getClient())}};var bZc=function(a){this.internalArray_=l(a)};U(bZc,q);f=bZc.prototype;f.getRequestType=function(){return aj(this,1,0)};f.setRequestType=function(a){return cj(this,1,a)};f.setProperties=function(a){return lj(this,$Yc,3,a)};f.getInstanceId=function(){return V(this,4)};f.setInstanceId=function(a){return uk(this,4,a)};f.clearInstanceId=function(){Ct(this,4)};f.hasInstanceId=function(){return Jk(this,4)};f.getInstanceIdOrUndefined=function(){return Tt(this,4)};
f.toObject=function(){if(null!=this){t(this);var a={requestType:n(p(this,1)),properties:aZc(W(this,$Yc,3)),instanceId:n(X(this,4))}}else a=void 0;return a};var cZc=new SC("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",bZc,T2,function(a){return a.serialize()},SYc);var dZc=function(a){this.client_=new nD({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};dZc.prototype.getExperimentFlags=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},cZc)};var eZc=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new ZYc};eZc.prototype.getMetric=function(){return this.metric_};eZc.prototype.send=function(a){var b=this,c;return ne(function(d){var e=(new $Yc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new bZc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
eZc.prototype.close=function(){};eZc.prototype.processResponse=function(a){return a};var fZc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var gZc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new fZc;this.rpcPromise_=null;this.state_=0};f=gZc.prototype;f.resultPromise=function(){return this.resolver_.promise};f.isPending=function(){return 1===this.state_};f.cancel=function(){switch(this.state_){case 1:this.rpcPromise_.cancel();break;case 0:this.state_=2,this.rpcPromise_=f3b(new DB),this.resolver_.reject(1)}};
f.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=HMa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=p3b(i3b([b,y3b(1E3*this.config_.timeoutSec,"TIMEOUT")]),function(){a.state_=2}).then(function(c){return a.onResponse_(c)},function(c){return a.onError_(c)});return this.resultPromise()};
f.onResponse_=function(a){if(a&&"TIMEOUT"!==a){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)};
f.onError_=function(a,b){b=void 0===b?0:b;if("TIMEOUT"===a)var c=4;else a instanceof DB?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=bp("result.error.code",a)||a.status,c=Number(c),c=KBc.has(c)?KBc.get(c):200<=c&&300>c?0:400<=c&&500>c?9:500<=c&&600>c?13:2,2!==c||b||(b=(a.message||"").startsWith("Rpc failed due to xhr error.")?3:0))):c=2;!this.config_.authErrorHandler||16!==c&&7!==c||this.config_.authErrorHandler();this.resolver_.reject(c);this.request_.close(c,b)};var hZc=Symbol("Ee"),iZc=function(){};iZc.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[hZc]=d)}return c})};var jZc=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};jZc.prototype.getMetric=function(){return this.metric_};jZc.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
jZc.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[hZc]||0}};jZc.prototype.close=function(a,b){b=void 0===b?0:b;this.request_.close(a,b);this.metric_.stop("total");this.metric_.status(a,b,this.contentLength_)};var kZc=function(a){this.config_=a;this.pendingRpcs_=new Set},mZc=function(a,b){b=new jZc(b);b=new gZc(a.config_,b);a.pendingRpcs_.add(b);lZc(a,b);return b.resultPromise()},lZc=function(a,b){ne(function(c){if(1==c.nextAddress)return oe(c,2,3),c.yield(b.send(),3);if(2!=c.nextAddress)return pe(c),a.pendingRpcs_.delete(b),qe(c,0);re(c);return c.jumpTo(3)})};var lmb=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new kZc(a);this.rpcClient_=new dZc(this.clientConfig_.apiRoot_)},oZc=function(a,b){var c,d,e,g;return ne(function(h){switch(h.nextAddress){case 1:var m=nZc(b);if(c=a.inflightRequests_.get(m)||null)return h.return(c);d=new eZc(b,a.rpcClient_);oe(h,2,3);e=mZc(a.dispatcher_,d);m=nZc(b);a.inflightRequests_.set(m,
e);return h.yield(e,5);case 5:return g=h.yieldResult,h.return(g);case 3:pe(h);m=nZc(b);a.inflightRequests_.delete(m);qe(h,0);break;case 2:throw re(h),Error("Fe");}})},nZc=function(a){a=hmb(a);if(!a)throw WYc;return a};var pZc=function(a){this.internalArray_=l(a)};U(pZc,q);f=pZc.prototype;f.getInstanceId=function(){return V(this,1)};f.setInstanceId=function(a){return uk(this,1,a)};f.clearInstanceId=function(){Ct(this,1)};f.hasInstanceId=function(){return Jk(this,1)};f.getInstanceIdOrUndefined=function(){return Tt(this,1)};f.getRequestId=function(){return V(this,2)};f.getRequestType=function(){return aj(this,4,0)};f.setRequestType=function(a){return cj(this,4,a)};f.getSourceType=function(){return aj(this,6,0)};
f.setSourceType=function(a){return cj(this,6,a)};f.getClient=function(){return aj(this,7,0)};f.setClient=function(a){return cj(this,7,a)};f.hasClient=function(){return tj(this,7)};f.getErrorType=function(){return aj(this,8,0)};f.setErrorType=function(a){return cj(this,8,a)};
f.toObject=function(){if(null!=this){t(this);var a={instanceId:n(X(this,1)),requestId:n(X(this,2)),durationUsec:n(p(this,3)),requestType:n(p(this,4)),requestOrigin:n(p(this,5)),sourceType:n(p(this,6)),client:n(p(this,7)),errorType:n(p(this,8))}}else a=void 0;return a};var mmb=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=ks(new ls,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(550712998).setEnableClearcut(b.getEnableClearcut())};f=mmb.prototype;f.getLogContext=function(){return this.logContext_};f.createCountMetric=function(){throw Error("ab");};f.createStatusMetric=function(){throw Error("ab");};f.createErrorMetric=function(){throw Error("ab");};
f.createLatencyMetric=function(a,b){a=b.source();b=Math.round(1E3*b.duration());cj(a,3,b);return a};var qZc=function(a,b){this.metrics_=a;this.state_=new MR(b);this.label_="total";this.source=b};qZc.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};qZc.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var nmb=function(a,b){this.worker_=a;this.metrics_=Er(b)},rZc=function(a,b){var c=new pZc,d=gmb();c=uk(c,2,d).setRequestType(a.getRequestType());return cj(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
nmb.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,g,h;return ne(function(m){if(1==m.nextAddress)return d=rZc(a,b),e=new qZc(c.metrics_,d),e.start(),m.yield(c.worker_.updateExperimentsCache(a,b),2);g=m.yieldResult;d.setSourceType(g.getSourceOrUndefined());d.setInstanceId(g.getInstanceIdOrUndefined());(h=g.getError())&&d.setErrorType(h.getErrorType());e.stop();return m.return(g)})};
nmb.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=rZc(a,b),d=new qZc(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 sZc=function(a){this.timer=a;this.count=0},pmb=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*Vh(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new Mq(this)};pmb.prototype.updateExperimentsCache=function(a,b){try{return tZc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(ir(c))}};pmb.prototype.getCachedExperiments=function(a,b){try{return tZc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return ir(c)}};
var tZc=function(a,b){var c=hmb(b);if(!c)throw new fr(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new EB(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 g=Vh(a.clientConfig_.getClient(),12,18);e.count>=g&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new sZc(d))}a.refreshers_.get(c)};var uZc=function(){},omb=function(a,b){this.cache_=a;this.loader_=b};
omb.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,g,h;return ne(function(m){if(1==m.nextAddress){e=d=null;try{d=vZc(c,a)}catch(A){e=A}if(d&&3!==d.state)return m.return(c.getCachedExperiments(a,b));oe(m,3);return m.yield(wZc(c,a),5)}if(3!=m.nextAddress){g=m.yieldResult;var r=m.return,v=e;v=void 0===v?null:v;var y=(new gr).setExperimentFlags(g.getExperimentFlags()).setExperimentIdsList(g.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());v&&y.setError(imb(v));
return r.call(m,y)}h=re(m);return m.return(ir(h))})};omb.prototype.getCachedExperiments=function(a){try{var b=vZc(this,a);if(b){var c=(new gr).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&wZc(this,a).catch(uZc);return c}wZc(this,a).catch(uZc);return ir()}catch(d){return ir(d)}};
var vZc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof fr)throw d;throw new fr(3);}},wZc=function(a,b){var c,d;return ne(function(e){if(1==e.nextAddress)return oe(e,2),b.hasInstanceId()||b.setInstanceId(gmb()),e.yield(oZc(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=re(e);if(d instanceof fr)throw d;throw new fr(2);})};var kmb;var xZc=function(a){this.clientConfig_=a;this.worker_=qmb(this.clientConfig_)};xZc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Cr=function(){this.peopleApiEnv_=4};Cr.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Cr.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var yZc=function(a,b){this.client_=a;this.request_=b;this.response_=null};yZc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};yZc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList()};var Dnb=function(a,b){this.clientConfig_=a;this.requestType_=b;this.version_=550712998};Dnb.prototype.prefetch=function(a){var b=new RYc(this.clientConfig_,new Cr);a=zZc(this,a,"");qmb(b).updateExperimentsCache(a,2)};Dnb.prototype.loadExperiments=function(a,b,c){var d=new RYc(this.clientConfig_,b),e=zZc(this,a,c);qmb(d).updateExperimentsCache(e,2);b=new xZc(new RYc(this.clientConfig_,b));a=zZc(this,a,c);return new yZc(b,a)};
var zZc=function(a,b,c){var d=(new R2).setVersion(a.version_);b=(new S2).setApplication(b);return(new PYc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var lr=new Enb(new L2,new KYc);var tmb=Jq.getInstance();var xmb=Jq.getInstance();var W2=function(a){this.internalArray_=l(a)};U(W2,q);W2.prototype.getOccupiedUntil=function(){return W(this,Rh,2)};W2.prototype.getNextAvailable=function(){return W(this,Rh,3)};W2.prototype.getCommittedUntil=function(){return W(this,Rh,4)};W2.prototype.toObject=function(){return AZc(this)};var AZc=function(a){if(null!=a)return t(a),{eventSummary:V(a,1),occupiedUntil:mu(a.getOccupiedUntil()),nextAvailable:mu(a.getNextAvailable()),committedUntil:mu(a.getCommittedUntil())}};var X2=function(a){this.internalArray_=l(a)};U(X2,q);X2.prototype.getOccupiedUntil=function(){return W(this,Rh,1)};X2.prototype.getCommittedUntil=function(){return W(this,Rh,3)};X2.prototype.getNextAvailable=function(){return W(this,Rh,2)};X2.prototype.toObject=function(){return BZc(this)};var BZc=function(a){if(null!=a)return t(a),{occupiedUntil:mu(a.getOccupiedUntil()),committedUntil:mu(a.getCommittedUntil()),nextAvailable:mu(a.getNextAvailable())}};var Y2=function(a){this.internalArray_=l(a)};U(Y2,q);Y2.prototype.getOccupiedUntil=function(){return W(this,Rh,3)};Y2.prototype.getCommittedUntil=function(){return W(this,Rh,5)};Y2.prototype.getNextAvailable=function(){return W(this,Rh,4)};Y2.prototype.toObject=function(){return CZc(this)};var CZc=function(a){if(null!=a)return t(a),{eventSummary:V(a,1),inMeetingsUntil:mu(W(a,Rh,2)),occupiedUntil:mu(a.getOccupiedUntil()),committedUntil:mu(a.getCommittedUntil()),nextAvailable:mu(a.getNextAvailable())}};var DZc=function(a){this.internalArray_=l(a)};U(DZc,q);DZc.prototype.toObject=function(){return EZc(this)};var EZc=function(a){if(null!=a)return t(a),{}};var Z2=function(a){this.internalArray_=l(a)};U(Z2,q);Z2.prototype.getComeBackTime=function(){return W(this,Rh,1)};Z2.prototype.getCommittedUntil=function(){return W(this,Rh,3)};Z2.prototype.toObject=function(){return FZc(this)};var FZc=function(a){if(null!=a)return t(a),{comeBackTime:mu(a.getComeBackTime()),eventSummary:V(a,2),committedUntil:mu(a.getCommittedUntil())}};var GZc=function(a){this.internalArray_=l(a)};U(GZc,q);GZc.prototype.getComeBackTime=function(){return W(this,Rh,2)};GZc.prototype.toObject=function(){return HZc(this)};var HZc=function(a){if(null!=a)return t(a),{comeBackTime:mu(a.getComeBackTime())}};var a3=function(a){this.internalArray_=l(a)};U(a3,q);a3.prototype.hasOutsideWorkingHours=function(){return ck(this,GZc,3,b3)};a3.prototype.hasOutOfOffice=function(){return ck(this,Z2,4,b3)};var b3=[2,3,4,5,6,7];a3.prototype.toObject=function(){return IZc(this)};var IZc=function(a){if(null!=a)return t(a),{inactive:EZc(fk(a,DZc,2,b3)),doNotDisturb:BZc(fk(a,X2,7,b3)),outsideWorkingHours:HZc(fk(a,GZc,3,b3)),outOfOffice:FZc(fk(a,Z2,4,b3)),inMeeting:CZc(fk(a,Y2,5,b3)),calendarBusy:AZc(fk(a,W2,6,b3))}};var JZc=function(a){this.internalArray_=l(a)};U(JZc,q);JZc.prototype.getTimeZone=function(){return V(this,1)};JZc.prototype.setTimeZone=function(a){return zj(this,1,a)};JZc.prototype.toObject=function(){return KZc(this)};var KZc=function(a){if(null!=a)return t(a),{timeZone:V(a,1)}};var LZc=function(a){this.internalArray_=l(a)};U(LZc,q);LZc.prototype.toObject=function(){return MZc(this)};var MZc=function(a){if(null!=a)return t(a),{nextCommitmentTime:mu(W(a,Rh,1)),nextCommitmentStatus:IZc(W(a,a3,2))}};var NZc=function(a){this.internalArray_=l(a)};U(NZc,q);f=NZc.prototype;f.getStartTime=function(){return W(this,Rh,1)};f.setStartTime=function(a){lj(this,Rh,1,a)};f.getEndTime=function(){return W(this,Rh,2)};f.setEndTime=function(a){lj(this,Rh,2,a)};f.toObject=function(){return OZc(this)};var OZc=function(a){if(null!=a)return t(a),{startTime:mu(a.getStartTime()),endTime:mu(a.getEndTime())}};var PZc=function(a){this.internalArray_=l(a)};U(PZc,q);PZc.prototype.getTimeRange=function(){return W(this,NZc,1)};PZc.prototype.toObject=function(){return QZc(this)};var QZc=function(a){if(null!=a)return t(a),{timeRange:OZc(a.getTimeRange())}};var RZc=function(a){this.internalArray_=l(a)};U(RZc,q);RZc.prototype.getLatitude=function(){return vj(this,1)};RZc.prototype.getLongitude=function(){return vj(this,2)};RZc.prototype.toObject=function(){return SZc(this)};var SZc=function(a){if(null!=a)return t(a),{latitude:vj(a,1),longitude:vj(a,2)}};var c3=function(a){this.internalArray_=l(a)};U(c3,q);c3.prototype.getLocation=function(){return V(this,2)};c3.prototype.getLabel=function(){return V(this,4)};c3.prototype.setLabel=function(a){return zj(this,4,a)};c3.prototype.toObject=function(){return TZc(this)};var TZc=function(a){if(null!=a)return t(a),{location:V(a,2),geoCoordinates:SZc(W(a,RZc,3)),label:V(a,4)}};var UZc=function(a){this.internalArray_=l(a)};U(UZc,q);UZc.prototype.toObject=function(){return VZc(this)};var VZc=function(a){if(null!=a)return t(a),{}};var WZc=function(a){this.internalArray_=l(a)};U(WZc,q);WZc.prototype.getLabel=function(){return V(this,4)};WZc.prototype.setLabel=function(a){return zj(this,4,a)};WZc.prototype.toObject=function(){return XZc(this)};var XZc=function(a){if(null!=a)return t(a),{experimentalBuildingId:V(a,1),experimentalDeskId:V(a,2),experimentalFloorId:V(a,3),label:V(a,4)}};var YZc=function(a){this.internalArray_=l(a)};U(YZc,q);var ZZc=[1,2,3];YZc.prototype.toObject=function(){return $Zc(this)};var $Zc=function(a){if(null!=a)return t(a),{homeLocation:VZc(fk(a,UZc,1,ZZc)),customLocation:TZc(fk(a,c3,2,ZZc)),officeLocation:XZc(fk(a,WZc,3,ZZc))}};var a_c=function(a){this.internalArray_=l(a)};U(a_c,q);a_c.prototype.getLocation=function(){return W(this,YZc,2)};a_c.prototype.toObject=function(){return b_c(this)};var b_c=function(a){if(null!=a)return t(a),{location:$Zc(a.getLocation())}};var c_c=function(a){this.internalArray_=l(a)};U(c_c,q);c_c.prototype.toObject=function(){return d_c(this)};var d_c=function(a){if(null!=a)return t(a),{workingElsewhere:b_c(W(a,a_c,1)),upcomingOoo:QZc(W(a,PZc,2)),localTime:KZc(W(a,JZc,3)),upcomingCommitmentContext:MZc(W(a,LZc,4))}};var e_c=function(a){this.internalArray_=l(a)};U(e_c,q);f=e_c.prototype;f.getTimeRange=function(){return W(this,NZc,1)};f.getStatus=function(){return W(this,a3,2)};f.setStatus=function(a){return lj(this,a3,2,a)};f.hasStatus=function(){return Pj(this,a3,2)};f.getContexts=function(){return W(this,c_c,3)};f.toObject=function(){return f_c(this)};var f_c=function(a){if(null!=a)return t(a),{timeRange:OZc(a.getTimeRange()),status:IZc(a.getStatus()),contexts:d_c(a.getContexts())}};var g_c=function(a){this.internalArray_=l(a)};U(g_c,q);g_c.prototype.getDayOfWeek=function(){return Vh(this,1)};g_c.prototype.toObject=function(){return h_c(this)};var h_c=function(a){if(null!=a)return t(a),{dayOfWeek:Vh(a,1),periodStartMinutes:Vh(a,2),periodEndMinutes:Vh(a,3)}};var i_c=function(a){this.internalArray_=l(a)};U(i_c,q);i_c.repeatedFields_=[1];i_c.prototype.toObject=function(){return j_c(this)};var j_c=function(a){if(null!=a)return t(a),{availableTimeList:Ub(oj(a,g_c,1),h_c)}};var k_c=function(a){this.internalArray_=l(a)};U(k_c,q);k_c.repeatedFields_=[1];k_c.prototype.toObject=function(){return l_c(this)};var l_c=function(a){if(null!=a)return t(a),{availabilitiesList:Ub(oj(a,e_c,1),f_c),workingHours:j_c(W(a,i_c,3)),nextPollTime:mu(W(a,Rh,2))}};var m_c=new XA(CY.WEEKDAY_MONTH_DAY_MEDIUM),n_c=new XA(7);new XA(CY.WEEKDAY_MONTH_DAY_MEDIUM);var o_c=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var p_c=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return Xq('<div class="'+$q("peoplekitComponentsTagTag")+" "+(a?$q(a):"")+'" peoplekit-id="'+$q("mQXP")+'">'+(b?'<img class="'+$q("peoplekitComponentsTagIcon")+'" src="'+$q(XDc(b))+'" alt="'+$q(c)+'"><div'+(d?"":' class="'+$q("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+$q("peoplekitComponentsTagText")+'">'+ar(c)+"</div></div>":'<div class="'+$q("peoplekitComponentsTagText")+'">'+ar(c)+"</div>")+"</div>")};var zmb=function(a,b,c,d,e,g){var h=this;this.root=a;this.avatar=e;this.features=g;this.isIntelligenceInitialized=this.isOutOfOffice=!1;q_c(this,{tags:d});Ykb(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(m){q_c(h,m)})};f=zmb.prototype;f.getAllIds=function(){return[]};f.toggleSelection=function(){};f.activate=function(){this.root.classList.add("isActive")};f.deactivate=function(){this.root.classList.remove("isActive")};f.spotlight=function(){};f.unspotlight=function(){};
f.getRoot=function(){return this.root};f.getSelection=function(){throw Error("He");};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};
f.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Lq(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("Ge");var c=null!=c?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 "+n_c.format(c):"Out of office - back on "+m_c.format(c);K2b(b,String(c));this.root.classList.add("isOutOfOffice")}else K2b(b,
""),this.root.classList.remove("isOutOfOffice")}};f.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:o_c.get(a.getType()||0)||2})};f.getSupportedIntelligenceFeatures=function(){return this.features};f.addTag=function(a){var b=Lq(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=jp(p_c,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
f.setMetaIcon=function(a){var b=Array.from(this.root.querySelectorAll('[peoplekit-id="SC3Htd"]'))[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var q_c=function(a,b){for(var c=k(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};zmb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};zmb.prototype.dispose=function(){};var Tmb=function(a,b,c,d,e){this.delegate=Amb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new QXc(Sr)};U(Tmb,Q2);Tmb.prototype.getAllIds=function(){return[this.id]};Tmb.prototype.getSelection=function(){return this.selection};var r_c=function(a,b,c,d,e,g,h,m){d=void 0===d?"":d;e=void 0===e?!1:e;return Xq('<div role="option" class="'+$q("peoplekitComponentsResultlistitemResultListItem")+" "+$q(d)+'" id="'+$q(a)+'" peoplekit-id="'+$q(a)+'" aria-disabled="'+$q(e)+'" aria-selected="false"><div class="'+$q("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+$q("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+$q(b)+'" data-name="'+$q(br(c))+'">'+ar(g)+'</div><div class="'+$q("peoplekitComponentsResultlistitemCenter")+
'">'+ar(h)+'</div><div class="'+$q("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+$q("QChpEe")+'">'+ar(m)+'</div></div><div peoplekit-id="'+$q("Z306Oe")+'" class="'+$q("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+$q("QL45qe")+'"></div></div>')},s_c=function(a,b,c,d){return Xq('<div class="'+$q("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+$q("peoplekitComponentsResultlistitemLabel")+" "+$q("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+$q("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+$q(b)+'" data-name="'+$q(br(a))+'" translate="no">'+ar(br(a))+'</div><div peoplekit-id="'+$q("x00ATb")+'" class="'+$q("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+$q("peoplekitComponentsResultlistitemSublabel")+" "+$q("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+$q("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+$q(b)+'" data-name="'+$q(br(a))+
'"'+(d?"":' translate="no"')+">"+ar(br(c))+"</div></div>":"")+"</div>")},t_c=function(a){return Xq('<div class="'+$q("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+$q("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+$q("d6MZcd")+'"></div>'+(a?ar(a):"")+"</div>")},u_c=function(){var a=Xq,b='<div class="'+$q("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+$q("peoplekitComponentsResultlistitemWhiteCheck")+'">';var c=Xq('<svg viewBox="0 0 24 24" class="'+
($q("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(t_c(eS(b+c+"</div></div>")))},v_c=function(){return Xq('<img class="'+$q("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+$q("SC3Htd")+'" alt="" src=""/>')};var Smb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,g=a.allowSublabelTranslation;return Xq(r_c(a.id,b,c,"isDisabled "+a.densityClass,!0,eS(""+t_c()),eS(""+s_c(c,b,d,g)),eS('<div class="'+$q("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+ar(e)+"</div>")))};var qr=function(a){this.delegate=a;var b=this;this.eventHandler=Nq(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};U(qr,Q2);qr.prototype.onClick=function(){this.toggleSelection()};var Bmb=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Ie");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new KXc(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};f=Bmb.prototype;f.id=function(){return this.target.getId()};f.selectionToken=function(){return this.internalSelectionToken};f.targets=function(){return[this.target]};
f.result=function(){return this.internalResult};f.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};f.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};f.isPlaceholder=function(){return!1};var w_c=function(a,b,c,d,e,g){this.delegate=Amb(a,b,d,e,g,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new QXc(Sr)};U(w_c,Q2);w_c.prototype.getAllIds=function(){return[this.id]};w_c.prototype.toggleSelection=function(){for(var a=k(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=Cmb(b.value),this.selectionsState.select(b);this.root.dispatchEvent(slb("pk-select",this.root))};w_c.prototype.getSelection=function(){return this.selection};var x_c=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return Xq(r_c(a.id,b,c,a.densityClass,void 0,eS(""+t_c()),eS(""+s_c(c,b,d,e)),eS(""+v_c())))};var rr=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&y_c(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){y_c(c,d)};z_c(this.selectionsState,this.onDeselectionCallback);A_c(this.selectionsState,this.onSelectionCallback)};U(rr,Q2);
rr.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=slb("pk-deselect",a)}else a=this.getRoot(),a=slb("pk-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var y_c=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};rr.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var pr=function(a,b,c,d,e,g,h){this.delegate=Amb(a,b,d,e,g,[2]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Cmb(b,b.getDisplayName())};U(pr,Q2);pr.prototype.onContextMenu=function(a,b){Vj(this.clientConfig.internal,7,!1)&&nr()&&a.preventDefault();return Q2.prototype.onContextMenu.call(this,a,b)};pr.prototype.getAllIds=function(){return[this.id]};pr.prototype.getSelection=function(){return this.selection};var Qmb=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return Xq(r_c(a.id,b,c,a.densityClass,void 0,eS(""+u_c()),eS(""+s_c(c,b,d,e)),eS(""+v_c())))};var B_c=function(a,b,c,d,e,g){this.delegate=Amb(a,b,d,e,g,[]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Cmb(b)};U(B_c,Q2);B_c.prototype.getAllIds=function(){return[this.id]};B_c.prototype.getSelection=function(){return this.selection};var C_c=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return Xq(r_c(a.id,b,c,a.densityClass,void 0,eS(""+u_c()),eS(""+s_c(c,b,d,e)),eS(""+v_c())))};var D_c=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter."};var Imb=function(a,b,c,d,e,g){var h=this;this.root=a;this.enabledIcon=b;this.disabledIcon=c;this.tooltip=d;this.disableDomNavigation=e;this.internalIsDisabled=!1;this.eventHandler=Nq(this);this.onClick=g;this.eventHandler.listen(this.root,"click",function(m){var r;null==(r=h.onClick)||r.call(h,m)});this.disableDomNavigation?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};f=Imb.prototype;
f.getRoot=function(){return this.root};f.enable=function(){this.root.disabled=!1;var a=this.root.querySelector("img");a&&(a.src=this.enabledIcon);this.internalIsDisabled=!1};f.disable=function(){this.root.disabled=!0;var a=this.root.querySelector("img");a&&this.disabledIcon&&(a.src=this.disabledIcon);this.internalIsDisabled=!0};f.isDisabled=function(){return this.internalIsDisabled};
f.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0;if(this.tooltip){var a=this.tooltip;a.anchor&&(E_c(a),a.eventHandler.removeAll(),a.isDisplayedInternal=!1,a.anchor=void 0,a.showTimeout=void 0,a.hideTimeout=void 0)}};f.activate=function(){this.root.classList.add("isFocused");this.tooltip&&F_c(this.tooltip)};f.deactivate=function(){this.root.classList.remove("isFocused");this.tooltip&&E_c(this.tooltip)};f.isActive=function(){return this.root.classList.contains("isFocused")};var G_c=0;var Emb=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+G_c++:"")?' data-tooltip-id="'+$q(a)+'" aria-labelledby="'+$q(a)+'"':c?' aria-label="'+$q(c)+'"':"";d+='<button class="'+$q("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+Xq('<span><img src="'+$q(XDc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+$q("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return Xq(d)};var H_c=["mouseover","focusin","touchstart"],I_c=["mouseleave","blur","touchend","click"],Gmb=function(a,b,c){this.tooltip=a;this.showDelay=void 0===b?500:b;this.hideDelay=void 0===c?300:c;this.isDisplayedInternal=!1;this.eventHandler=Nq(this);this.tooltipService=Elb(this.tooltip,{anchorCorner:3,popupCorner:2})},Hmb=function(a,b){if(a.anchor)throw Error("Je");a.anchor=b;for(var c=k(H_c),d=c.next();!d.done;d=c.next())a.eventHandler.listen(b,d.value,function(){J_c(a)});K_c(a)},F_c=function(a){if(!a.anchor)throw Error("Ke");
a.isDisplayedInternal||(a.tooltipService.show(a.anchor),window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.isDisplayedInternal=!0)},E_c=function(a){a.isDisplayedInternal&&(a.tooltipService.hide(),window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.isDisplayedInternal=!1)};Gmb.prototype.getRoot=function(){return this.tooltip};
var J_c=function(a){void 0===a.showTimeout&&(window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.showTimeout=window.setTimeout(function(){F_c(a)},a.showDelay))},L_c=function(a){void 0===a.hideTimeout&&(window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.hideTimeout=window.setTimeout(function(){E_c(a)},a.hideDelay))},K_c=function(a){if(a.anchor){for(var b=k(I_c),c=b.next();!c.done;c=b.next())a.eventHandler.listen(a.anchor,c.value,function(){L_c(a)});a.eventHandler.listen(window,"touchmove",
function(){L_c(a)});a.eventHandler.listen(window,"focus",function(d){d.target!==a.anchor&&L_c(a)});a.eventHandler.listen(window,"blur",function(d){d.target===window&&E_c(a)})}};var Fmb=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes,g=Xq;a='<div id="'+$q(a.id)+'" peoplekit-id="'+$q("suEOdc")+'" class="'+$q("peoplekitComponentsTooltipImplTooltip")+(d?" "+$q(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+$q(c)+'"':"");e?(cS(e,BDc)?e=e.getContent():(e=String(e),e=aEc.test(e)?e:"zSoyz"),cS(e,BDc)&&(e=e.getContent()),e=(e&&!e.startsWith(" ")?" ":"")+e):e="";return g(a+e+">"+ar(b)+"</div>")};var Kmb=function(a,b,c){this.delegate=a;var d=this;this.secondaryActionConfig=c;for(var e=Lq(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=Jmb(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";Hq(this.buttonRoot,163534,["impression","pk-click"]);this.secondaryActionButton.onClick=function(g){var h;null==(h=c.onClick)||h.call(c,
g);d.buttonRoot.dispatchEvent(Vq(d.buttonRoot))};this.eventHandler=Nq(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};U(Kmb,Q2);f=Kmb.prototype;f.activate=function(){this.getRoot().classList.add("isActive");this.displaySecondaryActionButton()};f.deactivate=function(){this.getRoot().classList.remove("isActive");this.secondaryActionButton.deactivate();this.hideSecondaryActionButton()};
f.onKeyDown=function(a){var b=13===a.event.keyCode,c=b&&a.event.platformModifierKey;if(this.secondaryActionConfig.disableDomNavigation){var d=9===a.event.keyCode;!d||a.event.shiftKey||this.secondaryActionButton.isActive()?d&&this.secondaryActionButton.isActive()&&(this.secondaryActionButton.deactivate(),EM(this.buttonRoot,"hidden","true"),a.stopPropagation(),a.preventDefault()):(this.secondaryActionButton.activate(),EM(this.buttonRoot,"hidden","false"),a.stopPropagation(),a.preventDefault())}if(c||
b&&this.secondaryActionButton.isActive())this.buttonRoot.click(),a.stopPropagation(),a.preventDefault()};f.dispose=function(){this.eventHandler.removeAll();this.secondaryActionButton.dispose();Q2.prototype.dispose.call(this)};f.displaySecondaryActionButton=function(){this.buttonRoot.style.display=""};f.hideSecondaryActionButton=function(){this.getRoot().classList.contains("isActive")||(this.buttonRoot.style.display="none")};var M_c={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"},N_c=D_c({shortcutKey:"Ctrl"}),O_c=D_c({shortcutKey:"\u2318"}),Nmb=function(a,b,c,d){var e=0===b.getTheme()?M_c.LIGHT_THEME:M_c.DARK_THEME,g=naa()?O_c:N_c;Q2.call(this,Lmb(a,b,{icon:e,tooltipLabel:"Unhide suggestion",ariaLabel:g,onClick:function(m){h.onButtonClick(m)},disableDomNavigation:!0},d));var h=
this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};U(Nmb,Q2);Nmb.prototype.onButtonClick=function(a){P_c(this);a.stopPropagation()};
var P_c=function(a){a.unhideConfirmationDialog&&Q_c(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=emb(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(4,a.getAllIds());Q_c(a)})},Q_c=function(a){var b;null==(b=a.unhideConfirmationDialog)||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var R_c=function(a){this.internalArray_=l(a)};U(R_c,q);f=R_c.prototype;f.getIdCase=function(){return Oi(this,d3)};f.getProfileId=function(){return Pt(this,1,d3)};f.setProfileId=function(a){return Io(this,1,d3,a)};f.hasProfileId=function(){return null!=Ro(this,1,d3)};f.getEmail=function(){return Pt(this,2,d3)};f.setEmail=function(a){return Io(this,2,d3,a)};f.hasEmail=function(){return null!=Ro(this,2,d3)};f.getPhone=function(){return Pt(this,3,d3)};f.setPhone=function(a){return Io(this,3,d3,a)};
f.hasPhone=function(){return null!=Ro(this,3,d3)};var d3=[1,2,3];R_c.prototype.toObject=function(){return S_c(this)};var S_c=function(a){if(null!=a)return t(a),{profileId:n(Ro(a,1,d3)),email:n(Ro(a,2,d3)),phone:n(Ro(a,3,d3))}};var e3=function(a){this.internalArray_=l(a)};U(e3,q);e3.prototype.getHideType=function(){return p(this,1)};e3.prototype.getHiddenKeysList=function(){return oj(this,R_c,3)};e3.repeatedFields_=[3];e3.prototype.toObject=function(){return T_c(this)};var T_c=function(a){if(null!=a)return t(a),{hideType:n(p(a,1)),hiddenKeysList:Ub(a.getHiddenKeysList(),S_c),familyStatus:n(p(a,2)),birthdayStatus:n(p(a,4))}};var Kob=Tb(417869137,{peopleStackPersonData:0},e3,T_c);UTc[417869137]=Kob;var Mmb=function(){};Mmb.prototype.filterResult=function(a){var b,c;return 1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(Kob))?void 0:c.getHideType())?a:null};Mmb.prototype.reset=function(){};var Vmb=new Map([[1,Rmb()],[4,Rmb()],[5,Umb(1)],[6,Umb(2)],[2,function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=ymb(b,d,g,a.isRightToLeft,Vj(a.clientConfig.internal,6,!1),dr(e.getDensity())),m=jp(C_c,h);Hq(m,25285,["impression","pk-select","pk-deselect"],[Dmb(b.getPrimaryTarget().getLoggingToken())]);var r=Lq(m,"d6MZcd"),v=fmb(e.getDensity()),y;g=null!=(y=g.backupAvatarUrl)?y:"";e=Zq(r,h.photos,v,v,e,g);b=new B_c(m,b,c,d,h.tags,
e);c=new qr(new rr(b,c));return Pmb(Omb(c,a),a)}],[3,function(a){var b=a.result;var c=a.selectionsState,d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=ymb(b,d,g,a.isRightToLeft,Vj(a.clientConfig.internal,6,!1),dr(e.getDensity())),m=jp(x_c,h);Hq(m,25285,["impression","pk-select","pk-deselect"],[Dmb(b.getPrimaryTarget().getLoggingToken())]);var r=Lq(m,"d6MZcd"),v=fmb(e.getDensity()),y;g=null!=(y=g.backupAvatarUrl)?y:"";e=Zq(r,h.photos,v,v,e,g);b=new qr(new w_c(m,b,c,d,h.tags,e));return Omb(b,
a)}]]);var fnb=function(a,b,c,d,e,g,h,m){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.ariaParent=m;this.results=[];this.intelligentCollection=g.create();this.navigatable=new IXc(new plb(this.results))};f=fnb.prototype;f.register=function(a){this.results.push(a);this.navigatable.insert(this.navigatable.size(),[a],!1);this.intelligentCollection.append([a])};
f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=Wmb(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,pS(this.list.getRoot()),this.interactions,this.ariaParent),this.list.append(c.getRoot()),this.register(c)};f.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();for(var a=k(this.results),b=a.next();!b.done;b=a.next())b.value.dispose();this.results.length=0};f.reset=function(){this.navigatable.reset()};
f.getNavigatable=function(){return this.navigatable};f.getResultListItems=function(){return this.results};var f3=function(a){this.delegate=a};f=f3.prototype;f.getHeader=function(){return this.delegate.getHeader()};f.getActionItems=function(){return this.delegate.getActionItems()};f.dispose=function(){this.delegate.dispose()};f.getRoot=function(){return this.delegate.getRoot()};f.activate=function(){this.delegate.activate()};f.deactivate=function(){this.delegate.deactivate()};f.spotlight=function(){this.delegate.spotlight()};f.unspotlight=function(){this.delegate.unspotlight()};f.getSelection=function(){return this.delegate.getSelection()};
f.toggleSelection=function(){this.delegate.toggleSelection()};f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};var U_c=function(a){var b=a.id,c=a.groupName;a=a.classes;return Xq('<div class="'+$q("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+$q(a):"")+'" peoplekit-id="'+$q("wgPSWd")+'" id="'+$q(b)+'" aria-expanded="false" role="option" aria-label="'+$q("To expand "+c+" group, press enter")+'"><svg class="'+$q("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>')},
V_c=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var ur=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.eventHandler=Nq(this);this.chevron=jp(U_c,{id:Fq(Jq.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){13===e.event.keyCode&&(d.toggleView(),e.stopPropagation())}});
this.eventHandler.listen(this.getRoot(),"click",this.toggleView);Lq(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),EM(this.chevron,"expanded",!0),sqc(this.chevron,V_c({groupName:this.getHeader(),action:"collapse"})))};U(ur,f3);ur.prototype.getActionItems=function(){return this.groupingHeaderActionItems};ur.prototype.dispose=function(){this.eventHandler.removeAll();f3.prototype.dispose.call(this)};
ur.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed);var a=this.isCollapsed?"expand":"collapse";EM(this.chevron,"expanded",!this.isCollapsed);sqc(this.chevron,V_c({groupName:this.getHeader(),action:a}))};var W_c=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return Xq('<div class="'+$q("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+$q(a):"")+'" peoplekit-id="'+$q("CLghmc")+'" id="'+$q(b)+'" aria-label="'+$q(c)+'"><svg class="'+$q("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 Y_c=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=jp(W_c,{id:Fq(Jq.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});Lq(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);void 0!==this.infoGroupingHeaderVeIds.infoIconVeId&&Hq(this.infoIcon,this.infoGroupingHeaderVeIds.infoIconVeId,["impression","pk-click"]);this.eventHandler=Nq(this);this.eventHandler.listen(this.infoIcon,
"click",function(){X_c(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(g){13===g.event.keyCode&&(X_c(e),g.stopPropagation(),g.preventDefault())}})};U(Y_c,f3);
var X_c=function(a){a.infoIcon.dispatchEvent(Vq(a.infoIcon));var b=Qlb({header:a.infoGroupConfig.infoDialogHeader}),c=dYc({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=a.getRoot().closest('[class~="aU4VQc"]'),g=Plb(e,c,a.appearanceConfig,b),h=Lq(g.getRoot(),"lh87ke");void 0!==a.infoGroupingHeaderVeIds.learnMoreLinkVeId&&Hq(h,a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
["impression","pk-click"]);a.eventHandler.listen(h,"click",function(){h.dispatchEvent(Vq(h))});g.subscribeToAction(function(m){2===m&&(g.dispose(),d&&d.focus())})};Y_c.prototype.getActionItems=function(){return this.groupingHeaderActionItems};Y_c.prototype.dispose=function(){this.eventHandler.removeAll();f3.prototype.dispose.call(this)};var Ymb=function(a,b){this.root=a;this.header=b};f=Ymb.prototype;f.getHeader=function(){return this.header};f.getActionItems=function(){return[]};f.dispose=function(){};f.getRoot=function(){return this.root};f.activate=function(){};f.deactivate=function(){};f.spotlight=function(){};f.unspotlight=function(){};f.getSelection=function(){throw Error("He");};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var Xmb=function(a){var b=Xq;var c=a.id;a=a.header;c=Xq('<div class="'+$q("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+$q(c)+'" peoplekit-id="'+$q("XLuqBd")+'"><div class="'+$q("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+$q("peoplekitComponentsGroupingHeaderHeader")+'">'+ar(a)+'</div><div class="'+$q("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+$q("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+$q("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+$q("xiK4Cd")+'"></div><div class="'+$q("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+$q("QChpEe")+'"></div></div></div></div></div>');return b(c)};var Z_c=function(a){this.delegate=a};U(Z_c,f3);Z_c.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};Z_c.prototype.unspotlight=function(){void 0!==this.activeActionItemIndex&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
Z_c.prototype.onKeyDown=function(a){if(void 0!==this.activeActionItemIndex){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 g3=function(a){this.delegate=a};f=g3.prototype;f.append=function(a){this.delegate.append(a)};f.isInteractive=function(){return this.delegate.isInteractive()};f.getGroupName=function(){return this.delegate.getGroupName()};f.getHeader=function(){return this.delegate.getHeader()};f.getItems=function(){return this.delegate.getItems()};f.getRoot=function(){return this.delegate.getRoot()};f.dispose=function(){this.delegate.dispose()};var xr=function(a,b){this.delegate=a;var c=this;this.listContainer=Lq(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("Me");this.collapsibleHeader=$mb(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});Lq(this.collapsibleHeader.getRoot(),"wgPSWd").setAttribute("aria-controls",this.listContainer.id);b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};U(xr,g3);xr.prototype.isInteractive=function(){return!0};xr.prototype.getHeader=function(){return this.collapsibleHeader};
xr.prototype.dispose=function(){this.collapsibleHeader.dispose();g3.prototype.dispose.call(this)};xr.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 wr=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("Ne");var d={};1===b.infoType&&(d={infoIconVeId:185198,learnMoreLinkVeId:185199});this.infoHeader=new Y_c(a,b,c,d)};U(wr,g3);wr.prototype.isInteractive=function(){return!0};wr.prototype.getHeader=function(){return this.infoHeader};wr.prototype.dispose=function(){this.infoHeader.dispose();g3.prototype.dispose.call(this)};var vr=function(a,b){this.delegate=a;this.groupName=b;this.header=Zmb(b);Lq(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};U(vr,g3);vr.prototype.getGroupName=function(){return this.groupName};vr.prototype.getHeader=function(){return this.header};vr.prototype.dispose=function(){this.header.dispose();g3.prototype.dispose.call(this)};var $_c=function(a){this.root=a;this.items=[];this.list=clb(Lq(a,"tjneg"))};f=$_c.prototype;f.append=function(a){this.items.push(a);this.list.append(a.getRoot())};f.isInteractive=function(){return!1};f.getGroupName=function(){return""};f.getHeader=function(){};f.getItems=function(){return this.items};f.getRoot=function(){return this.root};f.dispose=function(){for(var a=k(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.items=[]};var a0c=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=Lq(this.getRoot(),"tjneg");var e,g;this.isCollapsed=null!=(g=null==(e=this.resultListGroupConfig.collapsibleGroupConfig)?void 0:e.isInitiallyCollapsed)?g:!1;(this.header=a.getHeader())&&this.header.getActionItems().length&&(this.header=new Z_c(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})};U(a0c,g3);f=a0c.prototype;f.append=function(a){this.isCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);g3.prototype.append.call(this,a)};f.getHeader=function(){return this.header};f.dispose=function(){this.mutationObserver.disconnect();g3.prototype.dispose.call(this)};f.getItems=function(){return this.isCollapsed?[]:g3.prototype.getItems.call(this)};
f.onMutation=function(a){if(this.header){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,"attributes"===b.type&&"class"===b.attributeName&&(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),glb(this.getRoot())))}};var b0c=function(a){var b=a.listId;return Xq('<div id="'+$q(a.id)+'" peoplekit-id="'+$q("E9WxSb")+'"><div peoplekit-id="'+$q("Bm3u4d")+'"></div><div id="'+$q(b)+'" role="region" class="'+$q("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+$q("tjneg")+'"></div></div>')};var knb=function(a,b,c,d,e,g,h,m){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=g;this.grouping=h;this.ariaParent=m;this.groups=new Map;this.navigatable=new IXc(new plb([]))};f=knb.prototype;
f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=this.grouping.getGroupId(d);var e=this.groups.get(c);d=Wmb(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,pS(this.list.getRoot()),this.interactions,this.ariaParent);if(c&&!e){e=this.grouping;var g=this.navigatable,h=this.appearanceConfig,m=[anb,cnb,dnb],r=Fq(Jq.getInstance()),v=Fq(Jq.getInstance());v=jp(b0c,{id:r,listId:v});r=bnb();v=new $_c(v);m=k(m);for(var y=m.next();!y.done;y=
m.next())y=y.value,v=y(v,e,c,h);e=new a0c(v,r,g);this.groups.set(c,e);this.list.append(e.getRoot())}e.append(d)}};f.clear=function(){this.list.clear();this.navigatable.clear();for(var a=k(this.groups.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.groups.clear()};f.reset=function(a){this.navigatable.reset();this.grouping.reset(a)};f.getNavigatable=function(){return this.navigatable};
f.getResultListItems=function(){for(var a=[],b=k(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,ad(c.value.getItems()));return a};var hnb=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};f=hnb.prototype;f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.grouping.getGroupId(c);if(d&&!this.renderedGroups.has(d)){var e=this.grouping.getGroupName(d);if(e&&(e=Zmb(e),this.list.append(e.getRoot()),e.getActionItems().length)){var g=this.getNavigatable();g.insert(g.size(),[e],!1)}this.renderedGroups.add(d)}this.delegate.append([c],b)}};
f.clear=function(){this.renderedGroups.clear();this.delegate.clear()};f.reset=function(a){this.grouping.reset(a);this.renderedGroups.clear();this.delegate.reset(a)};f.getNavigatable=function(){return this.delegate.getNavigatable()};f.getResultListItems=function(){return this.delegate.getResultListItems()};var inb=function(a,b){this.delegate=a;this.interactions=b};f=inb.prototype;f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.delegate.append([c],b),this.interactions.display(c)};f.clear=function(){this.delegate.clear()};f.reset=function(a){this.delegate.reset(a)};f.getNavigatable=function(){return this.delegate.getNavigatable()};f.getResultListItems=function(){return this.delegate.getResultListItems()};var enb=function(a){a=a.header;return Xq('<div peoplekit-id="'+$q("aittld")+'">'+(0<dS(a).length?'<div class="'+$q("peoplekitUiResultlistHeader")+'">'+ar(a)+"</div>":"")+'<div peoplekit-id="'+$q("tjneg")+'"></div></div>')};var Nnb=function(a){this.label=a};Nnb.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};Nnb.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};var bnb=function(){throw Error("Oe");};Nnb.prototype.reset=function(){};var Onb=function(a){this.label=a};Onb.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};Onb.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};Onb.prototype.reset=function(){};var c0c=function(a){this.delegate=a};f=c0c.prototype;f.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};f.attach=function(){this.delegate.attach()};f.detach=function(){this.delegate.detach()};f.isShown=function(){return this.delegate.isShown()};f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.dispose=function(){this.delegate.dispose()};f.getNavigatable=function(){return this.delegate.getNavigatable()};f.getRoot=function(){return this.delegate.getRoot()};var Fr=function(a,b,c,d,e,g){this.delegate=a;var h=this;this.peopleStore=b;this.clientConfig=d;this.autocompleteConfig=e;this.navigationInput=g;this.navigatable=this.getNavigatable();this.previouslyActiveElement=null;this.hideListener=function(m){return d0c(h,m)};this.unhideListener=function(m){return e0c(h,m)};this.onContextMenuDisposedListener=function(m){if(h.navigationInput!==document.activeElement){var r;null==(r=h.navigatable.getItem(m))||r.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(m){h.navigationInput===h.previouslyActiveElement&&(m=h.navigatable.getItem(m))&&h.navigatable.goToItem(m,0);var r;null==(r=h.previouslyActiveElement)||r.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)};U(Fr,c0c);Fr.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};c0c.prototype.search.call(this,a,b,c,d)};
Fr.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);c0c.prototype.dispose.call(this)};
var d0c=function(a,b){return ne(function(c){switch(c.nextAddress){case 1:return oe(c,2),c.yield(a.hide.hideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:ht(c,0);break;case 2:re(c),f0c(a),se(c)}})},e0c=function(a,b){return ne(function(c){switch(c.nextAddress){case 1:return oe(c,2),c.yield(a.hide.unhideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:ht(c,0);break;case 2:re(c),g0c(a),se(c)}})};
Fr.prototype.refreshResults=function(){var a=this;return ne(function(b){if(1==b.nextAddress)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),b.yield(a.peopleStore.warmUpCache(),2);a.currentSearchState?c0c.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");se(b)})};
var f0c=function(a){a.hideErrorDialog=Rlb(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;null==(b=a.hideErrorDialog)||b.dispose()})},g0c=function(a){a.unhideErrorDialog=Tlb(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;null==(b=a.unhideErrorDialog)||b.dispose()})};var h0c=function(a,b){Kq.call(this,a,b)};U(h0c,Kq);h0c.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=rqc(c,"activedescendant");c=tB(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?FM(this.ariaParent,c===d?b:d):mnb(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,-1!==c&&FM(this.ariaParent,b[(c+1)%b.length]))}}Kq.prototype.onKeyDown.call(this,a)};
h0c.prototype.next=function(a){a=Kq.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),mnb(b)&&i0c(this,b));return a};h0c.prototype.prev=function(a){a=Kq.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),mnb(b)&&i0c(this,b));return a};var i0c=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&FM(a.ariaParent,b)};var Unb=function(a,b,c,d,e,g,h,m){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=g;this.noResultsMessage=h;this.clientConfig=m;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new h0c(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=ulb({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
Nq(this);Eq(this.root,0)};f=Unb.prototype;f.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");Eq(this.root,1);if(a){var g=j0c(this.health);g.start();this.session.search(a,function(m){e.update(m,d,g,!0)})}else if(c){var h=j0c(this.health);h.start();this.session.suggest(function(m){e.update(m,d,h,!1)})}};
f.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()}),Vj(this.clientConfig.internal,9,!1)&&nr()&&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 N2(b),function(){}))}))};
f.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();Eq(this.root,0)};f.isShown=function(){return!0};f.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
f.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var g=a.getQuery();this.resultList.append(e,{query:g});e=this.resultList.getResultListItems();this.attach();var h=!1;0<e.length||this.navigatable.size()?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:g}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});Vj(this.clientConfig.internal,7,!1)&&nr()&&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(Eq(this.root,0===a.getCode()?2:3,a.getCode()),b={query:g,resultCount:e.length},d=k(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else Eq(this.root,4);c.stop()};
f.onKeyDown=function(a){var b=9===a.event.keyCode&&!a.event.shiftKey;if(13===a.event.keyCode||b&&this.config.getUseTabForResultSelection()){if(b=this.navigatable.getActiveItems(),b.length){b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}}else 40!==a.event.keyCode||this.navigatable.getSpotlitItem()||(b=this.resultList.getResultListItems(),b.length&&(this.navigatable.goToItem(b[0],0),a.preventDefault(),a.stopPropagation()))};
f.getNavigatable=function(){return this.navigatable};f.getRoot=function(){return this.root};var Mnb=function(){var a=Xq,b='<div class="'+$q("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+$q("yDHfq")+'"><div class="'+$q("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=eS('<div peoplekit-id="'+$q("tjneg")+'"></div>');c=Xq('<div tabindex="-1" class="'+$q("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+$q("I8ejUe")+'">'+ar(c)+"</div>");b=b+c+'</div><div class="'+$q("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
$q("peoplekitComponentsCircularprogressCircularProgress")+(" "+$q("isActive"))+'" data-loadingmessage="'+$q("Loading...")+'" data-active="true"><div class="'+$q("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+$q("vyyg5")+'">'+ar("Loading...")+'</div><div class="'+$q("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+$q("peoplekitComponentsCircularprogressColorOne")+
" "+$q("exportColorOne")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircleClipper")+" "+$q("peoplekitComponentsCircularprogressLeft")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div><div class="'+$q("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div><div class="'+$q("peoplekitComponentsCircularprogressCircleClipper")+" "+$q("peoplekitComponentsCircularprogressRight")+
'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div></div><div class="'+$q("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+$q("peoplekitComponentsCircularprogressColorTwo")+" "+$q("exportColorTwo")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircleClipper")+" "+$q("peoplekitComponentsCircularprogressLeft")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div><div class="'+
$q("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div><div class="'+$q("peoplekitComponentsCircularprogressCircleClipper")+" "+$q("peoplekitComponentsCircularprogressRight")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div></div><div class="'+$q("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+$q("peoplekitComponentsCircularprogressColorThree")+
" "+$q("exportColorThree")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircleClipper")+" "+$q("peoplekitComponentsCircularprogressLeft")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div><div class="'+$q("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div><div class="'+$q("peoplekitComponentsCircularprogressCircleClipper")+" "+$q("peoplekitComponentsCircularprogressRight")+
'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div></div><div class="'+$q("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+$q("peoplekitComponentsCircularprogressColorFour")+" "+$q("exportColorFour")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircleClipper")+" "+$q("peoplekitComponentsCircularprogressLeft")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div><div class="'+
$q("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div><div class="'+$q("peoplekitComponentsCircularprogressCircleClipper")+" "+$q("peoplekitComponentsCircularprogressRight")+'"><div class="'+$q("peoplekitComponentsCircularprogressCircle")+" "+$q("exportCircle")+'"></div></div></div></div></div>';c=Xq(c);return a(b+c+"</div></div>")},Pnb=function(){return Xq('<div class="'+$q("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var Rnb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+$q("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+$q(a)+'"':"")+'><p class="'+$q("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+ar(b):a+"No results";a+="</p>";if((c instanceof bS?c.getContent():c)||(d instanceof bS?d.getContent():d))a+='<p class="'+$q("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?ar(c)+(d?" ":""):""),d&&(a+=
'<a jsname="'+$q("viORvd")+'" class="'+$q("peoplekitComponentsNoResultsMessageLearnMoreLink")+'" target="_blank" href="'+$q(VDc(d))+'">',a=e?a+ar(e):a+"Learn more",a+="</a>"),a+="</p>";return Xq(a+"</div>")};var Qnb=function(a,b){this.parent=a;this.config=b};Qnb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=jp(Rnb,a);this.parent.appendChild(this.root);return!0};var Tnb=function(){};Tnb.prototype.update=function(){return!1};var Snb=function(){};Snb.prototype.update=function(){return!0};var Vnb=function(a,b,c,d,e){var g=this;this.root=a;this.navigationInput=b;this.inlineAutocomplete=c;this.selectionsState=d;this.config=e;this.lastShowTime=0;this.popup=Elb(this.root,{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=Nq(this);this.onSelectionCallback=function(){g.onSelect()};this.onSelectionAttemptedCallback=function(){g.hide()};this.attach()};
f=Vnb.prototype;f.search=function(a,b,c,d){var e=this;this.hide();this.inlineAutocomplete.search(a,b,c,function(g){e.anchor=b;e.update(g);d(g)})};f.attach=function(){var a=this;A_c(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);this.eventHandler.listen(this.root,"mouseover",function(b){100>Date.now()-a.lastShowTime&&(b.preventDefault(),b.stopPropagation())})};f.onSelect=function(){this.hide()};
f.onKeyDown=function(a){this.isShown()&&27===a.event.keyCode&&(this.hide(),a.preventDefault(),a.stopPropagation())};f.detach=function(){this.hide()};f.isShown=function(){return this.popup.isShown()};f.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)};
f.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};f.getRoot=function(){return this.root};f.update=function(a){a.hasContent&&this.show()};
f.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("Ae`"+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("Ae`"+c);}}this.root.style.width=mS(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("Ae`"+a);}this.root.style.maxHeight=this.config.getAutocompleteMaxResultsBeforeScroll()*a+"px";this.root.style.minHeight=a+"px";this.popup.show(this.anchor)};f.hide=function(){this.popup.hide();this.navigationInput.setAttribute("aria-expanded","false");this.inlineAutocomplete.detach()};var Lnb=function(){return Xq('<div class="'+$q("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+$q("noeiCf")+'" style="display: none;"></div>')};var k0c=function(){this.batches=new Map};k0c.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 nnb=function(a,b){this.service=a;this.resolveComponents=b};
nnb.prototype.update=function(a){var b=this;a=k([].concat(ad(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=k(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(g){l0c(b,g.values,function(h,m,r){r.updateWaldo(m,h)})});break;case 2:c=c.withHubAvailabilityDot(function(g){l0c(b,g.values,function(h,m,r){r.updateHubAvailabilityDot(m,h)})})}c.execute()}}};
var l0c=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),g=k(a.resolveComponents(e)),h=g.next();!h.done;h=g.next())c(e,d,h.value)}};var m0c=new Set([1,3,20]),n0c=function(a){var b=this;this.idToComponent=new Map;this.updater=onb(a,function(c){return b.resolveComponents(c)})};f=n0c.prototype;
f.append=function(a){var b=a.filter(function(g){return g.getAllIds().some(function(h){return m0c.has(h.getType())})});a=[];b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=k(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
f.remove=function(a){a=k(a);for(var b=a.next(),c={};!b.done;c={$jscomp$loop$prop$component$1914640108$2:c.$jscomp$loop$prop$component$1914640108$2},b=a.next()){c.$jscomp$loop$prop$component$1914640108$2=b.value;b=k(c.$jscomp$loop$prop$component$1914640108$2.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(g){return function(h){return h!==g.$jscomp$loop$prop$component$1914640108$2}}(c)))}}};
f.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};f.refresh=function(a){var b=new k0c;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=k(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};f.clear=function(){this.idToComponent.clear()};var o0c=function(){};o0c.prototype.append=function(){};o0c.prototype.remove=function(){};o0c.prototype.refresh=function(){};o0c.prototype.clear=function(){};var Knb=function(a){this.peopleIntelligence=a};Knb.prototype.create=function(){return this.peopleIntelligence?new n0c(this.peopleIntelligence):new o0c};var p0c=function(){this.label="";this.type=0};f=p0c.prototype;f.getAutocompleteGroupingType=function(){return this.type};f.setAutocompleteGroupingType=function(a){this.type=a};f.getAutocompleteGroupingLabel=function(){return this.label};f.setAutocompleteGroupingLabel=function(a){this.label=a};f.getAutocompleteCustomGrouping=function(){return this.customGrouping};var q0c=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};q0c.prototype.getAllowResultDeselection=function(){return!1};q0c.prototype.getWarnForExternalSelections=function(){return!1};q0c.prototype.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};q0c.prototype.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};var r0c=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.environmentConfig=a;this.grouping=new p0c;this.result=new q0c;this.appearance=new Yq};f=r0c.prototype;f.getEnvironmentConfig=function(){return this.environmentConfig};f.getAutocompleteHeader=function(){return this.header};
f.setAutocompleteHeader=function(a){this.header=a};f.getShowSuggestions=function(){return this.showSuggestions};f.setShowSuggestions=function(a){this.showSuggestions=a};f.getAutocompleteMaxResultsBeforeScroll=function(){return this.maxResultsBeforeScroll};f.setAutocompleteMaxResultsBeforeScroll=function(a){this.maxResultsBeforeScroll=Math.max(Math.min(20,a),3)};f.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.moveAutocompleteAboveAnchorIfOffscreen};
f.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.moveAutocompleteAboveAnchorIfOffscreen=a};f.getAutoActivateFirstSuggestion=function(){return this.autoActivateFirstSuggestion};f.setAutoActivateFirstSuggestion=function(a){this.autoActivateFirstSuggestion=a};f.getAutoActivateFirstSearchResult=function(){return this.autoActivateFirstSearchResult};f.setAutoActivateFirstSearchResult=function(a){this.autoActivateFirstSearchResult=a};f.setEntryPoint=function(a){this.entryPoint=a};
f.getEntryPoint=function(){return this.entryPoint};f.getNoResultsMessage=function(){return this.noResultsMessage};f.setNoResultsMessage=function(a){this.noResultsMessage=a};f.getUseTabForResultSelection=function(){return!0};f.getAutocompleteGroupingType=function(){return this.grouping.getAutocompleteGroupingType()};f.setAutocompleteGroupingType=function(a){this.grouping.setAutocompleteGroupingType(a)};f.getAutocompleteGroupingLabel=function(){return this.grouping.getAutocompleteGroupingLabel()};
f.setAutocompleteGroupingLabel=function(a){this.grouping.setAutocompleteGroupingLabel(a)};f.getAutocompleteCustomGrouping=function(){return this.grouping.getAutocompleteCustomGrouping()};f.getAllowResultDeselection=function(){return this.result.getAllowResultDeselection()};f.getWarnForExternalSelections=function(){return this.result.getWarnForExternalSelections()};f.getResultDecorationConfigRequestCallback=function(){return this.result.getResultDecorationConfigRequestCallback()};
f.getResultCustomizationCallback=function(){return this.result.getResultCustomizationCallback()};f.getDensity=function(){return this.appearance.getDensity()};f.setDensity=function(a){this.appearance.setDensity(a)};f.getTheme=function(){return this.appearance.getTheme()};f.setTheme=function(a){this.appearance.setTheme(a)};var s0c=function(a){this.environmentConfig=a;this.autocomplete=new r0c(a)};f=s0c.prototype;f.getEnvironmentConfig=function(){return this.environmentConfig};f.getAutocompleteHeader=function(){return this.autocomplete.getAutocompleteHeader()};f.setAutocompleteHeader=function(a){this.autocomplete.setAutocompleteHeader(a)};f.getShowSuggestions=function(){return this.autocomplete.getShowSuggestions()};f.setShowSuggestions=function(a){this.autocomplete.setShowSuggestions(a)};
f.getAutocompleteMaxResultsBeforeScroll=function(){return this.autocomplete.getAutocompleteMaxResultsBeforeScroll()};f.setAutocompleteMaxResultsBeforeScroll=function(a){this.autocomplete.setAutocompleteMaxResultsBeforeScroll(a)};f.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.autocomplete.getMoveAutocompleteAboveAnchorIfOffscreen()};f.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.autocomplete.setMoveAutocompleteAboveAnchorIfOffscreen(a)};
f.getAutoActivateFirstSuggestion=function(){return this.autocomplete.getAutoActivateFirstSuggestion()};f.setAutoActivateFirstSuggestion=function(a){this.autocomplete.setAutoActivateFirstSuggestion(a)};f.getAutoActivateFirstSearchResult=function(){return this.autocomplete.getAutoActivateFirstSearchResult()};f.setAutoActivateFirstSearchResult=function(a){this.autocomplete.setAutoActivateFirstSearchResult(a)};f.setEntryPoint=function(a){this.autocomplete.setEntryPoint(a)};f.getEntryPoint=function(){return this.autocomplete.getEntryPoint()};
f.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};f.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};f.getUseTabForResultSelection=function(){return this.autocomplete.getUseTabForResultSelection()};f.getAutocompleteGroupingType=function(){return this.autocomplete.getAutocompleteGroupingType()};f.setAutocompleteGroupingType=function(a){this.autocomplete.setAutocompleteGroupingType(a)};f.getAutocompleteGroupingLabel=function(){return this.autocomplete.getAutocompleteGroupingLabel()};
f.setAutocompleteGroupingLabel=function(a){this.autocomplete.setAutocompleteGroupingLabel(a)};f.getAutocompleteCustomGrouping=function(){return this.autocomplete.getAutocompleteCustomGrouping()};f.getAllowResultDeselection=function(){return this.autocomplete.getAllowResultDeselection()};f.getWarnForExternalSelections=function(){return this.autocomplete.getWarnForExternalSelections()};f.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};
f.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};f.getDensity=function(){return this.autocomplete.getDensity()};f.setDensity=function(a){this.autocomplete.setDensity(a)};f.getTheme=function(){return this.autocomplete.getTheme()};f.setTheme=function(a){this.autocomplete.setTheme(a)};var t0c=Object.freeze(new Map([[5,1]]));var u0c=function(){this.entryPoint_=0};u0c.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};u0c.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};u0c.prototype.serialize=function(){return[this.entryPoint_].toString()};var v0c=Object.freeze(new u0c);var w0c=function(){this.originator_=0};w0c.prototype.setOriginator=function(a){this.originator_=a;return this};w0c.prototype.getOriginator=function(){return this.originator_};var Gnb=function(a,b,c){var d=this;this.reporter=a.getReporter((new u0c).setPeoplekitEntryPoint(c));A_c(b,function(e,g,h){d.select(e,h)},0);z_c(b,function(e,g,h){d.deselect(e,h)},0);x0c(b,function(e,g,h,m){d.replace(e,m)})};f=Gnb.prototype;f.display=function(a){this.reporter.reportDisplay(pnb(a.getTargetList()))};f.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(yr([a]),(new w0c).setOriginator(t0c.get(b)||0));break;case 6:this.reporter.reportExternalSelect(yr([a]))}};
f.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(yr([a]))}};f.dismiss=function(a){this.reporter.reportDismiss(yr(a))};f.save=function(a){this.reporter.reportSave(yr(a))};f.send=function(a){this.reporter.reportSend(yr(a))};f.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var y0c=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};y0c.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=yo(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};y0c.prototype.cancel=function(){zo(this.timerId);this.isBatchingInternal=!1};var $nb=function(a,b,c,d,e,g){var h=this;this.root=a;this.autocomplete=b;this.selectionsState=c;this.interactions=d;this.tracker=e;this.config=g;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new y0c;A_c(this.selectionsState,function(){z0c(h)})};f=$nb.prototype;f.search=function(a,b){this.selectionsState.clear();var c=!1;this.autocomplete.search(a,b,this.config.getShowSuggestions(),function(d){0<d.count&&!c&&(c=!0)})};f.isShown=function(){return this.autocomplete.isShown()};
f.report=function(a,b){b=void 0===b?[]:b;b=b.length?b:this.selectionsState.asArray();var c=this.interactions;switch(a){case 1:c.reporter.reportProceed(yr(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(yr(b))}};f.cancel=function(){this.autocomplete.detach()};
f.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 qUc=function(a,b){a.selectionChangedListeners.push(b)},z0c=function(a){a.selectionChangedAutoBatcher.call(function(){for(var b=a.selectionsState.asArray(),c=k(a.selectionChangedListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)})};var Fnb=function(a){a=a||{};a=a.classes;return Xq('<div peoplekit-id="'+$q("nVhUhf")+'"'+(a?' class="'+$q(a)+'"':"")+"></div>")};var h3=function(a){this.internalArray_=l(a)};U(h3,q);h3.prototype.getVersion=function(){return aj(this,1,1)};h3.prototype.setVersion=function(a){return cj(this,1,a)};h3.prototype.getVersionOrUndefined=function(){return ps(this,1)};h3.prototype.toObject=function(){return A0c(this)};var A0c=function(a){if(null!=a)return t(a),{version:aj(a,1,1)}};var B0c=function(a){this.internalArray_=l(a)};U(B0c,q);f=B0c.prototype;f.getClientId=function(){return aj(this,1,0)};f.setClientId=function(a){return cj(this,1,a)};f.getEntryPoint=function(){return aj(this,5,0)};f.setEntryPoint=function(a){return cj(this,5,a)};f.getSocialClient=function(){return W(this,ER,2)};f.setSocialClient=function(a){return lj(this,ER,2,a)};f.setVersionName=function(a){return uk(this,3,a)};f.getBaselineCl=function(){return uj(this,4)};
f.setBaselineCl=function(a){return cj(this,4,a)};f.hasBaselineCl=function(){return $k(this,4)};f.getBaselineClOrUndefined=function(){return St(this,4)};f.getComponentFlow=function(){return aj(this,7,0)};f.setComponentFlow=function(a){return cj(this,7,a)};f.toObject=function(){return C0c(this)};
var C0c=function(a){if(null!=a)return t(a),{clientId:n(p(a,1)),entryPoint:n(p(a,5)),socialClient:Pzc(a.getSocialClient()),versionName:n(X(a,3)),baselineCl:n(p(a,4)),componentFlow:n(p(a,7)),androidClientInfo:A0c(W(a,h3,6))}};var D0c=function(a){this.internalArray_=l(a)};U(D0c,q);D0c.prototype.toObject=function(){return E0c(this)};var E0c=function(a){if(null!=a)return t(a),{imageType:n(p(a,1)),imageDataCached:n(p(a,2))}};var i3=function(a){this.internalArray_=l(a)};U(i3,q);i3.prototype.toObject=function(){return F0c(this)};var F0c=function(a){if(null!=a)return t(a),{avatarMetadata:E0c(W(a,D0c,1))}};var G0c=function(a){this.internalArray_=l(a)};U(G0c,q);f=G0c.prototype;f.getLabel=function(){return aj(this,1,0)};f.setLabel=function(a){return cj(this,1,a)};f.hasLabel=function(){return tj(this,1)};f.getCause=function(){return aj(this,2,0)};f.toObject=function(){return H0c(this)};var H0c=function(a){if(null!=a)return t(a),{label:n(p(a,1)),cause:n(p(a,2))}};var I0c=function(a){this.internalArray_=l(a)};U(I0c,q);f=I0c.prototype;f.getLabel=function(){return aj(this,1,0)};f.setLabel=function(a){return cj(this,1,a)};f.hasLabel=function(){return tj(this,1)};f.getValue=function(){return uj(this,2,1)};f.setValue=function(a){return cj(this,2,a)};f.hasValue=function(){return $k(this,2)};f.toObject=function(){return J0c(this)};var J0c=function(a){if(null!=a)return t(a),{label:n(p(a,1)),value:uj(a,2,1)}};var K0c=function(a){this.internalArray_=l(a)};U(K0c,q);f=K0c.prototype;f.setLatencyUsec=function(a){cj(this,2,a)};f.getQueryLength=function(){return Vh(this,3)};f.setQueryLength=function(a){return dj(this,3,a)};f.hasQueryLength=function(){return Rk(this,3)};f.toObject=function(){return L0c(this)};
var L0c=function(a){if(null!=a)return t(a),{resultCount:n(Ft(a,1)),latencyUsec:n(p(a,2)),queryLength:n(Ft(a,3)),isContactsPermissionsGranted:n(Ur(a,4)),isShowDeviceContactsDisplayed:n(Ur(a,5)),memoryAllocatedDelta:n(p(a,6)),inAppResultCount:n(Ft(a,7))}};var M0c=function(a){this.internalArray_=l(a)};U(M0c,q);f=M0c.prototype;f.getLabel=function(){return V(this,1)};f.setLabel=function(a){return uk(this,1,a)};f.hasLabel=function(){return Jk(this,1)};f.getCause=function(){return V(this,2)};f.toObject=function(){return N0c(this)};var N0c=function(a){if(null!=a)return t(a),{label:n(X(a,1)),cause:n(X(a,2))}};var O0c=function(a){this.internalArray_=l(a)};U(O0c,q);f=O0c.prototype;f.getLabel=function(){return aj(this,1,0)};f.setLabel=function(a){return cj(this,1,a)};f.hasLabel=function(){return tj(this,1)};f.setLatencyUsec=function(a){cj(this,2,a)};f.getCacheStatus=function(){return aj(this,3,0)};f.setCacheStatus=function(a){return cj(this,3,a)};f.toObject=function(){return P0c(this)};var P0c=function(a){if(null!=a)return t(a),{label:n(p(a,1)),latencyUsec:n(p(a,2)),cacheStatus:n(p(a,3))}};var j3=function(a){this.internalArray_=l(a)};U(j3,q);j3.prototype.getInterfaceType=function(){return aj(this,1,0)};j3.prototype.setInterfaceType=function(a){return cj(this,1,a)};j3.prototype.toObject=function(){return Q0c(this)};var Q0c=function(a){if(null!=a)return t(a),{interfaceType:n(p(a,1)),dataSourceType:n(p(a,2)),entryIndex:n(Ft(a,3))}};var R0c=function(a){this.internalArray_=l(a)};U(R0c,q);R0c.prototype.toObject=function(){return S0c(this)};var S0c=function(a){if(null!=a)return t(a),{suggestionsLoaded:n(Ur(a,1)),closeType:n(p(a,2))}};var T0c=function(a){this.internalArray_=l(a)};U(T0c,q);f=T0c.prototype;f.getEventType=function(){return aj(this,1,0)};f.getEventType_legacyNullable=function(){return p(this,1)};f.setEventType=function(a){return cj(this,1,a)};f.setLatencyUsec=function(a){cj(this,2,a)};f.toObject=function(){return U0c(this)};
var U0c=function(a){if(null!=a)return t(a),{eventType:n(p(a,1)),latencyUsec:n(p(a,2)),entityCount:n(Ft(a,3)),memoryAllocatedDelta:n(p(a,4)),animationFps:n(Ft(a,5)),timeToActionMillis:n(p(a,6)),completionMetadata:S0c(W(a,R0c,7))}};var V0c=function(a){this.internalArray_=l(a)};U(V0c,q);f=V0c.prototype;f.getCount=function(){return W(this,I0c,3)};f.setCount=function(a){return lj(this,I0c,3,a)};f.getLatency=function(){return W(this,O0c,4)};f.setLatency=function(a){return lj(this,O0c,4,a)};f.getError=function(){return W(this,M0c,5)};f.setError=function(a){lj(this,M0c,5,a)};f.hasError=function(){return Pj(this,M0c,5)};f.toObject=function(){return W0c(this)};
var W0c=function(a){if(null!=a)return t(a),{entryType:n(p(a,1)),sharedDimension:Q0c(W(a,j3,2)),count:J0c(a.getCount()),latency:P0c(a.getLatency()),peoplekitError:H0c(W(a,G0c,8)),error:N0c(a.getError()),dataDisplay:L0c(W(a,K0c,6)),userEvent:U0c(W(a,T0c,7))}};var k3=function(a){this.internalArray_=l(a)};U(k3,q);k3.prototype.setElementIndex=function(a){dj(this,2,a)};k3.prototype.setCardinalDirection=function(a){cj(this,7,a)};k3.repeatedFields_=[3];k3.prototype.toObject=function(){return X0c(this)};var X0c=function(a){if(null!=a)return t(a),{elementId:n(Ft(a,1)),elementIndex:n(Ft(a,2)),pathToRootElementIdList:n(Uh(a,3)),userAction:n(p(a,4)),cardinalDirection:n(p(a,7))}};var Y0c=function(a){this.internalArray_=l(a)};U(Y0c,q);Y0c.prototype.toObject=function(){return Z0c(this)};var Z0c=function(a){if(null!=a)return t(a),{ancestryVisualElement:X0c(W(a,k3,1)),intentClassName:n(X(a,2)),firstInFlow:n(Ur(a,3)),userInterfaceStyle:aj(a,4,0)}};var $0c=function(a){this.internalArray_=l(a)};U($0c,q);f=$0c.prototype;f.getClientInterface=function(){return W(this,B0c,3)};f.setClientInterface=function(a){return lj(this,B0c,3,a)};f.getMetadata=function(){return W(this,i3,4)};f.setMetadata=function(a){lj(this,i3,4,a)};f.toObject=function(){if(null!=this){t(this);var a={visualElementEntry:Z0c(W(this,Y0c,1)),metricsDataEntry:W0c(W(this,V0c,2)),clientInterface:C0c(this.getClientInterface()),metadata:F0c(this.getMetadata())}}else a=void 0;return a};var Hnb=function(a,b){this.entryPoint=b;this.logContext=Fpb(ks(new ls,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(550712998).setEnableClearcut(a.getEnableClearcut()),lr.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};f=Hnb.prototype;f.getLogContext=function(){return this.logContext};f.createCountMetric=function(){throw Error("ab");};
f.createStatusMetric=function(){throw Error("ab");};f.createLatencyMetric=function(a,b){b=b.source();a=(new $0c).setClientInterface((new B0c).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow).setEntryPoint(this.entryPoint));return lj(a,V0c,2,b)};f.createErrorMetric=function(){throw Error("ab");};var a1c=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new V0c;a=cj(a,1,4);var c=new j3;b=cj(c,2,2).setInterfaceType(b);this.dataEntry=lj(a,j3,2,b).setLatency((new O0c).setLabel(8));this.state=new MR(this.dataEntry)};a1c.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
a1c.prototype.stop=function(a){a=void 0===a?function(){}:a;this.metrics.stop(this.state,this.label);var b=this.state.durationUsec(this.label),c;null==(c=this.dataEntry.getLatency())||c.setLatencyUsec(b);a(b);var d;null!=(d=W(this.dataEntry,j3,2))&&dj(d,3,this.count);this.metrics.latency(this.state);++this.count};var Jnb=function(a,b){this.metrics=a;this.userInterfaceType=b};var Inb=function(a){this.trackers=a},j0c=function(a){a=a.trackers;return new a1c(a.metrics,a.userInterfaceType)};var l3=function(){this.itemsByPriority=[]};l3.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};l3.prototype.remove=function(a){for(var b=k(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};l3.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(ad(a))})};var Dr=function(){this.selectionCallbacks=new l3;this.deselectionCallbacks=new l3;this.selectionReplacedCallbacks=new l3;this.selectionAttemptedCallbacks=new l3;this.selectionsState=[]};
Dr.prototype.select=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?0:c;var d=String(a.id());if(this.selectionsState.find(function(e){return d===String(e.id())}))return zr(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),zr(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),zr(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Dr.prototype.deselect=function(a,b){b=void 0===b?0:b;var c=String(a.id()),d=this.selectionsState.findIndex(function(e){return c===String(e.id())});0>d||(this.selectionsState.splice(d,1),zr(a,d,b,this.deselectionCallbacks.asArray()))};Dr.prototype.toggle=function(a,b){b=void 0===b?0:b;var c=String(a.id());if(0>this.selectionsState.findIndex(function(d){return c===String(d.id())}))return this.select(a,-1,b),!0;this.deselect(a,b);return!1};
var A_c=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},z_c=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},x0c=function(a,b){a.selectionReplacedCallbacks.add(b,0)};f=Dr.prototype;f.get=function(a){var b=String(a);return this.selectionsState.find(function(c){return b===String(c.id())})};f.at=function(a){return this.selectionsState[a]};
f.replace=function(a,b,c){c=void 0===c?0:c;var d=String(a),e=this.selectionsState.findIndex(function(g){return d===String(g.id())});if(0>e||!a.equals(b.id())&&this.get(b.id()))return!1;this.selectionsState[e]=b;qnb(b,e,a,c,this.selectionReplacedCallbacks.asArray());return!0};f.pop=function(a){a=void 0===a?0:a;var b=this.selectionsState.pop();if(b)return zr(b,this.selectionsState.length,a,this.deselectionCallbacks.asArray()),b};
f.indexOf=function(a){var b=String(a);return this.selectionsState.findIndex(function(c){return b===String(c.id())})};f.asArray=function(){return this.selectionsState.slice()};f.size=function(){return this.selectionsState.length};f.clear=function(){for(;0<this.selectionsState.length;)this.deselect(this.selectionsState[0])};var Znb=function(){};Znb.prototype.start=function(){};Znb.prototype.stop=function(){};for(var b1c={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"}},rnb=vnb(b1c),c1c=new Map,d1c=k(Object.keys(b1c)),e1c=d1c.next();!e1c.done;e1c=d1c.next()){var f1c=e1c.value;c1c.set(b1c[f1c].xid,b1c[f1c].string)}
var tnb=vnb({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 m3=function(a,b){this.visualElementID_=a;this.xidTagComponents_=b||!1;this.tracks_=new Set;this.index_=null;this.testCodes_=[];this.componentID_=void 0;this.retain_cached_impression_=this.mutable_=!1;this.attribute_=null;this.metadataHandlers_=[]},n3=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};f=m3.prototype;f.setIndex=function(a){this.index_=a};f.getIndex=function(){return this.index_};f.setComponentID=function(a){this.componentID_=a};f.getComponentID=function(){return this.componentID_};
f.isMutable=function(){return this.mutable_};f.setAttribute=function(a){this.attribute_=a;return this};f.getAttribute=function(){return this.attribute_};var g1c=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};m3.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?snb(a):a};m3.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?unb(a):a};var h1c=function(a){m3.call(this,a)};U(h1c,m3);var o3=function(a){this.internalArray_=l(a)};U(o3,q);o3.prototype.toObject=function(){return i1c(this)};var i1c=function(a){if(null!=a)return t(a),{timeUsec:n(p(a,1)),serverIp:n(db(p(a,2))),processId:n(db(p(a,3)))}},j1c=[0,1,rOb,1,uOb,1,uOb];eu[4156379]=Tb(4156379,{messageSetExtension:0},o3,i1c);var p3=function(a){this.internalArray_=l(a)};U(p3,q);p3.prototype.getBase=function(){return W(this,o3,1)};p3.prototype.setBase=function(a){return lj(this,o3,1,a)};p3.prototype.hasBase=function(){return Pj(this,o3,1)};p3.prototype.toObject=function(){return q3(this)};var q3=function(a){if(null!=a)return t(a),{base:i1c(a.getBase()),clientCounter:n(p(a,2))}},k1c=[0,1,wOb,j1c,1,rOb];var r3=function(a){this.internalArray_=l(a)};U(r3,q);r3.prototype.getBase=function(){return Jt(this,1)};r3.prototype.setBase=function(a){return Fb(this,1,a,bb(void 0),Uh)};r3.prototype.getOffset=function(){return Vh(this,2,0)};r3.prototype.setOffset=function(a){dj(this,2,a)};r3.repeatedFields_=[1];r3.prototype.toObject=function(){return l1c(this)};var l1c=function(a){if(null!=a)return t(a),{baseList:n(Uh(a,1)),offset:Vh(a,2,0)}},m1c=[0,1,sOb,1,Ut];var s3=function(a){this.internalArray_=l(a)};U(s3,q);f=s3.prototype;f.setVeIndex=function(a){dj(this,1,a)};f.setElementIndex=function(a){dj(this,5,a)};f.getResultIndex=function(){return Vh(this,6,-1)};f.setResultIndex=function(a){dj(this,6,a)};f.toObject=function(){return n1c(this)};
var n1c=function(a){if(null!=a)return t(a),{veIndex:Vh(a,1,-1),nonArchivalVeIndex:Vh(a,11,-1),veOffsetIdentifier:l1c(W(a,r3,15)),veType:n(Ft(a,2)),odelaySeLinker:n(Ft(a,8)),elementIndex:Vh(a,5,-1),resultIndex:Vh(a,6,-1),pageStart:n(Ft(a,7)),resultGroupElementIndex:Vh(a,9,-1),doNotLogUrl:Vj(a,10,!1),resultFprint:n(p(a,12)),veEventId:q3(W(a,p3,13)),youtubeVeCounter:Vh(a,14,-1)}},o1c=[0,1,Ut,1,Ut,3,Ut,1,Ut,1,Ut,1,Ut,1,Ut,1,vOb,1,Ut,1,tOb,1,wOb,k1c,1,Ut,1,wOb,m1c],p1c=function(a){return function(b){var c=
new hOb;tca(b.internalArray_,c,sca(a));Aca(c,c.encoder_.end());b=new Uint8Array(c.totalLength_);for(var d=c.blocks_,e=d.length,g=0,h=0;h<e;h++){var m=d[h];b.set(m,g);g+=m.length}c.blocks_=[b];return b}}(o1c);eu[15872052]=Tb(15872052,{messageSetExtension:0},s3,n1c);var q1c=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};q1c.prototype.getTag=function(){return this.veTag_};q1c.prototype.getElement=function(){return this.el_};var s1c=function(a){var b=r1c++;a.traversalOrder_=b};q1c.prototype.setParent=function(a){this.parent_=a};q1c.prototype.getParent=function(){return this.parent_};
var t1c=function(a){if(a.impressionEventID){var b=new s3;b.setVeIndex(a.traversalOrder_);dj(b,2,a.getTag().visualElementID_);lj(b,p3,13,a.impressionEventID);a=p1c(b);return"0"+Daa(a,4)}};var Wnb=function(a){this.internalArray_=l(a)};U(Wnb,q);f=Wnb.prototype;f.getClientId=function(){return aj(this,1,0)};f.setClientId=function(a){return cj(this,1,a)};f.getEntryPoint=function(){return aj(this,2,0)};f.setEntryPoint=function(a){return cj(this,2,a)};f.getApplication=function(){return aj(this,3,0)};f.setApplication=function(a){return cj(this,3,a)};f.getApplicationOrUndefined=function(){return ps(this,3)};f.setVersionName=function(a){return uk(this,4,a)};
f.getBaselineCl=function(){return uj(this,5)};f.setBaselineCl=function(a){return cj(this,5,a)};f.hasBaselineCl=function(){return $k(this,5)};f.getBaselineClOrUndefined=function(){return St(this,5)};f.getMetadata=function(){return W(this,i3,6)};f.setMetadata=function(a){lj(this,i3,6,a)};
f.toObject=function(){if(null!=this){t(this);var a={clientId:n(p(this,1)),entryPoint:n(p(this,2)),application:n(p(this,3)),versionName:n(X(this,4)),baselineCl:n(p(this,5)),metadata:F0c(this.getMetadata())}}else a=void 0;return a};var Xnb=function(a){this.context_=a};Xnb.prototype.createNewTag=function(a){return new h1c(a)};Xnb.prototype.addEventMetadata=function(a){a6b(a,this.context_.serialize())};var u1c=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var v1c=function(a){this.userAction=a;this.interactionContext=this.cardinalDirection=void 0};var w1c=function(){};w1c.prototype.impressionEvent=function(){return[]};w1c.prototype.interactionEvent=function(){return[]};w1c.prototype.visibilityEvent=function(){return[]};var z1c=function(){if(!x1c){var a=x1c=new o3,b=1E3*Date.now();cj(a,1,b);cj(x1c,2,eb(0));cj(x1c,3,eb(0))}a=(new p3).setBase(x1c);b=++y1c;return cj(a,2,b)},y1c=0,x1c=void 0;var t3=function(a){this.internalArray_=l(a,1)};U(t3,q);var A1c={};t3.prototype.toObject=function(){return B1c(this)};var B1c=function(a){if(null!=a){t(a);var b={};Vb(a,b,A1c);return b}};var u3=function(a){this.internalArray_=l(a)};U(u3,q);u3.prototype.toObject=function(){return C1c(this)};var C1c=function(a){if(null!=a)return t(a),{rootEventId:q3(W(a,p3,1))}};var v3=function(a){this.internalArray_=l(a)};U(v3,q);v3.prototype.getEvent=function(){return fk(this,o3,1,D1c)};v3.prototype.setVed=function(a){return Io(this,5,E1c,a)};var D1c=[1,3,4],E1c=[2,5];v3.prototype.toObject=function(){return F1c(this)};var F1c=function(a){if(null!=a)return t(a),{event:i1c(a.getEvent()),clientEvent:q3(fk(a,p3,3,D1c)),ei:n(Ro(a,4,D1c)),rootVe:n1c(fk(a,s3,2,E1c)),ved:n(Ro(a,5,E1c))}};var w3=function(a){this.internalArray_=l(a,7)};U(w3,q);f=w3.prototype;f.getTarget=function(){return W(this,v3,1)};f.setTarget=function(a){return lj(this,v3,1,a)};f.getType=function(){return aj(this,2,0)};f.setType=function(a){return cj(this,2,a)};f.hasType=function(){return tj(this,2)};var G1c={};w3.prototype.toObject=function(){return H1c(this)};
var H1c=function(a){if(null!=a){t(a);var b={target:F1c(a.getTarget()),type:aj(a,2,0),cloneTree:F1c(W(a,v3,3)),sourceTree:F1c(W(a,v3,5)),graftTimeUsec:n(p(a,4)),dedupe:Vj(a,6,!1)};Vb(a,b,G1c);return b}};var x3=function(a){this.internalArray_=l(a)};U(x3,q);x3.repeatedFields_=[1];x3.prototype.toObject=function(){return I1c(this)};var I1c=function(a){if(null!=a)return t(a),{graftList:Ub(oj(a,w3,1),H1c)}};var y3=function(a){this.internalArray_=l(a)};U(y3,q);y3.prototype.getOffset=function(){return Vh(this,2,0)};y3.prototype.setOffset=function(a){dj(this,2,a)};y3.repeatedFields_=[1];y3.prototype.toObject=function(){return J1c(this)};var J1c=function(a){if(null!=a)return t(a),{identifierBaseList:n(Uh(a,1)),offset:Vh(a,2,0)}};var K1c=function(a){this.internalArray_=l(a)};U(K1c,q);K1c.prototype.getEventId=function(){return fk(this,o3,1,L1c)};K1c.prototype.setEventId=function(a){Ko(this,1,L1c,a)};var L1c=[1,2],M1c=[3,6];K1c.prototype.toObject=function(){return N1c(this)};var N1c=function(a){if(null!=a){t(a);var b=i1c(a.getEventId()),c=q3(fk(a,p3,2,L1c));var d=Vh(a,yn(a,M1c,3),-1);return{eventId:b,clientEventId:c,featureIndex:d,featureOffsetIdentifier:J1c(fk(a,y3,6,M1c))}}};var O1c=function(a){this.internalArray_=l(a)};U(O1c,q);O1c.prototype.toObject=function(){return P1c(this)};var P1c=function(a){if(null!=a)return t(a),{reference:F1c(W(a,v3,1))}};var z3=function(a){this.internalArray_=l(a,233)};U(z3,q);z3.prototype.setUiType=function(a){return dj(this,1,a)};z3.prototype.setElementIndex=function(a){dj(this,3,a)};var Q1c=function(a,b){Cb(a,4,b,bb)};z3.prototype.getResultIndex=function(){return Ft(this,7)};z3.prototype.setResultIndex=function(a){dj(this,7,a)};z3.prototype.setVisible=function(a){return cj(this,6,a)};var R1c={};z3.repeatedFields_=[4];z3.prototype.toObject=function(){return S1c(this)};
var S1c=function(a){if(null!=a){t(a);var b={uiType:n(Ft(a,1)),elementIndex:Vh(a,3,-1),containsElementsList:n(Uh(a,4)),targetUrl:n(X(a,5)),resultIndex:n(Ft(a,7)),featureTreeRef:N1c(W(a,K1c,11)),visible:aj(a,6,0),language:n(X(a,17)),adImpressionIndex:Vh(a,149,-1),dataElement:P1c(W(a,O1c,232))};Vb(a,b,R1c);return b}};var A3=function(a){this.internalArray_=l(a,17)};U(A3,q);f=A3.prototype;f.setVed=function(a){return uk(this,11,a)};f.setUiType=function(a){return dj(this,1,a)};f.setVeIndex=function(a){dj(this,2,a)};f.setCardinalDirection=function(a){dj(this,4,a)};f.getResultIndex=function(){return Vh(this,7,-1)};f.setResultIndex=function(a){dj(this,7,a)};f.setElementIndex=function(a){dj(this,8,a)};var T1c=function(a,b){rj(a,14,b)},U1c={};A3.repeatedFields_=[14];A3.prototype.toObject=function(){return V1c(this)};
var V1c=function(a){if(null!=a){t(a);var b={clickTrackingCgi:n1c(W(a,s3,16)),ved:n(X(a,11)),uiType:Vh(a,1,-1),veIndex:Vh(a,2,-1),primaryUserAction:n(Ft(a,3)),cardinalDirection:n(Ft(a,4)),toggleState:n(Ft(a,5)),interactionContext:Vh(a,6,-1),resultIndex:Vh(a,7,-1),elementIndex:Vh(a,8,-1),imageUrl:n(X(a,9)),imageReferrerUrl:n(X(a,10)),thumbnailId:n(X(a,12)),referrerId:n(X(a,13)),ancestryList:Ub(oj(a,z3,14),S1c),clientInteractionMetadata:B1c(W(a,t3,15))};Vb(a,b,U1c);return b}};var B3=function(a){this.internalArray_=l(a)};U(B3,q);B3.prototype.getEventId=function(){return W(this,p3,1)};B3.prototype.setEventId=function(a){lj(this,p3,1,a)};B3.repeatedFields_=[2];
B3.prototype.toObject=function(){if(null!=this){t(this);var a={eventId:q3(this.getEventId()),visualElementsList:Ub(oj(this,z3,2),S1c),parentEventId:q3(W(this,p3,3)),ephemeralParentEventId:n(X(this,6)),snapshotParentEventId:q3(W(this,p3,8)),requestContext:V1c(W(this,A3,4)),graftType:n(p(this,5)),grafts:I1c(W(this,x3,7)),coreEventMetadata:C1c(W(this,u3,9))}}else a=void 0;return a};var W1c=function(){};W1c.prototype.createNewTag=function(a){return new m3(a)};W1c.prototype.addEventMetadata=function(){};var C3=function(a){this.internalArray_=l(a)};U(C3,q);var X1c=function(a,b){rj(a,1,b)};C3.prototype.addPath=function(a,b){return Mo(this,1,z3,a,b)};C3.prototype.setPath=function(a,b){return zt(this,1,z3,a,b)};C3.repeatedFields_=[1];C3.prototype.toObject=function(){return Y1c(this)};var Y1c=function(a){if(null!=a)return t(a),{pathList:Ub(oj(a,z3,1),S1c)}};var Z1c=Tb(100,{coreGraftMetadata:0},C3,Y1c);G1c[100]=Z1c;var D3=function(a){this.internalArray_=l(a)};U(D3,q);var $1c=function(a){var b=Date.now().toString();cj(a,1,b)};D3.prototype.toObject=function(){return a2c(this)};var a2c=function(a){if(null!=a)return t(a),{clientWallClockTimestamp:n(p(a,1))}};var E3=function(a){this.internalArray_=l(a)};U(E3,q);E3.prototype.getTimestamp=function(){return W(this,D3,1)};E3.prototype.setTimestamp=function(a){return lj(this,D3,1,a)};E3.prototype.hasTimestamp=function(){return Pj(this,D3,1)};E3.prototype.toObject=function(){return b2c(this)};var b2c=function(a){if(null!=a)return t(a),{timestamp:a2c(a.getTimestamp())}};var c2c=Tb(126,{coreInteractionMetadata:0},E3,b2c);A1c[126]=c2c;var d2c=Tb(618,{coreVeMetadata:0},E3,b2c);R1c[618]=d2c;var e2c=function(a){this.internalArray_=l(a)};U(e2c,q);e2c.prototype.toObject=function(){return f2c(this)};var f2c=function(a){if(null!=a)return t(a),{isTracked:n(Ur(a,1))}};var g2c=Tb(273,{attentionData:0},e2c,f2c);R1c[273]=g2c;var Gr=function(a,b,c,d){this.enableAncestryLogging_=void 0===a?!0:a;this.enableAncestryLoggingForGrafts_=void 0===c?!1:c;this.enableBatching_=void 0===b?!1:b;this.enableAttentionLogging_=void 0===d?!1:d};U(Gr,w1c);Gr.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=h2c(this,c,b);b=this.enableBatching_?i2c(this,d,b):j2c(this,d,b);return a.concat(b)};
Gr.prototype.interactionEvent=function(a,b){var c=new VB,d=new B3,e=z1c();d.setEventId(e);e=new A3;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);T1c(dj(e,3,b.userAction),this.getAncestry_(a));b.cardinalDirection&&e.setCardinalDirection(b.cardinalDirection);b.interactionContext&&dj(e,6,b.interactionContext);this.setTimestamp(e);b=new u3;lj(b,p3,1,a.impressionEventID);lj(d,p3,3,a.impressionEventID);lj(d,A3,4,e);lj(d,u3,9,b);b6b(c,d.serialize());
return[c]};
Gr.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var g=a[e],h=g.getElement(),m=g.rootImpressionEventID,r=d.get(m);r=r?r:[];var v=new C3;this.enableAncestryLoggingForGrafts_&&X1c(v,this.getAncestry_(g));if(g.neverShown||n3(g.getTag(),"vis"))if(h=this.isVisible_(h,b),g.hidden&&h){h=new w3;h.setType(1);var y=k2c(g);h.setTarget(y);y=h;var A=Date.now();cj(y,4,A);this.enableAncestryLoggingForGrafts_&&Wr(h,Z1c,v);r.push(h);g.hidden=!1;g.neverShown=!1}else g.hidden||h||
(h=new w3,h.setType(2),y=k2c(g),h.setTarget(y),y=h,A=Date.now(),cj(y,4,A),this.enableAncestryLoggingForGrafts_&&Wr(h,Z1c,v),r.push(h),g.hidden=!0);d.set(m,r)}a=k(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,g=d.get(b),g.length&&(e=new x3,rj(e,1,g),g=new B3,m=z1c(),r=new u3,lj(r,p3,1,b),g.setEventId(m),lj(g,p3,3,b),lj(g,x3,7,e),lj(g,u3,9,r),b=new VB,b6b(b,g.serialize()),c.push(b));return c};
Gr.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");if(a instanceof HTMLElement&&(0>=a.offsetWidth||0>=a.offsetHeight))return!1;a=a.getBoundingClientRect();return(b=FEc(b,new kS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var h2c=function(a,b,c){for(var d=[],e={},g=b.length-1;0<=g;e={$jscomp$loop$prop$impressionEventID$725431272$11:e.$jscomp$loop$prop$impressionEventID$725431272$11,$jscomp$loop$prop$clientVeProto$725431272$12:e.$jscomp$loop$prop$clientVeProto$725431272$12,$jscomp$loop$prop$testCodes$725431272$13:e.$jscomp$loop$prop$testCodes$725431272$13},g--){e.$jscomp$loop$prop$clientVeProto$725431272$12=new B3;e.$jscomp$loop$prop$testCodes$725431272$13=[];e.$jscomp$loop$prop$impressionEventID$725431272$11=z1c();
e.$jscomp$loop$prop$clientVeProto$725431272$12.setEventId(e.$jscomp$loop$prop$impressionEventID$725431272$11);var h=new u3;lj(h,p3,1,e.$jscomp$loop$prop$impressionEventID$725431272$11);lj(e.$jscomp$loop$prop$clientVeProto$725431272$12,u3,9,h);if(h=P4b(window.location.href,"ved"))h=(new A3).setVed(h),lj(e.$jscomp$loop$prop$clientVeProto$725431272$12,A3,4,h);b[g].forEach(function(m){return function(r,v){v.impressionEventID=m.$jscomp$loop$prop$impressionEventID$725431272$11;v.rootImpressionEventID=m.$jscomp$loop$prop$impressionEventID$725431272$11;
var y=this.getVisualElementLiteProto_(v);r.length&&Q1c(y,r);r=v.getElement();this.isVisible_(r,c)?(v.neverShown=!1,v.hidden=!1):y.setVisible(1);this.enableAttentionLogging_&&n3(v.getTag(),"hover")&&void 0!==v.traversalOrder_&&(r.setAttribute("data-hveid",Number(v.traversalOrder_)),0===oj(m.$jscomp$loop$prop$clientVeProto$725431272$12,z3,2).length&&t1c(v)&&(r.setAttribute("decode-data-ved","1"),r.setAttribute("data-ved",t1c(v)+"")));this.setTimestamp(y);Mo(m.$jscomp$loop$prop$clientVeProto$725431272$12,
2,z3,y);m.$jscomp$loop$prop$testCodes$725431272$13=m.$jscomp$loop$prop$testCodes$725431272$13.concat(v.getTag().testCodes_)}}(e),a);h=new VB;b6b(h,e.$jscomp$loop$prop$clientVeProto$725431272$12.serialize());Cb(h,20,e.$jscomp$loop$prop$testCodes$725431272$13,bb);d.push(h)}return d},i2c=function(a,b,c){for(var d=[],e=new Map,g=b.length-1;0<=g;g--){var h=b[g],m=h.keys().next().value.rootImpressionEventID,r=e.get(m)||[];r.push(h);e.set(m,r)}e.forEach(function(v,y){var A=0,G=[],N=new B3,Q=[],Z=z1c();N.setEventId(Z);
lj(N,p3,3,y);var Y=new u3;lj(Y,p3,1,y);lj(N,u3,9,Y);for(Y=0;Y<v.length;Y++)for(var ea=v[Y],ja=ea.keys(),va=ja.next().value,za=ea.get(va),Pa={},Sa=0;Sa<za.length;Pa={$jscomp$loop$prop$startingOffset$725431272$15:Pa.$jscomp$loop$prop$startingOffset$725431272$15,$jscomp$loop$prop$cloneTreeRootIndex$725431272$16:Pa.$jscomp$loop$prop$cloneTreeRootIndex$725431272$16},++Sa){var Wa=va;Pa.$jscomp$loop$prop$cloneTreeRootIndex$725431272$16=0;Pa.$jscomp$loop$prop$startingOffset$725431272$15=za[Sa];var Qb=ea.size;
Sa!=za.length-1&&(Qb=za[Sa+1]);for(var Gb=Pa.$jscomp$loop$prop$startingOffset$725431272$15;Gb<Qb;++Gb){var cb=ja.next().value;Gb==Pa.$jscomp$loop$prop$startingOffset$725431272$15&&(Wa=cb,Pa.$jscomp$loop$prop$cloneTreeRootIndex$725431272$16=A);cb.impressionEventID=Z;cb.rootImpressionEventID=y;cb.traversalOrder_=A;var sa=ea.get(cb),Ja=this.getVisualElementLiteProto_(cb);sa.length&&Q1c(Ja,sa.map(function(Qa){return function(fb){return fb-Qa.$jscomp$loop$prop$startingOffset$725431272$15+Qa.$jscomp$loop$prop$cloneTreeRootIndex$725431272$16}}(Pa)));
sa=cb.getElement();this.isVisible_(sa,c)?(cb.neverShown=!1,cb.hidden=!1):Ja.setVisible(1);this.setTimestamp(Ja);Mo(N,2,z3,Ja);Q=Q.concat(cb.getTag().testCodes_);A++}Qb=new w3;Qb.setType(3);Gb=k2c(va);Qb.setTarget(Gb);Gb=new v3;cb=new s3;Ja=new C3;cb.setVeIndex(Wa.traversalOrder_);dj(cb,2,Wa.getTag().visualElementID_);Ko(Gb,2,E1c,cb);lj(Qb,v3,3,Gb);this.enableAncestryLoggingForGrafts_&&(X1c(Ja,this.getAncestry_(Wa)),Wr(Qb,Z1c,Ja));G.push(Qb)}G.length&&(v=new x3,rj(v,1,G),lj(N,x3,7,v));G=new VB;b6b(G,
N.serialize());Cb(G,20,Q,bb);d.push(G)},a);return d},j2c=function(a,b,c){for(var d=[],e=b.length-1;0<=e;e--)for(var g=b[e],h=g.keys(),m=h.next().value,r=g.get(m),v={},y=0;y<r.length;v={$jscomp$loop$prop$startingOffset$725431272$18:v.$jscomp$loop$prop$startingOffset$725431272$18},++y){v.$jscomp$loop$prop$startingOffset$725431272$18=r[y];var A=g.size;y!=r.length-1&&(A=r[y+1]);var G=new B3,N=[],Q=z1c(),Z=new u3;lj(Z,p3,1,m.impressionEventID);G.setEventId(Q);lj(G,p3,3,m.impressionEventID);cj(G,5,3);lj(G,
u3,9,Z);Z=new A3;m.serverVed_?Z.setVed(m.serverVed_):Z.setUiType(m.getTag().visualElementID_).setVeIndex(m.traversalOrder_);T1c(Z,a.getAncestry_(m));lj(G,A3,4,Z);for(Z=v.$jscomp$loop$prop$startingOffset$725431272$18;Z<A;++Z){var Y=h.next().value;Y.impressionEventID=Q;Y.rootImpressionEventID=m.rootImpressionEventID;void 0!=Y.traversalOrder_&&(Y.traversalOrder_-=v.$jscomp$loop$prop$startingOffset$725431272$18);var ea=g.get(Y),ja=a.getVisualElementLiteProto_(Y);ea.length&&Q1c(ja,ea.map(function(va){return function(za){return za-
va.$jscomp$loop$prop$startingOffset$725431272$18}}(v)));ea=Y.getElement();a.isVisible_(ea,c)?(Y.neverShown=!1,Y.hidden=!1):ja.setVisible(1);a.enableAttentionLogging_&&n3(Y.getTag(),"hover")&&void 0!==Y.traversalOrder_&&(ea.setAttribute("data-hveid",Number(Y.traversalOrder_)),0===oj(G,z3,2).length&&t1c(Y)&&(ea.setAttribute("decode-data-ved","1"),ea.setAttribute("data-ved",t1c(Y)+"")));a.setTimestamp(ja);Mo(G,2,z3,ja);N=N.concat(Y.getTag().testCodes_)}A=new VB;b6b(A,G.serialize());Cb(A,20,N,bb);d.push(A)}return d};
Gr.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};Gr.prototype.getVisualElementLiteProto_=function(a){var b=(new z3).setUiType(a.getTag().visualElementID_);null!=a.getTag().getIndex()&&b.setElementIndex(a.getTag().getIndex());g1c(a.getTag(),b);this.enableAttentionLogging_&&n3(a.getTag(),"hover")&&(a=new e2c,Xj(a,1,!0),Wr(b,g2c,a));return b};
var k2c=function(a){var b=new v3;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new s3;Ko(b,3,D1c,a.impressionEventID);c.setVeIndex(a.traversalOrder_);dj(c,2,a.getTag().visualElementID_);Ko(b,2,E1c,c)}return b};Gr.prototype.setTimestamp=function(a){if(a instanceof A3&&(!W(a,t3,15)||!W(a,t3,15).getExtension(c2c))){var b=new E3,c=new D3,d=W(a,t3,15);d||(d=new t3);$1c(c);b.setTimestamp(c);Wr(d,c2c,b);lj(a,t3,15,d)}a instanceof z3&&(b=new E3,c=new D3,$1c(c),b.setTimestamp(c),Wr(a,d2c,b))};var l2c=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(),g=Math.max(0,16-(e-c));c=e+g;return window.setTimeout(function(){d(e+g)},g)};window.cancelAnimationFrame||(window.cancelAnimationFrame=
function(d){clearTimeout(d)})}})();var m2c=function(){},n2c=[[],[]],o2c=0,p2c=new Set,q2c=null,r2c=0,s2c=0,t2c=0,u2c=0,v2c=0,w2c=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.window_=window;this.context_=a;this.state_ctor_=m2c};f=w2c.prototype;f.measure=function(a){this.measure_=a;return this};f.mutate=function(a){this.mutate_=a;return this};f.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};
f.window=function(a){this.window_=a;return this};f.build=function(){return x2c({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,window:this.window_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var x2c=function(a,b){var c=v2c++,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:[]},g=e;return function(){var h=0!==g.phase;h&&(g=Object.assign({phase:0},e));b||(g.context=this);g.args=Array.prototype.slice.call(arguments);d>arguments.length&&g.args.push(new a.stateCtor);h&&(h=o2c,!a.runInCurrentFrameIfPossible||0==u2c||a.measure&&1!=u2c||(h=(h+1)%2),n2c[h].push(g));return y2c(a.window)}},z2c=function(a,b){var c={};
u2c=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(g){c[d]=!0,baa(g)}}}u2c=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(g){baa(g)}}0<r2c&&1<b&&(a=b-r2c,500>a&&(l2c++,100<a&&s2c++,t2c<a&&(t2c=a)));r2c=p2c.size&&1<b?b:0},y2c=function(a){if(!p2c.has(a)){p2c.size||
(q2c=new fZc);p2c.add(a);var b=q2c.resolve;a.requestAnimationFrame(function(c){p2c.clear();var d=n2c[o2c];o2c=(o2c+1)%2;try{z2c(d,c)}finally{u2c=0,d.length=0}b()})}return q2c.promise};var A2c=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},F3=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||Ok(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=B2c(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new q1c(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||"0"!=c.charAt(0)&&"2"!=c.charAt(0))var e=null;else{c=c.substring(1);try{b:{if(ZNb.length){var g=ZNb.pop();g.setOptions();g.decoder_.init(c,void 0,void 0,void 0);var h=g}else h=new YNb(c);try{var m=new s3;nca(o1c)(m.internalArray_,h);var r=m;break b}finally{h.free()}r=void 0}e=W(r,p3,
13)}catch(v){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},B2c=function(a,b){if(Ok(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 g=c[e].trim();if(!Ok(g)){var h=VTb(g);if(2>h.length)return null;g=h[0].trim();h=h[1].trim();if(Ok(g)||Ok(h))return null;switch(g){case a.maybeXidPartLabel_("track"):g=h.split(",");for(h=0;h<g.length;++h){var m=g[h].trim();if(a.expectXidTagComponents_){if(!d.xidTagComponents_)throw Error("Re");
if(!c1c.has(m))throw Error("Se`"+m);d.tracks_.add(m)}else d.tracks_.add(d.maybeXidEventLabel_(m))}break;case a.maybeXidPartLabel_("index"):d.setIndex(Number(h));break;case a.maybeXidPartLabel_("tc"):g=h.split(",");g=g.map(Number);g=g.filter(Number.isInteger);d.testCodes_=g;break;case "cid":d.setComponentID(h);break;case a.maybeXidPartLabel_("mutable"):"true"==h?d.mutable_=!0:"rci"==h&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};
A2c.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?unb(a):a};A2c.prototype.setComponentID=function(a){this.componentID_=a};A2c.prototype.getComponentID=function(){return this.componentID_};var C2c=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},E2c=function(a,b){return D2c(a,b).filter(function(c){return null!=F3(this.visualElementProvider_,c)},a)},F2c=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},g=0;g<b.length;e={$jscomp$loop$prop$parent$406203153$1:e.$jscomp$loop$prop$parent$406203153$1},++g){var h=F3(c,b[g]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.$jscomp$loop$prop$parent$406203153$1=void 0,ynb(b[g],function(m){return function(r){r=
F3(c,r);return null!=r?(m.$jscomp$loop$prop$parent$406203153$1=r,!0):!1}}(e),!1),e.$jscomp$loop$prop$parent$406203153$1?d&&d.has(e.$jscomp$loop$prop$parent$406203153$1)||(d=new Map,a.unshift(d),d.set(e.$jscomp$loop$prop$parent$406203153$1,[]),r1c=1):(d=new Map,a.unshift(d),r1c=0),s1c(h),h.setParent(e.$jscomp$loop$prop$parent$406203153$1),d.set(h,[]),e.$jscomp$loop$prop$parent$406203153$1&&d.get(e.$jscomp$loop$prop$parent$406203153$1).push(h.traversalOrder_))}return a},G2c=function(a,b){var c=a.visualElementProvider_;
return b.map(function(d){return F3(c,d)})},D2c=function(a,b){if(a.traverseShadowDom_){var c=[];a=[];for(c.push.apply(c,b.querySelectorAll("*"));0<c.length;){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},r1c=0;var H2c=function(a,b){kB.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};U(H2c,kB);var I2c=function(a){fp.call(this);this.domHelper_=a||ip();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=gp(this.domHelper_.document_,this.eventType_,lt(this.handleChange_,this))};nt(I2c,fp);f=I2c.prototype;f.getBrowserEventType_=eq(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((rt?"Webkit":qt?"Moz":Gq?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
f.getHiddenPropertyName_=eq(function(){return EEc("hidden",this.domHelper_.document_)});f.getVisibilityStatePropertyName_=eq(function(){return EEc("visibilityState",this.domHelper_.document_)});f.isHidden=function(){return!!this.domHelper_.document_[this.getHiddenPropertyName_()]};f.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new H2c(this.isHidden(),a);this.dispatchEvent(a)};
f.disposeInternal=function(){qB(this.eventKey_);I2c.superClass_.disposeInternal.call(this)};var G3=function(a,b,c,d,e,g,h){var m=this,r=void 0===d?{}:d,v=void 0===r.backgroundJobDeferrer?void 0:r.backgroundJobDeferrer;d=void 0===r.expectXidTagComponents?!1:r.expectXidTagComponents;r=void 0===r.traverseShadowDom?!1:r.traverseShadowDom;Mq.call(this);this.eventBuilder_=a;this.expectXidTagComponents_=d;this.metadataHandler_=b||new W1c;this.visualElementProvider_=new A2c(this.metadataHandler_,this.expectXidTagComponents_);this.transport_=c;this.eventToActionMap_={click:3};this.eventToTracksLabelMap_=
{click:this.maybeXidEventLabel_("generic_click")};this.root_=this.domHelper_=this.invariantData_=this.appInfo_=void 0;this.pageVisibilityMonitor_=new I2c;this.logImpressionsTask_=(new w2c(this)).measure(v?function(){return v().then(m.handleImpressions_.bind(m))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new Qxc(this.logImpressionsTask_,500,this);this.traverser_=h||new C2c(this.visualElementProvider_,r);this.listeners_=[];this.impressionListeners_=
[];this.eventBuilder_ instanceof w1c&&(this.eventHandler_=this.eventBuilder_);this.zwiebackId_=e;this.windowProvider_=g};nt(G3,Mq);G3.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};G3.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var K2c=function(a,b,c,d){var e=J2c(d),g=a.getIndex(c);var h=new k3;h=cj(h,4,b);h=dj(h,1,c.getTag().visualElementID_);e=Cb(h,3,e,bb);null!=g&&e.setElementIndex(g);g=new u1c;g.ve_metadata=a.getMetadata(c,d);g.global_metadata=a.invariantData_;g.client_info=a.appInfo_;c=a6b(new VB,e.serialize());c=Cb(c,20,g.testCodes,bb);a.transport_&&$B(a.transport_,c);if(null!=b)for(b=new v1c(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};G3.prototype.log=function(a){this.transport_&&$B(this.transport_,a)};
var L2c=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};G3.prototype.getIndex=function(a){return a.getTag().getIndex()};var J2c=function(a){return a.map(function(b){return b.getTag().visualElementID_})};G3.prototype.getMetadata=function(a,b){var c=new z3;g1c(a.getTag(),c);for(a=0;a<b.length;++a)g1c(b[a].getTag(),c);return c};
var M2c=function(a,b,c){var d,e=a.visualElementProvider_,g=a.eventToTracksLabelMap_[b];ynb(c,function(h){if(!zB(h))return!1;h=F3(e,h);var m;if(m=null!=h)if(m=h.getTag(),this.expectXidTagComponents_){if(!m.xidTagComponents_)throw Error("Re");if(!c1c.has(g))throw Error("Se`"+g);m=m.tracks_.has(g)}else m=n3(m,g);return m?(d=h,!0):!1}.bind(a),!0);return d};
G3.prototype.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;ynb(a,function(d){if(!zB(d))return!1;d=F3(c,d);null!=d&&b.push(d);return!1},!1);return b};
G3.prototype.handleImpressions_=function(){if(!this.pageVisibilityMonitor_.isHidden()&&this.root_){var a=!!(window.performance&&window.performance.mark&&window.performance.measure&&window.performance.clearMeasures&&window.performance.clearMarks);a&&(window.performance.clearMeasures("ZVwBtb"),window.performance.clearMarks("KtiTlc"),window.performance.mark("KtiTlc"));var b=E2c(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):
this.domHelper_.getViewportSize();c=new kS(0,0,c.width,c.height);var d=F2c(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]),uk(d[e],28,this.zwiebackId_),this.transport_&&$B(this.transport_,d[e])}b=G2c(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_&&uk(b[c],28,this.zwiebackId_),this.transport_&&
$B(this.transport_,b[c]);L2c(this)}else{c=[];d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new kS(0,0,d.width,d.height);for(e=0;e<b.length;e++){var g=b[e];this.isVisible_(g,d)&&(g=F3(this.visualElementProvider_,g))&&n3(g.getTag(),"impression")&&c.push(g)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),K2c(this,void 0,d,e),L2c(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb",
"KtiTlc")}};G3.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=FEc(b,new kS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};G3.prototype.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?snb(a):a};var Hr=function(a,b,c,d,e,g,h,m,r,v,y,A){e=void 0===e?!1:e;r=void 0===r?!1:r;b=m?m:new EBc(b,c,d,void 0,void 0,void 0,g);G3.call(this,a,h||null,b,{expectXidTagComponents:e,backgroundJobDeferrer:g,traverseShadowDom:r},v,y,A);this.clearcut_=b;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0};nt(Hr,G3);Hr.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};
Hr.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Hr.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var N2c=function(a){this.tracker=a};var O2c=function(a,b){this.root=a;this.handler=b;this.eventHandler=Nq(this)};
O2c.prototype.observe=function(){var a=this;this.observer||(this.observer=new MutationObserver(function(b){a.onMutation(b)}),this.observer.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,RXc,function(b){var c=a.handler.tracker,d=b.type,e=c.eventToActionMap_[d];if(e&&(d=M2c(c,d,b.target)))if(c.eventHandler_)for(e=c.eventHandler_.interactionEvent(d,new v1c(e)),d=0;d<e.length;++d)c.metadataHandler_.addEventMetadata(e[d]),c.zwiebackId_&&uk(e[d],28,c.zwiebackId_),c.transport_&&
$B(c.transport_,e[d]);else{var g=c.getAncestry_(d.getElement());K2c(c,e,d,g)}b.stopPropagation()}))};O2c.prototype.dispose=function(){var a;null==(a=this.observer)||a.disconnect();this.eventHandler.removeAll()};O2c.prototype.onMutation=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"childList"===b.type){b=k(b.addedNodes);for(var c=b.next();!c.done;c=b.next())c=c.value,c instanceof Element&&(c.querySelectorAll("[jsLog]").length||c.getAttribute("jsLog"))&&this.handler.tracker.logImpressions()}};var Ynb=function(a,b){this.root=a;this.tracker=b;this.observer=new O2c(this.root,new N2c(this.tracker))};
Ynb.prototype.start=function(){this.tracker.setComponentID("peopleweb");var a=this.tracker,b=this.root;a.domHelper_=new sB;a.root_=b||a.domHelper_.document_.body;b=a.domHelper_.document_;"interactive"!=b.readyState&&"complete"!=b.readyState||a.logImpressions();a.listenOnce(b,"load",a.logImpressions,!1);a.listenOnce(b,"DOMContentLoaded",a.logImpressions,!1);a.listen(a.pageVisibilityMonitor_,"visibilitychange",a.logImpressions,!1);a.listen(b,"scroll",a.logImpressions,!0);a=k(SXc);for(b=a.next();!b.done;b=
a.next()){var c=k(b.value);b=c.next().value;c=c.next().value;var d=this.tracker;d.eventToActionMap_[b]=c;d.eventToTracksLabelMap_[b]=d.maybeXidEventLabel_(b)}this.observer.observe()};Ynb.prototype.stop=function(){this.observer.dispose()};var ts=function(a){this.internalArray_=l(a)};U(ts,q);var H3=function(a,b){return Xj(a,1,b)};f=ts.prototype;f.getProvenance=function(){return aj(this,2,0)};f.setProvenance=function(a){return cj(this,2,a)};f.getCode=function(){return aj(this,3,0)};f.setCode=function(a){return cj(this,3,a)};f.toObject=function(){return P2c(this)};var P2c=function(a){if(null!=a)return t(a),{isLateLoaded:n(Ur(a,1)),provenance:n(p(a,2)),code:n(p(a,3))}};var I3=function(a){this.internalArray_=l(a)};U(I3,q);I3.prototype.getSource=function(){return W(this,ts,1)};I3.prototype.setSource=function(a){return lj(this,ts,1,a)};I3.prototype.hasSource=function(){return Pj(this,ts,1)};var J3=function(a,b){return cj(a,2,b)},K3=function(a,b){return cj(a,3,b)};I3.prototype.toObject=function(){return Q2c(this)};var Q2c=function(a){if(null!=a)return t(a),{source:P2c(a.getSource()),statusAtQuery:n(p(a,2)),statusAtResult:n(p(a,3))}};var R2c=function(){this.filter_=null};R2c.prototype.getFilter=function(){return this.filter_};R2c.prototype.setFilter=function(a){this.filter_=a;return this};var S2c=function(a){this.internalArray_=l(a)};U(S2c,q);f=S2c.prototype;f.getEnd=function(){return Vh(this,2,0)};f.setEnd=function(a){return dj(this,2,a)};f.getTotalItems=function(){return Vh(this,3,0)};f.setTotalItems=function(a){return dj(this,3,a)};f.getCode=function(){return aj(this,4,2)};f.setCode=function(a){return cj(this,4,a)};f.getCacheState=function(){return W(this,I3,5)};f.setCacheState=function(a){return lj(this,I3,5,a)};f.hasCacheState=function(){return Pj(this,I3,5)};
f.toObject=function(){if(null!=this){t(this);var a={begin:Vh(this,1,0),end:Vh(this,2,0),totalItems:Vh(this,3,0),code:aj(this,4,2),cacheState:Q2c(this.getCacheState())}}else a=void 0;return a};var T2c=function(a,b){this.results_=a;this.metadata_=b};T2c.prototype.getResults=function(){return this.results_};T2c.prototype.getMetadata=function(){return this.metadata_};var U2c=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};f=U2c.prototype;f.getFilter=function(){return this.filter_};f.setFilter=function(a){this.filter_=a;return this};f.getQueryScope=function(){return this.queryScope_};f.setQueryScope=function(a){this.queryScope_=a;return this};f.getOriginator=function(){return this.originator_};f.setOriginator=function(a){this.originator_=a;return this};
f.clone=function(){var a=(new U2c).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var V2c=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new I3};f=V2c.prototype;f.getIsFirstCallback=function(){return this.isFirstCallback_};f.getIsLastCallback=function(){return this.isLastCallback_};f.getCode=function(){return this.code_};f.getCacheState=function(){return this.cacheState_};f.setIsFirstCallback=function(a){this.isFirstCallback_=a;return this};f.setIsLastCallback=function(a){this.isLastCallback_=a;return this};
f.setCallbackNumber=function(){return this};f.setCode=function(a){this.code_=a;return this};f.setCacheState=function(a){this.cacheState_=a;return this};var W2c=function(a,b){this.results_=a;this.metadata_=b};W2c.prototype.getResults=function(){return this.results_};W2c.prototype.getMetadata=function(){return this.metadata_};var L3=function(a){this.internalArray_=l(a)};U(L3,q);f=L3.prototype;f.getQuery=function(){return V(this,1,"")};f.setQuery=function(a){return uk(this,1,a)};f.clearQuery=function(){Ct(this,1)};f.hasQuery=function(){return Jk(this,1)};f.getIsFirstCallback=function(){return Vj(this,2,!1)};f.setIsFirstCallback=function(a){return Xj(this,2,a)};f.getIsLastCallback=function(){return Vj(this,3,!1)};f.setIsLastCallback=function(a){return Xj(this,3,a)};f.setCallbackNumber=function(a){return dj(this,4,a)};
f.getNextPageToken=function(){return V(this,5,"")};f.getCode=function(){return aj(this,6,2)};f.setCode=function(a){return cj(this,6,a)};f.getCacheState=function(){return W(this,I3,7)};f.setCacheState=function(a){return lj(this,I3,7,a)};f.hasCacheState=function(){return Pj(this,I3,7)};
f.toObject=function(){if(null!=this){t(this);var a={query:V(this,1,""),isFirstCallback:Vj(this,2,!1),isLastCallback:Vj(this,3,!1),callbackNumber:Vh(this,4,-1),nextPageToken:V(this,5,""),code:aj(this,6,2),cacheState:Q2c(this.getCacheState())}}else a=void 0;return a};var M3=function(a,b){this.results_=a;this.metadata_=b};M3.prototype.getResults=function(){return this.results_};M3.prototype.getMetadata=function(){return this.metadata_};var X2c={create:function(a,b,c,d,e){e=void 0===e?new Ar:e;return Anb(a,b,c,d,new EXc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return Anb(a,b,c,d,new EXc,e)},createConfig:function(a){var b;void 0===a?b=new ABc(CBc.apiEnv,new BBc(CBc.userProfileId)):b=a;return new s0c(b)}};var js=function(a){this.internalArray_=l(a)};U(js,q);f=js.prototype;f.getTimestamp=function(){return uj(this,1)};f.setTimestamp=function(a){return cj(this,1,a)};f.hasTimestamp=function(){return $k(this,1)};f.getAffinityVersion=function(){return Vh(this,2)};f.setAffinityVersion=function(a){dj(this,2,a)};f.getAffinityVersionOrUndefined=function(){return Rt(this,2)};f.getTotalItems=function(){return Vh(this,3)};f.setTotalItems=function(a){return dj(this,3,a)};
f.getNextPageToken=function(){return V(this,4)};f.getCode=function(){return aj(this,6,0)};f.setCode=function(a){return cj(this,6,a)};f.toObject=function(){if(null!=this){t(this);var a={timestamp:n(p(this,1)),affinityVersion:n(Ft(this,2)),totalItems:n(Ft(this,3)),nextPageToken:n(X(this,4)),skipIndexing:n(Ur(this,5)),code:n(p(this,6))}}else a=void 0;return a};var Y2c=function(){this.bits_=[]};f=Y2c.prototype;f.and=function(a){for(var b=new Y2c,c=k(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};f.or=function(a){for(var b=new Y2c,c=k(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=k(a);for(d=a.next();!d.done;d=a.next())b.bits_[d.value]=!0;return b};f.get=function(a){return!!this.bits_[a]};f.set=function(a){this.bits_[a]=!0};f.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
f.clear=function(a){this.bits_[a]=!1};Y2c.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 0>b?{done:!0}:{value:b,done:!1}}}};var cob=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),eob=/^[<"']|[>"']$/g,aob=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"),Z2c=/[^a-z0-9]+/gi,dob=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var $2c=function(a,b){this.key=a;this.terms=fob(b)};var N3=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new Y2c:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};N3.prototype.cloneNode=function(a){for(var b=[],c=k(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new N3(b)};
N3.prototype.getMatches=function(a){for(var b=[],c=k(this.prefix_?this.matchIndices_:hob(this.items_.length)),d=c.next();!d.done&&(d=a.loadOrSkip(this.items_[d.value].key),null==d||(b.push(d),!a.isDone()));d=c.next());return b};
N3.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 g=c.charAt(e),h=d;if(!h.isExpanded_){for(var m=k(h.prefix_?h.matchIndices_:hob(h.items_.length)),r=m.next();!r.done;r=m.next()){var v=h;r=r.value;for(var y=v.prefix_+"\ufdc7",A=k(v.items_[r].terms),G=A.next();!G.done;G=A.next())G=G.value,G.length<=v.prefix_.length||G<v.prefix_||G>y||(G=G.charAt(v.prefix_.length),v.childNodes_[G]||(v.childNodes_[G]=new N3(v.items_,v.prefix_+G)),v.childNodes_[G].matchIndices_.set(r))}h.isExpanded_=
!0}d=d.childNodes_[g]||O3;if(d===O3)break}return d}).reduce(function(c,d){return c.and(d)}):this};var a3c=function(a){a.isExpanded_=!1;for(var b=k(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&a3c(c)};N3.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new N3(this.items_,"\u2026",a)};N3.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new N3(this.items_,"\u2026",a)};var O3=new N3([]);
O3.isExpanded_=!0;var b3c=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};b3c.prototype.getExpiry=function(){return this.expiry_};b3c.prototype.getValue=function(){return this.value_};b3c.prototype.isExpired=function(){return this.expiry_<Date.now()};b3c.prototype.isStale=function(){return this.stale_<Date.now()};var c3c=function(a){this.shouldEvictItem_=a;this.items_=new Map};f=c3c.prototype;f.size=function(){return this.items_.size};f.clear=function(){this.items_.clear()};f.has=function(a){return this.items_.has(a)};f.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
f.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=k(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};f.delete=function(a){return this.items_.delete(a)};f.compact=function(){for(var a=0,b=k(this.items_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var d3c=function(){var a=new c3c(function(){return 1E3<a.size()});return a};var e3c=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new c3c(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};f=e3c.prototype;f.get=function(a){var b=this.delegate_.get(a);if(b)if(b.isExpired())this.delegate_.delete(a);else return b.getValue()};f.set=function(a,b){b=this.itemFactory_(b);this.delegate_.set(a,b);return this};f.has=function(a){return!!this.get(a)};f.size=function(){return this.delegate_.size()};f.clear=function(){this.delegate_.clear()};
f.delete=function(a){return this.delegate_.delete(a)};f.compact=function(){return this.delegate_.compact()};var P3=function(a,b){return new e3c(a,function(c){var d=Date.now()+b;return new b3c(d,c,d)})};var Q3=function(a){this.internalArray_=l(a)};U(Q3,q);f=Q3.prototype;f.getCacheSize=function(){return Vh(this,3,500)};f.setCacheSize=function(a){dj(this,3,a)};f.hasCacheSize=function(){return Rk(this,3)};f.getCacheStaleSec=function(){return vj(this,4,86400)};f.getCacheExpiredSec=function(){return vj(this,5,1209600)};f.getRpcTimeoutSec=function(){return vj(this,12,60)};f.getSuggestFormat=function(){return aj(this,15,1)};f.getSearchFormat=function(){return aj(this,16,1)};Q3.repeatedFields_=[24,25];
Q3.prototype.toObject=function(){return f3c(this)};
var f3c=function(a){if(null!=a)return t(a),{suggestMaxResults:Vh(a,1,10),searchMaxResults:Vh(a,2,10),cacheSize:Vh(a,3,500),cacheStaleSec:vj(a,4,86400),cacheExpiredSec:vj(a,5,1209600),lruCacheCapacity:Vh(a,6,500),lruCacheExpiredSec:Vh(a,7,43200),autocompleteIndexCapacity:Vh(a,8,250),autocompleteIndexExpiredSec:vj(a,9,3600),notFoundCapacity:Vh(a,10,500),notFoundExpiredSec:vj(a,11,600),rpcTimeoutSec:vj(a,12,60),serverWarmupThrottleSec:vj(a,13,60),cacheFlushThrottleSec:vj(a,14,300),suggestFormat:aj(a,
15,1),searchFormat:aj(a,16,1),lookupFormat:aj(a,17,1),listFormat:aj(a,18,1),coalescedSortOrder:aj(a,19,1),preferSource:aj(a,20,1),enableEmailPlaceholders:Vj(a,21,!1),allowEmptyTargets:Vj(a,22,!1),singleIant:Vj(a,23,!1),iantApplicationList:n(fl(a,24)),idTypesList:n(fl(a,25)),smartAddressIndexCapacity:Vh(a,26,10),smartAddressIndexExpiredSec:vj(a,27,600),supportSmtpAddresses:Vj(a,28,!1),contextualSuggestMaxAdditionResults:Vh(a,29,3),enableBoosting:Vj(a,30,!1),boostIndexCapacity:Vh(a,31,5),boostIndexExpiredSec:vj(a,
32,3600),enableInterleavedGroups:Vj(a,33,!1),enableSlotReservations:Vj(a,34,!1)}};var job=new Set([10,11]);var g3c=function(a){this.interleaveGroups_=Vj(a,33,!1)},h3c=function(a,b,c){return b.filter(function(d){return 8!==d.provenance}).sort(function(d,e){a:{var g=a.interleaveGroups_;switch(c){case 2:d=kob(d,e,g,!0);break a;default:d=lob(d,e,g)}}return d}).map(function(d){return String(d.id)})};var i3c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new g3c(e);this.indexes_=P3(Vh(e,8,250),1E3*vj(e,9,3600));this.maxResults_=Vh(e,2,10)};f=i3c.prototype;f.getCacheType=function(){return 3};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d;return ne(function(e){switch(e.nextAddress){case 1:c=H3(new ts,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(H3(c,!1));oe(e,2);return e.yield(b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;ht(e,3);break;case 2:return re(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new js),e.return(c)}catch(g){return e.return(c.setCode(13))}}})};
f.canSkipFetch_=function(a){return a.isSuggestQuery()?!0:3===a.queryScope()?!1:this.indexes_.has(a.getPrefix())?!0:!1};f.index=function(a,b){for(var c=h3c(this.ranker_,b,1),d=k(b),e=d.next();!e.done;e=d.next())this.targetFactory_.processItem(e.value);d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=j3c(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)};f.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};var k3c=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};k3c.prototype.getStageType=function(){return 2};k3c.prototype.index_=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
k3c.prototype.lookup=function(a){var b=this,c,d,e,g,h,m,r,v,y;return ne(function(A){switch(A.nextAddress){case 1:return c=new Map,d=H3(new ts,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),g=l3c(a),oe(A,2),A.yield(b.adapter_.lookup(g),4);case 4:h=A.yieldResult;ht(A,3);break;case 2:return re(A),d.setCode(13),a.notify(c,[],d),A.return();case 3:b.index_(h,e);m=k(g);for(r=m.next();!r.done;r=m.next())v=r.value,(y=b.indexer_.load(v,a.getFormat(),a.getOptions().useOriginalDisplayValue_))&&c.set(v,
y);a.notify(c,[],d);se(A)}})};var m3c=function(a,b){this.metrics_=a;this.state_=new MR(b);this.source=b;this.label_="total"};m3c.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};m3c.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var n3c=function(a,b){this.metrics_=a;this.state_=new MR(b);this.source=b};n3c.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var o3c=function(a,b){this.metrics_=a;this.state_=new MR(b);this.source=b};o3c.prototype.report=function(){this.metrics_.error(this.state_)};var Zr=function(a){this.internalArray_=l(a)};U(Zr,q);Zr.prototype.hasNoChanges=function(){return Qk(this,12)};Zr.prototype.toObject=function(){return p3c(this)};
var p3c=function(a){if(null!=a)return t(a),{phoneItemCount:n(Ft(a,1)),emailItemCount:n(Ft(a,2)),gaiaItemCount:n(Ft(a,3)),notFoundPhoneItemCount:n(Ft(a,4)),notFoundEmailItemCount:n(Ft(a,5)),notFoundGaiaItemCount:n(Ft(a,6)),outOfDateSelfItemCount:n(Ft(a,7)),bypassCaches:n(Ur(a,8)),personObjectChanged:n(Ur(a,9)),nameChanged:n(Ur(a,10)),profilePictureChanged:n(Ur(a,11)),noChanges:n(Ur(a,12))}};var Yr=function(a){this.internalArray_=l(a)};U(Yr,q);Yr.prototype.getEventType=function(){return aj(this,1,0)};Yr.prototype.setEventType=function(a){return cj(this,1,a)};var $r=function(a,b){return cj(a,2,b)},Oob=function(a,b){return cj(a,3,b)};f=Yr.prototype;f.getErrorType=function(){return aj(this,6,0)};f.setErrorType=function(a){return cj(this,6,a)};f.getIdType=function(){return aj(this,8,0)};f.setIdType=function(a){cj(this,8,a)};f.getResultIndex=function(){return Vh(this,9,0)};
f.setResultIndex=function(a){dj(this,9,a)};f.getToken=function(){return V(this,10,"")};f.setToken=function(a){return uk(this,10,a)};f.getCacheState=function(){return W(this,I3,11)};f.setCacheState=function(a){return lj(this,I3,11,a)};f.hasCacheState=function(){return Pj(this,I3,11)};f.getQueryLength=function(){return Vh(this,14)};f.setQueryLength=function(a){return dj(this,14,a)};f.hasQueryLength=function(){return Rk(this,14)};f.getItemCount=function(){return Vh(this,15)};
f.setItemCount=function(a){return dj(this,15,a)};f.hasItemCount=function(){return Rk(this,15)};f.getLookupInfo=function(){return W(this,Zr,16)};f.setLookupInfo=function(a){return lj(this,Zr,16,a)};f.hasLookupInfo=function(){return Pj(this,Zr,16)};f.getQueryScope=function(){return aj(this,17,0)};f.setQueryScope=function(a){return cj(this,17,a)};f.hasQueryScope=function(){return tj(this,17)};
f.toObject=function(){if(null!=this){t(this);var a={eventType:aj(this,1,0),apiLabel:aj(this,2,0),rpcLabel:aj(this,3,0),countType:aj(this,4,0),latencyType:aj(this,5,0),errorType:aj(this,6,0),errorCause:aj(this,7,0),idType:aj(this,8,0),resultIndex:Vh(this,9,0),token:V(this,10,""),cacheState:Q2c(this.getCacheState()),contentLength:Vh(this,12,0),errorHint:aj(this,13,0),queryLength:n(Ft(this,14)),itemCount:n(Ft(this,15)),lookupInfo:p3c(this.getLookupInfo()),queryScope:n(p(this,17))}}else a=void 0;return a};var q3c=function(a,b){this.delegate_=a;this.trackers_=b};q3c.prototype.search=function(a){var b=this,c,d;return ne(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),oe(e,2,3),e.yield(b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:pe(e);c.stop();qe(e,0);break;case 2:throw d=re(e),b.trackers_.error(36,11).report(),d;}})};
q3c.prototype.lookup=function(a){var b=this,c,d;return ne(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),oe(e,2,3),e.yield(b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:pe(e);c.stop();qe(e,0);break;case 2:throw d=re(e),b.trackers_.error(37,11).report(),d;}})};var r3c=function(a,b){this.delegate_=a;this.trackers_=b};r3c.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
r3c.prototype.warmUpCache=function(){var a=this,b,c;return ne(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),oe(d,2,3),d.yield(a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:pe(d);b.stop();qe(d,0);break;case 2:throw c=re(d),a.trackers_.error(35,11).report(),c;}})};r3c.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var s3c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new g3c(e);this.index_=O3};f=s3c.prototype;f.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};f.flush=function(){this.index_=O3};
f.fetch=function(a){var b=this,c,d;return ne(function(e){switch(e.nextAddress){case 1:c=H3(new ts,!0).setProvenance(7).setCode(0);if(b.index_!=O3&&!b.adapter_.needsWarmUp())return e.return(H3(c,!1));oe(e,2);return e.yield(b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;ht(e,3);break;case 2:return re(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new js),e.return(c)}catch(g){return e.return(c.setCode(13))}}})};
f.index=function(a,b){a=h3c(this.ranker_,b,1);for(var c=k(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=j3c(this.trieFactory_,a)};f.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())};var t3c=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};t3c.prototype.getErrorType=function(){return this.errorType_};var R3=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};f=R3.prototype;f.getCacheType=function(){return this.delegate_.getCacheType()};f.flush=function(){try{this.delegate_.flush()}catch(a){throw this.trackers_.error(this.errorLabel_,15).report(),a;}};f.fetch=function(a){try{return this.delegate_.fetch(a)}catch(b){throw this.trackers_.error(this.errorLabel_,14).report(),b;}};
f.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()}};f.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()}};var u3c=function(){},v3c=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],g=k(c.getTargetList()),h=g.next();!h.done;h=g.next())h=qob(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&sr(d.id)&&(e=void 0,d.totalMemberCount=null!=(e=c.getTotalMemberCountOrUndefined())?e:void 0,d.memberKeys=c.getMemberList().map(function(m){for(var r=k(m.getTargetList()).next();!r.done;)return m=qob(m,r.value,8),b.push(m),String(m.id)}))}return b},
w3c=function(a){a=a.getResultList();return v3c(a)};var x3c=function(a,b){this.provider_=a;this.itemFactory_=b};x3c.prototype.search=function(a,b){var c=this,d;return ne(function(e){if(1==e.nextAddress)return 1>b?e.return([]):e.yield(c.provider_.search((new hUc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(w3c(d))})};x3c.prototype.lookup=function(a){var b=this,c;return ne(function(d){if(1==d.nextAddress)return a.length?d.yield(b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(w3c(c))})};var y3c=function(a,b){this.provider_=a;this.itemFactory_=b};y3c.prototype.getPosition=function(){return this.provider_.getPosition()};y3c.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};y3c.prototype.warmUpCache=function(){var a=this,b;return ne(function(c){if(1==c.nextAddress)return c.yield(a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(w3c(b))})};var z3c=new t3c(68,69,38);var A3c=function(){};A3c.prototype.processItem=function(){};var B3c=new A3c;var C3c=function(){this.iconUrl_=this.altText_=""},vob=function(a){var b=new C3c;b.altText_=a||"";return b};C3c.prototype.getIconUrl=function(){return this.iconUrl_};C3c.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var D3c=function(a){this.delegate_=a};D3c.prototype.processItem=function(a){a.target=wob(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var E3c=function(){};
E3c.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,g=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var m=b.runtimeConfig_.customDataConfig_;if(m){b=b.getClient();var r=new u3c;var v=void 0===v?B3c:v;v=new D3c(v);for(var y=[],A=k(m.staticDataProviders_.reverse()),G=A.next();!G.done;G=A.next()){var N=G=G.value;N=new r3c(N,c);N=new R3(new s3c(new y3c(N,r),v,g,d,b),c,z3c);switch(G.getPosition()){case 1:y.push(N);break;case 2:h.push(N);break;default:throw Error("Te");
}}y.length&&h.splice.apply(h,[0,0].concat(ad(y)));m=k(m.dynamicDataProviders_);for(y=m.next();!y.done;y=m.next())A=y=y.value,A=new q3c(A,c),A=new i3c(new x3c(A,r),v,g,d,b),A=new R3(A,c,z3c),h.push(A),y=new q3c(y,c),a.push(new k3c(new x3c(y,r),v,e))}};var S3=function(a){this.internalArray_=l(a)};U(S3,q);f=S3.prototype;f.getEnableClearcut=function(){return Vj(this,1,!1)};f.setEnableClearcut=function(a){return Xj(this,1,a)};f.getSocialApplication=function(){return aj(this,2,0)};f.getSocialApplicationOrUndefined=function(){return ps(this,2)};f.setEventSources=function(a){zt(this,5,ns,a)};S3.repeatedFields_=[5,6];S3.prototype.toObject=function(){return F3c(this)};
var F3c=function(a){if(null!=a)return t(a),{enableClearcut:Vj(a,1,!1),socialApplication:aj(a,2,0),affinityLogSource:aj(a,3,41),metricLogSource:aj(a,4,574),eventSourcesList:Ub(oj(a,ns,5),m0),contextualEventSourcesList:Ub(oj(a,qs,6),VTc)}};var T3=function(a){this.internalArray_=l(a)};U(T3,q);f=T3.prototype;f.getApplication=function(){return aj(this,1,0)};f.setApplication=function(a){return cj(this,1,a)};f.getApplicationOrUndefined=function(){return ps(this,1)};f.getIsEnabled=function(){return Vj(this,2,!1)};f.toObject=function(){return G3c(this)};var G3c=function(a){if(null!=a)return t(a),{application:aj(a,1,0),isEnabled:Vj(a,2,!1)}};var U3=function(a){this.internalArray_=l(a)};U(U3,q);U3.prototype.getApiKey=function(){return V(this,1,"")};U3.prototype.setApiKey=function(a){return uk(this,1,a)};U3.prototype.toObject=function(){return H3c(this)};var H3c=function(a){if(null!=a)return t(a),{apiKey:V(a,1,""),apiKeyTest:V(a,2,"")}};var V3=function(a){this.internalArray_=l(a)};U(V3,q);V3.repeatedFields_=[1];V3.prototype.toObject=function(){return I3c(this)};var I3c=function(a){if(null!=a)return t(a),{papiExtensionList:n(fl(a,1))}};var W3=function(a){this.internalArray_=l(a)};U(W3,q);f=W3.prototype;f.getClientId=function(){return V(this,1,"CLIENT_UNSPECIFIED")};f.setClientId=function(a){return uk(this,1,a)};f.getAffinityType=function(){return V(this,4,"AFFINITY_TYPE_UNKNOWN")};f.setAffinityType=function(a){return uk(this,4,a)};f.getContainerType=function(){return Mt(this,7)};W3.repeatedFields_=[7,8];W3.prototype.toObject=function(){return J3c(this)};
var J3c=function(a){if(null!=a)return t(a),{clientId:V(a,1,"CLIENT_UNSPECIFIED"),clientName:V(a,2,"CLIENT_UNSPECIFIED"),clientVersion:V(a,3,""),affinityType:V(a,4,"AFFINITY_TYPE_UNKNOWN"),affinityTypeEnum:aj(a,5,0),mergedPersonModel:aj(a,6,1),containerTypeList:n(fl(a,7)),fieldMaskList:n(Xh(a,8)),listRankedTargetsPapiExtensions:I3c(W(a,V3,9)),listPeopleByKnownIdPapiExtensions:I3c(W(a,V3,10)),listContactPeoplePapiExtensions:I3c(W(a,V3,11)),getPeoplePapiExtensions:I3c(W(a,V3,12)),identityAcl:Vj(a,13,
!1),offlineStoreDelayMillis:Vh(a,14,5E3),enablePrivateNames:Vj(a,15,!1),dasherAdminDisabled:Vj(a,16,!1),enableSmimeCertificate:Vj(a,17,!1)}};var K3c=function(a){this.internalArray_=l(a)};U(K3c,q);f=K3c.prototype;f.getClient=function(){return W(this,Q3,1)};f.setClient=function(a){return lj(this,Q3,1,a)};f.hasClient=function(){return Pj(this,Q3,1)};f.getGapi=function(){return W(this,U3,2)};f.getPeopleApi=function(){return W(this,W3,3)};f.getClearcut=function(){return W(this,S3,4)};f.setClearcut=function(a){lj(this,S3,4,a)};f.hasClearcut=function(){return Pj(this,S3,4)};f.getExperiments=function(){return W(this,T3,5)};
f.setExperiments=function(a){lj(this,T3,5,a)};f.hasExperiments=function(){return Pj(this,T3,5)};f.toObject=function(){if(null!=this){t(this);var a={client:f3c(this.getClient()),gapi:H3c(this.getGapi()),peopleApi:J3c(this.getPeopleApi()),clearcut:F3c(this.getClearcut()),experiments:G3c(this.getExperiments())}}else a=void 0;return a};var L3c=Gca(K3c);var M3c;var X3=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new oUc;a=this.getPeopleApi();fl(a,7).length||Cb(a,7,[2,8,1,7,10,11],$a);Xh(a,8).length||Ri(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=k(Xh(a,8));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":Eb(a,8,ib(c+".metadata.verified"))}};X3.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new Q3);return this.delegate_.getClient()};
X3.prototype.getGapi=function(){if(!Pj(this.delegate_,U3,2)){var a=this.delegate_,b=new U3;lj(a,U3,2,b)}return this.delegate_.getGapi()};X3.prototype.getPeopleApi=function(){if(!Pj(this.delegate_,W3,3)){var a=this.delegate_,b=new W3;lj(a,W3,3,b)}return this.delegate_.getPeopleApi()};X3.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new S3);return this.delegate_.getClearcut()};
var N3c=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new T3);return a.delegate_.getExperiments()};X3.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var O3c=function(a){a=a.getClient();return Vh(a,6,500)?Math.min(Math.round(Vh(a,6,500)/4),500):500};var P3c;var ms=null;var Q3c=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};Q3c.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var Y3=function(a){this.internalArray_=l(a)};U(Y3,q);Y3.prototype.getDescription=function(){return X(this,6)};Y3.prototype.setDescription=function(a){return uk(this,6,a)};Y3.prototype.hasDescription=function(){return Jk(this,6)};Y3.prototype.toObject=function(){return R3c(this)};
var R3c=function(a){if(null!=a)return t(a),{entityType:n(p(a,4)),presence:n(p(a,1)),memberCount:n(p(a,2)),avatarUrl:n(X(a,3)),developerName:n(X(a,5)),description:n(X(a,6)),dndState:n(p(a,7)),organizationInfo:ARb(W(a,yRb,8)),segmentedMembershipCounts:CRb(W(a,Wu,9)),isMembershipVisibleToCaller:n(Ur(a,10))}};var S3c=function(a){this.internalArray_=l(a)};U(S3c,q);S3c.prototype.toObject=function(){return T3c(this)};var T3c=function(a){if(null!=a)return t(a),{actorId:n(X(a,1)),subtitle:n(X(a,2))}};var Tr=function(a){this.internalArray_=l(a,5)};U(Tr,q);f=Tr.prototype;f.getDynamiteExtendedData=function(){return W(this,Y3,1)};f.getIsPlaceholder=function(){return Vj(this,2)};f.setIsPlaceholder=function(a){Xj(this,2,a)};f.getPaisaExtendedData=function(){return W(this,S3c,3)};f.getContactId=function(){return uj(this,4)};f.setContactId=function(a){cj(this,4,a)};var U3c={};Tr.prototype.toObject=function(){return V3c(this)};
var V3c=function(a){if(null!=a){t(a);var b={dynamiteExtendedData:R3c(a.getDynamiteExtendedData()),isPlaceholder:n(Ur(a,2)),paisaExtendedData:T3c(a.getPaisaExtendedData()),contactId:n(p(a,4))};Vb(a,b,U3c);return b}};var Job=Tb(417869898,{clientSpecificData:0},Tr,V3c);UTc[417869898]=Job;var W3c=function(a){this.internalArray_=l(a)};U(W3c,q);W3c.prototype.toObject=function(){return X3c(this)};var X3c=function(a){if(null!=a)return t(a),{nationalNumber:n(X(a,1)),internationalNumber:n(X(a,2)),countryCode:n(Ft(a,3)),regionCode:n(X(a,4)),isValid:n(Ur(a,5)),validationResult:n(p(a,6))}};var Y3c=function(a){this.internalArray_=l(a)};U(Y3c,q);Y3c.prototype.toObject=function(){return Z3c(this)};var Z3c=function(a){if(null!=a)return t(a),{e164:n(X(a,1)),i18nData:X3c(W(a,W3c,2))}};var $3c=function(a){this.internalArray_=l(a)};U($3c,q);$3c.prototype.getCode=function(){return V(this,1)};$3c.prototype.setCode=function(a){return uk(this,1,a)};$3c.prototype.toObject=function(){return a4c(this)};var a4c=function(a){if(null!=a)return t(a),{code:n(X(a,1)),countryCode:n(X(a,2))}};var b4c=function(a){this.internalArray_=l(a)};U(b4c,q);f=b4c.prototype;f.getPhoneNumber=function(){return W(this,Y3c,1)};f.getType=function(){return V(this,3)};f.setType=function(a){return uk(this,3,a)};f.hasType=function(){return Jk(this,3)};f.toObject=function(){return c4c(this)};var c4c=function(a){if(null!=a)return t(a),{phoneNumber:Z3c(a.getPhoneNumber()),shortCode:a4c(W(a,$3c,2)),type:n(X(a,3)),formattedType:n(X(a,4))}};var d4c=function(a){this.internalArray_=l(a)};U(d4c,q);d4c.prototype.toObject=function(){return e4c(this)};var e4c=function(a){if(null!=a)return t(a),{structuredPhone:c4c(W(a,b4c,1))}};var Xr=function(a){this.internalArray_=l(a)};U(Xr,q);Xr.prototype.toObject=function(){return f4c(this)};var f4c=function(a){if(null!=a)return t(a),{grammaticalGender:n(p(a,1)),phoneExtendedData:e4c(W(a,d4c,2))}};var Mob=Tb(417866180,{peopleStackFieldData:0},Xr,f4c);UTc[417866180]=Mob;var g4c=function(a){a=null==a?"":String(a);for(var b=0,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a.codePointAt(c);return b},Hob=function(a){if(!a)return 0;a=Array.from(a).map(g4c);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var xob=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 Z3=function(a){this.internalArray_=l(a)};U(Z3,q);f=Z3.prototype;f.getLoggingId=function(){return So(this,1)};f.setLoggingId=function(a){cj(this,1,Oa(a,!1,!1))};f.getValue=function(){return Qo(this,2)};f.getValue_legacyNullable=function(){return Qo(this,2)};f.setValue=function(a){return cj(this,2,Va(a))};f.hasValue=function(){return null!=Qo(this,2)};f.toObject=function(){return h4c(this)};var h4c=function(a){if(null!=a)return t(a),{loggingId:Xb(a.getLoggingId()),value:n(Qo(a,2))}};var i4c=function(a){this.internalArray_=l(a)};U(i4c,q);f=i4c.prototype;f.getValue=function(){return X(this,1)};f.getValue_legacyNullable=function(){return X(this,1)};f.setValue=function(a){return uk(this,1,a)};f.hasValue=function(){return Jk(this,1)};f.getGivenName=function(){return X(this,2)};f.setGivenName=function(a){return uk(this,2,a)};f.hasGivenName=function(){return Jk(this,2)};f.getFamilyName=function(){return X(this,3)};f.setFamilyName=function(a){return uk(this,3,a)};
f.hasFamilyName=function(){return Jk(this,3)};f.getSourceType=function(){return p(this,4)};f.setSourceType=function(a){return cj(this,4,a)};f.toObject=function(){return j4c(this)};var j4c=function(a){if(null!=a)return t(a),{value:n(X(a,1)),givenName:n(X(a,2)),familyName:n(X(a,3)),sourceType:n(p(a,4))}};var k4c=function(a){this.internalArray_=l(a)};U(k4c,q);f=k4c.prototype;f.getUrl=function(){return X(this,1)};f.setUrl=function(a){return uk(this,1,a)};f.hasUrl=function(){return Jk(this,1)};f.getType=function(){return p(this,2)};f.setType=function(a){return cj(this,2,a)};f.hasType=function(){return tj(this,2)};f.getGlyph=function(){return X(this,3)};f.setGlyph=function(a){return uk(this,3,a)};f.toObject=function(){return l4c(this)};
var l4c=function(a){if(null!=a)return t(a),{url:n(X(a,1)),type:n(p(a,2)),glyph:n(X(a,3))}};var a4=function(a){this.internalArray_=l(a)};U(a4,q);f=a4.prototype;f.getPhoto=function(){return W(this,k4c,1)};f.setPhoto=function(a){lj(this,k4c,1,a)};f.hasPhoto=function(){return Pj(this,k4c,1)};f.getName=function(){return W(this,i4c,2)};f.setName=function(a){return lj(this,i4c,2,a)};f.hasName=function(){return Pj(this,i4c,2)};f.getAffinity=function(){return W(this,Z3,3)};f.hasAffinity=function(){return Pj(this,Z3,3)};f.getPrimary=function(){return Ur(this,4)};f.toObject=function(){return m4c(this)};
var m4c=function(a){if(null!=a)return t(a),{photo:l4c(a.getPhoto()),name:j4c(a.getName()),affinity:h4c(a.getAffinity()),primary:n(Ur(a,4))}};var b4=function(a){this.internalArray_=l(a)};U(b4,q);b4.prototype.getStatus=function(){return p(this,2)};b4.prototype.setStatus=function(a){return cj(this,2,a)};b4.prototype.hasStatus=function(){return tj(this,2)};b4.prototype.toObject=function(){return n4c(this)};var n4c=function(a){if(null!=a)return t(a),{expirationTimestampSeconds:n(p(a,1)),status:n(p(a,2)),configurationName:n(X(a,3))}};var c4=function(a){this.internalArray_=l(a)};U(c4,q);c4.prototype.toObject=function(){return o4c(this)};var o4c=function(a){if(null!=a)return t(a),{smtpServerSupportsTls:n(Ur(a,1)),usesConfusingCharacters:n(Ur(a,2))}};var bs=function(a){this.internalArray_=l(a)};U(bs,q);bs.prototype.getState=function(){return p(this,2)};bs.prototype.toObject=function(){return p4c(this)};var p4c=function(a){if(null!=a)return t(a),{contextType:n(p(a,1)),state:n(p(a,2))}};var d4=function(a){this.internalArray_=l(a)};U(d4,q);d4.prototype.getApplication=function(){return aj(this,1,0)};d4.prototype.setApplication=function(a){return cj(this,1,a)};d4.prototype.getApplicationOrUndefined=function(){return ps(this,1)};d4.repeatedFields_=[2];d4.prototype.toObject=function(){return q4c(this)};var q4c=function(a){if(null!=a)return t(a),{application:aj(a,1,0),stateStatusList:Ub(oj(a,bs,2),p4c)}};var e4=function(a){this.internalArray_=l(a)};U(e4,q);f=e4.prototype;f.getValue=function(){return X(this,1)};f.getValue_legacyNullable=function(){return X(this,1)};f.setValue=function(a){return uk(this,1,a)};f.hasValue=function(){return Jk(this,1)};f.getInternalExternal=function(){return W(this,d4,4)};f.hasInternalExternal=function(){return Pj(this,d4,4)};e4.repeatedFields_=[2];e4.prototype.toObject=function(){return r4c(this)};
var r4c=function(a){if(null!=a)return t(a),{value:n(X(a,1)),certificatesList:Ub(oj(a,b4,2),n4c),securityInfo:o4c(W(a,c4,3)),internalExternal:q4c(a.getInternalExternal())}};var Or=function(a){this.internalArray_=l(a)};U(Or,q);f=Or.prototype;f.getProfileId=function(){return X(this,1)};f.getProfileId_legacyNullable=function(){return X(this,1)};f.setProfileId=function(a){return uk(this,1,a)};f.hasProfileId=function(){return Jk(this,1)};f.getEmail=function(){return Ro(this,2,Rr)};f.getEmail_legacyNullable=function(){return Ro(this,2,Rr)};f.setEmail=function(a){return Io(this,2,Rr,a)};f.hasEmail=function(){return null!=Ro(this,2,Rr)};
f.getPhone=function(){return Ro(this,3,Rr)};f.getPhone_legacyNullable=function(){return Ro(this,3,Rr)};f.setPhone=function(a){return Io(this,3,Rr,a)};f.hasPhone=function(){return null!=Ro(this,3,Rr)};var Rr=[2,3];Or.prototype.toObject=function(){return s4c(this)};var s4c=function(a){if(null!=a)return t(a),{profileId:n(X(a,1)),email:n(Ro(a,2,Rr)),phone:n(Ro(a,3,Rr)),clientData:n(X(a,4))}};var f4=function(a){this.internalArray_=l(a)};U(f4,q);f4.prototype.getDisplayValue=function(){return X(this,1)};f4.prototype.getOriginalValue=function(){return X(this,3)};f4.prototype.toObject=function(){return t4c(this)};var t4c=function(a){if(null!=a)return t(a),{displayValue:n(X(a,1)),canonicalValue:n(X(a,2)),originalValue:n(X(a,3))}};var u4c=function(a){this.internalArray_=l(a)};U(u4c,q);u4c.prototype.toObject=function(){return v4c(this)};var v4c=function(a){if(null!=a)return t(a),{directUserMemberCount:n(p(a,1)),directGroupMemberCount:n(p(a,2))}};var w4c=function(a){this.internalArray_=l(a)};U(w4c,q);f=w4c.prototype;f.getIdCase=function(){return Oi(this,g4)};f.getProfileId=function(){return Ro(this,1,g4)};f.getProfileId_legacyNullable=function(){return Ro(this,1,g4)};f.setProfileId=function(a){return Io(this,1,g4,a)};f.hasProfileId=function(){return null!=Ro(this,1,g4)};f.getContactId=function(){return Ro(this,2,g4)};f.setContactId=function(a){Io(this,2,g4,a)};var g4=[1,2];w4c.prototype.toObject=function(){return x4c(this)};
var x4c=function(a){if(null!=a)return t(a),{profileId:n(Ro(a,1,g4)),contactId:n(Ro(a,2,g4))}};var h4=function(a){this.internalArray_=l(a)};U(h4,q);f=h4.prototype;f.getValueCase=function(){return Oi(this,Pr)};f.getDisplayInfo=function(){return W(this,a4,1)};f.hasDisplayInfo=function(){return Pj(this,a4,1)};f.getEmail=function(){return fk(this,e4,2,Pr)};f.setEmail=function(a){return Ko(this,2,Pr,a)};f.hasEmail=function(){return ck(this,e4,2,Pr)};f.getPhone=function(){return fk(this,f4,3,Pr)};f.setPhone=function(a){return Ko(this,3,Pr,a)};f.hasPhone=function(){return ck(this,f4,3,Pr)};
f.getSourceIdsList=function(){return oj(this,w4c,5)};f.getIsSelf=function(){return Ur(this,6)};f.getTypeLabel=function(){return X(this,10)};h4.repeatedFields_=[5];var Pr=[2,3,4];h4.prototype.toObject=function(){return y4c(this)};
var y4c=function(a){if(null!=a)return t(a),{displayInfo:m4c(a.getDisplayInfo()),email:r4c(a.getEmail()),phone:t4c(a.getPhone()),inAppTarget:s4c(fk(a,Or,4,Pr)),sourceIdsList:Ub(a.getSourceIdsList(),x4c),isSelf:n(Ur(a,6)),isGoogleGroup:n(Ur(a,7)),isPersonal:n(Ur(a,8)),peopleStackFieldExtendedData:f4c(W(a,Xr,9)),typeLabel:n(X(a,10)),isBlocked:n(Ur(a,11)),rosterDetails:v4c(W(a,u4c,12))}};var i4=function(a){this.internalArray_=l(a)};U(i4,q);f=i4.prototype;f.getDisplayInfo=function(){return W(this,a4,1)};f.hasDisplayInfo=function(){return Pj(this,a4,1)};f.getMembersList=function(){return oj(this,h4,2)};f.setMembersList=function(a){rj(this,2,a)};f.getLabelId=function(){return X(this,3)};i4.repeatedFields_=[2];i4.prototype.toObject=function(){return z4c(this)};
var z4c=function(a){if(null!=a)return t(a),{displayInfo:m4c(a.getDisplayInfo()),membersList:Ub(a.getMembersList(),y4c),labelId:n(X(a,3))}};var j4=function(a){this.internalArray_=l(a)};U(j4,q);j4.prototype.getHideType=function(){return p(this,1)};j4.prototype.getHiddenKeysList=function(){return oj(this,R_c,3)};j4.repeatedFields_=[3];j4.prototype.toObject=function(){return A4c(this)};var A4c=function(a){if(null!=a)return t(a),{hideType:n(p(a,1)),hiddenKeysList:Ub(a.getHiddenKeysList(),S_c),familyStatus:n(p(a,2))}};var B4c=function(a){this.internalArray_=l(a)};U(B4c,q);B4c.prototype.getRelation=function(){return p(this,1)};B4c.prototype.setRelation=function(a){cj(this,1,a)};B4c.prototype.toObject=function(){return C4c(this)};var C4c=function(a){if(null!=a)return t(a),{relation:n(p(a,1))}};var k4=function(a){this.internalArray_=l(a)};U(k4,q);k4.prototype.getAffinity=function(){return W(this,Z3,2)};k4.prototype.hasAffinity=function(){return Pj(this,Z3,2)};k4.prototype.getPeopleStackExtendedData=function(){return W(this,j4,4)};k4.prototype.getPeopleStackPersonExtendedData=function(){return W(this,e3,5)};k4.repeatedFields_=[1];k4.prototype.toObject=function(){return D4c(this)};
var D4c=function(a){if(null!=a)return t(a),{affinity:h4c(a.getAffinity()),contactMethodsList:Ub(oj(a,h4,1),y4c),clientSpecificData:V3c(W(a,Tr,3)),peopleStackExtendedData:A4c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:T_c(a.getPeopleStackPersonExtendedData()),groupMemberInfo:C4c(W(a,B4c,6))}};var l4=function(a){this.internalArray_=l(a)};U(l4,q);l4.prototype.getOwnersList=function(){return oj(this,k4,2)};l4.prototype.setOwnersList=function(a){return rj(this,2,a)};l4.repeatedFields_=[2];l4.prototype.toObject=function(){return E4c(this)};var E4c=function(a){if(null!=a)return t(a),{creator:D4c(W(a,k4,1)),ownersList:Ub(a.getOwnersList(),D4c)}};var ds=function(a){this.internalArray_=l(a)};U(ds,q);ds.prototype.getIdCase=function(){return Oi(this,cpb)};var cpb=[1];ds.prototype.toObject=function(){return F4c(this)};var F4c=function(a){if(null!=a)return t(a),{rosterEmail:n(Ro(a,1,cpb))}};var G4c=function(a){this.internalArray_=l(a)};U(G4c,q);G4c.prototype.toObject=function(){return H4c(this)};var H4c=function(a){if(null!=a)return t(a),{endtimeUtc:mu(W(a,Rh,1))}};var m4=function(a){this.internalArray_=l(a)};U(m4,q);f=m4.prototype;f.getDisplayInfo=function(){return W(this,a4,1)};f.hasDisplayInfo=function(){return Pj(this,a4,1)};f.getMembersList=function(){return oj(this,k4,2)};f.setMembersList=function(a){rj(this,2,a)};f.getGroupId=function(){return X(this,4)};f.setGroupId=function(a){uk(this,4,a)};f.hasGroupId=function(){return Jk(this,4)};m4.repeatedFields_=[2,6];m4.prototype.toObject=function(){return I4c(this)};
var I4c=function(a){if(null!=a)return t(a),{displayInfo:m4c(a.getDisplayInfo()),membersList:Ub(a.getMembersList(),D4c),fullGroupSize:n(Ft(a,3)),groupId:n(X(a,4)),groupType:n(X(a,5)),groupAlternateIdList:Ub(oj(a,ds,6),F4c),groupEndtime:H4c(W(a,G4c,7)),groupAdministration:E4c(W(a,l4,8)),createdAtUtc:mu(W(a,Rh,9))}};var n4=function(a){this.internalArray_=l(a)};U(n4,q);n4.prototype.getPerson=function(){return fk(this,k4,1,o4)};n4.prototype.getGroup=function(){return fk(this,m4,2,o4)};n4.prototype.setGroup=function(a){Ko(this,2,o4,a)};var o4=[1,2,3];n4.prototype.toObject=function(){return J4c(this)};var J4c=function(a){if(null!=a)return t(a),{person:D4c(a.getPerson()),group:I4c(a.getGroup()),contactLabel:z4c(fk(a,i4,3,o4))}};var as=function(a){this.internalArray_=l(a)};U(as,q);f=as.prototype;f.getIdCase=function(){return Oi(this,p4)};f.getEmail=function(){return Ro(this,1,p4)};f.getEmail_legacyNullable=function(){return Ro(this,1,p4)};f.setEmail=function(a){return Io(this,1,p4,a)};f.hasEmail=function(){return null!=Ro(this,1,p4)};f.getPhone=function(){return Ro(this,2,p4)};f.getPhone_legacyNullable=function(){return Ro(this,2,p4)};f.setPhone=function(a){return Io(this,2,p4,a)};
f.hasPhone=function(){return null!=Ro(this,2,p4)};f.getProfileId=function(){return Ro(this,3,p4)};f.getProfileId_legacyNullable=function(){return Ro(this,3,p4)};f.setProfileId=function(a){return Io(this,3,p4,a)};f.hasProfileId=function(){return null!=Ro(this,3,p4)};var p4=[1,2,3];as.prototype.toObject=function(){return K4c(this)};var K4c=function(a){if(null!=a)return t(a),{email:n(Ro(a,1,p4)),phone:n(Ro(a,2,p4)),profileId:n(Ro(a,3,p4))}};var L4c=function(a){this.internalArray_=l(a)};U(L4c,q);L4c.prototype.toObject=function(){return M4c(this)};var M4c=function(a){if(null!=a)return t(a),{featureType:aj(a,1,0),weight:vj(a,2,0),exponent:vj(a,3,1)}};var q4=function(a){this.internalArray_=l(a)};U(q4,q);f=q4.prototype;f.getAffinityVersion=function(){return Ft(this,1)};f.setAffinityVersion=function(a){dj(this,1,a)};f.getAffinityVersionOrUndefined=function(){return Rt(this,1)};f.getAffinityType=function(){return X(this,4)};f.setAffinityType=function(a){return uk(this,4,a)};q4.repeatedFields_=[3];q4.prototype.toObject=function(){return N4c(this)};
var N4c=function(a){if(null!=a)return t(a),{affinityVersion:n(Ft(a,1)),affinityThreshold:n(Qo(a,2)),featureList:Ub(oj(a,L4c,3),M4c),affinityType:n(X(a,4))}};var r4=function(a){this.internalArray_=l(a)};U(r4,q);var O4c=Yb(r4);r4.repeatedFields_=[1];r4.prototype.toObject=function(){return P4c(this)};var P4c=function(a){if(null!=a)return t(a),{resultsList:Ub(oj(a,n4,1),J4c),affinityResponseContext:N4c(W(a,q4,2))}};var s4=function(a){this.internalArray_=l(a)};U(s4,q);s4.prototype.getId=function(){return W(this,as,1)};s4.prototype.setId=function(a){return lj(this,as,1,a)};var Q4c=[2,3];s4.prototype.toObject=function(){return R4c(this)};var R4c=function(a){if(null!=a)return t(a),{id:K4c(a.getId()),autocompletion:J4c(fk(a,n4,2,Q4c)),failureType:n(vn(a,3,Q4c))}};var S4c=function(a){this.internalArray_=l(a)};U(S4c,q);var T4c=Yb(S4c);S4c.repeatedFields_=[1];S4c.prototype.toObject=function(){if(null!=this){t(this);var a={matchesList:Ub(oj(this,s4,1),R4c)}}else a=void 0;return a};var U4c=function(a){this.leanResponseProcessorConfig_=a},V4c=function(a,b,c,d){d=void 0===d?!1:d;for(var e=[],g=Lob(b),h=[],m=k(oj(b,h4,1)),r=m.next();!r.done;r=m.next()){r=r.value;var v=Bob(r);if(v.equals(Sr)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var y=Iob(r);if(!y)continue;v=oob(y)}h.push(String(v));var A=y=void 0;v={id:v,containerIds:Cob(r),coalescedKeys:h,isMe:!!r.getIsSelf(),dataSource:Dob(b,r),provenance:c,isPrimary:Gob(null!=(y=r.getDisplayInfo())?y:null),itemAffinity:Fob(b),
fieldAffinity:Eob(null!=(A=r.getDisplayInfo())?A:null),contactMethod:r,person:b};g&&(v.resultExtendedData=g);if(r=Nob(r))v.targetExtendedData=r;e.push(v)}e.length&&e.every(function(G){return!G.isPrimary})&&(e[0].isPrimary=!0);return e},W4c=function(a,b,c){var d=Kr(yob(X(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(r){return V4c(a,r,8,!0)}),g=e.filter(function(r){return r&&r.length}).map(function(r){return String(r[0].id)}),h,m;d=[{id:d,containerIds:[d],memberKeys:g,totalMemberCount:null!=
(h=Rt(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:Eob(null!=(m=b.getDisplayInfo())?m:null),fieldAffinity:-Infinity,group:b}];b=k(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,ad(c.value));return d},X4c=function(a,b){var c=wBc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var m,r;var v={id:Nr(h.getEmail().getValue()),containerIds:Cob(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:Gob(null!=(m=h.getDisplayInfo())?m:
null),itemAffinity:-Infinity,fieldAffinity:Eob(null!=(r=h.getDisplayInfo())?r:null)};if(h=Nob(h))v.targetExtendedData=h}else v=null;return v}).filter(Boolean),e=d.map(function(h){return String(h.id)}),g;return[{id:c,containerIds:[c],memberKeys:e,totalMemberCount:d.length,provenance:b,dataSource:1,isPrimary:!0,itemAffinity:Eob(null!=(g=a.getDisplayInfo())?g:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(ad(d))},Y4c=function(a,b,c){switch(Oi(b,o4)){case 1:return V4c(a,b.getPerson(),c);
case 2:return W4c(a,b.getGroup(),c);case 3:return X4c(fk(b,i4,3,o4),c);default:return[]}},Z4c=function(a,b,c){return oj(b,n4,1).flatMap(function(d){return Y4c(a,d,c)})};var Qob=new Map([[0,1],[1,2],[2,3],[3,4]]);var $4c=function(a){this.internalArray_=l(a)};U($4c,q);f=$4c.prototype;f.getLabel=function(){return p(this,1)};f.setLabel=function(a){return cj(this,1,a)};f.hasLabel=function(){return tj(this,1)};f.getItemCount=function(){return Ft(this,2)};f.setItemCount=function(a){return dj(this,2,a)};f.hasItemCount=function(){return Rk(this,2)};f.getLookupInfo=function(){return W(this,Zr,3)};f.setLookupInfo=function(a){return lj(this,Zr,3,a)};f.hasLookupInfo=function(){return Pj(this,Zr,3)};
f.getQueryLength=function(){return Ft(this,4)};f.setQueryLength=function(a){return dj(this,4,a)};f.hasQueryLength=function(){return Rk(this,4)};f.getQueryScope=function(){return aj(this,5,0)};f.setQueryScope=function(a){return cj(this,5,a)};f.hasQueryScope=function(){return tj(this,5)};f.toObject=function(){return a5c(this)};var a5c=function(a){if(null!=a)return t(a),{label:n(p(a,1)),itemCount:n(Ft(a,2)),lookupInfo:p3c(a.getLookupInfo()),queryLength:n(Ft(a,4)),queryScope:aj(a,5,0)}};var b5c=function(a){this.internalArray_=l(a)};U(b5c,q);b5c.prototype.toObject=function(){return c5c(this)};var c5c=function(a){if(null!=a)return t(a),{cpuPeakUsageFraction:n(Qo(a,1)),cpuAverageUsageFraction:n(Qo(a,2)),memoryPeakUsageBytes:n(p(a,3)),memoryAverageUsageBytes:n(p(a,4))}};var d5c=function(a){this.internalArray_=l(a)};U(d5c,q);f=d5c.prototype;f.getLabel=function(){return p(this,1)};f.setLabel=function(a){return cj(this,1,a)};f.hasLabel=function(){return tj(this,1)};f.getStatus=function(){return p(this,2)};f.setStatus=function(a){return cj(this,2,a)};f.hasStatus=function(){return tj(this,2)};f.setLatencyUsec=function(a){cj(this,3,a)};f.getResultIndex=function(){return Ft(this,4)};f.setResultIndex=function(a){dj(this,4,a)};f.getDataSource=function(){return p(this,7)};
f.setDataSource=function(a){return cj(this,7,a)};f.hasDataSource=function(){return tj(this,7)};f.getItemCount=function(){return Ft(this,8)};f.setItemCount=function(a){return dj(this,8,a)};f.hasItemCount=function(){return Rk(this,8)};f.getLookupInfo=function(){return W(this,Zr,10)};f.setLookupInfo=function(a){return lj(this,Zr,10,a)};f.hasLookupInfo=function(){return Pj(this,Zr,10)};f.setStatusCode=function(a){cj(this,11,a)};f.getQueryLength=function(){return Ft(this,13)};
f.setQueryLength=function(a){return dj(this,13,a)};f.hasQueryLength=function(){return Rk(this,13)};f.getQueryScope=function(){return aj(this,14,0)};f.setQueryScope=function(a){return cj(this,14,a)};f.hasQueryScope=function(){return tj(this,14)};f.toObject=function(){return e5c(this)};
var e5c=function(a){if(null!=a)return t(a),{label:n(p(a,1)),status:n(p(a,2)),latencyUsec:n(p(a,3)),resultIndex:n(Ft(a,4)),cacheStatusAtQuery:n(p(a,5)),cacheStatusAtResult:n(p(a,6)),dataSource:n(p(a,7)),itemCount:n(Ft(a,8)),duplicatesRejectedCount:n(Ft(a,12)),resources:c5c(W(a,b5c,9)),lookupInfo:p3c(a.getLookupInfo()),statusCode:aj(a,11,2),queryLength:n(Ft(a,13)),queryScope:aj(a,14,0)}};var f5c=function(a){this.internalArray_=l(a)};U(f5c,q);f5c.prototype.toObject=function(){return g5c(this)};var g5c=function(a){if(null!=a)return t(a),{topnCacheItemCount:n(Ft(a,1)),iosDeviceCacheItemCount:n(Ft(a,2))}};var h5c=function(a){this.internalArray_=l(a)};U(h5c,q);f=h5c.prototype;f.getDataSource=function(){return p(this,3)};f.setDataSource=function(a){return cj(this,3,a)};f.hasDataSource=function(){return tj(this,3)};f.getType=function(){return p(this,4)};f.setType=function(a){return cj(this,4,a)};f.hasType=function(){return tj(this,4)};f.getValue=function(){return uj(this,2,1)};f.setValue=function(a){return cj(this,2,a)};f.hasValue=function(){return $k(this,2)};f.getLabel=function(){return X(this,1)};
f.setLabel=function(a){return uk(this,1,a)};f.hasLabel=function(){return Jk(this,1)};f.toObject=function(){return i5c(this)};var i5c=function(a){if(null!=a)return t(a),{dataSource:n(p(a,3)),type:n(p(a,4)),value:uj(a,2,1),label:n(X(a,1))}};var j5c=function(a){this.internalArray_=l(a)};U(j5c,q);j5c.prototype.toObject=function(){return k5c(this)};var k5c=function(a){if(null!=a)return t(a),{numberOfContacts:n(p(a,1))}};var l5c=function(a){this.internalArray_=l(a)};U(l5c,q);l5c.prototype.toObject=function(){return m5c(this)};var m5c=function(a){if(null!=a)return t(a),{sqliteStatus:n(Ft(a,1))}};var n5c=function(a){this.internalArray_=l(a)};U(n5c,q);n5c.prototype.getSqliteErrorInfo=function(){return fk(this,l5c,2,o5c)};var o5c=[2];n5c.prototype.toObject=function(){return p5c(this)};var p5c=function(a){if(null!=a)return t(a),{errorLocation:n(p(a,1)),sqliteErrorInfo:m5c(a.getSqliteErrorInfo())}};var q5c=function(a){this.internalArray_=l(a)};U(q5c,q);q5c.prototype.getSqliteErrorInfo=function(){return fk(this,l5c,2,r5c)};var r5c=[2];q5c.prototype.toObject=function(){return s5c(this)};var s5c=function(a){if(null!=a)return t(a),{errorLocation:n(p(a,1)),sqliteErrorInfo:m5c(a.getSqliteErrorInfo())}};var t5c=function(a){this.internalArray_=l(a)};U(t5c,q);t5c.prototype.toObject=function(){return u5c(this)};var u5c=function(a){if(null!=a)return t(a),{errorLocation:n(p(a,1))}};var t4=function(a){this.internalArray_=l(a)};U(t4,q);f=t4.prototype;f.setStatusCode=function(a){cj(this,5,a)};f.getLabel=function(){return X(this,1)};f.setLabel=function(a){return uk(this,1,a)};f.hasLabel=function(){return Jk(this,1)};f.getCause=function(){return X(this,2)};f.getType=function(){return p(this,3)};f.setType=function(a){return cj(this,3,a)};f.hasType=function(){return tj(this,3)};var v5c=[6,7,8];t4.prototype.toObject=function(){return w5c(this)};
var w5c=function(a){if(null!=a)return t(a),{statusCode:aj(a,5,2),iosErrorInfo:s5c(fk(a,q5c,6,v5c)),androidErrorInfo:p5c(fk(a,n5c,7,v5c)),webErrorInfo:u5c(fk(a,t5c,8,v5c)),label:n(X(a,1)),cause:n(X(a,2)),type:n(p(a,3)),causeType:n(p(a,4))}};var u4=function(a){this.internalArray_=l(a)};U(u4,q);f=u4.prototype;f.getType=function(){return p(this,3)};f.setType=function(a){return cj(this,3,a)};f.hasType=function(){return tj(this,3)};f.setLatencyUsec=function(a){cj(this,2,a)};f.getLabel=function(){return X(this,1)};f.setLabel=function(a){return uk(this,1,a)};f.hasLabel=function(){return Jk(this,1)};f.toObject=function(){return x5c(this)};var x5c=function(a){if(null!=a)return t(a),{type:n(p(a,3)),latencyUsec:n(p(a,2)),label:n(X(a,1))}};var v4=function(a){this.internalArray_=l(a)};U(v4,q);v4.prototype.getLabel=function(){return p(this,1)};v4.prototype.setLabel=function(a){return cj(this,1,a)};v4.prototype.hasLabel=function(){return tj(this,1)};v4.prototype.toObject=function(){return y5c(this)};var y5c=function(a){if(null!=a)return t(a),{label:n(p(a,1)),memoryUsedBytes:n(p(a,2)),memoryAverageUsedBytes:n(p(a,3))}};var w4=function(a){this.internalArray_=l(a)};U(w4,q);w4.prototype.getLabel=function(){return p(this,1)};w4.prototype.setLabel=function(a){return cj(this,1,a)};w4.prototype.hasLabel=function(){return tj(this,1)};w4.prototype.toObject=function(){return z5c(this)};var z5c=function(a){if(null!=a)return t(a),{label:n(p(a,1)),requestProtoBytes:n(p(a,2)),requestBytes:n(p(a,3)),networkState:n(p(a,4))}};var A5c=function(a){this.internalArray_=l(a)};U(A5c,q);f=A5c.prototype;f.getLabel=function(){return p(this,1)};f.setLabel=function(a){return cj(this,1,a)};f.hasLabel=function(){return tj(this,1)};f.getStatus=function(){return p(this,2)};f.setStatus=function(a){return cj(this,2,a)};f.hasStatus=function(){return tj(this,2)};f.setLatencyUsec=function(a){cj(this,3,a)};f.getErrorCode=function(){return p(this,4)};f.hasErrorCode=function(){return $k(this,4)};f.setStatusCode=function(a){cj(this,7,a)};
f.setBlockedUsec=function(a){return cj(this,8,a)};f.toObject=function(){return B5c(this)};var B5c=function(a){if(null!=a)return t(a),{label:n(p(a,1)),status:n(p(a,2)),latencyUsec:n(p(a,3)),errorCode:n(p(a,4)),responseProtoBytes:n(p(a,5)),responseBytes:n(p(a,6)),statusCode:aj(a,7,2),blockedUsec:n(p(a,8)),processingUsec:n(p(a,9)),networkState:n(p(a,10))}};var x4=function(a){this.internalArray_=l(a)};U(x4,q);f=x4.prototype;f.getClientInterface=function(){return W(this,FR,1)};f.setClientInterface=function(a){return lj(this,FR,1,a)};f.getEventType=function(){return p(this,3)};f.getEventType_legacyNullable=function(){return p(this,3)};f.setEventType=function(a){return cj(this,3,a)};f.getCacheStatus=function(){return W(this,f5c,12)};f.setCacheStatus=function(a){return lj(this,f5c,12,a)};f.getCount=function(){return W(this,h5c,4)};
f.setCount=function(a){return lj(this,h5c,4,a)};f.getLatency=function(){return W(this,u4,5)};f.setLatency=function(a){return lj(this,u4,5,a)};f.getError=function(){return W(this,t4,6)};f.setError=function(a){lj(this,t4,6,a)};f.hasError=function(){return Pj(this,t4,6)};f.getRpcRequest=function(){return W(this,w4,7)};f.setRpcRequest=function(a){return lj(this,w4,7,a)};f.getRpcResponse=function(){return W(this,A5c,8)};f.setRpcResponse=function(a){return lj(this,A5c,8,a)};
f.getApiCall=function(){return W(this,$4c,9)};f.setApiCall=function(a){return lj(this,$4c,9,a)};f.getApiResult=function(){return W(this,d5c,10)};f.setApiResult=function(a){return lj(this,d5c,10,a)};
f.toObject=function(){if(null!=this){t(this);var a={clientInterface:Qzc(this.getClientInterface()),autocompleteSessions:EAc(W(this,NR,2)),eventType:n(p(this,3)),cacheStatus:g5c(this.getCacheStatus()),deviceInfo:k5c(W(this,j5c,13)),count:i5c(this.getCount()),latency:x5c(this.getLatency()),error:w5c(this.getError()),rpcRequest:z5c(this.getRpcRequest()),rpcResponse:B5c(this.getRpcResponse()),apiCall:a5c(this.getApiCall()),apiResult:e5c(this.getApiResult()),memory:y5c(W(this,v4,11))}}else a=void 0;return a};var C5c=function(a){this.internalArray_=l(a)};U(C5c,q);C5c.prototype.toObject=function(){return D5c(this)};var D5c=function(a){if(null!=a)return t(a),{isDirectClientInteraction:n(Ur(a,1))}};var E5c=function(a){this.internalArray_=l(a)};U(E5c,q);E5c.prototype.toObject=function(){return F5c(this)};var F5c=function(a){if(null!=a)return t(a),{isDeviceDataKnown:n(Ur(a,1)),deviceScore:n(Qo(a,2))}};var G5c=function(a){this.internalArray_=l(a)};U(G5c,q);G5c.prototype.toObject=function(){return H5c(this)};var H5c=function(a){if(null!=a)return t(a),{cloudDeviceDataInfo:F5c(W(a,E5c,1)),clientInteractionInfo:D5c(W(a,C5c,2)),cloudScore:n(Qo(a,3))}};var I5c=function(a){this.internalArray_=l(a)};U(I5c,q);f=I5c.prototype;f.getAffinityType=function(){return p(this,1)};f.setAffinityType=function(a){return cj(this,1,a)};f.getValue=function(){return Qo(this,2)};f.getValue_legacyNullable=function(){return Qo(this,2)};f.setValue=function(a){return cj(this,2,Va(a))};f.hasValue=function(){return null!=Qo(this,2)};f.getLoggingId=function(){return X(this,3)};f.setLoggingId=function(a){uk(this,3,a)};f.getContainerType=function(){return p(this,4)};
f.toObject=function(){return J5c(this)};var J5c=function(a){if(null!=a)return t(a),{affinityType:n(p(a,1)),value:n(Qo(a,2)),loggingId:n(X(a,3)),containerType:n(p(a,4)),containerId:n(X(a,5)),affinityMetadata:H5c(W(a,G5c,7))}};var y4=function(a){this.internalArray_=l(a)};U(y4,q);y4.prototype.setDevice=function(a){return cj(this,1,a)};y4.prototype.toObject=function(){return K5c(this)};var K5c=function(a){if(null!=a)return t(a),{device:n(p(a,1))}};var L5c=function(a){this.internalArray_=l(a)};U(L5c,q);f=L5c.prototype;f.getAffinityType=function(){return p(this,1)};f.setAffinityType=function(a){return cj(this,1,a)};f.getQuery=function(){return X(this,2)};f.setQuery=function(a){return uk(this,2,a)};f.clearQuery=function(){Ct(this,2)};f.hasQuery=function(){return Jk(this,2)};f.getClientInformation=function(){return W(this,y4,3)};f.setClientInformation=function(a){lj(this,y4,3,a)};f.setMaxResults=function(a){return dj(this,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={affinityType:n(p(this,1)),query:n(X(this,2)),clientInformation:K5c(this.getClientInformation()),maxResults:n(Ft(this,4))}}else a=void 0;return a};var M5c=new SC("/peoplestack.PeopleStackAutocompleteService/Autocomplete",L5c,r4,function(a){return a.serialize()},O4c);var N5c=function(a){this.internalArray_=l(a)};U(N5c,q);f=N5c.prototype;f.getAffinityType=function(){return p(this,1)};f.setAffinityType=function(a){return cj(this,1,a)};f.getClientInformation=function(){return W(this,y4,2)};f.setClientInformation=function(a){lj(this,y4,2,a)};f.getName=function(){return X(this,3)};f.setName=function(a){return uk(this,3,a)};f.hasName=function(){return Jk(this,3)};f.getNameOrUndefined=function(){return Tt(this,3)};
f.toObject=function(){if(null!=this){t(this);var a={affinityType:n(p(this,1)),clientInformation:K5c(this.getClientInformation()),name:n(X(this,3)),product:n(p(this,4)),ttl:$u(W(this,Th,5))}}else a=void 0;return a};var z4=function(a){this.internalArray_=l(a)};U(z4,q);z4.prototype.getGroup=function(){return W(this,m4,1)};z4.prototype.setGroup=function(a){lj(this,m4,1,a)};var O5c=Yb(z4);z4.prototype.toObject=function(){if(null!=this){t(this);var a={group:I4c(this.getGroup()),tokenSecret:n(X(this,2))}}else a=void 0;return a};var P5c=new SC("/peoplestack.PeopleStackAutocompleteService/CreateGroup",N5c,z4,function(a){return a.serialize()},O5c);var A4=function(a){this.internalArray_=l(a)};U(A4,q);f=A4.prototype;f.getAffinityType=function(){return p(this,1)};f.setAffinityType=function(a){return cj(this,1,a)};f.getClientInformation=function(){return W(this,y4,2)};f.setClientInformation=function(a){lj(this,y4,2,a)};f.getIdsList=function(){return oj(this,as,3)};f.setIdsList=function(a){rj(this,3,a)};f.setIds=function(a){return zt(this,3,as,a)};A4.repeatedFields_=[3];
A4.prototype.toObject=function(){if(null!=this){t(this);var a={affinityType:n(p(this,1)),clientInformation:K5c(this.getClientInformation()),idsList:Ub(this.getIdsList(),K4c)}}else a=void 0;return a};var Q5c=new SC("/peoplestack.PeopleStackAutocompleteService/Lookup",A4,S4c,function(a){return a.serialize()},T4c);var R5c=function(a){this.internalArray_=l(a)};U(R5c,q);f=R5c.prototype;f.getAffinityType=function(){return p(this,1)};f.setAffinityType=function(a){return cj(this,1,a)};f.getClientInformation=function(){return W(this,y4,2)};f.setClientInformation=function(a){lj(this,y4,2,a)};f.toObject=function(){if(null!=this){t(this);var a={affinityType:n(p(this,1)),clientInformation:K5c(this.getClientInformation())}}else a=void 0;return a};var S5c=function(a){this.internalArray_=l(a)};U(S5c,q);var T5c=Yb(S5c);S5c.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};var U5c=new SC("/peoplestack.PeopleStackAutocompleteService/Warmup",R5c,S5c,function(a){return a.serialize()},T5c);var V5c=function(a){var b={unaryInterceptors:[new iZc]};b=b||{};b.format="jspb";this.client_=new nD(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};V5c.prototype.autocomplete=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},M5c)};V5c.prototype.lookup=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},Q5c)};
V5c.prototype.createGroup=function(a,b){return PC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},P5c)};var B4=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=Pob(e):(a=new Yr,Oob(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=aj(c.getPeopleApi(),5,0);this.searchMaxResults_=Vh(c.getClient(),2,10);this.cacheSize_=c.getClient().getCacheSize()};B4.prototype.getMetric=function(){return new W5c(this.trackers_.metrics_,this.sourceInfo_)};
B4.prototype.send=function(a){var b=new L5c;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new y4).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};B4.prototype.processResponse=function(a){var b=Z4c(this.leanResponseProcessor_,a,this.provenance_),c=new js;Pj(a,q4,2)&&c.setAffinityVersion(W(a,q4,2).getAffinityVersion());return{data:b,metadata:c}};B4.prototype.close=function(){};var X5c=function(a,b,c,d,e,g){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new Yr;Oob(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=g;this.type_=e;this.trackers_=d;this.affinity_=aj(c.getPeopleApi(),5,0)};X5c.prototype.getMetric=function(){return new W5c(this.trackers_.metrics_,this.sourceInfo_)};
X5c.prototype.send=function(a){var b=this,c=new A4;c.setAffinityType(this.affinity_).setClientInformation((new y4).setDevice(1));c.setIdsList(this.keys_.map(function(d){return Wob(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
X5c.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=k(oj(a,s4,1));for(var e=a.next();!e.done;e=a.next())if(e=e.value,ck(e,n4,2,Q4c)){var g=Y4c(b,fk(e,n4,2,Q4c),c);switch(e.getId().getIdCase()){case 1:d.set(e.getId().getEmail_legacyNullable(),g);break;case 2:d.set(e.getId().getPhone_legacyNullable(),g);break;case 3:d.set(e.getId().getProfileId_legacyNullable(),g)}}return{data:d,metadata:new js}};X5c.prototype.close=function(){};var Y5c=function(a){this.internalArray_=l(a)};U(Y5c,q);Y5c.prototype.toObject=function(){return Z5c(this)};var Z5c=function(a){if(null!=a)return t(a),{leanAutocomplete:P4c(W(a,r4,1))}};var $5c=Tb(342338249,{leanOfflineData:0},Y5c,Z5c);kUc[342338249]=$5c;var a6c=function(){};a6c.prototype.write=function(a,b){var c=new Y5c;b=lj(c,r4,1,b);Wr(a,$5c,b)};a6c.prototype.read=function(a){return(a=a.getExtension($5c))?W(a,r4,1):null};var b6c=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=Pob("");this.trackers_=c;this.affinity_=aj(b.getPeopleApi(),5,0)};b6c.prototype.getMetric=function(){return new W5c(this.trackers_.metrics_,this.sourceInfo_)};b6c.prototype.send=function(a){var b=new R5c;b.setAffinityType(this.affinity_).setClientInformation((new y4).setDevice(1));var c=this.grpcClient_;return PC(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},U5c)};
b6c.prototype.processResponse=function(){return{data:[],metadata:new js}};b6c.prototype.close=function(){};var c6c=new L9b;var C4=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};C4.prototype.send=function(a){var b=this;return ne(function(c){return b.runtimeConfig_.isOffline_()?c.return(c6c):c.return(b.delegate_.send(a))})};C4.prototype.getMetric=function(){return this.delegate_.getMetric()};C4.prototype.processResponse=function(a){return a===c6c?this.offlineResponse_:this.delegate_.processResponse(a)};C4.prototype.close=function(a){this.delegate_.close(a)};
var d6c={data:[],metadata:Xj(new js,5,!0).setCode(14)},e6c={data:new Map,metadata:Xj(new js,5,!0).setCode(14)};Xj(new js,5,!0).setCode(14);Xj(new js,5,!0).setCode(14);var f6c=function(a){this.internalArray_=l(a)};U(f6c,q);f=f6c.prototype;f.getTimestamp=function(){return uj(this,1)};f.setTimestamp=function(a){return cj(this,1,a)};f.hasTimestamp=function(){return $k(this,1)};f.getOwner=function(){return V(this,2)};f.setOwner=function(a){return uk(this,2,a)};f.toObject=function(){return g6c(this)};var g6c=function(a){if(null!=a)return t(a),{timestamp:n(p(a,1)),owner:n(X(a,2))}};var h6c=Tb(342656659,{metadata:0},f6c,g6c);kUc[342656659]=h6c;var D4=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};D4.prototype.store_=function(a,b){var c=new jUc;Wr(c,h6c,(new f6c).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var i6c=function(a){var b,c;return ne(function(d){if(1==d.nextAddress)return oe(d,2),d.yield(a.offlineStorage_.fetch(),4);if(2!=d.nextAddress){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(h6c);c=a.offlineMetadata_?yBc(a.offlineMetadata_.getOwner()):Sr;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}re(d);return d.return(null)})};
D4.prototype.send=function(a){var b=this,c,d,e,g,h;return ne(function(m){switch(m.nextAddress){case 1:return oe(m,2),m.yield(b.delegate_.send(a),4);case 4:c=m.yieldResult;d=Date.now();if(c!==c6c){m.jumpTo(5);break}return m.yield(i6c(b),6);case 6:return e=m.yieldResult,m.return(e||c6c);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),m.return(c);case 2:return g=re(m),m.yield(i6c(b),7);case 7:return(h=m.yieldResult)?m.return(h):m.return(Promise.reject(g))}})};
D4.prototype.getMetric=function(){return this.delegate_.getMetric()};D4.prototype.processResponse=function(a){a=this.delegate_.processResponse(a);if(!a||!this.offlineMetadata_||!this.offlineMetadata_.hasTimestamp())return a;a.metadata.setTimestamp(this.offlineMetadata_.getTimestamp());return a};D4.prototype.close=function(a){this.delegate_.close(a)};var j6c=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?V(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new kZc(b);b=IMa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new V5c(b);this.offlineDataTransformer_=
new a6c;a=Vj(a.getClient(),22,!1);this.leanResponseProcessor_=new U4c({allowEmptyTargets:a})};f=j6c.prototype;
f.loadRankedItems=function(){var a=new B4(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new C4(a,this.config_.runtimeConfig_,d6c);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=Nr(e),b=Vh(b.getPeopleApi(),14,5E3),a=new D4(a,d,c,e,b))}return mZc(this.dispatcher_,a)};
f.warmUpServer=function(){var a=new b6c(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new C4(a,this.config_.runtimeConfig_,d6c);return mZc(this.dispatcher_,a)};f.loadAutocompleteItems=function(a){a=a.getPrefix();a=new B4(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a);a=new C4(a,this.config_.runtimeConfig_,d6c);return mZc(this.dispatcher_,a)};
f.loadLookupItems=function(a,b){a=new X5c(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new C4(a,this.config_.runtimeConfig_,e6c);return mZc(this.dispatcher_,a)};f.loadContactItems=function(){};var Xob=new Map([[1,1],[2,2]]);var $ob=new Map([[3,3],[1,2],[2,1]]),k6c=new Map([[2,1],[4,2],[3,3],[1,4]]),l6c=function(a){this.delegate_=a};
l6c.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=b.getValue()||"";c=Lr(a.id).setValue(c);if(oj(b,b4,2).length||Pj(b,c4,3)){var d=1;if(oj(b,b4,2).length){var e=oj(b,b4,2)[0];d=k6c.get(e.getStatus())||d}Pj(b,c4,3)&&W(b,c4,3);4===(void 0===d?1:d)&&Date.now()}b.hasInternalExternal()&&(b=Yob(b.getInternalExternal()),c.orgState_=b);Ur(a.contactMethod,7)&&(c.resultType_=2);b=c;break;case 3:b=a.contactMethod.getPhone();
b=b.getOriginalValue()||b.getDisplayValue()||X(b,2)||"";b=Lr(a.id).setValue(b);break;case 4:b=fk(a.contactMethod,Or,4,Pr);b=bpb(a,b);break;default:b=Lr(a.id||Sr)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);sob(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(Zob(Eca(So(a.person.getAffinity(),1))||""));a.contactMethod.hasDisplayInfo()&&apb(b,a.contactMethod.getDisplayInfo());Jk(a.contactMethod,10)&&uob(b,[vob(a.contactMethod.getTypeLabel())]);
a.targetExtendedData&&b.setExtendedData(a.targetExtendedData);a.target=b}else a.group?dpb(a,a.group.getDisplayInfo()):a.contactLabel&&dpb(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 W5c=function(a,b){this.metrics_=a;this.state_=new MR(b)};f=W5c.prototype;f.start=function(a){this.metrics_.start(this.state_,a)};f.stop=function(a){this.metrics_.stop(this.state_,a)};f.count=function(){this.metrics_.count(this.state_)};f.latency=function(){this.metrics_.latency(this.state_)};f.error=function(){this.metrics_.error(this.state_)};
f.status=function(a,b,c){b=void 0===b?0:b;c=void 0===c?0:c;if(b){var d=this.state_.source();cj(d,13,b)}c&&(b=this.state_.source(),dj(b,12,c));this.metrics_.status(this.state_,a)};f.logError=function(a,b){this.metrics_.logError(a,b)};var m6c=function(a){this.metrics_=a};m6c.prototype.error=function(a,b){var c=this.metrics_,d=new Yr;a=d.setEventType(3).setErrorType(a);cj(a,7,b);return new o3c(c,d)};m6c.prototype.latency=function(a){var b=this.metrics_,c=new Yr,d=c.setEventType(2);cj(d,5,a);return new qZc(b,c)};m6c.prototype.count=function(a){var b=this.metrics_,c=new Yr,d=c.setEventType(1);cj(d,4,a);return new n3c(b,c)};m6c.prototype.api=function(a){return new m3c(this.metrics_,a)};var n6c=function(a,b){this.ranker_=new g3c(a.getClient());this.loader_=new j6c(a,b);b=B3c;b=void 0===b?B3c:b;this.targetFactory_=new Q3c(a,new l6c(b))};var o6c=function(a){this.internalArray_=l(a)};U(o6c,q);o6c.prototype.toObject=function(){return p6c(this)};var p6c=function(a){if(null!=a)return t(a),{availabilities:l_c(W(a,k_c,1))}};var q6c=function(a){this.internalArray_=l(a)};U(q6c,q);q6c.prototype.toObject=function(){return r6c(this)};var r6c=function(a){if(null!=a)return t(a),{nicknameOption:n(p(a,1))}};var s6c=function(a){this.internalArray_=l(a)};U(s6c,q);s6c.prototype.toObject=function(){return t6c(this)};var t6c=function(a){if(null!=a)return t(a),{redDiff:n(Qo(a,1)),greenDiff:n(Qo(a,2)),blueDiff:n(Qo(a,3))}};var u6c=function(a){this.internalArray_=l(a)};U(u6c,q);u6c.prototype.toObject=function(){return v6c(this)};var v6c=function(a){if(null!=a)return t(a),{diffData:t6c(W(a,s6c,1)),lowResUrl:n(X(a,2)),highResUrl:n(X(a,3)),monogramUrl:n(X(a,7)),privateLowResAcl:n(Ur(a,4)),lowResData:Xb(So(a,5)),inconsistentPhoto:n(Ur(a,6))}};var w6c=function(a){this.internalArray_=l(a)};U(w6c,q);w6c.repeatedFields_=[1];w6c.prototype.toObject=function(){return x6c(this)};var x6c=function(a){if(null!=a)return t(a),{lockedFieldList:n(Xh(a,1))}};var y6c=function(a){this.internalArray_=l(a)};U(y6c,q);y6c.prototype.toObject=function(){return z6c(this)};var z6c=function(a){if(null!=a)return t(a),{quotaEnforcementStatus:n(p(a,5)),nameLastModified:n(p(a,1)),nameChangesRemaining:n(Ft(a,2)),computedNameChangesRemaining:n(Ft(a,6)),nicknameLastModified:n(p(a,3)),nicknameChangesRemaining:n(Ft(a,4)),computedNicknameChangesRemaining:n(Ft(a,7))}};var A6c=function(a){this.internalArray_=l(a)};U(A6c,q);A6c.prototype.toObject=function(){return B6c(this)};var B6c=function(a){if(null!=a)return t(a),{profileNameModificationHistory:z6c(W(a,y6c,1)),nameDisplayOptions:r6c(W(a,q6c,2)),profileEditability:x6c(W(a,w6c,3)),photosCompareData:v6c(W(a,u6c,4))}};var C6c=function(a){this.internalArray_=l(a)};U(C6c,q);C6c.prototype.getSourceType=function(){return p(this,1)};C6c.prototype.setSourceType=function(a){return cj(this,1,a)};C6c.prototype.toObject=function(){return D6c(this)};var D6c=function(a){if(null!=a)return t(a),{sourceType:n(p(a,1))}};var E6c=function(a){this.internalArray_=l(a)};U(E6c,q);E6c.prototype.toObject=function(){return F6c(this)};var F6c=function(a){if(null!=a)return t(a),{callerIdSource:D6c(W(a,C6c,1))}};var E4=function(a){this.internalArray_=l(a)};U(E4,q);E4.prototype.toObject=function(){return G6c(this)};var G6c=function(a){if(null!=a)return t(a),{failureType:n(p(a,1))}};var H6c=function(a){this.internalArray_=l(a)};U(H6c,q);H6c.prototype.getFailure=function(){return W(this,E4,3)};H6c.prototype.toObject=function(){return I6c(this)};var I6c=function(a){if(null!=a)return t(a),{maskedNumber:n(X(a,1)),internationalNumber:n(X(a,2)),failure:G6c(a.getFailure())}};var J6c=function(a){this.internalArray_=l(a)};U(J6c,q);J6c.prototype.toObject=function(){return K6c(this)};var K6c=function(a){if(null!=a)return t(a),{contentRestriction:n(p(a,1)),isEnterpriseUser:n(Ur(a,2))}};var L6c=function(a){this.internalArray_=l(a)};U(L6c,q);L6c.prototype.toObject=function(){return M6c(this)};var M6c=function(a){if(null!=a)return t(a),{isPinned:n(Ur(a,1)),isFavorite:n(Ur(a,2)),isDismissed:n(Ur(a,3)),hadPastHangoutState:n(p(a,5)),invitationStatus:n(p(a,6)),userType:n(p(a,7)),isBot:n(Ur(a,8))}};var N6c=function(a){this.internalArray_=l(a)};U(N6c,q);N6c.prototype.getFailure=function(){return W(this,E4,6)};N6c.repeatedFields_=[4];N6c.prototype.toObject=function(){return O6c(this)};var O6c=function(a){if(null!=a)return t(a),{profilePhotoUrl:n(X(a,1)),userCaption:n(X(a,2)),numContributions:n(p(a,3)),topicExpertiseList:n(Xh(a,4)),tagline:n(X(a,5)),failure:G6c(a.getFailure()),followeeCount:n(p(a,7)),followerCount:n(Ft(a,8))}};var P6c=function(a){this.internalArray_=l(a)};U(P6c,q);P6c.prototype.toObject=function(){return Q6c(this)};var Q6c=function(a){if(null!=a)return t(a),{achievementName:n(X(a,1)),achievementUnlockedIconUrl:n(X(a,2)),rarityPercentage:n(Qo(a,3))}};var R6c=function(a){this.internalArray_=l(a)};U(R6c,q);R6c.prototype.getFailure=function(){return W(this,E4,8)};R6c.repeatedFields_=[5];R6c.prototype.toObject=function(){return S6c(this)};var S6c=function(a){if(null!=a)return t(a),{gamerTag:n(X(a,1)),avatarImageUrl:n(X(a,2)),totalUnlockedAchievements:n(p(a,3)),playerLevel:n(Ft(a,4)),achievementsList:Ub(oj(a,P6c,5),Q6c),profileVisibility:n(p(a,6)),totalFriendsCount:n(p(a,7)),failure:G6c(a.getFailure())}};var T6c=function(a){this.internalArray_=l(a)};U(T6c,q);T6c.prototype.toObject=function(){return U6c(this)};var U6c=function(a){if(null!=a)return t(a),{isIncomplete:n(Ur(a,1))}};var V6c=function(a){this.internalArray_=l(a)};U(V6c,q);f=V6c.prototype;f.getDescription=function(){return X(this,3)};f.setDescription=function(a){return uk(this,3,a)};f.hasDescription=function(){return Jk(this,3)};f.getTitle=function(){return X(this,9)};f.setTitle=function(a){return uk(this,9,a)};f.toObject=function(){return W6c(this)};
var W6c=function(a){if(null!=a)return t(a),{channelId:n(X(a,1)),subscriberCount:n(p(a,2)),description:n(X(a,3)),videoCount:n(p(a,4)),playlistCount:n(p(a,5)),commentCount:n(p(a,6)),profileUrl:n(X(a,7)),usesYoutubeNames:n(Ur(a,8)),title:n(X(a,9)),profilePictureUrl:n(X(a,10))}};var X6c=function(a){this.internalArray_=l(a)};U(X6c,q);X6c.prototype.getFailure=function(){return W(this,E4,5)};X6c.repeatedFields_=[4];X6c.prototype.toObject=function(){return Y6c(this)};var Y6c=function(a){if(null!=a)return t(a),{channelDataList:Ub(oj(a,V6c,4),W6c),failure:G6c(a.getFailure())}};var F4=function(a){this.internalArray_=l(a)};U(F4,q);f=F4.prototype;f.getDynamiteExtendedData=function(){return W(this,Y3,5)};f.getIsPlaceholder=function(){return Ur(this,6)};f.setIsPlaceholder=function(a){Xj(this,6,a)};f.getPaisaExtendedData=function(){return W(this,S3c,11)};f.getPeopleStackExtendedData=function(){return W(this,j4,16)};f.getPeopleStackPersonExtendedData=function(){return W(this,e3,18)};F4.repeatedFields_=[1];F4.prototype.toObject=function(){return Z6c(this)};
var Z6c=function(a){if(null!=a)return t(a),{domainNameList:n(Xh(a,1)),hangoutsExtendedData:M6c(W(a,L6c,2)),aboutMeExtendedData:B6c(W(a,A6c,3)),tlsIsPlaceholder:n(Ur(a,4)),dynamiteExtendedData:R3c(a.getDynamiteExtendedData()),isPlaceholder:n(Ur(a,6)),contactsExtendedData:U6c(W(a,T6c,7)),gplusExtendedData:K6c(W(a,J6c,8)),callerIdExtendedData:F6c(W(a,E6c,9)),appsWaldoExtendedData:p6c(W(a,o6c,10)),paisaExtendedData:T3c(a.getPaisaExtendedData()),playGamesExtendedData:S6c(W(a,R6c,12)),mapsExtendedData:O6c(W(a,
N6c,13)),youtubeExtendedData:Y6c(W(a,X6c,15)),peopleStackExtendedData:A4c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:T_c(a.getPeopleStackPersonExtendedData()),gpayExtendedData:I6c(W(a,H6c,17))}};var $6c=function(a){this.internalArray_=l(a)};U($6c,q);$6c.prototype.getContainerType=function(){return p(this,2)};$6c.prototype.toObject=function(){return a7c(this)};var a7c=function(a){if(null!=a)return t(a),{containerId:n(X(a,1)),containerType:n(p(a,2)),materialized:n(Ur(a,3))}};var b7c=function(a){this.internalArray_=l(a)};U(b7c,q);b7c.prototype.getDisplayName=function(){return X(this,3)};b7c.prototype.setDisplayName=function(a){return uk(this,3,a)};b7c.prototype.toObject=function(){return c7c(this)};var c7c=function(a){if(null!=a)return t(a),{circleId:n(X(a,1)),circleSet:n(p(a,2)),displayName:n(X(a,3))}};var d7c=function(a){this.internalArray_=l(a)};U(d7c,q);d7c.prototype.getDisplayName=function(){return X(this,2)};d7c.prototype.setDisplayName=function(a){return uk(this,2,a)};d7c.prototype.toObject=function(){return e7c(this)};var e7c=function(a){if(null!=a)return t(a),{contactGroupId:n(X(a,1)),displayName:n(X(a,2))}};var f7c=function(a){this.internalArray_=l(a)};U(f7c,q);f7c.prototype.getCircle=function(){return W(this,b7c,1)};f7c.prototype.toObject=function(){return g7c(this)};var g7c=function(a){if(null!=a)return t(a),{circle:c7c(a.getCircle()),contactGroup:e7c(W(a,d7c,2))}};var G4=function(a){this.internalArray_=l(a)};U(G4,q);G4.prototype.getDisplayName=function(){return X(this,2)};G4.prototype.setDisplayName=function(a){return uk(this,2,a)};G4.prototype.getPhotoUrl=function(){return X(this,3)};G4.prototype.toObject=function(){return h7c(this)};var h7c=function(a){if(null!=a)return t(a),{personId:n(X(a,1)),displayName:n(X(a,2)),photoUrl:n(X(a,3))}};var i7c=function(a){this.internalArray_=l(a)};U(i7c,q);i7c.prototype.getPerson=function(){return W(this,G4,2)};i7c.prototype.getMembership=function(){return W(this,f7c,4)};i7c.prototype.toObject=function(){return j7c(this)};var j7c=function(a){if(null!=a)return t(a),{allUsers:n(Ur(a,1)),person:h7c(a.getPerson()),domainUsers:n(Ur(a,3)),membership:g7c(a.getMembership())}};var k7c=function(a){this.internalArray_=l(a)};U(k7c,q);k7c.prototype.getScope=function(){return W(this,i7c,2)};k7c.prototype.toObject=function(){return l7c(this)};var l7c=function(a){if(null!=a)return t(a),{role:n(p(a,1)),scope:j7c(a.getScope())}};var m7c=function(a){this.internalArray_=l(a)};U(m7c,q);m7c.repeatedFields_=[1,2,3];m7c.prototype.toObject=function(){return n7c(this)};var n7c=function(a){if(null!=a)return t(a),{aclEntryList:Ub(oj(a,k7c,1),l7c),predefinedAclEntryList:n(fl(a,2)),authorizedViewersList:n(fl(a,3))}};var H4=function(a){this.internalArray_=l(a)};U(H4,q);H4.prototype.getContainerType=function(){return p(this,15)};H4.prototype.getPrimary=function(){return Ur(this,3)};H4.prototype.getVisibility=function(){return aj(this,6,1)};H4.prototype.getAffinityList=function(){return oj(this,I5c,10)};H4.repeatedFields_=[13,10];H4.prototype.toObject=function(){return I4(this)};
var I4=function(a){if(null!=a)return t(a),{writeable:Vj(a,1,!1),containerType:n(p(a,15)),containerId:n(p(a,8)),encodedContainerId:n(X(a,9)),primary:n(Ur(a,3)),edgeKeyInfoList:Ub(oj(a,$6c,13),a7c),visibility:aj(a,6,1),verified:Vj(a,7,!1),affinityList:Ub(a.getAffinityList(),J5c),fieldAcl:n7c(W(a,m7c,11)),containerPrimary:n(Ur(a,12))}};var o7c=function(a){this.internalArray_=l(a)};U(o7c,q);o7c.prototype.getMetadata=function(){return W(this,H4,6)};o7c.prototype.setMetadata=function(a){lj(this,H4,6,a)};o7c.prototype.toObject=function(){return p7c(this)};var p7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),imageUrl:n(X(a,1)),imageId:n(X(a,2)),imageHeight:n(Ft(a,3)),imageWidth:n(Ft(a,4)),isDefault:n(Ur(a,5)),isAnimated:n(Ur(a,7))}};var q7c=function(a){this.internalArray_=l(a)};U(q7c,q);f=q7c.prototype;f.getInternalExternal=function(){return W(this,d4,3)};f.hasInternalExternal=function(){return Pj(this,d4,3)};f.getIsPlaceholder=function(){return Ur(this,4)};f.setIsPlaceholder=function(a){Xj(this,4,a)};f.toObject=function(){return r7c(this)};var r7c=function(a){if(null!=a)return t(a),{smtpServerSupportsTls:n(Ur(a,1)),usesConfusingCharacters:n(Ur(a,2)),internalExternal:q4c(a.getInternalExternal()),isPlaceholder:n(Ur(a,4))}};var J4=function(a){this.internalArray_=l(a)};U(J4,q);J4.prototype.setStatusCode=function(a){cj(this,2,a)};J4.prototype.toObject=function(){return s7c(this)};var s7c=function(a){if(null!=a)return t(a),{notAfterSec:n(p(a,1)),statusCode:n(p(a,2))}};var t7c=function(a){this.internalArray_=l(a)};U(t7c,q);f=t7c.prototype;f.getMetadata=function(){return W(this,H4,1)};f.setMetadata=function(a){lj(this,H4,1,a)};f.getStatus=function(){return W(this,J4,2)};f.setStatus=function(a){return lj(this,J4,2,a)};f.hasStatus=function(){return Pj(this,J4,2)};f.toObject=function(){return u7c(this)};var u7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),status:s7c(a.getStatus()),configurationName:n(X(a,3))}};var K4=function(a){this.internalArray_=l(a)};U(K4,q);K4.prototype.getType=function(){return p(this,1)};K4.prototype.setType=function(a){return cj(this,1,a)};K4.prototype.hasType=function(){return tj(this,1)};K4.prototype.toObject=function(){return v7c(this)};var v7c=function(a){if(null!=a)return t(a),{type:n(p(a,1)),contactGroupId:n(X(a,2))}};var w7c=function(a){this.internalArray_=l(a)};U(w7c,q);w7c.prototype.getPrimary=function(){return Ur(this,1)};w7c.prototype.toObject=function(){return x7c(this)};var x7c=function(a){if(null!=a)return t(a),{primary:n(Ur(a,1))}};var L4=function(a){this.internalArray_=l(a)};U(L4,q);f=L4.prototype;f.getMetadata=function(){return W(this,H4,1)};f.setMetadata=function(a){lj(this,H4,1,a)};f.getValue=function(){return X(this,2)};f.getValue_legacyNullable=function(){return X(this,2)};f.setValue=function(a){return uk(this,2,a)};f.hasValue=function(){return Jk(this,2)};f.getType=function(){return X(this,3)};f.setType=function(a){return uk(this,3,a)};f.hasType=function(){return Jk(this,3)};
f.getDisplayName=function(){return X(this,6)};f.setDisplayName=function(a){return uk(this,6,a)};f.getExtendedData=function(){return W(this,q7c,8)};f.setExtendedData=function(a){lj(this,q7c,8,a)};f.hasExtendedData=function(){return Pj(this,q7c,8)};L4.repeatedFields_=[5,7];L4.prototype.toObject=function(){return y7c(this)};
var y7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),value:n(X(a,2)),type:n(X(a,3)),formattedType:n(X(a,4)),displayName:n(X(a,6)),contactGroupPreferenceList:Ub(oj(a,K4,5),v7c),certificateList:Ub(oj(a,t7c,7),u7c),extendedData:r7c(a.getExtendedData()),classification:n(p(a,9)),signupEmailMetadata:x7c(W(a,w7c,10))}};var z7c=function(a){this.internalArray_=l(a)};U(z7c,q);f=z7c.prototype;f.getMetadata=function(){return W(this,H4,1)};f.setMetadata=function(a){lj(this,H4,1,a)};f.getType=function(){return X(this,2)};f.setType=function(a){return uk(this,2,a)};f.hasType=function(){return Jk(this,2)};f.toObject=function(){return A7c(this)};var A7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),type:n(X(a,2)),formattedType:n(X(a,3)),customType:n(X(a,4)),addressMeAs:n(X(a,5))}};var B7c=function(a){this.internalArray_=l(a)};U(B7c,q);B7c.prototype.toObject=function(){return C7c(this)};var C7c=function(a){if(null!=a)return t(a),{byteValue:Xb(So(a,1)),app:n(p(a,2))}};var D7c=function(a){this.internalArray_=l(a)};U(D7c,q);f=D7c.prototype;f.getFieldType=function(){return p(this,1)};f.getFieldType_legacyNullable=function(){return p(this,1)};f.setFieldType=function(a){cj(this,1,a)};f.getFieldTypeOrUndefined=function(){return ps(this,1)};f.getValue=function(){return X(this,3)};f.getValue_legacyNullable=function(){return X(this,3)};f.setValue=function(a){return uk(this,3,a)};f.hasValue=function(){return Jk(this,3)};f.toObject=function(){return E7c(this)};
var E7c=function(a){if(null!=a)return t(a),{fieldType:n(p(a,1)),fieldIndex:n(Ft(a,2)),value:n(X(a,3))}};var F7c=function(a){this.internalArray_=l(a)};U(F7c,q);f=F7c.prototype;f.getMetadata=function(){return W(this,H4,1)};f.setMetadata=function(a){lj(this,H4,1,a)};f.getType=function(){return p(this,3)};f.setType=function(a){return cj(this,3,a)};f.hasType=function(){return tj(this,3)};f.getValue=function(){return X(this,4)};f.getValue_legacyNullable=function(){return X(this,4)};f.setValue=function(a){return uk(this,4,a)};f.hasValue=function(){return Jk(this,4)};
f.setOriginatingField=function(a){return zt(this,5,D7c,a)};F7c.repeatedFields_=[2,5,6];F7c.prototype.toObject=function(){return G7c(this)};var G7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),appList:n(fl(a,2)),type:n(p(a,3)),value:n(X(a,4)),originatingFieldList:Ub(oj(a,D7c,5),E7c),clientDataList:Ub(oj(a,B7c,6),C7c)}};var H7c=function(a){this.internalArray_=l(a)};U(H7c,q);f=H7c.prototype;f.getSource=function(){return aj(this,1,0)};f.setSource=function(a){return cj(this,1,a)};f.hasSource=function(){return tj(this,1)};f.getSourceOrUndefined=function(){return ps(this,1)};f.toObject=function(){return I7c(this)};var I7c=function(a){if(null!=a)return t(a),{source:n(p(a,1))}};var J7c=function(a){this.internalArray_=l(a)};U(J7c,q);f=J7c.prototype;f.getMetadata=function(){return W(this,H4,1)};f.setMetadata=function(a){lj(this,H4,1,a)};f.getDisplayName=function(){return X(this,2)};f.setDisplayName=function(a){return uk(this,2,a)};f.getGivenName=function(){return X(this,4)};f.setGivenName=function(a){return uk(this,4,a)};f.hasGivenName=function(){return Jk(this,4)};f.getFamilyName=function(){return X(this,5)};f.setFamilyName=function(a){return uk(this,5,a)};
f.hasFamilyName=function(){return Jk(this,5)};f.toObject=function(){return K7c(this)};
var K7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),displayName:n(X(a,2)),displayNameSource:I7c(W(a,H7c,20)),displayNameLastFirst:n(X(a,13)),unstructuredName:n(X(a,16)),givenName:n(X(a,4)),familyName:n(X(a,5)),middleName:n(X(a,6)),honorificPrefix:n(X(a,7)),honorificSuffix:n(X(a,8)),yomiFullName:n(X(a,14)),yomiGivenName:n(X(a,9)),yomiFamilyName:n(X(a,10)),yomiMiddleName:n(X(a,15)),yomiHonorificPrefix:n(X(a,11)),yomiHonorificSuffix:n(X(a,12)),formattedName:n(X(a,3))}};var M4=function(a){this.internalArray_=l(a)};U(M4,q);M4.prototype.getDisplayName=function(){return X(this,1)};M4.prototype.setDisplayName=function(a){return uk(this,1,a)};M4.prototype.getContainerType=function(){return p(this,3)};M4.prototype.toObject=function(){return L7c(this)};var L7c=function(a){if(null!=a)return t(a),{displayName:n(X(a,1)),displayNameLastFirst:n(X(a,2)),containerType:n(p(a,3))}};var M7c=function(a){this.internalArray_=l(a)};U(M7c,q);f=M7c.prototype;f.getContainerType=function(){return p(this,6)};f.getId=function(){return X(this,2)};f.setId=function(a){return uk(this,2,a)};f.getDeleted=function(){return Ur(this,3)};f.setDeleted=function(a){Xj(this,3,a)};f.toObject=function(){return N7c(this)};var N7c=function(a){if(null!=a)return t(a),{containerType:n(p(a,6)),id:n(X(a,2)),deleted:n(Ur(a,3)),sourceEtag:n(X(a,5))}};var O7c=function(a){this.internalArray_=l(a)};U(O7c,q);O7c.prototype.getSourceIdsList=function(){return oj(this,M7c,3)};O7c.repeatedFields_=[1,2,3];O7c.prototype.toObject=function(){return P7c(this)};var P7c=function(a){if(null!=a)return t(a),{previousPersonIdList:n(Xh(a,1)),originalLookupTokenList:n(Xh(a,2)),sourceIdsList:Ub(a.getSourceIdsList(),N7c)}};var N4=function(a){this.internalArray_=l(a)};U(N4,q);f=N4.prototype;f.getDeleted=function(){return Ur(this,1)};f.setDeleted=function(a){Xj(this,1,a)};f.getContactId=function(){return Kt(this,6)};f.setContactId=function(a){Nt(this,6,a)};f.getAffinityList=function(){return oj(this,I5c,17)};N4.repeatedFields_=[6,17,8,13];N4.prototype.toObject=function(){return Q7c(this)};
var Q7c=function(a){if(null!=a)return t(a),{deleted:n(Ur(a,1)),contactIdList:n(Wh(a,6)),affinityList:Ub(a.getAffinityList(),J5c),bestDisplayName:L7c(W(a,M4,24)),identityInfo:P7c(W(a,O7c,22)),circleIdList:n(Xh(a,8)),ownerId:n(X(a,4)),ownerUserTypeList:n(fl(a,13)),objectType:aj(a,5,0),inViewerDomain:n(Ur(a,12))}};var R7c=function(a){this.internalArray_=l(a)};U(R7c,q);f=R7c.prototype;f.getMetadata=function(){return W(this,H4,1)};f.setMetadata=function(a){lj(this,H4,1,a)};f.getValue=function(){return X(this,2)};f.getValue_legacyNullable=function(){return X(this,2)};f.setValue=function(a){return uk(this,2,a)};f.hasValue=function(){return Jk(this,2)};f.getType=function(){return X(this,3)};f.setType=function(a){return uk(this,3,a)};f.hasType=function(){return Jk(this,3)};f.setUri=function(a){return uk(this,7,a)};
f.toObject=function(){return S7c(this)};var S7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),value:n(X(a,2)),type:n(X(a,3)),formattedType:n(X(a,5)),canonicalizedForm:n(X(a,4)),uri:n(X(a,7))}};var T7c=function(a){this.internalArray_=l(a)};U(T7c,q);f=T7c.prototype;f.getMetadata=function(){return W(this,H4,1)};f.setMetadata=function(a){lj(this,H4,1,a)};f.getUrl=function(){return X(this,2)};f.setUrl=function(a){return uk(this,2,a)};f.hasUrl=function(){return Jk(this,2)};f.toObject=function(){return U7c(this)};var U7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),url:n(X(a,2)),isDefault:n(Ur(a,3)),isMonogram:n(Ur(a,7)),monogramBackground:n(X(a,8))}};var O4=function(a){this.internalArray_=l(a)};U(O4,q);O4.prototype.getMetadata=function(){return W(this,H4,1)};O4.prototype.setMetadata=function(a){lj(this,H4,1,a)};O4.repeatedFields_=[22];O4.prototype.toObject=function(){return V7c(this)};var V7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),unjoinedEmailCertificatesList:Ub(oj(a,L4,22),y7c)}};var W7c=function(a){this.internalArray_=l(a)};U(W7c,q);W7c.prototype.toObject=function(){return X7c(this)};var X7c=function(a){if(null!=a)return t(a),{personId:n(X(a,1)),memberType:n(p(a,2))}};var Y7c=function(a){this.internalArray_=l(a)};U(Y7c,q);Y7c.prototype.toObject=function(){return Z7c(this)};var Z7c=function(a){if(null!=a)return t(a),{directUserCount:n(p(a,1)),directGroupCount:n(p(a,2))}};var P4=function(a){this.internalArray_=l(a)};U(P4,q);P4.prototype.getMetadata=function(){return W(this,H4,1)};P4.prototype.setMetadata=function(a){lj(this,H4,1,a)};P4.repeatedFields_=[3];P4.prototype.toObject=function(){return $7c(this)};var $7c=function(a){if(null!=a)return t(a),{metadata:I4(a.getMetadata()),rosterMemberCount:Z7c(W(a,Y7c,2)),abridgedRosterMembershipsList:Ub(oj(a,W7c,3),X7c)}};var a8c=function(a){this.internalArray_=l(a)};U(a8c,q);f=a8c.prototype;f.getName=function(){return X(this,1)};f.setName=function(a){return uk(this,1,a)};f.hasName=function(){return Jk(this,1)};f.getNameOrUndefined=function(){return Tt(this,1)};f.toObject=function(){return b8c(this)};var b8c=function(a){if(null!=a)return t(a),{name:n(X(a,1)),interactionRank:n(X(a,2)),lastName:n(X(a,4)),nameRaw:n(X(a,5)),lastNameRaw:n(X(a,6))}};var c8c=function(a){this.internalArray_=l(a)};U(c8c,q);f=c8c.prototype;f.getMetadata=function(){return W(this,N4,2)};f.setMetadata=function(a){lj(this,N4,2,a)};f.setName=function(a){return zt(this,3,J7c,a)};f.setPhoto=function(a){zt(this,4,T7c,a)};f.getEmailList=function(){return oj(this,L4,10)};f.addEmail=function(a){return Mo(this,10,L4,a)};f.setEmail=function(a){return zt(this,10,L4,a)};f.setPhone=function(a){return zt(this,12,R7c,a)};f.getExtendedData=function(){return W(this,F4,38)};
f.setExtendedData=function(a){lj(this,F4,38,a)};f.hasExtendedData=function(){return Pj(this,F4,38)};c8c.repeatedFields_=[48,3,4,10,12,9,46,133,31];c8c.prototype.toObject=function(){return d8c(this)};
var d8c=function(a){if(null!=a)return t(a),{personId:n(X(a,1)),metadata:Q7c(a.getMetadata()),readOnlyProfileInfoList:Ub(oj(a,O4,48),V7c),fingerprint:n(X(a,26)),nameList:Ub(oj(a,J7c,3),K7c),photoList:Ub(oj(a,T7c,4),U7c),emailList:Ub(a.getEmailList(),y7c),phoneList:Ub(oj(a,R7c,12),S7c),genderList:Ub(oj(a,z7c,9),A7c),inAppNotificationTargetList:Ub(oj(a,F7c,46),G7c),rosterDetailsList:Ub(oj(a,P4,133),$7c),sortKeys:b8c(W(a,a8c,25)),extendedData:Z6c(a.getExtendedData()),coverPhotoList:Ub(oj(a,o7c,31),p7c)}};eu[173194452]=Tb(173194452,{messageSetExtension:0},c8c,d8c);var e8c=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var epb=function(a){this.delegate_=a};U(epb,o0);var f8c=function(a){this.keys_=new Set(a)};f8c.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};f8c.prototype.isDone=function(){return!this.keys_.size};var g8c=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new f8c(a)};g8c.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};g8c.prototype.isDone=function(){return this.delegate_.isDone()};var h8c=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var i8c=new ts,j8c=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=P3(Vh(c,31,5),1E3*vj(c,32,3600))};f=j8c.prototype;f.getCacheType=function(){return 2};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return ne(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(i8c);d=c.ids.map(function(m){if(vBc.includes(yBc(m).getType()))return m;var r=Q4(b.itemResolver_,m);return r?String(r.id):m});e=new g8c(d);return h.yield(k8c(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}g=h.yieldResult;b.indexes_.set(c.cacheKey,g);return h.return(i8c)})};
f.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)||O3).search(a.getTerms()).getMatches(a.getCollector()).map(fpb)};f.index=function(){};var l8c=new t3c(60,61,34);var m8c=function(){};m8c.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Vj(a,30,!1)&&(b=new j8c(b,d,a),c=new R3(b,c,l8c),e.unshift(c))};var n8c=function(){return Date.now()},o8c=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};f=o8c.prototype;f.isStale=function(){return this.timestamp_+this.staleMillis_<=this.nowFn_()};f.isExpired=function(){return this.timestamp_+this.expiredMillis_<=this.nowFn_()};f.getStatus=function(){return this.isExpired()?1:this.isStale()?3:2};f.getTimestamp=function(){return this.timestamp_};f.setTimestamp=function(a){this.timestamp_=a};
f.markAsFresh=function(){this.timestamp_=this.nowFn_()};f.markAsStale=function(){var a=this.nowFn_()-this.staleMillis_;a<this.timestamp_&&(this.timestamp_=a)};var hpb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),gpb=new Map([[1,7],[2,5]]);var p8c=function(a,b){this.delegate_=a;this.extendedData_=b};U(p8c,o0);p8c.prototype.getExtendedData=function(){return this.extendedData_};var q8c=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=tr(this.group_.getId())?this.members_.length:c;this.resultType_=NXc.get(this.group_.getTargetType())||0};f=q8c.prototype;f.getResultType=function(){return this.resultType_};f.getTargetList=function(){return[this.group_]};f.getMemberList=function(){return this.members_};f.getTotalMemberCount=function(){return this.totalMemberCount_};f.getPrimaryTarget=function(){throw Error("Be");};f.getDisplayName=function(){return""};
f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};f.getMatchInfo=function(){return MXc};f.getExtendedData=function(){return null};var jpb=function(a,b){this.delegate_=a;this.loggingToken_=b};U(jpb,bUc);jpb.prototype.getLoggingToken=function(){return this.loggingToken_};var r8c=function(a){this.itemResolver_=a};r8c.prototype.create=function(a,b){var c=this,d=yBc(a);a=Q4(this.itemResolver_,a);if(!a)return null;if(sr(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,g=2===b&&1<(null==(e=a.coalescedKeys)?void 0:e.length)?a.coalescedKeys.map(function(h){return Q4(c.itemResolver_,h)}).filter(Boolean):[a];return s8c(g,d,b)};
var s8c=function(a,b,c){var d=[],e=0,g=null,h=null;a=k(a);for(var m=a.next();!m.done;m=a.next()){m=m.value;var r=m.target,v=r.getId().equals(b);if(!e||v)e=r.getResultType();r=kpb(r,m.provenance,c);v?(h=void 0,g=null!=(h=m.totalMemberCount)?h:null,d.unshift(r),h=m.resultExtendedData):d.push(r)}b=ilb(e,d,g);return h?new p8c(b,h):b};
r8c.prototype.createGroup=function(a,b,c){c=kpb(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new sq(new q8c(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new p8c(b,a):b};var lpb=[1,2,3,4,5,6,9,7,8],t8c=function(a,b){this.targetFactory_=a;this.resultFactory_=new r8c(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?n8c:d;this.expiry_=new o8c(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=P3(Vh(b,6,500),1E3*Vh(b,7,43200));this.idTypes_=new Set(fl(b,25))};t8c.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var Q4=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};f=t8c.prototype;f.getExpiry=function(){return this.expiry_};f.getAffinityVersion=function(){return this.affinityVersion_};f.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp()):this.expiry_.markAsFresh();this.lruStorage_.compact()};f.markAsStale=function(){this.expiry_.markAsStale()};
f.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};f.storeItems=function(a,b,c,d){c=void 0===c?!1:c;if(d=void 0===d?"":d){var e=b.findIndex(function(h){return String(h.id)===d});if(0<e){var g=b[e];b.splice(e,1);b.unshift(g)}}c&&b.reverse();b=k(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
f.store_=function(a,b,c,d){if(!this.idTypes_.size||!vBc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,g=String(b.id),h=(b.containerIds||[]).map(String),m=u8c(this,a,g);v8c(this,a,g,b,c)&&(m(g,b),e=!0);h=k(h);for(var r=h.next();!r.done;r=h.next())r=r.value,v8c(this,a,r,b,c)&&(m(r,b),e=!0);b.isMe&&(h=String(xBc),v8c(this,a,h,b,c)&&(m(h,b),e=!0));d&&g!==d&&v8c(this,a,d,b,c)&&(m(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var v8c=function(a,b,c,d,e){var g=Q4(a,c);if(!g)return!0;1===b&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return e&&(g.id.equals(d.id)||String(g.id)!==c)?!0:g.id.equals(d.id)?npb(d)&&!npb(g)||w8c(a,g)<w8c(a,d)||mpb(d)<mpb(g)||18===d.id.getType()&&18===g.id.getType()?!0:!1:String(d.id)===c},w8c=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},u8c=function(a,b,c){return a.ttlStorage_.has(c)||1===b?function(d,e){return a.ttlStorage_.set(d,e)}:function(d,e){return a.lruStorage_.set(d,e)}};var x8c=function(a){this.qos=a};x8c.prototype.getIndex=function(){return String(this.qos)};var y8c=new x8c(1),z8c=new x8c(2);var A8c=function(a,b){this.loader_=a;this.storage_=b;this.contacts_=[];this.totalItems_=0;this.pendingRequest_=null;this.requestId_=0;this.nextPageToken_="";this.isCompleted_=!1},C8c=function(a){if(a.isCompleted_)return Promise.resolve(H3(new ts,!1).setProvenance(5).setCode(0));a.pendingRequest_||(a.pendingRequest_=(new Promise(function(b,c){B8c(a,a.requestId_,function(d){a.isCompleted_=!0;b(d)},function(d){c(d)})})).finally(function(){a.pendingRequest_=null}));return a.pendingRequest_};
A8c.prototype.flush=function(){this.requestId_++;this.contacts_=[];this.totalItems_=0;this.nextPageToken_="";this.pendingRequest_=null;this.isCompleted_=!1};
var B8c=function(a,b,c,d){a.loader_.loadContactItems(a.nextPageToken_,z8c).then(function(e){if(b!==a.requestId_)d(H3(new ts,!0).setProvenance(5).setCode(1));else{var g=e.metadata;a.totalItems_=g.getTotalItems();a.nextPageToken_=g.getNextPageToken();Array.prototype.push.apply(a.contacts_,e.ids);a.storage_.storeItems(1,e.data);a.nextPageToken_?B8c(a,b,c,d):(a.totalItems_=a.contacts_.length,c(H3(new ts,!0).setProvenance(5).setCode(0)))}},function(e){e=isFinite(e)?e:13;d(H3(new ts,!0).setProvenance(5).setCode(e))})};
A8c.prototype.list=function(a,b,c,d,e){var g=this,h=e.getFilter();h&&h.reset("");var m=function(){return{results:g.contacts_.slice(a,b).map(function(r){return g.storage_.load(String(r),c)}).filter(function(r){return r&&(!h||h.filterResult(r))}),begin:a,end:b,totalItems:g.totalItems_}};this.contacts_.length>=b?d(m(),H3(new ts,!1).setProvenance(5).setCode(0)):C8c(this).then(function(r){d(m(),r)},function(r){r instanceof ts||(r=(new ts).setCode(13));d({results:[],begin:a,end:b,totalItems:0},r)})};var opb=function(a,b){this.delegate_=a;this.displayValue_=b};U(opb,bUc);opb.prototype.getDisplayValue=function(){return this.displayValue_};var qpb=function(){};qpb.prototype.createFromQuery=function(a){var b=a.getPrefix();if(0!==a.getCollector().resultCount()||!a.isEmailAddress())return null;b=Lr(Nr(b)).setValue(b).setDataSource(3);b=ilb(b.getResultType(),[b],null);return(a=a.getResultFilter())?a.filterResult(b):b};qpb.prototype.createFromLookupId=function(a){if(1!==a.getType()||!oBc(a.getValue()))return null;a=Lr(a).setValue(a.getOriginalValue()).setDataSource(3);return ilb(a.getResultType(),[a],null)};var D8c=function(){};D8c.prototype.createFromQuery=function(){return null};D8c.prototype.createFromLookupId=function(){return null};var rpb=new D8c;var E8c=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(g){return[String(g),g]}));this.notNotifiedIds=new Map(a.map(function(g){return[String(g),g]}));this.placeholderFactory=spb(e.getClient())};f=E8c.prototype;f.isCancelled=function(){return!1};f.getFormat=function(){return this.format};f.getOptions=function(){return this.options};f.queryScope=function(){return this.options.getQueryScope()};
f.getResultFilter=function(){return this.options.getFilter()};f.isDone=function(){return 0===this.remainingIds.size};var l3c=function(a){return Array.from(a.remainingIds.values())};E8c.prototype.hasError=function(){return this.hasErrorCode};
E8c.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||tpb(c.getCode())){var d=new Map,e=this.getResultFilter();a=k(a);for(var g=a.next();!g.done;g=a.next()){var h=k(g.value);g=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(g));if(h=e?e.filterResult(h):h)d.set(g,h),this.remainingIds.delete(String(g))}a=[];b=k(b);for(g=b.next();!g.done;g=b.next())g=g.value,this.notNotifiedIds.delete(String(g)),this.remainingIds.delete(String(g)),(h=this.placeholderFactory.createFromLookupId(g))&&
e&&(h=e.filterResult(h)),h?d.set(g,h):a.push(g);d=ppb(d,this.options);tpb(c.getCode())&&(this.hasErrorCode=!0);e=(new V2c).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new W2c(d,e);this.callbackNumber++;this.listener(d,c)}};var F8c=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};F8c.prototype.flush=function(){this.indexer.flush()};
F8c.prototype.lookup=function(a,b,c,d){var e=this,g,h,m,r,v,y;return ne(function(A){switch(A.nextAddress){case 1:null==(g=d.getFilter())||g.reset(""),h=new E8c(a,b,c,d,e.clientConfig),m=new Set,1!==h.queryScope()&&2!==h.queryScope()||m.add(2),3===h.queryScope()&&m.add(1),r=k(e.stages),v=r.next();case 2:if(v.done){A.jumpTo(4);break}y=v.value;if(h.isDone()||h.isCancelled()){A.jumpTo(4);break}if(m.has(y.getStageType())){A.jumpTo(3);break}return A.yield(y.lookup(h),3);case 3:v=r.next();A.jumpTo(2);break;
case 4:if(!h.isDone()){if(0===h.queryScope()&&!h.hasError()){var G=e.indexer,N=Array.from(h.notNotifiedIds.values());N=k(N);for(var Q=N.next();!Q.done;Q=N.next())Q=String(Q.value),G.notFoundIds.set(Q,Q)}h.notify(new Map,l3c(h),H3((new ts).setProvenance(10),!1).setCode(0))}e.indexer.compact();return A.return()}})};var G8c=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=P3(Vh(a,10,500),1E3*vj(a,11,600))};f=G8c.prototype;f.compact=function(){this.notFoundIds.compact()};f.flush=function(){this.notFoundIds.clear()};f.store=function(a,b,c,d){if(!Vj(c,5))for(Xj(c,5,!0),b=k(b),c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;c=String(Kr(a,String(c)));this.storeItems(e,d,c)}};f.storeItems=function(a,b,c){this.storage.storeItems(2,a,b,c)};
f.load=function(a,b,c){b=this.storage.load(String(a),b);c&&b&&(b=lcb(a).filterResult(b));return b};var H8c={ids:[],cacheKey:"",primingTimeoutMillis:0};var I8c=function(){};I8c.prototype.loadOrSkip=function(){return null};I8c.prototype.resultCount=function(){return 0};I8c.prototype.isDone=function(){return!0};var J8c=new I8c;var K8c=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=J8c;this.boostKey_=H8c;this.listener_=function(){}};f=K8c.prototype;f.getPrefix=function(){return this.prefix_};f.getTerms=function(){return this.terms_};f.getFormat=function(){return this.format_};f.getCollector=function(){return this.collector_};f.getBoostKey=function(){return this.boostKey_};f.getListener=function(){return this.listener_};f.isDone=function(){return!0};f.isCancelled=function(){return!0};
f.isSuggestQuery=function(){return!0};f.isEmailAddress=function(){return!1};f.queryScope=function(){return 0};f.getResultFilter=function(){return null};var L8c=new K8c;var M8c=function(){this.fetchDone_=Promise.resolve((new ts).setCode(0))};f=M8c.prototype;f.getCacheType=function(){return 0};f.flush=function(){};f.fetch=function(){return this.fetchDone_};f.index=function(){};f.search=function(){return[]};var N8c=new M8c;var O8c=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||N8c;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
O8c.prototype.prefetch=function(a){var b=this,c,d,e,g,h;return ne(function(m){if(1==m.nextAddress)return m.yield(b.primary_.fetch(a),2);if(3!=m.nextAddress){c=m.yieldResult;if(0!==c.getCode())return m.return(c);d=k(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())g=e.value,g.flush();h=b.prefetched_.filter(function(r){return r!==b.primary_}).map(function(r){r.flush();return r.fetch(a)});return h.length?m.yield(Promise.all(h),3):m.jumpTo(3)}return m.return(c)})};
O8c.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new ts).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,ad(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var P8c=function(a){var b=[a.primary_].concat(ad(a.prefetched_.filter(function(d){return d!==a.primary_})),ad(a.lazyLoaded_)).reverse();b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},Q8c=function(a,b){var c=[];a=k(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;c.push.apply(c,ad(d.search(b)))}return c},S8c=function(a,b,c){var d,e,g,h;return ne(function(m){if(1==m.nextAddress){if(2===b.queryScope())return m.return();d=a.lazyLoaded_[a.lazyLoaded_.length-
1];e=k(a.lazyLoaded_);g=e.next()}if(3!=m.nextAddress){if(g.done)return m.jumpTo(0);h=g.value;return b.isDone()||b.isCancelled()?m.return():m.yield(R8c(h,b,c,d===h),3)}g=e.next();return m.jumpTo(2)})},R8c=function(a,b,c,d){var e,g;return ne(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=H3((new ts).setProvenance(6).setCode(0),!1),h.jumpTo(2)):h.yield(a.fetch(b),3);2!=h.nextAddress&&(e=h.yieldResult);if(b.isCancelled())return h.return();g=a.search(b);c(g,e,d);se(h)})};var T8c=function(a,b,c,d,e,g){this.clientInfo_=a.getClient();this.trackers_=b;this.storage_=g;this.lookupCache_=d;this.listCache_=e;this.prefixSearch_=c;this.sessionWarming_=this.cacheWarming_=null};f=T8c.prototype;f.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};f.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
f.warmUpCache=function(){R4(this,L8c);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(K3(J3((new I3).setSource(H3(new ts,!1).setProvenance(1).setCode(0)),S4(this)),S4(this)))};f.flushCache=function(a){switch(a){case 2:return U8c(this),Promise.resolve(new I3);case 1:return this.storage_.markAsStale(),Promise.resolve(new I3);default:return this.warmUpCache()}};
f.warmUpSession=function(a){var b=this,c,d,e,g,h;return ne(function(m){switch(m.nextAddress){case 1:c=J3(new I3,S4(b));R4(b,a);if(!b.cacheWarming_){m.jumpTo(2);break}return m.yield(b.cacheWarming_,2);case 2:return oe(m,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),m.yield(b.sessionWarming_,7);case 7:return d=m.yieldResult,e=d.find(function(r){return 2===r.getProvenance()})||(new ts).setProvenance(2).setCode(0),m.return(K3(c.setSource(e),S4(b)));case 5:pe(m);b.sessionWarming_=
null;qe(m,0);break;case 4:return g=re(m),h=g instanceof ts?g:(new ts).setProvenance(2).setCode(13),m.return(Promise.reject(K3(c.setSource(h),S4(b))))}})};
f.search=function(a){var b=this,c,d,e,g,h;return ne(function(m){switch(m.nextAddress){case 1:V8c(b);oe(m,2);d=S4(b);R4(b,a);if(!a.isSuggestQuery()){m.jumpTo(4);break}if(!b.cacheWarming_){m.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){m.jumpTo(5);break}return m.yield(b.cacheWarming_,7);case 7:c=m.yieldResult;case 5:if(!b.sessionWarming_){m.jumpTo(4);break}return m.yield(b.sessionWarming_,4);case 4:return c||(c=K3(J3((new I3).setSource(H3(new ts,!1).setProvenance(1).setCode(0)),d),S4(b)),
R4(b,a)),m.yield(W8c(b,a,c),10);case 10:ht(m,0);break;case 2:g=re(m);if(a.isCancelled())return m.return();g instanceof I3?c=g:(h=g instanceof ts?g:(new ts).setCode(13),K3(c.setSource(h),S4(b)));a.getListener()(new M3([],(new L3).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));se(m)}})};
var W8c=function(a,b,c){var d,e,g,h;return ne(function(m){if(1==m.nextAddress){if(b.isCancelled())return m.return();d=Q8c(a.prefixSearch_,b);e=(new L3).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new M3(d,e));if(e.getIsLastCallback())return m.return();g=!1;return m.yield(S8c(a.prefixSearch_,b,function(r,v,y){v=(new L3).setIsLastCallback(y).setQuery(b.getPrefix()).setCode(v.getCode()).setCacheState(K3(J3((new I3).setSource(v),
ps(c,2)),S4(a)));b.getListener()(new M3(r,v));v.getIsLastCallback()&&(g=!0)}),2)}g||b.isCancelled()||(h=(new L3).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(K3(J3((new I3).setSource((new ts).setProvenance(10).setCode(0)),ps(c,2)),S4(a))),b.getListener()(new M3([],h)));se(m)})};
T8c.prototype.lookup=function(a,b,c){var d=this;V8c(this);R4(this,L8c);var e=J3(new I3,S4(this));this.lookupCache_.lookup(a,aj(this.clientInfo_,17,1),function(g,h){e.setSource(h);K3(e,S4(d));g.getMetadata().setCacheState(e);b(g)},c)};
T8c.prototype.list=function(a,b,c,d){var e=this;R4(this,L8c);var g=J3(new I3,S4(this));this.listCache_.list(a,b,aj(this.clientInfo_,18,1),function(h,m){var r=h.results;var v=new S2c;v=dj(v,1,h.begin);c(new T2c(r,v.setEnd(h.end).setTotalItems(h.totalItems).setCode(m.getCode()).setCacheState(K3(g.setSource(m),S4(e)))))},d)};
var R4=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&U8c(a),!a.cacheWarming_)){var c=S4(a);a.cacheWarming_=new Promise(function(d,e){var g,h,m,r;return ne(function(v){switch(v.nextAddress){case 1:return g=J3(new I3,c),oe(v,2,3),v.yield(a.prefixSearch_.prefetch(b),5);case 5:h=v.yieldResult,K3(g,S4(a)).setSource(h),d(g);case 3:pe(v);a.cacheWarming_=null;qe(v,0);break;case 2:m=re(v),r=m instanceof ts?m:(new ts).setCode(13),
K3(g,S4(a)).setSource(r),e(g),v.jumpTo(3)}})})}},S4=function(a){return a.storage_.getExpiry().getStatus()},U8c=function(a){P8c(a.prefixSearch_);a.lookupCache_.flush();a.listCache_.flush();a.storage_.flush()},V8c=function(a){var b=1===S4(a)?1:2;a.trackers_.count(b).increment()};var X8c=function(a){this.itemResolver_=a},Y8c=function(a,b,c){c=void 0===c?[]: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 g=c.push,h=g.apply,m=e.split(Z2c).filter(Boolean),r=m.length-1;if(0<r){var v=m.join("-"),y=m.join(".");m.push(v);for(m.push(y);0<r;r--)m[r-1]+=m[r]}m.push(e);m.push(e.replace(cob,""));"+"===e[0]&&m.push("+"+m[0]);h.call(g,c,ad(m));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&10!==d.getTargetType())for(b=k(b.memberKeys),d=b.next();!d.done;d=b.next())(d=Q4(a.itemResolver_,d.value))&&Y8c(a,d,c);return c};var Z8c=new U2c,$8c=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new X8c(a);this.trieRoots_=new Map},k8c=function(a,b,c,d){var e=(a.trieRoots_.get(c)||O3).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var g=a.trackers_.latency(95);g.start();var h=new Promise(function(m){var r=h8c(b).map(yBc);a.lookupCache_.lookup(r,c,function(v){var y=Array.from(v.getResults().keys(),String);y=a9c(a,y);Array.prototype.push.apply(e.items_,
y);a3c(e);v.getMetadata().getIsLastCallback()&&(g.stop(),m(e))},Z8c)});return vpb(h,e,d)},j3c=function(a,b){a=a9c(a,b);return new N3(a)},a9c=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=Q4(a.itemResolver_,d);e&&(e=Y8c(a.indexer_,e),c.push(new $2c(d,e)))}return c};var b9c=function(){this.queryId_=0};b9c.prototype.getQueryId=function(){return this.queryId_};var c9c=function(a){this.delegate=a};f=c9c.prototype;f.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};f.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};f.warmUpCache=function(){return this.delegate.warmUpCache()};f.flushCache=function(a){return this.delegate.flushCache(a)};f.warmUpSession=function(a){var b=this;return ne(function(c){return c.return(b.delegate.warmUpSession(a))})};f.search=function(a){var b=this;return ne(function(c){return c.return(b.delegate.search(a))})};
f.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};f.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};var d9c=function(){this.delegate=eUc};d9c.prototype.filterResult=function(a){return this.delegate.filterResult(a)};d9c.prototype.reset=function(a){this.delegate.reset(a)};var e9c=function(a,b){a.delegate=null!=b?b:eUc};var f9c=function(a){this.delegate=a};f=f9c.prototype;f.getPrefix=function(){return this.delegate.getPrefix()};f.getTerms=function(){return this.delegate.getTerms()};f.getFormat=function(){return this.delegate.getFormat()};f.getCollector=function(){return this.delegate.getCollector()};f.getBoostKey=function(){return this.delegate.getBoostKey()};f.getListener=function(){return this.delegate.getListener()};f.isDone=function(){return this.delegate.isDone()};f.isCancelled=function(){return this.delegate.isCancelled()};
f.isSuggestQuery=function(){return this.delegate.isSuggestQuery()};f.isEmailAddress=function(){return this.delegate.isEmailAddress()};f.queryScope=function(){return this.delegate.queryScope()};f.getResultFilter=function(){return this.delegate.getResultFilter()};var g9c=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};g9c.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};g9c.prototype.resultCount=function(){return this.count_};g9c.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var h9c=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new g9c(d,c.limit));this.collector=d;this.listener=function(h){var m=h.getMetadata();m.getIsLastCallback()&&m.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?ncb.apply(null,ad(d)):null;var g;this.scope=null!=(g=c.scope)?g:a.queryScope()};U(h9c,f9c);f=h9c.prototype;
f.getCollector=function(){return this.collector};f.getListener=function(){return this.listener};f.isDone=function(){return this.collector.isDone()};f.getResultFilter=function(){return this.resultFilter};f.queryScope=function(){return this.scope};var i9c=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};U(i9c,c9c);
i9c.prototype.search=function(a){var b=this,c,d,e,g,h,m;return ne(function(r){switch(r.nextAddress){case 1:c=new Set,a.isSuggestQuery()?c.add(2):c.add(1),a.isEmailAddress()||c.add(3),d=b.slots.filter(function(v){return!c.has(v.visibility)}),e=d.map(function(v,y){return new h9c(a,b.originalFilter,v,y===d.length-1)}),g=k(e),h=g.next();case 2:if(h.done){r.jumpTo(4);break}m=h.value;if(a.isCancelled()||a.isDone()){r.jumpTo(4);break}e9c(b.filterInterceptor,m.getResultFilter());return r.yield(b.delegate.search(m),
3);case 3:h=g.next();r.jumpTo(2);break;case 4:return r.return()}})};var j9c=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=fob([b]);this.id_=Nr(b);this.listener_=function(e){var g=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var m=(new tob).setDisplayName(c),r=h.getPrimaryTarget();h=hcb(h,new cUc(r,m))}return h});e=new M3(g,e.getMetadata());a.getListener()(e)}};U(j9c,f9c);j9c.prototype.getPrefix=function(){return this.query_};j9c.prototype.getTerms=function(){return this.terms_};
j9c.prototype.getListener=function(){return this.listener_};var k9c=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new b9c;this.clientInfo_=c};f=k9c.prototype;f.warmUpSession=function(a){a=l9c(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};f.suggest=function(a,b){a=l9c(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
f.search=function(a,b,c){a=l9c(this.queryFactory_,a,this.querySession_,c,b);Vj(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=mBc(b),c.isValid()||(c=mBc(b+">")),a=c.isValid()&&c.getName()?new j9c(a,c.getAddress(),c.getName()):a));this.cache_.search(a)};f.cancel=function(){++this.querySession_.queryId_};f.getLastUpdatedTimestamp=function(){return this.cache_.getLastUpdatedTimestamp()};f.getAffinityVersion=function(){return this.cache_.getAffinityVersion()};
f.getReporter=function(){throw Error("ab");};f.getSessionState=function(){throw Error("ab");};f.getHide=function(){throw Error("ab");};var m9c=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Vj(c,34,!1)?function(e){var g=d.cache_,h=e.slots_;if(h.length){var m=e.getFilter(),r=new d9c;e.setFilter(r);e=new i9c(g,h,r,m)}else e=g;return e}:function(){return d.cache_}};f=m9c.prototype;f.warmUpCache=function(){return this.cache_.warmUpCache()};f.flushCache=function(a){this.cache_.flushCache(a)};f.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
f.list=function(a,b,c,d){this.cache_.list(a,b,c,d)};f.beginSession=function(a){a=this.getSessionCache_(a);return new k9c(a,this.queryFactory_,this.clientInfo_)};var n9c=function(a,b,c,d,e,g,h){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=wpb(this,g);this.isEmailAddress_=null};f=n9c.prototype;f.getPrefix=function(){return this.prefix_};f.getTerms=function(){return this.terms_};f.getFormat=function(){return this.delegate_.getFormat()};f.getCollector=function(){return this.collector_};f.getBoostKey=function(){return this.boostKey_};f.getListener=function(){return this.listener_};f.isDone=function(){return this.collector_.isDone()};
f.isCancelled=function(){return this.delegate_.isCancelled()};f.isSuggestQuery=function(){return!this.prefix_};f.isEmailAddress=function(){null===this.isEmailAddress_&&(this.isEmailAddress_=oBc(this.prefix_));return this.isEmailAddress_};f.queryScope=function(){return this.delegate_.queryScope()};f.getResultFilter=function(){return this.filter_};var o9c=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};o9c.prototype.getFormat=function(){return this.format_};o9c.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};o9c.prototype.queryScope=function(){return this.queryScope_};var T4=function(){this.foundKeys_=new Set};U(T4,dUc);T4.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};T4.prototype.has=function(a){return this.foundKeys_.has(a)};T4.prototype.add=function(a){this.foundKeys_.add(a)};T4.prototype.reset=function(){this.foundKeys_.clear()};var p9c=function(a){this.delegate_=a;this.filter_=new T4};p9c.prototype.loadOrSkip=function(a){if(this.filter_.has(a))return null;a=this.delegate_.loadOrSkip(a);if(!a)return null;a=this.filter_.filterResult(a);if(!a)return null;for(var b=k(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};p9c.prototype.resultCount=function(){return this.delegate_.resultCount()};p9c.prototype.isDone=function(){return this.delegate_.isDone()};var q9c=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};q9c.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};q9c.prototype.resultCount=function(){return this.delegate_.resultCount()};q9c.prototype.isDone=function(){return this.delegate_.isDone()};var r9c=function(a,b){this.storage_=a;this.format_=b};r9c.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};r9c.prototype.resultCount=function(){return 0};r9c.prototype.isDone=function(){return!1};var s9c=[198,230,306,307,338,339],t9c=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)"+In(b),"g")})},xpb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=Jr(dob(b)).replace(eob,"").toUpperCase().toLowerCase(),e=d.indexOf("@");a=k(a.matchers_);for(var g=a.next();!g.done;g=a.next()){g=g.value;g.lastIndex=
0;for(var h=g.exec(d);h;h=g.exec(d)){h=h.index;if(0<=e&&h>e)break;c.push([h,g.lastIndex])}}c.sort(function(m,r){return m[0]-r[0]});for(e=c.length-1;0<e;e--)a=c[e-1],g=c[e],a[1]>=g[0]&&(a[1]=g[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(a=0;a<b.length;a++)g=b.codePointAt(a),65535<g||768<=g&&879>=g?(d.push(a),a++):s9c.includes(g)&&e.push(a);b=k(c);for(a=b.next();!a.done;a=b.next()){a=a.value;g=k(d);for(h=g.next();!h.done;h=g.next())h=h.value,h<a[0]&&a[0]++,h<a[1]&&a[1]++;g=k(e);
for(h=g.next();!h.done;h=g.next())h=h.value,h<a[0]&&a[0]--,h<a[1]&&a[1]--}}return c};var is=function(a,b){this.start_=a;this.end_=b};is.prototype.getStart=function(){return this.start_};is.prototype.getEnd=function(){return this.end_};var ypb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};ypb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};ypb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};ypb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var u9c=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new u9c(c,b)});this.matchInfo_=null};U(u9c,o0);u9c.prototype.getMemberList=function(){return this.memberList_};u9c.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=zpb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var v9c=function(a,b){this.delegate_=a;this.matcher_=new t9c(b)};v9c.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new u9c(a,this.matcher_):null};v9c.prototype.resultCount=function(){return this.delegate_.resultCount()};v9c.prototype.isDone=function(){return this.delegate_.isDone()};var w9c=/\s+/g,x9c=function(a,b){this.clientInfo_=a;this.storage_=b},l9c=function(a,b,c,d,e){var g=fob([b]);b=(b||"").replace(w9c," ").trim();var h=!g.length;var m=a.clientInfo_;m=h?d.getSuggestFormat()||m.getSuggestFormat():d.getSearchFormat()||m.getSearchFormat();h=h?Vh(a.clientInfo_,1,10):Vh(a.clientInfo_,2,10);var r=d.boostIds_;var v=d.primingTimeoutMillis_;if(r.length){r=r.map(String);var y=Hob(r)+":"+r.length;v={ids:r,cacheKey:y,primingTimeoutMillis:v}}else v=H8c;r=d.getFilter();a=new r9c(a.storage_,
m);r&&(a=new q9c(a,r,b));a=new p9c(a);a=new g9c(a,h);a=g.length?new v9c(a,g):a;d=d.getQueryScope();c=new o9c(m,c,d);return new n9c(c,b,g,a,v,e,r)};var y9c=function(a){this.fetcher=a};y9c.prototype.getStageType=function(){return 2};y9c.prototype.lookup=function(a){var b=this,c,d,e,g,h,m,r,v,y;return ne(function(A){switch(A.nextAddress){case 1:c=Bpb(l3c(a)),d=k(c),e=d.next();case 2:if(e.done){A.jumpTo(4);break}g=e.value;h=k(g);m=h.next().value;r=h.next().value;v=m;y=r;if(!v){A.jumpTo(3);break}return A.yield(b.fetcher.fetch(y,v,a.getFormat(),function(G,N){a.notify(G,[],N)},a.getOptions()),3);case 3:e=d.next();A.jumpTo(2);break;case 4:return A.return()}})};var z9c=function(a,b){this.delegate=a;this.maxLookupChunkSize=O3c(b)};z9c.prototype.fetch=function(a,b,c,d,e){var g=this,h,m,r;return ne(function(v){switch(v.nextAddress){case 1:var y=g.maxLookupChunkSize;if(a.length)if(a.length<=y)y=[a];else{for(var A=[],G=0;G<a.length;G+=y){var N=a.slice(G,G+y);N.length&&A.push(N)}y=A}else y=[];h=k(y);m=h.next();case 2:if(m.done){v.jumpTo(4);break}r=m.value;return v.yield(g.delegate.fetch(r,b,c,d,e),3);case 3:m=h.next();v.jumpTo(2);break;case 4:return v.return()}})};var A9c=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
A9c.prototype.fetch=function(a,b,c,d,e){var g=this,h,m,r,v,y,A,G,N,Q,Z,Y;return ne(function(ea){switch(ea.nextAddress){case 1:return h=3===b?4:3,m=H3((new ts).setProvenance(h),!0).setCode(0),oe(ea,2),ea.yield(g.loader.loadLookupItems(b,a.map(function(ja){return ja.getOriginalValue()}),z8c),4);case 4:r=ea.yieldResult;r.metadata.getCode()&&m.setCode(r.metadata.getCode());v=3===e.getQueryScope();try{g.indexer.store(b,r.data,r.metadata,v)}catch(ja){g.trackers.error(21,10).report(),m.setCode(13)}ht(ea,
3);break;case 2:y=re(ea),A=Number(y),m.setCode(isFinite(A)&&A?A:13);case 3:G=new Map;N=k(a);for(Q=N.next();!Q.done;Q=N.next())Z=Q.value,(Y=g.indexer.load(Z,c,e.useOriginalDisplayValue_))&&G.set(Z,Y);d(G,m);return ea.return()}})};var B9c=function(a){this.indexer=a};B9c.prototype.getStageType=function(){return 1};B9c.prototype.lookup=function(a){var b=this,c,d,e,g,h,m;return ne(function(r){c=new Map;d=[];e=k(l3c(a));for(g=e.next();!g.done;g=e.next())if(h=g.value,m=b.indexer.load(h,a.getFormat(),a.getOptions().useOriginalDisplayValue_))c.set(h,m);else{var v=b.indexer;(zBc(h)?v.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,H3((new ts).setProvenance(6),!1).setCode(0));return r.return()})};var C9c=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"),D9c=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.placeholderFactory_=spb(e);this.indexes_=P3(Vh(e,8,250),1E3*vj(e,9,3600));this.notFound_=P3(Vh(e,10,500),1E3*vj(e,11,600))};f=D9c.prototype;f.getCacheType=function(){return 3};f.flush=function(){this.indexes_.clear();this.notFound_.clear()};
f.fetch=function(a){var b=this,c,d,e;return ne(function(g){switch(g.nextAddress){case 1:c=H3(new ts,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(y8c).catch(function(){}),g.return(c);if(b.canSkipFetch_(a))return g.return(H3(c,!1));oe(g,2);return g.yield(b.loader_.loadAutocompleteItems(a,z8c),4);case 4:d=g.yieldResult;ht(g,3);break;case 2:return e=re(g),g.return(c.setCode(isFinite(e)?e:13));case 3:try{b.index(a,d.data,d.metadata)}catch(h){return g.return(c.setCode(13))}return g.return(c)}})};
f.search=function(a){return a.isSuggestQuery()?[]:this.indexes_.has(a.getPrefix())?this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector()):(a=this.placeholderFactory_.createFromQuery(a))?[a]:[]};f.index=function(a,b,c){if(!Vj(c,5))if(Xj(c,5,!0),b.length){c=h3c(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=j3c(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)}else this.notFound_.set(a.getPrefix(),a.getPrefix())};
f.canSkipFetch_=function(a){if(3===a.queryScope())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;0<a;a--){var c=b.substr(0,a);if(c.match(C9c))break;if(this.notFound_.has(c))return!0}return!1};var E9c=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_};f=E9c.prototype;f.getCacheType=function(){return 1};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return ne(function(h){switch(h.nextAddress){case 1:return c=H3(new ts,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?z8c:y8c,oe(h,2),h.yield(b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;ht(h,3);break;case 2:return g=re(h),h.return(c.setCode(isFinite(g)?g:13));case 3:try{b.index(a,e.data,e.metadata)}catch(m){c.setCode(13)}return h.return(c)}})};
f.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||O3).search(a.getTerms()).getMatches(a.getCollector()):[]};f.index=function(a,b,c){if(!Vj(c,5)){Xj(c,5,!0);a=1!==this.coalescedSortOrder_?h3c(this.ranker_,b,this.coalescedSortOrder_):null;var d=h3c(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=j3c(this.trieFactory_,d);c=a?j3c(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};var F9c=new t3c(27,32,33),G9c=new t3c(24,23,20);var H9c=function(){};H9c.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,g=a.trieFactory,h=a.prefixCaches,m=a.lookupStages,r=a.loaderFactory.ranker_,v=a.clientConfig.getClient();if(0<v.getCacheSize()){var y=aj(v,19,1);y=new E9c(e,r,g,c,y);y=new R3(y,b,G9c);h.push(y);m.push(new B9c(d))}0<Vh(v,2,10)&&(c=new D9c(e,r,g,c,v),b=new R3(c,b,F9c),h.push(b));h=new A9c(a.trackers,a.loader,a.indexer);h=new z9c(h,a.clientConfig);m.push(new y9c(h))};var I9c=function(a){this.delegate=a};f=I9c.prototype;f.warmUpSession=function(a){return this.delegate.warmUpSession(a)};f.suggest=function(a,b){this.delegate.suggest(a,b)};f.search=function(a,b,c){this.delegate.search(a,b,c)};f.cancel=function(){this.delegate.cancel()};f.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};f.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};f.getReporter=function(a){return this.delegate.getReporter(a)};
f.getSessionState=function(){return this.delegate.getSessionState()};f.getHide=function(){return this.delegate.getHide()};var J9c=function(a){this.delegate=a};f=J9c.prototype;f.warmUpCache=function(){return this.delegate.warmUpCache()};f.flushCache=function(a){this.delegate.flushCache(a)};f.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};f.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};f.beginSession=function(a){return this.delegate.beginSession(a)};var K9c=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};K9c.prototype.getId=function(){return this.id_};K9c.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var L9c=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};f=L9c.prototype;f.getIds=function(){return this.ids_};f.getIdType=function(){return this.idType_};f.getOptions=function(){return this.options_};
f.getKeys=function(){var a=this;return this.getIds().map(function(b){return new K9c(a.getIdType(),b,a.getOptions())})};f.setIds=function(a){this.ids_=a;return this};f.setIdType=function(a){this.idType_=a};f.setOptions=function(a){this.options_=a};f.clone=function(){var a=this.getIdType(),b=this.getIds(),c=this.getOptions();return new L9c(a,b,c)};var M9c=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new fZc;this.isSent_=!1};M9c.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)}};M9c.prototype.promise=function(){return this.resolver_.promise};
M9c.prototype.merge=function(a,b){var c;(c=this.isSent_)||(c=this.parameters_,c=!(a.getIdType()===c.getIdType()&&a.getOptions()===c.getOptions()));if(c||a.getIds().length+this.ids_.size>b)return!1;a=k(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var N9c=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=O3c(c);this.lastRequestCreationTime_=0};
N9c.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 M9c(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;yo(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var O9c=function(a,b){this.delegate_=a;this.inflightRequests_=d3c();this.tracker_=b};
O9c.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=k(a.getKeys()),g=e.next();!g.done;g=e.next()){g=g.value;var h=g.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(g.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 m=a.clone().setIds(d);var r=new M9c(this.delegate_,m);r.send();c.add(r);a=k(m.getKeys());for(g=a.next();!g.done;g=
a.next())this.inflightRequests_.set(g.value.getIndex(),r);r.promise().catch(function(){}).finally(function(){for(var v=k(m.getKeys()),y=v.next();!y.done;y=v.next())b.inflightRequests_.delete(y.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(v){return v.promise()})).then(function(v){return r?r.promise().then(function(y){return Cpb(v,y.metadata)}):Cpb(v)})};var P9c=function(a){this.peopleLoader_=a};P9c.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var Q9c=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};Q9c.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new P9c(this.peopleLoader_);b=new N9c(b,this.tracker_,this.clientConfig_);b=new O9c(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var R9c=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new Q9c(this.delegate_,this.trackers_,c)},S9c=function(a,b,c,d){var e,g;return ne(function(h){if(1==h.nextAddress){e=b+":"+c;if(a.searchRequests_.has(e))return a.trackers_.count(b).increment(),h.return(a.searchRequests_.get(e));g=d();a.searchRequests_.set(e,g);h.catchAddress_=0;h.finallyAddress_=2;return h.yield(g,4)}if(2!=h.nextAddress)return h.return(h.yieldResult);pe(h);a.searchRequests_.delete(e);
return qe(h,0)})};f=R9c.prototype;f.loadRankedItems=function(a){var b=this;return S9c(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};f.warmUpServer=function(a){var b=this;return S9c(this,82,"",function(){return b.delegate_.warmUpServer(a)})};f.loadAutocompleteItems=function(a,b){var c=this;return S9c(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};f.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new L9c(a,b,c))};
f.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var T9c=function(){return Date.now()},U9c=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*vj(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*vj(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};f=U9c.prototype;f.loadRankedItems=function(a){var b=a.qos;var c=this.nowFn_();1===b&&this.lastCacheFlush_+this.cacheFlushRateMillis_>c?b=!0:(this.lastCacheFlush_=c,b=!1);return b?Promise.reject(1):this.delegate_.loadRankedItems(a)};
f.warmUpServer=function(a){var b=a.qos;var c=this.nowFn_();1===b&&this.lastServerWarmup_+this.serverWarmupRateMillis_>c?b=!0:(this.lastServerWarmup_=c,b=!1);return b?Promise.reject(1):this.delegate_.warmUpServer(a)};f.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};f.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};f.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var V9c=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};f=V9c.prototype;f.suggest=function(a){a=void 0===a?this.listener_:a;this.delegate_.suggest(a,this.options_)};f.search=function(a,b){b=void 0===b?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};f.cancel=function(){this.delegate_.cancel();return this};f.getReporter=function(a){a=void 0===a?v0c:a;return this.delegate_.getReporter(a)};f.getHide=function(){return this.delegate_.getHide()};var W9c=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=tr(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};U(W9c,o0);W9c.prototype.getMemberList=function(){return this.members_};W9c.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var X9c=function(a){this.filter_=a};X9c.prototype.filterResult=function(a){var b=this;if(!tr(a.getPrimaryTarget().getId()))return a;var c=a.getMemberList().map(function(d){return b.filter_.filterResult(d)}).filter(Boolean);return 0===c.length?null:a.getMemberList().every(function(d,e){return d===c[e]})?a:new sq(new W9c(a,c))};X9c.prototype.reset=function(a){this.filter_.reset(a)};var Dpb=function(a){this.filter_=ncb(a,new X9c(a))};Dpb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};
Dpb.prototype.reset=function(a){this.filter_.reset(a)};var Y9c=function(a){this.delegate_=a};f=Y9c.prototype;f.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof I3&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};f.flushCache=function(a){this.delegate_.flushCache(a)};f.lookup=function(a,b,c){c=void 0===c?new U2c:c;c.setFilter(Epb(c.getFilter()));this.delegate_.lookup(a,b,c);return this};
f.list=function(a,b,c,d){d=void 0===d?new R2c:d;d.setFilter(Epb(d.getFilter()));this.delegate_.list(a,b,c,d);return this};f.beginSession=function(a,b){b=void 0===b?new Ar:b;b=b.clone();b.setFilter(Epb(b.getFilter()));var c=this.delegate_.beginSession(b);return new V9c(c,a,b)};var Z9c=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]]),$9c=new Map([[2,13],[3,6]]),a$c=new Map([[2,0],[0,1],[1,2],[3,3],[4,3],[5,2],[7,3],[16,3],[8,3],[9,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3]]);var b$c=new Map([[1,1],[2,3],[3,5]]),c$c=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[10,20]]),d$c=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[10,20]]),e$c=function(a,b){this.logContext_=Gpb(a,b)};f=e$c.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b,c){var d=b.source(),e=new x4;switch(d.getEventType()){case 1:d=e.setCount;b=aj(b.source(),4,0);var g=new h5c;g.setType(b);g.setValue(c);d.call(e,g);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=aj(b.source(),3,0);d=new w4;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=aj(b,2,0);g=new $4c;b.hasItemCount()&&g.setItemCount(b.getItemCount());b.hasQueryLength()&&g.setQueryLength(b.getQueryLength());b.hasLookupInfo()&&
g.setLookupInfo(b.getLookupInfo());b.hasQueryScope()&&g.setQueryScope(b.getQueryScope());g.setLabel(d);c.call(e,g);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
f.createStatusMetric=function(a,b,c){var d=b.source(),e=new x4;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var g=b.source(),h=aj(g,3,0);var m=aj(g,13,0)||0;m=$9c.get(m)||Z9c.get(c)||0;var r=b.durationUsec("blocked"),v=b.durationUsec("network"),y=b.durationUsec("processed");b=new A5c;b.setLabel(h);b.setStatus(m);b.setBlockedUsec(r);b.setLatencyUsec(v);cj(b,9,y);b.setStatusCode(c);Vh(g,12,0)&&(c=Vh(g,12,0),cj(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=
b.source();m=aj(h,2,0);g=new d5c;g.setLabel(m);g.setStatusCode(c);h.hasItemCount()&&g.setItemCount(h.getItemCount());h.hasQueryLength()&&g.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&g.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&g.setQueryScope(h.getQueryScope());0===c&&(b=b.durationUsec("total"),g.setLatencyUsec(b));c=a$c.get(c)||0;g.setStatus(c);c=h.getResultIndex();g.setResultIndex(c);if(b=h.getCacheState())c=b$c.get(p(b,2))||0,cj(g,5,c),c=b$c.get(p(b,3))||0,cj(g,6,c),c=g.setDataSource,
h=b.getSource(),b=!Vj(h,1),h=h.getProvenance(),b=(b?d$c.get(h):c$c.get(h))||0,c.call(g,b);d.call(e,g);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};
f.createLatencyMetric=function(a,b){var c=b.source();if(2!==c.getEventType())return null;var d=new x4;d.setClientInterface(a);a=d.setLatency;var e=aj(b.source(),5,0);if(37===e||38===e||40===e){e=aj(b.source(),5,0);var g=b.durationUsec("LATENCY_A");b=b.durationUsec("LATENCY_B");b=null!=g&&null!=b?g-b:NaN;g=new u4;g.setType(e);isFinite(b)&&g.setLatencyUsec(b);e=g}else b=b.durationUsec("total"),g=new u4,g.setType(e),g.setLatencyUsec(b),e=g;a.call(d,e);d.setEventType(c.getEventType());return d};
f.createErrorMetric=function(a,b){var c=b.source();if(3!==c.getEventType())return null;var d=new x4;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=aj(e,7,0);var g=new t4;g.setType(b);cj(g,4,e);a.call(d,g);d.setEventType(c.getEventType());return d};var f$c=function(a,b){this.delegate_=a;this.trackers_=b};f=f$c.prototype;f.reportDisplay=function(a){this.delegate_.reportDisplay(a)};f.reportSelect=function(a,b){b=void 0===b?new w0c:b;this.delegate_.reportSelect(a,b)};f.reportExternalSelect=function(a){this.delegate_.reportExternalSelect(a)};f.reportDeselect=function(a){this.delegate_.reportDeselect(a)};f.reportProceed=function(a){this.delegate_.reportProceed(a)};f.reportDismiss=function(){this.delegate_.reportDismiss();g$c(this)};
f.reportSave=function(a){this.delegate_.reportSave(a);g$c(this)};f.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);g$c(this)};f.reportSend=function(a){this.delegate_.reportSend(a);g$c(this)};var g$c=function(a){a=a.trackers_;var b=a.api,c=new Yr;$r(c.setEventType(6),3);b.call(a,c).call()};var h$c=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};U(h$c,I9c);
h$c.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,g=this.trackers_.api(Vob(b.getQueryScope()));g.call();this.delegate_.suggest(function(h){var m=h.getMetadata(),r=m.getCacheState();g.source.setCacheState(r);g.source.setItemCount(h.getResults().length);g.result(r.getSource().getCode());m.getIsFirstCallback()&&(d&&0===m.getCode()&&c.trackers_.error(22,19).report(),d=!0);m.getIsLastCallback()&&(e&&0===m.getCode()&&c.trackers_.error(22,20).report(),e=!0);m=c.trackers_.latency(90);m.start();
try{a(h)}catch(v){throw c.trackers_.error(22,11).report(),v;}finally{m.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
h$c.prototype.search=function(a,b,c){var d=this;try{var e=!1,g=!1,h=this.trackers_.api(Uob(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(m){var r=m.getMetadata(),v=r.getCacheState();h.source.setCacheState(v);h.source.setItemCount(m.getResults().length);h.result(v.getSource().getCode());r.getIsFirstCallback()&&(e&&0===r.getCode()&&d.trackers_.error(23,19).report(),e=!0);r.getIsLastCallback()&&(g&&0===r.getCode()&&d.trackers_.error(23,20).report(),g=!0);r=d.trackers_.latency(91);r.start();
try{b(m)}catch(y){throw d.trackers_.error(23,11).report(),y;}finally{r.stop()}},c)}catch(m){throw this.trackers_.error(23,1).report(),m;}};h$c.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new f$c(a,this.trackers_)};var i$c=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new Yr;$r(c.setEventType(6),1);b.call(a,c).call()};U(i$c,J9c);f=i$c.prototype;
f.warmUpCache=function(){var a=this,b=this.trackers_.api(Tob());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof I3?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new I3).setSource((new ts).setCode(2)));return Promise.reject(c)})};
f.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 Yr;$r(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(g){throw this.trackers_.error(17,1).report(),g;}};
f.lookup=function(a,b,c){var d=this;try{var e=!1,g=!1,h=this.trackers_.api(Rob(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(m){var r=m.getMetadata(),v=r.getCacheState();h.source.setCacheState(v);h.source.setItemCount(m.getResults().size);for(var y=0,A=0,G=0,N=k(m.getResults().keys()),Q=N.next();!Q.done;Q=N.next()){var Z=Q.value;sBc.includes(Z.getType())?y++:tBc.includes(Z.getType())?A++:uBc.includes(Z.getType())&&G++}var Y=0;N=Z=0;var ea=k(r.notFoundIdList_);for(Q=ea.next();!Q.done;Q=
ea.next())Q=Q.value,sBc.includes(Q.getType())?Y++:tBc.includes(Q.getType())?Z++:uBc.includes(Q.getType())&&N++;Q=h.source.getLookupInfo();y=dj(Q,2,y);A=dj(y,1,A);G=dj(A,3,G);G=dj(G,5,Y);G=dj(G,4,Z);dj(G,6,N);h.result(v.getSource().getCode());r.getIsFirstCallback()&&(e&&0===r.getCode()&&d.trackers_.error(8,19).report(),e=!0);r.getIsLastCallback()&&(g&&0===r.getCode()&&d.trackers_.error(8,20).report(),g=!0);r=d.trackers_.latency(89);r.start();try{b(m)}catch(ja){throw d.trackers_.error(8,11).report(),
ja;}finally{r.stop()}},c)}catch(m){throw this.trackers_.error(8,1).report(),m;}};f.list=function(a,b,c,d){var e=this;try{var g=this.trackers_.api(Sob());g.call();this.delegate_.list(a,b,function(h){var m=h.getMetadata().getCacheState();g.source.setCacheState(m);g.result(m.getSource().getCode());try{c(h)}catch(r){throw e.trackers_.error(27,11).report(),r;}},d)}catch(h){throw this.trackers_.error(27,1).report(),h;}};
f.beginSession=function(a){var b=this.trackers_,c=b.api,d=new Yr;$r(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new h$c(a,this.trackers_)};var j$c=function(a,b){this.clearcut_=a;this.logEventFactory_=b};j$c.prototype.report=function(a){var b=HBc(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=k(a);for(b=a.next();!b.done;b=a.next())IBc(this.clearcut_,b.value)};var k$c=function(a){this.clearcut_=a};k$c.prototype.report=function(a){this.clearcut_.report(a);return this};var l$c=function(a){this.writer_=a},n$c=function(a,b,c){var d=new VAc,e=a.writer_,g=d.getMetadata()||new RR;d.setMetadata(g);var h=mr(b)||new gs;a=W(b,hs,1)||new hs;e.metadataStateWriter_.write(g,h,(Vj(a,9,!0)?Vh(h,2,0):Vh(h,1,0))||0,m$c(b));e.contactInfoWriter_.write(d,a,c,h.getProvenance()||0);b=W(d,QR,4)||new QR;lj(d,QR,4,b);W(d,QR,4).setType(a.getFieldTypeOrUndefined());d.setLoggingId(Tt(a,2));return d};var o$c=function(){};
o$c.prototype.create=function(a,b,c){var d=new NR;d.setQueryId(uj(b,3,0));d.setSelectionId(uj(b,4,0));var e=uj(b,5,0);cj(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new FAc;lj(e,NR,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var g=new OR;d=NMa(vj(b,9,0)-vj(b,8,0));dj(g,2,d);d=new SR;lj(d,FAc,1,e);lj(d,OR,6,g);e=new CAc;if(g=uj(b,6,0)){cj(e,3,1E3*g);var h=1E3*(Date.now()-g);cj(e,2,h)}Xj(e,1,!!g);
lj(d,CAc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new $Ac;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var p$c=function(){};p$c.prototype.extractPersonEventSource=function(a){return Gt(Hpb(a),4)};p$c.prototype.extractFieldEventSource=function(a){return Gt(Hpb(a),3)};var q$c=function(){};q$c.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new ns;return(a.getQuery()||"").length?p(b,2):p(b,4)};q$c.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new ns;return(a.getQuery()||"").length?p(b,1):p(b,3)};var r$c=function(){};r$c.prototype.extractPersonEventSource=function(a){return Gt(Ipb(a),4)};r$c.prototype.extractFieldEventSource=function(a){return Gt(Ipb(a),3)};var s$c=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var t$c=new Map([[1,11],[2,12],[0,0]]),u$c=function(){};u$c.prototype.write=function(a,b,c){var d=new PR;dj(d,1,c);c=new PAc;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());lj(a,PAc,8,c);b=[t$c.get(b.getContext())];Cb(a,3,b,$a)};var v$c=new Map([[1,5],[2,4],[3,6],[7,13]]),w$c=function(){};w$c.prototype.write=function(a,b,c,d){var e=new PR;dj(e,1,c);a.setPosition(e);c=v$c.get(b.getProvenance())||0;d||1===aj(b,4,0)?c=3:2===aj(b,4,0)&&(c=10);Cb(a,3,[c],$a)};var x$c=new Set([9,1,2]),y$c=function(){};
y$c.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&x$c.has(d))c=new QR,1!==b.getFieldType_legacyNullable()&&7!==b.getFieldType_legacyNullable()||c.setEmail(Tt(b,3)),2!==b.getFieldType_legacyNullable()&&5!==b.getFieldType_legacyNullable()||c.setPhone(Tt(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),lj(a,QR,4,c),c=new SAc,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new RR,lj(b,SAc,2,c),a.setMetadata(b)};var z$c=function(a){var b=new y$c;this.metadataStateWriter_=a;this.contactInfoWriter_=b},m$c=function(a){var b;return(null==(b=W(a,hs,1))?0:b.getIsPlaceholder())?!0:!1};var rs=function(a){this.internalArray_=l(a)};U(rs,q);f=rs.prototype;f.getEventType=function(){return aj(this,1,0)};f.getEventType_legacyNullable=function(){return p(this,1)};f.setEventType=function(a){return cj(this,1,a)};f.getSessionState=function(){return W(this,n0,2)};f.setSessionState=function(a){lj(this,n0,2,a)};f.hasSessionState=function(){return Pj(this,n0,2)};f.setEventSources=function(a){lj(this,ns,4,a)};rs.repeatedFields_=[3];
rs.prototype.toObject=function(){if(null!=this){t(this);var a={eventType:n(p(this,1)),sessionState:YTc(this.getSessionState()),tokensList:Ub(oj(this,es,3),aUc),eventSources:m0(W(this,ns,4))}}else a=void 0;return a};var A$c=new Set([8]),B$c=function(){this.defaultEntityFactory_=new l$c(new z$c(new w$c));this.contextualEntityFactory_=new l$c(new z$c(new u$c));this.extensionFactory_=new o$c;this.defaultEventSourceExtractor_=new q$c;this.additionEventSourceExtractor_=new p$c;this.replacementEventSourceExtractor_=new r$c};
B$c.prototype.create=function(a,b){var c=b.getSessionState()||new n0,d=b.getEventType_legacyNullable();b=oj(b,es,3);var e=Jpb(b,Lpb);var g=e.get(0);b=e.get(1);e=e.get(2);g=g?[].concat(ad(Jpb(g,Kpb).values())):[];b=b?[].concat(ad(Jpb(b,Kpb).values())):[];e=e?[].concat(ad(Jpb(e,Kpb).values())):[];g=new s$c(g,b,e);b=[];var h=k(g.defaultTokenGroups_);for(e=h.next();!e.done;e=h.next())b.push.apply(b,ad(C$c(this,a,d,e.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));h=k(g.additionTokenGroups_);
for(e=h.next();!e.done;e=h.next())b.push.apply(b,ad(C$c(this,a,d,e.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));g=k(g.replacementTokenGroups_);for(e=g.next();!e.done;e=g.next())b.push.apply(b,ad(C$c(this,a,d,e.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var C$c=function(a,b,c,d,e,g,h){var m=[];e=d[0].getSessionState()||e;var r=d.map(function(y){var A=new VAc,G=h.writer_,N=A.getMetadata()||new RR;A.setMetadata(N);var Q=mr(y)||new gs,Z=W(y,hs,1)||new hs;G.metadataStateWriter_.write(N,Q,Vh(Q,2,0)||0,m$c(y));G.contactInfoWriter_.write(A,Z,c,Q.getProvenance()||0);A.setLoggingId(Tt(Z,1));y=W(A,QR,4)||new QR;lj(A,QR,4,y);y.setType(ps(Z,8));return A});m.push(D$c(a,b,c,g.extractPersonEventSource(e),r,e));r=[];d=k(d);for(var v=d.next();!v.done;v=d.next())v=
v.value,Pj(v,hs,1)&&A$c.has(W(v,hs,1).getFieldType_legacyNullable())||r.push(n$c(h,v,c));r.length&&m.push(D$c(a,b,c,g.extractFieldEventSource(e),r,e));return m},D$c=function(a,b,c,d,e,g){a=a.extensionFactory_.create(b,g,c);a.getClientInterface().setEventSource(d);rj(a,2,e);return a};var E$c=function(a,b){this.logContext_=Fpb(ks(new ls,"PeopleStore.BigBug").setLogSource(aj(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(550712998).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(ad(a.runtimeConfig_.getExperiments().getExperimentIdsList()),ad(ms?ms.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new B$c};E$c.prototype.getLogContext=function(){return this.logContext_};var F$c=function(a){this.clientConfig_=a;this.reportingCache_=new Map};F$c.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new E$c(this.clientConfig_,a),a=new k$c(new j$c(GBc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var G$c=function(a,b){this.reporting_=a;this.sharedSessionState_=b};f=G$c.prototype;f.reportDisplay=function(a){U4(this,ss(a,1))};f.reportSelect=function(a,b){b=void 0===b?new w0c:b;if(0!==b.getOriginator())for(var c=k(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Pj(d,gs,2)){var e=new gs;lj(d,gs,2,e)}d=mr(d);cj(d,4,b.getOriginator())}b=uj(this.sharedSessionState_,4,0)+1;cj(this.sharedSessionState_,4,b);U4(this,ss(a,2,this.sharedSessionState_))};
f.reportExternalSelect=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!Pj(c,gs,2)){var d=new gs;lj(c,gs,2,d)}c=mr(c);cj(c,4,2)}b=uj(this.sharedSessionState_,4,0)+1;cj(this.sharedSessionState_,4,b);U4(this,ss(a,15,this.sharedSessionState_))};f.reportDeselect=function(a){U4(this,ss(a,17,this.sharedSessionState_))};f.reportProceed=function(a){U4(this,ss(a,10,this.sharedSessionState_))};
f.reportDismiss=function(){var a=this.sharedSessionState_,b=new rs;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());U4(this,[b])};f.reportSave=function(a){U4(this,ss(a,9,this.sharedSessionState_))};f.reportSecondaryAction=function(a){U4(this,ss(a,19,this.sharedSessionState_))};f.reportSend=function(a){U4(this,ss(a,8,this.sharedSessionState_,!0))};var U4=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var V4=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;cj(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};U(V4,I9c);V4.prototype.suggest=function(a,b){var c=this;WTc(this.sharedSessionState_,uj(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");XTc(d);var e=0;this.delegate_.suggest(function(g){e=H$c(c,g.getResults(),Npb(g),d,e);a(g)},b)};
V4.prototype.search=function(a,b,c){var d=this;WTc(this.sharedSessionState_,uj(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);XTc(e);var g=0;this.delegate_.search(a,function(h){g=H$c(d,h.getResults(),Npb(h),e,g);b(h)},c)};V4.prototype.getReporter=function(a){return new G$c(this.reportingFactory_.create(a),this.sharedSessionState_)};V4.prototype.getSessionState=function(){return this.sharedSessionState_};
var H$c=function(a,b,c,d,e){var g=xAc();cj(d,9,Va(g));g=a.delegate_.getLastUpdatedTimestamp();cj(d,6,g);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=k(b);for(g=a.next();!g.done;g=a.next()){b=0;g=k(g.value.getTargetList());for(var h=g.next();!h.done;h=g.next()){h=h.value.getLoggingToken();var m=mr(h)||new gs;7!==m.getProvenance()&&m.setProvenance(c.getProvenance());dj(m,2,e);dj(m,1,b);lj(h,gs,2,m);h.setSessionState(d);b++}e++}return e};var I$c=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=gmb();this.clearcutConfig_=c};U(I$c,J9c);
I$c.prototype.lookup=function(a,b,c){this.delegate_.lookup(a,function(d){var e=Array.from(d.getResults().values()),g,h=d.getMetadata();h.getCacheState()&&(h=h.getCacheState(),h.hasSource()&&(g=h.getSource()));g=g||new ts;h=c.getOriginator();e=k(e);for(var m=e.next();!m.done;m=e.next()){m=k(m.value.getTargetList());for(var r=m.next();!r.done;r=m.next()){r=r.value.getLoggingToken();var v=mr(r)||new gs;7!==v.getProvenance()&&v.setProvenance(g.getProvenance());cj(v,4,h);lj(r,gs,2,v)}}b(d)},c)};
I$c.prototype.beginSession=function(a){var b=new n0,c=J$c(this,a);lj(b,ns,10,c);c=K$c(this,a);lj(b,qs,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new V4(a,this.reportingFactory_,b)};
var J$c=function(a,b){a=oj(a.clearcutConfig_,ns,5);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new ns},K$c=function(a,b){a=oj(a.clearcutConfig_,qs,6);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new qs};var L$c={create:function(a){var b=ob(M3c||(M3c=L3c('[[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 X3(b,a);a.runtimeConfig_.getExperiments().getProfileId()?N3c(a).getIsEnabled()?(b=ob(P3c||(P3c=Cnb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new Dnb(b,1)):b=new Br:b=new Br;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;ms=b.loadExperiments(N3c(a).getApplication(),(new Cr).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new e8c;b.cacheConfigurators_.push(new E3c);c=b;c=void 0===c?new e8c:c;b=a.getClearcut();b=new e$c(b,a.runtimeConfig_);b=Er(b);b=new m6c(b);d=new n6c(a,b);var e=c;c=a.getClient();c=new t8c(d.targetFactory_,c);var g=void 0===g?T9c:g;g=new U9c(d.loader_,a,g);g=new R9c(g,b,a);var h=[new H9c,
new m8c].concat(ad(e.cacheConfigurators_)),m=[],r=[],v=new G8c(c,a);e=new F8c(r,v,a);d={clientConfig:a,trackers:b,storage:c,indexer:v,loader:g,loaderFactory:d,trieFactory:new $8c(c,e,b),prefixCaches:m,lookupStages:r};h=k(h);for(r=h.next();!r.done;r=h.next())r.value.configure(d);d=new O8c(m);g=new T8c(a,b,d,e,new A8c(g,c),c);d=a.getClient();c=new x9c(d,c);d=a.getClient();g=new m9c(g,c,d);c=new F$c(a);a=a.getClearcut();g=new I$c(g,c,a);g=new i$c(g,b);return new Y9c(g)}};var W4=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new E.ReplaySubject(1);this.accessCheckIsThinking$=new E.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe(af(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(af(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return aG(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,E.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!d&&!e}),$e(!1));this.manageComponentLink=""};W4.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};W4.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
W4.\u0275fac=function(a){return new (a||W4)(C(PF),C($F))};
W4.\u0275cmp=Mc({type:W4,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[ed],decls:6,vars:7,consts:[[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],["notComponentReader",""],[3,"href"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),S(1,"async"),P(2,Opb,3,4,"a",1),S(3,"async"),P(4,Ppb,2,1,"ng-template",null,2,hg),I());if(a&2){var c=Lf(5);F("isReady",T(1,3,b.isReady$));B(2);F("ngIf",T(3,5,b.userIsComponentReader$))("ngIfElse",c)}},dependencies:[Ow,WK,Uw],
encapsulation:2});var X4=function(a){this.documentationLinks=a;this.showIssueMetadataContainer=!1};
wh.Object.defineProperties(X4.prototype,{issueMetadata:{configurable:!0,enumerable:!0,set:function(a){if(null==a)this.showIssueMetadataContainer=!1;else if(this.showIssueMetadataContainer=!0,this.issueId=a.issueId,this.issueLastModified=Gl(a.modifiedTime),a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId)),a=a.issueState)this.issueType=uec[a.type],this.issueStatus=Al[a.status],this.issuePriority=a.priority,this.issueSeverity=sec[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=
C$a(a.accessLimitLevel)}}});X4.\u0275fac=function(a){return new (a||X4)(C(jJ))};
X4.\u0275cmp=Mc({type:X4,selectors:[["b-access-denied-metadata"]],inputs:{issueMetadata:"issueMetadata"},decls:4,vars:1,consts:[[1,"b-access-denied"],[1,"heading-l","margin-bottom"],["class","carded margin-top",4,"ngIf"],[1,"carded","margin-top"],[3,"issuePriority"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"],[4,"ngIf"],[3,"componentId"],[3,"teamId"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"h3",1),R(2," Access is denied to this issue "),I(),P(3,Spb,40,13,
"ol",2),I());a&2&&(B(3),F("ngIf",b.showIssueMetadataContainer))},dependencies:[Ow,W4,SI,bL,Xw],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 Y4=function(){};Y4.\u0275fac=function(a){return new (a||Y4)};Y4.\u0275mod=Oc({type:Y4});Y4.\u0275inj=xc({imports:[cG,aO]});var Z4=function(){};Z4.\u0275fac=function(a){return new (a||Z4)};Z4.\u0275mod=Oc({type:Z4});Z4.\u0275inj=xc({imports:[cG,Y4,TN,XN]});var M$c=Symbol("Ue"),a5=function(a){this.ruleConfigService=a};a5.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new b5(a,c5(this.ruleConfigService)):"ENUM"===a.customField.type?new N$c(a,c5(this.ruleConfigService)):"NUMERIC"===a.customField.type?new d5(a,c5(this.ruleConfigService)):new e5(a,c5(this.ruleConfigService));else b=a.label.field,b=c5(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||f5)(a,c5(this.ruleConfigService));b[M$c](a);return b};
var rrb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};a5.\u0275fac=function(a){return new (a||a5)(u(g5))};a5.\u0275prov=wc({token:a5,factory:a5.\u0275fac,providedIn:"root"});
var O$c=["OR","AND","NAND"],P$c=["OR","NAND"],Q$c="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),R$c=["AND","OR","NAND"],S$c=["OR","LT","GT","LE","GE"],f5=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};f5.prototype[M$c]=function(a){this.initType(a);this.initValues(a)};
f5.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="OR"===a.type?a.negated?"NOR":"OR":"AND"===a.type?a.negated?"NAND":"AND":a.negated?"NAND":"OR"}else this.type=this.getLegalTypes()[0]};f5.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var T$c=function(a){var b="NAND"===a.type||"NOR"===a.type||"NDURATION"===a.type||"NRANGE"===a.type,c="EQ";if("AND"===a.type||"NAND"===a.type)var d="AND";else if("OR"===a.type||"NOR"===a.type)d="OR";else if(d="NIL","LE"===a.type||"LT"===a.type||"GE"===a.type||"GT"===a.type)c=a.type;b&&("AND"===d?d="OR":"OR"===d&&(d="AND"));return{operator:c,joinType:d,negated:b}};
f5.prototype.toString=function(){var a=T$c(this),b=this.valuesToStrings().filter(function(e){return e}),c={GT:">",LT:"<",GE:">=",LE:"<=",EQ:":"};if(1===b.length)b=b[0];else if(1<b.length)b="("+b.join("AND"===a.joinType?" ":" | ")+")";else return"";var d=U$c(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var U$c=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:bi(b).toLowerCase()+(a.label.customFieldId||"")};f5.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
f5.prototype.getWidgetType=function(){return"default"};f5.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};f5.prototype.getLegalTypes=function(){return O$c};var V$c=[],h5=function(a,b){f5.call(this,a,b);this.enumValues={}};U(h5,f5);f=h5.prototype;f.getLegalTypes=function(){return P$c};f.getWidgetType=function(){return"enum"};
f.initValues=function(a){this.enumValues={};for(var b=k(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=k(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[Tpb(b.value.simpleValues[0].value)]=!0};f.valuesToStrings=function(){return Object.keys($b(this.enumValues,function(a){return a}))};f.getOptions=function(){return V$c};var W$c=Aaa().map(function(a){return{id:"p"+a,label:"P"+a}}),X$c=function(a,b){h5.call(this,a,b)};U(X$c,h5);
X$c.prototype.getOptions=function(){return W$c};var Y$c=Aaa().map(function(a){return{id:"s"+a,label:"S"+a}}),Z$c=function(a,b){h5.call(this,a,b)};U(Z$c,h5);Z$c.prototype.getOptions=function(){return Y$c};
var $$c=[{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:"project"},{id:"feature"},{id:"milestone"},{id:"epic"},{id:"story"},{id:"task"}],aad=function(a,b){h5.call(this,a,b)};U(aad,h5);aad.prototype.getOptions=function(){return $$c};
var bad=[{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"}],cad=function(a,b){h5.call(this,a,b)};U(cad,h5);cad.prototype.getOptions=function(){return bad};
var dad=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],ead=function(a,b){h5.call(this,a,b)};U(ead,h5);ead.prototype.getOptions=function(){return dad};var N$c=function(a,b){h5.call(this,a,b);this.allowedValues=[]};U(N$c,h5);N$c.prototype[M$c]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:Tpb(b)}});h5.prototype[M$c].call(this,a)};
N$c.prototype.valuesToStrings=function(){return Object.keys($b(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};N$c.prototype.getOptions=function(){return this.allowedValues};var Cs=function(a,b){f5.call(this,a,b);this.csv=""};U(Cs,f5);Cs.prototype.getWidgetType=function(){return"csv"};Cs.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};Cs.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};
var i5=function(a,b){Cs.call(this,a,b)};U(i5,Cs);i5.prototype.getWidgetType=function(){return"id"};i5.prototype.valuesToStrings=function(){return Cs.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(di(a))})};var fad=function(a,b){Cs.call(this,a,b)};U(fad,i5);fad.prototype.getLegalTypes=function(){return P$c};var j5=function(a,b){Cs.call(this,a,b)};U(j5,Cs);j5.prototype.getWidgetType=function(){return"user"};
var k5=function(a,b){Cs.call(this,a,b)};U(k5,j5);k5.prototype.getLegalTypes=function(){return P$c};var b5=function(a,b){f5.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};U(b5,f5);var Xqb=function(a){return a&&"string"===typeof a?a:""};b5.prototype.initType=function(a){f5.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":ot(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};
b5.prototype.getWidgetType=function(){return"date"};b5.prototype.initValues=function(a){if(a.values){var b=a.values[0].simpleValues[0].value;if("DURATION"===this.type||"NDURATION"===this.type)this.duration=b.slice(0,b.length-1);else if(this.dateFrom=gad(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=gad(a.values[0].simpleValues[1].value)}};
b5.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=di(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&had(this.dateFrom)||(new ci).toIsoString(!0);var b=this.dateTo&&had(this.dateTo)||(new ci).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&had(this.dateFrom)||(new ci).toIsoString(!0)]};
var iad=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},gad=function(a){var b=new Hl(2E3);a=hi(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(y1b);if(d){var e=Number(d[2]),g=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var m=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new WA("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new WA("d",(4>=d?1-d:8-d)+(Number(m)+7*(Number(c)-
1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),g&&b.setDate(g));c=!0}else c=!1;if(c&&!(c=2>a.length)){c=a[1];a=c.match(A1b);if(a)if(c=c.substring(0,c.length-a[0].length),"Z"===a[0])var r=0;else r=60*Number(a[2])+Number(a[3]),r*="-"==a[1]?1:-1;if(h=c.match(z1b)){if(a){a=b.getYear();c=b.getMonth();m=b.getDate();d=Number(h[1]);e=Number(h[2])||0;g=Number(h[3])||0;var v=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,m,d,e,g,v);h&&(a-=126227808E5);b.setTime(a+6E4*r)}else b.setHours(Number(h[1])),
b.setMinutes(Number(h[2])||0),b.setSeconds(Number(h[3])||0),b.setMilliseconds(h[4]?1E3*Number(h[4]):0);c=!0}else c=!1}return iad(c?b:null)},had=function(a){a=a.split("/").map(Number);return(new ci(a[2],a[0]-1,a[1])).toIsoString(!0)};b5.prototype.getLegalTypes=function(){return Q$c};var l5=function(a,b){f5.call(this,a,b)};U(l5,f5);l5.prototype.getWidgetType=function(){return"bool"};
l5.prototype.initType=function(a){var b="OR"===a.type||""===a.type;a.values&&(b="true"===a.values[0].simpleValues[0].value.toLowerCase());a.negated&&(b=!b);this.type=b?"OR":"NAND"};l5.prototype.toString=function(){return U$c(this)+":"+("OR"===this.type)};l5.prototype.getLegalTypes=function(){return P$c};var m5=function(a,b){f5.call(this,a,b)};U(m5,f5);m5.prototype.getWidgetType=function(){return"boolwithall"};
m5.prototype.initType=function(a){-1===this.getLegalTypes().indexOf(a.type)?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&&"AND"!==this.type&&(this.type="OR"===this.type?"NAND":"OR")};m5.prototype.toString=function(){var a=U$c(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
m5.prototype.getLegalTypes=function(){return R$c};var e5=function(a,b){f5.call(this,a,b)};U(e5,f5);e5.prototype.getWidgetType=function(){return"text"};e5.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){b=b.simpleValues[0];var c=b.value;"QUOTED_TEXT"===b.type&&(c=c.slice(1,c.length-1));return{value:c}})};e5.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var jad=function(a,b){f5.call(this,a,b)};U(jad,f5);jad.prototype.getWidgetType=function(){return"component"};jad.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};ot(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};jad.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var kad=function(a,b){f5.call(this,a,b)};U(kad,f5);kad.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};ot(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};kad.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var lad=function(a,b){f5.call(this,a,b)};U(lad,f5);lad.prototype.getWidgetType=function(){return"tracker"};
var mad=function(a,b){f5.call(this,a,b)};U(mad,kad);mad.prototype.getWidgetType=function(){return"team"};var nad=function(a,b){f5.call(this,a,b)};U(nad,f5);nad.prototype.getWidgetType=function(){return"hotlist"};var oad=function(a,b){f5.call(this,a,b)};U(oad,f5);oad.prototype.getWidgetType=function(){return"savedsearch"};var d5=function(a,b){Cs.call(this,a,b)};U(d5,Cs);d5.prototype.getWidgetType=function(){return"number"};d5.prototype.getLegalTypes=function(){return S$c};
var pad=function(a,b){b5.call(this,a,b)};U(pad,b5);pad.prototype.initType=function(a){b5.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var n5={},qad=(n5.ATTACHMENT={ruleCtor:e5,name:"Attachment name"},n5.COMMENT={ruleCtor:e5},n5.TITLE={ruleCtor:e5},n5.ASSIGNEE={ruleCtor:k5},n5.MODIFIER={ruleCtor:j5},n5.REPORTER={ruleCtor:k5},n5.VERIFIER={ruleCtor:k5},n5.CC={ruleCtor:j5},n5.COMPONENT_ID={ruleCtor:jad,name:"Component"},n5.TRACKER_ID={ruleCtor:lad,name:"Tracker"},n5.TYPE={ruleCtor:aad},n5.STATUS={ruleCtor:cad},n5.PRIORITY={ruleCtor:X$c},n5.SEVERITY={ruleCtor:Z$c},n5.BLOCKED_BY_ID={ruleCtor:i5},n5.BLOCKING_ID={ruleCtor:i5},n5.PARENT_ID=
{ruleCtor:i5},n5.CANONICAL_ID={ruleCtor:fad},n5.ID={ruleCtor:fad},n5.FOUND_IN={ruleCtor:Cs},n5.TARGETED_TO={ruleCtor:Cs},n5.VERIFIED_IN={ruleCtor:Cs},n5.CL={ruleCtor:Cs,name:"Changelists"},n5.MODIFIED={ruleCtor:b5},n5.RESOLVED={ruleCtor:pad},n5.CREATED={ruleCtor:b5},n5.VERIFIED={ruleCtor:pad},n5.DELETION_TIME={ruleCtor:b5,name:"Deletion time"},n5.SAVED_SEARCH_ID={ruleCtor:oad,name:"Saved search"},n5.HOTLIST_ID={ruleCtor:nad,name:"Hotlist"},n5.STAR={ruleCtor:l5,name:"Starred"},n5.MUTE={ruleCtor:l5,
name:"Muted"},n5.IN_PROD={ruleCtor:l5,name:"In production"},n5.CC_COUNT={ruleCtor:d5},n5.DUPLICATE_COUNT={ruleCtor:d5},n5.VOTE_COUNT={ruleCtor:d5},n5.COMMENT_COUNT={ruleCtor:d5},n5.LAST_MODIFIER={ruleCtor:k5,name:"Last Modified By"},n5.COMMENTER={ruleCtor:j5},n5.LAST_COMMENTER={ruleCtor:k5},n5.ARCHIVED={ruleCtor:m5},n5.IS_DELETED={ruleCtor:l5,name:"Deleted",queryLabel:"deleted"},n5.DELETION_REASON={ruleCtor:ead,name:"Deletion reason"},n5._TEXT_={ruleCtor:e5,queryLabel:"",name:"All fields"},n5),rad=
Object.assign({},qad,{EFFORT_LABEL:{ruleCtor:Cs},MENTION:{ruleCtor:j5},MIN_SLO_TARGET:{ruleCtor:b5,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:Cs,name:"Postmortems"},TEAM_ID:{ruleCtor:mad,name:"Team"}}),g5=function(a){this.activeSession=a},c5=function(a){return a.activeSession.isExternalSession()?qad:rad};g5.\u0275fac=function(a){return new (a||g5)(u(bt))};g5.\u0275prov=wc({token:g5,factory:g5.\u0275fac,providedIn:"root"});var sad=function(a){this.internalArray_=l(a)};U(sad,q);f=sad.prototype;f.getField=function(){return aj(this,1,0)};f.setField=function(a){cj(this,1,a)};f.getCustomFieldId=function(){return Ki(this,2)};f.setCustomFieldId=function(a){cj(this,2,a)};f.hasCustomFieldId=function(){return Ji(this,2)};f.toObject=function(){return tad(this)};var tad=function(a){if(null!=a)return t(a),{field:n(p(a,1)),customFieldId:n(p(a,2))}};var Zpb=function(a){this.internalArray_=l(a)};U(Zpb,q);f=Zpb.prototype;f.getType=function(){return aj(this,1,0)};f.setType=function(a){return cj(this,1,a)};f.hasType=function(){return tj(this,1)};f.getValue=function(){return V(this,2)};f.setValue=function(a){return uk(this,2,a)};f.hasValue=function(){return Jk(this,2)};f.toObject=function(){return uad(this)};var uad=function(a){if(null!=a)return t(a),{type:n(p(a,1)),value:n(X(a,2))}};var o5=function(a){this.internalArray_=l(a)};U(o5,q);f=o5.prototype;f.getType=function(){return aj(this,1,0)};f.setType=function(a){return cj(this,1,a)};f.hasType=function(){return tj(this,1)};f.getValuesList=function(){return oj(this,o5,2)};f.setValuesList=function(a){rj(this,2,a)};f.setValues=function(a,b){zt(this,2,o5,a,b)};o5.repeatedFields_=[2,3];o5.prototype.toObject=function(){return vad(this)};
var vad=function(a){if(null!=a)return t(a),{type:n(p(a,1)),valuesList:Ub(a.getValuesList(),vad),simpleValuesList:Ub(oj(a,Zpb,3),uad)}};var xs=function(a){this.internalArray_=l(a)};U(xs,q);f=xs.prototype;f.getType=function(){return aj(this,1,0)};f.setType=function(a){return cj(this,1,a)};f.hasType=function(){return tj(this,1)};f.getValuesList=function(){return oj(this,o5,2)};f.setValuesList=function(a){rj(this,2,a)};f.setValues=function(a,b){zt(this,2,o5,a,b)};f.getLabel=function(){return W(this,sad,4)};f.setLabel=function(a){return lj(this,sad,4,a)};f.hasLabel=function(){return Pj(this,sad,4)};xs.repeatedFields_=[2];
xs.prototype.toObject=function(){return wad(this)};var wad=function(a){if(null!=a)return t(a),{type:n(p(a,1)),valuesList:Ub(a.getValuesList(),vad),negated:n(Ur(a,3)),label:tad(a.getLabel()),operator:n(p(a,5))}};var ws=function(a){this.internalArray_=l(a,0,ws.messageId)};U(ws,q);ws.prototype.getType=function(){return aj(this,1,0)};ws.prototype.setType=function(a){return cj(this,1,a)};ws.prototype.hasType=function(){return tj(this,1)};ws.repeatedFields_=[2];ws.prototype.toObject=function(){return xad(this)};var xad=function(a){if(null!=a)return t(a),{type:n(p(a,1)),expressionsList:Ub(oj(a,xs,2),wad)}};ws.messageId="b.QueryBuilderResponse";var us=function(a){this.internalArray_=l(a,0,us.messageId)};U(us,q);us.prototype.toObject=function(){return yad(this)};var yad=function(a){if(null!=a)return t(a),{syntaxError:n(X(a,1))}};us.messageId="b.SyntaxErrorResponse";var p5=function(a){this.internalArray_=l(a,0,p5.messageId)};U(p5,q);p5.prototype.getKindCase=function(){return Oi(this,vs)};var vs=[1,2];p5.prototype.toObject=function(){if(null!=this){t(this);var a={queryBuilderResponse:xad(fk(this,ws,1,vs)),syntaxErrorResponse:yad(fk(this,us,2,vs))}}else a=void 0;return a};p5.messageId="b.QueryBuilderResponseOrError";var q5=function(a){this.executor=a},zad=function(a,b){b=gm(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:p5}).then(eqb).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(Upb)});return c})};q5.\u0275fac=function(a){return new (a||q5)(u(xD))};q5.\u0275prov=wc({token:q5,factory:q5.\u0275fac,providedIn:"root"});var r5=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new pw;this.onEmptyQuery=new pw;this.searchQuery$=new E.Subject;this.teamSuggestions$=this.searchQuery$.pipe(Ke(300),Ne(),af(function(c){return xI(b.teamsService,c)}),D(function(c){return c.map(function(d){return new gqb(d.pathIds,d.pathNames,d.description)})}))};r5.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
r5.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};r5.prototype.displayFn=function(a){return a?a.name:""};r5.prototype.ngAfterViewInit=function(){};r5.\u0275fac=function(a){return new (a||r5)(C(vI))};
r5.\u0275cmp=Mc({type:r5,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&cg(FP,7);if(a&2){var c;bg(c=eg())&&(b.autocompleteTrigger=c.first)}},inputs:{teamSelected:"teamSelected",placeholder:"placeholder",panelWidth:"panelWidth",disabled:"disabled"},outputs:{onTeamSelect:"onTeamSelect",onEmptyQuery:"onEmptyQuery"},decls:7,vars:10,consts:[[1,"team-id-select"],["id","team-id","matInput","","type","text","autocomplete","off","aria-label","Team selection",3,"placeholder","ngModel","disabled",
"matAutocomplete","click","input"],["searchInput",""],[3,"panelWidth","displayWith","optionSelected"],["auto","matAutocomplete"],["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,"matTooltip","click"],["class","path-names-separator",4,"ngIf"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=w();H(0,"div",0)(1,"input",1,2);M("click",function(){x(c);var e=Lf(2);return z(b.search(e.value))})("input",
function(){x(c);var e=Lf(2);return z(b.search(e.value))});I();H(3,"mat-autocomplete",3,4);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});P(5,jqb,6,8,"mat-option",5);S(6,"async");I()()}if(a&2){var d=Lf(4);B(1);Jf("placeholder",b.placeholder);F("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",d);pf("aria-disabled",b.disabled);B(2);F("panelWidth",b.panelWidth)("displayWith",b.displayFn);B(2);F("ngForOf",T(6,8,b.teamSuggestions$))}},dependencies:[Nw,Ow,GP,FP,sA,
tC,xg,ox,ux,Uw,ax],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);.path-names-separator-font-size:.8125rem;.path-names-separator-font-weight:500}.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}"],
changeDetection:0});var gqb=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 Aad(a.slice(0,e+1),b.slice(0,e+1))})},Aad=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var s5=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new pw;this.searchQuery$=new E.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(Ke(300),Ne(),af(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),D(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};s5.prototype.ngAfterViewInit=function(){};s5.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
s5.prototype.search=function(a){this.searchQuery$.next(a)};s5.\u0275fac=function(a){return new (a||s5)(C(EI))};
s5.\u0275cmp=Mc({type:s5,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&cg(FP,7);if(a&2){var c;bg(c=eg())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},decls:6,vars:9,consts:[["id","tracker-id","type","text","autocomplete","off","aria-label","Tracker selection",3,"placeholder","ngModel","disabled","matAutocomplete","click","input"],["trackerSearchInput",""],[3,"displayWith",
"optionSelected"],["auto","matAutocomplete"],["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=w();H(0,"input",0,1);M("click",function(){x(c);var e=Lf(1);return z(b.search(e.value))})("input",function(){x(c);var e=Lf(1);return z(b.search(e.value))});I();H(2,"mat-autocomplete",2,3);M("optionSelected",function(e){return b.updateSelectionOnChange(e)});P(4,kqb,3,2,"mat-option",4);S(5,"async");
I()}if(a&2){var d=Lf(3);F("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",d);pf("aria-disabled",b.disabled);B(2);F("displayWith",b.displayFn);B(2);F("ngForOf",T(5,7,b.trackerSuggestions$))}},dependencies:[Nw,GP,FP,sA,xg,ox,ux,Uw],styles:[".tracker-search-result.mat-option[_ngcontent-%COMP%]{line-height:normal;height:auto;padding:0 8px}.tracker-search-result.mat-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 t5=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z){GE.call(this);this.analytics=a;this.userApi=b;this.customFieldsApi=c;this.savedSearchApi=d;this.hotlistApi=e;this.trackerFridge=g;this.issueSearchResources=h;this.activeSession=m;this.elementRef=r;this.errorHandler=v;this.componentActions=y;this.teamsService=A;this.searchRuleConfigService=G;this.searchRuleFactory=N;this.cdr=Q;this.currentTracker=Z;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(Y){return Y};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=Bad;this.globalTypeLabels=Cad;this.state="INIT"};U(t5,GE);t5.\u0275dir=GE.\u0275dir;
var Dad=function(a){var b=[];Zb(c5(a.searchRuleConfigService),function(c,d){"SAVED_SEARCH_ID"===d||"TRACKER_ID"===d&&!a.isTrackerSearchEnabled||"TEAM_ID"===d&&!a.sessionIsInternal||(c.name?b.push([d,c.name]):b.push([d,FBa(d)]))},a);b.sort(function(c,d){return xaa(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};t5.prototype.schedule=function(a){this.subscriptions.add(E.asyncScheduler.schedule(a))};t5.prototype.ngOnInit=function(){this.cdr.detectChanges()};
t5.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=Dad(this))};
var Gad=function(a,b){a.reset();b?Ead(a,b):(a.expressions=Fad.map(function(c){return rrb(a.searchRuleFactory,c)}),a.state="SUCCESS");a.userApi.getUserSavedSearches().then(function(c){a.userSavedSearches=c;c=k(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});a.userApi.getUserHotlists().then(function(c){a.userHotlists=c;c=k(a.userHotlists);for(var d=c.next();!d.done;d=c.next())d=d.value,a.hotlists[d.hotlistId]=d;a.cdr.detectChanges()});
a.cdr.detectChanges()},Ead=function(a,b){zad(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 Had(a,d)});return Promise.all(c).then(function(d){if(d.every(function(g){return!!g})){a.state="SUCCESS";d=k(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state="NOT_REPRESENTABLE",
a.analytics.trackEvent("adv-search","adv-search-not-rep-error");a.cdr.detectChanges()})}).catch(function(c){a.state="SERVER_ERROR";a.errorHandler.errorHandler(null,c);a.cdr.detectChanges()})},Had=function(a,b){b.label&&"TRACKER_ID"===b.label.field&&!a.isTrackerSearchEnabled&&(b.label.field="_TEXT_");b.label&&"TEAM_ID"===b.label.field&&!a.sessionIsInternal&&(b.label.field="_TEXT_");return b.label&&"CUSTOM_FIELD"===b.label.field&&void 0!==b.label.customFieldId?Iad(a,b.label.customFieldId).then(function(c){b.customField=
c;return Jad(a,b)}):Promise.resolve(Jad(a,b))},Iad=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},Jad=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;Kad(a,b);return b},Kad=function(a,b){switch(b.label.field){case "COMPONENT_ID":var c=k(b.values);for(b=c.next();!b.done;b=c.next())b=li(b.value.value),a.components[b]||a.fetchComponent(b);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(c=
k(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.trackers[b]||Lad(a,b);break;case "TEAM_ID":if(a.sessionIsInternal)for(c=k(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.teams[b]||Mad(a,b);break;case "SAVED_SEARCH_ID":c=k(b.values);for(b=c.next();!b.done;b=c.next())b=b.value,a.savedSearches[b.value]||a.savedSearchApi.get(b.value).then(function(d){a.savedSearches[d.searchId]=d});break;case "HOTLIST_ID":for(c=k(b.values),b=c.next();!b.done;b=c.next())b=b.value,a.hotlists[b.value]||
a.hotlistApi.get(b.value).then(function(d){a.hotlists[d.hotlistId]=d})}};t5.prototype.fetchComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.currentTracker.inTracker&&c.trackerId!==b.currentTracker.getTrackerId()||(b.components[a]=c)})};
var Lad=function(a,b){a.trackerFridge.watch(b).pipe(bf(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},Mad=function(a,b){xI(a.teamsService,b).pipe(Ie(function(){return(0,E.of)([])}),bf(a.destroyed$)).subscribe(function(c){0<c.length?(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:""}})},Nad=function(a){var b="AND"===a.expressionType?" ":" | ";return kNb(a.expressions.map(function(c){return c.label?
c.toString():""}),mTb).join(b)};t5.prototype.getState=function(){return this.state};t5.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var urb=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=rrb(a.searchRuleFactory,d.field),srb(a,a.expressions[b]));a.cdr.detectChanges()},srb=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c?zs(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=iad(new ci)),b.dateTo||(b.dateTo=iad(new ci)))};t5.prototype.removeExpression=function(a){qa(this.expressions,a);this.cdr.detectChanges()};
var zs=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?Aqb(a,c):"TRACKER_ID"===b.label.field?Hqb(a,c):"TEAM_ID"===b.label.field?Oqb(a,c):Bs(a,c);a.cdr.detectChanges()},ys=function(a,b,c){qa(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()},Bs=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},Aqb=function(a,b){Bs(a,b);a.componentUnderEdit=b.value?Zh(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},
Hqb=function(a,b){Bs(a,b);a.trackerUnderEdit=b.value?Zh(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},Oqb=function(a,b){Bs(a,b);a.teamUnderEdit=b.value?Zh(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},As=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},Qqb=function(a,b){a.analytics.trackEvent(io.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;As(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};t5.prototype.getTypeLabel=function(a,b){var c,d;return(null==(c=this.typeLabels[a.label.field])?void 0:c[b])||(null==(d=this.typeLabels[a.getWidgetType()])?void 0:d[b])||this.typeLabels.DEFAULT[b]};
t5.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||a:""};t5.prototype.getComponentPath=function(a){if(!a)return"";var b=Ds(this.currentTracker,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var Cad={AND:"Match all (AND)",OR:"Match any (OR)"},Bad={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"}},Fad=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];t5.\u0275fac=function(a){return new (a||t5)(C(TH),C(BH),C(vG),C(jI),C(sH),C(EI),C(q5),C(bt),C(Bd),C(oG),C(MU),C(vI),C(g5),C(a5),C(PH,2),C(eL))};
t5.\u0275cmp=Mc({type:t5,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[Pf([PH]),lf,ed],decls:1,vars:1,consts:[["class","bv2-adv-search",4,"ngIf"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title"],["appearance","outline",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"],["newExpressionMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["appearance","outline"],[1,"bv2-adv-search-join-type",3,"ngModel","ngModelChange"],[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,"ngModel","ngModelChange","selectionChange"],["aria-label","Delete search rule",1,"bv2-remove-icon","keep-focus-ring",
"bv2-adv-search-rule-delete-btn",3,"click"],["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"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-rule-content"],["class","bv2-adv-search-enum-rule",4,"ngIf"],[4,"ngIf"],["class","bv2-adv-search-chip-container",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",
4,"ngFor","ngForOf"],[1,"bv2-adv-search-enum-item"],[3,"checked","change"],["type","text","aria-label","Add one or more user names, separated by comma","placeholder","One or more user names, comma-separated",3,"ngModel","bContactAutocomplete","ngModelChange"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModel","ngModelChange"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModel",
"ngModelChange"],["type","text","aria-label","Add the condition",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-chip-container"],["class","bv2-adv-search-chip bv2-adv-search-chip-text",4,"ngFor","ngForOf"],["mat-stroked-button","","class","bv2-adv-search-chip-add-btn",3,"click",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-chip-text"],[1,"bv2-adv-search-chip-content"],["aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],["mat-stroked-button","",
1,"bv2-adv-search-chip-add-btn",3,"click"],[4,"ngFor","ngForOf"],["class","bv2-adv-search-chip bv2-adv-search-component-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-component-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"],["role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"title","click"],[3,"svgIcon"],["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,"title","click"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-search-component-picker",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["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,"selectedTracker","onTrackerSelect"],["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,"title","click"],[1,"bv2-search-team-picker",3,"teamSelected","onTeamSelect"],[3,"boundValue","isRequired","boundValueChange"],["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModel","ngModelChange"],["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",4,"ngIf"],["appearance","outline",1,"bv2-adv-search-bookmark-item-form-field"],["placeholder","Select hotlist",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],[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&&P(0,xrb,11,6,"div",0);a&2&&F("ngIf","SUCCESS"===b.getState())},dependencies:[Nw,Ow,bB,wS,vZ,xg,ox,Gx,ux,G_,qA,QA,lC,jC,kC,iP,sA,BO,r5,s5,SU,Zw,mmc],styles:['[_nghost-%COMP%]     .mat-form-field-infix{width:unset;min-width:105px;border:0}[_nghost-%COMP%]     .mat-select-value{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%]     mat-select .mat-select-arrow-wrapper{transform:unset}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0;padding:0}[_nghost-%COMP%]     .bv2-custom-field-picker{width:unset}.mat-form-field[_ngcontent-%COMP%]{margin-right:5px;text-align:center}.bv2-adv-search-rule-type[_ngcontent-%COMP%]{min-width:105px}.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%}']});var u5=function(){};u5.\u0275fac=function(a){return new (a||u5)};u5.\u0275mod=Oc({type:u5});u5.\u0275inj=xc({imports:[cG,HP,fP,uD,Jx]});var v5=function(){};v5.\u0275fac=function(a){return new (a||v5)};v5.\u0275mod=Oc({type:v5});v5.\u0275inj=xc({imports:[cG,HP,fP,uD,Jx]});var w5=function(){};w5.\u0275fac=function(a){return new (a||w5)};w5.\u0275mod=Oc({type:w5});w5.\u0275inj=xc({imports:[cG,xS,wZ,Jx,J_,QC,RA,UA,mC,jP,fP,aK,u5,v5,JW]});var Oad=function(a){this.internalArray_=l(a)};U(Oad,q);f=Oad.prototype;f.getExperimentId=function(){return Vh(this,1)};f.getState=function(){return aj(this,2,0)};f.getTitle=function(){return V(this,4)};f.setTitle=function(a){return uk(this,4,a)};f.getDescription=function(){return V(this,5)};f.setDescription=function(a){return uk(this,5,a)};f.hasDescription=function(){return Jk(this,5)};f.toObject=function(){return Pad(this)};
var Pad=function(a){if(null!=a)return t(a),{experimentId:n(Ft(a,1)),state:n(p(a,2)),userGroup:n(p(a,3)),title:n(X(a,4)),description:n(X(a,5)),learnMoreLink:n(X(a,6))}};var x5=function(a){this.internalArray_=l(a,0,x5.messageId)};U(x5,q);x5.repeatedFields_=[1];x5.prototype.toObject=function(){if(null!=this){t(this);var a={featuresList:Ub(oj(this,Oad,1),Pad)}}else a=void 0;return a};x5.messageId="b.ListBeapFeaturesResponse";var y5=function(a){this.executor=a};y5.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:x5}).pipe(D(function(a){var b;return(null!=(b=oj(a,Oad,1))?b:[]).map(Arb)}))};y5.\u0275fac=function(a){return new (a||y5)(u(wD))};y5.\u0275prov=wc({token:y5,factory:y5.\u0275fac,providedIn:"root"});var z5=function(a){BF.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};U(z5,BF);z5.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(D(function(a){return{results:a}}))};z5.\u0275fac=function(a){return new (a||z5)(u(y5))};z5.\u0275prov=wc({token:z5,factory:z5.\u0275fac,providedIn:"root"});var A5=function(a){this.beapFridge=a};A5.prototype.getFeature=function(a){return Qad(this,"ALL").pipe(D(function(b){return b.find(function(c){return c.experimentId===a})}))};var Qad=function(a,b){b=void 0===b?"ALL":b;var c="ALL"===b,d="TEAM_FOOD"===b?"USER_GROUP_BUGANIZER_TEAM":"USER_GROUP_TRUSTED_TESTER";return a.beapFridge.watchMany({}).pipe(D(function(e){return e.results.filter(function(g){return c?!0:g.userGroup===d})}))};A5.prototype.refresh=function(){this.beapFridge.pokeMany({})};
A5.\u0275fac=function(a){return new (a||A5)(u(z5))};A5.\u0275prov=wc({token:A5,factory:A5.\u0275fac,providedIn:"root"});var B5=function(){};B5.\u0275fac=function(a){return new (a||B5)};
B5.\u0275cmp=Mc({type:B5,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),P(1,Brb,1,0,"div",1),P(2,Crb,1,0,"div",2),L());a&2&&(F("ngSwitch",b.featureStage),B(1),F("ngSwitchCase","TEAM_FOOD"),B(1),F("ngSwitchCase","EARLY_ACCESS"))},dependencies:[Pw,Qw],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var C5=function(a){var b=this;this.beapService=a;this.experimentId$=new E.ReplaySubject(1);this.featureState$=this.experimentId$.pipe(af(function(c){return b.beapService.getFeature(c)}));this.featureStage$=this.featureState$.pipe(D(function(c){if(!c)return"UNKNOWN";c=c.userGroup;return"USER_GROUP_BUGANIZER_TEAM"===c?"TEAM_FOOD":"USER_GROUP_TRUSTED_TESTER"===c?"EARLY_ACCESS":"UNKNOWN"}))};C5.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};C5.prototype.ngOnInit=function(){};
C5.\u0275fac=function(a){return new (a||C5)(C(A5))};C5.\u0275cmp=Mc({type:C5,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[ed],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(J(0,"b-feature-stage-label",0),S(1,"async"));if(a&2){var c;F("featureStage",null!==(c=T(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[B5,Uw],encapsulation:2});var D5=function(){};D5.\u0275fac=function(a){return new (a||D5)};D5.\u0275mod=Oc({type:D5});D5.\u0275inj=xc({imports:[cG]});var E5=function(){};E5.\u0275fac=function(a){return new (a||E5)};E5.\u0275mod=Oc({type:E5});E5.\u0275inj=xc({imports:[cG,D5]});var F5=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},Drb=function(a){go(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};F5.\u0275fac=function(a){return new (a||F5)(C(LK))};
F5.\u0275cmp=Mc({type:F5,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,"matTooltip","click"],[3,"svgIcon"],["mat-menu-item",
"","aria-label","Open release notes in a new tab",3,"click"]],template:function(a,b){a&1&&(P(0,Erb,3,3,"button",0),P(1,Frb,2,1,"button",1));a&2&&(F("ngIf",!b.menuMode),B(1),F("ngIf",b.menuMode))},dependencies:[Ow,bB,qA,jC,tC],styles:["[_nghost-%COMP%] { display: flex; }"]});var G5=function(a,b,c){GE.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.density="COMFORTABLE";this.enableWhatsNewDialog=EE(a,"enableWhatsNewDialog");this.enableBeap=EE(a,"enableBeap")};U(G5,GE);G5.\u0275dir=GE.\u0275dir;f=G5.prototype;f.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(bf(this.destroyed$)).subscribe(function(b){if(null==b?0:b.themePreferences)a.density=b.themePreferences.density})};f.setDensity=function(a){this.appsEvents.topBarEvents.setDensity.next(a)};
f.browseComponents=function(a){this.appsEvents.topBarEvents.browseComponents.next({newTab:a.ctrlKey||a.metaKey})};f.manageHotlists=function(a){this.appsEvents.topBarEvents.manageHotlists.next({newTab:a.ctrlKey||a.metaKey})};f.manageSlos=function(a){this.appsEvents.topBarEvents.manageSlos.next({newTab:a.ctrlKey||a.metaKey})};f.showSettings=function(a){this.appsEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey})};G5.\u0275fac=function(a){return new (a||G5)(C(bt),C(sG),C(qJ))};
G5.\u0275cmp=Mc({type:G5,selectors:[["b-app-settings-menu"]],features:[lf],decls:28,vars:13,consts:[["mat-icon-button","","matTooltip","Settings","aria-label","Settings",1,"gmat-button",3,"disabled","matMenuTriggerFor"],["svgIcon","settings-outline",1,"icon-m"],["settingsMenu","matMenu"],[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){a&
1&&(H(0,"button",0),J(1,"mat-icon",1),I(),H(2,"mat-menu",null,2)(4,"div",3),R(5,"Display Density"),I(),H(6,"button",4),M("click",function(){return b.setDensity("COMFORTABLE")}),H(7,"span",5),J(8,"mat-icon",6),I(),R(9," Comfortable "),I(),H(10,"button",7),M("click",function(){return b.setDensity("COZY")}),H(11,"span",5),J(12,"mat-icon",6),I(),R(13," Cozy "),I(),H(14,"button",8),M("click",function(){return b.setDensity("COMPACT")}),H(15,"span",5),J(16,"mat-icon",6),I(),R(17," Compact "),I(),J(18,"mat-divider"),
H(19,"button",9),M("click",function(d){return b.browseComponents(d)}),R(20,"Browse components"),I(),H(21,"button",9),M("click",function(d){return b.manageHotlists(d)}),R(22,"Manage hotlists"),I(),P(23,Grb,2,0,"button",10),H(24,"button",9),M("click",function(d){return b.showSettings(d)}),R(25,"Settings"),I(),P(26,Hrb,3,0,"a",11),P(27,Irb,3,1,"ng-container",12),I());if(a&2){var c=Lf(3);F("disabled",b.session.isAnonymous())("matMenuTriggerFor",c);B(6);yf("b-menu-item-checked","COMFORTABLE"===b.density);
pf("aria-checked","COMFORTABLE"===b.density);B(4);yf("b-menu-item-checked","COZY"===b.density);pf("aria-checked","COZY"===b.density);B(4);yf("b-menu-item-checked","COMPACT"===b.density);pf("aria-checked","COMPACT"===b.density);B(12);F("ngIf",b.enableBeap);B(1);F("ngIf",b.enableWhatsNewDialog)}},dependencies:[Ow,bB,lC,jC,kC,qA,xM,tC,F5,EQ,B5],encapsulation:2,changeDetection:0});var H5=function(a){this.theme=a;this.isDark=!1;this.iconName="brightness-4"};H5.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();Rad(this)};var Rad=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"brightness-4"};H5.\u0275fac=function(a){return new (a||H5)(C(yQ))};
H5.\u0275cmp=Mc({type:H5,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&&(H(0,"button",0),M("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&c.clientStreamzService.logUsageMetric("toggleDarkmode",!c.clientDarkmodeSubject.getValue());Yvc(c,!c.clientDarkmodeSubject.getValue());
Rad(b)}),J(1,"mat-icon",1),I());a&2&&(B(1),F("svgIcon",b.iconName))},dependencies:[bB,qA,tC],encapsulation:2});var Sad=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=EE(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=EE(a,"majorReleaseNotesUpdated")};Sad.\u0275fac=function(a){return new (a||Sad)(C(bt),C(zQ),C(LK),C(jJ))};
Sad.\u0275cmp=Mc({type:Sad,selectors:[["b-app-actions"]],decls:6,vars:1,consts:[["id","whatsNewButton",3,"alertMode",4,"ngIf"],["mat-icon-button","","class","gmat-button feedback-button","matTooltip","Send feedback","aria-label","send feedback",3,"click",4,"internalOnly"],["mat-icon-button","","matTooltip","Help","aria-label","help",1,"gmat-button",3,"click"],["svgIcon","help-outline"],["id","whatsNewButton",3,"alertMode"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",
1,"gmat-button","feedback-button",3,"click"],["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(J(0,"theme-change-btn"),P(1,Jrb,1,1,"b-whats-new-button",0),P(2,Krb,2,0,"button",1),H(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)}),J(4,"mat-icon",3),I(),J(5,"b-app-settings-menu"));a&2&&(B(1),F("ngIf",b.enableWhatsNewDialog))},
dependencies:[Ow,bB,qA,tC,F5,EQ,H5,G5],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 Tad=function(a,b){this.currentTracker=a;this.appSearchState=b;this.isTrackerExpanded=!1};Tad.\u0275fac=function(a){return new (a||Tad)(C(eL),C(KX))};
Tad.\u0275cmp=Mc({type:Tad,selectors:[["tracker-switcher"]],inputs:{associatedTrackers:"associatedTrackers"},decls:7,vars:3,consts:[["mat-icon-button","","matTooltip","Tracker menu",1,"tracker-menu-button",3,"matMenuTriggerFor","menuOpened","menuClosed"],["svgIcon","arrow-dropdown"],["xPosition","before"],["trackerMenu","matMenu"],[1,"tracker-menu-label"],["mat-menu-item","","role","menuitemcheckbox",3,"value","click",4,"ngFor","ngForOf"],["mat-menu-item","","role","menuitemcheckbox",3,"value","click"],
["alt","Tracker Logo Image",1,"tracker-menu-item-logo",3,"src"],[1,"tracker-menu-item-name"]],template:function(a,b){a&1&&(H(0,"button",0),M("menuOpened",function(){return b.isTrackerExpanded=!0})("menuClosed",function(){return b.isTrackerExpanded=!1}),J(1,"mat-icon",1),I(),H(2,"mat-menu",2,3)(4,"span",4),R(5,"Select a tracker"),I(),P(6,Lrb,4,4,"button",5),I());if(a&2){var c=Lf(3);F("matMenuTriggerFor",c);pf("aria-label",b.isTrackerExpanded?"Expanded tracker menu":"Collapsed tracker menu");B(6);F("ngForOf",
b.associatedTrackers)}},dependencies:[Nw,bB,qA,lC,jC,kC,tC],styles:[".tracker-menu-button[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx)}mat-icon[_ngcontent-%COMP%]{line-height:0}.tracker-menu-label[_ngcontent-%COMP%]{display:inline-block;padding:8px}.mat-menu-item[_ngcontent-%COMP%]{max-width:none;height:auto;overflow:visible;padding:8px 25px}.mat-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin:0px}.tracker-menu-item-logo[_ngcontent-%COMP%]{height:40px;vertical-align:middle;width:40px;margin-right:12px}.tracker-menu-item-name[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);font-size:.8125rem;white-space:nowrap}/*# sourceMappingURL=tracker_switcher.css.map */"],
changeDetection:0});var Nrb=function(a){return[a]},Orb=function(){return[]},I5=function(a){this.activeSession=a;this.clickMenu=new pw;this.showMenu=!1;this.clickLogo=new pw;this.chips=[]};I5.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};I5.\u0275fac=function(a){return new (a||I5)(C(bt))};
I5.\u0275cmp=Mc({type:I5,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&&(Gf(),P(0,Mrb,2,0,"button",0),H(1,"a",1),M("click",function(){return b.clickLogo.emit()}),J(2,"img",2)(3,"img",3),H(4,"h1"),R(5),I()(),Hf(6),P(7,Prb,2,5,"output",4));a&2&&(F("ngIf",b.showMenu),B(1),pf("href",b.href?b.href:void 0,Sd),B(1),F("src",b.imgSrc,Sd),B(1),F("src",b.imgSrcDark||b.imgSrc,Sd),B(2),Nf(b.name),B(2),F("ngForOf",b.chips))},dependencies:[Mw,Nw,Ow,bB,qA],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 Uad=function(){return[]},J5=function(a){this.events=a;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};J5.prototype.ngOnInit=function(){var a="QA"===this.environmentType?"INTERNAL"===this.frontendAccessMode||"PARTNER"===this.frontendAccessMode?"QA":"sandbox":"NIGHTLY"===this.environmentType?"nightly":"DEV"===this.environmentType?"dev":"";a&&this.chips.push({name:a,color:"purple"})};
J5.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};J5.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:Fh(this.frontendAccessMode,"unknown frontend access mode.")}};
wh.Object.defineProperties(J5.prototype,{useNewLogo:{configurable:!0,enumerable:!0,get:function(){return"INTERNAL"===this.frontendAccessMode}},imgSrc:{configurable:!0,enumerable:!0,get:function(){var a=this.useNewLogo?"https://www.gstatic.com/buganizer/img/v3/logo_light.svg":"https://www.gstatic.com/buganizer/img/v0/logo.svg",b,c;return(null==(b=this.tracker)?void 0:null==(c=b.branding)?void 0:c.logoUrl)||a}},imgSrcDark:{configurable:!0,enumerable:!0,get:function(){var a,b;return(null==(a=this.tracker)?
void 0:null==(b=a.branding)?void 0:b.logoUrl)||"https://www.gstatic.com/buganizer/img/v3/logo_dark.svg"}}});J5.\u0275fac=function(a){return new (a||J5)(C(sG))};
J5.\u0275cmp=Mc({type:J5,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",associatedTrackers:"associatedTrackers",href:"href"},features:[ed],decls:2,vars:7,consts:[[3,"name","href","chips","imgSrc","imgSrcDark","clickMenu"],[3,"associatedTrackers",4,"ngIf"],[3,"associatedTrackers"]],template:function(a,b){a&1&&(H(0,"app-logo",0),M("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),P(1,Qrb,1,1,"tracker-switcher",
1),I());if(a&2){var c;F("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark);B(1);F("ngIf",0<(null!==(c=b.associatedTrackers)&&void 0!==c?c:Rf(6,Uad)).length)}},dependencies:[Ow,I5,Tad],encapsulation:2,changeDetection:0});var K5=function(){this.isActive=!1;this.optionClicked=new pw};K5.prototype.ngOnInit=function(){};K5.prototype.onClick=function(){this.optionClicked.emit(this.index)};K5.\u0275fac=function(a){return new (a||K5)};
K5.\u0275cmp=Mc({type:K5,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()});a&2&&yf("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&&(Gf(),H(0,"div",0),Hf(1),I())},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 L5=function(a,b,c){this.ref=a;this.hostElement=b;this.currentTracker=c;this.items=[];this.header=null;this.itemSelected=new pw;this.activeItemChanged=new pw;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component team tracker".split(" ")};L5.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};L5.prototype.ngAfterViewInit=function(){};
var qsb=function(a){var b=O(3);ysb(a);b.itemSelected.emit(a)};L5.prototype.setNextItemActive=function(){0<this.items.length&&null!=this.activeItemIndex&&(this.activeItemIndex=(this.activeItemIndex+1)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),Vad(this))};
L5.prototype.setPreviousItemActive=function(){0<this.items.length&&null!=this.activeItemIndex&&(this.activeItemIndex=(this.activeItemIndex-1+this.items.length)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),Vad(this))};var Wad=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};L5.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var Xad=function(a){if(null!=a.activeItemIndex&&a.itemElements){var b,c;return null!=(c=null==(b=a.itemElements.get(a.activeItemIndex))?void 0:b.nativeElement.id)?c:void 0}},Vad=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&flb(b.nativeElement,a.hostElement.nativeElement)},ysb=function(a){en(io.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};L5.\u0275fac=function(a){return new (a||L5)(C(PH,2),C(Bd),C(eL))};
L5.\u0275cmp=Mc({type:L5,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&cg(K5,5,Bd);if(a&2){var c;bg(c=eg())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[Pf([PH]),ed],decls:3,vars:2,consts:[["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"],["noHotlistSelected",""],["noSavedSearchSelected",""],["noComponentSelected",""],[1,"margin-s-right"],[3,"accessLevel"],[3,"trackerId"],["noTrackerSelected",""],["noTeamSelected",""],["noSelectedCustomField",""],["role","option",3,"index","isActive","optionClicked"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"title","click"]],template:function(a,b){a&1&&(P(0,ksb,
7,6,"div",0),H(1,"div",1),P(2,zsb,9,11,"b-app-search-auto-complete-option",2),I());a&2&&(F("ngIf",b.header&&b.header.type),B(2),F("ngForOf",b.items))},dependencies:[Nw,Ow,nP,hL,K5,Vw],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}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 Yad=["box"],Zad=["initialFocus"],$ad=["finalFocus"],M5=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 pw;this.onAdvancedSearchClose=new pw;this.onAdvancedSearchSubmit=new pw;this.onSaveSearch=new pw;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new E.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(D(function(d){return d.query}));this.autoCompleteItemSelected$=new E.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
M5.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(df(this.currentQuery$),bf(this.destroyed$)).subscribe(function(b){b=k(b);var c=b.next().value;b=b.next().value;c=c.completionCfg;var d=b.slice(0,c.startIdx);b=b.slice(c.endIdx);a.appSearchState.queryState$.next({query:d+c.completionValue+b,cursorPosition:null!=c.cursorIdx?c.cursorIdx:null==c.startIdx?c.completionValue.length:c.startIdx+c.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
M5.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(De(function(b){return!b.setViaInteraction}),bf(this.destroyed$)).subscribe(function(b){var c=b.cursorPosition;a.inputBox.nativeElement.value=b.query;null!=c&&(b=a.inputBox.nativeElement,hEc(b)&&(b.selectionStart=c,b.selectionEnd=c))})};M5.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var abd=function(a){a.appSearchState.searchTriggered$.next("keyboard")},bbd=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
M5.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!N5(this))return;cbd(this);break;case "ArrowUp":if(!N5(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!N5(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!N5(this)){bbd(this,this.inputBox.nativeElement.value);return}Wad(this.acList);break;case "ArrowLeft":bbd(this,this.inputBox.nativeElement.value);return;case "Enter":N5(this)?null!=this.acList.activeItemIndex?Wad(this.acList):
abd(this):abd(this);break;default:return}a.preventDefault();a.stopPropagation()};M5.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();dbd(this)};M5.prototype.getCursorPosition=function(){var a=iEc(this.inputBox.nativeElement,!0)[0];if(a===iEc(this.inputBox.nativeElement,!1)[1])return a};
var cbd=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},dbd=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},N5=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},ebd=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},fbd=function(a){return"advanced_search"===a.dropdownStatus};
M5.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",dbd(this))};var gbd=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},Asb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};M5.\u0275fac=function(a){return new (a||M5)(C(jJ),C(KX),C(bt))};
M5.\u0275cmp=Mc({type:M5,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(cg(L5,7),cg(Yad,5),cg(Zad,7,Bd),cg($ad,7));if(a&2){var c;bg(c=eg())&&(b.acList=c.first);bg(c=eg())&&(b.inputBox=c.first);bg(c=eg())&&(b.advancedSearchInitialFocus=c.first);bg(c=eg())&&(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:[[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,"placeholder","keydown","input","click","focus"],["box",""],["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,"items","header","itemSelected"],[1,"advanced-search"],["align","right",1,"advanced-search-header"],["mat-icon-button",
"","aria-label","Close advanced search","matTooltip","Close advanced search",1,"gmat-button",3,"disabled","keydown","click"],["initialFocus",""],["svgIcon","close",1,"icon-s"],["cdkScrollable","",1,"advanced-search-content"],[1,"advanced-search-footer"],["mat-flat-button","",1,"gmat-button","medium",3,"disabled","click"],["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,"ngModel","ngModelChange","keydown.Tab","keydown.enter"],["finalFocus",""],["mat-icon-button","","aria-label","Save search","matTooltip","Save search",1,"gmat-button",3,"disabled","click"],["svgIcon","saved-search-18px",1,"icon-s"]],template:function(a,b){if(a&1){var c=w();Gf();H(0,"div",0);M("clickOutside",function(){cbd(b)});H(1,"div",1)(2,"button",2);M("click",function(){return abd(b)});J(3,"mat-icon",3);I();
H(4,"textarea",4,5);M("keydown",function(d){return b.handleKeydown(d)})("input",function(){x(c);var d=Lf(5);return z(bbd(b,d.value))})("click",function(){x(c);var d=Lf(5);return z(bbd(b,d.value))})("focus",function(){b.dropdownStatus="auto_complete"});I();H(6,"button",6);M("click",function(){b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit()});J(7,"mat-icon",7);I()();H(8,"aside",8)(9,"b-app-search-auto-complete-list",9);M("itemSelected",function(d){return b.autoCompleteItemSelected$.next(d)});
I();H(10,"div",10)(11,"div",11)(12,"button",12,13);M("keydown",function(d){return gbd(b,d)})("click",function(){return dbd(b)});J(14,"mat-icon",14);I()();H(15,"div",15);Hf(16);I();H(17,"div",16)(18,"button",17);M("click",function(){return b.submitAdvancedSearch()});R(19," Search ");I();H(20,"a",18);R(21,"Search help ");J(22,"mat-icon",19);I();P(23,Bsb,5,2,"div",20);I()()()()}a&2&&(yf("dropdown-opened",N5(b)||ebd(b)||fbd(b)),B(1),yf("hidden",fbd(b)),B(3),F("placeholder",b.placeholder),pf("aria-activedescendant",
Xad(b.acList))("aria-expanded",N5(b)||ebd(b)),B(4),yf("advanced-search-open",fbd(b)),B(1),yf("hidden",!(N5(b)||ebd(b))),F("items",b.autoCompleteItems)("header",b.autoCompleteHeader),B(1),yf("hidden",!fbd(b)),B(2),F("disabled",b.isSearchDisabled),B(6),F("disabled",b.isSearchDisabled),B(2),pf("href",b.searchHelpLink,Sd),B(3),F("ngIf",!b.isAnonymous))},dependencies:[Ow,bB,sz,qA,tC,xg,ox,ux,uO,KA,L5],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;max-width:800px;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% - 8px * 2);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-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-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;align-items:center;border:none;background-color:#fff;background-color:var(--surface-default);height:32px;width:100%;margin-bottom:10px}[_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 hbd=function(a){this.currentTracker=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new pw;this.searchBoxOnAdvancedSearchClose=new pw;this.searchBoxOnAdvancedSearchSubmit=new pw;this.searchBoxOnSaveSearch=new pw},ibd=function(){setTimeout(function(){var a;null==(a=document.getElementById("skiplink-navigation-target").querySelectorAll('div[role="tab"],a[href],button:not([tabindex="-1"],input')[0])||
a.focus()})};hbd.\u0275fac=function(a){return new (a||hbd)(C(eL))};
hbd.\u0275cmp=Mc({type:hbd,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:9,vars:12,consts:[[3,"environmentType","frontendAccessMode","tracker","associatedTrackers"],[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,"placeholder","autoCompleteItems","autoCompleteHeader","isSearchDisabled","onAdvancedSearchOpen","onAdvancedSearchClose","onAdvancedSearchSubmit","onSaveSearch"]],template:function(a,
b){a&1&&(Gf(),J(0,"b-app-logo",0),S(1,"async"),S(2,"async"),H(3,"div",1)(4,"button",2),M("click",function(){return ibd()})("keydown.enter",function(){return ibd()}),R(5," Skip Navigation "),I()(),H(6,"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)}),
Hf(7),I(),J(8,"b-app-actions"));a&2&&(F("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",T(1,8,b.currentTracker.tracker$))("associatedTrackers",T(2,10,b.currentTracker.associatedTrackers$)),B(6),F("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[qA,J5,Sad,M5,Uw],styles:["[_nghost-%COMP%]{display:flex;align-items:center}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 O5=function(){};O5.\u0275fac=function(a){return new (a||O5)};O5.\u0275mod=Oc({type:O5});O5.\u0275inj=xc({imports:[cG,IA,QC,dO]});var P5=function(){};P5.\u0275fac=function(a){return new (a||P5)};P5.\u0275mod=Oc({type:P5});P5.\u0275inj=xc({imports:[cG,QC,mC,uD]});var Q5=function(){};Q5.\u0275fac=function(a){return new (a||Q5)};Q5.\u0275mod=Oc({type:Q5});Q5.\u0275inj=xc({imports:[cG,QC,mC,uD]});var R5=function(){};R5.\u0275fac=function(a){return new (a||R5)};R5.\u0275mod=Oc({type:R5});R5.\u0275inj=xc({imports:[cG,QC,uD]});var S5=function(){};S5.\u0275fac=function(a){return new (a||S5)};S5.\u0275mod=Oc({type:S5});S5.\u0275inj=xc({providers:[yQ]});var T5=function(){};T5.\u0275fac=function(a){return new (a||T5)};T5.\u0275mod=Oc({type:T5});T5.\u0275inj=xc({imports:[cG,QC,uD,S5]});var U5=function(){};U5.\u0275fac=function(a){return new (a||U5)};U5.\u0275mod=Oc({type:U5});U5.\u0275inj=xc({imports:[cG,mC,QC,JT,uD,xz,Jx,vO,Q5,kY,R5,sP,LA,D5,T5,O5,P5,YN]});var V5=function(){};V5.\u0275fac=function(a){return new (a||V5)};V5.\u0275mod=Oc({type:V5});V5.\u0275inj=xc({imports:[cG,QC,IA]});var W5=function(){};W5.\u0275fac=function(a){return new (a||W5)};W5.\u0275mod=Oc({type:W5});W5.\u0275inj=xc({imports:[cG,Jx,QC,UA,RA,IA,JW]});var X5=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 pw;this.selectedChange=new pw;this.cardTitleChange=new pw;this.onSaveButtonClicked=new pw;this.onCancelButtonClicked=
new pw;this.isInheritedChange=new pw;this.isExpanded=!1};X5.prototype.expand=function(){this.isExpanded=!0};X5.prototype.collapse=function(){this.isExpanded=!1};X5.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};X5.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};X5.\u0275fac=function(a){return new (a||X5)};
X5.\u0275cmp=Mc({type:X5,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:[[1,"carded"],[1,"flex-kids-x","flex-cross-axis-centered","card-header"],[1,"collapsible-card-checkbox",3,"disabled","checked","aria-label","change"],[4,
"ngIf","ngIfElse"],["mat-icon-button","",3,"ngClass","click"],["svgIcon","chevron-left",4,"ngIf"],["svgIcon","arrow-down",4,"ngIf"],["expandedCardHeader",""],["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",1,"card-title"],["matInput","","type","text","required","","aria-required","true","maxlength","40","autocomplete","off",1,"heading-s",3,"placeholder","disabled",
"ngModel","ngModelChange"],["class","type-dropdown","appearance","outline",4,"ngIf"],["appearance","outline",1,"type-dropdown"],[3,"disabled","value","valueChange","selectionChange"],[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",1,"gmat-button",3,"disabled","click"],["mat-button",
"","color","primary",1,"gmat-button","cancel-button",3,"disabled","click"],["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,"checked","disabled","matTooltip","matTooltipDisabled","change"]],template:function(a,b){a&1&&(Gf(),H(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),M("change",function(d){b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected)}),I(),P(3,Csb,3,3,"ng-container",3),H(4,"button",4),M("click",function(){b.isExpanded?b.collapse():b.expand()}),P(5,Dsb,1,0,"mat-icon",5),P(6,Esb,1,0,"mat-icon",6),I(),P(7,Jsb,3,7,"ng-template",null,
7,hg),I(),P(9,Ksb,2,0,"div",8),P(10,Psb,9,6,"div",9),I());if(a&2){var c=Lf(8);pf("aria-expanded",b.isExpanded);B(2);yf("expanded-checkbox",b.isExpanded);F("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle);B(1);F("ngIf",!b.isExpanded)("ngIfElse",c);B(1);F("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle");pf("aria-label",b.isExpanded?"Collapse editor":"Expand editor");B(1);F("ngIf",b.isExpanded);B(1);F("ngIf",!b.isExpanded);B(3);F("ngIf",b.isExpanded);B(1);F("ngIf",b.isExpanded)}},
dependencies:[Mw,Nw,Ow,bB,xg,ox,Fx,Gx,ux,BO,qA,ET,QA,PA,iP,hP,sA,xM,TA,tC],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-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}.expanded-checkbox[_ngcontent-%COMP%]     .mat-checkbox-inner-container{margin-top:-10px}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}']});var Y5=function(){};Y5.\u0275fac=function(a){return new (a||Y5)};Y5.\u0275mod=Oc({type:Y5});Y5.\u0275inj=xc({imports:[cG,Jx,fP,QC,kU,jP,JT,UA,uD]});var Z5=function(a){this.internalArray_=l(a,0,Z5.messageId)};U(Z5,q);f=Z5.prototype;f.getFieldId=function(){return W(this,Ni,1)};f.setFieldId=function(a){return lj(this,Ni,1,a)};f.getStateOnIssues=function(){return aj(this,2,0)};f.setStateOnIssues=function(a){return cj(this,2,a)};f.getEnabledOnIssues=function(){return Vj(this,3)};f.setEnabledOnIssues=function(a){return Xj(this,3,a)};
f.toObject=function(){if(null!=this){t(this);var a={fieldId:Nac(this.getFieldId()),stateOnIssues:n(p(this,2)),enabledOnIssues:n(Ur(this,3))}}else a=void 0;return a};Z5.messageId="b.FieldConfig";var $5=function(a){this.internalArray_=l(a,0,$5.messageId)};U($5,q);$5.prototype.setFieldId=function(a){return zt(this,1,Ni,a)};$5.repeatedFields_=[1];$5.prototype.toObject=function(){if(null!=this){t(this);var a={fieldIdList:Ub(oj(this,Ni,1),Nac)}}else a=void 0;return a};$5.messageId="b.ReorderFieldsRequest";var a6=function(a){this.executor=a};a6.prototype.updateCustomFieldState=function(a,b,c){var d={customFieldId:b};c=(new Z5).setFieldId(Yqa(d)).setStateOnIssues(ira[c]).setEnabledOnIssues(!1);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:c,responseConstructor:Z5}).pipe(D(Qsb))};a6.prototype.reorder=function(a,b){b=b.map(Yqa);var c=new $5;b=rj(c,1,b);return this.executor.post({url:"action/components/"+a+"/reorder",body:b,responseConstructor:null})};
a6.\u0275fac=function(a){return new (a||a6)(u(wD))};a6.\u0275prov=wc({token:a6,factory:a6.\u0275fac,providedIn:"root"});var jbd=["SILENT","MINOR","MAJOR"];var kbd=["fieldStateMenu"],Usb=function(a){return{type:a}},b6=function(a,b,c,d,e,g,h,m,r,v,y){GE.call(this);var A=this;this.customFieldsApi=a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=g;this.fieldConfigService=h;this.documentationLinks=m;this.paths=r;this.confirmationDialog=v;this.appEvents=y;this.FieldType=NOc;this.ListFieldType=WOc;this.getSingleEditFieldType=F7a;this.getListFieldType=B8a;this.typeChoices=["TEXT","DATE","ENUM","NUMERIC"];this.secondaryTypes=
["Single","Multiple"];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=jbd;this.componentId=di(this.routeParams.componentId);this.subscriptions.add($P(b,function(){return A.hasUnsavedChanges()},!0))};U(b6,GE);b6.\u0275dir=GE.\u0275dir;b6.prototype.ngOnInit=function(){this.loadCustomFields()};
b6.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};
b6.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||buc())this.editableField=Zh(this.customFields[a]),this.originalEditableFieldValue=Zh(this.editableField),this.serverError=null,this.setType(this.editableField.type),Ysb(this,this.editableField.allowedValue)};
var jtb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:Ng("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)}})};
b6.prototype.doDelete=function(a){var b=this;mG(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");mG(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
b6.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=fm(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=null;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)};
b6.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,g){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(bf(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 m,
r;null==(m=d.fieldStateMenus)||null==(r=m.get(c))||r.focus()})}).then(function(){e(void 0)})},function(h){d.serverError=fm(h);d.isLoading=!1;g(h)})})};b6.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var atb=function(a,b){var c=a.editableField.type,d="TEXT"===c&&$h(b)?b:void 0,e="DATE"===c&&b&&wqa(b)?b:void 0,g="ENUM"===c&&$h(b)?b:void 0,h="NUMERIC"===c&&kqa(b)?b:void 0,m="REPEATED_TEXT"===c&&ai(b)?{values:b}:void 0,r;if(r="REPEATED_DATE"===c)r=Array.isArray(b)&&b.every(wqa);r=r?{values:b}:void 0;var v="REPEATED_ENUM"===c&&ai(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&lqa(b)?{values:b}:void 0;a.editableField.typedDefaultValue=new ni({customFieldId:a.editableField.customFieldId,textValue:d,
dateValue:e,enumValue:g,numericValue:h,repeatedTextValue:m,repeatedDateValue:r,repeatedEnumValue:v,repeatedNumericValue:b})};
b6.prototype.setType=function(a,b){var c=this.editableField.type;if(void 0===b?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=null)};
var Ysb=function(a,b){b=null===b?null:b.map(function(c){return c.toString()});a.editableField.allowedValue=b;a.allowedValues=b?b.map(function(c){return{value:c,displayText:c}}):[]};b6.prototype.hasUnsavedChanges=function(){return this.editableField&&!Yh(this.editableField,this.originalEditableFieldValue)?!0:!1};
b6.prototype.loadCustomFields=function(a){var b=this;a=void 0===a?!1:a;a||(this.isLoading=!0);return this.componentActions.get(this.componentId).then(function(c){var d,e=(null==(d=c.componentPathInfo)?void 0:d.allCustomField)||[];d=[];b.componentIdsToNames={};var g,h=(null==(g=c.componentPathInfo)?void 0:g.componentPathId)||[];for(g=0;g<h.length;g++)d.push(c.componentPathInfo.componentPathName[g]),b.componentIdsToNames[c.componentPathInfo.componentPathId[g]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(m,r){return Dq(m.name,r.name)};b.customFields=e.filter(function(m){return b.componentId===m.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(m){return b.componentId!==m.componentId}).sort(c);b.appEvents.customFieldsModified.next(e)})};var ptb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};b6.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var btb=function(a){var b,c;return null==(b=a.editableField)?void 0:null==(c=b.typedDefaultValue)?void 0:c.getValue()};b6.prototype.getListFieldValues=function(){var a,b,c,d;return null!=(d=null==(c=null==(a=this.editableField)?void 0:null==(b=a.typedDefaultValue)?void 0:b.getValue())?void 0:c.values)?d:null};b6.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
b6.\u0275fac=function(a){return new (a||b6)(C(vG),C(ZP),C(lG),C(TH),C(JJ),C(MU),C(a6),C(jJ),C(dH),C(kJ),C(sG))};
b6.\u0275cmp=Mc({type:b6,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&cg(kbd,5);if(a&2){var c;bg(c=eg())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[lf,ed],decls:4,vars:3,consts:[[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,"bFocus","ngModel","disabled","ngModelChange"],["for","field-description",1,"help-label"],["name","fieldDescription","id","field-description",3,"ngModel","disabled","ngModelChange"],[1,"edit-custom-field-table"],[1,"field-label-with-help","bv2-component-custom-field-label"],["id","field-type-label",1,"help-label",3,"onedevHovercardTrigger"],
["typeHelp",""],["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","gmat-button",3,"matMenuTriggerFor","disabled"],["name","arrow-dropdown","size","small"],["enumMenu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngFor","ngForOf"],["secondaryMenu","matMenu"],["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,"name","type","tooltip","value","valueChange"],["id","field-significance-label","tabindex","0","aria-label","Field Significance - Press alt+right arrow to learn more.",1,"help-label",3,"onedevHovercardTrigger"],["significanceHelp",""],[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","gmat-button",3,"matMenuTriggerFor"],["significanceMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary","type","button",3,"disabled","click"],["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,"defaultLineCount","type","values","listFieldDisabled","preventDuplicates","isDefaultOrAllowedValues","truncate","valuesChange"],["id","field-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate",
"clearable","valueChange"],["id","field-repeated-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-repeated-default-label",3,"defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate","valuesChange"],["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,"onedevHovercardTrigger","href","click"],["card","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"fieldName","fieldState","enabledOnParent","disabled","matTooltip","fieldStateChange",4,"ngIf"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""],[3,"fieldName","fieldState","enabledOnParent",
"disabled","matTooltip","fieldStateChange"],["fieldStateMenu",""],["routerLink","./","fragment","fieldOrdering",1,"keep-underline"],[1,"edit-button-row"],["mat-raised-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,gtb,68,32,"div",1),P(2,htb,2,1,"div",2),P(3,vtb,26,7,"div",3),I());a&2&&(B(1),F("ngIf",b.editableField&&!b.isLoading),B(1),F("ngIf",b.isLoading),B(1),F("ngIf",!b.isLoading))},dependencies:[Mw,Nw,Ow,vx,xg,ox,px,Fx,ux,sx,rZ,nZ,GN,a2,jK,kK,oK,lK,NY,tC,
lC,jC,kC,iC,qA,JU,xZ,wM,YG,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 c6=function(){};c6.\u0275fac=function(a){return new (a||c6)};c6.\u0275mod=Oc({type:c6});c6.\u0275inj=xc({imports:[cG,Jx,sZ,oZ,bO,b2,JN,SY,uD,mC,QC,jP,KU,yZ,aK,eO,bH]});var d6=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new pw;this.addRow=new pw;this.optionsChange=new pw};d6.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};d6.prototype.drop=function(a){Pn(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};d6.\u0275fac=function(a){return new (a||d6)};
d6.\u0275cmp=Mc({type:d6,selectors:[["b-config-grid"]],inputs:{options:"options",disabled:"disabled"},outputs:{removeAtIndex:"removeAtIndex",addRow:"addRow",optionsChange:"optionsChange"},decls:11,vars:7,consts:[[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"],[3,"appearance"],["matInput","","aria-label",
"Dropdown value","autocomplete","off","maxlength","40",1,"input-text",3,"value","placeholder","disabled","change"],["displayInput","matInput"],["matInput","","aria-label","Average days","autocomplete","off","type","number",1,"input-text",3,"value","placeholder","disabled","change"],["valueInput","matInput"],["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&&(H(0,"div",0)(1,"div",1)(2,"span",2),R(3," Dropdown value "),I()(),H(4,"div",3)(5,"span",4),R(6," Average days "),I(),J(7,"mat-icon",5),I()(),H(8,"div",6),M("cdkDropListDropped",function(c){return b.drop(c)}),P(9,xtb,12,13,"div",7),I(),P(10,ytb,2,0,"button",8));a&2&&(B(2),yf("muted",b.disabled),B(3),yf("muted",b.disabled),B(2),F("matTooltip","All estimated effort types map to an average number of days."),B(2),F("ngForOf",b.options),B(1),F("ngIf",!b.disabled))},dependencies:[Nw,Ow,bB,QA,TA,
qA,tC,uL,sL,nL],styles:[".delete-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.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 e6=function(){this.disabled=!1;this.valueChange=new pw};e6.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};e6.\u0275fac=function(a){return new (a||e6)};
e6.\u0275cmp=Mc({type:e6,selectors:[["b-numeric-config"]],inputs:{disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},decls:14,vars:8,consts:[[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,"disabled","value","change"],["timeInput","matInput"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"span",2),R(3," Time "),I(),H(4,"span",3),R(5,"1"),I()(),H(6,"div",1)(7,"div",4)(8,"span",5),R(9," Average days "),I(),J(10,"mat-icon",6),I(),H(11,"mat-form-field",
7)(12,"input",8,9),M("change",function(d){return b.onValueChange(d)}),I()()()());if(a&2){var c=Lf(13);B(2);yf("muted",b.disabled);B(6);yf("muted",b.disabled);B(2);F("matTooltip","All estimated effort types map to an average number of days.");B(1);F("appearance",c.focused?"standard":"none");B(1);F("disabled",b.disabled)("value",b.value)}},dependencies:[bB,QA,TA,tC],styles:[".disabled-time-val[_ngcontent-%COMP%]{color:#bdc1c6;color:var(--text-disabled);font-size:1rem;line-height:24px;font-weight:400;width:168px}\n/*# sourceMappingURL=numeric_config.css.map */"]});var g6=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new pw;this.configurationOptions=[lbd,mbd,f6];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=Gac;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=EE(this.activeSession,"enableAggregationRules")};
g6.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=f6)};g6.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=Zh(this.effortSpec),this.setValues(this.effortSpec))};
g6.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=f6;var b,c,d;this.numericSpecMultiplier=null!=(d=null==(b=this.effortSpec)?void 0:null==(c=b.numericSpec)?void 0:c.multiplier)?d:1}if(a.enumSpec){this.selectedEffortConfig=void 0;var e,g;this.enumSpecOptions=(null!=(g=null==(e=a.enumSpec)?void 0:e.options)?g:[]).map(function(m){return{label:m.label,value:m.value}})}var h;this.inherit=null!=(h=a.inherit)?h:!1;this.name=""===a.name?"Estimated effort":a.name||"";if(a.enumSpec||
a.numericSpec)this.estimatedEffortFieldEnabled=!0;void 0!==a.aggregationType&&a.aggregationType!==this.aggregationRules.AGGREGATION_TYPE_UNSPECIFIED&&(this.selectedAggregationRule=a.aggregationType)};
var nbd=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===lbd.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===mbd.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===f6.displayText?"numeric":"empty"};g6.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
g6.prototype.isSaveButtonDisabled=function(){var a;if(!(a=this.disabled||void 0===this.selectedEffortConfig&&void 0===this.effortSpec&&this.estimatedEffortFieldEnabled&&!this.inherit||""===this.name)){a:{a=k(this.enumSpecOptions);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.label||null===b.value){a=!1;break a}a=!0}a=!a}return a};var obd=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};g6.\u0275fac=function(a){return new (a||g6)(C(bt))};
g6.\u0275cmp=Mc({type:g6,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[ed],decls:8,vars:14,consts:[["placeholderForCardTitle","Enter the estimated effort field title (required)","ariaLabelForCardTitle","Estimated effort field title",3,"cardTitle","dropdownOptions","selectedOption","disabled","selected","isSaveButtonDisabled","showInheritedToggle","isInherited",
"inheritedDisabled","cardTitleChange","dropdownSelectionChanged","onSaveButtonClicked","selectedChange","onCancelButtonClicked","isInheritedChange"],[1,"content",3,"ngSwitch"],[4,"ngSwitchCase"],["class","margin-top",4,"ngIf"],["enumConfig",""],[4,"ngTemplateOutlet"],[3,"disabled","value","valueChange"],[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,"value","disabled","valueChange"],[1,"multi-line",3,"value"],[1,"title"],[1,"help-text"],[3,"options","disabled","optionsChange","addRow","removeAtIndex"]],template:function(a,b){a&1&&(H(0,"b-collapsible-card",0),M("cardTitleChange",function(c){return b.name=c})("dropdownSelectionChanged",function(c){b.selectedEffortConfig=
c;c.displayText===lbd.displayText?(b.enumSpecOptions=[].concat(ad(pbd)),b.name="Story points"):c.displayText===mbd.displayText?(b.enumSpecOptions=[].concat(ad(qbd)),b.name="T-shirt sizes"):c.displayText===f6.displayText&&(b.numericSpecMultiplier=1,b.name="Days");b.estimatedEffortFieldEnabled=!0})("onSaveButtonClicked",function(){if(b.estimatedEffortFieldEnabled){var c={name:b.name,inherit:b.inherit};b.enableAggregationRules&&(c.aggregationType=b.selectedAggregationRule);b.originalEffortSpec&&0!==
b.originalEffortSpec.customFieldId&&(c.customFieldId=b.originalEffortSpec.customFieldId);var d;if((null==(d=b.selectedEffortConfig)?void 0:d.displayText)===f6.displayText)c.numericSpec={multiplier:b.numericSpecMultiplier};else if(0<b.enumSpecOptions.length){d=[];for(var e=k(b.enumSpecOptions),g=e.next();!g.done;g=e.next())g=g.value,g.label&&null!==g.value&&d.push({label:g.label,value:g.value});c.enumSpec={options:d}}b.updateEffortSpec.emit(c)}else b.updateEffortSpec.emit({name:"",inherit:!1})})("selectedChange",
function(c){b.estimatedEffortFieldEnabled=c;b.estimatedEffortFieldEnabled||obd(b)})("onCancelButtonClicked",function(){b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,obd(b))})("isInheritedChange",function(c){(c=c.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=b.parentEffortSpec,b.effortSpec||obd(b)):b.effortSpec&&(b.setValues({}),obd(b));
b.inherit=c}),H(1,"div",1),P(2,Atb,2,1,"ng-container",2),P(3,Btb,2,2,"ng-container",2),P(4,Ctb,1,0,"ng-container",2),I(),P(5,Dtb,23,13,"div",3),I(),P(6,Etb,1,2,"ng-template",null,4,hg));a&2&&(F("cardTitle",b.name)("dropdownOptions",b.configurationOptions)("selectedOption",b.selectedEffortConfig)("disabled",b.disabled||b.inherit)("selected",b.estimatedEffortFieldEnabled)("isSaveButtonDisabled",b.isSaveButtonDisabled())("showInheritedToggle",!0)("isInherited",b.inherit)("inheritedDisabled",b.disabled),
B(1),F("ngSwitch",nbd(b)),B(1),F("ngSwitchCase","enum"),B(1),F("ngSwitchCase","numeric"),B(1),F("ngSwitchCase","empty"),B(1),F("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[Ow,Tw,Pw,Qw,bB,QA,rA,X5,tC,iP,hP,sA,d6,e6,h6]},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{height:34px;width:168px}[_nghost-%COMP%]     .content mat-form-field .mat-form-field-flex{padding-top:1px}[_nghost-%COMP%]     .content mat-form-field .mat-form-field-infix{padding:0 0 .5em}[_nghost-%COMP%]     .content .input-text{font-weight:400;font-size:1rem}.aggregation-rule-label[_ngcontent-%COMP%]{margin-right:2px}[_nghost-%COMP%]     mat-select .mat-select-arrow-wrapper{-webkit-transform:translateX(0);transform:translateX(0);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}\n/*# sourceMappingURL=estimated_effort_config.css.map */"]});
var pbd=[{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}],qbd=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],lbd={displayText:"Story points",icon:"story-point-24px"},mbd={displayText:"T-shirt sizes",icon:"t-shirt-24px"},f6={displayText:"Time",icon:"time-24px"},h6=function(){};
h6.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};h6.\u0275fac=function(a){return new (a||h6)};h6.\u0275pipe=Rc({name:"aggregationRuleText",type:h6,pure:!0});var rbd=function(){this.disabled=!1;this.updateComponent=new pw};rbd.\u0275fac=function(a){return new (a||rbd)};
rbd.\u0275cmp=Mc({type:rbd,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,"effortSpec","parentEffortSpec","disabled","updateEffortSpec"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),R(2,"Once activated, standard fields appear in the right panel of all issues."),I(),H(3,"b-estimated-effort-config",
2),M("updateEffortSpec",function(c){b.updateComponent.emit(c)}),I()());a&2&&(B(3),F("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[g6],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var i6=function(){};i6.\u0275fac=function(a){return new (a||i6)};i6.\u0275mod=Oc({type:i6});i6.\u0275inj=xc({imports:[cG,UA,QC,fP,Y5,uD,jP,vL]});var j6=function(){};j6.\u0275fac=function(a){return new (a||j6)};j6.\u0275mod=Oc({type:j6});j6.\u0275inj=xc({imports:[cG,Y5,i6]});var k6=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new pw;this.inherit=!1;this.selectedTeam$=new E.Subject;this.teamIdChanged$=new E.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(D(function(c){return"0"===c?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),$e(""));this.teamFromId$=this.teamIdChanged$.pipe(af(function(c){return"0"===
c?(0,E.of)(new gqb([c],[""],"")):wI(b.teamsService,c).pipe(D(function(d){return new gqb([],d.collapsedPathNames,d.description)}))}));this.displayedTeam$=(0,E.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(af(function(c){return"0"===c?(0,E.of)("MISSING"):b.teamsService.getTeam(c).pipe(D(function(d){return!d||d.deleted?"DELETED":"VALID"}))}))};
k6.prototype.updateSelectionOnChange=function(a){en(io.MANAGE_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);sbd(this)};var sbd=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};k6.prototype.ngOnInit=function(){Object.assign({},this.model);sbd(this)};var Itb=function(a){return a.model.id&&"0"!==a.model.id};
k6.prototype.getMomaTeamLink=function(){return Itb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};k6.\u0275fac=function(a){return new (a||k6)(C(vI))};
k6.\u0275cmp=Mc({type:k6,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:[[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,"placeholder","disabled","teamSelected","onTeamSelect","onEmptyQuery"],
[4,"ngIf","ngIfElse"],["externalLink",""],["class","team-warning",4,"ngIf"],[1,"team-warning"],[3,"warningType","messageOnly"],[1,"edit-field"],[3,"disabled","checked","change"],["mat-icon-button","","class","gmat-button 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,"gmat-button","small",3,"routerLink","target","click"],["svgIcon","pop-out",1,"icon-s"],
["mat-icon-button","","class","gmat-button 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,"gmat-button","small",3,"click"]],template:function(a,b){a&1&&(H(0,"div"),P(1,Gtb,2,1,"ng-container",0),S(2,"async"),P(3,Htb,3,2,"div",1),H(4,"div",2)(5,"label",3),R(6,"Team selection"),I(),H(7,"b-team-picker",4),M("onTeamSelect",
function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);sbd(b)}),S(8,"async"),S(9,"async"),I(),P(10,Ktb,2,1,"ng-container",5),I()(),P(11,Mtb,1,1,"ng-template",null,6,hg));if(a&2){var c=Lf(12);B(1);F("ngIf",T(2,7,b.warningType$));B(2);F("ngIf",!b.isTopLevel);B(4);F("placeholder",T(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",T(9,11,b.displayedTeam$));B(3);F("ngIf",b.useInternalLink)("ngIfElse",c)}},
dependencies:[Ow,bB,BO,tC,r5,x0,rA,YG,Uw],styles:[".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}.team-warning[_ngcontent-%COMP%]{width:240px}"],changeDetection:0});var l6=function(){};l6.\u0275fac=function(a){return new (a||l6)};l6.\u0275mod=Oc({type:l6});l6.\u0275inj=xc({imports:[cG,HP,fP,uD,u5,F1,Jx,QC,bH]});var m6=function(){};m6.\u0275fac=function(a){return new (a||m6)};m6.\u0275mod=Oc({type:m6});m6.\u0275inj=xc({imports:[cG,Jx,QC,UA,RA,IA]});var n6=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},tbd=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};n6.prototype.drop=function(a){Pn(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var Ntb=function(a,b){return 0<b?(Pn(a.fields,b,b-1),a.detectChanges(),!0):!1},Otb=function(a,b){return b<a.fields.length-1?(Pn(a.fields,b,b+1),a.detectChanges(),!0):!1};n6.prototype.trackByFn=function(){return-1};n6.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.")};
n6.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();ubd(this,b);break;case "Tab":this.grabbed&&ubd(this,b);break;case "ArrowUp":vbd(this,a);break;case "ArrowDown":vbd(this,a)}};
var ubd=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."))},vbd=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(Ntb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else Otb(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."))}}};n6.prototype.detectChanges=function(){this.hasChanges=!Yh(this.fields,this.originalFields)};n6.\u0275fac=function(a){return new (a||n6)(C(CA),C(AA),C(Yy))};
n6.\u0275cmp=Mc({type:n6,selectors:[["b-field-reorder-dialog"]],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"flex-kids-x","space-between","align-items-center"],["mat-dialog-title","",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,"disabled","click"],["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&&(H(0,"div",0)(1,"div",1)(2,"h1",2),R(3," Reorder custom fields "),I(),H(4,"button",3),M("click",function(){return tbd(b)}),J(5,"mat-icon",4),I()()(),H(6,"div",5)(7,"ol",6),M("cdkDropListDropped",function(c){return b.drop(c)}),P(8,Ptb,9,7,"li",7),I()(),H(9,"div",8)(10,"button",9),M("click",function(){return b.dialogRef.close()}),R(11," Cancel "),I(),H(12,"button",10),M("click",function(){return b.dialogRef.close(b.fields)}),R(13," Save "),I()());a&2&&(B(8),
F("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),B(4),F("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[Nw,bB,qA,FA,GA,HA,uL,sL,nL,tC],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 o6=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 pw;this.displayedColumn=["index","name","type","required","customFieldId"]},cub=function(a){return yA(a.matDialog.open(n6,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&wbd(a,b)})},dub=function(a){a.confirmationDialog.open({title:"Reset ordering?",content:Ng("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()}})},wbd=function(a,b){a.analytics.trackEvent(io.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return{customFieldId:d.customFieldId}});a.componentId?(mG(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){mG(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.")};
o6.prototype.reset=function(){var a=this;this.analytics.trackEvent(io.FIELD_ORDERING,"resetFields");this.componentId?(mG(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:null}).subscribe(function(){mG(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.")};
o6.\u0275fac=function(a){return new (a||o6)(C(DA),C(kJ),C(a6),C(TH),C(lG))};
o6.\u0275cmp=Mc({type:o6,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,"disabled","click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"table",2),K(3,3),P(4,Qtb,2,0,"th",4),P(5,Rtb,2,1,"td",5),L(),K(6,6),P(7,Stb,2,0,"th",
4),P(8,Ttb,2,1,"td",5),L(),K(9,7),P(10,Utb,2,0,"th",4),P(11,Vtb,3,3,"td",5),L(),K(12,8),P(13,Wtb,2,0,"th",4),P(14,Xtb,2,1,"td",5),L(),K(15,9),P(16,Ytb,2,0,"th",4),P(17,Ztb,2,1,"td",5),L(),P(18,$tb,1,0,"tr",10),P(19,aub,1,0,"tr",11),I(),P(20,bub,2,0,"div",12),I(),P(21,eub,6,2,"div",13),I());a&2&&(B(2),F("dataSource",b.fields),B(16),F("matHeaderRowDef",b.displayedColumn),B(1),F("matRowDefColumns",b.displayedColumn),B(1),F("ngIf",0===b.fields.length),B(1),F("ngIf",b.isAdmin))},dependencies:[Ow,qA,jM,
XL,cM,ZL,WL,eM,$L,bM,fM,hM,oP],styles:["th.mat-header-cell[_ngcontent-%COMP%], td.mat-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-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-cell[_ngcontent-%COMP%]:first-of-type{padding-left:8px}th.mat-header-cell[_ngcontent-%COMP%]:last-of-type, td.mat-cell[_ngcontent-%COMP%]:last-of-type{padding-right:8px}.no-data-row[_ngcontent-%COMP%]{padding:12px}button[_ngcontent-%COMP%]{margin-right:12px}"]});var p6=function(){};p6.\u0275fac=function(a){return new (a||p6)};p6.\u0275mod=Oc({type:p6});p6.\u0275inj=xc({providers:[kJ],imports:[cG,QC,IA]});var q6=function(){};q6.\u0275fac=function(a){return new (a||q6)};q6.\u0275mod=Oc({type:q6});q6.\u0275inj=xc({imports:[cG,QC,hT,IA,sO,vL,uD,bO,p6,qP]});var r6=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},gub=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="+xbd+a.issueId+ybd;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
r6.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};r6.\u0275fac=function(a){return new (a||r6)(C(TH))};
r6.\u0275cmp=Mc({type:r6,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,"href","click"],[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,"href","click"]],template:function(a,
b){a&1&&(H(0,"div",0)(1,"a",1),M("click",function(){return b.trackClick("fileName")}),R(2),I(),P(3,fub,2,1,"span",2),P(4,iub,5,1,"span",2),I());a&2&&(B(1),F("href",gub(b,b.lineNumbers),Sd),B(1),Mf(" ",b.filename," "),B(1),F("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),B(1),F("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[Nw,Ow],encapsulation:2});
var xbd=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),ybd=encodeURIComponent("(\\b|$)");var s6=function(){};s6.\u0275fac=function(a){return new (a||s6)};s6.\u0275mod=Oc({type:s6});s6.\u0275inj=xc({imports:[cG]});var zbd=function(){return{width:400}},Abd=function(){return[]},t6=function(a,b,c,d,e,g,h,m,r){var v=this;this.bLocation=c;this.paths=d;this.analytics=e;this.currentTracker=h;this.componentActions=m;this.cdr=r;this.includeArchived$=new E.BehaviorSubject(!1);this.rootComponent$=this.currentTracker.tracker$.pipe(af(function(y){return y?v.componentActions.get(Number(y.componentId)):(0,E.of)(void 0)}));this.topLevelComponents$=(0,E.combineLatest)([this.rootComponent$,this.includeArchived$]).pipe(af(function(y){var A=
k(y);y=A.next().value;A=A.next().value;var G;return v.componentActions.getChildren(null!=(G=null==y?void 0:y.parentComponentId)?G:0,A,Zoc(v.currentTracker))}));this.createComponentPath=Ls.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&lub(this,Number(b.componentId),(0,E.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=g.isInternalSession()};t6.prototype.viewComponent=function(a,b){b=void 0===b?null:b;a&&(b&&this.analytics.trackEvent("listComponents",b),this.bLocation.url(this.paths.manageComponent(a.componentId)))};
var lub=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=uaa(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-1),g={0:c},h=k(e),m=h.next();!m.done;m=h.next())m=m.value,g[m]=a.componentActions.getChildren(m,a.includeArchived);return $n(g).then(function(r){for(var v=r[0],y=0,A=k(e),G=A.next(),N={};!G.done;N={$jscomp$loop$prop$parentId$m176045331$1$m176045331$3:N.$jscomp$loop$prop$parentId$m176045331$1$m176045331$3},G=A.next()){N.$jscomp$loop$prop$parentId$m176045331$1$m176045331$3=
G.value;G=void 0;var Q=null!=(G=v.find(function(Z){return function(Y){return Y.componentId===Z.$jscomp$loop$prop$parentId$m176045331$1$m176045331$3}}(N)))?G:null;Q&&(Q.children=r[N.$jscomp$loop$prop$parentId$m176045331$1$m176045331$3],Q.showChildren=!0,v=Q.children,y=Q.componentId)}d.archived&&!a.includeArchived&&(b=y);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};wh.Object.defineProperties(t6.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});
t6.\u0275fac=function(a){return new (a||t6)(C(bW),C(JJ),C(cH),C(dH),C(TH),C(bt),C(eL),C(MU),C(PH,2))};
t6.\u0275cmp=Mc({type:t6,selectors:[["b-list-components-page"]],features:[Pf([PH])],decls:16,vars:15,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-button","","class","gmat-button",3,"href",4,"ngIf"],["mat-button","","panelClass","overflow-visible-inline-dialog-panel",1,"gmat-button",3,"xapInlineDialogClick","overlaySize"],["componentPickerTemplate",""],["id","bv2-issue-showarchived-button",4,"ngIf"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],[1,"top-tree",
3,"components","includeArchived","init"],["mat-button","",1,"gmat-button",3,"href"],[1,"component-picker-dialog"],["ariaLabel","Choose a component to navigate to that component.",3,"includeArchived","placeholder","shouldFocus","isRequired","selectedComponentChange"],["id","bv2-issue-showarchived-button"],["label","Show archived",3,"model","tooltip","modelChange"],[1,"bv2-view-loading"],["size","small"]],template:function(a,b){a&1&&(H(0,"h2",0),R(1,"Browse Components"),I(),H(2,"div",1)(3,"div",2),
P(4,jub,2,1,"a",3),H(5,"button",4),R(6," Search Components "),I(),P(7,kub,4,6,"ng-template",null,5,hg),P(9,mub,3,4,"div",6),I()(),H(10,"div",7),P(11,nub,2,0,"div",8),S(12,"async"),H(13,"component-tree-list",9),M("init",function(h){return b.componentTree=h}),S(14,"async"),S(15,"async"),I()());if(a&2){var c=Lf(8),d,e,g;B(4);F("ngIf",b.isInternalSession);B(1);F("xapInlineDialogClick",c)("overlaySize",Rf(13,zbd));B(4);F("ngIf",b.isInternalSession);B(2);F("ngIf",!(null!==(d=T(12,7,b.topLevelComponents$))&&
void 0!==d&&d));B(2);F("components",null!==(e=T(14,9,b.topLevelComponents$))&&void 0!==e?e:Rf(14,Abd))("includeArchived",null!==(g=T(15,11,b.includeArchived$))&&void 0!==g?g:!1)}},dependencies:[Ow,wM,BX,AX,EX,jZ,qA,rA,gZ,SU,Uw],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var u6=function(){};u6.\u0275fac=function(a){return new (a||u6)};u6.\u0275mod=Oc({type:u6});u6.\u0275inj=xc({imports:[cG,eO,eU,PX,RX,HP,kZ,QC,iZ,JW]});var Bbd=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};Bbd.\u0275fac=function(a){return new (a||Bbd)};
Bbd.\u0275cmp=Mc({type:Bbd,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&&(H(0,"div",0),P(1,oub,2,1,"p",1),H(2,"ul"),P(3,pub,2,
5,"li",2),I()());a&2&&(B(1),F("ngIf",b.displayPackageName),B(2),F("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[Nw,Ow,r6],encapsulation:2});var v6=function(){};v6.\u0275fac=function(a){return new (a||v6)};v6.\u0275mod=Oc({type:v6});v6.\u0275inj=xc({imports:[cG,s6]});var w6=function(){};w6.\u0275fac=function(a){return new (a||w6)};w6.\u0275mod=Oc({type:w6});w6.\u0275inj=xc({imports:[cG,Jx,QC,IA,UA,xS,RA]});var x6=function(){};x6.prototype.ngOnInit=function(){};x6.\u0275fac=function(a){return new (a||x6)};
x6.\u0275cmp=Mc({type:x6,selectors:[["b-tracker-account-menu-hack"]],decls:5,vars:2,consts:[["aria-label","Open account menu",1,"tracker-account-hack-button",3,"matMenuTriggerFor"],["xPosition","before"],["accountHackMenu","matMenu"],[3,"href"]],template:function(a){a&1&&(J(0,"button",0),H(1,"mat-menu",1,2)(3,"a",3),R(4,"Sign out or switch accounts"),I()());if(a&2){var b=Lf(2);F("matMenuTriggerFor",b);B(3);F("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),
Sd)}},dependencies:[lC,kC],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}a[_ngcontent-%COMP%]{padding:8px}"]});var y6=function(){GE.apply(this,arguments);this.trackerCheckboxValues={}};U(y6,GE);y6.\u0275dir=GE.\u0275dir;y6.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=k(null!=(b=this.availableTrackers)?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 Cbd=function(a){return Object.keys($b(a.trackerCheckboxValues,function(b){return b}))};
y6.\u0275fac=function(){var a;return function(b){return(a||(a=zd(y6)))(b||y6)}}();
y6.\u0275cmp=Mc({type:y6,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[lf,ed],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,"checked","change"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),R(4,"Select a tracker"),I(),P(5,qub,2,0,"span",3),I(),H(6,"div",4),P(7,rub,3,2,"div",5),I()()());a&2&&(yf("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),B(5),F("ngIf",0===Cbd(b).length),B(2),F("ngForOf",b.availableTrackers))},dependencies:[Nw,Ow,BO],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 z6=function(a,b,c,d,e,g){GE.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=g;this.prefsManager.preferences$.pipe(bf(this.destroyed$)).subscribe(function(m){h.prefs=m});a.topBarEvents.browseComponents.pipe(bf(this.destroyed$)).subscribe(function(m){m=m.newTab;Dbd(h,d.listComponents(),m)});a.topBarEvents.manageHotlists.pipe(bf(this.destroyed$)).subscribe(function(m){Dbd(h,d.listHotlists(),m.newTab)});a.topBarEvents.manageSlos.pipe(bf(this.destroyed$)).subscribe(function(m){m=
m.newTab;Dbd(h,d.listSlos(),m)});a.topBarEvents.setDensity.pipe(bf(this.destroyed$)).subscribe(function(m){h.setDensity(m)});a.topBarEvents.openSettings.pipe(bf(this.destroyed$)).subscribe(function(m){var r=m.newTab;Dbd(h,d.settings(m.settingsTabName),r)})};U(z6,GE);z6.\u0275dir=GE.\u0275dir;var Dbd=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.url(b)};
z6.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Oe(),bf(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};z6.\u0275fac=function(a){return new (a||z6)(u(sG),u(TH),u(cH),u(dH),u(qJ),u(LK))};z6.\u0275prov=wc({token:z6,factory:z6.\u0275fac,providedIn:"root"});var A6=function(a,b,c,d,e,g,h,m,r,v,y){GE.call(this);var A=this;this.activeSession=a;this.currentTracker=b;this.searchAcData=c;this.savedSearchApi=d;this.butterBar=e;this.bLocation=g;this.paths=h;this.analytics=m;this.appEvents=v;this.appSearchState=y;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=EE(this.activeSession,"enableTrackersAccountHack");this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();
this.searchAcData.acRefreshed$.pipe(bf(this.destroyed$)).subscribe(function(){A.items=A.searchAcData.items;A.acHeader=A.searchAcData.acHeader})};U(A6,GE);A6.\u0275dir=GE.\u0275dir;var Ebd=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"}};
A6.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(bf(this.destroyed$)).subscribe(function(c){var d=a.searchAcData,e=c.cursorPosition;d.query=c.query;d.cursorIdx=e;if(null==d.cursorIdx)d.currentSearchContext=null;else{var g=d.query,h=d.cursorIdx;if(0>h||h>g.length)throw Error("we");e=new cWc(g,h);if(g){var m=g.slice(0,h);for(var r=!1,v=-1,y=-1;-1<(v=m.indexOf('"',v+1));)r=!r,y=v;m=r?y:-1;if(-1<m)e.value={val:g.slice(m,h),idx:m};else if(m=g.slice(0,h),r=g.slice(h),v=r.search("\\s"),
r=-1<v?r.slice(0,v):r,(m=Ejb(m+r,gWc))?(m={negated:!!m[1],val:m[2].toLowerCase(),operator:m[3],idx:m.index-m[1].length-m[2].length-m[3].length},fi(m.val,"customfield")&&(m.customFieldId=m.val.slice(11),m.val="customfield")):m=null,m){r=m.idx+(m.negated?1:0)+m.val.length+m.operator.length+(m.customFieldId?m.customFieldId.length:0);g=g.slice(r);h=Math.max(h-r,0);v=m;if("("===g.charAt(0)){b:{v=[];y=/[()]/g;for(var A;null!=(A=y.exec(g));){var G=v[v.length-1];if(G&&G!==A[0]){if(v.pop(),!v.length){v=A.index>=
h;break b}}else v.push(A[0])}v=!0}v=v?2:0}else v=dWc.includes(v.val)&&-1===g.search("^\\d")?1:0;switch(v){case 2:g=dWc.includes(m.val)?xq(g,h,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):xq(g,h,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(g.val)&&(g.val="",g.idx=h);e.value=g;break;case 1:e.value=xq(g,h,"[()|]","[()|,\\s]");break;case 0:e.value=xq(g,h,"[\\s()|]");-1<g.slice(0,h).search("[\\s()|]")&&(m=null);break;default:Fh(v,"unknown ValueType.")}e.value.idx+=r;e.label=m}else e.value=xq(g,
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(D(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(df(b),bf(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=void 0===d?"":d;var g=C4a(c),h=g.filters,m=g.text,r=g.complexSyntax,
v=g.resourceIds;g=[h,m,v].reduce(D4a);h=[h?"filters":void 0,m?"text":void 0,v?"ids":void 0].filter(Boolean).join("-");r?e.track(d,"complex"):h?e.track(d,h,g):e.track(d,"UNHANDLED");d=na(e.searchHandlerStack);void 0===d?e.$log.warn("No search function installed."):d(c)})};A6.prototype.ngAfterViewInit=function(){Gad(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var Fbd=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:Nad(a.advancedSearchCtrl).trim()};
f=A6.prototype;f.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(Fbd(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&Gad(this.advancedSearchCtrl,this.currentQuery)};f.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:Cbd(a))?b:[]);this.advancedSearchCtrl&&(a=Fbd(this),void 0!==a&&a!==this.currentQuery&&this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}))};
f.submitAdvancedSearch=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:Cbd(a))?b:[]);this.advancedSearchCtrl&&(a=Fbd(this),void 0!==a&&(this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}),this.appSearchState.searchTriggered$.next("ui-builder")))};
f.saveSearch=function(a){var b=this;if(this.advancedSearchCtrl){var c=Fbd(this);void 0!==c&&(mG(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;mG(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.url(b.paths.viewSavedSearch(d));b.analytics.trackEvent("savedSearches","create")}).catch(function(d){b.butterBar.showWarning(fm(d))}))}};
f.isSearchDisabled=function(){return this.inTracker()&&0===Cbd(this.trackerSearchCtrl).length};f.inTracker=function(){return!!this.trackerSearchCtrl};A6.\u0275fac=function(a){return new (a||A6)(C(bt),C(eL),C(j2),C(jI),C(lG),C(cH),C(dH),C(TH),C(z6),C(sG),C(KX))};
A6.\u0275cmp=Mc({type:A6,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(cg(t5,5),cg(y6,5));if(a&2){var c;bg(c=eg())&&(b.advancedSearchCtrl=c.first);bg(c=eg())&&(b.trackerSearchCtrl=c.first)}},features:[lf],decls:11,vars:20,consts:[[3,"logoFrontendAccessMode","logoEnvironmentType","searchBoxPlaceholder","searchBoxAutoCompleteItems","searchBoxAutoCompleteHeader","isSearchDisabled","searchBoxOnAdvancedSearchOpen","searchBoxOnAdvancedSearchClose","searchBoxOnAdvancedSearchSubmit","searchBoxOnSaveSearch"],
[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&&(H(0,"b-app-top-bar",0),M("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(d){return b.saveSearch(d)}),S(1,"async"),P(2,sub,3,6,"b-tracker-search",1),S(3,"async"),J(4,"b-advanced-search",2),S(5,"async"),P(6,tub,4,0,"div",3),P(7,wub,3,2,"div",4),P(8,xub,2,0,"div",4),I(),P(9,yub,1,0,"b-tracker-account-menu-hack",5),S(10,"async"));if(a&2){var c;F("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",
Ebd(b,T(1,12,b.currentTracker.tracker$)))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled());B(2);F("ngIf",null!==(c=T(3,14,b.currentTracker.inTracker$))&&void 0!==c?c:!1);B(2);F("isTrackerSearchEnabled",!T(5,16,b.currentTracker.inTracker$));B(2);F("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));B(1);F("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())||
"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));B(1);F("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));B(1);F("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&T(10,18,b.currentTracker.inTracker$))}},dependencies:[Ow,bB,t5,y6,hbd,wM,x6,Uw],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 B6=function(){};B6.\u0275fac=function(a){return new (a||B6)};B6.\u0275mod=Oc({type:B6});B6.\u0275inj=xc({imports:[cG,fP]});var C6=function(){};C6.\u0275fac=function(a){return new (a||C6)};C6.\u0275mod=Oc({type:C6});C6.\u0275inj=xc({imports:[cG,w5,B6,U5,eO,mC]});var D6=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=pi;this.updateDiffs=b.updateDiffs};D6.prototype.close=function(){this.dialogRef.close()};D6.\u0275fac=function(a){return new (a||D6)(C(AA),C(CA))};
D6.\u0275cmp=Mc({type:D6,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&&(H(0,"div",0)(1,"ul",1),P(2,Hub,10,4,"li",2),I()(),H(3,"div",3)(4,"button",4),M("click",function(){return b.close()}),R(5," Close "),I()());a&2&&(B(2),F("ngForOf",b.updateDiffs))},dependencies:[Nw,Ow,qA,GA,HA,PK,OK,VK],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 E6=function(){};E6.\u0275fac=function(a){return new (a||E6)};E6.\u0275mod=Oc({type:E6});E6.\u0275inj=xc({imports:[cG,QC,IA,zP,IN]});var F6=function(a,b){GE.call(this);this.$window=a;this.currentTracker=b;this.faviconUrl=this.defaultFaviconUrl=Vg("https://www.gstatic.com/buganizer/img/v4/favicon.png")};U(F6,GE);F6.\u0275dir=GE.\u0275dir;
var Gbd=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=null==b?void 0:b.href;a.faviconUrl=c?Vg(c):a.defaultFaviconUrl;a.currentTracker.tracker$.pipe(D(function(d){var e;if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var g;d=Vg(null==d?void 0:null==(g=d.branding)?void 0:g.logoUrl)}else d=a.faviconUrl;return d}),bf(a.destroyed$)).subscribe(function(d){if(b&&b.href!==d.toString())a:{if(d instanceof Ev)b.href=Jh(d).toString();else{if(-1===aac.indexOf("icon"))throw Error("Rb`icon");
d=gna(d);if(void 0===d)break a;b.href=d}b.rel="icon"}})};F6.\u0275fac=function(a){return new (a||F6)(u(FE),u(eL))};F6.\u0275prov=wc({token:F6,factory:F6.\u0275fac,providedIn:"root"});var Hbd=/^\s*[^:/?#]+:/i,Ibd=/^#/i,G6=function(a){var b=this;this.bLocation=a;this.linkClickHandler=function(c){if(!(c.ctrlKey||c.metaKey||c.shiftKey||2===c.which||2===c.button||c.defaultPrevented)){var d;a:{for(d=c.target;d;){if("A"===d.tagName)break a;d=d.parentElement}d=void 0}if(d&&(!d.hasAttribute("target")||"_self"===d.getAttribute("target"))&&(d=d.getAttribute("href"))&&!Hbd.test(d))if(Ibd.test(d)){b.bLocation.hash(d.substring(1));var e;null==(e=document.getElementById(d.substring(1)))||e.scrollIntoView();
c.stopPropagation();c.preventDefault()}else c.preventDefault(),b.bLocation.url(d)}}};G6.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};G6.\u0275fac=function(a){return new (a||G6)(u(cH))};G6.\u0275prov=wc({token:G6,factory:G6.\u0275fac,providedIn:"root"});var Jbd=[],Kbd=!1,H6=function(a,b,c,d,e,g,h,m){GE.call(this);this.hatsService=a;this.iconRegistry=b;this.session=c;this.appHistory=d;this.routePerformance=e;this.linkClickHandler=g;this.issueLru=h;this.faviconService=m};U(H6,GE);H6.\u0275dir=GE.\u0275dir;H6.prototype.tearDown=function(){GE.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};H6.\u0275fac=function(a){return new (a||H6)(u(LP),u($A),u(bt),u(A2),u(D2),u(G6),u(VV),u(F6))};
H6.\u0275prov=wc({token:H6,factory:H6.\u0275fac,providedIn:"root"});
var Lbd={provide:WUb,useFactory:function(a){return function(){Mh("app initializer starting");Kbd||(a.iconRegistry._addSvgIconSetConfig("",new O1b(Qoc)),Kbd=!0);if(a.session.isInternalSession()){Btc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Oe(),bf(a.destroyed$)).subscribe();for(var b=k(Jbd),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;EE(a.session,c.flagName)&&Btc(a.hatsService,d).pipe(Oe(),bf(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();
a.linkClickHandler.install();b=a.issueLru;jZa(b.viewed,GKc());jZa(b.edited,EKc());b.appEvents.issueViewed.pipe(bf(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(bf(b.stop$)).subscribe(b.addEdited);Gbd(a.faviconService)}},deps:[H6],multi:!0};var I6=function(a,b){this.paths=a;this.bLocation=b};I6.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=this.paths.editIssue(a.issueId)+(b?"#"+b:"");this.bLocation.url(a)};I6.\u0275fac=function(a){return new (a||I6)(u(dH),u(cH))};I6.\u0275prov=wc({token:I6,factory:I6.\u0275fac,providedIn:"root"});var Mbd={provide:mM,useExisting:I6};var Nbd=function(){var a;switch(null==(a=self.location)?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 J6=function(a){iB.call(this);this.errorHandlerFn_=a};nt(J6,iB);J6.prototype.wrap=function(a){return Obd(this,a)};var K6=function(a,b){return(b?"__wrapper_":"__protected_")+xa(a)+"__"},Obd=function(a,b){var c=K6(a,!0);b[c]||((b[c]=Pbd(a,b))[K6(a,!1)]=b);return b[c]},Pbd=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[K6(a,!1)]=b;return c};
J6.prototype.handleError_=function(a){if(!(a&&"object"===typeof a&&"string"===typeof a.message&&0==a.message.indexOf("Error in protected function: ")||"string"===typeof a&&0==a.indexOf("Error in protected function: ")))throw this.errorHandlerFn_(a),new Qbd(a);};
var Rbd=function(a,b){var c=ba.window||ba.globalThis,d=c[b];if(!d)throw Error("Ve`"+b);c[b]=function(e,g){"string"===typeof e&&(e=mt(UMb,e));e&&(arguments[0]=e=Obd(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(2<arguments.length){var m=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,m)}}return d(h,g)};c[b][K6(a,!1)]=d};
J6.prototype.disposeInternal=function(){var a=ba.window||ba.globalThis;var b=a.setTimeout;b=b[K6(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[K6(this,!1)]||b;a.setInterval=b;J6.superClass_.disposeInternal.call(this)};var Qbd=function(a){aa.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&"string"===typeof a&&(this.stack=a)};nt(Qbd,aa);var Tbd=function(a,b,c){fp.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=Sbd;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new J6(lt(this.handleException,this));Rbd(this.errorHandler_,"setTimeout");Rbd(this.errorHandler_,"setInterval");a=this.errorHandler_;b=ba.window||ba.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&Rbd(a,
e)}a=this.errorHandler_;c2b=!0;b=lt(a.wrap,a);for(c=0;c<a2b.length;c++)a2b[c](b);b2b.push(a)}};nt(Tbd,fp);var Ubd=function(a,b){kB.call(this,"F");this.error=a;this.context=b};nt(Ubd,kB);var Sbd=function(a,b,c,d){if(d instanceof Map){var e={};d=k(d);for(var g=d.next();!g.done;g=d.next()){var h=k(g.value);g=h.next().value;h=h.next().value;e[g]=h}}else e=d;oo(a,null,b,c,e)};
Tbd.prototype.handleException=function(a,b){a=a.error||a;b=b?cc(b):{};a instanceof Error&&Rca(b,a.__closure__error__context__984382||{});var c=RYb(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(m){}var d=c.message.substring(0,1900);if(!(a instanceof aa)||a.reportErrorToServer){a=c.stack;try{var e=MB(this.handlerUrl_,"script",c.fileName,"error",d,"line",c.lineNumber);ac(this.additionalArguments_)||(e=Fwa(e,this.additionalArguments_));d={};d.trace=a;if(b)for(var g in b)d["context."+
g]=b[g];var h=L4b(d);this.xhrSender_(e,"POST",h,this.extraHeaders_)}catch(m){}}try{this.dispatchEvent(new Ubd(c,b))}catch(m){}};Tbd.prototype.disposeInternal=function(){Eh(this.errorHandler_);Tbd.superClass_.disposeInternal.call(this)};var L6=function(){this.jsBuild="550896260";this.buildLabel="buganizer.frontend_20230725.05_p0"};L6.\u0275fac=function(a){return new (a||L6)};L6.\u0275prov=wc({token:L6,factory:L6.\u0275fac,providedIn:"root"});var M6=function(){};M6.prototype.reportingEnabled=function(){return 4!==Nbd};M6.\u0275fac=function(a){return new (a||M6)};M6.\u0275prov=wc({token:M6,factory:M6.\u0275fac,providedIn:"root"});
var N6=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new Tbd("/jserror",function(d,e){e.js_build=a.jsBuild;e.buildLabel=a.buildLabel;e["build-label"]=a.buildLabel;d=k(c.reportingExtensions);for(var g=d.next();!g.done;g=d.next())g.value.enhanceContext(e)},!0)};
N6.prototype.reportError=function(a){console.error("ErrorReporter: ",(null==a?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){a.stack&&(a.stack=a.stack.replace(/ \[angular\]/g,""));this.jsDebugErrorReporter.handleException(a);a=k(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};N6.\u0275fac=function(a){return new (a||N6)(u(L6),u(M6))};N6.\u0275prov=wc({token:N6,factory:N6.\u0275fac,providedIn:"root"});var O6=function(a){this._console=console;this.reporter=a};U(O6,Wd);O6.prototype.handleError=function(a){this.reporter.reportError(a)};O6.\u0275fac=function(a){return new (a||O6)(u(N6))};O6.\u0275prov=wc({token:O6,factory:O6.\u0275fac,providedIn:"root"});var P6=function(a){this.activeSession=a};U(P6,M6);P6.prototype.reportingEnabled=function(){return EE(this.activeSession,"reportErrors")};P6.\u0275fac=function(a){return new (a||P6)(u(bt))};P6.\u0275prov=wc({token:P6,factory:P6.\u0275fac,providedIn:"root"});
var Vbd={provide:Wd,useClass:O6},Wbd={provide:M6,useClass:P6},Xbd={provide:L6,useValue:{jsBuild:"550896260",buildLabel:"buganizer.frontend_20230725.05_p0"}};var Q6=function(){};Q6.\u0275fac=function(a){return new (a||Q6)};Q6.\u0275cmp=Mc({type:Q6,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var R6=function(){};R6.\u0275fac=function(a){return new (a||R6)};R6.\u0275mod=Oc({type:R6});R6.\u0275inj=xc({});var S6=function(){};U(S6,TG);S6.prototype.store=function(){};S6.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&Yh(a.params,b.params)};S6.\u0275fac=function(){var a;return function(b){return(a||(a=zd(S6)))(b||S6)}}();S6.\u0275prov=wc({token:S6,factory:S6.\u0275fac,providedIn:"root"});var T6=function(a){this.router=a};
T6.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=k(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return XG(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&"1"===a.queryParamMap.get("showInsights")){b=k(b.url.split("?")).next().value;var d={};return XG(this.router,[b],{queryParams:Object.assign({},Bya(a.queryParamMap),(d.showInsights="deployments",d)),fragment:null!=(c=a.fragment)?
c:void 0})}return!0};T6.\u0275fac=function(a){return new (a||T6)(u(WG))};T6.\u0275prov=wc({token:T6,factory:T6.\u0275fac,providedIn:"root"});var Ybd=/^(\d+)$/,U6=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(Fcc))};U6.prototype.validate=function(a){for(var b=k(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=li(d);if(!Ybd.test(d)||isNaN(e)||!Number.isInteger(e))return this.butterBar.showWarning("The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};U6.\u0275fac=function(a){return new (a||U6)(u(lG))};
U6.\u0275prov=wc({token:U6,factory:U6.\u0275fac,providedIn:"root"});var V6=function(a){this.routeParamsValidator=a};V6.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};V6.\u0275fac=function(a){return new (a||V6)(u(U6))};V6.\u0275prov=wc({token:V6,factory:V6.\u0275fac,providedIn:"root"});var W6=function(a,b){this.activeSession=a;this.router=b};W6.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:XG(this.router,["issues"])};W6.\u0275fac=function(a){return new (a||W6)(u(bt),u(WG))};W6.\u0275prov=wc({token:W6,factory:W6.\u0275fac,providedIn:"root"});var X6=function(a,b){this.currentTracker=a;this.router=b};X6.prototype.canActivate=function(){return this.currentTracker.inTracker?XG(this.router,["issues"]):!0};X6.\u0275fac=function(a){return new (a||X6)(u(eL),u(WG))};X6.\u0275prov=wc({token:X6,factory:X6.\u0275fac,providedIn:"root"});var Y6=function(a,b){this.router=a;this.activeSession=b};Y6.prototype.canActivate=function(){var a=EE(this.activeSession,"enableHomepageVariantA");return XG(this.router,[Iub(a)])};Y6.\u0275fac=function(a){return new (a||Y6)(u(WG),u(bt))};Y6.\u0275prov=wc({token:Y6,factory:Y6.\u0275fac,providedIn:"root"});var Zbd={USER:"USER",DEVELOPER:"DEVELOPER",CONTRIBUTOR:"CONTRIBUTOR"},$bd={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},acd=new Zc("CustomQuestionsConfig");var bcd=function(){this.persona="USER";this.categoryChange=new pw;var a={};this.options=(a.USER=[{title:"UI",description:"Problems with the user interface (e.g. tabs, context menus, etc...)",value:"UI",componentId:422198},{title:"Network / Downloading",description:"Problems with accessing remote content",value:"NETWORK_DOWNLOADING",componentId:421924},{title:"Audio / Video",description:"Problems playing back sound or movies",value:"AUDIO_VIDEO",componentId:421886},{title:"Content",description:"Problems with webpages not working correctly",
value:"CONTENT"},{title:"Apps",description:"Issues with Webstore apps",value:"APPS",componentId:422083},{title:"Extensions / Themes",description:"Issues with Webstore extensions and themes",value:"EXTENSIONS_THEMES",componentId:422130},{title:"Webstore",description:"Problems with the Chrome Webstore itself",value:"WEBSTORE",componentId:422443},{title:"Sync",description:"Problems syncing data to a Google account",value:"SYNC",componentId:422168},{title:"Enterprise",description:"Policy configuration and deployment issues",
value:"ENTERPRISE",componentId:421726},{title:"Installation",description:"Problem installing Chrome",value:"INSTALLATION",componentId:421863},{title:"Crashes",description:'The browser closes abruptly or I see "Aw, Snap!" pages',value:"CRASHES"},{title:"Security",description:"Problems with the browser security",value:"SECURITY"},{title:"Other",description:"Something not listed here",value:"OTHER"}],a.DEVELOPER=[{title:"API",description:"Problems with a browser API",value:"API"},{title:"JavaScript",
description:"Problems with the JavaScript interpreter",value:"JAVASCRIPT",componentId:421442},{title:"Developer Tools",description:"Problems with the Developer tool chain/inspector",value:"DEV_TOOLS",componentId:422123}],a.CONTRIBUTOR=[],a)};bcd.\u0275fac=function(a){return new (a||bcd)};
bcd.\u0275cmp=Mc({type:bcd,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},decls:5,vars:3,consts:[["appearance","outline","aria-label","Which of the following describes your issue?"],["panelClass","oversized",3,"value","valueChange"],["class","multiline",3,"value",4,"ngFor","ngForOf"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(H(0,"mat-form-field",0)(1,"mat-select",1),M("valueChange",function(d){b.category=
d;b.categoryChange.emit(b.category)}),H(2,"mat-select-trigger"),R(3),I(),P(4,Jub,5,3,"mat-option",2),I()());if(a&2){var c;B(1);F("value",b.category);B(2);Mf(" ",null!==(c=null==b.category?null:b.category.title)&&void 0!==c?c:""," ");B(1);F("ngForOf",b.options[b.persona])}},dependencies:[Nw,QA,iP,hP,sA],styles:[".mat-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:#9aa0a6;color:var(--c500)}mat-form-field[_ngcontent-%COMP%]{min-width:300px}\n/*# sourceMappingURL=category_select.css.map */"]});var Es=function(a){return{question:a}},Z6=function(a){this.config=a;this.CustomQuestionType=$bd;this.responses=new pw;this.model=Object.assign({},a)};Z6.prototype.ngOnInit=function(){};var Uub=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};Z6.\u0275fac=function(a){return new (a||Z6)(C(acd))};
Z6.\u0275cmp=Mc({type:Z6,selectors:[["wizard-custom-questions"]],inputs:{category:"category"},outputs:{responses:"responses"},decls:9,vars:1,consts:[[4,"ngFor","ngForOf"],["customQuestion",""],["input",""],["text",""],["select",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"innerHtml"],["appearance","outline"],["matInput","",3,"ngModel","ngModelChange"],[1,"textarea"],["required","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet",
"ngTemplateOutletContext",4,"ngIf"],[3,"value"]],template:function(a,b){a&1&&(P(0,Kub,2,4,"ng-container",0),P(1,Oub,4,4,"ng-template",null,1,hg),P(3,Pub,3,3,"ng-template",null,2,hg),P(5,Qub,4,3,"ng-template",null,3,hg),P(7,Vub,5,5,"ng-template",null,4,hg));a&2&&F("ngForOf",b.model[b.category])},dependencies:[Nw,Ow,Tw,Pw,Qw,xg,ox,ux,QA,TA,iP,sA],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%]   mat-form-field.textarea[_ngcontent-%COMP%]     .mat-form-field-underline{display:none}[_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 ccd=function(){this.Persona=Zbd;this.persona="USER";this.personaChange=new pw};ccd.\u0275fac=function(a){return new (a||ccd)};
ccd.\u0275cmp=Mc({type:ccd,selectors:[["wizard-persona-picker"]],inputs:{persona:"persona"},outputs:{personaChange:"personaChange"},decls:14,vars:4,consts:[["aria-label","Select your following role",3,"ngModel","ngModelChange"],[3,"value"],[1,"subtext"]],template:function(a,b){a&1&&(H(0,"div")(1,"mat-radio-group",0),M("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),H(2,"mat-radio-button",1),R(3," End User "),H(4,"div",2),R(5," I am trying to use a website. "),I()(),H(6,"mat-radio-button",
1),R(7," Web Developer "),H(8,"div",2),R(9," I am trying to build something on a website. "),I()(),H(10,"mat-radio-button",1),R(11," Chromium Contributor "),H(12,"div",2),R(13," I know about a problem in specific tests or code. "),I()()()());a&2&&(B(1),F("ngModel",b.persona),B(1),F("value",b.Persona.USER),B(4),F("value",b.Persona.DEVELOPER),B(4),F("value",b.Persona.CONTRIBUTOR))},dependencies:[ox,ux,DN,EN],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .mat-radio-container{top:-30px}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;margin-right:60px;max-width:270px;height:90px;padding:24px 12px}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 dcd=["*",[["mat-card-footer"]]],ecd=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],fcd=function(){};fcd.\u0275fac=function(a){return new (a||fcd)};fcd.\u0275dir=Qc({type:fcd,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]});var gcd=function(a){this._animationMode=a};
gcd.\u0275fac=function(a){return new (a||gcd)(C(Ov,8))};
gcd.\u0275cmp=Mc({type:gcd,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(a,b){a&2&&yf("_mat-animation-noopable","NoopAnimations"===b._animationMode)},exportAs:["matCard"],ngContentSelectors:["*","mat-card-footer"],decls:2,vars:0,template:function(a){a&1&&(Gf(dcd),Hf(0),Hf(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,
changeDetection:0});var hcd=function(){};hcd.\u0275fac=function(a){return new (a||hcd)};
hcd.\u0275cmp=Mc({type:hcd,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"],decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(a){a&1&&(Gf(ecd),Hf(0),H(1,"div",0),Hf(2,1),I(),Hf(3,2))},encapsulation:2,changeDetection:0});var $6=function(a){this._elementRef=a};$6.prototype.focus=function(){this._elementRef.nativeElement.focus()};$6.\u0275fac=function(a){return new (a||$6)(C(Bd))};$6.\u0275dir=Qc({type:$6,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]});var a7=function(a){this.template=a};a7.\u0275fac=function(a){return new (a||a7)(C(Zf))};a7.\u0275dir=Qc({type:a7,selectors:[["","cdkStepLabel",""]]});var icd=0,jcd=new Zc("STEPPER_GLOBAL_OPTIONS"),b7=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new pw;this._editable=!0;this._optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType};f=b7.prototype;f._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted};
f._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted};f.select=function(){this._stepper.selected=this};f.reset=function(){this.interacted=!1;null!=this._completedOverride&&(this._completedOverride=!1);null!=this._customError&&(this._customError=!1);this.stepControl&&this.stepControl.reset()};f.ngOnChanges=function(){this._stepper._stateChanged()};f._markAsInteracted=function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))};
f._showError=function(){var a;return null!=(a=this._stepperOptions.showError)?a:null!=this._customError};
wh.Object.defineProperties(b7.prototype,{editable:{configurable:!0,enumerable:!0,get:function(){return this._editable},set:function(a){this._editable=Gg(a)}},optional:{configurable:!0,enumerable:!0,get:function(){return this._optional},set:function(a){this._optional=Gg(a)}},completed:{configurable:!0,enumerable:!0,get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(a){this._completedOverride=Gg(a)}},hasError:{configurable:!0,enumerable:!0,
get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(a){this._customError=Gg(a)}}});b7.\u0275fac=function(a){return new (a||b7)(C(Cc(function(){return c7})),C(jcd,8))};
b7.\u0275cmp=Mc({type:b7,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&dg(c,a7,5);if(a&2){var d;bg(d=eg())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&cg(Zf,7);if(a&2){var c;bg(c=eg())&&(b.content=c.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},
exportAs:["cdkStep"],features:[ed],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Gf(),P(0,Wub,1,0,"ng-template"))},encapsulation:2,changeDetection:0});var c7=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new E.Subject;this.steps=new fg;this._sortedHeaders=new fg;this._linear=!1;this._selectedIndex=0;this.selectionChange=new pw;this.selectedIndexChange=new pw;this._orientation="horizontal";this._groupId=icd++};f=c7.prototype;
f.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe($e(this._steps),bf(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));ag(a.steps)})};
f.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe($e(this._stepHeader),bf(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}));ag(a._sortedHeaders)});this._keyManager=fz(hz(ez(new kz(this._sortedHeaders))),"vertical"===this._orientation);(this._dir?this._dir.change:(0,E.of)()).pipe($e(this._layoutDirection()),
bf(this._destroyed)).subscribe(function(b){return gz(a._keyManager,b)});iz(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)};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this.steps.destroy();this._sortedHeaders.destroy();this._destroyed.next();this._destroyed.complete()};
f.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)};f.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)};f.reset=function(){this._updateSelectedItemIndex(0);this.steps.forEach(function(a){return a.reset()});this._stateChanged()};f._getStepLabelId=function(a){return"cdk-step-label-"+this._groupId+"-"+a};f._getStepContentId=function(a){return"cdk-step-content-"+this._groupId+"-"+a};f._stateChanged=function(){this._changeDetectorRef.markForCheck()};
f._getAnimationDirection=function(a){a-=this._selectedIndex;return 0>a?"rtl"===this._layoutDirection()?"next":"previous":0<a?"rtl"===this._layoutDirection()?"previous":"next":"current"};f._getIndicatorType=function(a,b){b=void 0===b?"number":b;var c=this.steps.toArray()[a];a=this._isCurrentStep(a);return c._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(c,a):this._getGuidelineLogic(c,a,b)};
f._getDefaultIndicatorLogic=function(a,b){return a._showError()&&a.hasError&&!b?"error":!a.completed||b?"number":a.editable?"edit":"done"};f._getGuidelineLogic=function(a,b,c){c=void 0===c?"number":c;return a._showError()&&a.hasError&&!b?"error":a.completed&&!b?"done":a.completed&&b?c:a.editable&&b?"edit":c};f._isCurrentStep=function(a){return this._selectedIndex===a};f._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex};
f._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):iz(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
f._onKeydown=function(a){var b=Kg(a),c=a.keyCode,d=this._keyManager;if(null==d.activeItemIndex||b||32!==c&&13!==c)m_b(d,"keyboard").onKeydown(a);else this.selectedIndex=d.activeItemIndex,a.preventDefault()};f._anyControlsInvalidOrPending=function(a){return this._linear&&0<=a?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};
f._layoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};f._containsFocus=function(){var a=this._elementRef.nativeElement,b=Dg();return a===b||a.contains(b)};f._isValidIndex=function(a){return-1<a&&(!this.steps||a<this.steps.length)};
wh.Object.defineProperties(c7.prototype,{linear:{configurable:!0,enumerable:!0,get:function(){return this._linear},set:function(a){this._linear=Gg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Jg(a);if(this.steps&&this._steps){this._isValidIndex(a);var b;null==(b=this.selected)||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&&fz(this._keyManager,"vertical"===a)}}});c7.\u0275fac=function(a){return new (a||c7)(C(lz,8),C(Hw),C(Bd))};
c7.\u0275dir=Qc({type:c7,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(dg(c,b7,5),dg(c,$6,5));if(a&2){var d;bg(d=eg())&&(b._steps=d);bg(d=eg())&&(b._stepHeader=d)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]});var d7=function(a){this._stepper=a;this.type="submit"};d7.\u0275fac=function(a){return new (a||d7)(C(c7))};d7.\u0275dir=Qc({type:d7,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.next()});a&2&&Ef("type",b.type)},inputs:{type:"type"}});var e7=function(a){this._stepper=a;this.type="button"};e7.\u0275fac=function(a){return new (a||e7)(C(c7))};
e7.\u0275dir=Qc({type:e7,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.previous()});a&2&&Ef("type",b.type)},inputs:{type:"type"}});var f7=function(){};f7.\u0275fac=function(a){return new (a||f7)};f7.\u0275mod=Oc({type:f7});f7.\u0275inj=xc({imports:[mz]});var g7=function(){d7.apply(this,arguments)};U(g7,d7);g7.\u0275fac=function(){var a;return function(b){return(a||(a=zd(g7)))(b||g7)}}();g7.\u0275dir=Qc({type:g7,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&Ef("type",b.type)},inputs:{type:"type"},features:[lf]});var h7=function(){e7.apply(this,arguments)};U(h7,e7);h7.\u0275fac=function(){var a;return function(b){return(a||(a=zd(h7)))(b||h7)}}();
h7.\u0275dir=Qc({type:h7,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&Ef("type",b.type)},inputs:{type:"type"},features:[lf]});var i7=function(a){this.templateRef=a};i7.\u0275fac=function(a){return new (a||i7)(C(Zf))};i7.\u0275dir=Qc({type:i7,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}});var kcd=function(a){this._template=a};kcd.\u0275fac=function(a){return new (a||kcd)(C(Zf))};kcd.\u0275dir=Qc({type:kcd,selectors:[["ng-template","matStepContent",""]]});var j7=function(){a7.apply(this,arguments)};U(j7,a7);j7.\u0275fac=function(){var a;return function(b){return(a||(a=zd(j7)))(b||j7)}}();j7.\u0275dir=Qc({type:j7,selectors:[["","matStepLabel",""]],features:[lf]});var k7=function(){this.changes=new E.Subject;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};k7.\u0275fac=function(a){return new (a||k7)};k7.\u0275prov=wc({token:k7,factory:k7.\u0275fac,providedIn:"root"});var lcd={provide:k7,deps:[[new Jv,new Kv,k7]],useFactory:function(a){return a||new k7}};var mcd=function(a){this._elementRef=a};U(mcd,$6);mcd.\u0275dir=$6.\u0275dir;mcd.\u0275fac=$6.\u0275fac;var ncd=xh(mcd,"primary"),l7=function(a,b,c,d){var e=ncd.call(this,c)||this;e._intl=a;e._focusMonitor=b;e._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()});return e};U(l7,ncd);f=l7.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._intlSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._elementRef)};
f.focus=function(a,b){a?Tx(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};f._stringLabel=function(){return this.label instanceof j7?null:this.label};f._templateLabel=function(){return this.label instanceof j7?this.label:null};f._getHostElement=function(){return this._elementRef.nativeElement};f._getIconContext=function(){return{index:this.index,active:this.active,optional:this.optional}};
f._getDefaultTextForState=function(a){return"number"==a?""+(this.index+1):"edit"==a?"create":"error"==a?"warning":a};l7.\u0275fac=function(a){return new (a||l7)(C(k7),C(Sx),C(Bd),C(Hw))};
l7.\u0275cmp=Mc({type:l7,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[lf],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,
"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],
[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(a,b){a&1&&(J(0,"div",0),H(1,"div")(2,"div",1),P(3,Xub,1,2,"ng-container",2),P(4,bvb,5,4,"ng-container",3),I()(),H(5,"div",4),P(6,cvb,2,1,"div",5),P(7,dvb,2,1,"div",5),P(8,evb,2,1,"div",6),P(9,fvb,2,1,"div",7),I());a&2&&(F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple),B(1),Bf("mat-step-icon-state-",b.state," mat-step-icon"),yf("mat-step-icon-selected",b.selected),B(1),F("ngSwitch",
!(!b.iconOverrides||!b.iconOverrides[b.state])),B(1),F("ngSwitchCase",!0),B(2),yf("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error","error"==b.state),B(1),F("ngIf",b._templateLabel()),B(1),F("ngIf",b._stringLabel()),B(1),F("ngIf",b.optional&&"error"!=b.state),B(1),F("ngIf","error"==b.state))},dependencies:[Ow,Tw,Pw,Qw,Rw,bB,Sz],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)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@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 ocd=Wg("horizontalStepTransition",[$g("previous",Zg({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),$g("current",Zg({transform:"none",visibility:"inherit"})),$g("next",Zg({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),ah("* => *",una([Yg("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),ch("@*",bh())]),{params:{animationDuration:"500ms"}})]),pcd=Wg("verticalStepTransition",[$g("previous",Zg({height:"0px",visibility:"hidden"})),$g("next",Zg({height:"0px",visibility:"hidden"})),
$g("current",Zg({height:"*",visibility:"inherit"})),ah("* <=> current",una([Yg("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),ch("@*",bh())]),{params:{animationDuration:"225ms"}})]);var jvb=function(a,b){return{step:a,i:b}},mvb=function(a){return{animationDuration:a}},lvb=function(a,b){return{value:a,params:b}},m7=function(a,b,c,d){b7.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=E.Subscription.EMPTY;this.stepLabel=void 0};U(m7,b7);
m7.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(af(function(){return a._stepper.selectionChange.pipe(D(function(b){return b.selectedStep===a}),$e(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new Xx(a._lazyContent._template,a._viewContainerRef))})};m7.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
m7.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};m7.\u0275fac=function(a){return new (a||m7)(C(Cc(function(){return n7})),C(Qz,4),C($f),C(jcd,8))};
m7.\u0275cmp=Mc({type:m7,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(dg(c,j7,5),dg(c,kcd,5));if(a&2){var d;bg(d=eg())&&(b.stepLabel=d.first);bg(d=eg())&&(b._lazyContent=d.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[Pf([{provide:Qz,useExisting:m7},{provide:b7,useExisting:m7}]),lf],ngContentSelectors:["*"],decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(Gf(),P(0,hvb,2,1,"ng-template"))},dependencies:[by],encapsulation:2,changeDetection:0});
var n7=function(a,b,c){c7.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new fg;this.animationDone=new pw;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new E.Subject;this._animationDuration="";this.orientation="mat-vertical-stepper"===c.nativeElement.nodeName.toLowerCase()?"vertical":"horizontal"};U(n7,c7);n7.\u0275dir=c7.\u0275dir;
n7.prototype.ngAfterContentInit=function(){var a=this;c7.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(bf(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(Ne(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),bf(this._destroyed)).subscribe(function(b){"current"===b.toState&&a.animationDone.emit()})};
n7.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};n7.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"};wh.Object.defineProperties(n7.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
n7.\u0275fac=function(a){return new (a||n7)(C(lz,8),C(Hw),C(Bd))};
n7.\u0275cmp=Mc({type:n7,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(dg(c,m7,5),dg(c,i7,5));if(a&2){var d;bg(d=eg())&&(b._steps=d);bg(d=eg())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&cg(l7,5);if(a&2){var c;bg(c=eg())&&(b._stepHeader=c)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(a,b){a&2&&(pf("aria-orientation",b.orientation),yf("mat-stepper-horizontal","horizontal"===
b.orientation)("mat-stepper-vertical","vertical"===b.orientation)("mat-stepper-label-position-end","horizontal"===b.orientation&&"end"==b.labelPosition)("mat-stepper-label-position-bottom","horizontal"===b.orientation&&"bottom"==b.labelPosition)("mat-stepper-header-position-bottom","bottom"===b.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},
exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Pf([{provide:c7,useExisting:n7}]),lf],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",
4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage",
"iconOverrides","disableRipple","color","click","keydown"]],template:function(a,b){a&1&&(K(0,0),P(1,ovb,5,2,"div",1),P(2,qvb,2,1,"ng-container",2),L(),P(3,rvb,1,23,"ng-template",null,3,hg));a&2&&(F("ngSwitch",b.orientation),B(1),F("ngSwitchCase","horizontal"),B(1),F("ngSwitchCase","vertical"))},dependencies:[Nw,Ow,Tw,Pw,Qw,l7],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:[ocd,pcd]},changeDetection:0});var qcd=[xi("chrome-security@google.com")],o7=function(a,b,c,d,e,g,h,m){this.activeSession=a;this.analytics=b;this.butterBar=c;this.currentUser=d;this.issueApi=e;this.paths=g;this.redirectUrl=h;this.userAccess=m;this.Persona=Zbd;var r;a=window.navigator.platform;b=window.navigator.userAgent;c=["Win32","Win64","Windows","WinCE"];d=["iPhone","iPad","iPod"];a=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(a)?"Mac OS":d.includes(a)?"iOS":c.includes(a)?"Windows":/Android/.test(b)?"Android":/Linux/.test(a)?
"Linux":/\bCrOS\b/.test(b)?"Chrome OS":"Unknown/Other";b=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(0<b.length){var v;b=null==(v=b[0])?void 0:v.split("/")[1]}else b=void 0;this.model={persona:"USER",category:void 0,os:a,channel:"Not sure",version:null!=(r=b)?r:"",summary:"",reproSteps:"1. \n2. \n3. ",description:"",regression:"N/A",comments:"",customQuestionResponses:[]};this.ackDupes=!1;this.uploads=[];this.enableRecaptcha=EE(this.activeSession,"enableRecaptcha");this.recaptchaResponse=
""},svb=function(a,b){switch(b){case 0:return!!a.model.category&&a.ackDupes;case 1:return""!==a.model.summary&&"1. \n2. \n3. "!==a.model.reproSteps&&""!==a.model.description;default:Fh(b)}};f=o7.prototype;f.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};f.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};f.addUpload=function(a){this.uploads.push(a)};f.removeUpload=function(a){qa(this.uploads,a)};
f.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(Zh(c.blobRef));return a};
f.submit=function(){var a=this,b,c,d,e,g;return ne(function(h){switch(h.nextAddress){case 1:var m=a.model,r=a.currentUser.user,v=null,y=null,A;"SECURITY"===(null==(A=m.category)?void 0:A.value)&&(v="LIMIT_VIEW",y=qcd);var G;A=(null==(G=m.category)?void 0:G.componentId)||402888;G=m.summary;var N=[{customFieldId:199900,textValue:m.os},{customFieldId:199877,textValue:m.version},{customFieldId:199876,textValue:m.channel},{customFieldId:199878,textValue:m.regression}],Q;m="\n# Steps to reproduce the problem\n"+
m.reproSteps+"\n\n# Problem Description\n"+m.description+"\n\n"+(0<m.comments.length?"\n# Additional Comments\n"+m.comments:"")+"\n\n# Summary\n"+m.summary+"\n\n"+Bvb(m.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+(null==(Q=m.category)?void 0:Q.title);m=m.replace(/^\n/,"");b={componentId:A,type:"BUG",status:"NEW",priority:"P2",severity:"S2",title:G,customField:N,comment:m.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:r,issueAccessLimitLevel:v,
collaboratorsUsers:y,ccUsers:[r],authorUser:null,createdTimeMicros:null,version:null,assigneeUser:null,verifierUser:null,attachmentId:null,duplicateOfIssueId:null,blockedByIssueId:null,blockingIssueId:null,changelist:null,postmortems:null,foundInVersion:null,targetedToVersion:null,verifiedInVersion:null,hotlistId:null,retention:null,isDeleted:null,deletionReason:null,significanceOverride:null,duplicateIssueId:null,sloStartTime:null,sloEndTime:null,sloSnoozeType:null};mG(a.butterBar,"Saving...",0);
oe(h,2);return h.yield(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("We");a.butterBar.dismiss();a.analytics.trackEvent(io.CREATE_ISSUE,"fileAndRedirect","wizard",!0);return h.yield(aG(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?iXc(a.redirectUrl,a.paths.editIssue(d),String(d)):(mG(a.butterBar,"New issue created: "+d+" (view access not granted)",
0),iXc(a.redirectUrl,a.paths.listIssues()));ht(h,0);break;case 2:g=re(h),mG(a.butterBar,"Failed to create issue: "+g),se(h)}})};o7.\u0275fac=function(a){return new (a||o7)(C(bt),C(TH),C(lG),C(MI),C(WE),C(dH),C(C2),C($F))};
o7.\u0275cmp=Mc({type:o7,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&cg(OZ,5);if(a&2){var c;bg(c=eg())&&(b.attachmentUploader=c.first)}},decls:111,vars:24,consts:[["headerPosition","bottom","animationDuration","0","aria-label","Issue filing form","linear","",1,"bv2-view",3,"disableRipple"],["aria-label","Report an issue with Chromium",3,"completed"],[1,"required"],[3,"persona","personaChange"],[4,"ngIf","ngIfElse"],["contributor",""],[3,"completed","aria-label"],[1,"inline-block"],
["appearance","outline","aria-label","Operating system",1,"inline"],[3,"ngModel","ngModelChange"],["value","Android"],["value","Chrome OS"],["value","iOS"],["value","Linux"],["value","Mac OS"],["value","Windows"],["value","Unknown/Other"],[1,"inline-block","channel"],["appearance","outline","aria-label","Chrome Channel",1,"inline"],["value","Not sure"],["value","Stable"],["value","Beta"],["value","Dev"],["value","Canary"],[1,"inline"],["matInput","","aria-label","Chrome version",3,"ngModel","ngModelChange"],
[1,"textarea"],["matInput","","required","","aria-label","One line summary",3,"ngModel","ngModelChange"],["matInput","","required","","aria-label","Steps to reproduce problem",3,"ngModel","ngModelChange"],["matInput","","required","","aria-label","Describe the problem",3,"ngModel","ngModelChange"],["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,"ngModel","ngModelChange"],[3,"uploads","onUploadCancel"],[1,"attachment-selector"],[3,"includeTextLabel","onSelect"],["class","wizard-recaptcha",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled","click"],["matStepperIcon","number"],["matStepperIcon",
"edit"],["matStepperIcon","done"],[3,"persona","category","categoryChange"],[1,"dupes"],[1,"ack-dupes",3,"ngModel","ngModelChange"],["href","#"],[3,"href"],[3,"category","responses"],[1,"wizard-recaptcha"],[3,"onUpdate"]],template:function(a,b){a&1&&(H(0,"mat-stepper",0)(1,"mat-step",1)(2,"h2"),R(3,"Report an issue with Chromium"),I(),H(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. "),
I(),J(6,"br"),H(7,"h4",2),R(8,"Please select your following role:"),I(),H(9,"wizard-persona-picker",3),M("personaChange",function(d){return b.model.persona=d}),I(),P(10,tvb,17,4,"ng-container",4),P(11,uvb,10,1,"ng-template",null,5,hg),I(),H(13,"mat-step",6)(14,"h2"),R(15),I(),H(16,"h3"),R(17,"Please confirm that the following version information is correct."),I(),H(18,"h4",7),R(19,"Operating System:"),I(),H(20,"mat-form-field",8)(21,"mat-select",9),M("ngModelChange",function(d){return b.model.os=
d}),H(22,"mat-option",10),R(23,"Android"),I(),H(24,"mat-option",11),R(25,"Chrome OS"),I(),H(26,"mat-option",12),R(27,"iOS"),I(),H(28,"mat-option",13),R(29,"Linux"),I(),H(30,"mat-option",14),R(31,"Mac OS"),I(),H(32,"mat-option",15),R(33,"Windows"),I(),H(34,"mat-option",16),R(35,"Unknown/Other"),I()()(),H(36,"h4",17),R(37,"Channel:"),I(),H(38,"mat-form-field",18)(39,"mat-select",9),M("ngModelChange",function(d){return b.model.channel=d}),H(40,"mat-option",19),R(41,"Not sure"),I(),H(42,"mat-option",
20),R(43,"Stable"),I(),H(44,"mat-option",21),R(45,"Beta"),I(),H(46,"mat-option",22),R(47,"Dev"),I(),H(48,"mat-option",23),R(49,"Canary"),I()()(),J(50,"br"),H(51,"h4",7),R(52,"Chrome version:"),I(),H(53,"mat-form-field",24)(54,"input",25),M("ngModelChange",function(d){return b.model.version=d}),I()(),H(55,"h4",2),R(56,"Please enter a one line summary (100 character limit)"),I(),H(57,"mat-form-field",26)(58,"textarea",27),M("ngModelChange",function(d){return b.model.summary=d}),R(59,"      "),I()(),
H(60,"h4",2),R(61,"Steps to reproduce problem (5000 character limit)"),I(),H(62,"mat-form-field",26)(63,"textarea",28),M("ngModelChange",function(d){return b.model.reproSteps=d}),R(64,"      "),I()(),H(65,"h4",2),R(66,"Please describe the problem (5000 character limit)"),I(),H(67,"mat-form-field",26)(68,"textarea",29),M("ngModelChange",function(d){return b.model.description=d}),R(69,"      "),I()(),H(70,"h4"),R(71,"Did this work before?"),I(),H(72,"mat-form-field",30)(73,"mat-select",9),M("ngModelChange",
function(d){return b.model.regression=d}),H(74,"mat-option",31),R(75,"Not applicable or don't know"),I(),H(76,"mat-option",32),R(77,"Yes - This is a regression"),I(),H(78,"mat-option",33),R(79,"No - I think it never worked"),I()()(),H(80,"div",34)(81,"button",35),J(82,"mat-icon",36),R(83," Back "),I(),H(84,"button",37),R(85," Next "),J(86,"mat-icon",38),I()()(),H(87,"mat-step",39)(88,"h2"),R(89,"Extra information about the issue"),I(),P(90,vvb,1,1,"wizard-custom-questions",40),H(91,"h4"),R(92,"Additional comments"),
I(),H(93,"mat-form-field",26)(94,"textarea",41),M("ngModelChange",function(d){return b.model.comments=d}),I()(),H(95,"h4"),R(96,"Upload any relevant screenshots"),I(),H(97,"b-attachment-uploader",42),M("onUploadCancel",function(d){return b.removeUpload(d)}),I(),H(98,"div",43)(99,"b-attachment-selector",44),M("onSelect",function(d){return b.uploadFile(d)}),I(),R(100," You can include multiple attachments. "),I(),P(101,wvb,2,0,"div",45),H(102,"div",34)(103,"button",35),J(104,"mat-icon",36),R(105," Back "),
I(),H(106,"button",46),M("click",function(){return b.submit()}),R(107," Submit "),I()()(),P(108,xvb,0,0,"ng-template",47),P(109,yvb,0,0,"ng-template",48),P(110,zvb,0,0,"ng-template",49),I());if(a&2){var c=Lf(12);yf("hide-dots",b.model.persona===b.Persona.CONTRIBUTOR);F("disableRipple",!0);B(1);F("completed",svb(b,0));B(8);F("persona",b.model.persona);B(1);F("ngIf",b.model.persona!==b.Persona.CONTRIBUTOR)("ngIfElse",c);B(3);If("aria-label","Details for problems with ",null==b.model.category?null:b.model.category.title,
"");F("completed",svb(b,1));B(2);Mf("Details for problems with ",null==b.model.category?null:b.model.category.title,"");B(6);F("ngModel",b.model.os);B(18);F("ngModel",b.model.channel);B(15);F("ngModel",b.model.version);B(4);F("ngModel",b.model.summary);B(5);F("ngModel",b.model.reproSteps);B(5);F("ngModel",b.model.description);B(5);F("ngModel",b.model.regression);B(11);F("disabled",!svb(b,1));B(6);F("ngIf",b.model.category);B(4);F("ngModel",b.model.comments);B(3);F("uploads",b.uploads);B(2);F("includeTextLabel",
!0);B(2);F("ngIf",b.enableRecaptcha);B(5);F("disabled",!b.isCaptchaValid())}},dependencies:[LZ,OZ,Ow,bB,xg,ox,Fx,ux,qA,gcd,hcd,fcd,BO,QA,TA,iP,sA,m7,n7,g7,h7,i7,BS,bcd,Z6,ccd],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%]   mat-form-field.textarea[_ngcontent-%COMP%]     .mat-form-field-underline{display:none}[_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-radio-container{margin-right:4px}[_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}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}.dupes[_ngcontent-%COMP%]{max-width:85%}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 p7=function(a,b,c,d,e){var g=this;this.userResources=a;this.history=b;this.router=c;this.currentTracker=d;this.activeSession=e;this.viewIssues=nm;this.createIssue=Hwa;this.componentSettings=Iwa;this.trackerId=this.currentTracker.getTrackerId();this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder$=this.currentTracker.inTracker$.pipe(D(function(h){return h||g.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(m){return g.filterTrackerComponents(m)})}).finally(function(){g.isThinking=!1})};p7.prototype.back=function(){B2(this.history)};p7.prototype.filterTrackerComponents=function(a){return bm(this.trackerId)||a.trackerId===this.trackerId};p7.\u0275fac=function(a){return new (a||p7)(C(BH),C(A2),C(WG),C(eL),C(bt))};
p7.\u0275cmp=Mc({type:p7,selectors:[["components-screen-wrapper"]],decls:24,vars:12,consts:[[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,"model","modelChange"],[1,"padded"],[3,"includeArchived","placeholder","ariaLabel","selectedComponentChange"],[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"],["card",""],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(H(0,"article",
0)(1,"header",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),J(4,"mat-icon",4),I(),H(5,"h2"),R(6,"Components"),I()(),H(7,"div",5),P(8,Cvb,2,0,"a",6),H(9,"b-slide-toggle",7),M("modelChange",function(e){return b.includeArchived=e}),I()()(),H(10,"section",8)(11,"h3"),R(12,"Search"),I(),H(13,"b-team-component-picker",9),M("selectedComponentChange",function(e){null!=e&&Ks(b.router,Iwa(e.componentId).path)}),S(14,"async"),S(15,"async"),I(),H(16,"h3",10),R(17,"Recent Components"),I(),
H(18,"div",11),P(19,Gvb,4,2,"ng-container",12),S(20,"async"),I(),H(21,"p",13)(22,"a",14),R(23,"See all Components"),I()()()());if(a&2){var c,d;B(8);F("ngIf",b.isInternalSession);B(1);F("model",b.includeArchived);B(4);F("includeArchived",b.includeArchived)("placeholder",null!==(c=T(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=T(15,8,b.placeholder$))&&void 0!==d?d:"");B(6);F("ngIf",T(20,10,b.recentComponents$))}},dependencies:[qA,rA,tC,Nw,Ow,bB,YG,ZN,SU,Y_,jK,kK,oK,lK,jZ,nP,hL,Uw],
encapsulation:2});var q7=function(){};q7.\u0275fac=function(a){return new (a||q7)};q7.\u0275mod=Oc({type:q7});q7.\u0275inj=xc({imports:[cG,QC,bH,$N]});var rcd=["bookmarkGroupName"],scd=function(a){return{"bv2-edit-resource-readonly":a}},r7=function(a,b,c,d,e,g,h,m,r,v){GE.call(this);var y=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=g;this.errorHandler=m;this.appEvents=v;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new rx({name:new tx("",qXb),description:new tx("")});h.setTitle("Create Bookmark Group");this.subscriptions.add($P(r,function(){return!(!y.name()&&!y.description())},
!1))};U(r7,GE);r7.\u0275dir=GE.\u0275dir;f=r7.prototype;f.ngAfterViewInit=function(){this.bookmarkGroupName.nativeElement.focus()};
f.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)}))};f.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};f.back=function(){B2(this.appHistory)};f.revertChanges=function(){this.bookmarkGroupUnderEdit.reset()};f.name=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("name"))?void 0:a.value;return b?b:""};
f.description=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("description"))?void 0:a.value;return b?b:""};r7.\u0275fac=function(a){return new (a||r7)(C(cH),C(A2),C(jG),C(qX),C(dH),C(TH),C(bW),C(oG),C(ZP),C(sG))};
r7.\u0275cmp=Mc({type:r7,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&cg(rcd,5);if(a&2){var c;bg(c=eg())&&(b.bookmarkGroupName=c.first)}},features:[lf],decls:27,vars:11,consts:[[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"],["bookmarkGroupName",""],["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,"disabled","click"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,
b){a&1&&(H(0,"div",0)(1,"div",1)(2,"button",2),M("click",function(){return b.back()}),J(3,"mat-icon",3),I(),H(4,"h2"),R(5,"Create a new bookmark group"),I()()(),H(6,"div",4)(7,"div",5)(8,"form",6),J(9,"b-error-banner",7),H(10,"div",8)(11,"label",9),R(12,"Name"),I(),J(13,"input",10,11),I(),H(15,"div",8)(16,"label",12),R(17,"Description"),I(),H(18,"textarea",13),R(19,"        "),I()(),H(20,"p",14),R(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. "),
I(),H(22,"div",15)(23,"button",16),M("click",function(){return b.save()}),R(24," Save "),I(),H(25,"button",17),M("click",function(){return b.revertChanges()}),R(26," Revert changes "),I()()()()());a&2&&(B(8),F("formGroup",b.bookmarkGroupUnderEdit),B(1),F("error",b.error),B(1),F("ngClass",Sf(7,scd,b.isSaving)),B(3),F("disabled",b.isSaving),B(2),F("ngClass",Sf(9,scd,b.isSaving)),B(3),F("disabled",b.isSaving),B(5),F("disabled",b.isSaving))},dependencies:[Mw,bB,qA,tC,vx,xg,ox,px,Fx,Bx,Cx,b1],encapsulation:2});var tcd=["form"],s7=function(a,b,c,d,e,g,h,m,r,v){GE.call(this);this.butterBar=a;this.paths=b;this.analytics=c;this.appHistory=d;this.bLocation=e;this.activeSession=g;this.documentationLinks=h;this.componentActions=v;this.parentComponentInternal=null;this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;this.component={componentId:0,parentComponentId:0,name:"",description:"",archived:!1,customFieldId:null,accessLimit:{accessLevel:"ACCESS_LEVEL_UNSPECIFIED"},emailAlias:"dummyemail@google.com",
componentPathInfo:{componentPathId:null,componentPathName:null,allCustomField:null},userHasEditAccess:void 0,commentEditState:"DISABLED",defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0"};this.sessionIsExternal=g.isExternalSession();m.parentId&&this.loadParentComponent(di(m.parentId));r.setTitle("Create component")};U(s7,GE);s7.\u0275dir=GE.\u0275dir;f=s7.prototype;f.ngAfterViewInit=function(){};
f.create=function(){var a=this;this.validate()&&(mG(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){mG(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(a.paths.manageComponent(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){a.butterBar.showWarning(fm(b),0);a.isSaving=!1}))};f.back=function(){B2(this.appHistory)};
f.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};f.loadParentComponent=function(a){var b=this;this.componentActions.getUncached(a,!0).then(function(c){b.parentComponent=c})};
f.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};f.onComponentSelect=function(a){this.parentComponent=a;ucd(this)};f.accessCheckComplete=function(a){this.componentIsValid=a;ucd(this)};
var ucd=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};wh.Object.defineProperties(s7.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;ucd(this)}}});
s7.\u0275fac=function(a){return new (a||s7)(C(lG),C(dH),C(TH),C(A2),C(cH),C(bt),C(jJ),C(JJ),C(bW),C(MU))};
s7.\u0275cmp=Mc({type:s7,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&cg(tcd,5);if(a&2){var c;bg(c=eg())&&(b.createComponentForm=c.first)}},features:[lf],decls:55,vars:31,consts:[[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"],["form","ngForm"],[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,"bFocus","ngModel","disabled","required","ngModelChange"],["for","component-description"],["id","component-description","placeholder","Component description","name","componentDescription","aria-label","Component description",3,"ngModel","disabled","ngModelChange"],["for","parent-component",
1,"required"],["id","parent-component","ariaLabel","Parent component",3,"selectedComponent","placeholder","isRequired","checkAdminAccess","selectedComponentChange","accessCheckComplete"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabel","Editable comments",3,"checked","change"],[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,"issueRetentionDisabled","isExternal","initialModel","modelChange","validChange"],[1,"advanced-settings-info"],[1,"bv2-component-button-bar"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"b-button",2),M("onAction",function(){return b.back()}),J(3,"b-icon",3),I()()(),H(4,"div",4)(5,"h2",5),R(6,"Create component"),
I(),H(7,"div",6)(8,"form",7,8),J(10,"b-error-banner",9),H(11,"div",10)(12,"label",11)(13,"span",12),R(14,"Name"),I()(),H(15,"input",13),M("ngModelChange",function(c){return b.component.name=c}),I()(),H(16,"div",10)(17,"label",14)(18,"span",12),R(19,"Description"),I()(),H(20,"textarea",15),M("ngModelChange",function(c){return b.component.description=c}),R(21,"        "),I()(),H(22,"div",10)(23,"label",16)(24,"span",12),R(25,"Parent Component"),I()(),H(26,"b-team-component-picker",17),M("selectedComponentChange",
function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)})("accessCheckComplete",function(c){return b.accessCheckComplete(c)}),I()(),H(27,"div",18)(28,"div",19)(29,"mat-checkbox",20),M("change",function(c){return b.setCommentEditState(c.checked)}),I()(),H(30,"div")(31,"strong",21),R(32,"Editable Comments"),I(),H(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. "),P(35,Ivb,2,1,"a",23),I()()(),
H(36,"div",10)(37,"label",24)(38,"span",12),R(39,"Retention Settings"),I()(),H(40,"div",21)(41,"p"),R(42,"Please choose a period of time to retain the data stored in this component."),J(43,"br"),H(44,"a",25),R(45," Learn more "),I()()(),H(46,"div",26)(47,"b-retention-settings-form",27),M("modelChange",function(c){return b.component.retentionSettings=c})("validChange",function(c){return b.retentionIsValid=c}),I()()(),H(48,"p",28),R(49," Advanced settings such as custom field and access controls may be defined once the component is created. "),
I(),H(50,"div",29)(51,"b-button",30),M("onAction",function(){return b.create()}),R(52," Save "),I(),H(53,"b-button",31),M("onAction",function(){return b.back()}),R(54," Discard "),I()()()()());a&2&&(B(8),yf("show-errors",b.error),B(2),F("error",b.error),B(1),yf("bv2-edit-resource-readonly",b.isSaving),B(4),F("bFocus",!0)("ngModel",b.component.name)("disabled",b.isSaving)("required",!0),B(1),yf("bv2-edit-resource-readonly",b.isSaving),B(4),F("ngModel",b.component.description)("disabled",b.isSaving),
B(2),yf("bv2-edit-resource-readonly",b.isSaving),B(4),F("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),B(1),yf("bv2-edit-resource-readonly",b.isSaving),B(2),F("checked",b.commentEditsEnabled),B(6),F("ngIf",!b.sessionIsExternal),B(9),F("href",Xs(),Sd),B(2),yf("bv2-edit-resource-readonly",b.isSaving),B(1),F("issueRetentionDisabled",b.isSaving)("isExternal",jq(b.parentComponent))("initialModel",b.component.retentionSettings),B(4),F("disabled",
b.isSaving||!b.componentIsValid),B(2),F("disabled",b.isSaving))},dependencies:[XP,Ow,b1,JU,vx,xg,ox,px,Fx,ux,sx,GN,BO,h2,SU],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var vcd=["hotlistName"],wcd=function(a){return{"bv2-edit-resource-readonly":a}},t7=function(a,b,c,d,e,g,h,m,r,v){GE.call(this);var y=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.paths=e;this.analytics=g;this.errorHandler=m;this.appEvents=v;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new rx({name:new tx("",qXb),description:new tx("")});h.setTitle("Create Hotlist");this.subscriptions.add($P(r,function(){return!(!y.name()&&!y.description())},!1))};U(t7,GE);
t7.\u0275dir=GE.\u0275dir;f=t7.prototype;f.ngAfterViewInit=function(){this.hotlistName.nativeElement.focus()};
f.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(a.paths.editHotlist(b.hotlistId));a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,
b)}))};f.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};f.back=function(){B2(this.appHistory)};f.revertChanges=function(){this.hotlistUnderEdit.reset()};f.name=function(){var a,b=null==(a=this.hotlistUnderEdit.get("name"))?void 0:a.value;return b?b:""};f.description=function(){var a,b=null==(a=this.hotlistUnderEdit.get("description"))?void 0:a.value;return b?b:""};
t7.\u0275fac=function(a){return new (a||t7)(C(cH),C(A2),C(jG),C(sH),C(dH),C(TH),C(bW),C(oG),C(ZP),C(sG))};
t7.\u0275cmp=Mc({type:t7,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&cg(vcd,5);if(a&2){var c;bg(c=eg())&&(b.hotlistName=c.first)}},features:[lf],decls:27,vars:11,consts:[[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"],["hotlistName",""],["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,"disabled","click"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"button",
2),M("click",function(){return b.back()}),J(3,"mat-icon",3),I(),H(4,"h2"),R(5,"Create a new hotlist"),I()()(),H(6,"div",4)(7,"div",5)(8,"form",6),J(9,"b-error-banner",7),H(10,"div",8)(11,"label",9),R(12,"Name"),I(),J(13,"input",10,11),I(),H(15,"div",8)(16,"label",12),R(17,"Description"),I(),H(18,"textarea",13),R(19,"        "),I()(),H(20,"p",14),R(21," Advanced settings such as access controls may be defined once the hotlist is created. "),I(),H(22,"div",15)(23,"button",16),M("click",function(){return b.save()}),
R(24," Save "),I(),H(25,"button",17),M("click",function(){return b.revertChanges()}),R(26," Revert changes "),I()()()()());a&2&&(B(8),F("formGroup",b.hotlistUnderEdit),B(1),F("error",b.error),B(1),F("ngClass",Sf(7,wcd,b.isSaving)),B(3),F("disabled",b.isSaving),B(2),F("ngClass",Sf(9,wcd,b.isSaving)),B(3),F("disabled",b.isSaving),B(5),F("disabled",b.isSaving))},dependencies:[Mw,bB,qA,tC,vx,xg,ox,px,Fx,Bx,Cx,b1],encapsulation:2});var u7=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=EE(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=EE(this.activeSession,"enableDupSearchA");this.enableDupSearchB=EE(this.activeSession,"enableDupSearchB");this.enableDupSearchC=EE(this.activeSession,"enableDupSearchC");this.enableDupSearchMoma=EE(this.activeSession,"enableDupSearchMoma");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||
this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC||this.enableDupSearchMoma)};u7.prototype.triggerSimilarIssuesSurvey=function(){return Btc(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",xcd(this)).pipe(D(function(){}))};u7.prototype.trackTitleHoverOver=function(){this.analytics.trackEvent(io.MAGIC_BOX,"titleHoverOver",this.getGroupName())};u7.prototype.trackTitleClick=function(){this.analytics.trackEvent(io.MAGIC_BOX,"titleClick",this.getGroupName())};
var xcd=function(a){var b={},c={};a.enableDupSearchControl&&(b.experimentIds=["44573608"]);a.enableDupSearchA&&(b.experimentIds=["44573610"]);a.enableDupSearchB&&(b.experimentIds=["44573612"]);a.enableDupSearchC&&(b.experimentIds=["44573614"]);c.groupName=a.getGroupName();b.customData=c;return b};
u7.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":this.enableDupSearchMoma?"VariantMoma":"Control"};u7.\u0275fac=function(a){return new (a||u7)(u(TH),u(bt),u(LP))};u7.\u0275prov=wc({token:u7,factory:u7.\u0275fac,providedIn:"root"});var v7=function(a){this.internalArray_=l(a,0,v7.messageId)};U(v7,q);v7.prototype.getIssueIdsList=function(){return Wh(this,1)};v7.prototype.setIssueIdsList=function(a){return xj(this,1,a)};v7.prototype.addIssueIds=function(a){Eb(this,1,a)};v7.repeatedFields_=[1];v7.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:n(Wh(this,1))}}else a=void 0;return a};v7.messageId="b.BatchIssueDigestRequest";var w7=function(a){this.internalArray_=l(a,0,w7.messageId)};U(w7,q);w7.prototype.getIssueDigestsList=function(){return oj(this,bec,1)};w7.repeatedFields_=[1];w7.prototype.toObject=function(){if(null!=this){t(this);var a={issueDigestsList:Ub(this.getIssueDigestsList(),cec)}}else a=void 0;return a};w7.messageId="b.BatchIssueDigestResponse";var x7=function(a,b){this.batchApiConfig=a;this.batchApiAdapter=b;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};x7.prototype.get=function(a){return this.adaptedGet(a).pipe(D(vsa))};x7.prototype.getAll=function(a){return this.batchApiConfig.call(a).pipe(D(Jvb))};x7.\u0275fac=function(a){return new (a||x7)(u(y7),u(KF))};x7.\u0275prov=wc({token:x7,factory:x7.\u0275fac,providedIn:"root"});var y7=function(a){this.executor=a};
y7.prototype.call=function(a){var b=[].concat(ad(a));b.sort();a=new v7;b=k(b);for(var c=b.next();!c.done;c=b.next())a.addIssueIds(c.value);return this.executor.post({url:"action/issues/digest",body:a,responseConstructor:w7})};y7.prototype.split=function(a,b){b=k(b.getIssueDigestsList());for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.getIssueId()===a)return c;return(new bec).setIssueId(a)};y7.\u0275fac=function(a){return new (a||y7)(u(wD))};y7.\u0275prov=wc({token:y7,factory:y7.\u0275fac,providedIn:"root"});var ycd=function(a){this.internalArray_=l(a,0,ycd.messageId)};U(ycd,q);f=ycd.prototype;f.getTitle=function(){return V(this,1)};f.setTitle=function(a){return uk(this,1,a)};f.getComponentId=function(){return Ki(this,2)};f.setComponentId=function(a){return cj(this,2,a)};f.hasComponentId=function(){return Ji(this,2)};f.toObject=function(){if(null!=this){t(this);var a={title:n(X(this,1)),componentId:n(p(this,2)),isRecursive:n(Ur(this,3))}}else a=void 0;return a};ycd.messageId="b.MomaIssueSearchRequest";var z7=function(a){this.internalArray_=l(a,0,z7.messageId)};U(z7,q);z7.prototype.getIssueId=function(a){return Kt(this,1,a)};z7.prototype.setIssueId=function(a){return Nt(this,1,a)};z7.repeatedFields_=[1];z7.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdList:n(Wh(this,1))}}else a=void 0;return a};z7.messageId="b.MomaIssueSearchResponse";var A7=function(a){this.executor=a},zcd=function(a,b){b=Xj((new ycd).setTitle(b.title).setComponentId(String(b.componentId)),3,!0);return a.executor.post({url:"action/issues/momasearch",body:b,responseConstructor:z7}).pipe(D(function(c){return Wh(c,1)}))};A7.\u0275fac=function(a){return new (a||A7)(u(wD))};A7.\u0275prov=wc({token:A7,factory:A7.\u0275fac,providedIn:"root"});var B7=function(a,b,c,d,e){this.paths=a;this.relatedIssuesService=b;this.experimentSupport=c;this.momaSearchApi=d;this.issueDigests=e;this.enableDupSearchControl=this.experimentSupport.enableDupSearchControl;this.enableDupSearchA=this.experimentSupport.enableDupSearchA;this.enableDupSearchB=this.experimentSupport.enableDupSearchB;this.enableDupSearchC=this.experimentSupport.enableDupSearchC;this.enableDupSearchMoma=this.experimentSupport.enableDupSearchMoma},Acd=function(a,b,c){var d;return!!c.title||
!!c.comment||!!c.priority||!!c.type||0<(null!=(d=c.hotlistId)?d:[]).length||a.hasCustomFieldValue(b)};B7.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.map(function(b){return new ni(b)}).filter(function(b){return!b.isEmpty()}).length:!1};
B7.prototype.searchAsync=function(a,b,c){var d=this;return(0,E.defer)(function(){return d.relatedIssuesService.get({query:a,nonParallelRequest:!0,sort:"modified_time:desc",count:b,page:null!=c?c:1}).then(function(e){var g,h;return{issues:(null!=(g=e.issueDigests)?g:[]).map(function(m){return{id:m.issueId,title:m.title,href:d.paths.editIssue(m.issueId)}}),numTotalResults:null!=(h=e.numTotalResults)?h:0,viewAllHref:d.paths.listIssues({q:a,s:"modified_time:desc"})}}).catch(function(){return{issues:[],
numTotalResults:0}})})};
B7.prototype.fetchIssues=function(a){if(this.enableDupSearchMoma&&a.issue.title)return Bcd(this,a.issue.title,a.componentId);if(this.enableDupSearchControl||this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC){var b=a.componentId;var c=a.customFieldMap,d=a.issue;if(Acd(this,c,d)){var e=Lvb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var g=Bi(d.componentId);e=(g?"componentid:"+g:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(g=Lvb(Bi(d.comment)||""),g=0<g.length?
"comment:("+g.join(" ")+")":"",e+=g?" "+g:"",this.enableDupSearchA)b=e;else{g=Bi(d.type);var h=Bi(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(g?"type:"+g:""));this.enableDupSearchB?b=e:(g=Bi(d.hotlistId),g=!g||1>(null==g?void 0:g.length)?"":"hotlistid:("+(g.join(" | ")+")"),e=e+(" "+g)+(" "+Ccd(this,c,Bi(d.customField))),b=this.enableDupSearchC?e:Dcd(b))}}else b=Dcd(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(Dcd(a.componentId),a.count,a.page)};
var Dcd=function(a){return"componentid:"+a+" status:open"},Ccd=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return new ni(d)}).filter(function(d){return!d.isEmpty()}).map(function(d){return Ecd(a,b,d)}).join(" ")},Ecd=function(a,b,c){if(c.isEmpty())return"";var d="customfield"+c.customFieldId+":";switch(a.getCustomFieldType(b,c)){case "TEXT":var e='"'+c.textValue+'"';break;case "DATE":e=Fcd(c.dateValue);break;case "ENUM":e='"'+c.enumValue+'"';break;case "NUMERIC":e=""+
c.numericValue;break;case "REPEATED_TEXT":e='("'+c.repeatedTextValue.values.join('" | "')+'")';break;case "REPEATED_DATE":e="("+c.repeatedDateValue.values.map(function(g){return Fcd(g)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},Fcd=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
B7.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};var Bcd=function(a,b,c){return zcd(a.momaSearchApi,{title:b,componentId:c}).pipe(af(function(d){return a.issueDigests.getAll(new Set(d))}),D(function(d){d=d.map(function(e){return{id:e.issueId,title:e.title,href:a.paths.editIssue(e.issueId)}});return{issues:d,numTotalResults:d.length}}))};B7.\u0275fac=function(a){return new (a||B7)(u(dH),u(CP),u(u7),u(A7),u(x7))};
B7.\u0275prov=wc({token:B7,factory:B7.\u0275fac,providedIn:"root"});var Kvb=RegExp("\\w+","g");var C7=function(a,b,c,d){GE.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new pw;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new pw;this.showSuggestedDupes=!1;this.enableSimilarIssues=this.experimentSupport.enableSimilarIssues;this.isRefreshing=!1;this.page=1;this.endIndex=this.startIndex=this.numPages=this.numTotalResults=
0;this.magicBoxIssues=[];this.isInitiallyLoading=!0;this.currentIssueData$=new E.Subject;this.CATEGORIES=io};U(C7,GE);C7.\u0275dir=GE.\u0275dir;f=C7.prototype;f.ngOnInit=function(){var a=this;this.fetchIssues();this.currentIssueData$.pipe(Ke(750),Ne(Yh),bf(this.destroyed$)).subscribe(function(){a.refresh()})};
f.ngOnChanges=function(a){if(!Object.values(a).some(function(c){return c.isFirstChange()})){var b=!1;a.componentId&&(this.showInline&&(this.showInline=!1),b=!0);a.showInline&&(b=!0);this.enableSimilarIssues&&a.issue&&(this.showSuggestedDupes=Acd(this.relatedIssueFetcher,this.customFieldMap,this.issue),this.headerChange.emit(this.getHeader()),this.currentIssueData$.next({title:this.issue.title,component:this.issue.componentId}));b&&this.refresh()}};
f.refresh=function(){this.isRefreshing=!0;this.page=1;this.magicBoxIssues=[];this.fetchIssues()};
f.fetchIssues=function(a){var b=this;a&&(this.page=a);this.componentId&&(this.isRefreshing=!0,this.relatedIssueFetcher.fetchIssues({issue:this.issue,customFieldMap:this.customFieldMap,count:this.numIssues,page:this.page,componentId:this.componentId}).pipe(bf(this.destroyed$)).subscribe(function(c){var d=c.issues;1===b.page&&(b.magicBoxIssues=[]);b.magicBoxIssues=b.enableSimilarIssues?[].concat(ad(b.magicBoxIssues),ad(d)):d;d=b.numIssues;b.numTotalResults=c.numTotalResults;b.numPages=Math.ceil(b.numTotalResults/
d);b.startIndex=0===b.numTotalResults?0:((null!=a?a:1)-1)*d+1;b.endIndex=Math.min(b.startIndex+d-1,b.numTotalResults);b.viewAllHref=c.viewAllHref;b.totalText=b.getTotalText(b.numTotalResults,null!=a?a:1,d,1===a);b.isInitiallyLoading=!1;b.isRefreshing=!1;b.cdr.detectChanges()}))};f.getHeader=function(){return this.showSuggestedDupes?"Similar Issues":"Recent Issues"};f.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};f.triggerSimilarIssuesSurvey=function(){this.experimentSupport.triggerSimilarIssuesSurvey().pipe(bf(this.destroyed$)).subscribe()};
f.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};f.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};f.getGroupName=function(){return this.experimentSupport.getGroupName()};C7.\u0275fac=function(a){return new (a||C7)(C(PH,2),C(TH),C(B7),C(u7))};
C7.\u0275cmp=Mc({type:C7,selectors:[["b-magic-box"]],inputs:{componentId:"componentId",refreshMagicBox:"refreshMagicBox",showInline:"showInline",hideHeader:"hideHeader",issueTitle:"issueTitle",issue:"issue",customFieldMap:"customFieldMap",numIssues:"numIssues"},outputs:{refreshMagicBoxChange:"refreshMagicBoxChange",headerChange:"headerChange"},features:[Pf([CP,PH]),lf,ed],decls:3,vars:1,consts:[["class","bv2-magic-box",4,"ngIf"],["afterLoaded",""],[1,"bv2-magic-box"],[4,"ngIf","ngIfElse"],[4,"ngIf"],
["class","magic-box-text",4,"ngIf"],["class","magic-box-more",4,"ngIf"],["class","magic-box-load",4,"ngIf"],["class","magic-box-all",4,"ngIf"],["class","magic-box-pager",4,"ngIf"],["class","unstyled feedback-button","type","button","matTooltip","Send feedback for the suggested similar issues",3,"click",4,"ngIf"],[1,"magic-box-pager"],["class","magic-box-pagenums",4,"ngIf"],["format","icon","size","large","tooltip","Previous page","b-aria-label","Previous page",1,"left","compact",3,"disabled","onAction"],
["name","arrow-left","size","large"],["format","icon","size","large","tooltip","Next page","b-aria-label","Next page",1,"right","compact",3,"disabled","onAction"],["name","arrow-right","size","large"],[1,"magic-box-pagenums"],["type","button","matTooltip","Send feedback for the suggested similar issues",1,"unstyled","feedback-button",3,"click"],["svgIcon","feedback-outline",1,"icon-s","gfx-muted"],[1,"magic-box-text"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["issueHovercard","onedevHovercard"],
[3,"onedevIsHovercardReady","issueId","location","init",4,"onedevHovercardLazyBody"],["target","_blank",1,"magic-box-title",3,"href","onedevHovercardTrigger","click"],[3,"onedevIsHovercardReady","issueId","location","init"],["cardBody",""],[1,"magic-box-more"],["target","_blank",3,"href"],[1,"magic-box-load"],["mat-button","",1,"gmat-button",3,"click"],["svgIcon","arrow-down"],[1,"magic-box-all"],["mat-button","",1,"gmat-button","primary","hovercard-action",3,"click"],["svgIcon","pop-out"]],template:function(a,
b){a&1&&(P(0,Nvb,2,2,"div",0),P(1,awb,9,8,"ng-template",null,1,hg));a&2&&F("ngIf",b.componentId)},dependencies:[XP,GN,wM,Mw,Nw,Ow,bB,vP,jK,kK,oK,lK,qA],styles:[".bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:28px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-clickable[_ngcontent-%COMP%]{cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item[_ngcontent-%COMP%]{padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--text-muted);padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-item-new[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:none}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]{position:absolute;right:10px;top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{float:left;margin-right:10px;margin-top:5px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{min-width:34px;padding:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]{position:absolute;right:10px;top:12px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   .magic-box-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-bottom:15px}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-bottom:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-load[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:0}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]{float:right}.bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-all[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:3px}.jfk-bubble[_ngcontent-%COMP%]{left:12px;margin:0;padding:15px 20px 15px 15px}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]{display:block}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-header[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.jfk-bubble[_ngcontent-%COMP%]   .magic-box-dialog-content[_ngcontent-%COMP%]   .magic-box-scroll[_ngcontent-%COMP%]{max-height:200px;overflow-y:scroll}.d-cozy[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:24px}.d-compact[_ngcontent-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{line-height:20px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:disc}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .magic-box-pager[_ngcontent-%COMP%]   .magic-box-pagenums[_ngcontent-%COMP%]{margin-top:8px}.bv2-material[_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%], .bv2-material   [_nghost-%COMP%]   .bv2-magic-box[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.magic-box-more[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:0}/*# sourceMappingURL=magic-box.css.map */"]});var Gcd=["popOver"],cwb=function(a){return{$implicit:a}},kwb=function(a){return{editingValue:a}},D7=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new pw;this.editorOpen=new pw;this.required=this.editing=this.headerFocused=!1;this.editingValue=new tx("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=
!0};U(D7,wY);f=D7.prototype;f.ngOnInit=function(){};f.valueChanged=function(){return this.editingValue.value!==this.value};f.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value),this.popOver.open(),this.editorOpen.emit({isOpen:!0}))};f.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue.value),this.value=this.editingValue.value,this.valueChange.emit(this.value));this.editorOpen.emit({isOpen:!1,closeAction:a})};
f.writeValue=function(a){null!=a&&(this.val=a,this.editing||this.editingValue.setValue(a))};f.isActive=function(){return this.headerFocused||this.editing};f.registerOnChange=function(a){this.onChange=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a};wh.Object.defineProperties(D7.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
D7.\u0275fac=function(a){return new (a||D7)(ud("required"))};
D7.\u0275cmp=Mc({type:D7,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&cg(Gcd,7);if(a&2){var c;bg(c=eg())&&(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:[Pf([{provide:dx,useExisting:Cc(function(){return D7}),multi:!0},{provide:wY,useExisting:Cc(function(){return D7}),multi:!0}]),lf],decls:11,vars:9,consts:[[3,"click","focus","blur"],["anchor",""],[4,"ngIf","ngIfElse"],["standardValueDisplay",""],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"centered",4,"ngIf"],[3,"anchor","editorTemplate","newlineWithEnterKey","hasBackdrop","fitToViewport","closedWithAction"],
["popOver","onedevPopOverEditPanel"],["inputTemplate",""],[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"],["singleLineTemplate",""],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl","cdkAutosizeMaxRows"],["spellcheck","false","autocomplete","off",3,"formControl"]],template:function(a,b){a&1&&(H(0,"button",0,1),M("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),H(2,"span"),P(3,dwb,2,4,"ng-container",
2),P(4,ewb,1,1,"ng-template",null,3,hg),I(),P(6,fwb,2,2,"svg",4),I(),H(7,"onedev-pop-over-edit-panel",5,6),M("closedWithAction",function(g){return b.stopEditing(g)}),I(),P(9,mwb,2,2,"ng-template",null,7,hg));if(a&2){var c=Lf(1),d=Lf(5),e=Lf(10);pf("aria-labelledby",b.labelledById);B(3);F("ngIf",b.valueTemplate)("ngIfElse",d);B(3);F("ngIf",!b.disabled);B(1);F("anchor",c)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[Ow,Tw,xg,ox,KA,j0,Ax],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 Hcd=Wg("indicatorRotate",[$g("collapsed, void",Zg({transform:"rotate(0deg)"})),$g("expanded",Zg({transform:"rotate(180deg)"})),ah("expanded <=> collapsed, void => collapsed",Yg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Icd=Wg("bodyExpansion",[$g("collapsed, void",Zg({height:"0px",visibility:"hidden"})),$g("expanded",Zg({height:"*",visibility:""})),ah("expanded <=> collapsed, void => collapsed",Yg("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var Jcd=new Zc("CdkAccordion");var Kcd=0,E7=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=E.Subscription.EMPTY;this.closed=new pw;this.opened=new pw;this.destroyed=new pw;this.expandedChange=new pw;this.id="cdk-accordion-child-"+Kcd++;this._disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){};this._removeUniqueSelectionListener=c.listen(function(e,g){d.accordion&&!d.accordion.multi&&d.accordion.id===g&&d.id!==e&&(d.expanded=
!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};f=E7.prototype;f.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};f.toggle=function(){this.disabled||(this.expanded=!this.expanded)};f.close=function(){this.disabled||(this.expanded=!1)};f.open=function(){this.disabled||(this.expanded=!0)};
f._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};
wh.Object.defineProperties(E7.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(a){a=Gg(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())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Gg(a)}}});
E7.\u0275fac=function(a){return new (a||E7)(C(Jcd,12),C(Hw),C(uz))};E7.\u0275dir=Qc({type:E7,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Pf([{provide:Jcd,useValue:void 0}])]});var F7=function(){};F7.\u0275fac=function(a){return new (a||F7)};F7.\u0275mod=Oc({type:F7});F7.\u0275inj=xc({});var Lcd=new Zc("MAT_ACCORDION");var Mcd=new Zc("MAT_EXPANSION_PANEL");var Ncd=function(a,b){this._template=a;this._expansionPanel=b};Ncd.\u0275fac=function(a){return new (a||Ncd)(C(Zf),C(Mcd,8))};Ncd.\u0275dir=Qc({type:Ncd,selectors:[["ng-template","matExpansionPanelContent",""]]});var Ocd=["body"],Pcd=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Qcd=0,Rcd=new Zc("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),G7=function(a,b,c,d,e,g,h){E7.call(this,a,b,c);var m=this;this._viewContainerRef=d;this._animationMode=g;this._hideToggle=!1;this.afterExpand=new pw;this.afterCollapse=new pw;this._inputChanges=new E.Subject;this._headerId="mat-expansion-panel-header-"+Qcd++;this._bodyAnimationDone=new E.Subject;this.accordion=a;this._document=e;this._bodyAnimationDone.pipe(Ne(function(r,
v){return r.fromState===v.fromState&&r.toState===v.toState})).subscribe(function(r){"void"!==r.fromState&&("expanded"===r.toState?m.afterExpand.emit():"collapsed"===r.toState&&m.afterCollapse.emit())});h&&(this.hideToggle=h.hideToggle)};U(G7,E7);G7.\u0275dir=E7.\u0275dir;f=G7.prototype;f._hasSpacing=function(){return this.accordion?this.expanded&&"default"===this.accordion.displayMode:!1};f._getExpandedState=function(){return this.expanded?"expanded":"collapsed"};
f.toggle=function(){this.expanded=!this.expanded};f.close=function(){this.expanded=!1};f.open=function(){this.expanded=!0};f.ngAfterContentInit=function(){var a=this;this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe($e(null),De(function(){return a.expanded&&!a._portal}),Oe()).subscribe(function(){a._portal=new Xx(a._lazyContent._template,a._viewContainerRef)})};f.ngOnChanges=function(a){this._inputChanges.next(a)};
f.ngOnDestroy=function(){E7.prototype.ngOnDestroy.call(this);this._bodyAnimationDone.complete();this._inputChanges.complete()};f._containsFocus=function(){if(this._body){var a=this._document.activeElement,b=this._body.nativeElement;return a===b||b.contains(a)}return!1};
wh.Object.defineProperties(G7.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=Gg(a)}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});G7.\u0275fac=function(a){return new (a||G7)(C(Lcd,12),C(Hw),C(uz),C($f),C(uh),C(Ov,8),C(Rcd,8))};
G7.\u0275cmp=Mc({type:G7,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&dg(c,Ncd,5);if(a&2){var d;bg(d=eg())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&cg(Ocd,5);if(a&2){var c;bg(c=eg())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&yf("mat-expanded",b.expanded)("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",
hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Pf([{provide:Lcd,useValue:void 0},{provide:Mcd,useExisting:G7}]),lf,ed],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],
template:function(a,b){a&1&&(Gf(Pcd),Hf(0),H(1,"div",0,1),M("@bodyExpansion.done",function(c){return b._bodyAnimationDone.next(c)}),H(3,"div",2),Hf(4,1),P(5,nwb,0,0,"ng-template",3),I(),Hf(6,2),I());a&2&&(B(1),F("@bodyExpansion",b._getExpandedState())("id",b.id),pf("aria-labelledby",b._headerId),B(4),F("cdkPortalOutlet",b._portal))},dependencies:[by],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;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:[Icd]},changeDetection:0});var Scd=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Tcd=Ah(function(){}),H7=function(a,b,c,d,e,g,h){var m=Tcd.call(this)||this;m.panel=a;m._element=b;m._focusMonitor=c;m._changeDetectorRef=d;m._animationMode=g;m._parentChangeSubscription=E.Subscription.EMPTY;var r=a.accordion?a.accordion._stateChanges.pipe(De(function(v){return!(!v.hideToggle&&!v.togglePosition)})):E.EMPTY;m.tabIndex=parseInt(h||"")||0;m._parentChangeSubscription=(0,E.merge)(a.opened,a.closed,r,a._inputChanges.pipe(De(function(v){return!!(v.hideToggle||
v.disabled||v.togglePosition)}))).subscribe(function(){return m._changeDetectorRef.markForCheck()});a.closed.pipe(De(function(){return a._containsFocus()})).subscribe(function(){return Tx(c,b,"program")});e&&(m.expandedHeight=e.expandedHeight,m.collapsedHeight=e.collapsedHeight);return m};U(H7,Tcd);f=H7.prototype;f._toggle=function(){this.disabled||this.panel.toggle()};f._isExpanded=function(){return this.panel.expanded};f._getExpandedState=function(){return this.panel._getExpandedState()};
f._getPanelId=function(){return this.panel.id};f._getTogglePosition=function(){return this.panel.togglePosition};f._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled};f._getHeaderHeight=function(){var a=this.panel.expanded;return a&&this.expandedHeight?this.expandedHeight:!a&&this.collapsedHeight?this.collapsedHeight:null};f._keydown=function(a){switch(a.keyCode){case 32:case 13:Kg(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
f.focus=function(a,b){a?Tx(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};f.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._element).subscribe(function(b){b&&a.panel.accordion&&a.panel.accordion._handleHeaderFocus(a)})};f.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._element)};wh.Object.defineProperties(H7.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
H7.\u0275fac=function(a){return new (a||H7)(C(G7,1),C(Bd),C(Sx),C(Hw),C(Rcd,8),C(Ov,8),ud("tabindex"))};
H7.\u0275cmp=Mc({type:H7,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&&(pf("id",b.panel._headerId)("tabindex",b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),xf("height",b._getHeaderHeight()),yf("mat-expanded",b.panel.expanded)("mat-expansion-toggle-indicator-after",
"after"===b.panel.togglePosition)("mat-expansion-toggle-indicator-before","before"===b.panel.togglePosition)("_mat-animation-noopable","NoopAnimations"===b._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[lf],ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(a,b){a&1&&(Gf(Scd),
H(0,"span",0),Hf(1),Hf(2,1),Hf(3,2),I(),P(4,owb,1,1,"span",1));a&2&&(yf("mat-content-hide-toggle",!b._showToggle()),B(4),F("ngIf",b._showToggle()))},dependencies:[Ow],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)}.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:[Hcd]},changeDetection:0});var I7=function(){};I7.\u0275fac=function(a){return new (a||I7)};I7.\u0275dir=Qc({type:I7,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});var J7=function(){};J7.\u0275fac=function(a){return new (a||J7)};J7.\u0275mod=Oc({type:J7});J7.\u0275inj=xc({imports:[bx,Lz,F7,cy]});var Ucd=["descriptionConfirmDialog"],qwb=function(a,b){return{partner:a,"public":b}},vxb=function(a){return{required:a}},Cxb=function(a){return{"bv2-upload-ongoing":a}},Vcd=function(a){return{submitted:a}},K7=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb,cb,sa,Ja,Qa,fb,Za,Yc,jb,yb,ab,Mb,sb){GE.call(this);var Jb=this;this.ngZone=a;this.$log=b;this.reloadService=c;this.paths=d;this.redirectUrl=e;this.userAccess=g;this.accessPolicy=h;this.bLocation=m;this.appHistory=r;this.issueTemplate=
v;this.issueTypeDialog=y;this.componentActions=A;this.activeSession=G;this.draftStore=N;this.pageTitle=Q;this.analytics=Z;this.issueApi=Y;this.userApi=ea;this.hotlistApi=ja;this.butterBar=va;this.errorHandler=za;this.matDialogService=Pa;this.appEvents=Sa;this.userPreferencesManager=Gb;this.cdr=Ja;this.confirmationDialogService=Qa;this.issueRelationshipsFridge=fb;this.issueFridge=Za;this.componentFridge=Yc;this.clearcut=jb;this.currentTracker=yb;this.jspbPrincipalTypes=ab;this.trackerFridge=Mb;this.bannedWordsService=
sb;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.userEmail=this.activeSession.getUserEmail();this.sessionIsExternal=this.activeSession.isExternalSession();this.enableRecaptcha=EE(this.activeSession,"enableRecaptcha");this.hotlistMap={};this.hotlists=[];this.templateTitle=
this.templateComment="";this.appliedTemplate=null;this.componentPickerTouched=this.isLoadingComponent=!1;this.availablePredefinedTemplates=[];this.preferredTemplateId=this.selectedTemplateInternal=this.availableExistingIssueTemplate=null;this.showRecentIssuesInline=!0;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.magicBoxHeader="Recent Issues";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.bannedWordsWarningForTitle={matchedPatterns:[],state:"INITIAL"};this.bannedWordsWarningForDescription={matchedPatterns:[],state:"INITIAL"};this.toIssuePriority=zl;this.toIssueSeverity=Aua;this.FieldType=NOc;this.initialized=!1;this.trackerComponent$=this.currentTracker.tracker$.pipe(af(function(Lb){return Lb?Jb.componentFridge.watch(Number(Lb.componentId)).pipe($e(void 0)):(0,E.of)(void 0)}));
this.trackerId$=new E.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(af(function(Lb){return bm(Lb)?(0,E.of)(void 0):Jb.trackerFridge.watch(Lb)}));this.trackerCollaboratorGroups=[];this.selectedCollaboratorGroups=new Set;this.getSingleEditFieldType=F7a;this.getListFieldType=B8a;this.fetchUserHotlists();this.subscriptions.add(this.tracker$.subscribe(function(Lb){Jb.updateCollaboratorGroups(Lb)}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){Jb.fetchUserHotlists()}));
this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){Jb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){Jb.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=EE(G,"enableCreateIssueWithTemplate");this.enableQuickAddCollaborators=EE(G,"enableQuickAddCollaborators");this.frontendIsInternalOrPartner=G.isInternalSession()||sdc(G);this.priorityChoices=sa.priorities.map(function(Lb){return{value:Lb,displayText:Lb}});this.severityChoices=
sa.severities.map(function(Lb){return{value:Lb,displayText:Lb}});this.issueTypeChoices=sa.editIssueTypes.map(function(Lb){return{value:Lb,displayText:Bua(Lb),altText:sa.issueTypesShortDescriptions.get(Lb)}});this.urlTemplate=new aXc(Wa,b);this.piiWarningMessage=G.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.componentRequestedInUrl=Wa.component;this.templateIssueRequestedInUrl=Wa.template_issue;Wa.template&&(a=Number(Wa.template))&&(this.preferredTemplateId=a);if(a=Wa.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Wa.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Wa.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=Zh(Ixb);Gxb(this.issue,this);this.audience="EXTERNAL_AUDIENCE";Wa.description?this.comment=
new HJ(Wa.description,!0):(a=this.draftStore.$window.sessionStorage.getItem(En("0"))||"",this.comment=new HJ(a));this.comment.formattingMode=Wcd(this);a=Xcd(Wa);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(Gb.preferences$.subscribe(function(Lb){var Fc;Jb.useCodefont=null!=(Fc=Lb.useCodefont)?Fc:Jb.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=cXc(this.urlTemplate)||!!this.parentIssueIds||
!!this.childrenIssueIds;this.subscriptions.add(HM(Qb,{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Lb;null==(Lb=Jb.hotlistPicker)||Lb.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){Jb.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,Ycd(this,Number(this.componentRequestedInUrl))):(hXc(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&
(this.newIssueStarted=!0,Zcd(this));this.originalIssueCopy=Zh(this.issue);Wa.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.pageTitle.setTitle("New issue");this.createRestrictedResourcesComponentWhitelist=G.getCreateRestrictedSubresourcesComponentWhitelist();this.subscriptions.add($P(cb,function(){return Jb.hasUnsavedChanges()},
!1))};U(K7,GE);K7.\u0275dir=GE.\u0275dir;K7.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var Dxb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};K7.prototype.ngOnDestroy=function(){GE.prototype.ngOnDestroy.call(this);$cd(this)};
K7.prototype.ngOnInit=function(){var a=this;this.initialized=!0;this.subscriptions.add(this.trackerComponent$.subscribe(function(b){b&&(a.selectedComponent||a.componentRequestedInUrl||a.templateIssueRequestedInUrl||a.preferredTemplateId||a.selectComponent(b))}))};K7.prototype.unloadPageHandler=function(){$cd(this)};var L7=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};K7.prototype.back=function(){B2(this.appHistory)};
K7.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
K7.prototype.selectComponent=function(a){(this.selectedComponent=a)?(this.issue=Object.assign({},this.issue,{componentId:this.selectedComponent.componentId}),this.originalIssueCopy.componentId=this.selectedComponent.componentId,add(this),this.audience=jq(this.selectedComponent)?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE",this.trackerId$.next(this.selectedComponent.trackerId||""),this.createRestrictedResourcesComponentWhitelist.includes(this.selectedComponent.componentId)?this.judgementForNewContent={severity:"PII",
judgementReason:"None Specified"}:this.judgementForNewContent=void 0):(bc(this.issue,"componentId"),this.audience="EXTERNAL_AUDIENCE");this.submitRequested=!1;bdd(this);return this.selectedComponentProcessedPromise=Promise.all([cdd(this),ddd(this)]).then(function(){})};
var edd=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},twb=function(a){return X9a(a.selectedComponent)?"External Google partners may be able to see this issue.":kq(a.selectedComponent)?"Public users may be able to see this issue.":""};
K7.prototype.getCollaboratorGroupsString=function(){return 0===this.collaboratorGroupsText.length?"":1<this.collaboratorGroupsText.length?this.collaboratorGroupsText.length+" groups selected":this.collaboratorGroupsText[0]};K7.prototype.updateCollaboratorGroups=function(a){a&&a.collaboratorGroups&&(this.trackerCollaboratorGroups=qi(a.collaboratorGroups),this.separateCollaboratorGroups())};
K7.prototype.separateCollaboratorGroups=function(){for(var a=[],b=new Set(this.trackerCollaboratorGroups),c=k(this.collaboratorsText),d=c.next();!d.done;d=c.next())d=d.value,b.has(d)?this.selectedCollaboratorGroups.add(d):a.push(d);this.collaboratorsText=a;this.collaboratorGroupsText=[].concat(ad(this.selectedCollaboratorGroups));if(0<this.collaboratorGroupsText.length&&!kq(this.selectedComponent)){var e;null==(e=this.advancedFieldsZippy)||e.open()}};
var Zcd=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?a.butterBar.showWarning("Invalid template_issue specified"):(a.availableExistingIssueTemplate=new fdd(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},cdd=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(a.selectedTemplate=null);return a.selectedComponent?a.issueTemplate.templatesApi.query(a.selectedComponent.componentId).then(function(b){a.availablePredefinedTemplates=
b.map(function(e){var g=e.name;Ok(Nk(g))&&(g=e.default?"(default template)":"(unnamed template)");return new fdd(e.templateId,"predefined",g,e.default)});if(a.preferredTemplateId&&!a.selectedTemplate){var c=a.preferredTemplateId;if(b=a.availablePredefinedTemplates.find(function(e){return e.id===c}))a.selectedTemplate=b,a.preferredTemplateId=null}if(!a.selectedTemplate){b=k(a.availablePredefinedTemplates);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.isDefault){a.selectedTemplate=d;break}}0<
a.availablePredefinedTemplates.length&&!a.selectedTemplate&&(a.selectedTemplate=a.availablePredefinedTemplates[0]);L7(a)}).catch(function(){a.butterBar.showWarning("Unable to load templates for this component")}):Promise.resolve(void 0)},ddd=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=aG(a.userAccess,"appender","components/"+b).then(function(g){a.canCreateNewIssuesInComponent=g;L7(a)}),e=aG(a.userAccess,"writer",c).then(function(g){a.canEditIssuesInComponent=g;L7(a)});c=aG(a.userAccess,"reader",c).then(function(g){a.canViewIssuesInComponent=g;L7(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(g){a.componentHasExpandedAccessEnabled=g;L7(a)});return Promise.all([d,
e,c,b]).then(function(){gdd(a);L7(a)}).catch(function(g){a.$log.warn(g)}).finally(function(){a.createAclLoading=!1})};
K7.prototype.getIssueTemplate=function(){var a=this;if(this.selectedTemplate){var b=function(c){var d=Object.assign(Zh(Ixb),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=Zh(d);edd(a);Hxb(a,a.issue);var g=Zh(a.issue);if(a.appliedTemplate)for(var h=k(Object.keys(a.appliedTemplate)),m=h.next();!m.done;m=h.next()){m=m.value;var r=a.appliedTemplate[m];if(Array.isArray(r)&&Array.isArray(g[m])){r=k(r);for(var v=r.next();!v.done;v=r.next())gqa(g[m],v.value)}else Yh(r,
g[m])&&delete g[m]}a.appliedTemplate=e;Jxb(d,g);g=e.comment||"";a.comment.value!==a.templateComment&&(Llc(a.comment)||""===g||a.comment.value===g||(a.templateComment=g,hdd(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=g;var y;a.templateCommentFormattingMode=null!=(y=e.formattingMode)?y:void 0;a.templateTitle=e.title||"";d.reporterUser=xi(a.userEmail);a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;Gxb(a.issue,a);gdd(a);
edd(a);Hxb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);hXc(a.urlTemplate,a.issue,a.customFieldMap);Gxb(a.issue,a);a.originalIssueCopy=Zh(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=Zh(a.issue.hotlistId);L7(a)});idd(a);a.selectedCollaboratorGroups.clear();a.separateCollaboratorGroups();return a.selectedComponent?null:c.snapshot.componentId};
"predefined"===this.selectedTemplate.type&&this.selectedComponent?this.issueTemplate.templatesApi.getIssueTemplate(this.selectedComponent.componentId,this.selectedTemplate.id).then(b).then(function(){L7(a)}):"issue"===this.selectedTemplate.type&&(Ifc(this.issueTemplate,String(this.selectedTemplate.id)).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Xe");return b(c)}).then(function(c){c&&(Ycd(a,c),L7(a))}).catch(function(c){a.butterBar.showWarning(c.message)}),
(0,E.firstValueFrom)(this.issueFridge.watch(String(this.selectedTemplate.id))).then(function(c){var d;null!=(d=a.parentIssueIds)&&d.length||(a.parentIssueIds=null==c?void 0:c.parentIssueIds)}));this.selectedTemplate.id!==this.preferredTemplateId&&this.analytics.trackEvent(io.CREATE_ISSUE,"changeTemplate");bdd(this)}};
K7.prototype.isValid=function(){return!(0!==vwb(this).length||0!==wwb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!Cwb(this.comment)&&!0};
var vwb=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"componentId"===c?"component":c})},wwb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&(new ni(b)).isEmpty()}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},jdd=function(a){return 0===a.collaboratorsText.length?Promise.resolve(!0):
Flc(a.jspbPrincipalTypes,a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=k(c);c.next();c=c.next().value;return"USER"!==(null==c?void 0:c.principalType)}).map(function(c){return k(c).next().value});return 0===a.invalidCollaboratorsInput.length}).catch(function(b){a.butterBar.showWarning(b.message);return!1})},hxb=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)},Vwb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},Fs=function(a){return a?a.join(", "):""},idd=function(a){if(Jca(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};f=K7.prototype;f.getCustomFieldType=function(a){var b,c;return null!=(c=null==(b=this.customFieldMap[a.customFieldId])?void 0:b.type)?c:""};
f.getCustomFieldName=function(a){return(a=this.customFieldMap[a.customFieldId])?a.name:""};f.getCustomFieldAllowedValues=function(a){return(a=this.customFieldMap[a.customFieldId])&&a.allowedValue?a.allowedValue:null};f.getCustomFieldValue=function(a){return(new ni(a)).getValue()};f.getDateValue=function(a){return a};
f.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(io.CREATE_ISSUE,"changeCustomField",c);this.issue=Object.assign({},this.issue,{customField:d})};f.isCustomFieldRequired=function(a){return this.customFieldMap[a.customFieldId]?this.canEditIssuesInComponent&&!!this.customFieldMap[a.customFieldId].required:!1};f.getListFieldValues=function(a){var b,c;return null!=(c=null==(b=(new ni(a)).getValue())?void 0:b.values)?c:null};
f.saveCommentDraft=function(){this.bannedWordsService.reset(this.bannedWordsWarningForDescription);var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.setDraft("0",a);this.issue=Object.assign({},this.issue,{comment:a})};
f.handleHotlistPickerSave=function(a){var b=[];a=k(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();this.analytics.trackEvent(io.CREATE_ISSUE,"changeHotlists")};f.removeHotlist=function(a){var b;qa(null!=(b=this.issue.hotlistId)?b:null,a);this.updateSelectedHotlists()};
f.setTitle=function(a){this.bannedWordsService.reset(this.bannedWordsWarningForTitle);this.issue=Object.assign({},this.issue,{title:a})};f.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:zl(a)});var b;this.analytics.trackEvent(io.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};
var Zwb=function(a,b){a.selectedCollaboratorGroups.has(b)?a.selectedCollaboratorGroups.delete(b):a.selectedCollaboratorGroups.add(b);a.collaboratorGroupsText=[].concat(ad(a.selectedCollaboratorGroups))},Qwb=function(a,b){a.issue=Object.assign({},a.issue,{type:zua(b)});var c;a.analytics.trackEvent(io.CREATE_ISSUE,"changeType",null!=(c=a.issue.type)?c:void 0)};
K7.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)});yaa(this.selectedHotlists,function(b,c){return Dq(b.name,c.name)})};
var kdd=function(a,b){var c,d,e,g,h,m,r,v,y,A,G;return ne(function(N){switch(N.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){N.jumpTo(2);break}e=[];return 1===d.length?N.yield(a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):N.yield(Vic(a.issueRelationshipsFridge,c,d),5);case 5:h=N.yieldResult;e=h.notAdded;g=h.errors;N.jumpTo(4);break;case 6:m=N.yieldResult,e=m.notAdded,g=m.errors;case 4:e.length&&a.butterBar.showWarning("Unable to add "+
e+" as parent(s). "+g);case 2:r=a.childrenIssueIds;if(null==(v=r)||!v.length){N.jumpTo(7);break}return N.yield(a.issueRelationshipsFridge.assignParentToIssues(c,r.map(function(Q){return{issueId:Q}})),8);case 8:y=N.yieldResult,A=y.notAdded,G=y.errors,A.length&&a.butterBar.showWarning("Unable to add "+A+" as children. "+G);case 7:return N.return(b)}})},Axb=function(a,b,c){var d,e,g,h,m,r,v,y,A,G,N,Q,Z;return ne(function(Y){switch(Y.nextAddress){case 1:return Y.yield(jdd(a),2);case 2:a.isCollaboratorsValid=
Y.yieldResult;d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return Y.return()}d.issueAccessLimitLevel=a.selectedAccessLimitLevel;d.issueAccessLimitLevel&&"LIMIT_NONE"!==d.issueAccessLimitLevel&&a.analytics.trackEvent(io.ISSUE_ACCESS_LIMITS,"create","create_issue:"+d.issueAccessLimitLevel);d.comment=a.comment.value;d.formattingMode=a.comment.formattingMode;g={snapshot:d,attachments:a.comment.getAttachments()};a.enableRecaptcha&&(g.recaptchaToken=
a.recaptchaResponse);a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(g.templateId=a.selectedTemplate.id);a.judgementForNewContent&&"NONE_DETECTED"!==a.judgementForNewContent.severity&&(g.contentJudgement=a.judgementForNewContent);a.canEditIssuesInComponent||(h={title:g.snapshot.title,componentId:g.snapshot.componentId,comment:g.snapshot.comment,formattingMode:g.snapshot.formattingMode,cc:!a.canViewIssuesInComponent&&!a.componentHasExpandedAccessEnabled||a.enableCreateIssueWithTemplate?
[]:[a.userEmail]},g.snapshot=h);g.snapshot=$b(g.snapshot,function(ea){return"string"!==typeof ea||!Ok(ea)});g.snapshot.customField&&(g.snapshot.customField=g.snapshot.customField.filter(function(ea){return!(new ni(ea)).isEmpty()}));Hxb(a,g.snapshot);0<a.collaboratorGroupsText.length&&(g.snapshot.collaboratorsUsers=Jqa(a.collaboratorGroupsText).concat(g.snapshot.collaboratorsUsers||[]));g.snapshot.assigneeUser&&(g.snapshot.status="ASSIGNED");m=function(){a.isSaving=!0;a.newIssueStarted=!1;mG(a.butterBar,
"Creating...",0);a.issueApi.createIssue(g).then(function(ea){return kdd(a,ea)}).then(function(ea){a.draftStore.$window.sessionStorage.removeItem(En("0"));a.originalIssueCopy=Zh(a.issue);a.analytics.trackEvent(io.CREATE_ISSUE,"create","MARKDOWN"===a.comment.formattingMode?"markdown":"non markdown");ldd(a);0<a.collaboratorGroupsText.length&&a.analytics.trackEvent(io.QUICK_ADD_COLLABORATORS,"create","create_issue:"+ea.issueId);if(c){var ja;a.analytics.trackEvent(io.CREATE_ISSUE,"fileAndRedirect","component",
null!=(ja=d.componentId)?ja:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;aG(a.userAccess,"reader","issues/"+ea.issueId).then(function(Pa){a.componentPickerTouched=!1;Pa?iXc(a.redirectUrl,a.paths.editIssue(ea.issueId),String(ea.issueId)):(mG(a.butterBar,"New issue created: "+ea.issueId+" (view access not granted)",0),iXc(a.redirectUrl,a.paths.listIssues()));L7(a)}).catch(function(Pa){a.errorHandler.errorHandler(null,Pa);a.isNavigatingAway=!1})}else{a.componentPickerTouched=!1;
var va;a.analytics.trackEvent(io.CREATE_ISSUE,"fileAndNew","component",null!=(va=d.componentId)?va:void 0);ja={};Gfc(a.butterBar,Pg(["New issue created: ",Qg("a",(ja.href=a.paths.editIssue(ea.issueId),ja),String(ea.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;var za;
ja=k(null!=(za=a.magicBoxes)?za:[]);for(za=ja.next();!za.done;za=ja.next())za.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=Zh(a.issue)}L7(a)}).catch(function(ea){403===ea.status&&em(ea)?pG(a.errorHandler,fm(ea)):a.errorHandler.errorHandler(null,ea);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1}).finally(function(){a.bannedWordsService.reset(a.bannedWordsWarningForTitle);a.bannedWordsService.reset(a.bannedWordsWarningForDescription)})};return Y.yield(mdd(a),3);case 3:return(r=
Y.yieldResult)?Y.yield(ndd(a),4):Y.return();case 4:return(v=Y.yieldResult)?Y.yield(a.bannedWordsService.check(a.bannedWordsWarningForTitle,null!=(y=a.issue.title)?y:"",odd(a),g.snapshot.componentId),5):Y.return();case 5:return A=Y.yieldResult,Y.yield(a.bannedWordsService.check(a.bannedWordsWarningForDescription,null!=(G=a.issue.comment)?G:"",odd(a),g.snapshot.componentId),6);case 6:N=Y.yieldResult;if(!A||!N)return null==(Q=b)||Q.preventDefault(),null==(Z=b)||Z.stopPropagation(),Y.return();m();se(Y)}})},
odd=function(a){return!!a.selectedComponent&&!!a.selectedComponent.accessLimit&&"EXTERNAL_PUBLIC"===a.selectedComponent.accessLimit.accessLevel},mdd=function(a){var b=cm();!a.canEditIssuesInComponent&&!a.frontendIsInternalOrPartner&&a.selectedComponent&&a.selectedComponent.accessLimit&&"INTERNAL"!==a.selectedComponent.accessLimit.accessLevel?a.confirmationDialogService.open({title:"",content:Ng("Submitting this bug report means your email address will be shared with the team that works on this product.",
{preserveNewlines:!0}),onConfirm:function(){b.resolve(!0)},onDismiss:function(){b.resolve(!1)}}):b.resolve(!0);return b.promise},ndd=function(a){var b=cm();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):blc(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},Ycd=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==
c.trackerId)throw Error("Ye");a.selectComponent(c);L7(a)}).catch(function(){a.butterBar.showWarning("Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};K7.prototype.hasUnsavedChanges=function(){var a=Kxb(this.issue),b=Kxb(this.originalIssueCopy);return!Yh(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var Lwb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;a.analytics.trackEvent(io.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},hdd=function(a,b){yA(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(Re()).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="")})},bdd=function(a){a.selectedComponent&&a.bLocation.search("component",a.selectedComponent.componentId);a.selectedTemplate&&("predefined"===a.selectedTemplate.type?(a.bLocation.search("template",a.selectedTemplate.id),a.bLocation.search("template_issue",null)):"issue"===a.selectedTemplate.type&&(a.bLocation.search("template_issue",
a.selectedTemplate.id),a.bLocation.search("template",null)))},rwb=function(a){return a.sessionIsExternal?!1:X9a(a.selectedComponent)},swb=function(a){return tdc(a.activeSession)?!1:kq(a.selectedComponent)},add=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=k(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=
Lxb(b);pdd(a)}},pdd=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(e){return a.customFieldMap[e.customFieldId]&&a.customFieldMap[e.customFieldId].enabledOnIssues});for(var b=a.issue.customField.map(function(e){return e.customFieldId}),c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,!b.includes(d.customFieldId)&&d.enabledOnIssues&&a.issue.customField.push(d.typedDefaultValue||new ni({customFieldId:d.customFieldId}));a.originalIssueCopy.customField=
a.issue.customField}},gdd=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(ad(a.ccsText))):a.ccsText=[a.userEmail]};f=K7.prototype;f.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);L7(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&qa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};f.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");mG(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){mG(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);L7(b)}).catch(a.errorCallback)};
f.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);L7(b);return d},function(){var d=b.hotlistMap[c];bc(b.hotlistMap,c);qa(b.hotlists,d);a.errorCallback()})};f.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(){L7(b)})};
var Xcd=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},Wcd=function(a){var b;return Kk(null==(b=rJ(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
K7.prototype.showNewContentJudgementDialog=function(){var a=this,b,c,d=null!=(c=null==(b=this.judgementForNewContent)?void 0:b.severity)?c:"NONE_DETECTED";this.showContentJudgementDialog({severity:d,contentJudgement:void 0,hasAclToCreate:!0}).pipe(bf(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};K7.prototype.showContentJudgementDialog=function(a){return yA(this.matDialogService.open(SQ,{panelClass:"no-jitter",width:"500px",data:a}))};
var $cd=function(a){a.componentPickerTouched&&(a.analytics.trackEvent(io.CREATE_ISSUE,"exit-after-component-picker-interaction","new-ui"),a.componentPickerTouched=!1);a.analytics.trackEvent(io.CREATE_ISSUE,"creation-abandon","new-ui")},ldd=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);Bic("createIssue",c,"new-ui");a.analytics.trackEvent(io.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);IH(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=
new Date};wh.Object.defineProperties(K7.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;null==(c=this.selectedComponentProcessedPromise)||c.then(function(){b.getIssueTemplate()})}}}});
K7.\u0275fac=function(a){return new (a||K7)(C(ef),C(nG),C(rX),C(dH),C(C2),C($F),C(DG),C(cH),C(A2),C(rG),C(mJ),C(MU),C(bt),C(iJ),C(bW),C(TH),C(WE),C(BH),C(sH),C(lG),C(oG),C(DA),C(sG),C(JJ),C(GM),C(qJ),C(ZP),C(tJ),C(PH,2),C(kJ),C(eI),C(YH),C(PF),C(HH),C(eL),C(EJ),C(EI),C(FS))};
K7.\u0275cmp=Mc({type:K7,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(cg(p_,5),cg(h_,5),cg(Ucd,5),cg(G7,5),cg(C7,5));if(a&2){var c;bg(c=eg())&&(b.hotlistPicker=c.first);bg(c=eg())&&(b.commentBox=c.first);bg(c=eg())&&(b.descriptionConfirmDialog=c.first);bg(c=eg())&&(b.advancedFieldsZippy=c.first);bg(c=eg())&&(b.magicBoxes=c)}},hostBindings:function(a,b){a&1&&M("unload",function(){return b.unloadPageHandler()},!1,Ed)},features:[Pf([PH]),lf],decls:30,vars:17,consts:[[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"],["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,"selectedComponent","shouldFocus","isRequired","selectedComponentChange","touched"],["class","bv2-create-field bv2-right-button",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[1,"bv2-new-issue-right-sidebar"],[3,"componentId","issueTitle","issue","customFieldMap",
"headerChange"],["descriptionConfirmDialog",""],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate"],[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,"hotlist","removeHotlist"],[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"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["templateMenu","matMenu"],["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"],["class","bv2-recent-issues-inline-container",4,"ngIf"],["for","bv2-title",1,"required"],[1,"bv2-create-issue-title"],
["type","text","name","title","aria-label","Issue Title","id","bv2-title","name","title","required","","aria-required","true","autocomplete","off",3,"ngModel","bFocus","ngModelChange"],["class","banned-words-warning",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,"supportsPreview","comment",
"disabled","judgementForNewContent","componentId","placeholder","idForAriaLabel","audience","showRestrictionOptions","ngClass","warn","commentChange","onChange","onSubmit","onRestrict"],["class","banned-words-warning","warning","",4,"ngIf"],["additionalToolbarItems","",3,"initialValue","change"],["class","bv2-create-issue-row access-level-row",4,"ngIf"],[1,"float-clear"],[1,"bv2-create-issue-zippy"],["class","mat-elevation-z0",4,"ngIf"],["class","create-issue-recaptcha",4,"ngIf"],[1,"bv2-issue-create-button-bar"],
["format","fill","id","bv2-issue-create-button",3,"disabled","color","onAction"],["format","fill","id","bv2-issue-create-start-button",3,"disabled","color","onAction"],["format","hairline","id","bv2-issue-discard-button",3,"disabled","onAction"],[1,"bv2-recent-issues-inline-container"],[1,"bv2-recent-issues-toggle-container"],["tabindex","0",1,"bv2-recent-issues-toggle",3,"click","keydown.enter","keydown.space"],["class","bv2-recent-issues-inline",4,"ngIf"],[1,"bv2-recent-issues-inline"],[3,"componentId",
"hideHeader","showInline","issueTitle","issue","customFieldMap","headerChange"],[1,"banned-words-warning"],["for","bv2-priority",1,"required"],["mat-button","","type","button","color","primary",3,"matMenuTriggerFor"],["priorityMenu","matMenu"],["mat-menu-item","","type","button",3,"click"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["for","bv2-type",1,"required"],["typeMenu","matMenu"],["mat-menu-item","","type","button",3,"title","click",4,"ngFor","ngForOf"],["mat-menu-item",
"","type","button",3,"title","click"],[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,"ngModel","bContactAutocomplete","ngModelChange"],[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,"ngModel","bContactAutocomplete","ngModelChange"],[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,"ngModel","bContactAutocomplete","ngModelChange"],["warning","",1,"banned-words-warning"],
[1,"bv2-create-issue-row","access-level-row"],["for","bv2-access-limits","title","Set access level of this issue"],["id","bv2-access-limits",3,"disabled","implicitAccessEnabled","defaultAccessLimitLevel","updatedAccessLimitLevel"],["class","bv2-create-field",4,"ngIf"],["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"],["mat-stroked-button",
"","dropdown-menu-button","","type","button",1,"gmat-button","small","collaborator-groups-button",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],[1,"multiple-check-box-menu"],["collaboratorsGroupsMenu","matMenu"],["gmat-checkbox","","class","collaborator-groups-checkbox",3,"checked","change","click",4,"ngFor","ngForOf"],["gmat-checkbox","",1,"collaborator-groups-checkbox",3,"checked","change","click"],["menuItems",""],[1,"mat-elevation-z0"],["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"],["severityMenu","matMenu"],[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,"ngModel","ngModelChange"],["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,"ngModel","ngModelChange"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter","name","reporter","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-verifier","title","Set the verifier of this issue."],
["id","bv2-verifier","name","verifier","type","text","autocomplete","off",3,"ngModel","bContactAutocomplete","ngModelChange"],["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,"ngModel","ngModelChange"],["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,"ngModel","ngModelChange"],["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,"ngModel","ngModelChange"],["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,"ngModel","ngModelChange"],["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,"ngModel","ngModelChange"],["id","bv2-access-limits",3,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],["gmat-checkbox","",3,"checked","change","click",4,"ngFor","ngForOf"],["gmat-checkbox",
"",3,"checked","change","click"],[3,"id","ngClass","title"],[3,"id","value","valueChange",4,"ngIf"],[3,"value","options","includeEmptyOption","valueChange",4,"ngIf"],[3,"id","value","valueChange"],[3,"boundValue","isRequired","bv2Id","bv2AriaLabelledby","boundValueChange"],[3,"value","options","includeEmptyOption","valueChange"],["name","customInput","tabindex","0",3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange"],[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",""]],template:function(a,b){a&1&&(H(0,"h2",0),R(1,"Create issue"),I(),H(2,"div",1)(3,"div",2)(4,"button",3),M("click",function(){return b.back()}),J(5,"mat-icon",4),I(),H(6,"h2"),R(7,"Create Issue"),I(),P(8,pwb,1,2,"b-hotlist-picker",5),I()(),H(9,"div",6)(10,"div")(11,"div",7)(12,"form",8),P(13,uwb,6,8,"div",9),P(14,Dwb,4,3,"div",10),P(15,Fwb,2,1,"div",11),H(16,"div",12)(17,"div",
13)(18,"div",14)(19,"label",15),R(20,"Component"),I()(),H(21,"div",16)(22,"b-team-component-picker",17),M("selectedComponentChange",function(d){return b.selectComponent(null!==d&&void 0!==d?d:null)})("touched",function(){return b.componentPickerTouched=!0}),I()()(),P(23,Iwb,11,5,"div",18),I(),P(24,Jwb,3,0,"div",19),P(25,Exb,40,37,"div",20),I()(),H(26,"div",21)(27,"b-magic-box",22),M("headerChange",function(d){return b.magicBoxHeader=d}),I()()()(),P(28,Fxb,11,2,"ng-template",null,23,hg));if(a&2){var c;
B(8);F("ngIf",b.canEditIssuesInComponent);B(4);F("ngClass",Sf(15,Vcd,b.submitRequested));B(1);F("ngIf",rwb(b)||swb(b));B(1);F("ngIf",b.submitRequested&&!b.isValid());B(1);F("ngIf",0<b.selectedHotlists.length);B(7);F("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);B(1);F("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate);B(1);F("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||
null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);B(1);F("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent);B(2);F("componentId",null!==(c=b.issue.componentId)&&void 0!==c?c:void 0)("issueTitle",b.issue.title)("issue",b.issue)("customFieldMap",b.customFieldMap)}},dependencies:[XP,h_,XO,wS,xY,k0,NA,JU,vx,xg,ox,px,Fx,Hx,ux,sx,ST,p_,GN,G_,rZ,C7,qA,BO,EA,FA,GA,HA,G7,H7,I7,sz,lC,jC,kC,ET,tC,D7,SU,Mw,Nw,Ow,bB,BS,H_,VJ],
styles:[".bv2-create-issue-row[_ngcontent-%COMP%]   .mat-button[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}mat-icon.collaborator-group-help-icon[_ngcontent-%COMP%]{padding-left:3px}button.gmat-button.small.collaborator-groups-button[_ngcontent-%COMP%]{color:#202124;color:var(--text-default);min-width:160px;margin-top:5px}button.gmat-button.small.collaborator-groups-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{float:right;padding-top:5px}button.gmat-button.small.collaborator-groups-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{overflow:hidden;float:left;width:130px}.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-menu-item[_ngcontent-%COMP%]:active, .mat-menu-item[_ngcontent-%COMP%]:focus, .mat-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[_ngcontent-%COMP%]     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-button.mat-flat-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 Ixb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},fdd=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var qdd=["form"],M7=function(a,b,c,d,e,g,h,m){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.paths=d;this.analytics=e;this.butterBar=g;this.appHistory=m;this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error="";this.sloUnderEdit={sloId:"0",parentId:"0",name:"",description:"",version:0,elements:[],effectiveElements:[],alertState:"OFF",isArchived:!1};h.setTitle("Create SLO")};f=M7.prototype;f.ngAfterViewInit=function(){};
f.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");mG(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){mG(a.butterBar,"SLO "+b.name+" saved.",2E3);a.analytics.trackEvent("SLO","create");a.bLocation.replaceUrl(a.paths.editSlo(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};f.back=function(){B2(this.appHistory)};
f.revertChanges=function(){this.sloUnderEdit.name="";this.sloUnderEdit.description="";this.sloUnderEdit.elements=[]};f.updateCollection=function(a){this.sloUnderEdit.elements=a};f.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};M7.\u0275fac=function(a){return new (a||M7)(C(cH),C(sT),C(oG),C(dH),C(TH),C(lG),C(bW),C(A2))};
M7.\u0275cmp=Mc({type:M7,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&cg(qdd,5);if(a&2){var c;bg(c=eg())&&(b.createSloForm=c.first)}},decls:30,vars:17,consts:[[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"],["form","ngForm"],[3,"error"],[1,"edit-field"],
["for","slo-name",1,"required"],["type","text","id","slo-name","name","name",3,"required","bFocus","ngModel","disabled","ngModelChange"],["for","slo-description"],["id","slo-description","name","description",3,"ngModel","disabled","ngModelChange"],[3,"isDisabled","collection","onCollectionUpdate","onValidation"],[1,"advanced-settings-info"],[1,"edit-button-row"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",
1)(2,"b-button",2),M("onAction",function(){return b.back()}),J(3,"b-icon",3),I()()(),H(4,"div",4)(5,"h2",5)(6,"span",6),R(7,"Create a new SLO"),I()(),H(8,"div",7)(9,"form",8,9),J(11,"b-error-banner",10),H(12,"div",11)(13,"label",12),R(14,"Name"),I(),H(15,"input",13),M("ngModelChange",function(c){return b.sloUnderEdit.name=c}),I()(),H(16,"div",11)(17,"label",14),R(18,"Description"),I(),H(19,"textarea",15),M("ngModelChange",function(c){return b.sloUnderEdit.description=c}),R(20,"        "),I()(),H(21,
"div",11)(22,"slo-elements-picker",16),M("onCollectionUpdate",function(c){return b.updateCollection(c)})("onValidation",function(c){return b.elementPickerIsValid=c}),I()(),H(23,"p",17),R(24," Access controls may be defined once the slo is created. "),I(),H(25,"div",18)(26,"b-button",19),M("onAction",function(){return b.save()}),R(27," Save "),I(),H(28,"b-button",20),M("onAction",function(){return b.revertChanges()}),R(29," Revert changes "),I()()()()());a&2&&(B(9),yf("show-errors",b.error),B(2),F("error",
b.error),B(1),yf("bv2-edit-resource-readonly",b.isSaving),B(3),F("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),B(1),yf("bv2-edit-resource-readonly",b.isSaving),B(3),F("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),B(3),F("isDisabled",!1)("collection",b.sloUnderEdit.elements),B(4),F("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||!b.elementPickerIsValid),B(2),F("disabled",
!(""!==b.sloUnderEdit.name||""!==b.sloUnderEdit.description||0<b.sloUnderEdit.elements.length)))},dependencies:[XP,b1,JU,vx,xg,ox,px,Fx,ux,sx,GN,p2],encapsulation:2});var N7=function(){this.nextPanelId=1};N7.\u0275fac=function(a){return new (a||N7)};N7.\u0275prov=wc({token:N7,factory:N7.\u0275fac,providedIn:"root"});var O7=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za){GE.call(this);this.cdr=a;this.paths=b;this.bLocation=c;this.$log=d;this.analytics=e;this.issueApi=g;this.userApi=h;this.bookmarkGroupsApi=m;this.hotlistApi=r;this.butterBar=v;this.pageTitle=y;this.dashboards=A;this.routeParams=G;this.appSearchState=Q;this.userAccess=Z;this.errorHandler=Y;this.statusMessages=ea;this.appEvents=ja;this.hotlistFridge=va;this.issueFridge=za;this.ANALYTICS_CATEGORY="dashboard";this.panels=[];this.hotlistChoices=
[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=N.getUserEmail();this.groupId=G.groupId||null};U(O7,GE);O7.\u0275dir=GE.\u0275dir;
O7.prototype.ngOnInit=function(){var a=this;this.userApi.getFavorite("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.loadBookmarkGroup().then(function(b){rdd(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){sdd(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){sdd(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){sdd(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){sdd(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 Qxb=function(a,b){var c=b.selectedIssues;if(a=tdd(a,b.panelId))a.selectedIssues=null!=c?c:[]},Pxb=function(a,b,c){b.focusedRowIndex=c;if(null!=c)for(a=k(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},tdd=function(a,b){return a.panels.find(function(c){return c.panelId===b})},udd=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};f=O7.prototype;
f.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Yh(d,c)||(d&&qa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");mG(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);mG(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)};
f.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;mG(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)};f.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
f.loadHotlists=function(a){var b=this,c=new Set;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=k(d.value.hotlistId||[]);for(var e=d.next();!e.done;e=d.next())e=e.value,this.hotlistMap[e]||c.has(e)||c.add(e)}c=k(c);for(e=c.next();!e.done;e=c.next())this.hotlistApi.get(e.value).then(function(g){b.hotlistFridge.announce(g);b.addHotlist(g);b.cdr.detectChanges()}).catch(function(g){(new Set([403,404])).has(g.status)||b.errorHandler.errorHandler(null,g)})};
f.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=k(this.panels);for(var e=b.next();!e.done;e=b.next()){e=k(e.value.selectedIssues);for(var g=e.next();!g.done;g=e.next())g.value.isRead=d}this.cdr.detectChanges();mG(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return $H(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(m){mG(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var r=k(c.panels),v=r.next();!v.done;v=r.next()){v=k(v.value.selectedIssues);for(var y=v.next();!y.done;y=v.next()){var A=void 0;y.value.lastViewedTime=null!=(A=m)?A:null}}}).catch(function(m){for(var r=k(c.panels),v=r.next();!v.done;v=r.next()){v=k(v.value.selectedIssues);for(var y=v.next();!y.done;y=v.next())y=y.value,y.isRead=!!y.lastViewedTime&&y.lastViewedTime>=y.majorModifiedTime}c.errorHandler.errorHandler(null,m)}).finally(function(){c.cdr.detectChanges()})}e=
CAa(a).map(function(m){return m.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};mG(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(m){for(var r=k([].concat(ad(c.searchPanels),ad(c.hotlistPanels))),v=r.next();!v.done;v=r.next()){v=v.value;var y=m;if(v.searchResults){v.searchResults=v.searchResults.clone();for(var A=0,G=k(v.searchResults.issues),N=G.next();!N.done;N=G.next()){N=N.value;if(y.affectedIssues[N.issueId]){var Q=
y.affectedIssues[N.issueId];Q=e3a(Q,y.componentMap[Number(na(Q.snapshot).componentId)]);Q.selected=N.selected;v.searchResults.issues[A]=Q;v.resultsLoaded.emit([v.searchResults.issues[A]])}A++}}}m.errors&&m.errors.length?(r=pqa(m.errors,"issueId"),c.butterBar.showWarning("Failed to update issue(s) "+r.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+m.errors.length)):(m=zlc(c.statusMessages,h))?mG(c.butterBar,m):mG(c.butterBar,"Saved "+DAa(a).length+" issue(s).")}).catch(function(m){c.errorHandler.errorHandler(null,
m)})};f.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){aG(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 rdd=function(a,b){a.panels=(b.item||[]).map(function(c,d){return vdd(a,c,0===d?0:void 0)})};
O7.prototype.removePanel=function(a){var b=this,c=tdd(this,a);if(null!=c){mG(this.butterBar,"Saving changes...",0);a=Zh(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!wdd(b,c,e)});xdd(this,a)}};
var sdd=function(a,b,c){b=udd(a,b);if(void 0!==b){var d=a.panels[b];c=c(b);if(c>=a.panels.length||0>c)a.$log.warn("Trying to move panel "+d.panelId+" to "+c);else{b=Zh(a.bookmarkGroup);var e,g,h=null==(e=a.bookmarkGroup)?void 0:null==(g=e.item)?void 0:g.findIndex(function(m){return wdd(a,d,m)});void 0!==h&&(Baa(b.item,h,c),xdd(a,b))}}},xdd=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;ydd(a,a.bookmarkGroup.item);mG(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},wdd=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}},zdd=function(a,b){return a.panels.find(function(c){return wdd(a,c,b)})},vdd=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:null!=c?c:null,selectedIssues:[]}},ydd=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=zdd(a,c))?d:vdd(a,c)})};
O7.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.saveFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)}):this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)})};O7.prototype.editBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
O7.\u0275fac=function(a){return new (a||O7)(C(PH),C(dH),C(cH),C(nG),C(TH),C(WE),C(BH),C(qX),C(sH),C(lG),C(bW),C(N7),C(JJ),C(bt),C(KX),C($F),C(oG),C(wJ),C(sG),C(FH),C(YH))};
O7.\u0275cmp=Mc({type:O7,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(cg(T1,5),cg(R1,5));if(a&2){var c;bg(c=eg())&&(b.searchPanels=c);bg(c=eg())&&(b.hotlistPanels=c)}},features:[Pf([PH]),lf],decls:9,vars:5,consts:[[1,"a11y-only"],[1,"kd-dashboard-bar","kd-appbar","kd-buttonbar"],[1,"bv2-dashboard-header"],[3,"hotlistChoices","panels","onSave","onCreateHotlist","onLoadHotlist"],["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,"starMessage","unStarMessage","starred","starClicked"],[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,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded"]],
template:function(a,b){a&1&&(H(0,"h2",0),R(1,"Dashboard"),I(),H(2,"div",1)(3,"div",2),R(4,"Bookmark groups dashboard"),I(),H(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)}),I()(),H(6,"div",4),P(7,Oxb,8,3,"div",5),P(8,Txb,3,3,"div",6),I());a&2&&(B(5),F("hotlistChoices",b.hotlistChoices)("panels",b.panels),B(1),F("bFocus",!0),
B(1),F("ngIf",b.bookmarkGroup),B(1),F("ngForOf",b.panels))},dependencies:[D_,WT,T1,R1,Nw,Ow,Pw,Qw,JU,tC],encapsulation:2});var P7=function(){};P7.\u0275fac=function(a){return new (a||P7)};P7.\u0275mod=Oc({type:P7});P7.\u0275inj=xc({imports:[E_,eU,U1,S1,cG,KU,uD]});var Add=["editBookmarkGroupItemsContainer"],Bdd=["bookmarkGroupName"],syb=function(a){return{"bv2-edit-resource-readonly":a}},uyb=function(a){return{displayText:"Admins",values:a}},tyb=function(a){return[a]},Q7=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja){GE.call(this);var va=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.userApi=e;this.bookmarkGroupsApi=g;this.hotlistApi=h;this.paths=m;this.appHistory=r;this.pageTitle=v;this.userAccess=y;this.errorHandler=
G;this.appEvents=Q;this.snackBar=Z;this.confirmationDialog=Y;this.cdr=ea;this.documentationLinks=ja;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=N.getUserEmail();this.accessPolicyUnderEdit=Yo();this.flattenedAccessPolicy=Yo();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);Cdd(this);Ddd(this);Promise.all([a,b]).then(function(){var za;null==(za=va.bookmarkGroupNameInput)||za.nativeElement.focus()});this.subscriptions.add($P(A,function(){return va.hasUnsavedChanges()},!1));A=function(){Cdd(va)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(A));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(A));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){Ddd(va)}))};
U(Q7,GE);Q7.\u0275dir=GE.\u0275dir;f=Q7.prototype;f.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};f.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};f.back=function(){B2(this.appHistory)};f.isArchived=function(){return this.bookmarkGroup?this.bookmarkGroup.archived:!1};f.isSaving=function(){return this.isUpdating||this.isArchiving};
f.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};f.hasUnsavedMetadataChanges=function(){return!Yh(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};f.hasUnsavedAccessPolicyChanges=function(){return!Yh(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};f.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
f.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=Zh(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[Edd(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];Fdd(this)};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Zh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.saveMetadata=function(){this.validate()&&this.doSaveMetadata()};
f.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change bookmark group admins",Ng("Are you sure you want to remove yourself from the admins?\n                  You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
f.validate=function(){if(""===this.bookmarkGroupUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};f.archive=function(){var a=this;this.openConfirmationDialog("Archive bookmark group",Ng("Do you want to archive this bookmark group?"),function(){Gdd(a,"archive")})};f.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",Ng("Do you want to unarchive this bookmark group?"),function(){Gdd(a,"unarchive")})};
f.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});Hdd(a,d);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:c})}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isUpdating=
!1})};
f.doSaveAccessPolicy=function(){var a=this;try{var b=$o(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=Zo(c);a.accessPolicyUnderEdit=Zh(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var Gdd=function(a,b){var c=Zh(a.bookmarkGroup);"archive"===b?(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){"archive"===b?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});Hdd(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
Q7.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){Hdd(b,c);b.selectedHotlistIds=[Edd(b.bookmarkGroup.item)];Fdd(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var Hdd=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=Zh(a.bookmarkGroup)};
Q7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=Zo(c);b.accessPolicyUnderEdit=Zh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};Q7.prototype.loadUserAccess=function(a){var b=this;return aG(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var Cdd=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},Ddd=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;Fdd(a);a.cdr.detectChanges()})},Fdd=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=Idd(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
Xxb=function(a,b){var c=Number(b);ra(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});Jdd(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},Zxb=function(a,b){ra(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});Fdd(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},lyb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:Fh(b.resourceType)}},gyb=function(a,b){for(var c=k(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={$jscomp$loop$prop$id$m1760475502$8:e.$jscomp$loop$prop$id$m1760475502$8},d=c.next()){var g=k(d.value);d=g.next().value;g=g.next().value;e.$jscomp$loop$prop$id$m1760475502$8=di(d);g&&!b.oldSelectionMap[e.$jscomp$loop$prop$id$m1760475502$8]?(jyb(a,e.$jscomp$loop$prop$id$m1760475502$8),d=a.userHotlists.find(function(h){return function(m){return m.hotlistId===h.$jscomp$loop$prop$id$m1760475502$8}}(e)),
a.bookmarkGroupUnderEdit.item.push({hotlistId:d.hotlistId,name:d.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.$jscomp$loop$prop$id$m1760475502$8]&&!g&&(Jdd(a,e.$jscomp$loop$prop$id$m1760475502$8),ra(a.bookmarkGroupUnderEdit.item,function(h){return function(m){return m.hotlistId===h.$jscomp$loop$prop$id$m1760475502$8}}(e)))}},jyb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},Jdd=function(a,b){qa(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},
cyb=function(a,b){-1===Idd(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){Fdd(a)})},Idd=function(a){return a?pqa(a,"savedSearchId"):[]},Edd=function(a){return a?pqa(a,"hotlistId"):[]},hyb=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)},iyb=function(a,b){var c=b.hotlistId;a.snackBar.open("Loading hotlist "+c);return a.hotlistApi.get(c).then(function(d){a.userHotlists.push(d);b.successCallback(d);return d},b.errorCallback)};Q7.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+")";default:Fh(a.resourceType)}};
Q7.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};Q7.\u0275fac=function(a){return new (a||Q7)(C(JJ),C(cH),C(lG),C(DG),C(BH),C(qX),C(sH),C(dH),C(A2),C(bW),C($F),C(ZP),C(oG),C(bt),C(sG),C(jG),C(kJ),C(PH,2),C(jJ))};
Q7.\u0275cmp=Mc({type:Q7,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(cg(Add,5),cg(Bdd,5),cg(sN,5,Bd));if(a&2){var c;bg(c=eg())&&(b.editBookmarkGroupItemsContainer=c.first);bg(c=eg())&&(b.bookmarkGroupNameInput=c.first);bg(c=eg())&&(b.tabs=c)}},features:[Pf([PH]),lf],decls:9,vars:3,consts:[[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,"disabled","click"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[1,"edit-resource-header-link","normal-link",3,"href"],["mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["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,"ngModel","disabled","ngModelChange"],["bookmarkGroupName",""],["for","bookmark-group-description"],["id","bookmark-group-description",3,"ngModel","disabled","ngModelChange"],[4,"ngIf","ngIfElse"],["bookmarkItems",""],["class","edit-button-row",4,"ngIf"],["id","access","label","Access Control"],[1,"edit-field-note"],[3,"users","usersChange","isValid"],[3,"users","includeAliases","includeViewAliases","containerChips","usersChange",
"isValid"],[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"],["editBookmarkGroupItemsContainer",""],["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,"selectedHotlistIds",
"choices","checkEditAcl","onApply","onCreate","onLoad"],[1,"edit-bookmark-group-hotlist-search"],["for","hotlist-search-input-box"],[3,"showGroups","allowStarring","itemSelect"],["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,"id","removeHotlist"],[1,"bv2-saved-search-chip","b-chip","yellow","split"],[1,"left","interactive",3,"href","matTooltip"],
["role","button","tabindex","0",1,"right","interactive",3,"matTooltip","click","keydown.enter","keydown.space"],[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"],["savedSearchMenu",
"matMenu"],["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,"disabled","click"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),J(4,"mat-icon",
4),I(),P(5,Uxb,2,1,"button",5),P(6,Vxb,2,1,"button",5),I()()(),H(7,"div",6),P(8,vyb,48,40,"ng-container",7),I());a&2&&(B(5),F("ngIf",b.isAdmin&&!b.isArchived()),B(1),F("ngIf",b.isAdmin&&b.isArchived()),B(2),F("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[Mw,Nw,Ow,bB,tC,qA,tN,sN,b1,TT,p_,zX,xg,ox,Fx,ux,lC,jC,kC,iC,a0],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 Kdd=["savedSearchNameInput"],Ayb=function(a){return{"bv2-edit-resource-readonly":a}},Cyb=function(a){return{displayText:"Admins",values:a}},Byb=function(a){return[a]},R7=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y){GE.call(this);var ea=this;this.routeParams=a;this.location=b;this.accessPolicyApi=c;this.savedSearchApi=d;this.paths=e;this.appHistory=g;this.butterBar=h;this.pageTitle=m;this.documentationLinks=v;this.userAccess=A;this.errorHandler=G;this.snackBar=N;this.confirmationDialog=Q;this.cdr=
Z;this.appEvents=Y;this.selectedTabIndex=0;this.isDeleting=this.isUpdating=this.isAdmin=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.currentUserEmail=r.getUserEmail();this.accessPolicyUnderEdit=Yo();this.flattenedAccessPolicy=Yo();this.pageTitle.setTitle("Saved Search Overview");a=this.loadSavedSearch(this.routeParams.savedSearchId);b=this.loadUserAccess(this.routeParams.savedSearchId);this.loadAccessPolicy(this.routeParams.savedSearchId);Promise.all([a,
b]).then(function(){var ja;null==(ja=ea.savedSearchName)||ja.nativeElement.focus()});this.subscriptions.add($P(y,function(){return ea.hasUnsavedChanges()},!1))};U(R7,GE);R7.\u0275dir=GE.\u0275dir;f=R7.prototype;f.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};f.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};
f.loadSavedSearch=function(a){var b=this;this.isLoading=!0;return this.savedSearchApi.get(a).then(function(c){b.savedSearch=c;b.savedSearchUnderEdit=Zh(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()})};
f.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SAVED_SEARCH",a).then(function(c){b.flattenedAccessPolicy=Zo(c);b.accessPolicyUnderEdit=Zh(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.loadUserAccess=function(a){var b=this;return aG(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
f.isSaving=function(){return this.isUpdating||this.isDeleting};f.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};f.back=function(){B2(this.appHistory)};f.revertMetadataChanges=function(){this.savedSearchUnderEdit=Zh(this.savedSearch);this.error=""};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Zh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.hasUnsavedMetadataChanges=function(){return!Yh(this.savedSearch,this.savedSearchUnderEdit)};
f.hasUnsavedAccessPolicyChanges=function(){return!Yh(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};f.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};
f.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=Zh(b);a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.isUpdating=!1}))};f.validate=function(){if(""===this.savedSearchUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};
f.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change saved search admins",Ng("Are you sure you want to remove yourself from the admins?\n                'You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
f.doSaveAccessPolicy=function(){var a=this;try{var b=$o(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=Zo(c);a.accessPolicyUnderEdit=Zh(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(fm(c),0)}).finally(function(){a.isUpdating=!1})};f.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",Ng("Do you want to delete this saved search?"),function(){a.doDelete()})};
f.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"});uhc(a.location,"/")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isDeleting=!1})};
f.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};R7.\u0275fac=function(a){return new (a||R7)(C(JJ),C(cH),C(DG),C(jI),C(dH),C(A2),C(lG),C(bW),C(bt),C(jJ),C(ZP),C($F),C(oG),C(jG),C(kJ),C(PH,2),C(sG))};
R7.\u0275cmp=Mc({type:R7,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(cg(Kdd,5),cg(sN,5,Bd));if(a&2){var c;bg(c=eg())&&(b.savedSearchName=c.first);bg(c=eg())&&(b.tabs=c)}},features:[Pf([PH]),lf],decls:9,vars:3,consts:[[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,"disabled","click"],[1,"edit-resource-header"],[1,"edit-resource-header-link",3,"href"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["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,"ngModel","disabled","ngModelChange"],["savedSearchNameInput",""],["for","saved-search-description"],["id","saved-search-description",3,"ngModel","disabled","ngModelChange"],[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,"users","usersChange","isValid"],
["for","saved-search-acl-readers"],[3,"users","includeAliases","includeViewAliases","containerChips","usersChange","isValid"],[1,"edit-field"],["target","_blank",3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"disabled","click"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),J(4,"mat-icon",4),I(),P(5,wyb,2,1,"button",5),I()()(),H(6,"div",6),P(7,xyb,
4,0,"ng-container",7),P(8,Dyb,51,38,"ng-container",7),I());a&2&&(B(5),F("ngIf",b.isAdmin),B(2),F("ngIf",!b.isLoading&&!b.savedSearch),B(1),F("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[Mw,Ow,bB,tC,qA,tN,sN,b1,xg,ox,Fx,ux,a0],encapsulation:2});var Ldd=function(a){this.internalArray_=l(a)};U(Ldd,q);f=Ldd.prototype;f.getAuthor=function(){return W(this,vi,1)};f.setAuthor=function(a){lj(this,vi,1,a)};f.getTimestamp=function(){return W(this,Rh,2)};f.setTimestamp=function(a){return lj(this,Rh,2,a)};f.hasTimestamp=function(){return Pj(this,Rh,2)};f.getAdd=function(){return W(this,qj,3)};f.getRemove=function(){return W(this,qj,4)};f.getAddMask=function(){return W(this,oD,5)};f.getRemoveMask=function(){return W(this,oD,6)};f.toObject=function(){return Mdd(this)};
var Mdd=function(a){if(null!=a)return t(a),{author:ED(a.getAuthor()),timestamp:mu(a.getTimestamp()),add:Ybc(a.getAdd()),remove:Ybc(a.getRemove()),addMask:pD(a.getAddMask()),removeMask:pD(a.getRemoveMask())}};var S7=function(a){this.internalArray_=l(a,0,S7.messageId)};U(S7,q);S7.prototype.getUpdatesList=function(){return oj(this,Ldd,1)};S7.repeatedFields_=[1];S7.prototype.toObject=function(){if(null!=this){t(this);var a={updatesList:Ub(this.getUpdatesList(),Mdd)}}else a=void 0;return a};S7.messageId="b.SloHistory";var T7=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};T7.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),Ndd(this,a))};var Ndd=function(a,b){return a.executor.get({url:"action/slo_updates/"+b,responseConstructor:S7}).then(function(c){var d;return{updates:(null!=(d=c.getUpdatesList())?d:[]).map(Ura)}})};
T7.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};T7.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};T7.\u0275fac=function(a){return new (a||T7)(u(mH),u(xD))};T7.\u0275prov=wc({token:T7,factory:T7.\u0275fac,providedIn:"root"});var U7=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja){GE.call(this);var va=this;this.routeParams=a;this.bLocation=b;this.appHistory=d;this.butterBar=e;this.pageTitle=g;this.documentationLinks=m;this.userAccess=v;this.accessPolicyApi=y;this.sloApi=A;this.sloUpdatesApi=G;this.sloUpdatesService=N;this.errorHandler=Q;this.matDialogService=Z;this.analytics=Y;this.confirmationDialogService=ea;this.appEvents=ja;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(va.validity).some(function(za){return!za})};this.editableAccessPolicy=Yo();this.flattenedAccessPolicy=Yo();this.subscriptions.add($P(r,function(){return va.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=hm("SLO",di(a));if(this.sloEnabled=h.isInternalSession())this.pageTitle.setTitle("SLO Overview"),Odd(this,a),this.loadUserAccess(a),this.loadAccessPolicy(a),
Pdd(this,a);this.alertState={getValue:function(){return va.editableCopy?"ON"===va.editableCopy.alertState:!1},getSavedValue:function(){return va.slo?"ON"===va.slo.alertState:!1},setValue:function(za){va.editableCopy&&(va.editableCopy.alertState=za?"ON":"OFF")}};this.currentUserEmail=h.getUserEmail()};U(U7,GE);U7.\u0275dir=GE.\u0275dir;
U7.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.bLocation.hash(e,!0)};U7.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};U7.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var Odd=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Zh(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
U7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=Zo(c);b.editableAccessPolicy=Zh(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var Qdd=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return YWc(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};f=U7.prototype;
f.loadUserAccess=function(a){var b=this;aG(this.userAccess,"admin",hm("SLO",di(a))).then(function(c){b.isAdminInternal=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};f.hasUnsavedMetadataChanges=function(){return!Yh(this.slo,this.editableCopy)};f.hasUnsavedAccessPolicyChanges=function(){return!Yh(this.flattenedAccessPolicy,this.editableAccessPolicy)};
f.saveMetadata=function(){var a=this;Rdd(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:so(kp("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."),ro("br"),ro("br"),kp("Please combine changes into as few updates as possible.")),onConfirm:function(){a.save()},onDismiss:Dv})};
var Hyb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:kp("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:Dv}):c()}},Rdd=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],g;if(g=d.metric===e.metric&&d.matcher===e.matcher)d=d.objective,e=e.objective,g=!d&&!e||!!d&&
!!e&&d.seconds===e.seconds;if(!g)return!1}return!0};
U7.prototype.save=function(){var a=this,b=this.editableCopy;mG(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.';Rdd(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");mG(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Zh(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);a.analytics.trackEvent(io.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};U7.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:kp("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:Dv}):this.doSaveAccessPolicy()};
U7.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=$o(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;mG(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){mG(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=Zo(c);a.editableAccessPolicy=Zh(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent(io.EDIT_SLO,
"updateAccessPolicy")},function(c){a.butterBar.showWarning(fm(c),0)}).finally(function(){a.isUpdating=!1})};U7.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var Pdd=function(a,b){Qdd(a,b).then(function(){if(a.historyDiffs&&a.historyDiffs.length){var c=a.historyDiffs[0],d=a.historyDiffs[a.historyDiffs.length-1];c.author&&"buganizer-system@google.com"===ti(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===ti(d.author)&&(a.isUneditedFromBugScope=!0)}})};f=U7.prototype;
f.isRevokingDirectAdmin=function(){if(Yh(this.flattenedAccessPolicy.admins,this.editableAccessPolicy.admins))return!1;var a="USER:"+this.currentUserEmail;return this.flattenedAccessPolicy.admins.includes(a)&&!this.editableAccessPolicy.admins.includes(a)};
f.revertMetadataChanges=function(){var a=this;Rdd(this.slo.elements,this.editableCopy.elements)?this.editableCopy=Zh(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:so(kp("Revert all changes to this SLO?")),onConfirm:function(){a.editableCopy=Zh(a.slo)},onDismiss:Dv})};f.revertAccessPolicyChanges=function(){this.editableAccessPolicy=Zh(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.isSaving=function(){return this.isUpdating};
f.back=function(){B2(this.appHistory)};f.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};f.isAdmin=function(){return this.isAdminInternal};f.showUpdateHistoryModal=function(){var a=this;Qdd(this,this.slo.sloId).then(function(){a.matDialogService.open(D6,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent(io.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(io.EDIT_SLO,"viewHistory")})};
U7.\u0275fac=function(a){return new (a||U7)(C(JJ),C(cH),C(dH),C(A2),C(lG),C(bW),C(bt),C(jJ),C(ZP),C($F),C(DG),C(sT),C(T7),C(w2),C(oG),C(DA),C(TH),C(kJ),C(sG))};
U7.\u0275cmp=Mc({type:U7,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&cg(sN,5,Bd);if(a&2){var c;bg(c=eg())&&(b.tabs=c)}},features:[lf],decls:7,vars:2,consts:[[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,"selectedIndex","selectedIndexChange"],["id","basic","label","Basic Information"],[1,"edit-resource-panel","edit-slo-basics-form"],["name","sloBasicsForm"],["sloBasicsForm","ngForm"],[1,"edit-field"],["for","slo-name",1,"required"],[1,"edit-field-header"],["type","text","id","slo-name","name","slo-name",3,"required","ngModel","disabled","ngModelChange"],["for","slo-description"],["id","slo-description","name","slo-description",3,"ngModel","disabled","ngModelChange"],["class","edit-field permission-toggle",
3,"bv2-edit-resource-readonly",4,"ngIf"],["id","bs-warning",4,"ngIf"],[3,"isDisabled","collection","onCollectionUpdate","onValidation"],["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,"users","usersChange","isValid"],
["for","slo-acl-readers"],[3,"users","includeAliases","includeViewAliases","usersChange","isValid"],["target","_blank",3,"href"],["class","edit-button-row",4,"ngIf"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],[3,"checked","disabled","change"],[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,"disabled",
"onAction"],["tooltip","Discard any changes",3,"disabled","onAction"],["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,"disabled","onAction"],["tooltip","Unarchive the SLO and allow new usages",3,"disabled","onAction"],["format","fill",3,"disabled","onAction"],[3,"onAction"]],template:function(a,
b){a&1&&(H(0,"div",0)(1,"div",1)(2,"b-button",2),M("onAction",function(){return b.back()}),J(3,"b-icon",3),I()()(),H(4,"div",4),P(5,Eyb,2,0,"div",5),P(6,Myb,55,31,"div",6),I());a&2&&(B(5),F("ngIf",b.isLoading),B(1),F("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[XP,Ow,vx,xg,ox,px,Fx,ux,sx,yN,GN,tN,sN,a0,BO,p2,wM],encapsulation:2});var V7=function(a,b,c,d){GE.call(this);var e=this;this.contextSensitiveRegistry=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.TEA_DARK=Xoc;this.TEA_LIGHT=Woc;this.getStatus=function(g){return g.snapshot[0].status};this.id$=this.contextSensitiveRegistry.getIssueId();this.searchUrl$=this.id$.pipe(D(function(g){return{path:"/issues",params:{q:"blockedbyid:"+g}}}));this.issue$=this.id$.pipe(af(this.issues.watch));this.blockingIds$=this.issue$.pipe(D(function(g){var h;return null!=(h=null==g?
void 0:g.snapshot[0].blockingIssueId)?h:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(af(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(D(function(g){return g.filter(Nl)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(D(function(g){return g.map(function(h){return String(h.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(D(function(g){return g.filter(function(h){return mva(h)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(D(function(g){return g.map(function(h){return String(h.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(g){return[{type:"action",label:"Remove this relationship",action:function(){e.onClickRemove(g)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(g){var h=An(e.id$);null!=h&&ZH(e.issues,"ADD","BLOCKING",h,g).catch(e.gotErr)};this.gotErr=function(g){e.snackBar.open(fm(g)||"Error with network request","close",{panelClass:"error"})}};U(V7,GE);V7.\u0275dir=GE.\u0275dir;
V7.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};V7.prototype.onClickRemove=function(a){var b=An(this.id$);null!=b&&ZH(this.issues,"REMOVE","BLOCKING",b,[String(a)]).catch(this.gotErr)};V7.\u0275fac=function(a){return new (a||V7)(C(QJ),C(YH),C(MP),C(jG))};
V7.\u0275cmp=Mc({type:V7,selectors:[["ng-component"]],features:[lf],decls:5,vars:6,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[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"],["notLoaded",""],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"section-heading","muted"],["noBlockedAndOpen",""],[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&&(H(0,"section",0),P(1,$yb,4,2,"ng-container",1),S(2,"async"),I(),P(3,azb,2,0,"aside",2),S(4,"async"));a&2&&(B(1),F("ngIf",T(2,2,b.blockingIds$)),B(2),F("ngIf",T(4,4,b.thinking$)))},dependencies:[Nw,Ow,YG,qA,rA,tC,wM,lT,Uw],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 W7=function(){};W7.\u0275fac=function(a){return new (a||W7)};W7.\u0275mod=Oc({type:W7});W7.\u0275inj=xc({imports:[cG,Cy,Py,Jx,Kx,bH,QC,xN,uD,BP,JN,eP,eO,nT]});var Gs=function(a){this.internalArray_=l(a)};U(Gs,q);Gs.prototype.getFilename=function(){return V(this,1)};Gs.prototype.setFilename=function(a){uk(this,1,a)};Gs.prototype.getLineNumber=function(a){return Jt(this,2,a)};Gs.repeatedFields_=[2];Gs.prototype.toObject=function(){return Sdd(this)};var Sdd=function(a){if(null!=a)return t(a),{filename:n(X(a,1)),lineNumberList:n(Uh(a,2)),changeNumber:n(p(a,3))}};var Hs=function(a){this.internalArray_=l(a)};U(Hs,q);Hs.prototype.getPackageName=function(){return V(this,1)};Hs.repeatedFields_=[2];Hs.prototype.toObject=function(){return Tdd(this)};var Tdd=function(a){if(null!=a)return t(a),{packageName:n(X(a,1)),fileMentionSetList:Ub(oj(a,Gs,2),Sdd)}};var X7=function(a){this.internalArray_=l(a,0,X7.messageId)};U(X7,q);X7.repeatedFields_=[3];X7.prototype.toObject=function(){if(null!=this){t(this);var a={totalMentions:n(Ft(this,1)),truncated:n(Ur(this,2)),packageMentionSetList:Ub(oj(this,Hs,3),Tdd)}}else a=void 0;return a};X7.messageId="b.MentionSearchResult";var Y7=function(a){this.executor=a};Y7.\u0275fac=function(a){return new (a||Y7)(u(xD))};Y7.\u0275prov=wc({token:Y7,factory:Y7.\u0275fac,providedIn:"root"});var Z7=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},Udd=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=Gic(a.refreshMonitor,(0,E.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:X7}).then(ezb).then(function(d){return{mentions:d,loadingState:"OK",link:c}}).catch(function(){return{loadingState:"ERROR",link:c}})}).pipe($e({loadingState:"LOADING",
link:c}))).pipe(Ye({refCount:!0,bufferSize:1})));return a.cachedEntry};Z7.prototype.displayPackageNames=function(a){var b;a=null==(b=a.mentions)?void 0:b.packageMentionSet;var c;return 1<(null==a?void 0:a.length)||"piper"!==(null==a?void 0:null==(c=a[0])?void 0:c.packageName)};Z7.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};Z7.\u0275fac=function(a){return new (a||Z7)(u(Y7),u(WH),u(TH))};Z7.\u0275prov=wc({token:Z7,factory:Z7.\u0275fac,providedIn:"root"});var a8=function(a,b,c,d,e,g,h){var m=this;this.paramsService=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.codeMentions=d;this.issueApi=e;this.eventsForIssue=g;this.activeSession=h;this.id$=this.paramsService.issueId$.pipe(Me(1E3));this.issue$=this.id$.pipe(af(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(af(this.eventsForIssue.watch),D(function(r){var v;return null!=(v=null==r?void 0:r.events)?v:[]}));this.blockerIssueIds$=this.issue$.pipe(D(function(r){var v;return null!=
(v=null==r?void 0:r.snapshot[0].blockedByIssueId)?v:[]}),Ne(Yh));this.blockedIssueIds$=this.issue$.pipe(D(function(r){var v;return null!=(v=null==r?void 0:r.snapshot[0].blockingIssueId)?v:[]}),Ne(Yh));this.parentIds$=this.issue$.pipe(D(function(r){var v;return null!=(v=null==r?void 0:r.parentIssueIds)?v:[]}),Ne(Yh));this.childrenIds$=this.id$.pipe(af(this.issueRelationshipsFridge.watch),D(function(r){var v;return null!=(v=null==r?void 0:r.relatedChildren.map(function(y){return y.targetIssueId}))?
v:[]}));this.duplicateIssueIds$=this.issue$.pipe(D(function(r){var v;return null!=(v=null==r?void 0:r.snapshot[0].duplicateIssueId)?v:[]}),Ne(Yh));this.blockersDualCount$=(0,E.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(af(function(r){var v=k(r);r=v.next().value;v=v.next().value;return $7(m,r,v,["BLOCKED_BY"])}),Ye({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(D(Is),Ye({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,E.combineLatest)([this.id$,
this.blockedIssueIds$]).pipe(af(function(r){var v=k(r);r=v.next().value;v=v.next().value;return $7(m,r,v,["BLOCKING"])}),Ye({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(D(Is),Ye({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,E.combineLatest)([this.id$,this.childrenIds$]).pipe(af(function(r){var v=k(r);r=v.next().value;v=v.next().value;return $7(m,r,v,["CHILDREN"])}),Ye({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(D(Is),
Ye({bufferSize:1,refCount:!0}));this.parentsDualCount$=(0,E.combineLatest)([this.id$,this.parentIds$]).pipe(af(function(r){var v=k(r);r=v.next().value;v=v.next().value;return $7(m,r,v,["PARENT"])}),Ye({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(D(Is),Ye({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,E.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(af(function(r){var v=k(r);r=v.next().value;var y=v.next().value;v=v.next().value;
return $7(m,r,[].concat(ad(v),ad(y)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(D(Is),Ye({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,E.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe(af(function(r){var v=k(r);r=v.next().value;v=v.next().value;return $7(m,r,v,["DUPLICATE"])}),Ye({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(D(function(r){return r.total}),D(gzb),Ye({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(D(function(r){var v;return null!=(v=null==r?void 0:r.relatedLinks)?v:[]}),D(function(r){return m.activeSession.isInternalSession()?r:r.filter(function(v){return!Qva(v)})}),D(function(r){return Js(r.length)}),D(gzb),Ye({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(De(Ei),af(function(r){return Udd(m.codeMentions,r)}),D(function(r){var v,y;return Js(null!=(y=null==(v=r.mentions)?void 0:v.totalMentions)?y:0)}),D(gzb),Ye({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(D(function(r){return Js(r.filter(Jl).length)}),D(gzb),Ye({bufferSize:1,refCount:!0}))},$7=function(a,b,c,d){d=void 0===d?[]:d;c=Dl(c);if(!b||0===c.length)return(0,E.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return hzb(b,e)}).filter(Ei).map(function(e){return"("+e+")"}).join(" OR ");return 99<c.length&&d?a.issueApi.listIssues(d,{p:1,count:100}).then(function(e){e=e.issues.filter(Nl).filter(Ol).length;return{open:Js(e),
total:Js(c.length)}}):(0,E.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(D(function(e){return{open:Js(e.filter(Ei).filter(Nl).filter(Ol).length),total:Js(e.filter(function(g){return!g||Ol(g)}).length)}}))};a8.\u0275fac=function(a){return new (a||a8)(u(IJ),u(eI),u(YH),u(Z7),u(WE),u(CF),u(bt))};a8.\u0275prov=wc({token:a8,factory:a8.\u0275fac,providedIn:"root"});var b8=function(a,b,c,d,e,g,h,m,r){GE.call(this);var v=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.contextSensitiveRegistry=e;this.issuePermissionService=g;this.issuePicker=h;this.errorHandler=m;this.counts=r;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(af(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new pw;this.tableColumns=[].concat(ad(dGc));this.initialSort={active:"status",direction:"asc"};
this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(D(function(y){return null==y?void 0:y.snapshot[0]}),D(function(y){var A,G;return null!=(G=null==y?void 0:null==(A=y.blockedByIssueId)?void 0:A.map(String))?G:[]}));this.blockersCount$=this.blockerIds$.pipe(af(function(y){return 0===y.length?(0,E.of)(0):v.counts.blockersDualCount$.pipe(D(function(A){return A.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(D(function(y){return 0<y}),$e(!0));
this.getMenuItems=function(y){return[{type:"action",label:"Remove blocker",action:function(){Vdd(v,y)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var y=An(v.blockerIds$);if(null!=y){y=k(y);for(var A=y.next();!A.done;A=y.next())v.issueFridge.poke(A.value)}}))};U(b8,GE);b8.\u0275dir=GE.\u0275dir;
var pzb=function(a){var b;return ne(function(c){b=An(a.issueId$);if(null==b)return c.return();a.analytics.trackEvent(io.EDIT_ISSUE,"update","add-blocker");return c.yield(a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){Wdd(a,b,d)}),0)})},Wdd=function(a,b,c){ne(function(d){return 0===c.length?d.return():d.yield(ZH(a.issueFridge,"ADD","BLOCKED_BY",b,c).catch(function(e){qG(a.errorHandler,e)}),0)})},Vdd=function(a,b){var c,d;ne(function(e){if(1==e.nextAddress){c=
An(a.issueId$);if(null==c)return e.return();a.analytics.trackEvent(io.EDIT_ISSUE,"update","remove-blocker");oe(e,2);var g=e.yield;var h=ZH(a.issueFridge,"REMOVE","BLOCKED_BY",c,[b]);return g.call(e,h,4)}if(2!=e.nextAddress)return ht(e,0);d=re(e);a.butterBar.showWarning("Could not remove blocker "+b+". "+(em(d)?fm(d):d));se(e)})};b8.\u0275fac=function(a){return new (a||b8)(C(YH),C(lG),C(TH),C(WH),C(QJ),C(TJ),C(MP),C(oG),C(a8))};
b8.\u0275cmp=Mc({type:b8,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&cg(lT,5);if(a&2){var c;bg(c=eg())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[lf],decls:16,vars:13,consts:[[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"],["noBlockersState",""],["addBlocker",""],[4,"ngTemplateOutlet"],[3,"issueIds","tableColumns","menuItemFactory","filters","initialSort"],[1,"muted"],[1,"subtle-link","unstyled",3,"click"],[1,"emoji"],["size","small","title","Mark an existing issue as blocker",1,"add",3,"disabled","onAction"]],template:function(a,b){a&1&&(H(0,"div",0)(1,
"h4",1)(2,"div",2),J(3,"mat-icon",3),I(),R(4),S(5,"async"),I(),P(6,jzb,2,1,"ng-container",4),S(7,"async"),I(),P(8,lzb,3,3,"ng-container",5),S(9,"async"),P(10,mzb,4,2,"p",6),S(11,"async"),P(12,ozb,6,1,"ng-template",null,7,hg),P(14,qzb,3,3,"ng-template",null,8,hg));if(a&2){var c=Lf(13);B(4);Mf(" Blockers ",T(5,5,b.counts.countBlockersDisplay$)," ");B(2);F("ngIf",T(7,7,b.showBlockersTable$));B(2);F("ngIf",T(9,9,b.showBlockersTable$))("ngIfElse",c);B(2);F("ngIf",T(11,11,null==b.issuesTable?null:b.issuesTable.filteredRowCount$))}},
dependencies:[Ow,Tw,bB,tC,XP,lT,Uw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],changeDetection:0});var Xdd=function(){this.EMPTY_BLOCKER_LIGHT=Roc;this.EMPTY_BLOCKER_DARK=Soc;this.EMPTY_CHILD_LIGHT=Toc;this.EMPTY_CHILD_DARK=Uoc};Xdd.\u0275fac=function(a){return new (a||Xdd)};
Xdd.\u0275cmp=Mc({type:Xdd,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&&(H(0,"h1",0),R(1,"About Dependencies"),I(),H(2,"div",1)(3,"div",2),J(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),I(),H(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. "),H(11,"a",6),R(12,"Learn more"),I()()()(),H(13,"div",7)(14,
"button",8),R(15,"Ok"),I()());a&2&&(B(4),F("src",b.EMPTY_CHILD_LIGHT,Sd),B(1),F("src",b.EMPTY_BLOCKER_LIGHT,Sd),B(1),F("src",b.EMPTY_CHILD_DARK,Sd),B(1),F("src",b.EMPTY_BLOCKER_DARK,Sd))},dependencies:[qA,EA,FA,GA,HA],styles:["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-dialog-content[_ngcontent-%COMP%], .mat-dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.mat-dialog-actions[_ngcontent-%COMP%]{margin-bottom:8px}"],
changeDetection:0});var Ydd=function(){return["focus-indicator","load-more-children"]},Zdd=io.EDIT_ISSUE,$dd={type:"data",id:"",issue$:E.NEVER,hasChildren$:E.NEVER,ancestorChain:new OP([]),level:0,expandedCount:0},c8=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q){GE.call(this);var Z=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=g;this.elementRef=h;this.domSafe=r;this.reorderingSessionTracker=v;this.cdr=y;this.relationsTableModelFactory=A;this.liveAnnouncer=
G;this.clearcut=N;this.paths=Q;this.internalFilters=new bK;this.isClosed=mva;this.tableColumns=[].concat(ad(eGc));this.trackBy=function(Y,ea){return ea.ancestorChain.hash()+ea.type};this.isLoadMoreRow=function(Y,ea){return"load-more-children"===ea.type};this.isDataRow=function(Y,ea){return"data"===ea.type};this.isDraftRow=function(Y,ea){return"draft-issue"===ea.type};this.selectionModel=new dQ;this.hasLogged=!1;this.correctedDisplayedRows=new fg;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=
new Map;this.getRowIndex=function(Y){var ea;return(null!=(ea=An(Z.rows$))?ea:[]).findIndex(function(ja){return ko(ja,Y)})};this.showError=function(Y){return function(ea){Z.butterBar.showWarning(Y+". "+(em(ea)?fm(ea):ea))}};this.subscriptions.add($P(m,function(){return Z.tableModel.draftRows.isSaving()||Z.issueRelationshipsFridge.isSaving()},!1))};U(c8,GE);c8.\u0275dir=GE.\u0275dir;f=c8.prototype;
f.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters);this.rows$=(0,E.scheduled)([this.tableModel.rows$,(0,E.of)([$dd])],E.asyncScheduler).pipe(ye(1),Ye({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(af(function(c){return(0,E.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),Ke(0,E.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));
this.rowReorderingModel=new bQ(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;"load-more-children"===d.type?a.displayAllSiblings(d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,RP(c,d)||SP(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return ne(function(e){if(1==e.nextAddress)return Wic(a.issueRelationshipsFridge,
c.insertAt,c.movedRows.map(function(g){return{issueId:g.nodeId,parentId:g.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),Jtc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,E.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===
c.insertAt.parentId})}),De(Boolean),Fe(6E4))),2);d=e.yieldResult;d.focus();se(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
f.trackRelationsData=function(a){if(!this.hasLogged&&0!==a.length){this.hasLogged=!0;var b=a.length,c=0===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;JH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(Zdd,"view-relations","visible-count",b);c&&(a=a.filter(function(d){var e;return null!=(null==d?void 0:null==
(e=d.snapshot[0])?void 0:e.effort)}).length/b,JH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(Zdd,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,E.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(bf(this.destroyed$)).subscribe(function(b){b=k(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);ag(a.correctedDisplayedRows)});this.focusManager=hz(new Mqc(this.correctedDisplayedRows,
ko))};f.toggleExpansion=function(a){SP(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};f.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(this.analytics.trackEvent(Zdd,"navigate","to-child-issue"),b=jm(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?go(this.domSafe,b):Ks(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return ne(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),SP(b.tableModel.expansion,a.ancestorChain.parentChain,500),d.yield(ao(),2);b.focusManager.setActiveItem(c);se(d)})};f.getMenuItemsForDraft=function(a){var b=this;return[{type:"action",label:"Continue on the create issue page",action:function(c){return b.navigateToCreateIssuePage(c,a)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
f.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:!An(a.hasChildren$),action:function(){var c=mm({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 ne(function(c){if(1==c.nextAddress)return c.yield(ao(),
2);b.createChildIssue(a);se(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 ne(function(c){if(1==c.nextAddress)return c.yield(ao(),2);b.createSiblingIssue(a);se(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(){juc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){iuc(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(){b.archiveRow(a)},title:"Archive issue",icon:"archive_24px"}]};
f.saveDraft=function(a){var b=this,c,d;return ne(function(e){if(1==e.nextAddress){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return e.yield((0,E.firstValueFrom)(b.displayedRows.changes.pipe(D(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),De(Boolean),Fe(6E4))),2)}c=e.yieldResult;ko(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);se(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;ko(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};f.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};f.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
f.addExistingChild=function(a){this.tableModel.addExistingChild(a)};f.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};f.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
f.onRowKeydown=function(a,b){var c=this,d;return ne(function(e){switch(e.nextAddress){case 1:switch(b.keyCode){case 39:case 37:if(b.ctrlKey)break;"data"===a.type&&(c.toggleExpansion(a),b.preventDefault());"load-more-children"===a.type&&(c.displayAllSiblings(a),b.preventDefault());break;case 13:return e.jumpTo(2)}e.jumpTo(3);break;case 2:return"BUTTON"!==b.target.tagName||b.shiftKey||b.metaKey?e.yield(c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();
"data"===a.type&&(b.shiftKey?c.createChildIssue(a):c.createSiblingIssue(a));"draft-issue"===a.type&&a.saving&&c.createSiblingIssue(a);b.preventDefault();e.jumpTo(3);break;case 3:if("INPUT"===b.target.tagName)return e.return();c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);se(e)}})};
f.navigateToCreateIssuePage=function(a,b){var c=this,d,e,g,h,m,r,v,y;return ne(function(A){if(1==A.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?A.return():A.yield((0,E.firstValueFrom)(b.issue$),2);d=A.yieldResult;v={};y=c.paths.createIssue((v.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),v.parentIssueId=b.ancestorChain.parentChain.nodeId,v.redirectUrl=km(c.rootIssueId),v.afterIssueId=b.afterIssueId,v.title=b.title,v.priority=null!=
(m=null==(g=d)?void 0:g.snapshot[0].priority)?m:void 0,v.type=null!=(r=null==(h=d)?void 0:h.snapshot[0].type)?r:void 0,v));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(y),A.return();if(a&&a.shiftKey)return c.cancelDraft(b),go(c.domSafe,y),A.return();Ks(c.router,y);se(A)})};
f.archiveRow=function(a){var b=this,c,d;ne(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(Zdd,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,E.firstValueFrom)(b.rows$.pipe(D(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),De(Boolean),Fe(6E4))),2);ko(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);se(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return ne(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(Zdd,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){mG(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
wh.Object.defineProperties(c8.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.tableModel.filteredRowCount$}}});c8.\u0275fac=function(a){return new (a||c8)(C(eI),C(WG),C(lG),C(TH),C(YP),C(ef),C(Bd),C(ZP),C(LK),C(cQ),C(PH),C(aQ),C(Yy),C(HH),C(dH))};
c8.\u0275cmp=Mc({type:c8,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&cg(ZM,5);if(a&2){var c;bg(c=eg())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters"},features:[Pf([PH]),lf],decls:46,vars:10,consts:[["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"],
["mat-header-row","",4,"matHeaderRowDef"],["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"],["focusIndicator",""],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["dragHandle",""],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"issue","expandable","expanded","level","expansionChange"],[3,"issue"],["buttonLabel","More options",3,"menuItems","click"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems","click",4,"ngIf","ngIfElse"],["saving",
""],[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,"value","readonly","valueChange","commit"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"disabled","onAction"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"disabled","onAction"],["mat-header-row",""],["mat-row","","selectionPreventsClick",
"",1,"clickable",3,"row","click","mouseup","focusin","keydown"],["mat-row","",3,"row","focusin","keydown"],["mat-row","","cdkTrapFocus","",1,"draft",3,"row","keydown","keydown.escape","keydown.backspace","focusin"]],template:function(a,b){a&1&&(H(0,"table",0),K(1,1),P(2,rzb,1,0,"th",2),P(3,szb,2,0,"td",3),L(),K(4,4),P(5,tzb,1,0,"th",2),P(6,uzb,3,0,"td",5),L(),K(7,6),P(8,vzb,2,0,"th",2),P(9,wzb,2,1,"td",7),L(),K(10,8),P(11,xzb,2,0,"th",2),P(12,yzb,2,0,"td",7),L(),K(13,9),P(14,zzb,2,0,"th",2),P(15,
Azb,4,8,"td",7),L(),K(16,10),P(17,Bzb,2,0,"th",2),P(18,Czb,3,3,"td",7),L(),K(19,11),P(20,Dzb,2,0,"th",2),P(21,Ezb,3,3,"td",7),L(),K(22,12),P(23,Fzb,2,0,"th",2),P(24,Gzb,3,3,"td",7),L(),K(25,13),P(26,Hzb,2,0,"th",2),P(27,Izb,3,3,"td",7),L(),K(28,14),P(29,Jzb,1,0,"th",2),P(30,Kzb,2,1,"td",7),L(),K(31,15),P(32,Lzb,1,0,"th",2),P(33,Ozb,4,2,"td",16),L(),K(34,17),P(35,Pzb,6,7,"td",18),L(),K(36,19),P(37,Qzb,2,0,"th",2),P(38,Rzb,7,6,"td",18),L(),P(39,Szb,1,0,"tr",20),P(40,Tzb,3,12,"tr",21),P(41,Uzb,1,4,"tr",
22),P(42,Vzb,1,2,"tr",23),I(),J(43,"div",24)(44,"div",25)(45,"div",26));a&2&&(F("dataSource",b.rows$)("trackBy",b.trackBy),B(39),F("matHeaderRowDef",b.tableColumns),B(1),F("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),B(1),F("matRowDefColumns",Rf(9,Ydd))("matRowDefWhen",b.isLoadMoreRow),B(1),F("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},dependencies:[Px,Ow,bB,jM,XL,cM,ZL,WL,eM,$L,bM,fM,hM,tC,kL,WK,XP,HN,XK,RM,$K,cL,jL,VN,mL,wM,ZM,Uw],styles:['.mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-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-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-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-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-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 d8=function(a,b,c,d,e){GE.call(this);var g=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new E.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=km;this.tableColumns=[].concat(ad(dGc));this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return aed(g,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(m){g.butterBar.showWarning(h+
". "+(em(m)?fm(m):m))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=k(g.parentIssueIds$.value),m=h.next();!m.done;m=h.next())g.issueFridge.poke(m.value)}))};U(d8,GE);d8.\u0275dir=GE.\u0275dir;d8.prototype.ngOnInit=function(){};
var aed=function(a,b){var c;return ne(function(d){a.analytics.trackEvent(io.EDIT_ISSUE,"update","remove-parent");c=a.issueId;return d.yield(a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};wh.Object.defineProperties(d8.prototype,{parentIds:{configurable:!0,enumerable:!0,set:function(a){this.parentIssueIds$.next(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.filteredRowCount$}}});
d8.\u0275fac=function(a){return new (a||d8)(C(YH),C(lG),C(TH),C(WH),C(eI))};
d8.\u0275cmp=Mc({type:d8,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&cg(lT,5);if(a&2){var c;bg(c=eg())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[lf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(P(0,Wzb,2,5,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.parentIssueIds$))},dependencies:[Ow,lT,Uw],encapsulation:2,changeDetection:0});var e8=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 pw;this.onConfirm=new pw;this.onCancel=new pw;this.internalSelectedOptions=new bK};e8.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};e8.prototype.cancel=function(a){this.onCancel.emit();a.close()};
wh.Object.defineProperties(e8.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});e8.\u0275fac=function(a){return new (a||e8)};
e8.\u0275cmp=Mc({type:e8,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:[["mat-icon-button",
"","onedevPopupPanelTrigger","","aria-haspopup","true",1,"gmat-button",3,"onedevPopupPanelTriggerFor","color","matTooltip","click"],["trigger","onedevPopupPanelTrigger"],[3,"svgIcon"],[4,"ngIf"],["role","region","className","select-menu-popup"],["optionsPanel","onedevPopupPanel"],[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,"checked","change"],[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=w();H(0,"button",0,1);M("click",function(){x(c);var e=Lf(1),g;null!=(g=e.isOpen)&&g?e.close():e.open();return z()});S(2,"async");J(3,"mat-icon",2);P(4,Yzb,3,3,"ng-container",3);I();H(5,"onedev-popup-panel",
4,5)(7,"div",6);P(8,Zzb,2,1,"h1",7);P(9,bAb,7,5,"div",8);P(10,cAb,7,2,"ng-container",3);I()()}if(a&2){var d=Lf(6);yf("large","large"===b.buttonSize)("small","small"===b.buttonSize);F("onedevPopupPanelTriggerFor",d)("color",b.showActiveState&&T(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip);pf("aria-label",b.buttonAriaLabel);B(3);F("svgIcon",b.buttonSvgIcon);B(1);F("ngIf",b.showActiveState);B(4);F("ngIf",b.overlayTitle);B(1);F("ngForOf",b.options);B(1);F("ngIf",
b.showActionButtons)}},dependencies:[Nw,Ow,bB,qA,BO,xM,tC,MM,NM,Uw],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 iAb=function(a){return{filteredCount:a}},bed=function(){return[]},f8=function(a,b,c,d,e,g,h,m,r,v,y,A,G){GE.call(this);var N=this;this.brain=a;this.issuePicker=b;this.issueRelationshipsFridge=c;this.issueFridge=d;this.router=e;this.routePerformance=g;this.element=h;this.analytics=m;this.issuePermissionService=r;this.activeSession=v;this.counts=y;this.matDialog=A;this.butterBar=G;this.recallFilters=Np("deps-filters");this.saveFilters=yp("deps-filters");this.isThinking$=(0,E.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(D(function(Q){return Q.some(Boolean)}));this.issueId$=this.brain.id$.pipe(De(Ei),D(Kn));this.issue$=this.brain.issueJs$.pipe(De(Ei));this.parentIds$=this.issue$.pipe(D(function(Q){var Z;return null!=(Z=Q.issue.parentIssueIds)?Z:[]}));this.parentIssues$=this.parentIds$.pipe(af(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(D(function(Q){return Q.filter(Ol).length}));this.childrenIds$=this.issueId$.pipe(af(this.issueRelationshipsFridge.watch),
D(function(Q){var Z;return null!=(Z=null==Q?void 0:Q.relatedChildren.map(function(Y){return Y.targetIssueId}))?Z:[]}));this.totalDaysOpen$=this.issue$.pipe(D(function(Q){var Z,Y;return(null==(Z=hva(Q))?void 0:null==(Y=Z.effort)?void 0:Y.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(D(function(Q){var Z,Y;return(null==(Z=hva(Q))?void 0:null==(Y=Z.effort)?void 0:Y.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(D(function(Q){return Q.length}));this.isTotalEstimatesEnabled=
EE(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.isInternalSession=this.activeSession.isInternalSession();this.enableRollupStatsUi=EE(this.activeSession,"enableRollupStatsUi");this.totalDaysCount$=(0,E.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(D(function(Q){var Z=k(Q);Q=Z.next().value;Z=Z.next().value;return Q+Z}));this.totalDaysDisplayPercent$=CAb(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=
(0,E.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(D(function(Q){var Z=k(Q);Q=Z.next().value;var Y=Z.next().value;Z=Z.next().value;return DAb(Math.round(100*Q)/100)+" completed | "+DAb(Math.round(100*Y)/100)+" open | "+Z+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new E.Subject;this.issueFilters=new bK;this.ISSUE_FILTER_OPTIONS=[{key:jo.OPEN.key,title:jo.OPEN.displayAs,description:"Hides closed issues"},
{key:jo.ASSIGNED_TO_ME.key,title:jo.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,E.firstValueFrom)(tab("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(bf((0,E.merge)(this.destroyed$,this.rowCreated$)))).then(function(){var Q=function(){jXc(N.routePerformance,"issue-details-w-tree")};requestAnimationFrame(Q);setTimeout(Q)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(AJa))}catch(Q){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(Q){N.saveFilters([].concat(ad(Q)))}))};
U(f8,GE);f8.\u0275dir=GE.\u0275dir;
var yAb=function(a){var b,c;return ne(function(d){if(1==d.nextAddress)return a.analytics.trackEvent(io.EDIT_ISSUE,"update","add-parent"),d.yield((0,E.firstValueFrom)(a.issue$),2);b=d.yieldResult;c=b.issue.issueId;return d.yield(a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){ced(a,c,e)}),0)})},ced=function(a,b,c){var d=k(c).next().value,e,g,h,m;ne(function(r){if(1==r.nextAddress)return(e=d)?r.yield(a.issueRelationshipsFridge.assignParentToOneIssue(e,b),
2):r.return();g=r.yieldResult;h=g.errors;return(null==(m=h)?0:m.length)?(a.butterBar.showWarning("Could not add parent"),r.return()):r.yield(a.issueFridge.poke(b),0)})};f8.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};f8.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};f8.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.createChildIssue()};
f8.\u0275fac=function(a){return new (a||f8)(C(RJ),C(MP),C(eI),C(YH),C(WG),C(D2),C(Bd),C(TH),C(TJ),C(bt),C(a8),C(DA),C(lG))};
f8.\u0275cmp=Mc({type:f8,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(cg(c8,5),cg(b8,5),cg(d8,5));if(a&2){var c;bg(c=eg())&&(b.relationsTable=c.first);bg(c=eg())&&(b.blockersTable=c.first);bg(c=eg())&&(b.parentsTable=c.first)}},features:[lf],decls:15,vars:13,consts:[[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,"options","selectedOptions","showActionButtons","showActiveState","onChange"],["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"],["filterInfo",""],["addParent",""],["addChildren",""],[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"],["noParentsState",""],[3,"filters","shouldResetFilters"],[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"],[3,"id",4,"ngIf"],[3,"rootIssueId","filters"],[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"],["progressHovercard","onedevHovercard"],
["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"],["effortHovercard","onedevHovercard"],[1,"onedev-hovercard-body"],
[3,"id"],["class","muted",4,"ngIf"],[1,"subtle-link","unstyled",3,"click"],["size","small","title","Add a parent of the current issue",1,"add",3,"disabled","onAction"],["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,"disabled","onAction"],["size","small","title","Create an issue as a child",1,"add",3,"disabled","onAction"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,dAb,1,0,
"b-spinner",1),S(2,"async"),H(3,"select-menu",2),M("onChange",function(d){return b.issueFilters.reset(d)}),S(4,"async"),I(),H(5,"button",3),M("click",function(){b.matDialog.open(Xdd,{maxWidth:"1300px",width:"90%"})}),J(6,"mat-icon",4),I()(),P(7,vAb,41,46,"div",5),S(8,"async"),P(9,xAb,1,1,"ng-template",null,6,hg),P(11,zAb,3,3,"ng-template",null,7,hg),P(13,BAb,4,4,"ng-template",null,8,hg));if(a&2){var c;B(1);F("ngIf",T(2,6,b.isThinking$));B(2);F("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",null!==
(c=T(4,8,b.issueFilters.value$))&&void 0!==c?c:Rf(12,bed))("showActionButtons",!1)("showActiveState",!0);B(4);F("ngIf",T(8,10,b.issueId$))}},dependencies:[Ow,Tw,bB,jK,oK,qA,tC,XP,e8,wM,oW,b8,c8,d8,Uw,$w],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 g8=function(){};g8.\u0275fac=function(a){return new (a||g8)};g8.\u0275mod=Oc({type:g8});g8.\u0275inj=xc({imports:[cG,QC,fP,JT,uD,OM]});var h8=function(){};h8.\u0275fac=function(a){return new (a||h8)};h8.\u0275mod=Oc({type:h8});h8.\u0275inj=xc({imports:[Zy,Py,Cy,cG,Jx,JN,QC,IA,mT,sO,xN,uD,Kx,bH,NS,aO,hT,BP,nT,cO,g8,eP,eO,NW,$M]});var ded={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},i8=function(a,b){GE.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_JS_TERSE=pF;this.URLS=Ls;this.ListIssuesHovercardMode=ded;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new E.ReplaySubject(1);this.init=new E.ReplaySubject(1);this.issues$=this.issueIds$.pipe(De(Ei),af(this.issueFridge.watchSet),D(function(d){return"parent"===c.mode?d.filter(Ol):d.filter(Nl)}))};U(i8,GE);i8.\u0275dir=GE.\u0275dir;
i8.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var JAb=function(a){var b;null==(b=a.hovercardInstance)||b.closeHovercard$.next();a.issueIds$.subscribe(function(c){c=null!=c?c:[];for(var d="id:(",e=k(c.entries()),g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;d+=h;d=g<c.length-1?d+"|":d+")"}a.router.navigate([Ls.ISSUE_LIST],{queryParams:{q:d}})})};
i8.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(bf(this.destroyed$)).subscribe(function(){a.init.next()})};wh.Object.defineProperties(i8.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});i8.\u0275fac=function(a){return new (a||i8)(C(YH),C(WG))};
i8.\u0275cmp=Mc({type:i8,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[lf],decls:5,vars:5,consts:[["role","dialog","aria-label","List Issues Hovercard",1,"onedev-hovercard-content"],["class","border-bottom header-container",4,"ngIf"],[4,"ngIf"],[1,"border-bottom","header-container"],["svgIcon","account_tree_24px",1,"icon-xxs","muted"],[1,"header-text"],["svgIcon","slo-status-no-data",
1,"icon-xxs","gfx-bad"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"issue-row","flex-kids-x","space-between"],[1,"flex-kids-x","align-items-center"],[1,"issue-id","type-xs"],[1,"type-m","margin-right","issue-title"],[1,"bv2-priority",3,"ngClass"],[3,"class",4,"ngIf"],[1,"flex-kids-x","more-issues-container","margin-s-right"],["mat-button","",1,"gmat-button","primary","small",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,EAb,5,3,"div",1),P(2,FAb,5,3,"div",1),P(3,MAb,4,3,"div",2),S(4,"async"),
I());a&2&&(B(1),F("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),B(1),F("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),B(1),F("ngIf",T(4,3,b.issues$)))},dependencies:[Mw,Nw,Ow,bB,YG,qA,Uw],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 j8=function(a,b){this.issueDigestsApi=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=ded;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};j8.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&eed(this).then(function(c){b.issueIdToTitle=c})};j8.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
var eed=function(a){a.reorderedAncestors=[];for(var b=a.issueId;;)if(b=a.ancestors.get(b))if(1===b.sourceIssueIds.length)b=b.sourceIssueIds[0],a.reorderedAncestors.push(b);else{a.multiParentIssueIds=b.sourceIssueIds;break}else break;a.reorderedAncestors.reverse();return(0,E.firstValueFrom)(a.issueDigestsApi.getAll(new Set(a.reorderedAncestors)).pipe(D(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())e=e.value,d.set(e.issueId,e.title);return d})))};
j8.\u0275fac=function(a){return new (a||j8)(C(x7),C(dH))};
j8.\u0275cmp=Mc({type:j8,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[ed],decls:3,vars:2,consts:[["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"],["card","onedevHovercard"],[4,"onedevHovercardLazyBody"],["svgIcon","chevron-right",1,"icon-xs","chevron","muted"],[3,
"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],["cardBody",""],[1,"type-s",3,"href","issueId"]],template:function(a,b){a&1&&(J(0,"mat-icon",0),P(1,PAb,7,4,"ng-container",1),P(2,QAb,4,5,"ng-container",2));a&2&&(B(1),F("ngIf",1<b.multiParentIssueIds.length),B(1),F("ngForOf",b.reorderedAncestors))},dependencies:[Nw,Ow,bB,oM,jK,kK,oK,lK,i8],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 k8=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(af(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(D(function(d){var e;return null!=(e=null==d?void 0:d.snapshot[0].hotlistId)?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(D(function(d){return null==d?void 0:d.length}),$e(0));this.label$=this.count$.pipe(D(function(d){return 0<d?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=JM};k8.prototype.onClick=function(){aHc(this.hotlistPicker,this.issue$)};wh.Object.defineProperties(k8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});k8.\u0275fac=function(a){return new (a||k8)(C(YH),C(FH),C($T))};
k8.\u0275cmp=Mc({type:k8,selectors:[["hotlist-picker-btn"]],inputs:{issueId:"issueId"},decls:4,vars:7,consts:[["mat-stroked-button","",1,"gmat-button","small",3,"hotkey","disabled","onHotkey","click"]],template:function(a,b){a&1&&(H(0,"button",0),M("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),S(1,"async"),R(2),S(3,"async"),I());a&2&&(F("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",T(1,3,b.isDisabled$)),B(2),Mf(" ",T(3,5,b.label$),"\n"))},dependencies:[IM,
qA,Uw],encapsulation:2});var fed=function(a,b){var c=b.permissions,d=b.retentionState,e=b.isComponentAdmin;if(b.isInternal){if("INDEFINITE"===b.retentionOverride)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()}}}},ged=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},hed=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)}}},ied=function(a,b){if(!b.isDeleted&&"EXTERNAL_PUBLIC"===b.accessLevel)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 l8=function(){this.label=""};l8.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};l8.\u0275fac=function(a){return new (a||l8)};
l8.\u0275cmp=Mc({type:l8,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&cg(oK,5);if(a&2){var c;bg(c=eg())&&(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&&(H(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",
2),P(4,SAb,2,1,"ng-container",3),I()()(),J(5,"mat-icon",4));if(a&2){var c=Lf(1);B(2);pf("aria-label",b.label);B(2);F("ngIf",b.content);B(1);F("onedevHovercardTrigger",c)}},dependencies:[Ow,Tw,bB,jK,oK],encapsulation:2});var m8=function(){};m8.\u0275fac=function(a){return new (a||m8)};m8.\u0275mod=Oc({type:m8});m8.\u0275inj=xc({imports:[cG,JN]});var n8=function(a,b,c,d,e,g,h,m,r){GE.call(this);this.issueFridge=a;this.issuePermissionService=b;this.activeSession=c;this.appEvents=d;this.issueArchiveService=e;this.domSafe=g;this.editIssueService=h;this.matDialogService=m;this.analytics=r;this.issueId$=new E.ReplaySubject(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=JM;this.issue$=this.issueId$.pipe(af(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(D(function(v){var y,A,G,N,Q,Z,Y;return{modifiedTimeMilliseconds:null!=
(null==v?void 0:null==(y=v.aggregatedData)?void 0:y.modifiedTimeMicros)?v.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:null!=(Z=null==v?void 0:null==(A=v.userData)?void 0:A.voted)?Z:!1,voteCount:null!=(Y=null==v?void 0:null==(G=v.aggregatedData)?void 0:G.voteCount)?Y:0,notificationSubscription:Bi(null==v?void 0:null==(N=v.userData)?void 0:N.notificationSubscription),retentionState:null==v?void 0:null==(Q=v.aggregatedData)?void 0:Q.retentionState}}));this.menuItems$=jed(this);this.state$=(0,E.combineLatest)([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(D(function(v){var y=k(v);v=y.next().value;var A=y.next().value;y=y.next().value;return Object.assign({},{issueId:v},A,{menuItems:y})}))};U(n8,GE);n8.\u0275dir=GE.\u0275dir;f=n8.prototype;f.updateSubscription=function(a){var b=this,c;return ne(function(d){if(1==d.nextAddress)return(c=An(b.issueId$))?d.yield(b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent(io.EDIT_ISSUE,"updateSubscription",a);se(d)})};
f.showNotificationSettings=function(a){this.appEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey,settingsTabName:"notifications"})};f.showIndefiniteRetentionDialog=function(a){var b=this,c;return ne(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,E.firstValueFrom)(yA(b.matDialogService.open(Ewc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
f.showComponentRetentionDialog=function(a){var b=this,c;return ne(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,E.firstValueFrom)(yA(b.matDialogService.open(Awc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
f.showFlagAsSpamDialog=function(a){var b=this,c;return ne(function(d){return 1==d.nextAddress?d.yield((0,E.firstValueFrom)(yA(b.matDialogService.open(Dwc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(Dmc(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var jed=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(dMa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=An(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=An(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=An(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=An(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,E.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(D(function(c){var d=k(c);c=d.next().value;var e=d.next().value,g;d={permissions:d.next().value,accessLevel:qBa(c),isArchived:null!=(g=null==c?void 0:c.isArchived)?g:!1,isDeleted:oBa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:tBa(c),retentionState:wBa(c)};return[hed(b,d),ied(b,d),ged(b,d),fed(b,d)].filter(Ei)}))};
wh.Object.defineProperties(n8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});n8.\u0275fac=function(a){return new (a||n8)(C(YH),C(TJ),C(bt),C(sG),C(YP),C(LK),C(fK),C(DA),C(TH))};
n8.\u0275cmp=Mc({type:n8,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&cg(l8,5);if(a&2){var c;bg(c=eg())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[lf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"issueId","hotkey","onHotkey"],["smartDupeBtn",""],["aria-label","Notification menu",3,"subscription","issueId","iconOnly","subscriptionChange","showNotificationSettings"],["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"],["menu","matMenu"],["mat-menu-item","",3,"disabled","title","click",4,"ngFor","ngForOf"],["retentionHelpContent",""],["mat-menu-item","",3,"disabled","title","click"],[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&&(P(0,XAb,15,13,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.state$))},dependencies:[uP,Nw,Ow,bB,l8,IM,s1,qA,lC,jC,kC,tC,d2,E0,D0,iU,k8,Uw],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-menu-content button.mat-menu-item mat-icon.mat-icon{vertical-align:text-bottom}"]});var o8=function(a,b,c,d,e,g,h,m,r){GE.call(this);var v=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueFridge=c;this.componentFridge=d;this.issueInteractionsTracking=e;this.bLocation=g;this.paths=h;this.refreshMonitor=m;this.butterBar=r;this.internalSearchResults$=new E.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(Ne(),af(function(y){return y?y.changed$:(0,E.of)(null)}));this.issueIds$=this.searchResults$.pipe(D(function(y){var A;return null!=(A=null==
y?void 0:y.issues.map(function(G){return G.id}).map(Kn))?A:[]}),Ne(Yh));this.issues$=this.issueIds$.pipe(af(function(y){return(0,E.combineLatest)(y.map(function(A){return v.issueFridge.watch(A,{trustUncertainMemory:!0})}))}),af(function(y){return(0,E.combineLatest)(y.map(function(A){return v.componentFridge.watch(String(null==A?void 0:A.snapshot[0].componentId),{trustUncertainMemory:!0}).pipe(D(function(G){return{issue:A,component:G}}))}))}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=
this.searchResults$.pipe(D(function(y){var A;return null!=(A=null==y?void 0:y.totalText)?A:""}));this.backNavigationLabel$=this.searchResults$.pipe(D(function(y){return(null==y?0:y.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(y){var A=k(y);y=A.next().value;A=A.next().value;var G;return null!=(G=A&&(null==y?void 0:bX(y,A)))?G:-1}));this.hasPreviousIssue$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(y){var A=
k(y);y=A.next().value;A=A.next().value;var G;if(G=A)null==y?y=0:(A=bX(y,A),y=null==A||-1===A?!1:A>y.startIndex||1<y.params.page),G=y;return!!G}));this.hasNextIssue$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(y){var A=k(y);y=A.next().value;A=A.next().value;var G;if(G=A)null==y?y=0:(A=bX(y,A),y=null==A||-1===A?!1:A<y.endIndex||y.params.page<y.numPages),G=y;return!!G}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){ked(v)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(y){v.issueId=
y;ked(v)}));this.subscriptions.add(this.issues$.subscribe(function(y){var A=v.internalSearchResults$.value;A&&RLc(A,y.filter(function(G){var N=G.component;return G.issue&&N}))}))};U(o8,GE);o8.\u0275dir=GE.\u0275dir;
var led=function(a){var b,c,d=null!=(c=null==(b=a.internalSearchResults$.value)?void 0:b.params.returnUrl)?c:"";a.issueInteractionsTracking.trackNavigation(""===d?"home":"up");a.bLocation.hash("");a.bLocation.url(d)},aBb=function(a){var b=An(a.hasNextIssue$),c=An(a.issueIndex$);b&&c&&med(a,c+1)},$Ab=function(a){var b=An(a.hasPreviousIssue$),c=An(a.issueIndex$);b&&c&&med(a,c-1)},ked=function(a){var b,c,d;ne(function(e){if(1==e.nextAddress)return e.yield(ZLc(a.issuePagination).catch(YAb),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=bX(b,a.issueId);return-1===d?e.jumpTo(0):e.yield($Lc(a.issuePagination,d).catch(YAb),0)})},med=function(a,b){$Lc(a.issuePagination,b).then(function(c){a.bLocation.url(a.paths.editIssue(c))},function(){a.butterBar.showWarning("Can't find issue id for index '"+b+"'")})};o8.\u0275fac=function(a){return new (a||o8)(u(RJ),u(cX),u(YH),u(PF),u(PJ),u(cH),u(dH),u(WH),u(lG))};
o8.\u0275prov=wc({token:o8,factory:o8.\u0275fac,providedIn:"root"});var bBb=function(a){return{"invisible zero-width":a}},ned=function(a){this.currentSearchResults=a;this.HOTKEYS=JM};ned.\u0275fac=function(a){return new (a||ned)(C(o8))};
ned.\u0275cmp=Mc({type:ned,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,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-left",1,"icon-l"],["mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"gmat-button","medium",3,"hotkey","disabled","onHotkey","click"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,b){a&
1&&(P(0,cBb,9,12,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.currentSearchResults.issueIndex$))},dependencies:[Mw,Ow,bB,IM,qA,tC,Uw],styles:["[_nghost-%COMP%]{display:inline-block;color:#5f6368;color:var(--muted);white-space:nowrap}.bv2-material   [_nghost-%COMP%]     button.mat-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}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 p8=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};p8.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};p8.prototype.toggleAccessLimits=function(){var a=this;return ne(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});se(b)})};
p8.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};p8.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
var oed=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===FSc.accessLevel)b=a?"Only added users + Googlers may access. The assignee, verifier and collaborators may edit. CCs can comment. Googler access is according to their component-level permissions.":"Only added users + Googlers may access. They have their normal access as defined by the component-level permissions.";else{for(var c=k(B$a),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};p8.\u0275fac=function(a){return new (a||p8)(C(jJ),C(e0),C(DG))};
p8.\u0275cmp=Mc({type:p8,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:4,consts:[["role","button","matTooltip","Press Alt + Right arrow for more details",1,"chippy","rounded","nowrap","access-limited",3,"onedevHovercardTrigger","click","keydown.enter","keydown.space"],["svgIcon","encrypted_24px",1,"icon-s","valign-middle"],[1,"access-limit-display-name"],["card","onedevHovercard"],[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){a&1&&(H(0,"button",0),M("click",function(){return b.toggleAccessLimits()})("keydown.enter",function(d){return b.toggleAccessLimitsWithKeystroke(d)})("keydown.space",function(d){return b.toggleAccessLimitsWithKeystroke(d)}),J(1,"mat-icon",1),H(2,"span",2),R(3),I()(),H(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"span",6),R(9),H(10,"a",7),R(11,
" Learn more"),I()()()()());if(a&2){var c=Lf(5);F("onedevHovercardTrigger",c);B(3);Nf(b.getAccessLimitLevelDisplay(b.accessLimitLevel));B(6);Mf(" Issue access is limited. ",oed(b,b.accessLimitLevel)," ");B(1);F("href",b.documentationLinks.getIssueAccessLimit(),Sd)}},dependencies:[bB,tC,jK,oK],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 ped=function(a){this.brain=a;this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(D(function(b){return null==b?void 0:b.issue}),De(Ei));this.retentionState$=this.issue$.pipe(D(function(b){var c;return null==(c=b.aggregatedData)?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(D(function(b){var c;return(null==(c=b.aggregatedData)?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/1E3:void 0}),De(Ei));this.accessLevel$=this.issue$.pipe(D(function(b){var c;return null==
(c=b.accessLimit)?void 0:c.accessLevel}),De(Ei));this.issueAccessLimitLevel$=this.issue$.pipe(D(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(D(function(b){return b.issueId}));this.state$=(0,E.combineLatest)([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.accessLevel$,this.issueId$,this.brain.componentId$]).pipe(D(function(b){var c=k(b);b=c.next().value;var d=c.next().value,e=c.next().value,g=c.next().value,h=c.next().value;c=c.next().value;
return{retentionState:b,isAccessLimited:"LIMIT_VIEW"===d||"LIMIT_APPEND"===d||"LIMIT_VIEW_TRUSTED"===d,isShowingRetention:null==(null==b?void 0:b.scheduledDeletionTime)?!1:jfb(b),isShowingPublicPartner:"INTERNAL"!==g,modifiedTime:e,accessLevel:g,issueId:h,componentId:c,issueAccessLimitLevel:d}}))};ped.\u0275fac=function(a){return new (a||ped)(C(RJ))};
ped.\u0275cmp=Mc({type:ped,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",4,"ngIf"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(P(0,hBb,2,1,"ng-container",
0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.state$))},dependencies:[p8,Ow,nP,F0,Uw],encapsulation:2});var q8=function(a,b,c,d,e,g,h){GE.call(this);var m=this;this.issueFridge=a;this.issuePermissionService=b;this.router=c;this.refreshMonitor=d;this.currentSearchResults=e;this.currentTracker=g;this.eventsForIssueFridge=h;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new E.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=ded;this.blockedIdsToUrlQuery=function(r){if(!(2>r.length))return{q:"blockingid:"+m.issueId}};this.HOTKEYS=JM;this.issue$=
this.issueId$.pipe(af(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(D(function(r){return null==r?void 0:r.snapshot[0].title}));this.starred$=this.issue$.pipe(D(function(r){var v;return Bi(null==r?void 0:null==(v=r.userData)?void 0:v.starred)}));this.componentId$=this.issue$.pipe(D(function(r){return Bi(null==r?void 0:r.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(D(function(r){return Bi(null==r?void 0:r.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(D(function(r){return!!(r&&
0<r.size)}));this.teamId$=this.issue$.pipe(D(function(r){var v;return Bi(null==r?void 0:null==(v=r.aggregatedData)?void 0:v.teamId)}));this.blockedByids$=this.issue$.pipe(D(function(r){var v;return null!=(v=null==r?void 0:r.snapshot[0].blockedByIssueId)?v:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(af(this.issueFridge.watchSet),D(function(r){return r.filter(Nl)}),D(function(r){return r.length}));zn(this.issuesBlockedByCount$.pipe(D(sBb),bf(this.destroyed$)),"Blocked");this.blockedByids$.pipe(D(tBb));
this.blockedByids$.pipe(D(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(D(function(r){return(null==r?void 0:r.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(D(function(r){return m.computeStatusCssClass(r)}));this.prettyStatus$=this.status$.pipe(De(Ei),D(function(r){return Al[r]}));this.statusIsFeatured$=this.status$.pipe(D(function(r){return!!pec[r]}));this.toggleStar=function(){var r=
!!An(m.starred$);m.starToggleDisabled=!0;Hic(m.issueFridge,m.issueId,!r).pipe(Re(),bf(m.destroyed$)).subscribe(function(){m.starToggleDisabled=!1})};this.toggleStarDebounced=oTb(this.toggleStar,1E3)};U(q8,GE);q8.\u0275dir=GE.\u0275dir;var qed=function(a,b){a.editTitleDisabled=!0;Iic(a.issueFridge,a.issueId,b).pipe(bf(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId)})};
q8.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+fsa[a]};q8.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};wh.Object.defineProperties(q8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});q8.\u0275fac=function(a){return new (a||q8)(C(YH),C(TJ),C(WG),C(WH),C(o8),C(eL),C(CF))};
q8.\u0275cmp=Mc({type:q8,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[lf],decls:41,vars:49,consts:[[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"],["withAncestorsBreadcrumbs",""],["withoutAncestorBreadcrumbs",""],[1,"right"],[1,"row","row-2","flex-kids-x","margin-s-top"],[1,"left","flex-kids-x","align-items-center"],
[1,"nowrap"],["mat-icon-button","",1,"small","back-btn",3,"hotkey","matTooltip","onHotkey","click"],["svgIcon","arrow-backward",1,"icon-s"],["mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"small",3,"hotkey","onHotkey","click"],["svgIcon","refresh",1,"icon-s"],[3,"starred","disabled","hotkey","starClicked","onHotkey"],[1,"right","pos-rel","flex-kids-x","align-items-center"],[3,"title","componentId","disabled","hasAclToEdit","updateTitle"],["class","b-chip squared bad xs margin-xs-left",
3,"onedevHovercardTrigger",4,"ngIf"],["card","onedevHovercard"],[4,"onedevHovercardLazyBody"],[1,"pos-br",3,"issueId"],["inert","","aria-hidden","true",3,"issueId"],[4,"ngTemplateOutlet"],[3,"componentId","teamId","onTeamLoaded"],[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"],["cardBody",""]],template:function(a,b){a&1&&(H(0,"div",0),S(1,"async"),S(2,"async"),S(3,"async"),J(4,"aside",1),S(5,"async"),S(6,"async"),H(7,"div",2)(8,"div",3),P(9,jBb,2,1,"ng-container",4),S(10,"async"),P(11,mBb,4,
7,"ng-template",null,5,hg),P(13,oBb,4,7,"ng-template",null,6,hg),I(),H(15,"div",7),J(16,"b-pagination-one-issue"),I()(),H(17,"div",8)(18,"div",9)(19,"div",10)(20,"button",11),M("onHotkey",function(){return led(b.currentSearchResults)})("click",function(){return led(b.currentSearchResults)}),S(21,"async"),S(22,"async"),J(23,"mat-icon",12),I(),H(24,"button",13),M("onHotkey",function(){return b.refresh()})("click",function(){return b.refresh()}),J(25,"mat-icon",14),I(),H(26,"b-star-toggle",15),M("starClicked",
function(){return b.toggleStar()})("onHotkey",function(){return b.toggleStarDebounced()}),S(27,"async"),I()(),J(28,"issue-chip-indicators"),I(),H(29,"div",16)(30,"issue-title",17),M("updateTitle",function(e){return qed(b,e)}),S(31,"async"),S(32,"async"),S(33,"async"),I(),P(34,qBb,3,2,"div",18),S(35,"async"),H(36,"onedev-hovercard",null,19),P(38,rBb,4,7,"ng-container",20),I(),J(39,"issue-actions",21)(40,"issue-actions",22),I()()());if(a&2){var c=Lf(14),d;yf("overline",T(1,23,b.statusIsFeatured$))("color-field",
T(2,25,b.statusIsFeatured$));Jf("ngClass",T(3,27,b.statusCssClass$));B(4);Kf("title","[",T(5,29,b.prettyStatus$),"] ",T(6,31,b.issueTitle$),"");B(5);F("ngIf",T(10,33,b.hasAncestors$))("ngIfElse",c);B(11);F("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=T(21,35,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");pf("aria-label",T(22,37,b.currentSearchResults.backNavigationLabel$));B(4);F("hotkey",b.HOTKEYS.REFRESH_ISSUE);B(2);F("starred",T(27,39,b.starred$))("disabled",b.starToggleDisabled)("hotkey",
b.HOTKEYS.TOGGLE_STAR);B(4);F("title",T(31,41,b.issueTitle$))("componentId",T(32,43,b.componentId$))("disabled",b.editTitleDisabled)("hasAclToEdit",T(33,45,b.issuePermissionService.hasAclToEdit$));B(4);F("ngIf",T(35,47,b.issuesBlockedByCount$));B(5);F("issueId",b.issueId);B(1);F("issueId",b.issueId)}},dependencies:[j8,Mw,Ow,Tw,bB,Z_,IM,jK,kK,oK,lK,QM,gU,i8,qA,tC,WT,YV,ned,n8,ped,Uw],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}issue-actions.pos-br[_ngcontent-%COMP%]{bottom:0;right:0}issue-actions[inert][_ngcontent-%COMP%]{display:inline-flex;visibility:hidden}[_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 r8=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.issueTrackerId$=new E.BehaviorSubject("");this.showTrackerBanner$=(0,E.combineLatest)([this.issueTrackerId$,this.currentTracker.trackerId$]).pipe(D(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!!bm(e)&&!bm(d)}));this.tracker$=this.issueTrackerId$.pipe(af(function(d){return bm(d)?(0,E.of)(void 0):c.trackerFridge.watch(d)}));this.trackerRedirectUrl$=this.tracker$.pipe(D(function(d){return fL(c.currentTracker,
String(c.issueId),d)}))};wh.Object.defineProperties(r8.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});r8.\u0275fac=function(a){return new (a||r8)(C(eL),C(EI))};
r8.\u0275cmp=Mc({type:r8,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&&(P(0,uBb,7,6,"div",0),S(1,"async"),S(2,"async"));a&2&&F("ngIf",T(1,1,b.showTrackerBanner$)&&T(2,3,b.tracker$))},dependencies:[Ow,rA,Uw],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 s8=function(a,b,c){var d=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.trackerId$=new E.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(af(function(e){return bm(e)?(0,E.of)(void 0):d.trackerFridge.watch(e)}));this.trackerName$=this.tracker$.pipe(D(function(e){return e?e.name:d.activeSession.getAppName()}));this.currentTrackerLogo$=this.currentTracker.tracker$.pipe(D(function(e){return d.getLogoUrl(e)}));this.trackerLogo$=this.tracker$.pipe(D(function(e){return d.getLogoUrl(e)}));
this.trackerRedirectUrl$=this.tracker$.pipe(D(function(e){var g="";d.issue&&(g=String(d.issueId));d.component&&(g="components/"+d.componentId);return e?fL(d.currentTracker,g,e):$oc(d.currentTracker,g)}))};s8.prototype.getLogoUrl=function(a){if(a){var b;if(null==(b=a.branding)||!b.logoUrl)return"https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}else return"https://www.gstatic.com/buganizer/img/v3/logo_light.svg";var c,d;return null!=(d=null==(c=a.branding)?void 0:c.logoUrl)?d:""};
s8.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
wh.Object.defineProperties(s8.prototype,{showResourceContainer:{configurable:!0,enumerable:!0,get:function(){return null!=this.issue||null!=this.component}},issueId:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.issue)?void 0:a.issueId}},issueType:{configurable:!0,enumerable:!0,get:function(){var a,b=null==(a=this.issue)?void 0:a.snapshot[0],c;return uec[null!=(c=null==b?void 0:b.type)?c:"TYPE_UNSPECIFIED"]}},issueStatus:{configurable:!0,enumerable:!0,get:function(){var a,
b=null==(a=this.issue)?void 0:a.snapshot[0],c;return Al[null!=(c=null==b?void 0:b.status)?c:"STATUS_UNSPECIFIED"]}},componentId:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.component)?void 0:a.componentId}}});s8.\u0275fac=function(a){return new (a||s8)(C(eL),C(EI),C(bt))};
s8.\u0275cmp=Mc({type:s8,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[ed],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&&P(0,wBb,15,13,"div",0);a&2&&F("ngIf",b.showResourceContainer)},dependencies:[Ow,bB,rA,tC,Uw],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 t8=function(){};t8.prototype.watch=function(a,b){b=void 0===b?document.documentElement:b;return(0,E.concat)((0,E.defer)(function(){return(0,E.of)(document.getElementById(a))}),sab(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(D(function(){return document.getElementById(a)}))).pipe(De(Ei),Oe())};t8.\u0275fac=function(a){return new (a||t8)};t8.\u0275prov=wc({token:t8,factory:t8.\u0275fac,providedIn:"root"});var u8=function(a){this.idWatch=a},red=function(a,b){var c=b.scrollableContainerId,d=void 0===b.scrollPadding?0:b.scrollPadding;return a.idWatch.watch(b.elementId,b.parentElement).pipe(Oe(),D(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};u8.\u0275fac=function(a){return new (a||u8)(u(t8))};u8.\u0275prov=wc({token:u8,factory:u8.\u0275fac,providedIn:"root"});var w8=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new E.ReplaySubject(1);var e;this.issueId=null!=(e=this.routeParams.issueId)?e:""};
w8.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(red(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(bf(this.destroyed$)).subscribe(),history&&history.pushState(null,"",this.paths.editIssue(this.issueId)+"#"+a.elementId))};w8.prototype.ngOnDestroy=function(){this.destroyed$.next()};
w8.\u0275fac=function(a){return new (a||w8)(u(u8),u(dH),u(JJ),u(I6))};w8.\u0275prov=wc({token:w8,factory:w8.\u0275fac});var x8=function(a,b){GE.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(De(Iza),bf(this.destroyed$)).subscribe(function(){var d=["scrollY",c.rememberScroll,c.router.url.toString()].join("-"),e,g=null==(e=c.el.nativeElement)?void 0:e.scrollTop;g?window.sessionStorage.setItem(d,String(g)):window.sessionStorage.removeItem(d)});this.router.events.pipe(De(Hza),bf(this.destroyed$)).subscribe(function(d){d=["scrollY",c.rememberScroll,d.url].join("-");xBb(c.el.nativeElement,d)})};
U(x8,GE);x8.\u0275fac=function(a){return new (a||x8)(C(Bd),C(WG))};x8.\u0275dir=Qc({type:x8,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[lf]});var y8=function(){};y8.\u0275fac=function(a){return new (a||y8)};y8.\u0275mod=Oc({type:y8});y8.\u0275inj=xc({imports:[cG,bH]});var LBb=function(){return{exact:!0}},z8=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za){GE.call(this);var Pa=this;this.contextSensitiveRegistry=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=g;this.appEvents=h;this.issueInteractionsTracking=m;this.checkBeforeExit=r;this.butterBar=v;this.routerEvents=y;this.devopsGraph=A;this.refreshMonitor=G;this.eventsForIssueFridge=N;this.issueFetchResponseFridge=Q;this.hotlistFridge=Z;this.permissionsFridge=
Y;this.issueRelationshipsFridge=ea;this.issueService=ja;this.errorHandler=va;this.currentTracker=za;this.id$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.id$.pipe(af(this.issueFridge.watch));this.issue404$=(0,E.combineLatest)([this.id$,this.issueFetchResponseFridge.error$]).pipe(D(function(Sa){var Wa=k(Sa);Sa=Wa.next().value;Wa=Wa.next().value;return Wa.idOrKey===Sa&&404===Wa.status}),$e(!1));this.issueTrackerId$=this.issue$.pipe(D(function(Sa){return null==Sa?void 0:Sa.trackerId}));
this.showTrackerRedirect$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.issueTrackerId$]).pipe(D(function(Sa){var Wa=k(Sa);Sa=Wa.next().value;Wa=Wa.next().value;return Pa.shouldShowTrackerRedirect(Sa,Di("")(Wa))}));this.snapshot$=this.issue$.pipe(D(function(Sa){return null==Sa?void 0:Sa.snapshot[0]}));this.archived$=this.snapshot$.pipe(D(function(Sa){return null==Sa?void 0:Sa.isArchived}));this.deleted$=this.snapshot$.pipe(D(function(Sa){return null==Sa?void 0:Sa.isDeleted}));this.undeleteButtonTooltip$=
this.permissions.canUndeleteIssue$.pipe(D(function(Sa){return Sa?void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(D(function(Sa){return(null==Sa?void 0:Sa.isArchived)&&!(null==Sa?0:Sa.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(D(function(Sa){return(null==Sa?void 0:Sa.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(De(Ei),D(function(Sa){return Al[Sa]}));this.issue$.pipe(D(function(Sa){var Wa;return null!=(Wa=null==Sa?void 0:
Sa.snapshot[0].title)?Wa:""}));this.issuesBeingBlocked$=this.issue$.pipe(D(function(Sa){var Wa;return null!=(Wa=null==Sa?void 0:Sa.snapshot[0].blockingIssueId)?Wa:[]}),Me(1E3),af(this.issueFridge.watchSet));this.issue$.pipe(D(function(Sa){var Wa;return null!=(Wa=null==Sa?void 0:Sa.snapshot[0].duplicateIssueId)?Wa:[]}),Me(1E3),af(this.issueFridge.watchSet));this.userHasReadAccess$=this.issueFetchResponseFridge.error$.pipe(D(function(Sa){if(403===Sa.status)return!1;Pa.errorHandler.errorHandler(null,
Sa);return!0}),$e(!0),Ye({refCount:!0,bufferSize:1}));this.issueMetadata$=(0,E.defer)(function(){return Pa.id$}).pipe(De(Ei),af(function(Sa){return Pa.issueService.getMetadata(Sa)}),Ye({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(ad(EE(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]))};U(z8,GE);z8.\u0275dir=GE.\u0275dir;z8.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
z8.prototype.ngOnInit=function(){var a=this,b,c,d;return ne(function(e){if(1==e.nextAddress)return b=eB,c=b.assertExists,e.yield((0,E.firstValueFrom)(a.id$),2);d=c.call(b,e.yieldResult);a.appEvents.issueViewed.next(d);a.issueInteractionsTracking.getState(d);a.subscriptions.add($P(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(De(Ei),
Oe()).subscribe(function(g){$H(a.issueFridge,[g.issueId])}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke("issues/"+d);a.issueRelationshipsFridge.poke(d);cI(a.issueFetchResponseFridge,d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(fic);$H(a.issueFridge,[d])}));a.destroyed$.subscribe(function(){a.devopsGraph.close();var g=a.issueInteractionsTracking,h=g.getState(d);g.trackDestroy("edit-count",
h.editCount);var m=Date.now()-h.startTime;Zlc(g,m,"idp-time-on-page",h.variations);g.resetState(d);a.editIssueService.clear(d)});se(e)})};z8.\u0275fac=function(a){return new (a||z8)(C(QJ),C(YH),C(bt),C(TJ),C(fK),C(a8),C(sG),C(PJ),C(ZP),C(lG),C(SH),C(y0),C(WH),C(CF),C(aI),C(FH),C(fI),C(eI),C(VH),C(oG),C(eL))};
z8.\u0275cmp=Mc({type:z8,selectors:[["issue-details-wrapper"]],features:[Pf([PH,gK,{provide:mM,useClass:w8}]),lf],decls:10,vars:8,consts:[["class","a11y-only",4,"ngIf"],[4,"ngIf","ngIfThen","ngIfElse"],["showIssueDetails",""],["showTrackerRedirect",""],["showNoAccessScreen",""],[1,"a11y-only"],[4,"ngIf"],["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"],["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,"matTooltip","disabled","click"],[1,"issue-header"],[3,"issueId","trackerId"],[3,"issueId"],["mat-tab-nav-bar","","gmat-tabs",""],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions",
4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],["rla","routerLinkActive"],["style","margin-left: 4px;",4,"ngIf"],[2,"margin-left","4px"],[1,"bv2-limited-issue-view"],[3,"issue"],["data-test-id","internal-access-denied",3,"issueMetadata",4,"ngIf","ngIfElse"],["publicAccessDenied",""],["data-test-id","internal-access-denied",3,"issueMetadata"],["data-test-id","public-access-denied"]],template:function(a,b){a&1&&(P(0,yBb,2,1,"h2",0),S(1,
"async"),P(2,zBb,1,0,"div",1),S(3,"async"),P(4,RBb,2,3,"ng-template",null,2,hg),P(6,SBb,3,3,"ng-template",null,3,hg),P(8,VBb,4,2,"ng-template",null,4,hg));if(a&2){var c=Lf(5),d=Lf(9);F("ngIf",T(1,4,b.id$));B(2);F("ngIf",T(3,6,b.userHasReadAccess$))("ngIfThen",c)("ngIfElse",d)}},dependencies:[Nw,Ow,NG,YG,ZG,qA,vN,wN,yN,sz,tC,WW,XW,q8,X4,G1,x8,s8,r8,Uw],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px}"]});var A8=function(a,b){GE.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new E.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"}]}};U(A8,GE);A8.\u0275dir=GE.\u0275dir;A8.prototype.ngOnInit=function(){};
A8.prototype.removeDuplicate=function(a){var b=this,c;return ne(function(d){if(1==d.nextAddress)return oe(d,2),d.yield(b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return ht(d,0);c=re(d);b.butterBar.showWarning("Could not remove duplicate "+a+". "+c);se(d)})};wh.Object.defineProperties(A8.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((null!=a?a:[]).map(function(b){return String(b)}))}}});
A8.\u0275fac=function(a){return new (a||A8)(C(YH),C(lG))};A8.\u0275cmp=Mc({type:A8,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[lf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(P(0,WBb,2,4,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.duplicateIssueIds$))},dependencies:[Ow,lT,Uw],encapsulation:2,changeDetection:0});var B8=function(a,b,c,d,e){GE.call(this);var g=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.ROBOT_SLEEPING=Voc;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(D(function(h){return{path:"/issues",params:{q:"canonicalid:"+h}}}));this.issue$=this.id$.pipe(af(this.issues.watch));this.duplicateIds$=this.issue$.pipe(D(function(h){var m;return null!=(m=null==h?void 0:h.snapshot[0].duplicateIssueId)?m:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(af(function(h){return 0===
h.length?(0,E.of)(0):g.counts.duplicatesDualCount$.pipe(D(function(m){return m.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(D(function(h){return 0<h}),$e(!0));this.didChooseDupes=function(h){var m=An(g.id$);null!=m&&Kic(g.issues,m,h[0]).catch(g.gotErr)};this.gotErr=function(h){g.snackBar.open(fm(h)||"Error with network request","close",{panelClass:"error"})}};U(B8,GE);B8.\u0275dir=GE.\u0275dir;B8.prototype.isThinking=function(){return this.issues.isThinking()};
var XBb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};B8.\u0275fac=function(a){return new (a||B8)(C(IJ),C(YH),C(MP),C(jG),C(a8))};
B8.\u0275cmp=Mc({type:B8,selectors:[["ng-component"]],features:[lf],decls:4,vars:4,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[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&&(H(0,"section",0),
P(1,bCb,5,4,"ng-container",1),S(2,"async"),I(),P(3,cCb,2,0,"aside",2));a&2&&(B(1),F("ngIf",T(2,2,b.duplicateIds$)),B(2),F("ngIf",b.isThinking()))},dependencies:[Ow,YG,qA,rA,tC,wM,A8,Uw],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 C8=function(){};C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275mod=Oc({type:C8});C8.\u0275inj=xc({imports:[cG,Cy,Py,Jx,Kx,bH,QC,xN,uD,JN,BP,eP,eO,nT]});var D8=function(a,b,c,d){GE.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=EE(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();Ms.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=sed;this.showRecentEventsFirst=!1};U(D8,GE);D8.\u0275dir=GE.\u0275dir;
D8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(De(Ei),bf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(bf(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=kCb(b.commentFilter):(a.selectedFilter=rJ(a.preferences).showFullHistory?hCb:Ms,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(bf(a.destroyed$)).subscribe())})};
D8.\u0275fac=function(a){return new (a||D8)(C(qJ),C(bt),C(HH),C(TH))};
D8.\u0275cmp=Mc({type:D8,selectors:[["b-event-stream-header"]],features:[lf],decls:8,vars:3,consts:[[1,"flex-kids-x","flex-spread"],[1,"uppercase"],[1,"flex-kids-x"],["appearance","outline","class","filter-select",4,"ngIf"],["mat-stroked-button","","color","primary",1,"gmat-button","sort-order-button",3,"click"],[4,"ngIf"],["appearance","outline",1,"filter-select"],[3,"value","valueChange","selectionChange"],["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&&(H(0,"div",0)(1,"h4",1),R(2,"Comments"),I(),H(3,"div",2),P(4,eCb,5,3,"mat-form-field",3),H(5,"button",4),M("click",function(){Qya("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;JH(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(bf(b.destroyed$)).subscribe()}),
P(6,fCb,4,0,"ng-container",5),P(7,gCb,4,0,"ng-container",5),I()()());a&2&&(B(4),F("ngIf",b.enableCommentFilters),B(2),F("ngIf",!b.showRecentEventsFirst),B(1),F("ngIf",b.showRecentEventsFirst))},dependencies:[Nw,Ow,bB,qA,QA,iP,hP,sA],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:165px;margin-right:8px}[_nghost-%COMP%]     .filter-select .mat-form-field{min-width:70px}[_nghost-%COMP%]     .filter-select .mat-form-field .mat-form-field-flex{cursor:default}[_nghost-%COMP%]     .filter-select .mat-form-field-wrapper{padding:0;margin:0}[_nghost-%COMP%]     .filter-select .mat-select-arrow-wrapper{-webkit-transform:none;transform:none}[_nghost-%COMP%]     .mat-form-field-infix{border-top-width:8px;padding:0 0 5px}[_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-select-arrow{color:#1967d2;color:var(--primary-c700)}  .mat-select-panel .mat-option.filter-option{height:48px}.filter-option[_ngcontent-%COMP%]   .filter-option-name[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-select-value .filter-option-name{line-height:20px;font-size:.94rem}.filter-option[_ngcontent-%COMP%]   .filter-option-description[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-select-value .filter-option-description{line-height:20px;color:#5f6368;color:var(--text-muted);font-size:.8125rem}  .mat-select-panel .mat-option.filter-option.mat-active{background-color:#e8f0fe;background-color:var(--selected-bg-muted)}  .mat-select-panel .mat-option.filter-option.mat-active .filter-option-name{color:#174ea6;color:var(--primary-c900)}  .mat-select-panel .mat-option.filter-option.mat-active .filter-option-description{color:#185abc;color:var(--primary-high-contrast)}"]});
var hCb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},Ms={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},iCb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},jCb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},sed=[hCb,Ms,iCb,jCb];var E8=function(a){this.matDialogService=a;this.reactionState$=new E.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(De(Ei),D(function(b){return b.recentResponders.map(function(c){return c.emailAddress||c.obfuscatedEmailAddress||""}).filter(function(c){return""!==c}).slice(0,5)}));this.isOverflowReactionCount$=this.reactionState$.pipe(De(Ei),D(function(b){return 5<b.count}));this.overflowReactionCount$=this.reactionState$.pipe(De(Ei),De(function(b){return 5<b.count}),D(function(b){return b.count-
5}))};wh.Object.defineProperties(E8.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});E8.\u0275fac=function(a){return new (a||E8)(C(DA))};
E8.\u0275cmp=Mc({type:E8,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},decls:6,vars:6,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"normal-link","hover-link","unstyled-button",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),P(2,nCb,6,5,"ng-container",2),S(3,"async"),
P(4,oCb,6,3,"span",3),S(5,"async"),I()());a&2&&(B(2),F("ngForOf",T(3,2,b.emails$)),B(2),F("ngIf",T(5,4,b.isOverflowReactionCount$)))},dependencies:[Nw,Ow,Uw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var ted=function(){};ted.\u0275fac=function(a){return new (a||ted)};ted.\u0275cmp=Mc({type:ted,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&&P(0,qCb,7,2,"ng-container",0);a&2&&F("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[Ow,VK],encapsulation:2,changeDetection:0});var F8=function(){this.texts=[]};F8.prototype.getIssueId=function(a){return a.text};F8.prototype.trackByIndex=function(a){return a};F8.\u0275fac=function(a){return new (a||F8)};
F8.\u0275cmp=Mc({type:F8,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&&P(0,uCb,5,3,"ng-container",0);a&2&&F("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[oM,Nw,Pw,Qw,Rw,etc],encapsulation:2,changeDetection:0});var ued=function(a){this.hotlists=a;this.HOTLIST_SEARCH=Ls.HOTLIST_SEARCH};ued.\u0275fac=function(a){return new (a||ued)(C(FH))};ued.\u0275cmp=Mc({type:ued,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(H(0,"a",0),R(1),S(2,"async"),I());if(a&2){var c;F("href",b.HOTLIST_SEARCH(b.id),Sd);B(1);Nf((null==(c=T(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[Uw],encapsulation:2,changeDetection:0});var G8=function(a){var b=this;this.componentFridge=a;this.id$=new E.ReplaySubject(1);this.name$=this.id$.pipe(Ne(),af(function(c){return b.componentFridge.watchOne(c).pipe(D(function(d){var e;return d?Y9a(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};G8.prototype.ngOnChanges=function(){this.id$.next(this.id)};G8.\u0275fac=function(a){return new (a||G8)(C(PF))};
G8.\u0275cmp=Mc({type:G8,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[ed],decls:6,vars:4,consts:[[3,"onedevHovercardTrigger"],["thisHovercard","onedevHovercard"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["cardBody",""]],template:function(a,b){a&1&&(H(0,"span",0),R(1),S(2,"async"),I(),H(3,"onedev-hovercard",null,1),P(5,vCb,3,2,"ng-container",2),I());if(a&2){var c=Lf(4);F("onedevHovercardTrigger",c);B(1);Nf(T(2,2,b.name$)||b.id)}},dependencies:[jK,
kK,oK,lK,NY,Uw],encapsulation:2,changeDetection:0});var TCb=function(a){return{"bv2-diff-newvalue-nextline":a}},mDb=function(a,b,c){return{diff:a,change:b,isLast:c}},H8=function(a,b){GE.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=ai;this.isLinkedItemArray=Uua;this.isIssueDiff=Rua;this.isHotlistDiff=Sua};U(H8,GE);H8.\u0275dir=GE.\u0275dir;H8.prototype.getAccessLimitLevel=function(a){return C$a(a)};
var ved=function(a){if(2>a.internalDiffs.length)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(null!=(c=b.timestamp)?c:0)<=(null!=(d=a.timestamp)?d:0)},wed=function(a){if(2>a.internalDiffs.length)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(null!=(c=b.timestamp)?c:0)>=(null!=(d=a.timestamp)?
d:0)};H8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(De(Ei),bf(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&ved(a)||!b&&wed(a))&&a.internalDiffs.reverse()})};H8.prototype.trackByIndex=function(a){return a};
var yDb=function(a,b,c){return"<none>"===Pca(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},zDb=function(a,b,c){return"<none>"===Pca(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};H8.prototype.asNumber=function(a){return Number(a)};
H8.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};wh.Object.defineProperties(H8.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(ad(a))}}});H8.\u0275fac=function(a){return new (a||H8)(C(bt),C(qJ))};
H8.\u0275cmp=Mc({type:H8,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[lf],decls:6,vars:2,consts:[[1,"bv2-event-details"],["class","bv2-diff-row",4,"ngFor","ngForOf","ngForTrackBy"],["changeCollection",""],["effortNameDisabled",""],[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"],["nonEffortFieldNames",""],[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"],["notIssue",""],[3,"href","issueId"],["plainLink",""],["target","_blank",3,"href"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,PDb,2,1,"div",1),I(),P(2,YDb,1,1,"ng-template",null,2,hg),P(4,ZDb,2,0,"ng-template",null,3,hg));a&2&&(B(1),F("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[Mw,Nw,Ow,Tw,Pw,Qw,Rw,VK,OK,oM,ued,G8,Yw],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var I8=function(a){GE.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(bf(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:Fh(c.commentDisplayOverride)}})};U(I8,GE);I8.\u0275dir=GE.\u0275dir;
I8.prototype.ngOnInit=function(){};I8.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";xed(this);this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var xed=function(a){if(2>a.rawComment.split("\n").slice(0,3).filter(Boolean).length)a.rawComment=NBa(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="MARKDOWN"===a.formattingMode||"MARKDOWN"===a.formattingModeOverride?b.join("\n\n"):b.join("\n")}};I8.\u0275fac=function(a){return new (a||I8)(C(qJ))};
I8.\u0275cmp=Mc({type:I8,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[lf,ed],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&J(0,"b-live-preview",0);a&2&&F("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[WO],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var yed=["commentActionsMenu"],zed=["commentReactionButton"],hEb=function(){return[]},xEb=function(a){return{"no-upvote-reactions":a}},J8=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja){GE.call(this);var va=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=g;this.butterBar=h;this.errorHandler=m;this.analytics=r;this.userPreferencesManager=v;this.issueDetailsBrain=y;this.editIssueService=A;this.issuePermissionService=
G;this.commentHistoryDialogService=N;this.issueCommentDialogsService=Q;this.dateFormatter=Z;this.paths=Y;this.domSafe=ea;this.eventsForIssueFridge=ja;this.isSummarized=!1;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Ne());this.event$=new E.ReplaySubject(1);this.isCommentEvent=Jl;this.isNonObfuscatedEmail=Fl;this.commentActionMenuItems$=new E.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(){va.formattingMode="PLAIN";va.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){va.formattingMode="MARKDOWN";va.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){va.formattingMode="LITERAL";va.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(af(function(za){return va.issuePermissionService.canEditComment$(za)}),Ye({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!An(va.canEditComment$)};this.commentHistoryEnabled=EE(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=EE(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(af(function(za){return va.editIssueService.editableIssue$(za)}));this.modifiedDateDisplay$=this.event$.pipe(D(function(za){return new Date(za.modifiedDate)}),af(function(za){return Eoc(va.dateFormatter,za)}));this.ariaLabelHeading$=(0,E.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(D(function(za){var Pa=k(za);za=Pa.next().value;Pa=Pa.next().value;if(null==za)za="";else{var Sa=[];za.commentNumber&&Sa.push("Comment #"+
za.commentNumber);za.userPerformingActionUser&&Sa.push(pi(za.userPerformingActionUser));Sa.push("Modified: "+Pa);za=Sa.join(", ")}return za}));this.ReactionType=xac;this.upvoteReactionCount$=this.event$.pipe(D(function(za){var Pa,Sa,Wa;return null!=(Wa=null==(Pa=za.commentReactions)?void 0:null==(Sa=Pa.get("UPVOTE"))?void 0:Sa.count)?Wa:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(D(function(za){return za&&0!==za?999<za?"999+":String(za):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(D(function(za){return 0===za}));this.commentReactionsHovercardConfig=Object.assign({},new mK,{position:[Wmc]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(D(function(za){var Pa;return null!=(Pa=za.commentFilter)?Pa:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(D(function(za){return"FULL_HISTORY"===
za}));this.preEventDiffs$=(0,E.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(D(function(za){za=k(za);var Pa=za.next().value;return za.next().value?Pa.postDiffs:Pa.preDiffs}));this.postEventDiffs$=(0,E.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(D(function(za){za=k(za);var Pa=za.next().value;return za.next().value?Pa.preDiffs:Pa.postDiffs}));this.hasAclToUpvoteReact$=(0,E.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(D(function(za){var Pa=
k(za);za=Pa.next().value;Pa=Pa.next().value;var Sa,Wa;return(null==(Sa=za.commentReactions)?void 0:null==(Wa=Sa.get("UPVOTE"))?void 0:Wa.hasReacted)||Pa}));this.showCommentReactionHovercard$=(0,E.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(D(function(za){var Pa=k(za);za=Pa.next().value;Pa=Pa.next().value;return za&&0<Pa&&5>=Pa}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(D(function(za){return za&&FEb(va)&&(0<va.event.preDiffs.length||
0<va.event.postDiffs.length)}));this.getCommentNumberLink=function(za){return Gwa(va.issueId,{comment:za})}};U(J8,GE);J8.\u0275dir=GE.\u0275dir;
J8.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(bf(this.destroyed$)).subscribe(function(){Jl(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,E.of)(void 0)});Aed(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(bf(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(bf(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(bf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(bf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var Aed=function(a){if(a.formattingMode){for(var b=k(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};f=J8.prototype;
f.updateCommentRetention=function(a){var b=this;this.event.commentNumber||pG(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(io.RESTRICTED_CONTENT,"updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(bf(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:null!=(d=c.piiRetentionState)?d:null});mG(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride="INDEFINITE"===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){pG(b.errorHandler,"Comment retention update failed")}})};
f.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=(null==b?void 0:b.commentVersion)!==(null==a?void 0:a.commentVersion)||(null==b?void 0:b.commentContentVerdict)!==(null==a?void 0:a.commentContentVerdict);b&&(this.deobfuscatedEvent=void 0);this.event.formattingMode&&("UNSPECIFIED_FORMATTING_MODE"===this.event.formattingMode?this.formattingMode="PLAIN":this.formattingMode=this.event.formattingMode);
this.initializeActionsMenu()};f.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};f.getRestrictedLabel=function(){return Rqa(Ii(this.event.commentContentVerdict))};f.isRestricted=function(){if(!this.isInternalSession)return!1;var a=Ii(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:Fh(a)}};
f.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};var Ps=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
J8.prototype.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent(io.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=this.event.commentNumber||0;this.commentService.get(String(this.issueId),b,Ii(this.event.commentContentVerdict)).pipe(Oe()).subscribe(function(c){a.deobfuscatedEvent=Object.assign({},a.event,wta(c));a.initializeActionsMenu()},function(c){var d;a.butterBar.showWarning("Error showing comment "+b+": "+(null==(d=c.error)?void 0:d.message))})};
J8.prototype.initializeActionsMenu=function(){var a=this,b=[];if(this.isCommentEvent(this.event)&&(this.isFormattingOverrideEnabled||(b.push({type:"submenu",label:"View as",items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]}),Aed(this)),this.canEditComment()&&b.push({type:"action",action:function(){Os(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:Ps(this)}),this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!Ps(this)&&b.push({type:"action",action:function(){a.event.commentNumber&&a.showCommentHistoryDialog(a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Show comment history"}),!this.canonicalIssueId||this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){var d=a.paths.editIssue(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:Ps(this)}),this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){CFc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:Ps(this)}),cmc(this.issuePermissionService,
this.event)&&b.push({type:"action",action:function(){HFc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"}),bmc(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){EFc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore comment"}),this.isInternalSession&&
b.push({type:"action",action:function(){IFc(a.issueCommentDialogsService,String(a.issueId),a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings"}),this.isInternalSession&&this.isRestricted()&&this.issuePermissionService.canChangeCommentRetention()&&!this.isDeleted())){var c="COMPONENT_DEFAULT"===this.commentRetentionOverride;b.push({type:"action",action:function(){var d=c?"INDEFINITE":"COMPONENT_DEFAULT";JFc(a.issueCommentDialogsService,"comment",
d).then(function(e){a.commentActionsMenu.actionsMenuIconButton.focus();e&&a.updateCommentRetention(d)})},label:c?"Match issue retention":"Revert to component retention"})}this.commentActionMenuItems$.next(b)};J8.prototype.getUserEmailIfAvailable=function(){return ti(this.event.userPerformingActionUser)};var FEb=function(a){return Jl(a.event)&&!!a.event.unlinkifiedComment};J8.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
J8.prototype.mayReadPii=function(){var a=aG(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){Oh("error: ",b);return!1});return(0,E.from)(a)};
var vEb=function(a){if(An(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=yEb(a,"UPVOTE"),c;a.issueCommentDialogsService.updateCommentReaction({issueId:a.issueId,commentId:null!=(c=a.event.commentNumber)?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);AF(a.eventsForIssueFridge,a.issueId,function(g){var h;g.events=gva(g.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});a.analytics.trackEvent(io.EDIT_ISSUE,
"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},yEb=function(a,b){var c,d,e;return null!=(e=null==(c=a.event.commentReactions)?void 0:null==(d=c.get(b))?void 0:d.hasReacted)?e:!1},wEb=function(a,b){var c;a=null==(c=a.event.commentReactions)?void 0:c.get(b);if(!a)return"Comment reaction button";b="UPVOTE"===b?"Thumbs up":"";1===a.count?b+=", "+a.count+" reaction":1<a.count&&(b+=", "+a.count+" reactions");a.hasReacted&&(b+=", reacted");return b};
wh.Object.defineProperties(J8.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});J8.\u0275fac=function(a){return new (a||J8)(C(jJ),C(bt),C(mM),C(KI),C(Bd),C($F),C(lG),C(oG),C(TH),C(qJ),C(RJ),C(fK),C(TJ),C(BQ),C(IS),C(UK),C(dH),C(LK),C(CF))};
J8.\u0275cmp=Mc({type:J8,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(cg(yed,5),cg(zed,5));if(a&2){var c;bg(c=eg())&&(b.commentActionsMenu=c.first);bg(c=eg())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[lf,ed],decls:2,vars:3,consts:[[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",4,"ngIf","ngIfElse"],["plainUserDisplayName",""],[4,"ngIf","ngIfElse"],["emailDisplay",""],["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"],[3,"user","email","teamId"],[1,"bv2-event-user-name",3,"model"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"bv2-event-user-id"],[1,"keep-focus-ring","vertical-centered","comment-number",3,"routerLinkObj","click"],["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"],["commentActionsMenu",""],[1,"bv2-event-major-status"],[3,"texts"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled"],[1,"muted","italic"],[3,"disabled","onConfirm"],[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,"ariaLabel","ngClass","onedevHovercardTrigger","onedevHovercardConfig","onedevHovercardActive","click"],["commentReactionButton",""],["svgIcon","thumb_up_24px","class","icon-s",4,"ngIf"],["svgIcon","thumb_up_filled_24px","class","icon-s has-reacted-icon",4,"ngIf"],["commentReactionCard","onedevHovercard"],[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&&(P(0,GEb,43,33,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[kL,KS,YO,Mw,Nw,Ow,
Tw,bB,VK,jK,oK,H8,NK,IQ,MS,ZN,PK,rM,yP,tC,I8,qA,E8,ted,F8,Uw],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 Bed={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},K8=function(a,b,c,d,e,g,h,m,r,v){GE.call(this);var y=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.editIssueService=d;this.dynamicScrollIntoView=e;this.bLocation=g;this.elementRef=h;this.activeSession=m;this.routerEvents=r;this.analytics=v;this.issueId$=new E.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=Bed;this.internalEvents=[];this.showRecentEventsFirst=null;
this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=EE(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe(af(function(A){return y.editIssueService.editableIssue$(A)}));this.events$=new E.ReplaySubject(1);this.commentsToFormat$=new E.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.sendAnalytics=oTb(function(){var A=[].concat(ad(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(G){return G.innerText}).join("").length;
y.analytics.trackEvent(io.EDIT_ISSUE,"updateCommentThread","visibleCharCount",A)},200);this.scrollToCommentOrAttachment=oTb(function(){var A=y.bLocation.hash();if(A&&y.internalEvents){var G,N=k(null!=(G=A.match(RegExp("(comment|attachment)([0-9]+)")))?G:[]);N.next();G=N.next().value;var Q=N.next().value;N=G;var Z=Q;if("lastcomment"===A){N=kva(y.internalEvents);if(-1===N)return;Z=String(N);N="comment"}if(N&&Z){if(A=y.internalEvents.findIndex(function(Y){return Y.commentNumber===Number(Z)}),G=-1<A,
Q=y.internalEvents.flatMap(function(Y){return Y.attachments}).some(function(Y){return Y.attachmentId===Number(Z)}),G||Q)G&&"folded"===y.eventDisplayMode.get(A)&&(y.eventDisplayMode.set(A,"full"),Ced(y,A)),Q&&(A=y.internalEvents.findIndex(function(Y){return-1<Y.attachments.findIndex(function(ea){return ea.attachmentId===Number(Z)})}),y.eventDisplayMode.get(A)||(y.eventDisplayMode.set(A,"full"),Ced(y,A))),red(y.dynamicScrollIntoView,{elementId:N+Z,parentElement:y.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",
scrollPadding:60}).pipe(bf(y.destroyed$)).subscribe()}else red(y.dynamicScrollIntoView,{elementId:A,parentElement:y.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(bf(y.destroyed$)).subscribe()}},200)};U(K8,GE);K8.\u0275dir=GE.\u0275dir;
K8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(De(Ei),bf(this.destroyed$),Ne()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,Ded(a))});(0,E.combineLatest)([this.events$,this.preferences.commentFilterPreferences$]).subscribe(function(b){b=k(b);var c=b.next().value,d=b.next().value;b=[];if(a.enableCommentFiltering&&d.commentFilter)for(a.currentFilterLevel=d.commentFilter,Eed(a,c,d.commentFilter),Fed(a),c=k(a.commentNumbersDisplayed.values()),
d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=k(c),d=c.next();!d.done;d=c.next())(d=d.value)&&d.commentNumber&&b.push(a.internalIssueId+"-"+d.commentNumber);a.commentsToFormat$.next(b)});this.commentsToFormat$.pipe(De(Ei),bf(this.destroyed$),af(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){Ged(a,b)});this.routerEvents.navigationEnd$.pipe(bf(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var Ged=function(a,b){for(var c={$jscomp$loop$prop$i$1014018255$8:0};c.$jscomp$loop$prop$i$1014018255$8<a.internalEvents.length;c={$jscomp$loop$prop$i$1014018255$8:c.$jscomp$loop$prop$i$1014018255$8},c.$jscomp$loop$prop$i$1014018255$8++)if(LEb(a.eventDisplayMode.get(c.$jscomp$loop$prop$i$1014018255$8))&&Jl(a.internalEvents[c.$jscomp$loop$prop$i$1014018255$8])){var d=b.find(function(g){return function(h){return h.id.commentId===a.internalEvents[g.$jscomp$loop$prop$i$1014018255$8].commentNumber}}(c));
if(d){var e=a.internalEvents[c.$jscomp$loop$prop$i$1014018255$8];e.formattedComment=d.formattedComment.formattedComment;e.formattingMode=d.formattedComment.formattingMode;a.internalEvents[c.$jscomp$loop$prop$i$1014018255$8]=Object.assign({},e)}}Ded(a)},Eed=function(a,b,c){a.eventDisplayMode.clear();a.commentNumbersDisplayed.clear();a.foldedCommentsCounts.clear();switch(c){case "FULL_HISTORY":for(c=0;c<b.length;c++){var d=Hed(b[c]);a.eventDisplayMode.set(c,d?"full":"hidden");Jl(b[c])&&b[c].commentNumber&&
d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}break;case "ALL_COMMENTS":for(c=0;c<b.length;c++)d=Ied(b[c]),a.eventDisplayMode.set(c,d?"full":"hidden"),Jl(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0));break;case "HUMAN_ONLY":Jed(a,b,function(e){var g;return null!=(g=e.isHumanAuthor&&e.isMajorEvent)?g:!0});break;case "TEAM_AND_ASSIGNEE":Jed(a,b,function(e){var g;return null!=(g=e.isCollaboratorAuthor&&e.isMajorEvent)?
g:!0});break;default:for(c=0;c<b.length;c++)a.eventDisplayMode.set(c,"full"),Jl(b[c])&&b[c].commentNumber&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}a.sendAnalytics()},Fed=function(a){if("FULL_HISTORY"!==a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)Jl(a.internalEvents[b])&&Rl(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),Ced(a,b))},Jed=function(a,b,c){for(var d=0,e=0,g=0,h=0;h<b.length;h++){var m=c(b[h]);a.eventDisplayMode.set(h,m?
"full":"folded");if(m){if(0<d||0<e)a.foldedCommentsCounts.has(g)||a.foldedCommentsCounts.set(g,{commentFoldedCount:d,eventFoldedCount:e});e=d=0;Jl(b[h])&&b[h].commentNumber&&(m=void 0,a.commentNumbersDisplayed.add(null!=(m=b[h].commentNumber)?m:0))}else{if(Jl(b[h])&&b[h].commentNumber||Kl(b[h]))d++,g=h;e++}}if(0<d||0<e)b=1===kva(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:Ked(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},Ked=function(a){return paa(a.internalEvents,
function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},Hed=function(a){return Jl(a)&&!!a.unlinkifiedComment||Kl(a)||0<a.preDiffs.length||0<a.postDiffs.length},Ied=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&(Jl(a)&&!!a.unlinkifiedComment||Kl(a)||0<a.preDiffs.length||0<a.postDiffs.length)},Ded=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=Led(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=
Led(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;Eed(a,a.internalEvents,null!=(b=a.currentFilterLevel)?b:"FULL_HISTORY");Fed(a)}a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},Led=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};K8.prototype.isLoading=function(){return this.formattedCommentsForIssueFridge.isThinking()||this.eventsForIssue.isThinking(this.internalIssueId)};
K8.prototype.trackEventByVersion=function(a,b){return b.version};
var Ced=function(a,b){if(a.foldedCommentsCounts.has(b)){var c,d,e=null!=(d=null==(c=a.foldedCommentsCounts.get(b))?void 0:c.commentFoldedCount)?d:0,g,h;c=null!=(h=null==(g=a.foldedCommentsCounts.get(b))?void 0:g.eventFoldedCount)?h:0;1<e&&a.foldedCommentsCounts.set(b-1,{commentFoldedCount:e-1,eventFoldedCount:c-1});a.foldedCommentsCounts.delete(b)}else for(e=new Map([].concat(ad(a.foldedCommentsCounts.entries())).sort(function(m,r){return m[0]-r[0]})),e=k(e.entries()),g=e.next();!g.done;g=e.next())if(h=
k(g.value),g=h.next().value,h=h.next().value,g>b){if(0===h.commentFoldedCount-(g-b))a.foldedCommentsCounts.set(g,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<g;c++)(Jl(a.internalEvents[c])||Kl(a.internalEvents[c]))&&e++;a.foldedCommentsCounts.set(g,{commentFoldedCount:e,eventFoldedCount:g-b});a.foldedCommentsCounts.set(b-1,{commentFoldedCount:h.commentFoldedCount-e-1,eventFoldedCount:h.eventFoldedCount-(g-b)-1});a.foldedCommentsCounts.delete(b)}break}},
LEb=function(a){return"summarized"===a||"full"===a};wh.Object.defineProperties(K8.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&&0<a.length){var b=a;a=[].concat(ad(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!Hua(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
K8.\u0275fac=function(a){return new (a||K8)(C(BG),C(qJ),C(CF),C(fK),C(u8),C(cH),C(Bd),C(bt),C(SH),C(TH))};
K8.\u0275cmp=Mc({type:K8,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[lf],decls:4,vars:4,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&&(P(0,HEb,2,0,"aside",0),H(1,"div",1),P(2,MEb,3,2,"ng-container",2),I(),P(3,NEb,2,0,"aside",0));a&2&&(F("ngIf",b.isLoading()&&b.showRecentEventsFirst),B(2),F("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),B(1),F("ngIf",b.isLoading()&&!b.showRecentEventsFirst))},dependencies:[Nw,Ow,J8,qA,wM],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 L8=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};L8.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};L8.\u0275fac=function(a){return new (a||L8)(C(yfc),C(dG))};
L8.\u0275cmp=Mc({type:L8,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&&(H(0,"div",0),M("click",function(){return vwa(b.snackbarRef)}),
J(1,"mat-icon",1),H(2,"p",2),R(3),I()(),H(4,"button",3),M("click",function(c){return b.onDismiss(c)}),J(5,"mat-icon",4),I());a&2&&(B(3),Mf(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[bB,qA],styles:[".mat-snack-bar-container.refresh-data-notification{padding:0;min-height:auto;border-radius:8px;background-color:rgba(0,0,0,0);width:480px}.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 M8=function(a){this.snackbar=a},Med=function(a){var b=JM.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._attach(L8,c);return a.currentSnackBar};M8.\u0275fac=function(a){return new (a||M8)(u(jG))};M8.\u0275prov=wc({token:M8,factory:M8.\u0275fac,providedIn:"root"});var N8=function(a,b,c,d,e,g,h,m,r,v,y){GE.call(this);var A=this;this.eventsForIssue=a;this.issueFetchResponseFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=g;this.errorHandler=h;this.refreshDataNotification=m;this.eventsForIssueWatcher=r;this.analytics=v;this.appEvents=y;this.id$=new E.ReplaySubject(1);this.events$=this.id$.pipe(af(this.eventsForIssue.watch),D(function(G){var N;return null!=(N=null==G?void 0:G.events)?N:[]}));this.issue$=
this.id$.pipe(af(function(G){return bI(A.issueFetchResponseFridge,G)}));this.accessLevel$=this.issue$.pipe(D(function(G){var N,Q;return null==G?void 0:null==(N=G.issue)?void 0:null==(Q=N.accessLimit)?void 0:Q.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(D(function(G){return G&&EE(A.activeSession,"enableImageSummary")}),$e(!0))};U(N8,GE);N8.\u0275dir=GE.\u0275dir;
N8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.issueDetailsBrain.urlComment$.subscribe(function(b){var c=b.commentNumber;b=b.commentVersion;if(c&&void 0!==b&&-1<b){var d=An(a.id$);d&&a.commentHistoryDialogService.show(d,c,null!=b?b:-1)}}));this.subscriptions.add(this.eventsForIssue.error$.subscribe(function(b){a.errorHandler.errorHandler(null,b)}));this.subscriptions.add(yzc(this.eventsForIssueWatcher,An(this.id$)).subscribe(function(){Ned(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()}));this.destroyed$.pipe(Oe()).subscribe(function(){var b;null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()})};
var Ned=function(a){a.analytics.trackEvent(io.PUSH_UPDATE,"display","comment");Med(a.refreshDataNotification)._afterDismissed.subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent(io.PUSH_UPDATE,"fetchResource","comment"),cI(a.issueFetchResponseFridge,An(a.id$)),a.eventsForIssue.poke(An(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent(io.PUSH_UPDATE,"dismiss","comment")})};wh.Object.defineProperties(N8.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
N8.\u0275fac=function(a){return new (a||N8)(C(CF),C(aI),C(qJ),C(bt),C(BQ),C(RJ),C(oG),C(M8),C(yR),C(TH),C(sG))};
N8.\u0275cmp=Mc({type:N8,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[lf],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(J(0,"b-event-stream",0),S(1,"async"),S(2,"async"),S(3,"async"),S(4,"async"),S(5,"async"));a&2&&(F("issueId",T(2,7,b.id$))("events",T(3,9,b.events$))("issueAccessLevel",T(4,11,b.accessLevel$))("showFullHistory",T(5,13,b.preferences.showFullHistory$)),pf("data-will-inline-screenshots",T(1,5,b.enableInlineScreenshots$)?
!0:null))},dependencies:[K8,Uw],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var XEb=function(a,b){return{empty:a,"never-focused":b}},O8=function(a,b,c,d,e,g,h,m,r,v){var y=this;this.issuePermissionService=a;this.userPreferencesManager=b;this.editIssueService=c;this.analytics=d;this.draftStore=e;this.activeSession=g;this.issueDetailsBrain=h;this.issueCommentDialogsService=m;this.appEvents=r;this.bannedWordsService=v;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Ne());this.issue$=this.distinctIssueId$.pipe(af(function(A){return y.editIssueService.editableIssue$(A)}));
this.wasFocused=!1;this.commentButtonStyle="fill";this.enableRecaptcha=EE(this.activeSession,"enableRecaptcha");this.recaptchaResponse$=new E.BehaviorSubject("");this.bannedWordsWarning={matchedPatterns:[],state:"INITIAL"};this.commentSubmitted=new pw;this.HOTKEYS=JM;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(D(function(A){return A.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(D(function(A){return y.editIssueService.issueCommentDraft(A)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(af(function(A){return A.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(af(function(A){return A.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;
this.savingState$=this.issueId$.pipe(D(function(A){return y.editIssueService.savingState(A)}));this.isSaving$=this.savingState$.pipe(af(function(A){return bo(A.propertiesBeingSaved,Kn("comment"))}));this.commentLimitReached$=this.events$.pipe(D(function(A){var G=y.activeSession.getCommentNumberLimit();return kva(A)>=G}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(D(function(A){return A?"The comment limit has been reached and no additional comments are permitted.":y.activeSession.isAnonymous()?
"Sign in to use full features.":y.issuePermissionService.hasAclToComment()?"Add a comment.":"You do not have access to comment on this issue."}));this.commentBoxEnabled$=(0,E.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(D(function(A){var G=k(A);A=G.next().value;var N=G.next().value;G=G.next().value;return A&&!N&&!G}));this.showRecaptcha$=(0,E.combineLatest)([this.hasAclToComment$,this.commentLimitReached$]).pipe(D(function(A){var G=k(A);A=G.next().value;G=
G.next().value;return A&&!G&&y.enableRecaptcha}));this.commentDraftUpdated$=new E.BehaviorSubject(!0);this.commentButtonEnabled$=(0,E.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(D(function(A){var G=k(A);A=G.next().value;var N=G.next().value,Q=G.next().value;G=G.next().value;return A&&Mlc(N)&&!Q&&(!y.enableRecaptcha||""!==G)}));this.empty$=(0,E.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(D(function(A){var G,
N;return null!=(N=null==(G=k(A).next().value)?void 0:G.value)?N:""}),D(function(A){return 0===A.length}))},QEb=function(a){var b;return ne(function(c){b=!rJ(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent(io.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return c.yield((0,E.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
O8.prototype.saveCommentDraft=function(){var a=this,b;return ne(function(c){if(1==c.nextAddress)return a.bannedWordsService.reset(a.bannedWordsWarning),c.yield((0,E.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.setDraft(a.internalIssueId,b.value);a.commentDraftUpdated$.next(!0);se(c)})};
O8.prototype.submitCommentBox=function(a){var b=this,c,d,e,g,h,m,r;return ne(function(v){if(1==v.nextAddress)return c=b.enableRecaptcha?b.recaptchaResponse$.getValue():void 0,d=b.editIssueService.issueCommentDraft(b.internalIssueId).comment(),e=b.editIssueService.editableIssue(b.internalIssueId),v.yield(b.bannedWordsService.check(b.bannedWordsWarning,d.value,"EXTERNAL_PUBLIC"===b.issuePermissionService.accessLevel(),e.componentId),2);if(3!=v.nextAddress)return g=v.yieldResult,g?v.yield(b.issueCommentDialogsService.submitCommentBox(String(e.componentId),
b.internalIssueId,d,c),3):(null==(h=a)||h.preventDefault(),null==(m=a)||m.stopPropagation(),null==(r=b.commentBox)||VEb(r),v.return());b.commentSubmitted.emit();b.bannedWordsService.reset(b.bannedWordsWarning);b.appEvents.recaptchaSubmitted.next();se(v)})};O8.prototype.showNewContentJudgementDialog=function(){var a=this;return ne(function(b){return b.yield(a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
O8.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&EE(this.activeSession,"enableReducePlusOneComments")&&!An(this.issueDetailsBrain.voted$)};wh.Object.defineProperties(O8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}}});O8.\u0275fac=function(a){return new (a||O8)(C(TJ),C(qJ),C(fK),C(TH),C(iJ),C(bt),C(RJ),C(IS),C(sG),C(FS))};
O8.\u0275cmp=Mc({type:O8,selectors:[["b-post-comment"]],viewQuery:function(a,b){a&1&&cg(h_,5);if(a&2){var c;bg(c=eg())&&(b.commentBox=c.first)}},inputs:{issueId:"issueId"},outputs:{commentSubmitted:"commentSubmitted"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],["id","AddCommentBox",3,"hotkey","supportsPreview","issueId","comment","componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn","onHotkey",
"onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered"],["commentBox",""],["class","banned-words-warning","warning","",4,"ngIf"],["recaptchaContainer","",4,"ngIf"],["additionalToolbarItems","",1,"goog-inline-block"],[3,"format","disabled","color","onAction","click"],[1,"goog-inline-block"],["class","goog-inline-block vertical-centered",4,"ngIf"],[3,"initialValue","change",4,"ngIf"],[3,"accessLevel"],["warning","",1,"banned-words-warning"],["recaptchaContainer",""],[3,"onUpdate"],
[3,"checked","disabled","change"],[1,"goog-inline-block","vertical-centered"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled",4,"ngIf"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled"],[3,"initialValue","change"]],template:function(a,b){a&1&&(P(0,ZEb,2,1,"ng-container",0),S(1,"async"));a&2&&F("ngIf",T(1,1,b.issue$))},dependencies:[XP,h_,XO,Mw,Ow,nP,IM,BO,BS,Uw],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 Oed=[[["","mainSegment",""]],[["","dropdownSegment",""]]],P8=function(){this.mainSegment=!0};P8.\u0275fac=function(a){return new (a||P8)};P8.\u0275dir=Qc({type:P8,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&yf("main-segment",b.mainSegment)}});var Q8=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.dialogClosed=new pw;this.dialogOpened=new pw};Q8.prototype.ngAfterContentInit=function(){};
Q8.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};wh.Object.defineProperties(Q8.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});Q8.\u0275fac=function(a){return new (a||Q8)};
Q8.\u0275cmp=Mc({type:Q8,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&dg(c,P8,5);if(a&2){var d;bg(d=eg())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&cg(NM,5);if(a&2){var c;bg(c=eg())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&yf("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[ed],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:4,consts:[["mat-icon-button","","onedevPopupPanelTrigger","",1,"dropdown-button",3,"onedevPopupPanelTriggerFor","matTooltip","disabled","click","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed"],["trigger","onedevPopupPanelTrigger"],["svgIcon","arrow-dropdown"],["role","region"],["contentPanel","onedevPopupPanel"],[1,"dropdown-container"]],template:function(a,b){a&1&&(Gf(Oed),Hf(0),H(1,"button",0,1),
M("click",function(){var d,e;if(null!=(e=null==(d=b.trigger)?void 0:d.isOpen)&&e){var g;null==(g=b.trigger)||g.close()}else{var h;null==(h=b.trigger)||h.open()}})("onedevPopupPanelTriggerOpened",function(){return b.dialogOpened.emit()})("onedevPopupPanelTriggerClosed",function(){return b.dialogClosed.emit()}),J(3,"mat-icon",2),I(),H(4,"onedev-popup-panel",3,4)(6,"div",5),Hf(7,1),I()());if(a&2){var c=Lf(5);B(1);F("onedevPopupPanelTriggerFor",c)("matTooltip",b.dropdownTooltip)("disabled",b.disabled);
pf("aria-label",b.dropdownAriaLabel)}},dependencies:[bB,qA,tC,MM,NM],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 hFb=function(a){return{voteCount:a}},R8={},Ped=(R8.REJECTION_REASON_UNSPECIFIED="Unspecified",R8.REVERSED="The relationship is reversed",R8.SIMILAR="The issues are similar, but not duplicate",R8.NOT_SIMILAR="The issues are not similar",R8.OTHER="Other",R8),Qed=new Set(["VERY_HIGH","HIGH"]),S8=function(a,b,c,d,e,g,h,m,r,v){GE.call(this);var y=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.paths=c;this.recommendationsService=d;this.errorHandler=e;this.editIssueService=g;this.analytics=
h;this.scrolledOnScreenService=m;this.elementRef=r;this.issueRecommendationsFridge=v;this.STATUS_JS_FULL_TEXT=Al;this.STATUS_JS_TERSE=pF;this.REJECT_REASON_TO_DISPLAY=Ped;this.currentIssueId$=new E.ReplaySubject(1);this.currentIssue$=this.currentIssueId$.pipe(af(function(A){return y.issueFridge.watch(A)}));this.isAlreadyADuplicate$=this.currentIssue$.pipe(D(function(A){return"DUPLICATE"===(null==A?void 0:A.snapshot[0].status)}));this.recommendation$=this.currentIssueId$.pipe(af(function(A){return y.issueRecommendationsFridge.watch(A+
"-ISSUE_DEDUPLICATION",void 0)}),D(function(A){return null==A?void 0:A.recommendations.filter(function(G){return Qed.has(G.confidence)})}),D(function(A){return null==A?void 0:A[0]}));this.canonicalIssue$=this.recommendation$.pipe(D(function(A){var G;return null==A?void 0:null==(G=A.content)?void 0:G.recommendedIssue}));this.canonicalIssueId$=this.canonicalIssue$.pipe(D(function(A){return null==A?void 0:A.issueId}));this.canonicalComponentId$=this.canonicalIssue$.pipe(D(function(A){var G;return null!=
(G=null==A?void 0:A.snapshot[0].componentId)?G:void 0}));this.canonicalAccessLevel$=this.canonicalIssue$.pipe(D(function(A){var G;return null==A?void 0:null==(G=A.accessLimit)?void 0:G.accessLevel}));this.isCanonicalInExternalComponent$=this.canonicalAccessLevel$.pipe(D(function(A){return!(!A||"INTERNAL"===A)}));this.canonicalTitle$=this.canonicalIssue$.pipe(D(function(A){return null==A?void 0:A.snapshot[0].title}));this.canonicalPriority$=this.canonicalIssue$.pipe(D(function(A){return null==A?void 0:
A.snapshot[0].priority}));this.canonicalVoteCount$=this.canonicalIssue$.pipe(D(function(A){var G;return null==A?void 0:null==(G=A.aggregatedData)?void 0:G.voteCount}));this.canonicalCreateMicros$=this.canonicalIssue$.pipe(D(function(A){var G;return null==A?void 0:null==(G=A.aggregatedData)?void 0:G.createdTimeMicros}));this.canonicalDuplicates$=this.canonicalIssue$.pipe(D(function(A){var G;return null!=(G=null==A?void 0:A.snapshot[0].duplicateIssueId)?G:[]}));this.statusForChip$=this.canonicalIssue$.pipe(D(function(A){var G;
return null!=(G=null==A?void 0:A.snapshot[0].status)?G:void 0}));this.canonicalEvents$=this.canonicalIssueId$.pipe(af(function(A){return y.eventsForIssueFridge.watch(A)}),D(function(A){var G;return null!=(G=null==A?void 0:A.events)?G:[]}));this.canonicalDescription$=this.canonicalEvents$.pipe(D(function(A){return A[0]}),D(function(A){var G;return{formattedComment:null==A?void 0:A.formattedComment,commentNumber:1,unlinkifiedComment:(null==A?void 0:A.unlinkifiedComment)||"",formattingMode:null!=(G=
null==A?void 0:A.formattingMode)?G:"UNSPECIFIED_FORMATTING_MODE"}}));this.canonicalComments$=this.canonicalEvents$.pipe(D(function(A){return A.filter(Jl)}));this.wasRejected$=new E.BehaviorSubject(!1);this.show$=(0,E.combineLatest)([this.isAlreadyADuplicate$,this.canonicalIssue$,this.wasRejected$]).pipe(D(function(A){var G=k(A);A=G.next().value;var N=G.next().value;G=G.next().value;return!A&&!!N&&!G}));this.isSaving=!1;this.REJECT_REASONS=["NOT_SIMILAR","SIMILAR","REVERSED","OTHER"]};U(S8,GE);
S8.\u0275dir=GE.\u0275dir;S8.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.canonicalIssue$.subscribe(function(b){a.issueFridge.announce(b)}));this.subscriptions.add((0,E.combineLatest)([this.show$.pipe(De(Boolean)),Nsc(this.scrolledOnScreenService,this.elementRef.nativeElement)]).pipe(Oe()).subscribe(function(){a.analytics.trackEvent(io.EDIT_ISSUE,"view","canonical-recommendation");Red(a,"VIEWED")}))};
S8.prototype.accept=function(){var a=this,b,c;return ne(function(d){switch(d.nextAddress){case 1:return a.isSaving=!0,b=An(a.canonicalIssueId$),oe(d,2,3),d.yield(xmc(a.editIssueService,a.currentIssueId,b),5);case 5:return a.analytics.trackEvent(io.EDIT_ISSUE,"accept","canonical-recommendation"),d.yield(Red(a,"ACCEPTED"),3);case 3:pe(d);a.isSaving=!1;qe(d,0);break;case 2:c=re(d),qG(a.errorHandler,c),d.jumpTo(3)}})};
S8.prototype.reject=function(a){var b=this;return ne(function(c){b.wasRejected$.next(!0);b.analytics.trackEvent(io.EDIT_ISSUE,"reject","canonical-recommendation");return c.yield(Red(b,"REJECTED",a),0)})};
var Red=function(a,b,c){var d,e;return ne(function(g){if(1==g.nextAddress){oe(g,2);d=An(a.recommendation$).name;var h=g.yield,m=E.firstValueFrom;var r=a.recommendationsService;var v=[{parent:d,userEngagement:{type:b,rejectionReason:c}}];v=(new UM).setRequestsList(v.map(xGa));r=r.executor.post({url:"action/recommendations/engagements/batch",body:v,responseConstructor:null});return h.call(g,m.call(E,r),4)}if(2!=g.nextAddress)return ht(g,0);e=re(g);qG(a.errorHandler,e);se(g)})};
S8.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};wh.Object.defineProperties(S8.prototype,{currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a)},get:function(){return An(this.currentIssueId$)}}});S8.\u0275fac=function(a){return new (a||S8)(C(YH),C(CF),C(dH),C(WM),C(oG),C(fK),C(TH),C(dP),C(Bd),C(XM))};
S8.\u0275cmp=Mc({type:S8,selectors:[["canonical-recommendation"]],inputs:{currentIssueId:"currentIssueId"},features:[lf],decls:8,vars:3,consts:[[1,"heading","flex-kids-x","gap-xxs","align-items-center","padded-x","padded-s-y"],["svgIcon","merge_type_24px",1,"rotate-180","green"],["mat-icon-button","","href","http://go/b-duplicate-assistance-docs","target","_blank","title","Learn more","aria-label","Learn more",1,"small","align-item-right"],["svgIcon","info",1,"icon-s"],["class","flex-kids-y gap-s",
4,"ngIf"],[1,"flex-kids-y","gap-s"],[1,"flex-kids-y","gap-s","padded-x"],["target","_blank",1,"title","hover-link","flex-kids-x","align-items-center","gap-xs",3,"href"],[1,"overflow-ellipsis"],["svgIcon","pop-out",1,"icon-s","shrink-0"],[3,"issueId","issueAccessLevel","formattingMode","note",4,"ngIf"],[1,"info","flex-kids-x","gap-s","align-items-center"],[1,"muted",3,"issueId","enableHotkeys","componentId","issueTitle","isExternalIssue"],[3,"issuePriority"],[3,"class","title",4,"ngIf"],[4,"ngIf"],
[1,"actions","flex-kids-x","gap-s","align-items-center","padded-x","padded-s-bottom"],["mat-button","",1,"accept","keep-focus-ring",3,"disabled","click"],["svgIcon","done",1,"icon-s"],["dropdownTooltip","Specify reject reason",1,"reject",3,"disabled"],["splitButton",""],["mat-button","","mainSegment","",3,"disabled","click"],["svgIcon","close",1,"icon-s"],["dropdownSegment",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],[3,"issueId","issueAccessLevel","formattingMode","note"],[3,"title"],
[1,"divider"],[1,"muted","nowrap"],[1,"votes","flex-kids-x","align-items-center","gap-xs",3,"matTooltip"],[1,"muted"],["svgIcon","exposure_plus_1_24px",1,"icon-s"],[1,"flex-kids-x","align-items-center","gap-xs",3,"matTooltip"],["svgIcon","mode_comment_24px",1,"icon-s","muted"],["matTooltip","Created on","mode","date",1,"muted","nowrap",3,"timestamp"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0),J(1,"mat-icon",1),H(2,"span"),R(3,"Close as duplicate of:"),I(),H(4,"a",2),
J(5,"mat-icon",3),I()(),P(6,iFb,37,42,"div",4),S(7,"async"));a&2&&(B(6),F("ngIf",T(7,1,b.canonicalIssueId$)))},dependencies:[YO,Nw,Ow,bB,VK,QM,SI,qA,rA,jC,tC,Q8,P8,Uw],styles:["[_nghost-%COMP%]{display:block;position:relative;border:none;box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 2px 6px 2px rgba(0,0,0,.15)}.heading[_ngcontent-%COMP%], .title[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-weight:500;font-size:1rem;line-height:1.5rem}.green[_ngcontent-%COMP%], .heading[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);color:#137333;color:var(--green-text)}.hover-link[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.hover-link[_ngcontent-%COMP%]:focus, .hover-link[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link);text-decoration:underline}.divider[_ngcontent-%COMP%]{height:18px;border-left:1px solid;border-left-color:#dadce0;border-left-color:var(--divider)}.votes[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px;color:#1a73e8;color:var(--text-primary)}.actions[_ngcontent-%COMP%]   .accept[_ngcontent-%COMP%], .actions[_ngcontent-%COMP%]   .reject[_ngcontent-%COMP%]{border-radius:13px}.actions[_ngcontent-%COMP%]   .accept[_ngcontent-%COMP%]{padding-right:12px;padding-left:8px;border:1px solid;border-color:#137333;border-color:var(--green-text);color:#137333;color:var(--green-text)}.actions[_ngcontent-%COMP%]   .reject[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--hairline);color:#5f6368;color:var(--text-muted)}.align-item-right[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%]     .bv2-note-container{max-height:54px;margin:0;overflow:auto}[_nghost-%COMP%]     b-issue-id-picker{border:1px solid;border-color:#dadce0;border-color:var(--divider)}[_nghost-%COMP%]     b-issue-id-picker button.square-left{border:none}[_nghost-%COMP%]     .actions button{height:26px;line-height:unset}[_nghost-%COMP%]     .actions button .mat-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .actions button .mat-button-wrapper mat-icon{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}\n/*# sourceMappingURL=canonical_recommendation.css.map */"]});var Sed=function(a){this.internalArray_=l(a)};U(Sed,q);Sed.prototype.getCategory=function(){return aj(this,3,0)};Sed.prototype.toObject=function(){return Ted(this)};var Ted=function(a){if(null!=a)return t(a),{category:aj(a,3,0),threshold:aj(a,4,0)}};var T8=function(a){this.internalArray_=l(a)};U(T8,q);T8.prototype.getText=function(){return V(this,1)};T8.prototype.setText=function(a){return zj(this,1,a)};T8.prototype.toObject=function(){return Ued(this)};var Ued=function(a){if(null!=a)return t(a),{text:V(a,1)}};var U8=function(a){this.internalArray_=l(a)};U(U8,q);U8.prototype.setModel=function(a){return zj(this,1,a)};U8.prototype.getPrompt=function(){return W(this,T8,2)};U8.prototype.setPrompt=function(a){return lj(this,T8,2,a)};U8.repeatedFields_=[8,9];
U8.prototype.toObject=function(){if(null!=this){t(this);var a={model:V(this,1),prompt:Ued(this.getPrompt()),temperature:n(Qo(this,3)),candidateCount:n(Ft(this,4)),maxOutputTokens:n(Ft(this,5)),topP:n(Qo(this,6)),topK:n(Ft(this,7)),safetySettingsList:Ub(oj(this,Sed,8),Ted),stopSequencesList:n(Xh(this,9))}}else a=void 0;return a};var Ved=function(a){this.internalArray_=l(a)};U(Ved,q);f=Ved.prototype;f.getReason=function(){return aj(this,1,0)};f.setReason=function(a){$i(this,1,a)};f.getMessage=function(){return V(this,2)};f.setMessage=function(a){uk(this,2,a)};f.toObject=function(){return Wed(this)};var Wed=function(a){if(null!=a)return t(a),{reason:aj(a,1,0),message:n(X(a,2))}};var V8=function(a){this.internalArray_=l(a)};U(V8,q);V8.prototype.getCategory=function(){return aj(this,3,0)};V8.prototype.toObject=function(){return Xed(this)};var Xed=function(a){if(null!=a)return t(a),{category:aj(a,3,0),probability:aj(a,4,0)}};var Yed=function(a){this.internalArray_=l(a)};U(Yed,q);Yed.prototype.toObject=function(){return Zed(this)};var Zed=function(a){if(null!=a)return t(a),{rating:Xed(W(a,V8,1)),setting:Ted(W(a,Sed,2))}};var $ed=function(a){this.internalArray_=l(a)};U($ed,q);$ed.prototype.setUri=function(a){return uk(this,3,a)};$ed.prototype.toObject=function(){return afd(this)};var afd=function(a){if(null!=a)return t(a),{startIndex:n(Ft(a,1)),endIndex:n(Ft(a,2)),uri:n(X(a,3)),license:n(X(a,4))}};var bfd=function(a){this.internalArray_=l(a)};U(bfd,q);bfd.repeatedFields_=[1];bfd.prototype.toObject=function(){return cfd(this)};var cfd=function(a){if(null!=a)return t(a),{citationSourcesList:Ub(oj(a,$ed,1),afd)}};var Ss=function(a){this.internalArray_=l(a)};U(Ss,q);Ss.repeatedFields_=[2];Ss.prototype.toObject=function(){return dfd(this)};var dfd=function(a){if(null!=a)return t(a),{output:V(a,1),safetyRatingsList:Ub(oj(a,V8,2),Xed),citationMetadata:cfd(W(a,bfd,3))}};var Rs=function(a){this.internalArray_=l(a)};U(Rs,q);Rs.repeatedFields_=[1,2,3,4];Rs.prototype.toObject=function(){return efd(this)};var efd=function(a){if(null!=a)return t(a),{candidatesList:Ub(oj(a,Ss,1),dfd),blockReasonsList:Ub(oj(a,V8,2),Xed),filtersList:Ub(oj(a,Ved,3),Wed),safetyFeedbackList:Ub(oj(a,Yed,4),Zed)}};var ffd=function(a){this.internalArray_=l(a,0,ffd.messageId)};U(ffd,q);ffd.prototype.toObject=function(){if(null!=this){t(this);var a={innerResponse:efd(W(this,Rs,5))}}else a=void 0;return a};ffd.messageId="b.GenerateTextResponse";var W8=function(a){this.executor=a};W8.prototype.generate=function(a){var b;var c=(new U8).setModel(null!=(b=a.model)?b:"models/text-bison-001").setPrompt((new T8).setText(a.prompt));return this.executor.post({url:"/action/palm/generate",body:c,responseConstructor:ffd}).then(jFb)};W8.\u0275fac=function(a){return new (a||W8)(u(xD))};W8.\u0275prov=wc({token:W8,factory:W8.\u0275fac,providedIn:"root"});var gfd={},hfd=(gfd[0]="Please provide a brief summary of the topic of the following conversation using a single line.",gfd[1]="Please provide a brief summary of the top, any recommendations, and any status in the following conversation using up to 3 lines.",gfd),X8=function(a,b,c){this.prompts=a;this.palmApi=b;this.issueApi=c},jfd=function(a,b,c){var d;return ne(function(e){if(1==e.nextAddress)return e.yield(ifd(a.prompts,b),2);if(d=e.yieldResult){var g=e.return,h=E.firstValueFrom;var m=a.issueApi;
var r=new UE;r=cj(r,2,0===c?1:2).setIssueId(b);m=m.executor.post({url:"action/issues/"+b+"/summarize",body:r,responseConstructor:tE}).pipe(D(Isa));e=g.call(e,h.call(E,m))}else e=e.return({status:1,summary:""});return e})},kfd=function(a,b){var c,d;return ne(function(e){if(1==e.nextAddress)return c={prompt:b},e.yield(a.palmApi.generate(c),2);d=e.yieldResult;return e.return(d.output)})};X8.\u0275fac=function(a){return new (a||X8)(u(Y8),u(W8),u(XE))};X8.\u0275prov=wc({token:X8,factory:X8.\u0275fac,providedIn:"root"});
var Y8=function(a,b){this.issueFridge=a;this.eventsForIssueFridge=b},ifd=function(a,b){var c;return ne(function(d){if(1==d.nextAddress)return d.yield(lfd(a,b),2);c=d.yieldResult;return d.return(!!(c&&3<=c.comments.length))})},mfd=function(a,b,c){var d;return ne(function(e){return 1==e.nextAddress?e.yield(lfd(a,b),2):(d=e.yieldResult)&&3<=d.comments.length?e.return(hfd[c]+"\n\n"+[d.description].concat(ad(d.comments)).join("\n")):e.return(void 0)})},lfd=function(a,b){var c,d,e,g,h,m,r,v,y;return ne(function(A){if(1==
A.nextAddress)return A.yield(Promise.all([(0,E.firstValueFrom)(a.issueFridge.watch(b,{trustUncertainMemory:!0})),(0,E.firstValueFrom)(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}))]),2);c=A.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;m=g;if(!h||!m)return A.return(void 0);r=m.events;v=r.slice(1).filter(kFb).filter(function(G){return G.unlinkifiedComment}).map(function(G){return G.userPerformingAction.split("@")[0]+": "+G.unlinkifiedComment}).filter(Ei);y=r[0].userPerformingAction.includes("@google.com")&&
r[0].unlinkifiedComment||void 0;return A.return({title:h.snapshot[0].title,description:y,comments:v})})};Y8.\u0275fac=function(a){return new (a||Y8)(u(YH),u(CF))};Y8.\u0275prov=wc({token:Y8,factory:Y8.\u0275fac,providedIn:"root"});var nfd=function(a,b){var c=this;this.dialogData=a;this.prompts=b;this.initialPromptText$=(0,E.defer)(function(){return mfd(c.prompts,c.dialogData.issueId,c.dialogData.summaryType)})};nfd.\u0275fac=function(a){return new (a||nfd)(C(CA),C(Y8))};
nfd.\u0275cmp=Mc({type:nfd,selectors:[["b-custom-summary-prompt-dialog"]],decls:12,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"value"],["textarea",""],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(H(0,"h1",0),R(1,"Experiment with prompt"),I(),H(2,"div",1)(3,"textarea",
2,3),S(5,"async"),R(6,"    "),I()(),H(7,"div",4)(8,"button",5),R(9," Cancel "),I(),H(10,"button",6),R(11," Generate "),I()());if(a&2){var c=Lf(4);B(3);F("value",T(5,3,b.initialPromptText$));B(5);F("mat-dialog-close",void 0);B(2);F("mat-dialog-close",c.value)}},dependencies:[qA,EA,FA,GA,HA,Uw],styles:["textarea[_ngcontent-%COMP%] { width: 500px; height: 50vh}"]});var qFb=function(a,b){return{summary:a,stage:b}},EFb=function(a){return{"has-reacted-icon":a}},Z8=function(a,b,c,d,e){var g=this;this.llmService=a;this.prompts=b;this.matDialogService=c;this.activeSession=d;this.analytics=e;this.issueId="";this.INITIAL="initial";this.SHORT="short";this.LONG="long";this.CUSTOM="custom";this.enableLlmDogfood=EE(this.activeSession,"enableLlmDogfood");this.isSummarizable$=(0,E.defer)(function(){return ifd(g.prompts,g.issueId)});this.stage$=new E.BehaviorSubject("initial");
this.defaultSummaryRequested$=new E.ReplaySubject(1);this.defaultCommentThreadSummary$=(0,E.combineLatest)([this.defaultSummaryRequested$,this.stage$]).pipe(af(function(h){h=k(h);h.next();h=h.next().value;return jfd(g.llmService,g.issueId,HFb(h))}));this.customSummaryRequested$=new E.ReplaySubject(1);this.customCommentThreadSummary$=this.customSummaryRequested$.pipe(af(function(h){return kfd(g.llmService,h).then(function(m){return{status:0,summary:m}})}));this.commentThreadSummary$=(0,E.merge)((0,E.merge)(this.defaultSummaryRequested$,
this.customSummaryRequested$).pipe(D(function(){})),this.defaultCommentThreadSummary$,this.customCommentThreadSummary$);this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1},oFb=function(a){var b=GFb(a.stage$.value);a.stage$.next(b);a.analytics.trackEvent(io.LLM_SUMMARIZE,"click",b);a.defaultSummaryRequested$.next()},mFb=function(a){var b,c;return ne(function(d){if(1==d.nextAddress)return b={issueId:a.issueId,summaryType:1},d.yield((0,E.firstValueFrom)(yA(a.matDialogService.open(nfd,{maxWidth:560,
data:b}))),2);if(c=d.yieldResult)a.stage$.next("custom"),a.customSummaryRequested$.next(c);se(d)})};Z8.prototype.isString=function(a){return"string"===typeof a};Z8.\u0275fac=function(a){return new (a||Z8)(C(X8),C(Y8),C(DA),C(bt),C(TH))};
Z8.\u0275cmp=Mc({type:Z8,selectors:[["llm-summary"]],inputs:{issueId:"issueId"},decls:8,vars:3,consts:[["class","summary carded margin-s-sides margin-s-bottom flex-kids-x padded-sides",4,"ngIf"],["summaryLoading",""],["showingSummary",""],["feedbackButtons",""],[1,"summary","carded","margin-s-sides","margin-s-bottom","flex-kids-x","padded-sides"],["svgIcon","chat_spark_24px","color","primary",1,"margin-s-right","shrink-0"],[1,"flex-kids-y","gap-s","full-width"],[1,"uppercase"],[3,"panelTemplate"],
["svgIcon","help-outline",1,"icon-s"],["aiHelp",""],[4,"ngIf"],[1,"type-s"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary",1,"gmat-button","small",3,"click"],["mat-flat-button","","color","secondary","class","gmat-button small",3,"click",4,"ngIf"],["mat-flat-button","","color","secondary",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","white-space-pre-wrap overflow",4,"ngIf"],[1,"white-space-pre-wrap","overflow"],
[1,"flex-kids-x","space-between","full-width"],[3,"ngTemplateOutlet"],[1,"color-bad"],["mat-stroked-button","",1,"feedback-button",3,"disabled","click"],["svgIcon","thumb_up_24px",1,"icon-s",3,"ngClass"],["svgIcon","thumb_down_24px",1,"icon-s",3,"ngClass"]],template:function(a,b){a&1&&(P(0,xFb,12,4,"div",0),S(1,"async"),P(2,yFb,1,0,"ng-template",null,1,hg),P(4,DFb,3,3,"ng-template",null,2,hg),P(6,FFb,5,8,"ng-template",null,3,hg));a&2&&F("ngIf",T(1,1,b.isSummarizable$))},dependencies:[Mw,Ow,Tw,bB,
wM,qA,mP,FX,Uw],styles:[".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)}\n/*# sourceMappingURL=llm_summary.css.map */"]});var $8=function(a,b,c,d,e,g,h,m,r,v,y){GE.call(this);var A=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=g;this.appEvents=h;this.routePerformance=m;this.clearcut=r;this.activeSession=v;this.issuePermissionService=y;this.id$=this.brain.id$;this.issueAndEvents$=(0,E.combineLatest)([this.brain.issueJs$.pipe(De(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=EE(this.activeSession,"enableSummarySection");this.enableIDPCanonicalRecommendation=
EE(this.activeSession,"enableIDPCanonicalRecommendation");this.enableLlmSummarization=EE(this.activeSession,"enableLlmSummarization");this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(De(Ei),af(function(G){return A.editIssueService.issueCommentDraft(G).comment$}));this.finishedRendering$=(0,E.combineLatest)([this.brain.eventsJs$.pipe(Me(0)),tab("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Oe())};U($8,GE);$8.\u0275dir=GE.\u0275dir;
$8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(De(Ei),bf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){ofd(a)});tab("#comment1 .critical-feature",this.element.nativeElement).pipe(bf(this.destroyed$)).subscribe(function(){var b=function(){jXc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(Re()).subscribe(function(b){var c=
k(b);b=c.next().value;c=c.next().value;pfd(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(df(this.comment$)).subscribe(function(b){b=k(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var pfd=function(a,b,c){var d=b.issue,e=c.map(function(g){return g.unlinkifiedComment});b=vva(d,c).length;d=wva(d,c);e=e.filter(Boolean).length;b=5<=b||10<=e||10<=d?"collab":"other";JH(a.clearcut,"view_idp_"+b);gn("dimension10",b);c=c.some(function(g){var h,m,r;return 0<(null!=(r=null==(h=g.commentReactions)?void 0:null==(m=h.get("UPVOTE"))?void 0:m.count)?r:0)});a.analytics.trackEvent(io.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")};$8.prototype.unloadPageHandler=function(){ofd(this)};
var ofd=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"):[])&&!(2>b.length)){for(var c=b[0],d=b[0],e=0,g=1;g<b.length;g++)2E3>b[g]-d||(e+=d-c,c=b[g]),d=b[g],g===b.length-1&&(e+=b[g]-c);a.analytics.trackEvent(io.EDIT_ISSUE,"scroll","commentThread",e);IH(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
$8.\u0275fac=function(a){return new (a||$8)(C(RJ),C(qJ),C(hY),C(TH),C(Bd),C(fK),C(sG),C(D2),C(HH),C(bt),C(TJ))};
$8.\u0275cmp=Mc({type:$8,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("unload",function(){return b.unloadPageHandler()},!1,Ed)},features:[lf],decls:7,vars:10,consts:[["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"],["class","rounded margined-s",3,"hidden","currentIssueId",
4,"ngIf"],[3,"issueId"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","highlighted-left",3,"id"],[1,"rounded","margined-s",3,"currentIssueId"],["canonicalRecommendation",""],[1,"carded","margined-s","bg-main",3,"issueId"],["issueSummaryCard",""],[1,"carded","margined-s","bg-main"],[3,"id",4,"ngIf"],[3,"id"]],template:function(a,b){a&1&&(H(0,"div",0),P(1,KFb,7,7,"ng-container",1),S(2,"async"),P(3,LFb,3,5,"issue-summary-card",2),S(4,"async"),P(5,OFb,5,5,"div",3),S(6,"async"),I());a&2&&(F("bFocus",
!0),B(1),F("ngIf",T(2,4,b.id$)),B(2),F("ngIf",b.enableSummarySection&&T(4,6,b.id$)),B(2),F("ngIf",T(6,8,b.id$)))},dependencies:[Ow,S8,D8,JU,aU,OS,N8,cT,O8,EU,Z8,Uw],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var a9=function(){};a9.\u0275fac=function(a){return new (a||a9)};a9.\u0275mod=Oc({type:a9});a9.\u0275inj=xc({imports:[cG,QC,RA,jP]});var b9=function(){};b9.\u0275fac=function(a){return new (a||b9)};b9.\u0275mod=Oc({type:b9});b9.\u0275inj=xc({imports:[cG]});var c9=function(){};c9.\u0275fac=function(a){return new (a||c9)};c9.\u0275mod=Oc({type:c9});c9.\u0275inj=xc({imports:[cG,JN,BP,IN,zP,SY,kP]});var d9=function(){};d9.\u0275fac=function(a){return new (a||d9)};d9.\u0275mod=Oc({type:d9});d9.\u0275inj=xc({imports:[cG,kP]});var e9=function(){};e9.\u0275fac=function(a){return new (a||e9)};e9.\u0275mod=Oc({type:e9});e9.\u0275inj=xc({imports:[NS,OT,kP,cG,IN,JN,c9,ZO,NT,$N,zP,uD,d9,QC,b9]});var f9=function(){};f9.\u0275fac=function(a){return new (a||f9)};f9.\u0275mod=Oc({type:f9});f9.\u0275inj=xc({imports:[cG,e9,c9,QC,eO]});var g9=function(){};g9.\u0275fac=function(a){return new (a||g9)};g9.\u0275mod=Oc({type:g9});g9.\u0275inj=xc({imports:[cG,QC,iG]});var h9=function(){};h9.\u0275fac=function(a){return new (a||h9)};h9.\u0275mod=Oc({type:h9});h9.\u0275inj=xc({imports:[kP,cG,f9,PT,UN,hU,QC,uD,eO,eU,g9,zP,iG]});var i9=function(){};i9.\u0275fac=function(a){return new (a||i9)};i9.\u0275mod=Oc({type:i9});i9.\u0275inj=xc({imports:[hT,z_,kP,cG,sP,Jx,KM,QC,fP,A_]});var j9=function(){};j9.\u0275fac=function(a){return new (a||j9)};j9.\u0275mod=Oc({type:j9});j9.\u0275inj=xc({imports:[cG,QC,uD,OM]});var k9=function(){};k9.\u0275fac=function(a){return new (a||k9)};k9.\u0275mod=Oc({type:k9});k9.\u0275inj=xc({imports:[kP,cG,IN,UN,TN,QC,mC,uD,j9]});var l9=function(){};l9.\u0275fac=function(a){return new (a||l9)};l9.\u0275mod=Oc({type:l9});l9.\u0275inj=xc({imports:[cG,eO,QC,IA,rP,RX]});var m9=function(){};m9.\u0275fac=function(a){return new (a||m9)};m9.\u0275mod=Oc({type:m9});m9.\u0275inj=xc({imports:[cG,Py,Cy,Jx,QC,IA,xN,Kx,bH,k9,a9,KU,mU,PT,h9,tU,qU,i9,eP,FU,zP,eO,l9]});var qfd=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(af(this.issueFridge.watch),De(Ei));this.commentNumberToEventMap$=this.issue$.pipe(D(function(g){return g.issueId}),af(function(g){return e.eventsForIssueFridge.watch(g)}),D(function(g){var h;return null!=(h=null==g?void 0:g.events)?h:[]}),D(function(g){return new Map(g.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,E.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(D(function(g){g=k(g);var h=g.next().value,m=g.next().value,r;return(null==(r=h.relatedLinks)?void 0:r.map(function(v){return Object.assign({},v,{comment:m.get(v.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(D(function(g){return g.filter(Uva)}));this.imageLinks$=this.relatedLinks$.pipe(D(function(g){return g.filter(Qva)}));this.otherLinks$=this.relatedLinks$.pipe(D(function(g){return g.filter(Vva)}))};
qfd.\u0275fac=function(a){return new (a||qfd)(C(bt),C(YH),C(RJ),C(CF))};
qfd.\u0275cmp=Mc({type:qfd,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&&(H(0,"section",0),P(1,WFb,7,9,"ng-container",1),S(2,"async"),I());a&2&&(B(1),F("ngIf",T(2,1,b.issue$)))},dependencies:[Ow,
bB,US,RS,WS,Uw],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var n9=function(){};n9.\u0275fac=function(a){return new (a||n9)};n9.\u0275mod=Oc({type:n9});n9.\u0275inj=xc({imports:[cG,qU,oU,rU]});var o9=function(a,b){var c=this;this.brain=a;this.codeMentions=b;this.ROBOT_SLEEPING=Voc;this.id$=this.brain.id$.pipe(De(Ei));this.codeMentionsState$=this.id$.pipe(af(function(d){return Udd(c.codeMentions,d)}))};o9.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};o9.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};o9.\u0275fac=function(a){return new (a||o9)(C(RJ),C(Z7))};
o9.\u0275cmp=Mc({type:o9,selectors:[["issue-todos"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],["hasResults",""],[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,"href","click"],[3,"issueId","packageMentionSet","displayPackageName"]],template:function(a,b){a&1&&(H(0,"section",0),P(1,bGb,3,3,"ng-container",1),S(2,"async"),I());a&2&&(B(1),F("ngIf",T(2,1,b.id$)))},dependencies:[Nw,Ow,Bbd,Uw],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 p9=function(a,b,c,d,e){this.cdr=a;this.pageTitle=b;this.userApi=c;this.paths=d;this.errorHandler=e;this.isLoading=!1;this.hotlists=[];this.createHotlistPath=this.paths.createHotlist()};p9.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
p9.prototype.fetchUserHotlists=function(){var a=this;this.isLoading=!0;this.userApi.getUserHotlists().then(function(b){a.hotlists=b;a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};p9.\u0275fac=function(a){return new (a||p9)(C(PH,2),C(bW),C(BH),C(dH),C(oG))};
p9.\u0275cmp=Mc({type:p9,selectors:[["list-hotlists-page"]],features:[Pf([PH])],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&&(H(0,"h2",0),R(1,"Browse Hotlists"),I(),H(2,"div",1)(3,"a",2),R(4," Create Hotlist "),I()(),H(5,"div",3),P(6,cGb,1,1,"b-spinner",4),P(7,dGb,1,1,"b-hotlist-grid",5),I());
a&2&&(B(3),F("href",b.createHotlistPath,Sd),B(3),F("ngIf",b.isLoading),B(1),F("ngIf",!b.isLoading))},dependencies:[Ow,j1,wM,rA],encapsulation:2});var rfd=new Set(["issueId","modifiedTime","createdTime"]),q9=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb){GE.call(this);var cb=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=g;this.userApi=h;this.hotlistApi=m;this.activeSession=r;this.butterBar=v;this.analytics=y;this.appSearchState=A;this.issuePagination=G;this.userPreferencesManager=N;this.urlPreferences=Q;this.gridPreferencesFetcher=Z;this.paths=Y;this.timeout=ea;this.errorHandler=
ja;this.statusMessages=va;this.domSafe=za;this.appEvents=Pa;this.hotlistFridge=Sa;this.issueFridge=Wa;this.batchIssueRelationshipsService=Qb;this.componentFridge=Gb;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=[];this.BASE_HOTKEYS=
[{keys:["j"],displayAs:"j",description:"Move to the next issue",onPress:function(){var sa;null==(sa=cb.resultsGrid)||qfb(sa)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var sa;null==(sa=cb.resultsGrid)||rfb(sa)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var sa;null==(sa=cb.resultsGrid)||VUc(sa)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var sa;null==(sa=cb.resultsGrid)||
YUc(sa)}},{keys:[Un("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var sa;null==(sa=cb.resultsGrid)||ZUc(sa,!0)}},{keys:[Un("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var sa;null==(sa=cb.resultsGrid)||ZUc(sa,!1)}},{keys:[Vn("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var sa;null==(sa=cb.resultsGrid)||sa.selectAll()}},{keys:[Vn("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",
onPress:function(){var sa;null==(sa=cb.resultsGrid)||TUc(sa)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var sa;null==(sa=cb.gridControls)||s_(sa,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var sa;null==(sa=cb.gridControls)||s_(sa,El.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var sa;if(null!=(sa=cb.gridControls)&&sa.hasSelectedIssues()){var Ja;null==(Ja=sa.hotlistPicker)||Ja.open()}}},
{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var sa;null==(sa=cb.gridControls)||tSc(sa)}},{keys:["u",Un("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return cb.refreshResults()}},{keys:[Vn("p","0"),Vn("p","1"),Vn("p","2"),Vn("p","3"),Vn("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(sa){cb.resultsGrid&&cb.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+sa}],issueIds:cb.resultsGrid.getSelectedIssues().map(function(Ja){return Ja.issueId})}])}},
{keys:["o","ENTER",ZFa("ENTER")],displayAs:"o / Enter",description:"Open the current issue",onPress:function(sa){var Ja=c.document.activeElement;if(1===sa&&"A"===Ja.tagName)if(Ja.href)sa=cb.paths.getBaseUrl(),fi(Ja.href,sa)?cb.bLocation.url(Ja.href.slice(sa.length)):cb.domSafe.openInNewTab(Ja.href);else{var Qa;null==(Qa=cb.resultsGrid)||WUc(Qa)}else if(2===sa){var fb;null==(fb=cb.resultsGrid)||WUc(fb,{openInNewTab:!0})}else{var Za;null==(Za=cb.resultsGrid)||WUc(Za)}}}]};U(q9,GE);
q9.prototype.ngOnInit=function(){var a=this;sfd(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(bf(this.destroyed$)).subscribe(function(){sfd(a)})};
var tfd=function(a){var b=["priority","type","title","assignee","status"];a.activeSession.isInternalSession()&&b.push("minSlo");b.push("issueId","modifiedTime");return b.map(Mk)};
q9.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Yh(d,c)||(d&&qa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var sfd=function(a){return ufd(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(vfd(a,a.searchResults.issues),wfd(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})},vfd=function(a,b){var c;null==(c=a.issueSubscriptions)||c.unsubscribe();a.issueSubscriptions=new E.Subscription;b=k(b);for(c=b.next();!c.done;c=b.next())a.issueSubscriptions.add(a.issueFridge.watch(c.value.id).pipe(De(Ei),bf(a.destroyed$)).subscribe(function(d){var e;
return ne(function(g){if(1==g.nextAddress)return a.searchResults?g.yield((0,E.firstValueFrom)(a.componentFridge.watch(d.snapshot[0].componentId,{trustUncertainMemory:!0})),3):g.jumpTo(2);if(2!=g.nextAddress){e=g.yieldResult;if(!e)return g.return();RLc(a.searchResults,[{issue:d,component:e}]);a.searchResults=a.searchResults.clone()}a.cdr.detectChanges();se(g)})}))},xfd=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},yfd=function(a){var b,
c;return null!=(c=null==(b=a.window.document.activeElement)?void 0:b.classList.contains("search-box"))?c:!1},ufd=function(a){var b=cm();xfd(a)&&yfd(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},wfd=function(a,b,c){var d=cm();xfd(a)||zfd(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},Afd=function(a,b){var c=a.activeSession.getMaxAccurateSearchResults();b.numResults>c&&!b.isPreSort&&(b=so("Number of search results exceeds "+
c+" ; some matching issues may be omitted.",ro("BR"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "),c={},c=ro("A",(c.href="http://go/buganizer-faq#q-why-do-i-need-to-restrict-my-search-to-less-than-1000-results",c),"go/buganizer-faq"),c=so(ro("BR"),"See ",c," for more details."),b=a.activeSession.isInternalSession()?so(b,c):b,Gfc(a.butterBar,b))};f=q9.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Mk(a);if(d){var e=new Pk(d,"ASC"===b?"ASCENDING":"DESCENDING");ra(this.sortPreferences,function(g){return Yh(g.fieldId,e.fieldId)});!c||rfd.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)};
f.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"===a.fieldId.type?String(a.fieldId.customFieldId):bi(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};Yh(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.saveSortColumns=function(a){m1(this.urlPreferences,{sortColumns:a,page:1})};
f.initColumns=function(a,b){var c=this;b=void 0===b?Bfd:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(ad(b),ad(pab(d)));c.cdr.detectChanges()})};f.saveColumns=function(a){this.displayColumns=a.map(function(b){return Mk(b.name)});m1(this.urlPreferences,{displayColumns:this.displayColumns})};
f.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?go(this.domSafe,a):this.bLocation.url(a))};f.goToPage=function(a){this.bLocation.search("p",a)};var Ts=function(a,b,c){void 0!==b&&a.goToPage(b+c)};f=q9.prototype;f.refreshResults=function(){dX(this.issuePagination);return sfd(this)};
f.hasResults=function(){return this.searchResults&&0<this.searchResults.issues.length};
f.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=k(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var g=void 0;null==(g=this.searchResults)||SLc(g,e,d)}this.cdr.detectChanges();mG(this.butterBar,"Saving changes...",0);return $H(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(m){for(var r=k(a[0].issueIds),v=r.next();!v.done;v=r.next()){v=v.value;var y=void 0,
A=void 0;null==(y=c.searchResults)||SLc(y,v,void 0,null!=(A=m)?A:null)}mG(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(m){for(var r=k(a[0].issueIds),v=r.next();!v.done;v=r.next()){v=v.value;var y=void 0;null==(y=c.searchResults)||SLc(y,v)}c.errorHandler.errorHandler(null,m)}).finally(function(){c.cdr.detectChanges()})}e=CAa(a).map(function(m){return m.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};mG(this.butterBar,
"Saving changes...",0);return 1===a.length&&1===a[0].actions.length&&"parentId"===a[0].actions[0].fieldName?this.batchIssueRelationshipsService.bulkEdit(a[0]).then(function(m){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var r=k(c.searchResults.issues.entries()),v=r.next();!v.done;v=r.next()){var y=k(v.value);v=y.next().value;y=y.next().value;m.finishedIssues[y.issueId]&&(v=c.searchResults.issues[v],d3a(v,m.finishedIssues[y.issueId],null),c.loadHotlists(v),Object.assign(c.customFieldMap,
v.customFieldMap))}}y=a[0];r=m.notFinishedIssueIds;v=String(y.actions[0].value);y=y.actions[0].actionType;if("ADD"!==y&&"REMOVE"!==y)throw Error("xe");r.length?(m="Failed to update issue(s) "+r.join(", ")+".",c.butterBar.showWarning(m),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+r.length)):mG(c.butterBar,("ADD"===y?"Added child issue(s) to parent ["+v+"]":"Removed child issue(s) from parent ["+v+"]")+" on "+String(Object.keys(m.finishedIssues).length)+" issues.");c.cdr.detectChanges()}).catch(function(m){c.errorHandler.errorHandler(null,
m)}):this.issueApi.issueBulkEdit(h,b).then(function(m){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var r=k(c.searchResults.issues.entries()),v=r.next();!v.done;v=r.next()){var y=k(v.value);v=y.next().value;y=y.next().value;m.affectedIssues[y.issueId]&&(y=m.affectedIssues[y.issueId],v=c.searchResults.issues[v],d3a(v,y,m.componentMap[na(y.snapshot).componentId]),c.loadHotlists(v),Object.assign(c.customFieldMap,v.customFieldMap))}}m.errors&&m.errors.length?(r="Failed to update issue(s) "+
(pqa(m.errors,"issueId").join(", ")+"."),c.butterBar.showWarning(r),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+m.errors.length)):(m=zlc(c.statusMessages,h,c.customFieldMap))?mG(c.butterBar,m):mG(c.butterBar,"Saved "+DAa(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(m){c.errorHandler.errorHandler(null,m)})};
f.loadHotlists=function(a){var b=this;a=k(a?[a]:this.searchResults?this.searchResults.issues:[]);for(var c=a.next();!c.done;c=a.next()){c=c.value;if(!c.hotlistId)return;c=k(c.hotlistId);for(var d=c.next();!d.done;d=c.next())d=d.value,this.hotlistMap[d]||this.hotlistApi.get(d).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e)})}this.cdr.detectChanges()};f.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
f.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");mG(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);mG(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)};
f.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;mG(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)};f.exportCsv=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"exportCsv");Snc(this.domSafe,this.getCsvUrl())};
var Cfd=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(bf(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;m1(a.urlPreferences,{page:1});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){Mh(c)})},zfd=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{aMc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},lGb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
wh.Object.defineProperties(q9.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Yh(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",Kza(this.issueColumnsInternal.map(function(b){return b.toString()}),a.map(function(b){return b.toString()}))),this.issueColumnsInternal=a,a=this.issueColumns.slice(this.metaColumns.length),this.saveColumns(a))}}});var Bfd=[Q0,R0,S0];
q9.\u0275fac=function(a){return new (a||q9)(C(PH),C(SH),C(Window),C(cH),C(nG),C(WE),C(BH),C(sH),C(bt),C(lG),C(TH),C(KX),C(cX),C(qJ),C(l1),C(n1),C(dH),C(WF),C(oG),C(wJ),C(LK),C(sG),C(FH),C(YH),C(z2),C(PF))};q9.\u0275dir=Qc({type:q9,features:[lf]});var hGb=function(){return{q:"status:open"}},r9=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb,cb,sa,Ja,Qa,fb){q9.call(this,a,b,c,d,g,h,m,r,e,v,y,A,G,N,Q,Z,Y,ea,Sa,ja,va,Qb,cb,sa,Qa,fb);this.hotkeys=za;this.pageTitle=Pa;this.routePerformance=Wa;this.element=Gb;this.currentTracker=Ja;this.ANALYTICS_CATEGORY=io.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=Yoc};U(r9,q9);r9.\u0275dir=q9.\u0275dir;f=r9.prototype;
f.ngOnInit=function(){var a=this;q9.prototype.ngOnInit.call(this);this.subscriptions.add(HM(this.hotkeys,{title:"Issue List",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}))};
f.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="",LX(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,m1(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);LX(this.appSearchState,
this.query);b=mNc(this.appSearchState);if(0<b)return uhc(this.bLocation,this.paths.viewHotlist(b)),m1(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=nNc(this.appSearchState);if(0<b)return uhc(this.bLocation,this.paths.viewSavedSearch(b)),m1(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,E.concat)((0,E.timer)(0).pipe(Via()),tab("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){jXc(a.routePerformance,"issue-list-w-results")};requestAnimationFrame(c);setTimeout(c)}));return this.doSearch().finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
f.doSearch=function(){var a=this,b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:tfd(this)}),c=b.searchPreferences.then(function(g){g=Zh(g);g.query=a.computeQuery(g);g.returnUrl=a.bLocation.url();g.trackerIds=a.appSearchState.currentTrackerScope;return XLc(a.issuePagination,g)}),d;(null==(d=this.query)?0:d.includes("teamid:"))&&this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByTeam");var e;(null==(e=this.query)?0:e.includes("componentid:"))&&
this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByComponent");c.then(function(g){Afd(a,g)}).catch(function(g){"number"===typeof g?m1(a.urlPreferences,{page:g}):a.errorHandler.errorHandler(null,g)});b=b.displayColumns;this.initColumns(b);return $n({searchResultsPage:c,displayColumns:b}).then(function(g){var h=g.searchResultsPage;a.searchResults=a.processSearchResults(h);a.page=h.params.page;a.sortPreferences=h.params.sortColumns||[];a.cdr.detectChanges();a.loadHotlists();g=g.displayColumns.join("|");
h=a.sortPreferences.join("|");a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"issueSearch",g+" ("+h+")")})};f.processSearchResults=function(a){return a};f.computeQuery=function(){return this.query};f.saveColumns=function(a){this.displayColumns=a.map(function(b){return Mk(b.name)});jlc(this.userPreferencesManager,qab(a)).pipe(bf(this.destroyed$)).subscribe()};
f.setPageTitle=function(){this.appSearchState.currentQuery===kNc(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===lNc(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
f.saveSortColumns=function(a){var b=this;this.isLoading=!0;a=a.map(function(c){return{column:c.fieldId,order:c.direction}});this.userPreferencesManager.saveSortColumns(a).pipe(bf(this.destroyed$)).subscribe(function(){m1(b.urlPreferences,{page:1,sortColumns:null});b.refreshResults().finally(function(){b.isLoading=!1;b.cdr.detectChanges();lGb()})})};f.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
r9.\u0275fac=function(a){return new (a||r9)(C(PH),C(SH),C(FE),C(cH),C(bt),C(nG),C(WE),C(BH),C(sH),C(lG),C(TH),C(KX),C(cX),C(qJ),C(l1),C(n1),C(dH),C(WF),C(wJ),C(LK),C(GM),C(bW),C(oG),C(D2),C(sG),C(Bd),C(FH),C(YH),C(eL),C(z2),C(PF))};
r9.\u0275cmp=Mc({type:r9,selectors:[["list-issues-page"]],features:[Pf([PH]),lf],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading layout-centered-column gap","tabindex","-1",3,"bFocus",4,"ngIf"],["class",
"bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[4,"ngIf","ngIfElse"],["noQuery",""],["routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["noTracker",""],["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","init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(H(0,"h2",0),R(1,"Issue search results"),I(),H(2,"div",1)(3,"b-grid-controls",2),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",
function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),I(),H(4,"div",3)(5,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return Cfd(b,c.option)}),I()()(),H(6,"div",5),P(7,eGb,4,1,"div",6),P(8,kGb,9,8,"div",7),P(9,mGb,2,6,"div",8),I());a&2&&(B(3),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),B(2),F("searchResults",b.searchResults),B(1),pf("aria-busy",b.isLoading),B(1),F("ngIf",b.isLoading),B(1),
F("ngIf",!b.isLoading&&!b.hasResults()),B(1),F("ngIf",!b.isLoading&&b.hasResults()))},dependencies:[V0,P1,O0,Ow,wM,JU,YG,Uw],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});var s9=function(){};s9.\u0275fac=function(a){return new (a||s9)};s9.\u0275mod=Oc({type:s9});s9.\u0275inj=xc({imports:[i1,Q1,N1,gX,cG,eO,KU,bH]});var t9=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb,cb,sa,Ja,Qa,fb,Za){r9.call(this,a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb,sa,Ja,Qa,fb,Za);this.issueLru=cb;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=Array.from(this.issueLru.viewed.keys());this.initialLoad=!0};U(t9,r9);t9.\u0275dir=r9.\u0275dir;
t9.prototype.ngOnInit=function(){r9.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};t9.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;return 0===this.recentIds.length?(this.isLoading=!1,Promise.resolve()):this.doSearch().finally(function(){a.isLoading=!1;a.initialLoad=!1;a.cdr.detectChanges()})};
t9.prototype.computeQuery=function(a){a=a.resultsPerPage;var b=this.recentIds,c=b.length;c>a&&(b=b.slice(c-a));return b.map(function(d){return"id:"+d}).join("|")};t9.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=qGb(this.recentIds,a.issues));return a};
t9.\u0275fac=function(a){return new (a||t9)(C(PH),C(SH),C(FE),C(cH),C(bt),C(nG),C(WE),C(BH),C(sH),C(lG),C(TH),C(KX),C(cX),C(qJ),C(l1),C(n1),C(dH),C(WF),C(wJ),C(LK),C(GM),C(bW),C(oG),C(D2),C(sG),C(Bd),C(VV),C(FH),C(YH),C(eL),C(z2),C(PF))};
t9.\u0275cmp=Mc({type:t9,selectors:[["list-issues-recent"]],features:[Pf([PH]),lf],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],
["id","no-results",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(H(0,"h2",0),R(1,"Recent Issues"),I(),H(2,"div",1)(3,"b-grid-controls",2),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()}),I(),H(4,"div",3)(5,"b-pagination",4),M("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return Cfd(b,d.option)}),I()()(),H(6,"div",5),P(7,nGb,3,0,"div",6),P(8,oGb,2,0,"div",7),P(9,pGb,2,5,"div",8),I());if(a&2){var c;B(3);F("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);B(2);F("searchResults",
b.searchResults);B(1);pf("aria-busy",b.isLoading);B(1);F("ngIf",b.isLoading);B(1);F("ngIf",!b.isLoading&&!b.hasResults());B(1);F("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[wM,V0,P1,O0,Ow],encapsulation:2});var u9=function(a,b,c,d,e,g){this.cdr=a;this.pageTitle=b;this.paths=c;this.sloApi=d;this.errorHandler=e;this.activeSession=g;this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=this.paths.createSlo();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};u9.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),Dfd(this))};
var Dfd=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)})};u9.\u0275fac=function(a){return new (a||u9)(C(PH,2),C(bW),C(dH),C(sT),C(oG),C(bt))};
u9.\u0275cmp=Mc({type:u9,selectors:[["list-slos-page"]],features:[Pf([PH])],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&&(H(0,"div",0)(1,"a",1),R(2," Create SLO "),I()(),H(3,"div",2),P(4,rGb,5,0,"div",3),P(5,sGb,1,1,"b-spinner",4),P(6,vGb,3,2,"ng-container",5),P(7,zGb,6,5,"ng-container",5),I());a&2&&(B(1),F("href",b.createSloPath,Sd),B(3),F("ngIf",b.sloEnabled),B(1),F("ngIf",b.isLoading),B(1),F("ngIf",!b.isLoading),B(1),F("ngIf",!b.isLoading))},dependencies:[Ow,
bB,rA,u2,wM],encapsulation:2});var Efd=function(a){this.internalArray_=l(a)};U(Efd,q);f=Efd.prototype;f.getAuthor=function(){return W(this,vi,1)};f.setAuthor=function(a){lj(this,vi,1,a)};f.getTimestamp=function(){return W(this,Rh,2)};f.setTimestamp=function(a){return lj(this,Rh,2,a)};f.hasTimestamp=function(){return Pj(this,Rh,2)};f.getAdd=function(){return W(this,gk,3)};f.getRemove=function(){return W(this,gk,4)};f.getAddMask=function(){return W(this,oD,5)};f.getRemoveMask=function(){return W(this,oD,6)};f.toObject=function(){return Ffd(this)};
var Ffd=function(a){if(null!=a)return t(a),{author:ED(a.getAuthor()),timestamp:mu(a.getTimestamp()),add:zE(a.getAdd()),remove:zE(a.getRemove()),addMask:pD(a.getAddMask()),removeMask:pD(a.getRemoveMask())}};var v9=function(a){this.internalArray_=l(a,0,v9.messageId)};U(v9,q);v9.prototype.getUpdatesList=function(){return oj(this,Efd,1)};v9.repeatedFields_=[1];v9.prototype.toObject=function(){if(null!=this){t(this);var a={updatesList:Ub(this.getUpdatesList(),Ffd)}}else a=void 0;return a};v9.messageId="b.ComponentHistory";var w9=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};w9.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:v9}).then(ata))};w9.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
w9.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};w9.\u0275fac=function(a){return new (a||w9)(u(mH),u(xD))};w9.\u0275prov=wc({token:w9,factory:w9.\u0275fac,providedIn:"root"});var x9=function(){};x9.prototype.ngOnInit=function(){};x9.\u0275fac=function(a){return new (a||x9)};
x9.\u0275cmp=Mc({type:x9,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&&(P(0,AGb,4,1,"ng-container",0),P(1,BGb,4,1,"ng-container",0));a&2&&(F("ngIf",b.teamPath),B(1),F("ngIf",b.componentPath))},dependencies:[Ow,aZ,V1],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var y9=function(a,b,c,d){GE.call(this);var e=this;this.documentationLinks=a;this.recommendationsService=b;this.cachedUserAccess=c;this.confirmationDialogService=d;this.helpLink="http://goto.google.com/buganizer-ml";this.draftSettings$=new E.BehaviorSubject(void 0);this.hasUnsavedChanges=this.draftSettings$.pipe(D(function(g){return!!g&&!Yh(e.savedSettings,g)}),Ne());this.isSaving=new pw;this.isAdmin=!1};U(y9,GE);y9.\u0275dir=GE.\u0275dir;
y9.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.recommendationsService.executor.get({url:"action/components/"+this.componentId+"/recommendationSettings",responseConstructor:TM}).pipe(D(uGa)).subscribe(function(c){a.savedSettings=c;a.setDraft(a.savedSettings)}));var b=hm("COMPONENT",this.componentId);aG(this.cachedUserAccess,"admin",b).then(function(c){a.isAdmin=c})};
var CGb=function(a){var b,c;return ne(function(d){if(1==d.nextAddress)return b={},d.yield(lJ(a.confirmationDialogService,{title:"Opt into data collection?",content:so(GTb("By opting in, Buganizer will collect data in this component to improve ML features.\n\nIt can take a few months for ML features to show up due to data processing time. "),ro("A",(b.href=a.helpLink,b.target="_blank",b),"Learn more")),confirmButtonText:"Opt in",cancelButtonText:"Cancel"}),2);c=d.yieldResult;if(!c)return d.return();
a.setDraft({optedOutFromDataCollection:!1});return d.yield(a.save(),0)})},EGb=function(a){var b,c;return ne(function(d){if(1==d.nextAddress)return b={},d.yield(lJ(a.confirmationDialogService,{title:"Opt out from data collection?",content:so(GTb("ML features will not be available once you opt out.\n\nIf you later decide to opt back in, it can take a few months for ML features to be available again. "),ro("A",(b.href=a.helpLink,b.target="_blank",b),"Learn more")),confirmButtonText:"Opt out",cancelButtonText:"Cancel",
isDestructive:!0}),2);c=d.yieldResult;if(!c)return d.return();a.setDraft({optedOutFromDataCollection:!0,duplicateAssistanceEnabled:!1});return d.yield(a.save(),0)})};
y9.prototype.save=function(){var a=this;return ne(function(b){if(1==b.nextAddress){if(Yh(a.savedSettings,a.draftSettings))return b.return();a.isSaving.emit(!0);return b.yield((0,E.firstValueFrom)(Jqc(a.recommendationsService,a.draftSettings)).finally(function(){a.isSaving.emit(!1)}),2)}a.savedSettings=b.yieldResult;a.setDraft(a.savedSettings);se(b)})};y9.prototype.revert=function(){this.setDraft(this.savedSettings)};
var GGb=function(a){if(!a.isAdmin)return"Only component admins can change this setting.";var b;return(null==(b=a.savedSettings)?0:b.optedOutFromDataCollection)?"Opt into data collection to enable ML features":""};y9.prototype.setDraft=function(a){a||this.draftSettings$.next(void 0);this.draftSettings$.next(Object.assign({},this.draftSettings,a))};
wh.Object.defineProperties(y9.prototype,{draftSettings:{configurable:!0,enumerable:!0,get:function(){return this.draftSettings$.value}},isSaving$:{configurable:!0,enumerable:!0,get:function(){return this.isSaving}}});y9.\u0275fac=function(a){return new (a||y9)(C(jJ),C(WM),C($F),C(kJ))};
y9.\u0275cmp=Mc({type:y9,selectors:[["recommendation-settings"]],inputs:{componentId:"componentId"},outputs:{hasUnsavedChanges:"hasUnsavedChanges",isSaving:"isSaving"},features:[lf],decls:1,vars:1,consts:[["class","flex-kids-y gap-s",4,"ngIf"],[1,"flex-kids-y","gap-s"],[4,"ngIf","ngIfElse"],["optedIn",""],["name","duplicate-assistance",1,"duplicate-assistance",3,"disabled","checked","matTooltip","change"],["id","ml-features-subtitle",1,"muted"],[1,"link-button","keep-focus-ring",3,"disabled","click"],
[3,"matTooltip"],["target","_blank","aria-describedby","ml-features-subtitle",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&P(0,HGb,9,7,"div",0);a&2&&F("ngIf",null==b.savedSettings?null:b.savedSettings.showSettings)},dependencies:[Ow,ET,tC,Uw],styles:["h4[_ngcontent-%COMP%]{margin:0}\n/*# sourceMappingURL=recommendation_settings.css.map */"]});var z9=function(){};z9.\u0275fac=function(a){return new (a||z9)};z9.\u0275mod=Oc({type:z9});z9.\u0275inj=xc({imports:[cG,kU,uD]});var MGb=function(a){this.internalArray_=l(a)};U(MGb,q);MGb.prototype.toObject=function(){return Gfd(this)};var Gfd=function(a){if(null!=a)return t(a),{groupEmail:n(X(a,1)),approximateSize:n(p(a,2)),sizeCategory:n(p(a,3)),permissionCategory:n(p(a,5))}};var A9=function(a){this.internalArray_=l(a,0,A9.messageId)};U(A9,q);A9.repeatedFields_=[1];A9.prototype.toObject=function(){if(null!=this){t(this);var a={groupMetadataList:Ub(oj(this,MGb,1),Gfd)}}else a=void 0;return a};A9.messageId="b.BatchGroupMetadataResult";var B9=function(a,b){var c=this;this.groupMetadataResources=a;this.bulkGetter=b.adapt(function(d){return c.groupMetadataResources.bulkGet(d).then(function(e){var g=IGb(e);return lNb(d,function(h){return g[h]||null})})})};B9.prototype.get=function(a){return this.bulkGetter.get(a).then(function(b){return null!==b?b:{groupEmail:a,approximateSize:0,sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"}})};B9.\u0275fac=function(a){return new (a||B9)(u(C9),u(XF))};
B9.\u0275prov=wc({token:B9,factory:B9.\u0275fac,providedIn:"root"});var C9=function(a){this.executor=a};C9.prototype.bulkGet=function(a){a=[].concat(ad(new Set(a)));a=gm(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:A9}).then(NGb)};C9.\u0275fac=function(a){return new (a||C9)(u(xD))};C9.\u0275prov=wc({token:C9,factory:C9.\u0275fac,providedIn:"root"});var OGb=[{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 D9=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 kq(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(g){e.hasUnsavedAccessLimitChanges()&&
"INTERNAL"===e.component.accessLimit.accessLevel?e.confirmationDialogService.open({title:"Component Visibility Changed",content:kp("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(){g(!0)},onDismiss:function(){g(!1)}}):g(!0)})};this.performDeletedAccountsCheck=function(){return new Promise(function(g){e.componentReaders.includes("GROUP:nobody@google.com")?
e.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:kp('"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(){g(!0)},onDismiss:function(){g(!1)}}):g(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(g){YGb(e.activeSession.getUserEmail(),e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Component Administrators Changed",content:kp("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(){g(!0)},onDismiss:function(){g(!1)}}):g(!0)})};this.performRestrictedPlusGroupRemovalCheck=function(){return new Promise(function(g){XGb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:kp("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(){g(!0)},onDismiss:function(){g(!1)}}):
g(!0)})};this.retrieveGroupMetadata=function(g){g=Vo(g);return void 0!==g.group&&g.group.emailAddress?e.groupMetadata.get(g.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var g=Dl([].concat(ad(gi(e.componentAccessPolicyUnderEdit.admins,e.componentFlattenedAccessPolicy.admins)),ad(gi(e.issueDefaultAccessPolicyUnderEdit.admins,e.issueDefaultFlattenedAccessPolicy.admins)),ad(gi(e.issueDefaultAccessPolicyUnderEdit.editors,
e.issueDefaultFlattenedAccessPolicy.editors)),ad(gi(e.issueDefaultAccessPolicyUnderEdit.appenders,e.issueDefaultFlattenedAccessPolicy.appenders)),ad(gi(e.issueDefaultAccessPolicyUnderEdit.readers,e.issueDefaultFlattenedAccessPolicy.readers)),ad(gi(e.issueDefaultAccessPolicyUnderEdit.restrictedReaders,e.issueDefaultFlattenedAccessPolicy.restrictedReaders)),ad(gi(e.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,e.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(g.map(function(h){return e.retrieveGroupMetadata(h)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return e.enableRostersChecks?e.evaluateNewGroups().then(function(g){var h=SGb(g);g=WGb(g);if(0===h.size&&0===g.size)return Promise.resolve(!0);var m=TGb(h.size,g.size);h=UGb(h);g=VGb(g);var r=so(h,h===Us?Us:ro("BR"),g);h={};r=so(r,ro("P",{},so("Please review the ",ro("A",(h.href=Xkc(e.documentationLinks)+"#fully-public-component",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(v){e.confirmationDialogService.open({title:m,content:r,onConfirm:function(){v(!0)},onDismiss:function(){v(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(g){if(e.isPublic()&&RGb(e.issueDefaultAccessPolicyUnderEdit,e.issueDefaultFlattenedAccessPolicy)){var h={};h=so(ro("P",{},"You are about to give a broad category of users permissions on a public component."),ro("P",{},so("Please review the ",
ro("A",(h.href=Xkc(e.documentationLinks)+"#recommended-access-settings",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(){g(!0)},onDismiss:function(){g(!1)},confirmButtonText:"Add Group Alias"})}else g(!0)})};this.performChangedImplicitAccessCheck=function(){e.implicitAccess={getValue:function(){return e.componentAccessPolicyUnderEdit?
"ALLOW"===e.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return e.componentFlattenedAccessPolicy?"ALLOW"===e.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(m){e.componentAccessPolicyUnderEdit&&(e.componentAccessPolicyUnderEdit=Object.assign({},e.componentAccessPolicyUnderEdit,{implicitAccess:m?"ALLOW":"DENY"}))}};var g={},h=ro("A",(g.href=ho(e.documentationLinks)+"#expanded-access",g),"Learn more.");return new Promise(function(m){e.implicitAccess.getValue()===
e.implicitAccess.getSavedValue()?m(!0):e.implicitAccess.getValue()?e.confirmationDialogService.open({title:"Turn on expanded access for component "+e.component.componentId+"?",content:so("When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",h),onConfirm:function(){m(!0)},onDismiss:function(){m(!1)}}):e.confirmationDialogService.open({title:"Turn off expanded access for component "+e.component.componentId+"?",content:so("Some users may lose the ability to edit or comment on issues in this component. ",
h),onConfirm:function(){m(!0)},onDismiss:function(){m(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var g=[].concat(ad(PGb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)),ad(PGb(e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit))),h=new Set;g=k(g);for(var m=g.next();!m.done;m=g.next()){m=k(m.value.addedPrincipals);for(var r=m.next();!r.done;r=m.next())r=Vo(r.value),(uqa(r)?Yua(r.user.emailAddress):void 0!==r.group&&Yua(r.group.emailAddress))&&
h.add(r)}return[].concat(ad(h))};this.performAutomationUserAccessCheck=function(){if(!e.enableComponentAutomationCheck)return Promise.resolve(!0);var g=e.getAddedAutomationInPolicyChange();return new Promise(function(h){if(g.length){var m={};m=ro("A",(m.href=Wkc(e.documentationLinks),m)," automation account documentation");e.confirmationDialogService.open({title:"Adding automation accounts",content:so(kp("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"),
ro("wbr"),m,kp("."),ro.apply(Lg,["OL",{}].concat(ad(g.map(function(r){if(uqa(r)){var v;return ro("LI",{},kp(null!=(v=r.user.emailAddress)?v:""))}if(void 0!==r.group){var y;return ro("LI",{},kp(null!=(y=r.group.emailAddress)?y:""))}throw Error("Ze`"+JSON.stringify(r));})))),ro("BR",{}),kp("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(g){var h,m,r;return ne(function(v){switch(v.nextAddress){case 1:h=
k(g),m=h.next();case 2:if(m.done){v.jumpTo(4);break}r=m.value;return v.yield(r(),5);case 5:if(!v.yieldResult)return v.return(!1);m=h.next();v.jumpTo(2);break;case 4:return v.return(!0)}})};this.enableRostersChecks=EE(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=EE(this.activeSession,"enableComponentAutomationCheck")},Hfd=function(a,b){var c=b.component,d=b.originalComponent,e=b.componentReaders,g=b.componentAccessPolicyUnderEdit,h=b.componentFlattenedAccessPolicy,
m=b.issueDefaultAccessPolicyUnderEdit,r=b.issueDefaultFlattenedAccessPolicy,v,y;return ne(function(A){if(1==A.nextAddress)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=g,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=m,a.issueDefaultFlattenedAccessPolicy=r,v=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],A.yield(a.runValidation(v),2);y=A.yieldResult;return A.return(y)})};D9.\u0275fac=function(a){return new (a||D9)(u(bt),u(kJ),u(jJ),u(B9))};D9.\u0275prov=wc({token:D9,factory:D9.\u0275fac});var E9=function(a){GE.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};U(E9,GE);E9.\u0275dir=GE.\u0275dir;
E9.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(ad(this.componentReaders))),d=new Set([].concat(ad(a.admins),ad(a.inheritedAdmins)));a=new Set([].concat(ad(d),ad(a.appenders)));var e=new Set([].concat(ad(b.admins))),g=new Set([].concat(ad(e),ad(b.editors))),h=new Set([].concat(ad(g),ad(b.appenders))),m=new Set([].concat(ad(b.restrictedPlusReaders))),r=new Set([].concat(ad(m),ad(b.restrictedReaders)));b=new Set([].concat(ad(r),ad(h),
ad(b.readers)));this.templates=[{permission:"Admin Components",principals:[].concat(ad(d)).map(Vs)},{permission:"Create Issues",principals:[].concat(ad(a)).map(Vs)},{permission:"Admin Issues",principals:[].concat(ad(e)).map(Vs)},{permission:"Edit Issues",principals:[].concat(ad(g)).map(Vs)},{permission:"Comment on Issues",principals:[].concat(ad(h)).map(Vs)},{permission:"View Issues",principals:[].concat(ad(b)).map(Vs)},{permission:"View Components",principals:[].concat(ad(c)).map(Vs)},{permission:"View Restricted",
principals:[].concat(ad(r)).map(Vs)},{permission:"View Restricted+",principals:[].concat(ad(m)).map(Vs)}];Ifd(this,this.templates)};
var Ifd=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=k(c.value.principals);for(var d=c.next(),e={};!d.done;e={$jscomp$loop$prop$principal$m705646119$1:e.$jscomp$loop$prop$principal$m705646119$1},d=c.next())e.$jscomp$loop$prop$principal$m705646119$1=d.value,"ALIAS"===e.$jscomp$loop$prop$principal$m705646119$1.principalType?e.$jscomp$loop$prop$principal$m705646119$1.detailedUserType="NO_DETAILED_TYPE":DJ(a.principalTypes,e.$jscomp$loop$prop$principal$m705646119$1.value,!0).then(function(g){return function(h){g.$jscomp$loop$prop$principal$m705646119$1.detailedUserType=
h.detailedUserType}}(e))}};E9.\u0275fac=function(a){return new (a||E9)(C(CJ))};
E9.\u0275cmp=Mc({type:E9,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[lf,ed],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&&(H(0,"table")(1,"tr",0)(2,"th",1),R(3,"Permission"),I(),H(4,"th",1),R(5,"Users With Permission"),I()(),P(6,$Gb,6,2,"ng-container",2),I());a&2&&(B(6),F("ngForOf",b.templates))},dependencies:[Nw,f1],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 Jfd=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"}),F9={},Kfd=(F9.issueAdmin=new Set(["issueEditor"]),F9.issueEditor=new Set(["issueAppender"]),F9.issueAppender=new Set(["issueReader"]),F9.issueRestrictedReader=
new Set(["issueReader"]),F9.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),F9.issueReader=new Set(["componentReader"]),F9.componentAdmin=new Set(["componentAppender"]),F9.componentAppender=new Set(["componentReader"]),F9.componentReader=new Set,F9),jHb=Hn(Jfd,function(a){return Kfd[a]}),Ws=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"}),G9={},Lfd=(G9.componentAdmin=new Set(["componentAdmin","issueAdmin"]),G9.issueAdmin=new Set(["issueAdmin","componentAppender"]),G9.issueEditor=new Set(["issueEditor","componentAppender"]),G9.issueContributor=new Set(["issueAppender","componentAppender"]),G9.componentAdminOnly=new Set(["componentAdmin"]),
G9.issueCreator=new Set(["componentAppender"]),G9.issueAdminOnly=new Set(["issueAdmin"]),G9.issueEditorExisting=new Set(["issueEditor"]),G9.issueCommenter=new Set(["issueAppender"]),G9.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),G9.restrictedViewer=new Set(["issueRestrictedReader"]),G9.issueViewer=new Set(["issueReader"]),G9),hHb=Hn(Ws,function(a){return Lfd[a]}),Mfd=kHb(),gHb=Hn(Ws,function(a){a=[].concat(ad(hHb.get(a))).flatMap(function(b){return[].concat(ad(Mfd.get(b)))});return new Set(a)}),
iHb=Hn(Ws,function(a){return new Set(Ws.filter(function(b){return b!==a&&dqa(gHb.get(b),gHb.get(a))}))});var nHb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},Nfd={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var H9=function(a,b,c,d,e,g,h){var m=this;this.accessPolicyApi=a;this.errorHandler=b;this.butterBar=c;this.userAccess=d;this.componentActions=e;this.componentValidator=g;this.analytics=h;this.isAdmin=!1;this.rolesMap=nHb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return m.componentAccessPolicyUnderEdit?"ALLOW"===m.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return m.componentFlattenedAccessPolicy?
"ALLOW"===m.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(r){m.componentAccessPolicyUnderEdit&&(m.componentAccessPolicyUnderEdit=Object.assign({},m.componentAccessPolicyUnderEdit,{implicitAccess:r?"ALLOW":"DENY"}))},isUpdated:function(){var r;return m.componentAccessPolicyUnderEdit.implicitAccess!==(null==(r=m.componentFlattenedAccessPolicy)?void 0:r.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=this.componentFlattenedAccessPolicy=Nfd;this.componentAccessPolicyUnderEdit=
Yo();this.issueDefaultAccessPolicyUnderEdit=Yo();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(r){a:{var v=m.issueDefaultFlattenedAccessPolicy;if(r&&v){v=v.restrictedPlusReaders;r=k(r);for(var y=r.next();!y.done;y=r.next())if(y=y.value,0===y.indexOf("GROUP:")&&-1===v.indexOf(y)){v=!1;break a}}v=!0}return v}}};H9.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var Ofd=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;mG(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";em(b)&&(c+=fm(b));a.butterBar.showWarning(c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};H9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Zh(a);this.originalComponent=Zh(a)};
H9.prototype.loadComponent=function(){var a=this;return this.componentActions.getUncached(this.componentId,!0).then(function(b){a.updateComponentAndOriginalComponent(b);0<b.parentComponentId&&a.loadParentComponent(b.parentComponentId)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};H9.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)})};
H9.prototype.initialize=function(a){var b=this;a=void 0===a?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=Zo(c);b.componentAccessPolicyUnderEdit=Zh(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
Zo(c);b.issueDefaultAccessPolicyUnderEdit=Zh(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var Pfd=function(a){a.rolesMap=oHb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},Qfd=function(a,b){var c=a.issueDefaultFlattenedAccessPolicy;return c&&qHb(c,a.issueDefaultAccessPolicyUnderEdit)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},Rfd=function(a){var b=pHb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy),c=a.issueDefaultFlattenedAccessPolicy;a=!(!c||!qHb(c,a.issueDefaultAccessPolicyUnderEdit));
return b||a},Sfd=function(a,b){return pHb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=Zo(c);if(pHb(d,a.componentAccessPolicyUnderEdit)){if(pHb(d,a.componentFlattenedAccessPolicy))return Promise.reject({data:{message:"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)};H9.prototype.loadUserAccess=function(a){var b=this;return aG(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):aG(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
H9.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=$o(this.componentAccessPolicyUnderEdit);var c=$o(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),this.butterBar.showWarning(c),Promise.resolve()}if(Rfd(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,mG(this.butterBar,"Saving access settings...",0),Qfd(this,c).then(function(d){d&&(b.readers=[].concat(ad(d.admins||[]),ad(d.editors||[]),ad(d.appenders||
[]),ad(d.readers||[]),ad(d.restrictedPlusReaders||[]),ad(d.restrictedReaders||[])));return Sfd(a,b).catch(function(e){var g;return ne(function(h){if(1==h.nextAddress)return g=$o(a.issueDefaultFlattenedAccessPolicy),h.yield(Qfd(a,g),2);throw e;})})}).then(function(){return Ofd(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;Pfd(a);var e=a.rolesMap,g={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=rHb({componentAdmin:d.componentAdmin,issueAdmin:d.issueAdmin,editor:d.editor,contributor:d.contributor},
{componentAdmin:e.componentAdmin,issueAdmin:e.issueAdmin,editor:e.editor,contributor:e.contributor});g=rHb(g,h);switch(d&&g?2:d?0:g?1:3){case 0:a.analytics.trackEvent(io.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:a.analytics.trackEvent(io.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:a.analytics.trackEvent(io.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:a.analytics.trackEvent(io.ROLE_BASED_PERMISSIONS,"update","roles:neither")}mG(a.butterBar,"Access settings saved",
0)}).catch(function(d){a.butterBar.showWarning(fm(d),0)}).finally(function(){return ne(function(d){if(1==d.nextAddress)return d.yield(a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;se(d)})});Pfd(this);return Ofd(this)};
var Tfd=function(a,b){b=lHb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},CHb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(Tfd(a,b),Hfd(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();mG(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
wh.Object.defineProperties(H9.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Yh(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=mHb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Yh(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=mHb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});H9.\u0275fac=function(a){return new (a||H9)(u(DG),u(oG),u(lG),u($F),u(MU),u(D9),u(TH))};H9.\u0275prov=wc({token:H9,factory:H9.\u0275fac});var I9=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=nac};I9.prototype.getRecentIssuesLink=function(){return nm(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};I9.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!X9a(this.rolesEditor.parentComponent))};
I9.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!kq(this.rolesEditor.parentComponent))};I9.\u0275fac=function(a){return new (a||I9)(C(bt),C(jJ),C(H9))};
I9.\u0275cmp=Mc({type:I9,selectors:[["access-limit-settings"]],decls:6,vars:2,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"],[1,"access-level-warning"],["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["type","radio","id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange"],["type","radio","id","access-level-public","name","accessLevelPublic",
"value","EXTERNAL_PUBLIC",3,"disabled","ngModel","ngModelChange"]],template:function(a,b){a&1&&(P(0,vHb,20,7,"div",0),H(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. "),H(4,"a",2),R(5,"Learn more"),I()()());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=jq(b.rolesEditor.parentComponent)||
jq(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}F("ngIf",a);B(4);If("href","",ho(b.documentationLinks),"#recommended-role-based-permissions-configurations",Sd)}},dependencies:[Ow,xg,xx,ox,ux],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 J9=function(a,b){this.documentationLinks=a;this.rolesEditor=b};J9.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};J9.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};J9.\u0275fac=function(a){return new (a||J9)(C(jJ),C(H9))};
J9.\u0275cmp=Mc({type:J9,selectors:[["expanded-access-settings"]],decls:10,vars:5,consts:[[1,"expanded-access-settings"],[1,"permission-toggle-checkbox"],["ariaLabelledby","expanded-access-help permission-toggle-help",3,"checked","disabled","change"],[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&&(H(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),M("change",function(c){return b.setImplicitAccess(c.checked)}),I()(),H(3,"div",3)(4,"strong",4),R(5,"Expanded access"),I(),H(6,"div",5),R(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),H(8,"a",6),R(9,"Learn more"),I()()()());a&2&&(yf("bv2-edit-resource-readonly",b.isAccessEditDisabled()),B(2),F("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),B(6),If("href","",ho(b.documentationLinks),"#expanded-access",Sd))},dependencies:[BO],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%]   .permission-toggle-text[_ngcontent-%COMP%]{margin-left:1em}/*# sourceMappingURL=expanded_access_settings.css.map */"]});var wHb=function(){return{}},yHb=function(a,b){return{displayText:a,values:b}},xHb=function(a){return[a]},zHb=function(){return[]},K9=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new pw;this.formIsValid=new pw;this.aclFormValidity=new Map};K9.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};K9.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};K9.\u0275fac=function(a){return new (a||K9)};
K9.\u0275cmp=Mc({type:K9,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,"idForInputBox","users","ariaLabel","accessLevel","customValidators",
"includeAliases","includeViewAliases","containerChips","usersChange","isValid"],["size","large",3,"name"]],template:function(a,b){a&1&&(H(0,"table")(1,"thead")(2,"tr")(3,"th",0),R(4,"Role Assignments"),I(),H(5,"th",0)(6,"h6"),R(7,"Admin Components"),I()(),H(8,"th",0)(9,"h6"),R(10,"Create Issues"),I()(),H(11,"th",0)(12,"h6"),R(13,"Admin Issues"),I()(),H(14,"th",0)(15,"h6"),R(16,"Edit Issues"),I()(),H(17,"th",0)(18,"h6"),R(19,"Comment on Issues"),I()(),H(20,"th",0)(21,"h6"),R(22,"View Issues"),I()(),
H(23,"th",0)(24,"h6"),R(25,"View Restricted"),I()(),H(26,"th",0)(27,"h6"),R(28,"View Restricted+"),I()()()(),H(29,"tbody"),P(30,AHb,26,29,"ng-container",1),I()());a&2&&(B(30),F("ngForOf",b.rolesTableData))},dependencies:[Nw,bB,a0,GN,qA,tC],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-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 L9=function(){this.rolesMap=nHb;this.isSaving=!1;this.saveRolesMap=new pw;this.rolesUnderEdit=nHb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},Ufd=function(a){var b=a.rolesUnderEdit,c;var d=[{ariaLabel:"Component Admin role",label:"Component Admins",users:null==b?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:null==b?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:null==b?void 0:b.editor,roleType:"editor",grantedPermissions:{componentAdmin:!1,
createIssues:!0,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(c=a.component.accessLimit)?void 0:c.accessLevel),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:null==b?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,g;d=[{ariaLabel:"Component Admin Only role",label:"Component Admins Only",users:null==b?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:null!=(g=b.inheritedComponentAdmin)?g:[]}},{ariaLabel:"Issue Creators Only role",label:"Issue Creators Only",users:null==b?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:null==b?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:null==b?void 0:b.editExistingIssuesOnly,roleType:"editExistingIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(e=a.component.accessLimit)?void 0:e.accessLevel),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:null==b?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:null==b?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:null==
b?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:null==b?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},Vfd=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},Wfd=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};f=L9.prototype;f.ngOnInit=function(){Wfd(this);Ufd(this)};
f.ngOnChanges=function(a){a.rolesMap&&Wfd(this);Ufd(this)};f.updateRolesMap=function(a){var b={};this.rolesUnderEdit=Object.assign({},this.rolesUnderEdit,(b[a.role]=a.assignees,b))};f.getComponentAccessLevel=function(){if(this.component.accessLimit)return this.component.accessLimit.accessLevel};f.hasUnsavedAccessLimitChanges=function(){return this.rolesEditor.hasUnsavedAccessLimitChanges()};f.canEdit=function(){return!this.isSaving&&this.rolesEditor.isAdmin};
f.canSave=function(){return this.canEdit()&&(!Yh(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};L9.\u0275fac=function(a){return new (a||L9)};
L9.\u0275cmp=Mc({type:L9,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[ed],decls:12,vars:11,consts:[[3,"rolesTableData","displayedTableColumns","canEdit","accessLevel","rolesMapUpdated","formIsValid"],["togglePosition","before",1,"mat-elevation-z0",3,"expanded"],["mat-raised-button","","aria-label","Update","color","primary",3,"disabled","click"],["mat-raised-button","","aria-label",
"Revert Changes",3,"disabled","click"]],template:function(a,b){a&1&&(J(0,"access-limit-settings"),H(1,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),I(),H(2,"mat-expansion-panel",1)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),R(5," Advanced Roles "),I()(),H(6,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),I()(),J(7,"expanded-access-settings"),
H(8,"button",2),M("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),R(9,"Update"),I(),H(10,"button",3),M("click",function(){Wfd(b);Ufd(b)}),R(11," Revert Changes\n"),I());a&2&&(B(1),F("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),B(1),F("expanded",Vfd(b)),B(4),F("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",
b.getComponentAccessLevel()),B(2),F("disabled",!b.canSave()),B(2),F("disabled",!!Yh(b.rolesMap,b.rolesUnderEdit)))},dependencies:[G7,H7,I7,qA,K9,I9,J9],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 M9=function(a,b){GE.call(this);this.rolesEditor=a;this.route=b};U(M9,GE);M9.\u0275dir=GE.\u0275dir;M9.prototype.ngOnInit=function(){var a=this;this.route.paramMap.pipe(D(function(b){return b.get("componentId")}),De(Ei),af(function(b){return a.rolesEditor.initialize(Number(b))}),bf(this.destroyed$)).subscribe(function(){Pfd(a.rolesEditor)})};M9.prototype.isSaving=function(){return this.rolesEditor.isSaving};M9.\u0275fac=function(a){return new (a||M9)(C(H9),C(Cm))};
M9.\u0275cmp=Mc({type:M9,selectors:[["role-based-permissions"]],features:[Pf([H9,D9]),lf],decls:2,vars:2,consts:[["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[1,"bv2-view-loading"],[1,"padded"],["label","Edit Roles"],[3,"rolesMap","isSaving","component","rolesEditor","saveRolesMap"],["label","View Permissions"],[3,"componentReaders","componentAccessPolicy","issueAccessPolicy","accessLevel"]],template:function(a,b){a&1&&(P(0,BHb,2,0,"div",0),P(1,DHb,7,8,"div",1));a&2&&(F("ngIf",!(null==b.rolesEditor.component?
0:b.rolesEditor.component.componentId)),B(1),F("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[Ow,tN,sN,wM,E9,L9],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var Xfd=new Zc("GMAT_LEGACY_CHECKBOX_OPTION");var Yfd=new Map([["primary","mat-primary"],["accent","mat-accent"],["warn","mat-warn"]]),N9=function(a,b){this.elementRef=a;this.gmatCheckboxOption=b;this.color="primary";this.hasGmatAttribute=a.nativeElement.hasAttribute("gmat-checkbox")};N9.prototype.ngOnInit=function(){this.isEnabled()&&(this.elementRef.nativeElement.classList.remove.apply(this.elementRef.nativeElement.classList,ad(Yfd.values())),this.elementRef.nativeElement.classList.add(Yfd.get(this.color)))};
N9.prototype.isEnabled=function(){return this.gmatCheckboxOption?this.hasGmatAttribute||this.gmatCheckboxOption.enabled:this.hasGmatAttribute};N9.\u0275fac=function(a){return new (a||N9)(C(Bd),C(Xfd,8))};N9.\u0275dir=Qc({type:N9,selectors:[["mat-checkbox","gmat-checkbox",""],["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&yf("gmat-checkbox",b.isEnabled())},inputs:{color:"color"}});var Zfd=["archiveDialog"],$fd=["archiveButton"],agd=["metadataForm"],bgd={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},O9=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb){GE.call(this);var Gb=this;this.route=a;this.cdr=b;this.routeParams=c;this.bLocation=d;this.templatesApi=e;this.paths=g;this.appHistory=h;this.butterBar=m;this.pageTitle=r;this.activeSession=v;this.documentationLinks=y;this.matDialogService=A;this.analytics=
G;this.checkBeforeExit=N;this.userAccess=Q;this.componentActions=Z;this.errorHandler=Y;this.componentUpdates=ea;this.componentUpdatesApi=ja;this.confirmationDialogService=va;this.appEvents=za;this.teamsService=Pa;this.sloApi=Sa;this.sloService=Wa;this.currentTracker=Qb;this.componentId$=new E.ReplaySubject(1);this.Tab=bgd;this.componentListRoute=Jwa;this.showSloInheritancePath=!1;this.component$=new E.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(D(function(cb){return null==
cb?void 0:cb.trackerId}));this.showTrackerRedirect$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.componentTrackerId$]).pipe(D(function(cb){var sa=k(cb);cb=sa.next().value;sa=sa.next().value;return Gb.shouldShowTrackerRedirect(cb,Di("")(sa))}));this.parentComponent$=new E.BehaviorSubject(null);this.componentTeam$=new E.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(af(function(cb){return(cb=null==cb?void 0:cb.id)&&"0"!==cb?wI(Gb.teamsService,cb):(0,E.of)(null)}));this.parentComponentTeam$=
this.parentComponent$.pipe(af(function(cb){var sa;return(cb=null==cb?void 0:null==(sa=cb.team)?void 0:sa.id)&&"0"!==cb?wI(Gb.teamsService,cb):(0,E.of)(null)}));this.inheritedSloMetadata$=(0,E.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(D(function(cb){var sa=k(cb);cb=sa.next().value;var Ja=sa.next().value;sa=sa.next().value;if((null==cb?0:cb.team)&&!cb.team.inherit&&"0"!==cb.team.id){var Qa,fb=null!=(Qa=null==sa?void 0:sa.slo)?Qa:null;if(fb)return{containerType:"TEAM",content:fb}}else if(Qa=
null!=(fb=null==Ja?void 0:Ja.slo)?fb:null)return{containerType:"COMPONENT",content:Qa};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Ne(),af(function(cb){var sa="0";cb&&("TEAM"===cb.containerType?sa=cb.content.sloId:"COMPONENT"===cb.containerType&&(sa=cb.content.id));return"0"===sa?(0,E.of)({id:"0"}):Gb.sloService.get(sa).then(function(Ja){return{id:sa,slo:Ja}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Ne(),af(function(cb){if(!cb)return(0,E.of)({name:"None",type:"none"});
cb=VIb(cb);var sa=cb.sourceTeamId,Ja=cb.sourceComponentId;return sa&&"0"!==sa?Gb.teamsService.getTeam(sa).pipe(D(function(Qa){var fb;return{name:null!=(fb=null==Qa?void 0:Qa.name)?fb:sa,type:"team",link:{path:"/teams/"+sa+"/edit",fragment:"slo"}}})):Ja?Gb.componentActions.get(Number(Ja)).then(function(Qa){var fb;return{name:null!=(fb=Qa.name)?fb:Ja,type:"component",link:{path:"/components/"+Ja+"/edit"}}}):(0,E.of)(null)}));this.policySourcePath$=(0,E.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,
this.inheritedSloMetadata$]).pipe(D(function(cb){var sa=k(cb);cb=sa.next().value;var Ja=sa.next().value,Qa=sa.next().value;sa=sa.next().value;if(!cb||!cb.componentPathInfo||!sa)return null;var fb=VIb(sa);sa=fb.sourceComponentId;Ja=XIb(Ja,fb.sourceTeamId,cb.team,Qa);return null===sa?{componentPath:null,teamPath:Ja}:{componentPath:WIb(cb,sa),teamPath:Ja}}));this.enableSloLockingCheck=EE(this.activeSession,"enableSloLockingCheck");this.enableRecommendationSettingsPage=EE(this.activeSession,"enableRecommendationSettingsPage");
this.component=null;this.effectiveCustomFields=[];this.parentComponent=null;this.descendants=[];this.savingRecommendationSettings=this.hasUnsavedRecommendationSettings=this.isLoading=this.hasInitialized=!1;this.selectedTabIndex=0;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=EE(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=EE(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(De(Boolean),af(function(cb){return Gb.sloApi.executor.get({url:"action/components/"+cb+"/slo_edit_policy",responseConstructor:tGc}).pipe(D(Hra))}));this.getSloManagementLink=Kwa};
U(O9,GE);O9.\u0275dir=GE.\u0275dir;O9.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};O9.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.bLocation.hash(e,!0)};
O9.prototype.ngOnInit=function(){var a=this;this.componentId=di(this.routeParams.componentId);this.componentId$.next(String(this.componentId));this.sessionIsExternal=this.activeSession.isExternalSession();this.sessionIsInternal=this.activeSession.isInternalSession();this.selectedTabIndex=0;this.subscriptions.add($P(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&cgd(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
dgd(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=egd(b)}));this.hasInitialized=!0;this.route.fragment.pipe(bf(this.destroyed$)).subscribe(function(b){"basic"===b?a.selectedTabIndex=0:"customFields"===b?a.selectedTabIndex=1:"fieldOrdering"===b?a.selectedTabIndex=2:"templates"===b?a.selectedTabIndex=3:"access"===b&&(a.selectedTabIndex=4)})};
var dgd=function(a){a=[fgd(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};O9.prototype.isAdmin=function(){return this.isAdminInternal};var Ys=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};f=O9.prototype;f.isSaving=function(){return this.isUpdating||this.isArchiving||this.savingRecommendationSettings};f.isArchived=function(){return this.component?this.component.archived:!1};f.isPublic=function(){return kq(this.component)};
f.isExternal=function(){return jq(this.component)};f.isParentPublic=function(){return!(!this.parentComponent||!kq(this.parentComponent))};f.isParentPartner=function(){return!(!this.parentComponent||!X9a(this.parentComponent))};var nIb=function(a){if(!a.component||!a.component.slo)return!1;var b=!!a.component.team&&"0"!==a.component.team.id;return 0===a.component.parentComponentId?b:!a.component.slo.inherit};
O9.prototype.hasUnsavedMetadataChanges=function(){return!(Yh(this.component,this.originalComponent)&&Yh(this.parentComponent,this.originalParentComponent)&&!this.hasUnsavedRecommendationSettings)};O9.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var ggd=function(a){var b=cm();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:kp("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},hgd=function(a){var b=cm();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:so(kp('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.'),ro("BR",{}),ro("BR",{}),kp('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.'),
ro("BR",{}),ro("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};O9.prototype.saveMetadata=function(){var a=this;return igd(this)?hgd(this).then(function(b){return b?ggd(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return dgd(a)})}):Promise.resolve()};
O9.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;mG(this.butterBar,"Saving changes ...",0);return jgd(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return kgd(a)}).then(function(){return lgd(a)}).then(function(){var b;return null==(b=a.recommendationSettings)?void 0:b.save()}).then(function(){return mgd(a)}).then(function(){mG(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);a.isUpdating=!1})};
var jgd=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)},kgd=function(a){return a.component.slo&&!Yh(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){a.analytics.trackEvent(io.MANAGE_COMPONENT,
"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},lgd=function(a){return a.component.team&&!Yh(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){a.analytics.trackEvent(io.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},mgd=function(a){return ngd(a)?
a.componentActions.update(a.component).then(function(){a.analytics.trackEvent(io.MANAGE_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)},ngd=function(a){var b=Zh(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!Yh(a.originalComponent,b)},igd=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};O9.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var fgd=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
O9.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=Zh(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState;var a;null==(a=this.recommendationSettings)||a.revert()};
var GIb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=egd(b.componentPathInfo.allCustomField)})},egd=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
O9.prototype.loadComponent=function(a){var b=this;this.isLoading=!0;return this.componentActions.getUncached(a,!0).then(function(c){b.updateComponentAndOriginalComponent(c);b.currentName=c.name;0<c.parentComponentId&&b.loadParentComponent(c.parentComponentId);b.effectiveCustomFields=egd(c.componentPathInfo.allCustomField);b.pageTitle.setTitle("Component: "+c.name);b.archiveAction=c.archived?"Unarchive":"Archive";b.commentEditsEnabled="ENABLED"==c.commentEditState;0===b.component.parentComponentId&&
(b.isParentComponentRequired=!1)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.hasInitialized&&b.cdr.detectChanges()})};O9.prototype.loadUserAccess=function(a){var b=this,c=hm("COMPONENT",a);aG(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:aG(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var cgd=function(a){aG(a.userAccess,"writer",hm("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},PHb=function(a){var b,c=Ds(a.currentTracker,null==(b=a.parentComponent)?void 0:b.componentPathInfo);return a.currentTracker.inTracker&&(!c||!c.componentPathId||0===c.componentPathId.length)},Zs=function(a){return a.isSaving()||!a.isEditorInternal};f=O9.prototype;f.isAccessEditDisabled=function(){return this.isSaving()||!this.isAdmin()};
f.loadParentComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.parentComponent=c;b.parentComponent$.next(b.parentComponent);b.originalParentComponent=Zh(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.getRecentIssuesLink=function(){var a=this.isArchived();return nm(this.componentId,{includeArchived:a})};f.componentPermissions=function(a){return{path:"/components/"+a,fragment:"access"}};
f.createIssue=function(){this.trackClick("createIssue");var a={};this.bLocation.url(this.paths.createIssue((a.component=String(this.component.componentId),a)))};f.createChild=function(){this.bLocation.url(this.paths.createComponent({parentId:this.component.componentId}))};f.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var EHb=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,mG(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;yA(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(bf(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.")};
O9.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=null!=(c=a.retentionSettings.retentionPeriodDays)?c:0;return $ua(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:Fh(b,"unexpected value "+b+"!")}};
O9.prototype.archive=function(){var a=this;this.isArchiving=!0;mG(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);mG(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);a.analytics.trackEvent("component","archive");b.userHasEditAccess=a.component.userHasEditAccess;a.updateComponentAndOriginalComponent(b);a.archiveAction=
b.archived?"Unarchive":"Archive";a.isArchiving=!1}).catch(function(b){a.component.archived=!a.component.archived;mG(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(em(b)?fm(b):b));a.isArchiving=!1})};
O9.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 g={};g=b.paths.getBaseUrl()+"/"+b.paths.createIssue((g.component=a?String(a):void 0,g.template=d.templateId?String(d.templateId):void 0,g));return{name:e,description:d.description||"",url:g}})}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
O9.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var ogd=function(a,b){return a.componentHistoryUiEnabled?a.componentUpdatesApi.get(b).then(function(c){a.updateDiffs=c.updates.map(function(d){var e=a.componentUpdates,g=Z5a(d.addMask.paths),h=Z5a(d.removeMask.paths),m={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},r=d.add;d=d.remove;for(var v=k(new Set([].concat(ad(g),ad(h)))),y=v.next();!y.done;y=v.next()){var A=y.value;if(y=pOc.get(A))if("name"===A){var G=Yp(h,A,d.name);A=Yp(g,A,r.name);m.diffs.push(Zp(y,G,A))}else if("description"===
A)G=Yp(h,A,d.description),A=Yp(g,A,r.description),m.diffs.push(Zp(y,G,A));else if("parentComponentId"===A)G=Yp(h,A,String(d.parentComponentId)),A=Yp(g,A,String(r.parentComponentId)),m.diffs.push(Zp(y,G,A));else if("isArchived"===A)G=Yp(h,A,String(d.archived)),A=Yp(g,A,String(r.archived)),m.diffs.push(Zp(y,G,A));else if("commentEditState"===A){var N=qOc.get(d.commentEditState);G=qOc.get(r.commentEditState);N&&G&&(N=Yp(h,A,N),A=Yp(g,A,G),m.diffs.push(Zp(y,N,A)))}else"defaultTemplateId"===A?(G=Yp(h,
A,String(d.defaultTemplateId)),A=Yp(g,A,String(r.defaultTemplateId)),m.diffs.push(Zp(y,G,A))):"slo"===A?e.sessionIsInternal&&(G=Yp(h,A,e6a(d.slo)),A=Yp(g,A,e6a(r.slo)),m.diffs.push(Zp(y,G,A))):"team"===A?e.sessionIsInternal&&(G=Yp(h,A,f6a(d.team)),A=Yp(g,A,f6a(r.team)),m.diffs.push(Zp(y,G,A))):"retentionSettings"===A?(G=Yp(h,A,c6a(d.retentionSettings)),A=Yp(g,A,c6a(r.retentionSettings)),m.diffs.push(Zp(y,G,A))):e.$log.error("Unsupported diff field "+A)}return m}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject()};O9.prototype.showUpdateHistoryModal=function(){var a=this;ogd(this,this.componentId).then(function(){a.matDialogService.open(D6,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent(io.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(io.MANAGE_COMPONENT,"viewHistory")})};O9.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&pgd(this)};
var jIb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return Ys(a)&&(c||b)},pIb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return Ys(a)&&(!a.component.slo.inherit||c&&b)},THb=function(a){var b,c,d,e;ne(function(g){b=0===a.component.parentComponentId;c="0"!==a.component.team.id;return(0===a.component.parentComponentId?"0"!==a.component.team.id:!a.component.team.inherit&&"0"!==a.component.team.id)||b&&c?g.yield((0,E.firstValueFrom)(a.team$.pipe(D(function(h){a.component.slo.id=
h.slo.sloId;pgd(a)}))),0):(d=qgd(a),e=d.id,a.component.slo.id=e,pgd(a),g.jumpTo(0))})},oIb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},qgd=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}},AIb=function(a,b){mG(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(io.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var g;mG(a.butterBar,(null==(g=a.component.effortSpec)?void 0:g.name)+" saved")}else mG(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
O9.prototype.updateComponentAndOriginalComponent=function(a){this.component=Zh(a);this.component$.next(this.component);this.originalComponent=Zh(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);pgd(this)};O9.prototype.back=function(){B2(this.appHistory)};var pgd=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
O9.\u0275fac=function(a){return new (a||O9)(C(Cm),C(PH,2),C(JJ),C(cH),C(nfc),C(dH),C(A2),C(lG),C(bW),C(bt),C(jJ),C(DA),C(TH),C(ZP),C($F),C(MU),C(oG),C(MY),C(w9),C(kJ),C(sG),C(vI),C(rT),C(sT),C(eL))};
O9.\u0275cmp=Mc({type:O9,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(cg(Zfd,5),cg($fd,5),cg(y9,5),cg(agd,5),cg(sN,5,Bd));if(a&2){var c;bg(c=eg())&&(b.confirmArchiveDialog=c.first);bg(c=eg())&&(b.archiveButton=c.first);bg(c=eg())&&(b.recommendationSettings=c.first);bg(c=eg())&&(b.metadataForm=c.first);bg(c=eg())&&(b.tabs=c)}},features:[Pf([PH]),lf],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["showTrackerRedirect",""],[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"],["archiveDialog",""],["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,"disabled","onAction"],["archiveButton",""],["format","flat",3,"tooltip","disabled","onAction"],
[1,"bv2-view-loading"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[1,"keep-focus-ring","margin-s-right",3,"routerLinkObj","click"],[3,"accessLevel"],[3,"trackerId"],[1,"component-hierarchy-container"],["componentPathsLinkTo","settings",3,"componentPathInfo","isArchived","label"],[1,"float-clear"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndex","selectedIndexChange"],["label","Basic Information",3,"id"],[4,"ngTemplateOutlet"],[3,"id","label"],["label","Field Ordering",3,"id"],
["label","Templates",3,"id"],["label","Access Control",3,"id"],["basic",""],["customFields",""],["fieldOrdering",""],["templatesList",""],["access",""],[1,"resource-archived"],[1,"edit-resource-panel"],["name","metadataForm"],["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,"ngModel","disabled","ngModelChange"],["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,"ngModel","disabled","ngModelChange"],["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,"checked","disabled","change"],["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"],[3,"componentId","hasUnsavedChanges","isSaving",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,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["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,"issueRetentionDisabled","isExternal","initialModel","modelChange","validChange"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field"],["for","team-picker"],["id","team-picker",4,"ngIf"],["id","team-picker"],
[3,"isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget","model","modelChange"],["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"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-policy-source-link"],["class","keep-focus-ring slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["noPolicySource",""],["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"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"slo-override",3,"checked","disabled","change"],["class","edit-field component-slo-justification-text",4,"ngIf"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[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,"bv2Disabled","boundId","bv2Placeholder","onSloSelect"],["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,"ngModel","disabled","ngModelChange"],["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"],[3,"componentId","hasUnsavedChanges","isSaving"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"],["format","hairline","title","View history for 'Basic Information'",3,"onAction"],[3,"children","onVisit"],["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,"effortSpec","parentEffortSpec","disabled","updateComponent"],["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,"fields","componentId","fieldOrdering",
"isAdmin","onReload"],["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"],["mat-dialog-title",""],[1,"b-archive-component-list"],[4,"ngFor","ngForOf"],["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"],[3,"b-archive-warning-indef",4,"ngIf"],[1,"bv2-limited-issue-view"],[3,"component"]],template:function(a,b){a&1&&(P(0,TIb,12,3,"ng-container",0),S(1,"async"),
P(2,UIb,2,1,"ng-template",null,1,hg));if(a&2){var c=Lf(3);F("ngIf",!T(1,2,b.showTrackerRedirect$))("ngIfElse",c)}},dependencies:[XP,Nw,Ow,Tw,bB,nP,aZ,RY,b6,rbd,k6,I_,b1,o6,vx,xg,ox,px,Fx,ux,sx,N9,yN,GN,qA,rA,BO,EA,FA,GA,HA,sz,ET,tN,sN,tC,y9,h2,M9,ZN,x9,f2,wM,SU,hL,s8,Uw,Ww],styles:[".mat-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}  .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 tJb=function(a){return[a]},uJb=function(){return[]},DJb=function(a){return{value:a}},rgd={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},P9=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N){GE.call(this);var Q=this;this.activeSession=a;this.accessPolicyApi=b;this.appHistory=c;this.butterBar=d;this.checkBeforeExit=e;this.componentActions=g;this.errorHandler=h;this.location=m;this.pageTitle=r;this.routeParams=v;this.teamsService=y;this.userAccess=A;this.sloApi=G;this.sloService=N;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new E.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new E.ReplaySubject(1);this.teamSlo$=this.team$.pipe(D(function(Y){return Y.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new E.BehaviorSubject("");this.sloLead$=new E.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(Y){if(Y){Y=k(Y);
for(var ea=Y.next();!ea.done;ea=Y.next())if(0!==ea.value.indexOf("USER:"))return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(Y){if(Y){Y=k(Y);for(var ea=Y.next();!ea.done;ea=Y.next())if(0!==ea.value.indexOf("UNRESTRICTED_GOOGLER:"))return!1}return!0}};this.teamAdmins$=(0,E.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(D(function(Y){return Y.admins.filter(uqa).map(To)}));this.teamLeads$=this.team$.pipe(D(function(Y){return Y.members.filter(function(ea){return ea.isLead}).map(function(ea){var ja,
va;return"USER:"+(null!=(va=null==(ja=ea.user)?void 0:ja.emailAddress)?va:"")})}));this.adminsAndLeads$=(0,E.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(D(function(Y){var ea=k(Y);Y=ea.next().value;ea=ea.next().value;var ja=new Set(Y);ea=ea.filter(function(va){return!ja.has(va)});return[].concat(ad(Y),ad(ea))}));this.associatedComponents$=(0,E.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(D(function(Y){var ea=Y.pathNames;return Y.pathIds.map(function(ja,
va){return{id:ja,name:ea[va]}})}));this.isRootTeam$=this.teamPath$.pipe(D(function(Y){return 1>=Y.length?!0:!1}));this.parentTeam$=(0,E.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(af(function(Y){var ea=k(Y);Y=ea.next().value;ea=ea.next().value;return Y?(0,E.of)(null):Q.teamsService.getTeam(ea[ea.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(af(function(Y){var ea,ja=null==Y?void 0:null==(ea=Y.slo)?void 0:ea.sloId;return ja&&"0"!==ja?Q.sloService.get(ja).then(function(va){return{id:ja,
link:Kwa(ja),slo:va}}):(0,E.of)({id:"0"})}));this.sloPolicySource$=(0,E.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(D(function(Y){var ea=k(Y);Y=ea.next().value;ea=ea.next().value;var ja,va=null==Y?void 0:null==(ja=Y.slo)?void 0:ja.sourceTeamId;ja=ea.find(function(za){return za.id===va});return va&&ja?{name:ja.name,link:{path:"/teams/"+va+"/edit",fragment:"slo"}}:null}));this.Tab=rgd;this.enableSloLockingUi=EE(this.activeSession,"enableSloLockingUi");this.enableSloLead=EE(this.activeSession,
"enableSloLead");this.isSloInheritEnabled$=new E.BehaviorSubject(!0);this.sloId$=new E.BehaviorSubject("0");this.enableSloCheckedInternal=!1;this.sloLocked$=new E.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe(af(function(Y){return aG(Q.userAccess,"reader","slos/"+Y)}),$e(!1));this.sloPickerLink$=(0,E.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(D(function(Y){var ea=k(Y);Y=ea.next().value;ea=ea.next().value;return Y&&0<Number(Y)&&ea?Kwa(Y):null}));this.hasUnsavedChanges$=
(0,E.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(D(function(Y){var ea=k(Y),ja=ea.next().value;Y=ea.next().value;var va=ea.next().value,za=ea.next().value,Pa=ea.next().value;ea=ea.next().value;var Sa=ja.slo,Wa,Qb;ja=null!=(Qb=null==(Wa=ja.sloLead)?void 0:Wa.emailAddress)?Qb:"";return Sa.inherit!==va||Sa.sloId!==Y||za!==Q.originalSloLock||Sa.comment!==Pa||ja!==ea}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");
this.team$.pipe(bf(this.destroyed$)).subscribe(function(Y){Q.pageTitle.setTitle("Team: "+Y.name)});a=EE(this.activeSession,"enableSloLockingCheck")?"teams/"+this.teamId+"/slo":"teams/"+this.teamId;aG(this.userAccess,"writer",a).then(function(Y){Q.hasEditAccess=Y});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(D(function(Y){return Y.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:oT}).pipe(D(Gra));
var Z=zn(this.hasUnsavedChanges$.pipe(bf(this.destroyed$)),!1);this.subscriptions.add($P(this.checkBeforeExit,function(){return Z.getValue()},!1))};U(P9,GE);P9.\u0275dir=GE.\u0275dir;
P9.prototype.ngOnInit=function(){var a=this,b,c;return ne(function(d){switch(d.nextAddress){case 1:return b=a.location.hash(),"basic"===b?a.selectedTabIndex=0:"slo"===b?a.selectedTabIndex=1:"componentMapping"===b&&(a.selectedTabIndex=2),oe(d,2),d.yield((0,E.firstValueFrom)(a.teamsService.get(a.teamId)),4);case 4:c=d.yieldResult;ht(d,3);break;case 2:return re(d),a.butterBar.showWarning("Unable to fetch team ID '"+a.teamId+"'"),d.return();case 3:return a.team$.next(c),xJb(a),d.yield((0,E.firstValueFrom)(a.parentTeam$),
5);case 5:a.parentTeam=d.yieldResult||null,se(d)}})};P9.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};P9.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var wJb=function(a,b){var c,d,e,g,h,m;return ne(function(r){switch(r.nextAddress){case 1:if(!a.validate())return r.return();mG(a.butterBar,"Saving changes...",0);oe(r,2);if(!a.enableSloLead||(null==(c=b.sloLead)?void 0:c.emailAddress)===a.sloLeadEmail){r.jumpTo(4);break}return r.yield((0,E.firstValueFrom)(a.teamsService.updateTeam(Object.assign({},b,{sloLead:{emailAddress:a.sloLeadEmail}}))),5);case 5:d=r.yieldResult,a.team$.next(d);case 4:if(a.sloLocked===a.originalSloLock){r.jumpTo(6);break}var v=
r.yield,y=E.firstValueFrom;var A=a.sloApi;var G=a.teamId,N=a.sloLocked,Q=new kE;N=$i(Q,2,N?1:2).setTeamId(Number(G));A=A.executor.post({url:"action/teams/"+G+"/slo_edit_policy",responseConstructor:qT,body:N}).pipe(D(Gra));return v.call(r,y.call(E,A),7);case 7:e=r.yieldResult,a.originalSloLock=e;case 6:g=b.slo;if(g.inherit===a.isSloInheritEnabled&&g.sloId===a.sloId&&a.originalSloLock===a.sloLocked&&g.comment===a.sloJustification){r.jumpTo(8);break}v=r.yield;y=E.firstValueFrom;N={sloId:a.sloId,inherit:a.isSloInheritEnabled,
comment:a.isSloInheritEnabled?"":a.sloJustification$.getValue(),sourceTeamId:"0"};A=a.teamsService;G=a.teamId;N=Usa(N);Q=(new uI).setTeamId(G);N=lj(Q,Yj,2,N);A=A.executor.post({url:"/action/teams/"+G+"/update_slo",body:N,responseConstructor:yE}).pipe(D(Ssa));return v.call(r,y.call(E,A),9);case 9:h=r.yieldResult,a.team$.next(h);case 8:mG(a.butterBar,"Save complete.");ht(r,0);break;case 2:m=re(r),qG(a.errorHandler,m),se(r)}})};
P9.prototype.validate=function(){if(!this.isSloInheritEnabled&&""===this.sloJustification$.getValue())return this.error="Justification is required",!1;if(this.enableSloLead&&!this.isSloLeadValid)return this.error="Please provide a valid SLO lead",!1;this.error="";return!0};
var sgd=function(a){(0,E.firstValueFrom)(a.team$).then(function(b){var c;b=null==(c=b.sloLead)?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},tgd=function(a){(0,E.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},ugd=function(a){(0,E.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},xJb=function(a){a.error="";sgd(a);tgd(a);a.enableSloLockingUi&&ugd(a)};P9.prototype.back=function(){B2(this.appHistory)};
wh.Object.defineProperties(P9.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="0"!==a)},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()}}});P9.\u0275fac=function(a){return new (a||P9)(C(bt),C(DG),C(A2),C(lG),C(ZP),C(MU),C(oG),C(cH),C(bW),C(JJ),C(vI),C($F),C(rT),C(sT))};
P9.\u0275cmp=Mc({type:P9,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&cg(sN,5,Bd);if(a&2){var c;bg(c=eg())&&(b.tabs=c)}},features:[lf],decls:8,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","ngClass","large","matTooltip","Go back",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,"selectedIndex","selectedIndexChange"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[4,"ngIf","ngIfElse"],["emptyDescription",""],[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"],["noPolicySource",""],[1,"lock-state"],[3,"error"],["class","edit-field",4,"ngIf"],["class","edit-button-row",4,"ngIf"],["label","Component mapping",3,"id"],[1,"team-hierarchy-container"],[3,
"teamPath"],[3,"users"],["childTeamsLinks",""],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-inheritance-link",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],["class","edit-field less-margin",4,"ngIf"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"disabled","checked","change"],["class","edit-field slo-justification",4,"ngIf"],["name",
"slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"team-slo-id-select",3,"boundId","bv2Disabled","bv2Placeholder","onSloSelect"],["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,"ngModel","disabled","ngModelChange"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"gmat-button","small","slo-link",3,"routerLinkObj","target"],["gmat-checkbox","",1,"slo-lock",3,"checked","disabled","change"],["idForInputBox","team-slo-lead","ariaLabel","Team SLO lead email",3,"users","customValidators","detailedUserValidators","maxUserAllowed","usersChange","isValid"],[1,"edit-button-row"],[1,"edit-button-group"],["gmat-button","","mat-flat-button",
"","color","primary",3,"disabled","click"],["gmat-button","","mat-stroked-button","","color","primary",3,"disabled","click"],["associatedComponentLinks",""]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),M("click",function(){return b.back()}),J(4,"mat-icon",4),I()()()(),H(5,"div",5),P(6,EJb,86,39,"ng-container",6),S(7,"async"),I());a&2&&(B(6),F("ngIf",T(7,1,b.team$)))},dependencies:[Mw,Nw,Ow,bB,b1,xg,ox,Fx,ux,N9,yN,qA,rA,BO,tN,sN,tC,sz,ET,a0,YG,ZN,f2,V1,Uw],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 Q9=function(){this.selectedSignals$=(0,E.of)([]);this.selected=new pw;this.ALL_SIGNAL_TYPES=Ap();this.isOpen=!1};Q9.prototype.openMenu=function(){this.isOpen=!0};Q9.prototype.closeMenu=function(){this.isOpen=!1};Q9.prototype.emitSelection=function(){var a=this.checkboxes.filter(function(b){return b.checked}).map(function(b){return b.value});this.selected.emit(a);this.closeMenu()};Q9.\u0275fac=function(a){return new (a||Q9)};
Q9.\u0275cmp=Mc({type:Q9,selectors:[["select-signals-menu"]],viewQuery:function(a,b){a&1&&cg(BO,5);if(a&2){var c;bg(c=eg())&&(b.checkboxes=c)}},inputs:{selectedSignals$:"selectedSignals$"},outputs:{selected:"selected"},decls:4,vars:4,consts:[["mat-icon-button","","aria-label","Show menu to select signals","aria-haspopup","true","cdkOverlayOrigin","",1,"gmat-button","large",3,"click"],["trigger","cdkOverlayOrigin"],["svgIcon","filter"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","",
"cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop","cdkConnectedOverlayPanelClass","select-signals-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],["cdkTrapFocus","","cdkTrapFocusAutoCapture",""],[1,"margin-s-y","margin-x","heading-s"],["mat-button","",1,"gmat-button","small","float-right",3,"click"],["class","signal-types",4,"ngIf"],[1,"flex-kids-x","justify-flex-end","padded-s","gap-s"],["mat-stroked-button","",3,"click"],["mat-flat-button",
"","color","primary",3,"click"],[1,"signal-types"],[4,"ngFor","ngForOf"],["class","signal flex-kids-x padded-s padded-right",4,"ngIf"],[1,"signal","flex-kids-x","padded-s","padded-right"],[1,"margin-right","margin-s-left","margin-xs-top",3,"id","aria-labelledby","value","checked"],[1,"type-l","display-block",3,"id","for"],[3,"for"]],template:function(a,b){a&1&&(H(0,"button",0,1),M("click",function(){return b.openMenu()}),J(2,"mat-icon",2),I(),P(3,JJb,13,3,"ng-template",3),M("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}));if(a&2){var c=Lf(1);yf("menu-open",b.isOpen);B(3);F("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[Nw,Ow,bB,BO,qA,xM,Jz,Iz,Px,Uw],styles:[".select-signals-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);-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;max-width:18rem;max-height:calc(100vh - 100px);overflow-y:auto}.menu-open[_ngcontent-%COMP%]{background-color:#d2e3fc;background-color:var(--selected-bg)}.signal[_ngcontent-%COMP%]:hover{background-color:#e8f0fe;background-color:var(--primary-c50)}\n/*# sourceMappingURL=select_signals_menu.css.map */"]});var R9=function(a){this.dateFormatter=a;this.iconOnly=this.isSelected=this.generalDescriptionOnly=!1;this.count=-1;this.matTooltipShowDelay=0;this.removable=!1;this.onRemove=new pw};
R9.prototype.getSignalTypeTooltip=function(){var a=this;if(this.generalDescriptionOnly)return this.signal.signalType?(0,E.of)(BWa(this.signal)):(0,E.of)("");var b;return null!=(b=this.signal.timestamp)&&b.seconds?this.dateFormatter.formatUserCalendar(new Date(1E3*this.signal.timestamp.seconds)).pipe(D(function(c){return AWa(a.signal,c)})):(0,E.of)(AWa(this.signal))};R9.prototype.onClickRemove=function(){this.onRemove.emit(this.signal.signalType)};R9.\u0275fac=function(a){return new (a||R9)(C(UK))};
R9.\u0275cmp=Mc({type:R9,selectors:[["b-signal-chip"]],inputs:{signal:"signal",generalDescriptionOnly:"generalDescriptionOnly",isSelected:"isSelected",iconOnly:"iconOnly",count:"count",matTooltipShowDelay:"matTooltipShowDelay",removable:"removable"},outputs:{onRemove:"onRemove"},decls:1,vars:1,consts:[[3,"full-chip","selected","matTooltip","matTooltipShowDelay","class",4,"ngIf"],[3,"matTooltip","matTooltipShowDelay"],[3,"svgIcon"],[4,"ngIf"],["mat-icon-button","","class","gmat-button small remove-button",
"matTooltip","Remove filter","matTooltipPosition","above",3,"click",4,"ngIf"],["mat-icon-button","","matTooltip","Remove filter","matTooltipPosition","above",1,"gmat-button","small","remove-button",3,"click"],[1,"a11y-only"],["svgIcon","close"]],template:function(a,b){a&1&&P(0,NJb,5,14,"span",0);a&2&&(a=b.signal.signalType?LIc.has(b.signal.signalType)?LIc.get(b.signal.signalType):null:null,F("ngIf",a))},dependencies:[Ow,bB,qA,tC,Uw],styles:[".full-chip[_ngcontent-%COMP%]{padding:0 4px}.full-chip.needs-reporter-input[_ngcontent-%COMP%], .full-chip.newly-assigned[_ngcontent-%COMP%], .full-chip.newly-blocking[_ngcontent-%COMP%], .full-chip.replied-to-mention[_ngcontent-%COMP%]{padding-left:8px}.chippy.selected[_ngcontent-%COMP%]{font-weight:500}.chippy.selected[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:inherit}.chippy.selected.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.selected.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.selected.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.selected.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}.chippy.selected.newly-blocking[_ngcontent-%COMP%]{color:#d42521;color:var(--red-text);box-shadow:inset 0 0 0 1px #d42521;box-shadow:inset 0 0 0 1px var(--red-text);background-color:#fff2f1;background-color:var(--red-bg)}.chippy.selected.newly-assigned[_ngcontent-%COMP%]{color:#185abc;color:var(--blue-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--blue-text);background-color:#f2f6ff;background-color:var(--blue-bg)}.chippy.selected.replied-to-mention[_ngcontent-%COMP%]{color:#137333;color:var(--green-text);box-shadow:inset 0 0 0 1px #137333;box-shadow:inset 0 0 0 1px var(--green-text);background-color:#edfbf1;background-color:var(--green-bg)}\n/*# sourceMappingURL=signal_chip.css.map */"]});var PJb=function(a){return{signalType:a}},SJb=function(){return[]},S9=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q){GE.call(this);this.appSearchState=a;this.pageTitle=b;this.paths=c;this.userPreferencesManager=d;this.needsAttentionApi=e;this.cdr=g;this.analytics=h;this.bLocation=m;this.domSafe=r;this.issueFridge=v;this.errorHandler=y;this.snackbar=A;this.currentTracker=G;this.appEvents=N;this.issuePagination=Q;this.issues=[];this.columns=[Q0,R0,S0,new oq({name:"alerts",sortable:!1,draggable:!1,fullLabel:"Alerts",
label:"ALERTS"}),Object.assign({},pq("priority"),{draggable:!1}),Object.assign({},pq("title"),{draggable:!1}),Object.assign({},pq("assignee"),{draggable:!1}),Object.assign({},pq("status"),{draggable:!1}),Object.assign({},pq("issueId"),{draggable:!1}),new oq({name:"dismiss",sortable:!1,draggable:!1,isMetadata:!0})];this.starInProgress={};this.dismissInProgress={};this.dismissSelectedInProgress=!1;this.lastDismissedRowIssueIds=new Set;this.listViewPrefs$=this.userPreferencesManager.listViewPreferences$;
this.lastCheckedIndex=this.focusedRowIndex=null;this.isLoading=!1;this.ISSUE_STATUS_JS_ICON_NAME=wec;this.STATUS_JS_FULL_TEXT=Al;this.STATUS_JS_TERSE=pF;this.ALL_SIGNAL_TYPES=Ap();this.selectedSignals$=new E.BehaviorSubject([]);this.sortConfig={field:"priority",direction:"ASC"};this.HOTKEYS=JM;this.SPACE_EMPTY_STATE=Yoc};U(S9,GE);S9.\u0275dir=GE.\u0275dir;
S9.prototype.ngOnInit=function(){var a=this;this.pageTitle.setTitle("Needs attention");setTimeout(function(){a.appSearchState.clear()});this.userPreferencesManager.needsAttentionPreferences$.pipe(Oe()).subscribe(function(b){var c;a.selectedSignals$.next(null!=(c=b.selectedSignals)?c:[])});this.selectedSignals$.pipe(bf(this.destroyed$)).subscribe(function(){a.fetchIssues()});this.destroyed$.pipe(Oe()).subscribe(function(){var b;null==(b=a.snackBarRefForUndo)||b.dismiss()})};
var RJb=function(a,b){a.selectedSignals$.next(b);a.userPreferencesManager.save({needsAttentionPreferences:{selectedSignals:b}}).pipe(Oe()).subscribe()};S9.prototype.hasResults=function(){return 0<this.issues.length-this.lastDismissedRowIssueIds.size};S9.prototype.issueDescription=function(a){return"Needs attention Issue ID "+a.id+" titled: "+a.title};
S9.prototype.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(gKb(this,a),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?go(this.domSafe,a):this.bLocation.url(a))};
var gKb=function(a,b){var c,d=null==(c=a.issues.find(function(e){return e.issueId===b}))?void 0:c.signals.map(function(e){return e.signalType}).sort().join(",");a.analytics.trackEvent(io.NEEDS_ATTENTION,"viewIssue",d)},aKb=function(a){return 0===a.issues.length?!1:a.issues.every(function(b){return b.selected})};f=S9.prototype;f.someIssuesSelected=function(){return this.issues.some(function(a){return a.selected})};
f.getHeaderCheckboxState=function(){if(0===this.issues.length)return"unchecked";for(var a=!0,b=!1,c=k(this.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};f.toggleAllIssueSelection=function(){if(0!==this.issues.length){for(var a=!this.someIssuesSelected(),b=k(this.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges()}};
f.onCheckboxClicked=function(a,b,c){if(a.shiftKey&&(a=c.selected,null!==this.lastCheckedIndex&&0<this.issues.length)){if(b<this.lastCheckedIndex){var d=b+1;var e=this.lastCheckedIndex+1}else d=this.lastCheckedIndex,e=b;d=this.issues.slice(d,e);d=k(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a}c.selected=!c.selected;this.lastCheckedIndex=b};
f.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,Hic(this.issueFridge,String(a.issueId),a.starred).pipe(Oe(),bf(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()}))};
var UJb=function(a){a.dismissSelectedInProgress=!0;for(var b=[],c=k(a.issues),d=c.next();!d.done;d=c.next())d=d.value,d.selected&&(b.push(d.issueId),a.dismissInProgress[d.issueId]=!0);qV(a.needsAttentionApi,b,!0).then(function(){return void vgd(a,b)},function(e){return void a.errorHandler.errorHandler(null,e)}).finally(function(){a.dismissSelectedInProgress=!1;for(var e=k(b),g=e.next();!g.done;g=e.next())a.dismissInProgress[g.value]=!1})};
S9.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a.issueId]||(this.dismissInProgress[a.issueId]=!0,qV(this.needsAttentionApi,[a.issueId],!0).then(function(){return void vgd(b,[a.issueId])},function(c){return void b.errorHandler.errorHandler(null,c)}).finally(function(){b.dismissInProgress[a.issueId]=!1}))};
var vgd=function(a,b){a.analytics.trackEvent(io.NEEDS_ATTENTION,"dismissIssue","numberOfIssues",b.length);for(var c=k(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.add(d.value);c=k(a.issues);for(d=c.next();!d.done;d=c.next())d=d.value,b.includes(d.issueId)&&(d.selected=!1);a.appEvents.needsAttentionIssueCount.next(a.issues.length-b.length);a.cdr.detectChanges();a.snackBarRefForUndo=a.snackbar.open({message:1===b.length?'Issue dismissed from "Needs attention" list':'All selected issues dismissed from "Needs attention" list',
actionLabel:"Undo"});a.snackBarRefForUndo._afterDismissed.pipe(Oe()).subscribe(function(e){e.dismissedByAction&&wgd(a,b)})},wgd=function(a,b){qV(a.needsAttentionApi,b,!1).then(function(){a.analytics.trackEvent(io.NEEDS_ATTENTION,"unDismissIssue","numberOfIssues",b.length);for(var c=k(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.delete(d.value);a.appEvents.needsAttentionIssueCount.next(a.issues.length);a.cdr.detectChanges();a.snackbar.open({message:"Issue"+(1<b.length?"s":"")+' un-dismissed from "Needs attention" list'})},
function(c){return void a.errorHandler.errorHandler(null,c)})};f=S9.prototype;f.isLowPriority=function(a){return 2<=Number(a.priority)};f.isHighPriority=function(a){return 2>Number(a.priority)};f.isP0Priority=function(a){return 0===Number(a.priority)};f.selectAllSignals=function(){this.selectedSignals$.next([].concat(ad(this.ALL_SIGNAL_TYPES)))};
f.fetchIssues=function(){var a=this,b;null==(b=this.snackBarRefForUndo)||b.dismiss();this.lastDismissedRowIssueIds.clear();this.isLoading=!0;b=xgd(this);b={page:1,resultsPerPage:this.needsAttentionApi.COUNT,sortColumns:b?[b]:[],returnUrl:this.paths.needsAttention(),trackerIds:Zoc(this.currentTracker),fromNeedsAttention:!0,selectedSignals:this.selectedSignals$.value};dX(this.issuePagination);XLc(this.issuePagination,b).then(function(c){a.issues=c.issues;a.isLoading=!1;a.cdr.detectChanges()})};
var zKb=function(a){var b=a.selectedSignals$.value;return a.issues.filter(function(c){var d=c.signals.some(function(e){return b.includes(e.signalType)});return!a.lastDismissedRowIssueIds.has(c.issueId)&&d})};S9.prototype.toggleSignal=function(a){var b=this.selectedSignals$.value,c=b.indexOf(a);-1===c?b.push(a):b.splice(c,1);RJb(this,[].concat(ad(b)))};var xgd=function(a){var b=Mk(a.sortConfig.field);a="ASC"===a.sortConfig.direction?"ASCENDING":"DESCENDING";return b?new Pk(b,a):null};
S9.prototype.onSortChange=function(a){this.sortConfig=a;this.fetchIssues()};S9.\u0275fac=function(a){return new (a||S9)(C(KX),C(bW),C(dH),C(qJ),C(pV),C(PH,2),C(TH),C(cH),C(LK),C(YH),C(oG),C(kG),C(eL),C(sG),C(cX))};
S9.\u0275cmp=Mc({type:S9,selectors:[["ng-component"]],features:[Pf([PH]),lf],decls:9,vars:6,consts:[[1,"a11y-only"],[1,"border-bottom","padded-xs-y"],["class","applied-signals flex-kids-x",4,"ngIf"],[4,"ngIf"],[1,"needs-attention-table","overflow"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading layout-centered-column gap","tabindex","-1",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"applied-signals","flex-kids-x"],[1,"attention-actions","flex-kids-x","align-items-center"],
["mat-icon-button","","color","primary","matTooltip","Refresh","aria-label","Refresh",1,"gmat-button","large",3,"hotkey","click","onHotkey"],["svgIcon","refresh"],[1,"heading-s","margin-xs-y"],["href","http://go/b-needs-attention-guide","matTooltip","Needs attention signals guide","aria-label","Needs attention signals guide","mat-icon-button","","target","_blank",1,"small","margin-xs-x"],["svgIcon","help-outline",1,"icon-s"],[1,"padded-s-left","border-left","signal-chips","flex-kids-x","flex-wrap",
"align-items-center"],[1,"margin-s-right",3,"selectedSignals$","selected"],["class","chippy rounded",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"chippy","rounded"],[3,"removable","generalDescriptionOnly","iconOnly","isSelected","matTooltipShowDelay","signal","onRemove"],["mat-button","","color","primary",3,"disabled","click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap"],["draggable","false","aria-hidden","true","alt","",1,"empty-state-img","padded-y",3,"src"],
[1,"type-l"],["class","muted",4,"ngIf","ngIfElse"],["noResults",""],[1,"muted"],[1,"bv2-grid-container"],["scrollContainer",".needs-attention-table",1,"keep-focus-ring",3,"list","columns","focusedRowIndex","enableDragDropHeader","rowLabelRenderer","sort","focusedRowIndexChange","rowClick","sortChange"],["class","focus-indicator",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","selected-box",4,"forViewCell"],
["class","star-cell",4,"forViewCell"],["data-template","issueId","class","clickable",4,"forViewCell"],["class","clickable signal-cell",4,"forViewCell"],[4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],[1,"focus-indicator"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role",
"checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"state","click","keydown.enter","keydown.space"],[3,"column"],["tabindex","-1","role","checkbox",3,"state","click"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage","starClicked"],["data-template","issueId",1,"clickable"],["tabindex","-1",1,"row-issue-id",3,"href","click"],[1,"clickable","signal-cell"],[3,"signal","iconOnly","isSelected"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel",
"compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href","click"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],[1,"icon-s",
3,"svgIcon"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"]],template:function(a,b){a&1&&(H(0,"h2",0),R(1,"Issues which need your attention"),I(),H(2,"div",1),P(3,TJb,14,9,"div",2),P(4,VJb,3,1,"div",3),I(),H(5,"div",4),P(6,WJb,4,0,"div",5),P(7,ZJb,8,6,"div",6),P(8,AKb,15,18,"div",7),I());a&2&&(B(3),F("ngIf",!b.someIssuesSelected()),B(1),F("ngIf",b.someIssuesSelected()),B(1),pf("aria-busy",b.isLoading),B(1),F("ngIf",b.isLoading),B(1),F("ngIf",!b.isLoading&&!b.hasResults()),B(1),F("ngIf",!b.isLoading&&
b.hasResults()))},dependencies:[Nw,Ow,Pw,Qw,Rw,bB,Tz,qA,rA,N_,S_,O_,P_,Q_,wM,WT,U_,nP,F0,TT,KK,tC,IM,R9,Q9,Uw,ZJ],styles:[".needs-attention-table[_ngcontent-%COMP%]{height:calc(100vh - 120px)}.applied-signals[_ngcontent-%COMP%]{padding-left:5px}.attention-actions[_ngcontent-%COMP%]{min-width:fit-content}.attention-actions[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:normal}.empty-state-img[_ngcontent-%COMP%]{max-width:320px}.select-all-signals[_ngcontent-%COMP%]{cursor:pointer;padding:0 10px 0 8px}.select-all-signals.selected[_ngcontent-%COMP%]{font-weight:500;color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}/*# sourceMappingURL=needs_attention.css.map */"],
changeDetection:0});var CKb=function(a){return{feature:a}},ygd=function(a){this.beapService=a;this.beapFeaturesTF$=Qad(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=Qad(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,E.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(D(function(b){var c=k(b);b=c.next().value;c=c.next().value;return 0<b.length+c.length}));this.hasFeaturesTF$=this.beapFeaturesTF$.pipe(D(function(b){return 0<b.length}));this.hasFeaturesEA$=this.beapFeaturesEA$.pipe(D(function(b){return 0<
b.length}));this.linkClicked={}};ygd.\u0275fac=function(a){return new (a||ygd)(C(A5))};
ygd.\u0275cmp=Mc({type:ygd,selectors:[["b-beap-settings"]],decls:6,vars:4,consts:[[4,"ngIf","ngIfElse"],["featureEmptyState",""],["featureStageContainer",""],["class","feature-stage-container",4,"ngIf"],[1,"feature-stage-container"],[1,"feature-stage-title"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"feature-empty-state-message"],[1,"feature-container"],[1,"feature-container-row"],[1,"feature-toggle-col"],[3,"checked","matTooltip","disabled"],[1,"feature-desc-col"],
[1,"feature-title"],[1,"feature-desc"],["mat-button","","color","primary","class","small no-visited-no-active","target","_blank",4,"ngIf"],[1,"feature-action-bar"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active",3,"click"],["svgIcon","pop-out",1,"icon-s"],["messageType","info",4,"ngIf"],[1,"feature-badge-col"],[3,"experimentId"],["mat-button","","color","primary","target","_blank",1,"small","no-visited-no-active"],["messageType","info"]],template:function(a,b){a&
1&&(P(0,IKb,5,6,"ng-container",0),S(1,"async"),P(2,JKb,2,0,"ng-template",null,1,hg),P(4,MKb,20,16,"ng-template",null,2,hg));if(a&2){var c=Lf(3);F("ngIf",T(1,2,b.hasFeatures$))("ngIfElse",c)}},dependencies:function(){return[C5,WW,XW,Nw,Ow,Tw,bB,rA,ET,tC,Uw,T9]},styles:['.feature-stage-container[_ngcontent-%COMP%]{padding-bottom:28px}.feature-stage-container[_ngcontent-%COMP%]   .feature-stage-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-size:.6875rem;line-height:1.2307692308;margin-bottom:20px;margin-top:25px}.feature-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:21px}.feature-container[_ngcontent-%COMP%]   .feature-container-row[_ngcontent-%COMP%]{display:flex;flex:1;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-badge-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]{flex:0 0 500px;display:flex;flex-direction:column;align-items:flex-start}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_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)}.feature-container[_ngcontent-%COMP%]   .feature-desc-col[_ngcontent-%COMP%]   .feature-desc[_ngcontent-%COMP%]   a[_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}.feature-container[_ngcontent-%COMP%]   .feature-toggle-col[_ngcontent-%COMP%]{flex-shrink:0;min-width:75px}.feature-container[_ngcontent-%COMP%]   .feature-action-bar[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:10px}.feature-container[_ngcontent-%COMP%]   .feature-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:400;margin-bottom:9px}.feature-container[_ngcontent-%COMP%]   b-callout[_ngcontent-%COMP%]{margin-top:10px;width:100%}.feature-empty-state-message[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0em;font-weight:400;margin-top:45px}/*# sourceMappingURL=beap_settings.css.map */'],
changeDetection:0});var T9=function(){};T9.prototype.transform=function(a){return"STATE_ENABLED"===a?!0:!1};T9.\u0275fac=function(a){return new (a||T9)};T9.\u0275pipe=Rc({name:"featureState",type:T9,pure:!0});var U9=function(a,b){this.name=a;this.resourceType=void 0===b?null:b;this.options=[]};U9.prototype.shouldDisplay=function(){return!0};U9.prototype.hasOptions=function(){return!1};U9.prototype.getDefaultOptionId=function(){return null};var V9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};V9.prototype.shouldDisplay=function(){return 0<this.options.length};V9.prototype.hasOptions=function(){return 0<this.options.length};
V9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var zgd=function(a,b){this.id=a;this.name=b},Bgd=function(a,b,c,d,e,g){var h=this;this.butterBar=a;this.sidebar=b;this.userPreferencesManager=c;this.cdr=d;this.appEvents=e;this.activeSession=g;this.selectedOptionId=null;this.subscriptions=new E.Subscription;this.hotlistMainOption=new V9("Hotlist","HOTLIST");this.savedSearchMainOption=new V9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=new V9("Bookmark group","BOOKMARK_GROUP");this.needsAttentionMainOption=new U9("Needs attention","NEEDS_ATTENTION");
this.experimentalHomepageMainOption=new U9("Home","EXPERIMENTAL_HOMEPAGE");this.mainOptions=[new U9("Assigned issues"),this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];EE(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.needsAttentionMainOption);EE(this.activeSession,"enableHomepageVariantA")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.experimentalHomepageMainOption);a={};this.resourceMainOptions=
(a.HOTLIST=this.hotlistMainOption,a.SAVED_SEARCH=this.savedSearchMainOption,a.BOOKMARK_GROUP=this.bookmarkGroupMainOption,a.NEEDS_ATTENTION=this.needsAttentionMainOption,a.EXPERIMENTAL_HOMEPAGE=this.experimentalHomepageMainOption,a);this.selectedMainOption=this.mainOptions[0];Agd(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){Agd(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(m){m.homepagePreferences&&
(m=m.homepagePreferences,m.resourceType?(h.selectedMainOption=h.resourceMainOptions[m.resourceType]||h.mainOptions[0],h.selectedOptionId=m.resourceId||null,Agd(h)):(h.selectedMainOption=h.mainOptions[0],h.selectedOptionId=null))}))};Bgd.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var QKb=function(a){mG(a.butterBar,"Saving preferences...",0);if(null===a.selectedMainOption.resourceType||a.selectedMainOption.hasOptions()&&null===a.selectedOptionId)var b=a.userPreferencesManager.clearHomepagePreferences();else b={resourceType:a.selectedMainOption.resourceType},a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId),b=glc(a.userPreferencesManager,b);b.subscribe(function(){mG(a.butterBar,"Preferences saved.",4E3)})},Agd=function(a){function b(c){return new zgd(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 zgd(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};var Cgd=Sta[3],W9=function(a,b,c,d,e,g,h,m,r){GE.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=g;this.sidebar=m;this.appEvents=r;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,ad(h.supportedTimeZones.map(function(v){return{value:v.id,label:v.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&EE(this.activeSession,"enableImageSummary")};U(W9,GE);
W9.\u0275dir=GE.\u0275dir;W9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new Bgd(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(bf(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
W9.prototype.save=function(a,b,c){var d=this;mG(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){mG(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};var Dgd=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===Cgd};W9.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
W9.\u0275fac=function(a){return new (a||W9)(C(PH,2),C(qJ),C(lG),C(bt),C(jJ),C(TH),C(tJ),C(sX),C(sG))};
W9.\u0275cmp=Mc({type:W9,selectors:[["b-general-settings"]],features:[Pf([PH]),lf],decls:69,vars:15,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,"ngModel","ngModelChange","selectionChange"],[4,"ngFor","ngForOf"],["appearance","outline",4,"ngIf"],[1,"margin-y"],["id","bv2-datetime-pref-date-formatting",
"appearance","outline"],["matTooltip","Date/time formatting - Use this format for calendar dates."],[3,"ngModel","ngModelChange","selectionChange"],[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,"checked",
"change"],[1,"margin-bottom"],["id","bv2-force-plain-text",3,"checked","change"],["id","bv2-force-code-font"],["class","margin-bottom",4,"ngIf"],[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,"ngModel","ngModelChange","selectionChange"],["class","bv2-settings-preferred-homepage-option-select-item",3,"value",
4,"ngFor","ngForOf"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],[3,"value"],["id","bv2-show-inline-images",3,"checked","change"],["id","bv2-bug-screensaver",3,"checked","change"]],template:function(a,b){a&1&&(H(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),R(4,"Preferred homepage"),I(),H(5,"p",3),R(6," Select your preferred homepage when first opening the app. "),H(7,"a",4),R(8," Learn more "),I()()(),H(9,"div")(10,"div")(11,"mat-form-field",5)(12,"mat-label",6),R(13," Current selection "),
I(),H(14,"mat-select",7),M("ngModelChange",function(c){return b.preferredHomepage.selectedMainOption=c})("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();QKb(c);c.cdr.detectChanges()}),P(15,OKb,2,1,"ng-container",8),I()(),P(16,RKb,3,2,"mat-form-field",9),I()()(),J(17,"hr",10),H(18,"div",0)(19,"div",1)(20,"p",2),R(21,"Date/time formatting settings"),I(),H(22,"p",3),R(23," Select how you want dates and times to be formatted. "),H(24,
"a",4),R(25," Learn more "),I()()(),H(26,"div")(27,"div")(28,"mat-form-field",11)(29,"mat-label",12),R(30," Dates "),I(),H(31,"mat-select",13),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.calendarFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),P(32,SKb,2,2,"mat-option",14),I()()(),H(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),R(36," Times "),I(),H(37,"mat-select",13),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeFormat=
c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),P(38,TKb,2,2,"mat-option",14),I()()(),H(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),R(42," Time Zones "),I(),H(43,"mat-select",13),M("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeZone=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),P(44,UKb,2,2,"mat-option",14),I()()()()(),J(45,"hr",10),H(46,"div",0)(47,"div",1)(48,"p",2),R(49,"Keyboard settings"),I()(),H(50,
"div")(51,"div")(52,"mat-slide-toggle",19),M("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),R(53," Enable all hotkeys "),I()()()(),J(54,"hr",10),H(55,"div",0)(56,"div",1)(57,"p",2),R(58,"Display settings"),I()(),H(59,"div")(60,"div",20)(61,"mat-slide-toggle",21),M("change",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?Cgd:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),
R(62," Force comments to display as plain text "),I()(),H(63,"div",20)(64,"b-toggle-code-font",22),R(65," Force comments to display with code font "),I()(),P(66,VKb,3,1,"div",23),I()(),J(67,"hr",10),P(68,WKb,9,1,"ng-container",24),I());a&2&&(B(7),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Sd),B(7),F("ngModel",b.preferredHomepage.selectedMainOption),B(1),F("ngForOf",b.preferredHomepage.mainOptions),B(1),F("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),
B(8),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",Sd),B(7),F("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),B(1),F("ngForOf",b.dateFormats),B(5),F("ngModel",b.userPreferences.dateTimePreferences.timeFormat),B(1),F("ngForOf",b.timeFormats),B(5),F("ngModel",b.userPreferences.dateTimePreferences.timeZone),B(1),F("ngForOf",b.timeZones),B(8),F("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),B(9),F("checked",Dgd(b)),B(5),F("ngIf",
b.showShowInlineImagesSetting),B(2),F("ngIf",b.showBugScreensaverSetting))},dependencies:[Nw,Ow,ox,ux,QA,PA,iP,sA,ET,tC,jU],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}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}[_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"]});var X9=function(a,b,c,d){GE.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(bf(this.destroyed$)).subscribe(function(g){e.userPreferences=g})};U(X9,GE);X9.\u0275dir=GE.\u0275dir;
X9.prototype.save=function(a,b,c){var d=this;mG(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){mG(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};X9.\u0275fac=function(a){return new (a||X9)(C(qJ),C(lG),C(jJ),C(TH))};
X9.\u0275cmp=Mc({type:X9,selectors:[["b-notification-settings"]],features:[lf],decls:48,vars:14,consts:[[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-ss"],["target","_blank",3,"href"],["appearance","outline","id","bv2-notification-pref-assigned"],["matTooltip","Notification level - issues for which you are the assignee"],[3,"ngModel","ngModelChange","selectionChange"],[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,"checked","change"],[3,"value"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"p",2),R(3,"Notification settings"),I(),H(4,"p",3),R(5," Select the level of email you want to receive for each issue role. "),H(6,"a",4),R(7," Learn more "),I()()(),H(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),R(12," Assignee "),I(),H(13,"mat-select",
7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.assignedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(14,XKb,3,4,"mat-option",8),I()()(),H(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),R(18," Reporter "),I(),H(19,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.reportedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(20,YKb,3,
4,"mat-option",8),I()()(),H(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),R(24," Verifier "),I(),H(25,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.verifiedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(26,ZKb,3,4,"mat-option",8),I()()(),H(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),R(30," Collaborator "),I(),H(31,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.collaboratorPriority=
c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(32,$Kb,3,4,"mat-option",8),I()()(),H(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),R(36," CC'd "),I(),H(37,"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.ccdPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(38,aLb,3,4,"mat-option",8),I()()(),H(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),R(42," Starred "),I(),H(43,
"mat-select",7),M("ngModelChange",function(c){return b.userPreferences.notificationPreferences.starredPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),P(44,bLb,3,4,"mat-option",8),I()()(),H(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 "),I()()()());a&2&&(B(6),F("href",b.documentationLinks.baseDocumentationUrl+
"/concepts/settings#email",Sd),B(7),F("ngModel",b.userPreferences.notificationPreferences.assignedPriority),B(1),F("ngForOf",b.priorities),B(5),F("ngModel",b.userPreferences.notificationPreferences.reportedPriority),B(1),F("ngForOf",b.priorities),B(5),F("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),B(1),F("ngForOf",b.priorities),B(5),F("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),B(1),F("ngForOf",b.priorities),B(5),F("ngModel",b.userPreferences.notificationPreferences.ccdPriority),
B(1),F("ngForOf",b.priorities),B(5),F("ngModel",b.userPreferences.notificationPreferences.starredPriority),B(1),F("ngForOf",b.priorities),B(2),F("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[Nw,ox,ux,QA,PA,iP,sA,ET,tC,lmc],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}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}[_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"]});var Y9=function(a){this.internalArray_=l(a,0,Y9.messageId)};U(Y9,q);Y9.repeatedFields_=[1];Y9.prototype.toObject=function(){if(null!=this){t(this);var a={subscriptionsList:Ub(oj(this,kj,1),Tbc)}}else a=void 0;return a};Y9.messageId="b.ListSloReportSubscriptionsResponse";var Z9=function(a){this.internalArray_=l(a,0,Z9.messageId)};U(Z9,q);Z9.prototype.getSubscription=function(){return W(this,kj,1)};Z9.prototype.setSubscription=function(a){return lj(this,kj,1,a)};Z9.prototype.toObject=function(){if(null!=this){t(this);var a={subscription:Tbc(this.getSubscription())}}else a=void 0;return a};Z9.messageId="b.SloReportSubscriptionRequest";var $9=function(a){this.internalArray_=l(a,0,$9.messageId)};U($9,q);$9.prototype.getSubscription=function(){return W(this,kj,1)};$9.prototype.setSubscription=function(a){return lj(this,kj,1,a)};$9.prototype.toObject=function(){if(null!=this){t(this);var a={subscription:Tbc(this.getSubscription())}}else a=void 0;return a};$9.messageId="b.SloReportSubscriptionResponse";var a$=function(a){this.executor=a};f=a$.prototype;f.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:$9}).pipe(D(function(b){if(b=b.getSubscription())return Ira(b);throw Error("$e");}))};f.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:Y9}).pipe(D(function(a){return oj(a,kj,1).map(Ira)}))};
f.create=function(a){if(0!==a.id)throw Error("af");return this.executor.post({url:"action/slo_report_subscriptions",body:(new Z9).setSubscription(Kra(a)),responseConstructor:$9}).pipe(D(function(b){if(b=b.getSubscription())return Ira(b);throw Error("bf");}))};
f.update=function(a){if(0===a.id)throw Error("cf");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new Z9).setSubscription(Kra(a)),responseConstructor:$9}).pipe(D(function(b){if(b=b.getSubscription())return Ira(b);throw Error("bf");}))};f.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:IE}).pipe(D(function(){}))};a$.\u0275fac=function(a){return new (a||a$)(u(wD))};
a$.\u0275prov=wc({token:a$,factory:a$.\u0275fac,providedIn:"root"});var Egd=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new pw;this.timeZoneOptions$=dlc(this.timeZones).pipe(D(function(b){return b.sort(dLb)}))};Egd.\u0275fac=function(a){return new (a||Egd)(C(oJ))};
Egd.\u0275cmp=Mc({type:Egd,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,"disabled","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(H(0,"mat-form-field",0)(1,"mat-label"),R(2),I(),H(3,"mat-select",1),M("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),P(4,cLb,2,2,"mat-option",2),S(5,"async"),I()());a&2&&(yf("full-width",b.fullWidth),B(2),Mf(" ",b.label," "),B(1),F("disabled",b.disabled)("ngModel",b.timezoneId),B(1),F("ngForOf",T(5,6,b.timeZoneOptions$)))},dependencies:[QA,PA,iP,sA,Nw,ox,ux,Uw],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var Fgd=["sloSubscriptionDialog"],b$=function(a,b,c,d,e,g,h,m){GE.call(this);var r=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.dialog=d;this.timeZones=e;this.confirmationDialogService=g;this.principalTypes=h;this.analytics=m;this.subscriptions$=new E.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(D(function(v){return 0===v.length||1===v.length&&v[0].lead.emailAddress===r.currentUser.email}));this.userSubscription$=this.subscriptions$.pipe(D(function(v){v=k(v);for(var y=
v.next();!y.done;y=v.next())if(y=y.value,y.lead.emailAddress===r.currentUser.email)return y;return{id:0,lead:r.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:Ggd[9].timeOfDay}}));this.isThinking$=new E.BehaviorSubject(!1);this.inputHasFocus=!1;this.frequencyOptions=Hgd;this.repeatOnOptions=new Map([["daily",[]],["weekly",uLb],["monthly",Igd]]);this.DAILY="daily";this.repeatAtOptions$=(0,E.combineLatest)(Ggd.map(function(v){return r.dateFormatter.formatUserTime(v.date).pipe(D(function(y){return{timeOfDay:v.timeOfDay,
display:y}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=xi;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(Hgd.map(function(v){return[v.frequency,v.display]}));this.timeZoneDisplayMap$=dlc(this.timeZones).pipe(Oe(),D(function(v){return new Map(v.map(function(y){return[y.id,y.displayName]}))}),Ye({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(Oe(),D(function(v){return new Map(v.map(function(y){return[y.timeOfDay.hours,
y.display]}))}),Ye({bufferSize:1,refCount:!0}));this.compareTimeOfDay=function(v,y){return v.hours===y.hours&&v.minutes===y.minutes&&v.seconds===y.seconds&&v.nanos===y.nanos}};U(b$,GE);b$.\u0275dir=GE.\u0275dir;b$.prototype.ngOnInit=function(){Jgd(this)};
var nLb=function(a){a.userSubscription$.pipe(Oe(),af(function(b){if(0===b.id)return a.analytics.trackEvent(io.SLO_REPORTS,"enableOwnSubscription"),a.api.create(b);a.analytics.trackEvent(io.SLO_REPORTS,"disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){Jgd(a)})},Jgd=function(a){a.isThinking$.next(!0);a.api.list().pipe(Oe()).subscribe(function(b){a.isThinking$.next(!1);a.subscriptions$.next(b)})},$s=function(a,b){a.isThinking$.next(!0);a.api.update(b).subscribe(function(){a.analytics.trackEvent(io.SLO_REPORTS,
"editSubscription");Jgd(a)})},Kgd=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent(io.SLO_REPORTS,"deleteSubscription");Jgd(a)})},yLb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:kp("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){Kgd(a,b)}})};b$.prototype.setFrequency=function(a,b){b.frequency=a;LLb(a,b);$s(this,b)};
var LLb=function(a,b){"daily"!==a?b.ordinal="weekly"===a?uLb[0].ordinal:Igd[0].ordinal:delete b.ordinal};b$.prototype.setTimeZone=function(a,b){$s(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
b$.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:Ggd[9].timeOfDay}),this.ceoSelected=this.dialogInvalidEmailFormat=!1,this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:Zh(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var MLb=function(a,b){return ne(function(c){if(1==c.nextAddress)return a.dialogRef&&void 0!==b.lead?c.yield(Lgd(a,b.lead.emailAddress),2):c.return();if(!c.yieldResult)return b.lead.emailAddress="",a.dialogInvalidEmailFormat=!0,c.return();if("sundar@google.com"===b.lead.emailAddress)return b.lead.emailAddress="",a.ceoSelected=!0,c.return();0===b.id?a.api.create(b).subscribe(function(){a.analytics.trackEvent(io.SLO_REPORTS,"createSubscription");Jgd(a)}):$s(a,b);a.dialogRef.close();se(c)})},Lgd=function(a,
b){var c;return ne(function(d){if(1==d.nextAddress)return Fl(b)?d.yield(a.principalTypes.get(b),2):d.return(Promise.resolve(!1));c=d.yieldResult;return"USER"!==c.principalType?d.return(Promise.resolve(!1)):d.return(Promise.resolve(!0))})};b$.\u0275fac=function(a){return new (a||b$)(C(UK),C(a$),C(MI),C(DA),C(oJ),C(kJ),C(CJ),C(TH))};
b$.\u0275cmp=Mc({type:b$,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&cg(Fgd,7);if(a&2){var c;bg(c=eg())&&(b.sloSubscriptionDialog=c.first)}},features:[lf],decls:22,vars:14,consts:[[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,"disabled","click"],["sloSubscriptionDialog",""],["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,"disabled","checked","change"],["appearance","outline",1,"full-width"],["matInput","","readonly","",3,"ngModel","focus","blur"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"timezoneId","fullWidth",
"timezoneIdChange"],["class","muted type-s",4,"ngIf"],[3,"value"],[3,"ngModel","compareWith","ngModelChange"],[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"],["subscriptionMenu","matMenu"],["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,"ngModel","bContactAutocomplete","ngModelChange"],["id","new-subscription-note",1,"italic"],"href http://go/issue-slo-reports target _blank aria-describedby new-subscription-note".split(" "),"mat-button  color primary matDialogClose ".split(" ")],template:function(a,b){a&1&&(P(0,pLb,12,3,"ng-container",0),S(1,"async"),H(2,"div",1)(3,"div",2)(4,"p",3),R(5,"Advanced settings"),I(),H(6,"p",4),R(7," Add subscriptions to receive other user's reports. "),H(8,"a",5),
R(9,"Learn more"),I()()(),H(10,"div",6)(11,"div",7)(12,"button",8),M("click",function(){return b.openDialog()}),S(13,"async"),R(14," Create subscription "),I()(),P(15,qLb,2,0,"ng-container",0),S(16,"async"),P(17,CLb,13,3,"ng-container",0),S(18,"async"),S(19,"async"),I()(),P(20,NLb,33,15,"ng-template",null,9,hg));a&2&&(F("ngIf",T(1,4,b.isBasicMode$)),B(12),F("disabled",T(13,6,b.isThinking$)),B(3),F("ngIf",T(16,8,b.isThinking$)),B(2),F("ngIf",!T(18,10,b.isBasicMode$)&&!T(19,12,b.isThinking$)))},dependencies:[Nw,
Ow,bB,xg,ox,Fx,ux,qA,EA,FA,GA,HA,NA,QA,OA,PA,iP,sA,TA,ET,jM,XL,cM,ZL,WL,eM,$L,bM,fM,hM,lC,jC,kC,Egd,wM,wS,Uw],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}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}[_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */",
".mat-form-field[_ngcontent-%COMP%]{min-width:300px}.mat-header-cell[_ngcontent-%COMP%]{font-weight:600;background-color:#f1f3f4;background-color:var(--c100)}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:40px}td.mat-cell[_ngcontent-%COMP%], td.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem}td.mat-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}.mat-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 Hgd=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],uLb=[{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"}],Igd=[].concat(ad(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:vLb(a+1)}}),Ggd=[].concat(ad(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 c$=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=EE(this.activeSession,"enableBeap");this.enableSloReportEmail=this.activeSession.isInternalSession()&&EE(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0;d.setTitle("Settings")};c$.prototype.ngAfterViewInit=function(){this.selectedTabIndex=Mgd(this,this.routeParams.settingsTab)};
c$.prototype.tabChange=function(a){var b,c,d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id;this.location.url(Ewa(d))};var Mgd=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};c$.\u0275fac=function(a){return new (a||c$)(C(bt),C(cH),C(JJ),C(bW))};
c$.\u0275cmp=Mc({type:c$,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&cg(sN,5,Bd);if(a&2){var c;bg(c=eg())&&(b.tabs=c)}},decls:11,vars:3,consts:[[1,"margined","heading-m"],["gmat-tabs","",3,"selectedIndex","selectedIndexChange"],["label","General"],[1,"padded"],["label","Notifications","id","notifications"],["label","SLO Reports","id","slo-reports",4,"ngIf"],["label","Early Access","id","early-access",4,"ngIf"],["label","SLO Reports","id","slo-reports"],["label","Early Access","id","early-access"]],
template:function(a,b){a&1&&(H(0,"p",0),R(1,"Settings"),I(),H(2,"mat-tab-group",1),M("selectedIndexChange",function(c){return b.tabChange(c)}),H(3,"mat-tab",2)(4,"div",3),J(5,"b-general-settings"),I()(),H(6,"mat-tab",4)(7,"div",3),J(8,"b-notification-settings"),I()(),P(9,OLb,3,0,"mat-tab",5),P(10,PLb,3,0,"mat-tab",6),I());a&2&&(B(2),F("selectedIndex",b.selectedTabIndex),B(7),F("ngIf",b.enableSloReportEmail),B(1),F("ngIf",b.beapEnabled))},dependencies:[Ow,yN,tN,sN,ygd,W9,X9,b$],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}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}  .cdk-overlay-container .slo-report-subscription-dialog .mat-form-field-appearance-outline .mat-form-field-infix{padding:8px 0}[_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-tab-list .mat-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var d$=function(a,b,c,d,e,g,h,m,r){GE.call(this);this.cdr=a;this.routeParams=b;this.bLocation=c;this.pageTitle=d;this.userApi=e;this.bookmarkGroupsApi=g;this.paths=h;this.appEvents=r;this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=m.getUserEmail()};U(d$,GE);d$.\u0275dir=GE.\u0275dir;f=d$.prototype;
f.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.getFavorite("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)}))};f.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.saveFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b):this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b)};
f.openEditBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};f.getUserEmail=function(){return this.userEmail};f.isEditable=function(){return!!this.bookmarkGroup&&!!this.userIsAdmin};f.getUrl=function(a){switch(a.resourceType){case "SAVED_SEARCH":return this.paths.viewSavedSearch(a.savedSearchId);case "HOTLIST":return this.paths.viewHotlist(a.hotlistId);default:throw Error("df`"+a.resourceType);}};
f.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("df`"+a.resourceType);}};d$.\u0275fac=function(a){return new (a||d$)(C(PH,2),C(JJ),C(cH),C(bW),C(BH),C(qX),C(dH),C(bt),C(sG))};
d$.\u0275cmp=Mc({type:d$,selectors:[["view-bookmark-group-page"]],features:[Pf([PH]),lf],decls:5,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-view"],[4,"ngIf"],[1,"bv2-view-bookmark-group-title"],[1,"bv2-view-bookmark-group-header"],[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-bookmark-group-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",
1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[1,"bv2-view-bookmark-group-description"],[1,"bv2-view-bookmark-group-hotlists"],[4,"ngFor","ngForOf"],[3,"starMessage","unStarMessage","starred","starClicked"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"href","title"]],template:function(a,b){a&1&&(H(0,"h2",0),R(1),I(),J(2,"div",1),H(3,"div",2),P(4,TLb,12,5,"div",3),I());a&2&&(B(1),Mf("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),B(2),pf("aria-busy",
!b.bookmarkGroup),B(1),F("ngIf",b.bookmarkGroup))},dependencies:[Nw,Ow,WT,tC],encapsulation:2});var e$=function(){};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=Oc({type:e$});e$.\u0275inj=xc({imports:[cG,eU,uD]});var f$=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb,cb,sa,Ja,Qa,fb,Za){q9.call(this,b,c,d,e,h,m,r,v,g,y,A,G,Q,Z,Y,ea,ja,va,Qb,za,Pa,sa,Ja,Qa,fb,Za);this.ngZone=a;this.hotlists=N;this.hotkeys=Sa;this.pageTitle=Wa;this.userAccess=cb;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=Gb.hotlistId};U(f$,q9);f$.\u0275dir=q9.\u0275dir;
f$.prototype.ngOnInit=function(){var a=this;q9.prototype.ngOnInit.call(this);this.subscriptions.add(HM(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(ad(this.BASE_HOTKEYS),[{keys:[Un("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){Ngd(a,1)}},{keys:[Un("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){Ngd(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&Ogd(a)}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}));this.userApi.getFavorite("HOTLIST",this.hotlistId).then(function(){a.isStarred=!0}).catch(function(){});this.loadUserAccess(this.hotlistId)};
f$.prototype.ngDoCheck=function(){var a;if(this.hotlistName!==(null==(a=this.hotlist)?void 0:a.name)){var b;this.hotlistName=null==(b=this.hotlist)?void 0:b.name;this.pageTitle.setTitle(this.hotlistName)}};
f$.prototype.loadUserAccess=function(a){var b=this;aG(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});aG(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
f$.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;LX(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):Ogd(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var Ogd=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};
f$.prototype.doSearch=function(a){var b=this,c="priority type title assignee status issueId modifiedTime".split(" ").map(Mk),d="hotlistid:"+this.hotlistId,e=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,sortColumns:[],displayColumns:c,query:d},a.then(function(g){return{query:null,displayColumn:g.displayColumn,sortOrder:g.sortOrder}}));a=e.searchPreferences.then(function(g){g=Zh(g);g.query=d;g.returnUrl=b.bLocation.url();g.hotlistId=b.hotlistId;g.trackerIds=b.appSearchState.currentTrackerScope;
return XLc(b.issuePagination,g)});a.then(function(g){Afd(b,g)}).catch(function(g){"number"===typeof g?m1(b.urlPreferences,{page:g}):b.errorHandler.errorHandler(null,g)});return $n({searchResultsPage:a,displayColumns:e.displayColumns}).then(function(g){g=g.searchResultsPage;b.searchResults=g;b.page=g.params.page;b.sortPreferences=g.params.sortColumns||[];b.initColumns(e.displayColumns,Pgd(b)?Qgd:Rgd);b.loadHotlists()}).catch(function(){})};
var Pgd=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};f$.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
f$.prototype.repositionIssue=function(a,b,c){var d=this;c=void 0===c?!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 Ngd=function(a,b){if(a.searchResults&&!a.repositioning&&Pgd(a)){var c,d,e=null!=(d=null==(c=a.resultsGrid)?void 0:c.focusedRowIndex)?d:void 0;if(null!=e&&(c=e+b,d=a.searchResults.issues.length,0<=c&&c<d)){if(1===b){var g;null==(g=a.resultsGrid)||qfb(g)}else if(-1===b){var h;null==(h=a.resultsGrid)||rfb(h)}a.repositionIssue(e,c,!0)}}};f=f$.prototype;
f.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=Kza(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}});mG(this.butterBar,"Saving changes to hotlist...");Sgd(this,b).then(function(e){mG(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');m1(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams",d)})}};f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");m1(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};f.hasParamChanges=function(){return this.hotlist&&this.isEditable()?!(!this.urlPreferences.getSortColumns()&&!this.urlPreferences.getDisplayColumns()):!1};
f.isEditable=function(){return null!=this.hotlist&&this.isAdmin};f.isDirectAdmin=function(){return this.hotlist?qi(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?q9.prototype.setSort.call(this,a,b,!1):q9.prototype.setSort.call(this,a,b)};
var Sgd=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;Tgd(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},Tgd=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
f$.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=li(this.hotlistId),c=function(){Tgd(a,b)};this.isStarred?this.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:b}).then(c)};f$.prototype.openEditHotlist=function(){this.bLocation.url(this.paths.editHotlist(this.hotlistId))};var Rgd=[Q0,R0,S0,aVc],Qgd=[Q0,$Uc,R0,S0,aVc];
f$.\u0275fac=function(a){return new (a||f$)(C(ef),C(PH),C(SH),C(FE),C(cH),C(bt),C(nG),C(WE),C(BH),C(sH),C(lG),C(TH),C(KX),C(O1),C(cX),C(qJ),C(l1),C(n1),C(dH),C(WF),C(wJ),C(LK),C(GM),C(bW),C(oG),C(JJ),C($F),C(sG),C(FH),C(YH),C(z2),C(PF))};
f$.\u0275cmp=Mc({type:f$,selectors:[["view-hotlist-page"]],features:[Pf([PH]),lf],decls:9,vars:11,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","showHotlistButtons","currentHotlistId","isHotlistAdmin","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[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"],[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,"starMessage","unStarMessage","starred","starClicked","keydown.space",
"keydown.enter"],[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"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar","init","focusedRowIndexChange","columnsChange","sortChange",
"rowClick","onRowDragDrop","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"b-grid-controls",1),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),I(),H(2,"div",2)(3,"b-pagination",3),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",
function(c){return Cfd(b,c.option)}),I()()(),H(4,"div",4),P(5,cMb,9,7,"div",5),P(6,dMb,4,1,"div",6),P(7,eMb,2,2,"div",7),P(8,fMb,2,6,"div",8),I());a&2&&(B(1),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin),B(2),F("searchResults",b.searchResults),B(1),pf("aria-busy",b.isLoading),B(1),F("ngIf",!b.isInitializing),B(1),F("ngIf",b.isLoading),B(1),F("ngIf",!b.isLoading&&!b.hasResults()),B(1),F("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[V0,P1,WT,O0,tC,Ow,wM,JU,qA],encapsulation:2});var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};g$.\u0275mod=Oc({type:g$});g$.\u0275inj=xc({imports:[i1,Q1,eU,N1,uD,cG,eO,KU,QC]});var h$=function(a,b,c,d,e,g,h,m,r,v,y,A,G,N,Q,Z,Y,ea,ja,va,za,Pa,Sa,Wa,Qb,Gb,cb,sa,Ja,Qa,fb){q9.call(this,a,b,c,d,g,h,m,v,e,y,A,G,N,Q,Z,Y,ea,ja,Wa,va,za,cb,sa,Ja,Qa,fb);this.savedSearchApi=r;this.hotkeys=Pa;this.pageTitle=Sa;this.userAccess=Gb;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=Qb.savedSearchId};U(h$,q9);h$.\u0275dir=q9.\u0275dir;f=h$.prototype;
f.ngOnInit=function(){var a=this;q9.prototype.ngOnInit.call(this);this.subscriptions.add(HM(this.hotkeys,{title:"Saved Search",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(b){b&&String(b.savedSearchId)===a.savedSearchId&&("delete"===b.action?(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(oNc(this.appSearchState,function(b){a.savedSearch?m1(a.urlPreferences,{query:b}):(b=a.paths.listIssues({q:b}),a.bLocation.url(b))}));this.loadUserAccess(this.savedSearchId)};f.loadUserAccess=function(a){var b=this;aG(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
f.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};
f.getIssues=function(){var a=this,b=this.urlPreferences.getQuery()||"savedsearchid:"+this.savedSearchId;LX(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()})};
f.doSearch=function(a){var b=this;a=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:tfd(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;LX(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=Zh(d);d.returnUrl=b.bLocation.url();d.trackerIds=b.appSearchState.currentTrackerScope;
return XLc(b.issuePagination,d)});c.then(function(d){Afd(b,d)}).catch(function(d){"number"===typeof d?m1(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return $n({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(){})};
f.isEditable=function(){return!!this.savedSearch&&this.isAdmin};f.getCsvUrl=function(){return this.paths.issuesCsvAction(this.searchParams.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
f.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;mG(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){mG(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;m1(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)})};f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");m1(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};
f.hasParamChanges=function(){return this.savedSearch&&this.isEditable()?!!(this.urlPreferences.getQuery()&&this.urlPreferences.getQuery()!==this.savedSearch.query||this.urlPreferences.getSortColumns()||this.urlPreferences.getDisplayColumns()):!1};f.openEditSavedSearch=function(){this.bLocation.url(this.paths.editSavedSearch(this.savedSearchId))};
h$.\u0275fac=function(a){return new (a||h$)(C(PH),C(SH),C(FE),C(cH),C(bt),C(nG),C(WE),C(BH),C(jI),C(sH),C(lG),C(TH),C(KX),C(cX),C(qJ),C(l1),C(n1),C(dH),C(WF),C(wJ),C(LK),C(GM),C(bW),C(oG),C(JJ),C($F),C(sG),C(FH),C(YH),C(z2),C(PF))};
h$.\u0275cmp=Mc({type:h$,selectors:[["view-saved-search-page"]],features:[Pf([PH]),lf],decls:9,vars:7,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[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"],[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",
"","matTooltip","Save changes to display preferences and search query",1,"gmat-button","medium",3,"click"],["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,"href","click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",
4,"ngIf"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"b-grid-controls",1),M("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps)})("onCreateHotlist",
function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),I(),H(2,"div",2)(3,"b-pagination",3),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return Cfd(b,c.option)}),I()()(),H(4,"div",4)(5,"div",5),P(6,kMb,4,3,"div",6),P(7,lMb,8,1,"div",7),I(),P(8,qMb,4,3,"div",8),I());a&2&&(B(1),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),B(2),F("searchResults",b.searchResults),
B(1),pf("aria-busy",b.isLoading),B(2),F("ngIf",!b.isInitializing),B(1),F("ngIf",b.hasParamChanges()),B(1),F("ngIf",b.savedSearch))},dependencies:[V0,P1,O0,Ow,tC,wM,JU,qA],encapsulation:2});var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=Oc({type:i$});i$.\u0275inj=xc({imports:[i1,Q1,N1,cG,uD,eO,KU,QC]});var Ugd=function(){};Ugd.\u0275fac=function(a){return new (a||Ugd)};
Ugd.\u0275cmp=Mc({type:Ugd,selectors:[["tp-landing-page"]],decls:12,vars:2,consts:[[1,"tp-landing-page"],[1,"tp-title"],[1,"tp-title-text","gmat-headline-5"],[1,"tp-cta"],["href","http://go/task-mission-control","target","_blank",1,"tp-about-link"],["href","http://go/task-mission-control-feedback","mat-stroked-button","","color","primary","target","_blank",1,"tp-feedback"],[1,"tp-content"],[3,"isMyWork"]],template:function(a){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2),R(3,"My Work"),I(),H(4,"div",3)(5,
"a",4),R(6,"Learn more at go/task-mission-control"),I(),H(7,"a",5),R(8,"Give feedback"),I()()(),H(9,"div",6),J(10,"tp-task-section",7)(11,"tp-task-section",7),I()());a&2&&(B(10),F("isMyWork",!0),B(1),F("isMyWork",!1))},dependencies:[DW,vW,aA],styles:['.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#2196f3}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#ff9800}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#f44336}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-text-button-label-text-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#2196f3;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#ff9800;--mdc-filled-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color:rgba(0,0,0,.12);--mdc-filled-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-filled-button-container-color:rgba(0,0,0,.12);--mdc-filled-button-label-text-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#2196f3;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#ff9800;--mdc-protected-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color:rgba(0,0,0,.12);--mdc-protected-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-color:rgba(0,0,0,.12);--mdc-protected-button-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-elevation:0}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color:rgba(0,0,0,.12)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#2196f3}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#ff9800}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#f44336}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-outline-color:rgba(0,0,0,.12);--mdc-outlined-button-disabled-outline-color:rgba(0,0,0,.12)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.tp-landing-page[_ngcontent-%COMP%]   .mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:inherit;--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#6200ee;--mat-mdc-button-ripple-color:rgba(98,0,238,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#018786;--mat-mdc-button-ripple-color:rgba(1,135,134,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#b00020;--mat-mdc-button-ripple-color:rgba(176,0,32,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#2196f3;--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#ff9800;--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#f44336;--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(0,0,0,.38);--mdc-icon-button-disabled-icon-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size:40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color:rgba(0,0,0,.12);--mdc-fab-icon-color:rgba(0,0,0,.38);--mat-mdc-fab-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color:#2196f3;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color:#ff9800;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-extended-fab[_ngcontent-%COMP%]{--mdc-extended-fab-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-extended-fab-label-text-size:14px;--mdc-extended-fab-label-text-tracking:normal;--mdc-extended-fab-label-text-weight:500}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;text-transform:none}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__ripple[_ngcontent-%COMP%]{height:100%;position:absolute;overflow:hidden;width:100%;z-index:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.16}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.24}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.2}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-text-button-hover-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-text-button-focus-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-text-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-text-button-label-text-color:#1e88e5;--mdc-text-button-focus-label-text-color:#0d47a1;--mdc-text-button-hover-label-text-color:#0d47a1}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-text-button-label-text-color:#fb8c00;--mdc-text-button-focus-label-text-color:#e65100;--mdc-text-button-hover-label-text-color:#e65100}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-text-button-label-text-color:#e53935;--mdc-text-button-focus-label-text-color:#b71c1c;--mdc-text-button-hover-label-text-color:#b71c1c}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-text-button-label-text-color:rgba(60,64,67,.38)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#1e88e5;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#fb8c00;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#e53935;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-disabled-container-color:rgba(60,64,67,.12);--mdc-filled-button-container-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#1e88e5;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#fb8c00;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#e53935;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-disabled-container-color:rgba(60,64,67,.12);--mdc-protected-button-container-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-outlined-button-outline-color:#dadce0;--mdc-outlined-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-outlined-button-hover-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-outlined-button-focus-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:var(--mdc-outlined-button-focus-outline-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 23px 0 23px;border-width:1px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-trailing{padding:0 11px 0 23px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-leading{padding:0 23px 0 11px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__ripple[_ngcontent-%COMP%]{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__touch[_ngcontent-%COMP%]{left:-1px;width:calc(100% + 2px)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-outlined-button-label-text-color:#1e88e5;--mdc-outlined-button-focus-label-text-color:#0d47a1;--mdc-outlined-button-hover-label-text-color:#0d47a1;--mdc-outlined-button-focus-outline-color:#0d47a1}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-outlined-button-label-text-color:#fb8c00;--mdc-outlined-button-focus-label-text-color:#e65100;--mdc-outlined-button-hover-label-text-color:#e65100;--mdc-outlined-button-focus-outline-color:#e65100}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-outlined-button-label-text-color:#e53935;--mdc-outlined-button-focus-label-text-color:#b71c1c;--mdc-outlined-button-hover-label-text-color:#b71c1c;--mdc-outlined-button-focus-outline-color:#b71c1c}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-outline-color:rgba(60,64,67,.12);--mdc-outlined-button-disabled-outline-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#3c4043;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(60,64,67,.38);--mdc-icon-button-disabled-icon-color:rgba(60,64,67,.38)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 2px 3px 0 rgba(60,64,67,.3),0 6px 10px 4px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active{box-shadow:0 4px 4px 0 rgba(60,64,67,.3),0 8px 12px 6px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill{--mdc-fab-container-color:#1e88e5;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mat-mdc-fab-color:#1e88e5}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill{--mdc-fab-container-color:#fb8c00;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mat-mdc-fab-color:#fb8c00}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill{--mdc-fab-container-color:#e53935;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mat-mdc-fab-color:#e53935}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#424242;--mat-mdc-button-persistent-ripple-color:#1a73e8;--mat-mdc-button-ripple-color:rgba(26,115,232,.1);--mat-mdc-fab-color:#424242;padding-top:2px;padding-right:24px;padding-bottom:2px;padding-left:24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-style:solid;border-width:2px;padding-top:2px;padding-right:22px;padding-bottom:2px;padding-left:22px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:#4285f4}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover{--mat-mdc-fab-color:#174ea6}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--text-default);--mdc-text-button-label-text-color:var(--text-default);--mdc-text-button-focus-label-text-color:var(--text-default);--mdc-text-button-hover-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-text-button-label-text-color:var(--primary-default);--mdc-text-button-focus-label-text-color:var(--primary-default);--mdc-text-button-hover-label-text-color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-text-button-label-text-color:var(--warn-default);--mdc-text-button-focus-label-text-color:var(--warn-default);--mdc-text-button-hover-label-text-color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-text-button-label-text-color:var(--button-disabled-text)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--text-default);--mdc-outlined-button-focus-label-text-color:var(--text-default);--mdc-outlined-button-hover-label-text-color:var(--text-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-outlined-button-label-text-color:var(--primary-default);--mdc-outlined-button-focus-label-text-color:var(--primary-default);--mdc-outlined-button-hover-label-text-color:var(--primary-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-outlined-button-label-text-color:var(--warn-default);--mdc-outlined-button-focus-label-text-color:var(--warn-default);--mdc-outlined-button-hover-label-text-color:var(--warn-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--button-disabled-text);--mdc-outlined-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-outlined-button-outline-color:var(--button-disabled-text);--mdc-outlined-button-disabled-outline-color:var(\n    --button-disabled-text\n  )}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--button-raised-bg);--mdc-filled-button-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--primary-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--warn-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-filled-button-label-text-color:var(--button-disabled-text);--mdc-filled-button-disabled-container-color:var(--button-disabled-bg);--mdc-filled-button-container-color:var(--button-disabled-bg)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--button-raised-bg);--mdc-protected-button-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--primary-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--warn-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-protected-button-label-text-color:var(--button-disabled-text);--mdc-protected-button-disabled-container-color:var(\n    --button-disabled-bg\n  );--mdc-protected-button-container-color:var(--button-disabled-bg)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]:disabled   .mat-icon[_ngcontent-%COMP%]{color:var(--button-disabled-text)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{color:var(--primary-default);background-color:var(--button-raised-bg);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab{color:var(--text-inverse);background-color:var(--primary-default);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_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;border-bottom:1px solid var(--hairline);height:2.25rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-title-text[_ngcontent-%COMP%]{margin:0}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:1.5rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]   .tp-about-link[_ngcontent-%COMP%]{font-size:.8125rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]   .tp-feedback[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--primary-high-contrast)}.tp-landing-page[_ngcontent-%COMP%]   .tp-content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:1rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-content[_ngcontent-%COMP%]   tp-task-section[_ngcontent-%COMP%]{width:50%}']});var Vgd={path:"issues/:issueId",component:z8,children:[{path:"",pathMatch:"full",component:$8},{path:"dependencies",component:f8},{path:"dupes",component:B8},{path:"blocking",component:V7},{path:"resources",component:qfd}].concat(ad(at("enableCodeMentionsUi",{path:"todos",component:o9})))},Wgd=[{path:"",component:Q6,canActivateGuards:[Y6]},{path:"issues",component:r9},{path:"recent",component:t9}].concat(ad(at("enableTaskPrioritization",{path:"work",component:Ugd,canActivateGuards:[W6,X6]})),ad(at("showNeedsAttentionUI",
{path:"attention",component:S9,canActivateGuards:[W6,X6]})),[{path:"issues/new",component:K7}],ad(at("enableChromeWizard",{path:"issues/wizard",component:o7})),[Vgd,{path:"components/all",component:t6},{path:"components",component:p7},{path:"components/new",component:s7},{path:"components/:componentId/edit",component:O9},{path:"components/:componentId",component:O9},{path:"components/:componentId/manage",component:O9},{path:"teams/:teamId/edit",component:P9},{path:"teams/:teamId",component:P9},{path:"bookmark-groups/new",
component:r7},{path:"bookmark-groups/:groupId",component:d$},{path:"bookmark-groups/:groupId/edit",component:Q7},{path:"hotlists/new",component:t7},{path:"hotlists/:hotlistId",component:f$},{path:"hotlists/:hotlistId/edit",component:a1},{path:"slos/new",component:M7},{path:"slos/:sloId",component:U7},{path:"slos/:sloId/edit",component:U7},{path:"savedsearches/:savedSearchId/edit",component:R7},{path:"hotlists",component:p9},{path:"slos",component:u9},{path:"savedsearches/:savedSearchId",component:h$},
{path:"dashboard/:groupId",component:O7},{path:"settings/:settingsTab?",component:c$},{path:"settings",component:c$}],ad(at("enableHomepageVariantA",{path:"dash",component:HW})),[{path:"**",component:Q6,canActivateGuards:[Y6]}]);var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=Oc({type:j$});j$.\u0275inj=xc({imports:[cG,TN,bH,QC]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=Oc({type:k$});k$.\u0275inj=xc({imports:[cG,kP,JN,BP,j$]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=Oc({type:l$});l$.\u0275inj=xc({imports:[aO,cG,QC,JW,JN,uD,q7,bH,$N]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=Oc({type:m$});m$.\u0275inj=xc({imports:[cG,KM,QC,IA]});var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=Oc({type:n$});n$.\u0275inj=xc({imports:[AP,cG,m8,KM,t1,QC,JT,mC,uD,e2,M1,lU,m$]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=Oc({type:o$});o$.\u0275inj=xc({imports:[cG,KM,QC,uD]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=Oc({type:p$});p$.\u0275inj=xc({imports:[cG,qP,uD,JN]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=Oc({type:q$});q$.\u0275inj=xc({imports:[p$,cG,uD,fP,kU,QC,eO,sP,M1]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=Oc({type:r$});r$.\u0275inj=xc({imports:[k$,aO,cG,l$,SY,KM,JN,UN,hU,j$,QC,JT,uD,bH,eU,WN,KW,o$,n$,q$]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=Oc({type:s$});s$.\u0275inj=xc({imports:[cG,QC]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=Oc({type:t$});t$.\u0275inj=xc({imports:[cG,IN,QC,uD]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=Oc({type:u$});u$.\u0275inj=xc({imports:[cG,Cy,Py,Jx,Kx,bH,QC,IA,xN,fO,wz,uD,gX,eP,r$,Z4,M1,sP,kP,H1,y8,t$,s$]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=Oc({type:v$});v$.\u0275inj=xc({imports:[cG,v6]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=Oc({type:w$});w$.\u0275inj=xc({imports:[cG,Cy,Py,Jx,Kx,bH,QC,xN,fO,eP,AP,u$,m9,h8,W7,C8,v$,n9]});var Xgd=Wgd.map(function(a){return{path:a.path,component:a.component,canDeactivate:[ZP],canActivate:[T6,V6].concat(ad(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});Xgd.push({path:"**",canActivate:["dontActivate"],component:Q6,isRootRoute:!0});var Ygd=xl().appBaseHref,Zgd,x$={initialNavigation:"disabled"},$gd={provide:rhc,useFactory:function(){return"guarded"},deps:[[WG,new Jv,new Kv]]},ahd;
ahd=(null==x$?0:x$.preloadingStrategy)?Aya(0,[{provide:qhc,useExisting:$G},{provide:ghc,useExisting:x$.preloadingStrategy}]).\u0275providers:[];var bhd;
(null==x$?0:x$.initialNavigation)?bhd=["disabled"===x$.initialNavigation?Aya(3,[{provide:WUb,multi:!0,useFactory:function(){var a=Hc(WG);return function(){Vgc(a)}}},{provide:phc,useValue:2}]).\u0275providers:[],"enabledBlocking"===x$.initialNavigation?Aya(2,[{provide:phc,useValue:0},{provide:WUb,multi:!0,deps:[Lv],useFactory:function(a){var b=a.get(eXb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(WG),e=a.get(ohc);xya(d,function(){c(!0)});
a.get(QG).afterPreactivation=function(){c(!0);return e.closed?(0,E.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:bhd=[];
Zgd={ngModule:bH,providers:[shc,[],{provide:Hgc,multi:!0,useValue:[]},$gd,{provide:Rgc,useValue:x$?x$:{}},(null==x$?0:x$.useHash)?{provide:gx,useClass:ix}:{provide:gx,useClass:hx},{provide:khc,useFactory:function(){var a=Hc(iXb),b=Hc(ef),c=Hc(Rgc),d=Hc(QG),e=Hc(IG);c.scrollOffset&&a.setOffset(c.scrollOffset);return new aH(e,d,a,b,c)}},ahd,{provide:sWb,multi:!0,useFactory:function(){return new sWb("Router",WG)}},bhd,(null==x$?0:x$.bindToComponentInputs)?Aya(8,[OG,{provide:ggc,useExisting:OG}]).\u0275providers:
[],[{provide:thc,useFactory:function(){var a=Hc(Lv);return function(b){var c=a.get(Fw);if(b===c.components[0]){b=a.get(WG);var d=a.get(ohc);1===a.get(phc)&&b.initialNavigation();var e;null==(e=a.get(qhc,null,8))||hhc(e);var g;null==(g=a.get(khc,null,8))||g.init();c=c.componentTypes[0];b.routerState.root.component=c;b.navigationTransitions.rootComponentType=c;d.closed||(d.next(),d.complete(),d.unsubscribe())}}}},{provide:rWb,multi:!0,useExisting:thc}]]};
var y$=function(a,b){a.config=Xgd.map(Mxa);a.navigated=!1;a.lastSuccessfulId=-1;a.initialNavigation();Plc(b)};y$.\u0275fac=function(a){return new (a||y$)(u(WG),u(IJ))};y$.\u0275mod=Oc({type:y$});y$.\u0275inj=xc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:TG,useClass:S6},{provide:hXb,useValue:Ygd},V6,T6],imports:[Zgd,R6,w$,bH]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=Oc({type:z$});z$.\u0275inj=xc({providers:[{provide:OIc,useFactory:rMb},{provide:hKc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:NIc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var A$={},chd=(A$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],A$.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"}],A$.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?"}}]}],A$.APPS=[{type:"INPUT",question:so(kp("What is the link to that software in "),
sMb("the Chrome Webstore","https://chrome.google.com/webstore"),kp("?")),answerPrefix:"Webstore page: "}],A$.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:so(kp("What is the link to that software in "),sMb("the Chrome Webstore","https://chrome.google.com/webstore"),
kp("?")),answerPrefix:"WebStore page: "}],A$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],A$.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"]}],A$.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"]}],A$.API=[{type:"SELECT",question:so(kp("Which "),
sMb("component","https://bugs.chromium.org/p/chromium/adminComponents"),kp(" does this fall under?")),answerPrefix:"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"}}]}],A$);var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=Oc({type:B$});B$.\u0275inj=xc({imports:[Lz,Lz]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=Oc({type:C$});C$.\u0275inj=xc({providers:[lcd,Qz],imports:[Lz,bx,cy,f7,uC,Vz,Lz]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=Oc({type:D$});D$.\u0275inj=xc({providers:[{provide:acd,useValue:chd}],imports:[x_,cG,Jx,QC,B$,fP,UA,gO,jP,C$,A_]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=Oc({type:E$});E$.\u0275inj=xc({imports:[cG,QC,uD,iG,Jx,Kx,c1]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=Oc({type:F$});F$.\u0275inj=xc({imports:[hT,cG,c1,KU,Jx,bO,uD,fP,i2,JW]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=Oc({type:G$});G$.\u0275inj=xc({imports:[cG,QC,uD,iG,Jx,Kx,c1]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=Oc({type:H$});H$.\u0275inj=xc({imports:[hT,bO,eO,cG,BP,JN,QC]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=Oc({type:I$});I$.\u0275inj=xc({imports:[bx,Jx,LA,x1,Kx]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=Oc({type:J$});J$.\u0275inj=xc({imports:[hT,z_,kP,xS,JY,y1,RA,KU,Jx,cU,C_,bO,J_,sZ,H$,QC,fP,IA,J7,mC,kU,uD,y1,aK,Kx,I$,JW,cG,xz,A_,K_]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=Oc({type:K$});K$.\u0275inj=xc({imports:[hT,cG,c1,KU,Jx,bO,uD,t2]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=Oc({type:L$});L$.\u0275inj=xc({imports:[cG,uD,QC,xN,c1,cU,C_,SX,iG,IA,Jx,Kx,mC,g1]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=Oc({type:M$});M$.\u0275inj=xc({imports:[IA,fP,cG,Kz,QC,kP,uU,A_]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=Oc({type:N$});N$.\u0275inj=xc({imports:[cG,uD,QC,xN,c1,iG,IA,Jx,Kx,mC,g1]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=Oc({type:O$});O$.\u0275inj=xc({imports:[hT,cG,c1,Jx,fO,bO,xN,uD,g1,fP,t2,eO]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=Oc({type:P$});P$.\u0275inj=xc({imports:[cG,k1,eO,QC]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=Oc({type:Q$});Q$.\u0275inj=xc({imports:[cG,QC,v2,eO]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=Oc({type:R$});R$.\u0275inj=xc({imports:[cG,bZ,W1]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=Oc({type:S$});S$.\u0275inj=xc({imports:[cG,sP,Jx,xN,zP,g1,bO,J7,QC,fP,uD,IA,$N,eO]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=Oc({type:T$});T$.\u0275inj=xc({});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=Oc({type:U$});U$.\u0275inj=xc({imports:[hT,cG,sP,bZ,UY,c6,j6,l6,L_,c1,q6,Jx,T$,fO,bO,QC,fP,IA,jP,kU,xN,uD,g1,z9,i2,S$,$N,bH,xz,R$,g2,eO,JW,YN,t$]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=Oc({type:V$});V$.\u0275inj=xc({imports:[cG,c1,Jx,T$,fO,QC,fP,xN,uD,kU,g1,bH,$N,xz,g2,W1]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=Oc({type:W$});W$.\u0275inj=xc({imports:[jP,cG,Jx]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=Oc({type:X$});X$.\u0275inj=xc({providers:[{provide:Nqc,useValue:{enabled:!0}}],imports:[E5,gX,cG,Jx,fO,fP,QC,QC,IA,jP,UA,kU,sO,mC,xN,uD,uD,kZ,aK,lU,W$,eO,xS]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=Oc({type:Y$});Y$.\u0275inj=xc({imports:[cG,Jx,uD,RA,UA]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=Oc({type:Z$});Z$.\u0275inj=xc({imports:[cG,iG,QC]});var dhd=function(){};dhd.prototype.send=function(a,b){vAa(a);return this.makeRequest(a).then(function(c){return b?rAa(b,c):c})};var ct=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};U(ct,dhd);ct.prototype.getGapi=function(){var a=this;return GHa().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return MHa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
ct.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return ne(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):d.yield(LHa(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})))})})};
ct.prototype.parseResponse=function(a){return new Promise(function(b,c){a.then(function(d){b(!1===d.result&&null!=d.body?{data:d.body}:d.result)},function(d){c(!1===d.result&&null!=d.body?{data:d.body}:d.result)})})};ct.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&JHa(a,b,this.gapiConfigUpdates[b])};ct.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var ehd={disableCheatSheet:!0};ehd=void 0===ehd?{}:ehd;
var fhd=[cG,jY,wP,Cy,Py,FY,J_,EY,YW,bO,TX,kZ,$W,i2,eU,VX,UN,hT,r1,wZ,SW,U5,C6,NT,oZ,sZ,uZ,XY,AP,K$,O$,Q$,P$,P7,s9,g$,i$,F$,U$,V$,e$,k1,v2,L_,s6,v6,K1,mZ,i1,E_,E6,V5,m6,W5,w6,S1,U1,NQ,Q1,B_,aY,gX,kP,uU,M$,NP,RW,b2,SX,qZ,e2,x2,L1,M1,u6,w5,eO,mY,NS,Y$,WN,u5,l6,Z$,q6,Z4,zP,sP,IN,X$,E5,HT,SN,xT,AT,t2,g2,yT,c1,Y5,E$,G$,i6,l2,iZ,bZ,cZ,UY,zT,N1,yZ,e1,z1,C_,r2,D1,E1,j6,GY,KY,g1,h1,z_,c6,L$,hX,N$,J$,LY,u$,I2,z$,yy,{ngModule:vD,providers:[{provide:k7b,useFactory:function(){var a=xl().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[Lv]}]},{ngModule:QN,providers:[dJ,{provide:Lkc,useFactory:function(a){return new tMb(new Vrc("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},Xrc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[Wrc]},{provide:Wrc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:A1,providers:[p0,{provide:fUc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:L$c,autocompleteFactory:X2c}}}]},{ngModule:CM,providers:[BM,{provide:oqc,useValue:ehd}]}];Wm("enableChromeWizard")&&fhd.push(D$);
var ghd=[Lbd,Yhc,kXc,lXc,mXc,KLc,vic,{provide:Tqc,useValue:{animationDuration:"0ms"}},{provide:Q6b,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:f7b,useValue:{disableTooltipInteractivity:!0}},{provide:wtc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:ztc,useValue:"92912"},{provide:jnc,useFactory:uMb},Mbd,Vbd,Wbd,Xbd],Ew=function(){};Ew.prototype.ngDoBootstrap=function(){Mh("bootstrapping AppModule")};
Ew.\u0275fac=function(a){return new (a||Ew)};Ew.\u0275mod=Oc({type:Ew,bootstrap:[iY,A6]});Ew.\u0275inj=xc({providers:[].concat(ad(ghd)),imports:[fhd,y$,jX]});oB(document,"DOMContentLoaded",function(){vWb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/b96Luc/M79aPc/nJ4XF',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
